Commit Graph

148279 Commits

Author SHA1 Message Date
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
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
Justin Chen
b8b027b4fd /yolo -> switches to bypass mode, /autopilot switches to autopilot (#300939) 2026-03-11 17:57:54 -07:00
Jean Pierre
422d2969f3 Support terminal creation on web worker extension host when there's remote authority (#300897) 2026-03-12 00:55:31 +00:00
Connor Peet
8432b8b46a plugins: support openplugin format (#300948)
* plugins: support openplugin format

Generally just our existing stuff with minor tweaks

* compile
2026-03-11 17:46:44 -07:00
Tyler James Leonhardt
d582a1590b Allow vscode-sessions strings in the main bundle (#300944)
It seems like the sessions experience _can_ run in the VS Code world, so we actually do need these strings.
2026-03-11 17:46:40 -07:00
Harald Kirschner
121ed5f865 Simplify chat.autoReply: skip questions instead of LLM-answering them (#300926)
* Simplify chat auto-reply: skip questions instead of LLM-answering them

When `chat.autoReply` is enabled, the questions tool now returns the
same 'user is not available, use your best judgment' response used in
autopilot mode — instead of sending questions to a separate LLM call
for answer resolution.

This removes ~450 lines of LLM prompt engineering, JSON parsing with
retry, fuzzy option matching, fallback answer generation, and opt-in
dialog management.

* Address review: skip in-flight carousels when auto-reply is enabled mid-session

Listen for chat.autoReply config changes in chatListRenderer and skip
all pending question carousels when the setting becomes enabled. This
handles the edge case where a carousel is already awaiting user input
and the user enables auto-reply or switches to autopilot afterward.
2026-03-11 20:43:57 -04:00
Matt Bierner
47e20e1d83 Fix import 2026-03-11 16:43:21 -07:00
Matt Bierner
ee699b749f Make chat sessions give a delta of what has changed
For #300770
2026-03-11 16:39:13 -07:00
Joaquín Ruales
cc5c2fd418 Browser Zoom (#299161)
* Browser Zoom

* Remove logic from editor

* Feedback

* Small comment change

* Zoom factors, not percentages

* Comment on keybinding

* Add keybindings back to actions

* Add browserZoomLabel helper for zoom percentage display

* First AI changes

* AI pass with zoom level hierarchy

* Fix zoom not applying to other origins after default zoom change

* Promote per-origin zoom to user setting workbench.browser.zoom.perOriginZoomLevels

* Remove unnecessary configuration migration for zoom setting

* Add 'Match VS Code' default zoom level option for Integrated Browser

* Add missing localize import to platform/browserView/common/browserView.ts

* Switch per-origin zoom tracking to per-host (http/https only)

* Rename zoom settings: defaultZoomLevel→pageZoom, perHostZoomLevels→zoomLevels; mark zoomLevels as advanced

* Update setting description and scope

* Improve zoom service: lazy synchronizer, pre-computed label map, RunOnceScheduler, always forceApply on navigate

* Remove self-evident and redundant comments

* Refactor zoom to two independent cascades (ephemeral/persistent each fall back to default independently)

* Use IStorageService for per-host browser zoom instead of settings

* Remove VS Code product name from browser zoom code
2026-03-11 15:38:03 -07:00
Megan Rogge
f144e45025 Revert macOS chunking PR (#300933)
Revert PR
2026-03-11 15:21:44 -07:00
Megan Rogge
898a015090 make accessible view bigger (#300932) 2026-03-11 22:06:18 +00:00
Aiday Marlen Kyzy
446c7554ba Using computed editor options instead of direct values (#300868)
* wiring in options instead of direct values

* fixing the tests

* adding wrapping info
2026-03-11 14:50:13 -07:00
Harald Kirschner
bf19d9d126 askQuestions tool: default allowFreeformInput to true (#300923)
The askQuestions tool was defaulting allowFreeformInput to false when the
model omitted it, which meant users couldn't provide freeform text answers
unless the model explicitly opted in. This restores the previous behavior
where freeform input is shown by default alongside options.

Also updates the schema description and model description to reflect that
allowFreeformInput defaults to true and can be set to false to restrict
to predefined options only.
2026-03-11 21:42:29 +00:00
Henning Dieterichs
5d56633a57 updates component explorer 2026-03-11 22:30:41 +01:00
Logan Ramos
b49670d4a1 Fix context indicator (#300917) 2026-03-11 22:28:34 +01:00
Christof Marti
383c174f7a Add proxy support to WebSocket (#298236) 2026-03-11 21:27:42 +00:00
Matt Bierner
ebaff5819d Merge pull request #292258 from murataslan1/fix/parameter-hints-word-wrap
fix: wrap long docstrings in parameter hints widget
2026-03-11 14:02:11 -07:00