Commit Graph

148296 Commits

Author SHA1 Message Date
Connor Peet
98822b98db Merge pull request #301254 from microsoft/connor4312/testing-tool-refactoring
testing: improve test coverage representation from the runtests tools
2026-03-12 17:07:21 -07:00
Osvaldo Ortega
33f334e4aa Merge pull request #300818 from microsoft/ben/fancy-muskox
E2E sessions test updates
2026-03-12 16:26:10 -07:00
Connor Peet
fa144f0be8 up 2026-03-12 16:08:50 -07:00
Osvaldo Ortega
739fb0ae6f Mocks + full workflow scenario 2026-03-12 15:52:48 -07:00
Justin Chen
2560996e74 thinking content improvements (#301265) 2026-03-12 22:52:44 +00:00
Justin Chen
ff5ec18292 add chat slash commands to CLI + better setting check (#301266) 2026-03-12 15:43:56 -07:00
Connor Peet
e2e1d877d6 Merge pull request #301257 from microsoft/connor4312/301252
chat: support root-level SKILL.md as fallback for plugins
2026-03-12 22:16:17 +00:00
Connor Peet
1f0667cde1 getCoverageSummary: merge coverage from all tasks instead of returning first match 2026-03-12 14:46:12 -07:00
Connor Peet
ccd5ee8421 address PR review comments
- Fix getCoverageSummary() returning early from a task that had coverage
  but no matching coverageFiles, preventing subsequent tasks from being
  checked
- Use URI.file().fsPath instead of hardcoded POSIX path strings in test
  assertions for cross-platform compatibility

(Commit message generated by Copilot)
2026-03-12 14:42:25 -07:00
dependabot[bot]
cbc25fffb2 build(deps): bump file-type from 16.5.4 to 21.3.1 in /extensions/git (#300597)
* build(deps): bump file-type from 16.5.4 to 21.3.1 in /extensions/git

Bumps [file-type](https://github.com/sindresorhus/file-type) from 16.5.4 to 21.3.1.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v16.5.4...v21.3.1)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(git): update file-type import for v21.x API (#301231)

* Initial plan

* fix: update file-type import for v21.x API changes

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-03-12 14:32:40 -07:00
Connor Peet
658e28e5fc testing: extract helper functions from RunTestTool and add comprehensive tests
- Extracts 6 pure helper functions (buildTestRunSummary, getCoverageSummary,
  getOverallCoverageSummary, getFileCoverageDetails, mergeLineRanges,
  getFailureDetails) as module-level exports for better testability
- Makes RunTestTool class public to allow external instantiation in tests
- Adds comprehensive 44-test suite covering all helper functions and tool behavior
- Tests include coverage details formatting, failure message handling, test result
  summarization, and line range merging logic
- Uses upcastPartial<T>() for type-safe mock creation without any type casts

(Commit message generated by Copilot)
2026-03-12 14:31:05 -07:00
Ben Villalobos
68685fbd93 Update distro commit (main) (#301235) 2026-03-12 14:28:51 -07:00
Copilot
3d4a346743 Re-announce "no results" ARIA alert on explicit find navigation (#301135)
* Initial plan

* Re-announce "no results" ARIA alert on explicit find navigation (#301126)

When the user presses Enter/F3 in the find widget to navigate but no
match is found, re-announce "No results found for 'X'" via an ARIA alert.
This ensures screen reader users hear the result even if they pressed
Enter quickly after typing the search term.

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

* Revert unrelated monaco.d.ts changes

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
2026-03-12 21:26:55 +00:00
xingsy97
41c997a200 Enrich terminal tool result metadata for AI agent workflows (#300034)
* Report terminal ID and cwd in runInTerminal tool result

* resolve comment
2026-03-12 21:17:33 +00:00
Josh Spicer
ffe13a4476 Add inline hover action buttons to Chat Customizations views (#301171)
* Add inline hover actions to AI Customization tree items

Add menu-contributable inline action buttons that appear on hover for
file items in the Chat Customization tree view. Actions registered in
the 'inline' menu group appear as icon buttons on hover/focus/selection.

New actions:
- Delete: removes customization file with confirmation dialog
- Copy Path: copies file path to clipboard

Existing actions (Open, Run Prompt) are preserved in context menu and
Open is also shown as an inline hover button.

Follows the standard VS Code pattern used by SCM, Explorer, and other
tree views: ActionBar in tree renderer populated from IMenuService with
the 'inline' group filter.

Fixes part of microsoft/vscode#297343

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add inline hover action buttons to Chat Customizations management editor

Add an ActionBar to AICustomizationItemRenderer populated from the
AICustomizationManagementItemMenuId menu's inline group. The Delete
action (trash icon) now appears as a hover button on each list item.

The .item-right container already had CSS opacity transitions for
hover visibility — this commit populates it with menu-driven actions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address review feedback: safe delete, non-file URI handling, dedup context menu

- Delete action: guard against non-file URIs, use useTrash + recursive
- Copy Path: fall back to uri.toString() for non-file schemes
- Include storage in tree view renderer context for when-clause filtering
- Fix duplicate Delete in management editor context menu by using
  getContextMenuActions with 'inline' filter instead of getFlatContextMenuActions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Refresh management editor list after file deletions

The list only subscribed to onDidChangeCustomAgents and
onDidChangeSlashCommands, which don't fire for all prompt types.
Subscribe to fileService.onDidFilesChange for deletions so the list
refreshes immediately after using the inline delete button.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* reset

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-12 14:12:14 -07:00
Vijay Upadya
e4a2b6b4e8 Debug panel: Add telemetry and modal dialog for import error (#301190)
* telemetry and modal dialog

* Feedback updates
2026-03-12 19:19:52 +00:00
Raymond Zhao
c11185fd50 chore: run npm audit fix (#301189) 2026-03-12 18:48:37 +00:00
Connor Peet
2d08838052 plugin system: add support for rules/instructions (#301172)
* plugin system: add support for rules ('instructions') from Open Plugin spec

- Adds IAgentPluginInstruction interface and instructions property to IAgentPlugin
  observable stream, following the same pattern as commands/skills/agents
- Implements _readRules() method in agentPluginServiceImpl to discover rule files
  (.mdc, .md, .instructions.md) from the rules/ directory and supplemental paths
  defined in the plugin manifest. Uses longest-match-first suffix stripping to
  correctly derive rule names.
- Wires observeComponent('rules', ...) in _toPlugin() to integrate manifest
  'rules' field configuration with the discovery mechanism
- Adds plugin instructions to the prompt file discovery system via watchPluginPromptFilesForType,
  making instructions available alongside filesystem-discovered instructions
- Includes comprehensive test coverage for rule discovery patterns, suffix stripping,
  deduplication, and reactive observable integration

(Commit message generated by Copilot)

* comments
2026-03-12 11:25:23 -07:00
Paul
8c731add1f Pass URI of skipped files (#301177) 2026-03-12 11:20:38 -07:00
Josh Spicer
197fc9911c Add telemetry to Chat Customizations editor (#301173)
* Add telemetry to Chat Customizations editor

Instrument 7 key user interactions in the AI Customization Management
Editor with GDPR-compliant publicLog2 telemetry events:

- chatCustomizationEditor.opened: tracks editor opens with initial section
- chatCustomizationEditor.sectionChanged: tracks sidebar navigation
- chatCustomizationEditor.itemSelected: tracks item selection with type/storage
- chatCustomizationEditor.createItem: tracks AI-guided and manual creation
- chatCustomizationEditor.saveItem: tracks save actions (builtin override + existing)
- chatCustomizationEditor.deleteItem: tracks confirmed deletions
- chatCustomizationEditor.search: tracks search usage with result counts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: improve search telemetry logging in Chat Customizations editor

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-12 11:10:58 -07:00
Logan Ramos
6eabb60970 Add fetch service observability (#301154)
* Add fetch service observability

* Address copilot comments
2026-03-12 14:08:35 -04:00
Raymond Zhao
38f689e11d chore: align install steps (#301147) 2026-03-12 10:36:19 -07:00
Aiday Marlen Kyzy
ccc96be184 putting line breaks options into computed editor options object (#301146)
* wiring in options instead of direct values

* fixing the tests

* adding wrapping info

* fixing chat bug
2026-03-12 10:36:05 -07:00
Peng Lyu
0f6ff3c6bd fix: update chat image carousel tag from 'preview' to 'experimental' (#301163) 2026-03-12 17:11:13 +00:00
Ben Villalobos
4f6fa90167 Add Copilot review instructions for OSS license files (#300954) 2026-03-12 09:56:37 -07:00
Matt Bierner
d9195789ea Merge pull request #300946 from mjbvz/dev/mjbvz/yeasty-cockroach
Make chat sessions give a delta of what has changed
2026-03-12 09:25:02 -07:00
Matt Bierner
2f278eccbc Restore safer behavior for now 2026-03-12 08:34:44 -07:00
Connor Peet
03d87f6b18 plugins: support plugin specific paths, adding a plugin directly (#301024)
* plugins: support plugin specific paths, adding a plugin directly

- Supports custom fields for commands/skills/agents/etc in plugins,
  matching the new plugins spec.
- Support adding a plugin (without needing a repo) directly via
  'Chat: Install Plugin from Source' in the command palette, installed
  plugins view, or the chat customizations view.

Closes https://github.com/microsoft/vscode/issues/300945?reload=1

* comments
2026-03-12 17:28:14 +09:00
Paul
6f7de9c47a Move troubleshoot skill to files-based approach (#300907) 2026-03-12 07:06:41 +00:00
Justin Chen
9621f35a6c Revert "Using computed editor options instead of direct values (#300868) (#301023)
Revert "Using computed editor options instead of direct values  (#300868)"

This reverts commit 446c7554ba.
2026-03-12 06:42:52 +00:00
Justin Chen
9c8a42f3ec chat rendering fix for working + cli specific issues (#301015)
* chat rendering fix for working + cli specific issues

* address comments
2026-03-12 06:39:46 +00:00
Johannes Rieken
cabe52dcbe Merge pull request #300845 from microsoft/joh/ideological-albatross
Add continue and rephrase actions to inline chat, enhance session management
2026-03-12 06:53:08 +01:00
Osvaldo Ortega
a988b69b4e Main button commands and mocks 2026-03-11 22:38:59 -07:00
Robo
d666fe6572 feat: add assets for macOS 26 icon support (#300901) 2026-03-12 05:32:01 +00:00
Joaquín Ruales
d7e0f773c6 Small improvements to browser zoom feature (#300973)
* Match vscode shortcuts

* Simplify setting name
2026-03-11 22:08:44 -07:00
Robo
85b156f976 fix: move versioned folder check closer to the package task (#300685) 2026-03-11 21:51:42 -07:00
Tyler James Leonhardt
ec9a529880 Add a simple log for when we can't get the output channel (#300969)
Helps demystify why Show Details doesn't show.
2026-03-12 04:37:43 +00:00
Vijay Upadya
c7e08526a6 Debug Panel: Import cap and large file optimizations (#300949)
* import cap and large file optimizations

* feedback updates
2026-03-11 21:34:11 -07:00
Luca
8ca4fb20bf Fix: comment typo in authIssuers proposal (#300899)
Fix: Correct comment references to supportedAuthorizationServers field
2026-03-12 04:17:16 +00:00
Peng Lyu
b79bcf7011 Merge pull request #300983 from microsoft/rebornix/hollow-tarantula-image
feat: add image carousel
2026-03-11 20:39:36 -07:00
Peng Lyu
850a3933ea Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-11 20:11:36 -07:00
Justin Chen
68b4b790c5 show working progress more consistently (#300986) 2026-03-12 02:47:23 +00:00
Peng Lyu
c3d734644a feat: add image carousel project to i18n resources 2026-03-11 19:22:50 -07:00
Peng Lyu
70b2564eb4 feat: implement image carousel actions and keyboard navigation 2026-03-11 19:18:09 -07:00
Peng Lyu
346c218fa3 Refactor image carousel: simplify architecture, fix review feedback
- Rename chatImageSlideshow -> imageCarousel as a generic workbench contrib
- Remove editor resolver and collection store (direct EditorInput creation)
- Remove F1 command (single entry point via internal command)
- Fix response matching: only open collection containing clicked image
- Add registerOpenEditorListeners for keyboard/accessibility parity
- Localize all user-facing strings
- Add chat.imageCarousel.enabled preview setting (default: false)
- Rename command to workbench.action.chat.openImageInCarousel
- Use h() helper for declarative DOM, getMediaMime() for MIME types
- Editor not restorable (canSerialize returns false)
2026-03-11 18:35:25 -07:00
Tyler James Leonhardt
ac668ca577 Distro Bump (#300964)
BUMP THAT DISTRO
2026-03-11 18:23:22 -07:00
Matt Bierner
cfff60f09d Merge pull request #300860 from mjbvz/dev/mjbvz/heavy-swallow
Re-remove webpack (again again)
2026-03-11 18:14:40 -07:00
Martin Aeschlimann
bb5835fb94 support for chat customizations in parent repo folders (#300916)
* support for parent repo folders for all chat customizations

* update
2026-03-11 18:13:34 -07:00
Bryan Chen
3ce494989d Merge pull request #300559 from microsoft/copilot/fix-uncaught-typeerror-dimensions
Fix telemetry path redaction to preserve node_modules paths
2026-03-11 18:12:55 -07:00
Justin Chen
99c4016d8e when thinking is collapsed, make sure to show full tool info (#300952)
* /yolo -> switches to bypass mode, /autopilot switches to autopilot

* in collapsed mode, make sure headers are updated with more info

* Revert "in collapsed mode, make sure headers are updated with more info"

This reverts commit 104db3926e.

* Revert "/yolo -> switches to bypass mode, /autopilot switches to autopilot"

This reverts commit ded22eca4b.

* in collapsed mode, make sure headers are updated with more info

* better todos and fix comments
2026-03-11 18:00:52 -07:00