Commit Graph

148961 Commits

Author SHA1 Message Date
Justin Chen
a198c5f59e fix: infinite diff bug for thinking (#302983)
remove final answer part work and fixes infinite diff bug
2026-03-18 14:54:25 -07:00
Connor Peet
da0cdcf861 Merge remote-tracking branch 'origin/main' into connor4312/ahp-auth 2026-03-18 14:30:16 -07:00
Connor Peet
c5fc3c07b3 tests 2026-03-18 14:29:03 -07:00
Connor Peet
e3547da62c cleanup old setAuthToken 2026-03-18 14:25:42 -07:00
Kyle Cutler
82f9e1e1df Browser: move zoom and agent sharing to feature contributions (#302970)
* Browser: move zoom and agent sharing to feature contributions

* comment

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 14:16:52 -07:00
dileepyavan
9b45522685 In sandbox mode, the command executed is not shown in the tool output (#302935)
* In sandbox mode, the command executed is not shown in the tool output

* In sandbox mode, the command executed is not shown in the tool output
2026-03-18 14:15:51 -07:00
Connor Peet
f3b0544950 agentHost: 9728-style protected resource auth
This commit implement RFC 9728/6750-inspired authentication for the
agent host. This is a working prototype, although before merging this
I'll pull this stuff up to the protocol itself rather than being
extension methods.
2026-03-18 14:15:29 -07:00
Justin Chen
799c086df3 fix disposable in createToolPart (#302975) 2026-03-18 21:12:13 +00:00
Connor Peet
d75a02f531 Merge pull request #302969 from microsoft/connor4312/upstream-reducers
agentHost: upstream reducer logic from AHP
2026-03-18 13:58:36 -07:00
Bryan Chen
55095cdd63 docs: update fix-error prompt with PR creation guidelines and Copilot review process 2026-03-18 13:58:29 -07:00
Kyle Cutler
b4d3ecb423 Browser: fix URL overflow (#302973) 2026-03-18 20:57:28 +00:00
Bryan Chen
7a9a318ce5 add regression test for missing session provider (#301203) 2026-03-18 13:44:46 -07:00
Ladislau Szomoru
ac0c8d93ca Sessions - remove the "Uncommitted Changes" from the changes view (#302848) 2026-03-18 13:37:22 -07:00
Connor Peet
f9f6900d6e comments 2026-03-18 13:34:43 -07:00
Robo
d4f7ac5014 chore: bump electron@39.8.3 (#302875)
* chore: bump electron@39.8.3

* chore: bump distro
2026-03-18 20:26:19 +00:00
Benjamin Pasero
98754edcba Disable task.notifyWindowOnTaskCompletion in sessions window (#302966)
* feat - add `task.notifyWindowOnTaskCompletion` config

* fix - update `task.notifyWindowOnTaskCompletion` value
2026-03-18 20:21:40 +00:00
Don Jayamanne
dcc0c2235d Support forking contributed Chat Sessions (#302743)
* Support forking contributed Chat Sessions

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Updates

* add tests

* Add controller API

* Updates

* Fix tests

* Update docs

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 20:18:35 +00:00
Connor Peet
60d6da9614 agentHost: upstream reducer logic from AHP
Goes with https://github.com/microsoft/agent-host-protocol/pull/11
2026-03-18 13:09:11 -07:00
Paul
8e5c8886fc Add hooks execution logging to details panel (#302932) 2026-03-18 20:07:03 +00:00
Kyle Cutler
2687d4ce46 Refactor browser chat integration to use contributions (#302936)
* Refactor browser chat integration to use contributions

* feedback
2026-03-18 19:48:09 +00:00
vs-code-engineering[bot]
915adb258f Update distro commit (main) (#302939)
Update distro commit to f7f14fdd

Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-03-18 19:39:25 +00:00
Sandeep Somavarapu
7ad886481c Improve sessions workspace picker spacing and color consistency (#302883)
* Adjust margins for project picker action labels in chat UI

* Adjust margin for project picker action label dropdown icon

* Adjust margin-top for project picker action label dropdown icon

* Update action label color to use icon foreground in chat picker
2026-03-18 19:20:34 +00:00
Rob Lourens
5b771fc25e Also handle copilot native deps in remote server build (#302603)
* Remote server copilot build fixes

* Don't strip copilot from stable builds

* Handle all platforms for copilot
2026-03-18 12:10:30 -07:00
Benjamin Pasero
a9a0540bd6 update distro (#302905) 2026-03-18 18:56:13 +00:00
Vijay Upadya
18cfaef76d Agent Debug: Enable Claude Code session url and filter untitled sessions (#302903)
* Claude and filter

* feedback updates
2026-03-18 18:46:34 +00:00
Dmitriy Vasyura
9de7db1a5c Sanity tests improvements (#302917) 2026-03-18 18:42:27 +00:00
Rob Lourens
a185beaf10 Fix duplicate workbench contrib warning and noisy agenthost errors (#302911)
* Fix duplicate workbench contrib warning and noisy agenthost errors

* Trim
2026-03-18 18:33:10 +00:00
Megan Rogge
2c045d1130 make questions collapsible (#302870) 2026-03-18 18:28:44 +00:00
Megan Rogge
dec2c92c47 Fix run_in_terminal timeout signaling and avoid foreground reuse after timeout (#302892) 2026-03-18 18:27:49 +00:00
Copilot
d488704d82 Support session pinning in VS Code workbench (#302853)
Support session pinning in VS Code workbench: enable pin/unpin everywhere, always show pinned above cap

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
2026-03-18 18:16:57 +00:00
Josh Spicer
6b80573ebb customizations: harness follow up (#302878)
* fix: filter workspace directory picker by harness subpaths and refresh counts

- Apply workspaceSubpaths filter in management editor's
  resolveTargetDirectoryWithPicker so 'New X (Workspace)' only offers
  directories relevant to the active harness (e.g. Claude → .claude/ only)
- Refresh sidebar section counts when active harness changes so badge
  numbers reflect the filtered item set

* fix: restrict extension sources to Local harness, hide Instructions for Claude

- Only the Local harness includes PromptsStorage.extension in its
  sources — CLI and Claude don't consume extension-contributed
  customizations
- Claude harness now hides the Instructions section since Claude uses
  CLAUDE.md rather than VS Code-style *.instructions.md files
- Claude hiddenSections: [Agents, Hooks, Instructions]

* feat: add setting to hide harness selector (on by default)

- Add chat.customizations.harnessSelector.enabled setting (default: true)
- When false, dropdown is hidden and harness is locked to 'Local',
  giving the same behavior as before the harness feature was introduced
- Responds to live setting changes — toggling off immediately forces
  Local harness and rebuilds sections

* fix: Claude shows Instructions (CLAUDE.md/AGENTS.md) but hides Prompts

- Remove Instructions from Claude hiddenSections — Claude supports
  CLAUDE.md and AGENTS.md as instruction files
- Add Prompts to Claude hiddenSections — Claude doesn't consume
  .prompt.md files
- Claude hiddenSections: [Agents, Hooks, Prompts]

* fix: Claude supports hooks — only hide Agents and Prompts

* fix: filter workspace-local items by harness workspaceSubpaths

When a restricted harness is active (e.g. Claude with subpaths=['.claude']),
hide workspace-local items that aren't under a recognized sub-path.
Previously only the creation picker was filtered — now the item list
itself excludes files like .github/instructions/*.instructions.md when
viewing through the Claude harness.

* fix: address code review feedback

- Fix subpath matching to use segment boundaries (matchesWorkspaceSubpath
  helper checks for /<sp>/ to avoid false positives like 'not.claude')
- Update Claude harness JSDoc to reflect actual hook config locations
  (.claude/settings.json, not .claude/hooks/)
- Clarify Sessions window comment for harness selector setting no-op
2026-03-18 18:01:39 +00:00
Martin Aeschlimann
93a13f64e1 chat input: make slash command clickable (#302881)
* chat input: make slash command clickable

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* update

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 18:00:54 +00:00
Benjamin Christopher Simmonds
eaca8380b5 Merge pull request #302893 from microsoft/benibenj/acceptable-lizard
Fix task reveal logic
2026-03-18 18:52:16 +01:00
João Moreno
ac80cd0611 chore: remove workflow to prevent package-lock.json changes in PRs (#302901) 2026-03-18 17:47:16 +00:00
Benjamin Christopher Simmonds
07f4b0fa56 Standardize run script UI terminology to use 'Task' (#302888)
* fix - update action labels to use "Task" terminology instead of "Action"

* fix - update terminology from "Action" to "Task" in run script components

* fix - update run script widget to handle existing task state and adjust submit label accordingly

* fix - update task mode handling in run script components to improve clarity and functionality
2026-03-18 17:32:26 +00:00
Johannes Rieken
11056986bc Merge pull request #302751 from microsoft/copilot/fix-affordance-display-issue
Hide InlineChatEditorAffordance when cursor is scrolled out of viewport
2026-03-18 18:18:05 +01:00
Henning Dieterichs
c29acf3a75 Adds more fixtures 2026-03-18 18:08:37 +01:00
Henning Dieterichs
b42442a4d0 fix: update ChatToolInvocation to use chatStreamToolCallId if available, to align tool ids in core and the extension. 2026-03-18 17:58:38 +01:00
Megan Rogge
fb15457929 soften press any key regex to catch additional case (#302855)
fixes #302499
2026-03-18 09:42:18 -07:00
BeniBenj
af3fd6fcba fix task reveal logic 2026-03-18 17:32:08 +01:00
dependabot[bot]
b1bf9e91c7 build(deps): bump undici from 6.23.0 to 6.24.1 (#302876)
Bumps [undici](https://github.com/nodejs/undici) from 6.23.0 to 6.24.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.23.0...v6.24.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.24.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 16:29:22 +00:00
dependabot[bot]
7e1b034ad0 build(deps-dev): bump fast-xml-parser from 5.4.2 to 5.5.6 (#302608)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.4.2 to 5.5.6.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.4.2...v5.5.6)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 16:06:50 +00:00
Henning Dieterichs
f590d9b917 Fixes font size css linting error. 2026-03-18 16:55:35 +01:00
Henning Dieterichs
342fd3c2ba implements artifact view 2026-03-18 16:55:35 +01:00
Henning Dieterichs
1f4b1a7556 Fixes ChatResponseResource.parseUri bug 2026-03-18 16:55:35 +01:00
Benjamin Christopher Simmonds
fed6799281 Fix panel toggle focus in sessions window (#302862)
feat - enhance panel visibility handling and focus management in workbench
2026-03-18 16:36:11 +01:00
Connor Peet
e32215ecaf aiCustomization: make plugin/extension/builtin files read-only (#302592)
* aiCustomization: make plugin/extension/builtin files read-only

- Open plugin, extension, and built-in customization files as read-only
  in the editor, with a message explaining they cannot be edited.
- Extract isReadonlyStorage() helper to DRY the repeated storage type
  check used in both the open and delete actions.

Fixes https://github.com/microsoft/vscode/issues/301292

(Commit message generated by Copilot)

* pr comments
2026-03-18 15:32:20 +00:00
Joel Johansson
055de422e4 Add configurable severity levels for JSON validation (#297911)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2026-03-18 15:26:28 +00:00
Alex Dima
fae1afa3d1 refactor: rename sandbox bypass properties for clarity and consistency 2026-03-18 16:24:58 +01:00
Dmitriy Vasyura
6428adde75 Add telemetry for update actions in title bar (#302832) 2026-03-18 08:20:28 -07:00