Commit Graph

160632 Commits

Author SHA1 Message Date
Sandeep Somavarapu 4b13341c3f Update subagent pill click behavior for single subagent case (#324600)
Agent Host changes for agents/hide-dropdown-single-sub-agent
2026-07-06 22:10:17 +00:00
varshitha 4fe0564199 Fix second Rerun Last Task failing to launch for reevaluateOnRerun tasks (#324571) 2026-07-06 22:09:57 +00:00
JeffreyCA 110ba75090 Update Fig spec for Azure Developer CLI (azd) (#321221) 2026-07-06 22:09:54 +00:00
Vritant Bhardwaj 4895ba3f7a Merge pull request #324580 from microsoft/dev/vritant24/enableByokAh
feat(agentHost): enable BYOK models by default in agent host
2026-07-06 14:45:53 -07:00
Bhavya U 4919fddd1f Copilot CLI agent-host: experimentation overrides + config split (#324099)
* Copilot CLI agent-host: experimentation overrides + config split

Ports reasoningEffortOverride and modelCapabilityOverrides from the Copilot
Chat extension to the Copilot CLI agent-host provider, and splits
Copilot-CLI-specific root-config keys into a dedicated schema.

- New settings chat.agentHost.reasoningEffortOverride and
  chat.agentHost.modelCapabilityOverrides (experimental/advanced), forwarded
  into the local agent host root config.
- New copilotCliConfig module owns CLI-only keys; opus48Prompt,
  enableCustomTerminalTool, rubberDuck moved out of the shared schema (wire
  strings unchanged, so persisted config stays valid).
- Reasoning-effort override applied at session create and mid-session model
  change; family alias applied for prompt routing only (wire model id
  untouched).
- Shared AgentHostRootConfigForwarder de-duplicates the settings->root-config
  forwarding (schema gate, hydration retry, cross-window loop guard).

* agentHost: consolidate CLI setting IDs, extract sandbox forwarder, trim comments

- Move the chat.agentHost.* Copilot-CLI setting IDs into copilotCliConfig.ts
  beside their root-config keys; rename the prompt contribution to
  AgentHostCopilotCliSettingsContribution.
- Extract the sandbox settings forwarding into AgentHostSandboxForwarder.
- Trim verbose doc/inline comments across the changed agent-host files.

* agentHost: revert comment-only changes in agentHostSandboxForwarder (keep import change only)

* agentHost: clarify reasoning-effort override wording (recognized level vs model-supported)
2026-07-06 14:30:25 -07:00
Benjamin Christopher Simmonds 91190ee8df Improve file list handling and UI elements (#324496)
* other files improvements

* Potential fix for pull request finding

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-07-06 21:07:48 +00:00
Connor Peet e8abd5889c agentPlugins: align plugin MCP root handling (#324603)
Default plugin MCP server cwd to the plugin root when unset, and expand both plugin root aliases for all plugin formats.

Fixes #323475

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-06 20:25:37 +00:00
dependabot[bot] e11a3448e7 build(deps-dev): bump tar from 7.5.11 to 7.5.19 in /build/npm/gyp (#323940)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.11 to 7.5.19.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.11...v7.5.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.19
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-06 12:56:25 -07:00
copilot-swe-agent[bot] ae8bc5c13e docs(agentHost): reflect BYOK on-by-default in JSDoc and runtime fallback
Co-authored-by: vritant24 <13074644+vritant24@users.noreply.github.com>
2026-07-06 18:25:55 +00:00
Vritant Bhardwaj 682a758fad Merge pull request #324576 from microsoft/agents/prevent-prop-categorization-byok
Skip prompt categorization for BYOK models
2026-07-06 11:19:22 -07:00
Vritant Bhardwaj 17ba44dee0 Merge pull request #324570 from microsoft/agents/add-setting-use-main-agent-byok
Add setting to use the main BYOK model as the default copilot utility model
2026-07-06 11:19:01 -07:00
Josh Spicer 3115ec3841 Fix managed-settings model key and make enabledPlugins additive (#324288)
Fixes two managed-settings (GHEC managed-settings.json) bugs:

- #324227: the default chat model was carried under `permissions.model`
  by the server/file schema but read as the top-level `model` key, so the
  `chat.defaultModel` policy (e.g. `auto`) was never applied to new chats.
  Point COPILOT_MODEL_KEY at the flattened `permissions.model` path.

- #324263: the `ChatEnabledPlugins` policy was treated as a strict allowlist,
  so any enterprise `enabledPlugins` entry blocked every plugin a user had
  installed. Make it additive: a plugin is blocked only when explicitly
  mapped to `false`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Harald Kirschner <hkirschner@microsoft.com>
2026-07-06 11:13:16 -07:00
vritant24 bf3ef3caeb feat(agentHost): enable BYOK models by default in agent host configuration 2026-07-06 11:09:51 -07:00
vritant24 66a396444e fix comment 2026-07-06 10:56:04 -07:00
dependabot[bot] eb7c3a31d4 build(deps-dev): bump tmp from 0.2.6 to 0.2.7 in /test/integration/browser (#324128)
build(deps-dev): bump tmp in /test/integration/browser

Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.6 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.6...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-06 17:55:45 +00:00
vritant24 cb03bb1f73 Add unit tests for PromptCategorizerService to handle BYOK and non-BYOK endpoints 2026-07-06 10:54:36 -07:00
vritant24 ad60482050 Skip prompt categorization for BYOK models in PromptCategorizerService 2026-07-06 10:54:05 -07:00
Vritant Bhardwaj 641ff5d706 Merge branch 'main' into agents/add-setting-use-main-agent-byok 2026-07-06 10:42:20 -07:00
Vritant Bhardwaj 956399c5d6 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-06 10:41:46 -07:00
vritant24 f3bad4be4e Refactor BYOK utility model settings to use a unified default configuration 2026-07-06 10:34:05 -07:00
vritant24 32f172178b add setting to use te main BYOK model as the default copilot utility model 2026-07-06 10:24:02 -07:00
Lee Murray 658b4cee0e Style override: Add style override class for Modern UI Update experiment (#324530)
* feat: add style override class for Modern UI Update experiment

* Potential fix for pull request finding

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

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-06 16:42:29 +00:00
Vritant Bhardwaj 7b0eba2e9f Merge pull request #324535 from microsoft/vritant24/324466
Rename `copilotCLI` group to `Copilot` in chat model picker
2026-07-06 09:28:24 -07:00
Lee Murray 69961277b8 Style overrides: Add rounded corners for split buttons in action dropdowns (#324542)
style: Add rounded corners for split buttons in action dropdowns

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-07-06 16:25:17 +00:00
Vritant Bhardwaj 83436e1127 Merge pull request #324532 from microsoft/dev/vritant24/settingDesc
Ask for reload when changing setting `chat.agentHost.byokModels.enabled`
2026-07-06 09:21:56 -07:00
Lee Murray bacbfc34ae Style overrides: Adjust padding and margin for SCM, search, and extensions views (#324538)
style: add padding and margin adjustments for SCM, search, and extensions views

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-07-06 16:21:35 +00:00
Sandeep Somavarapu 0557399d54 sessions: single-pane add-tab tweaks and tab-bar border (#324514)
* sessions: single-pane add-tab tweaks and tab-bar border

Single-pane layout polish for the Agents window docked editor:

- Rename the `+` add-tab entries "New File" -> "Files" and "New Browser"
  -> "Browser".
- Add a "Search" add-tab entry (Cmd+K S) that opens a new Search editor.
- Show the "Changes" and "Files" add-tab entries only when their managed
  tab is closed, driven by new context keys
  (SinglePaneChangesTabMissingContext / SinglePaneFilesTabMissingContext)
  set by the layout controller; reopening clears the tab's dismissal so
  the controller resumes managing it.
- Give the editor tab bar a bottom border using the same agentsPanel
  border the parts use, and repeat it along the docked detail panel's top
  edge so the separator runs the full width.

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

* sessions: add tests for add-tab context keys and actions (CCR)

Address Copilot Code Review feedback on #324514:

- Add unit tests for NewSearchTabAction (invokes openNewSearchEditor) and
  NewChangesTabAction (opens the changes editor for the active session, and
  no-ops without one).
- Add layout-controller tests asserting the SinglePaneChangesTabMissingContext
  / SinglePaneFilesTabMissingContext keys flip true when a managed tab is
  closed, and that reopening the Changes tab clears its dismissal and the
  missing context.

To make the context keys observable/deterministic in tests, compute them
from the final group state at the end of `_syncManagedTabs` (in the finally,
guarded by generation) instead of synchronously in the autorun before the
async tab reconciliation ran.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-06 16:19:29 +00:00
Ladislau Szomoru 0d6f5154de AgentHost - exclude changes to the .git file/folder (#324506) 2026-07-06 16:19:05 +00:00
vritant24 546f314923 add comment 2026-07-06 09:14:12 -07:00
Vritant Bhardwaj 27a97373c9 Merge branch 'main' into dev/vritant24/settingDesc 2026-07-06 08:57:10 -07:00
vritant24 707e5ea763 Remove unused import in chatModelPicker test file 2026-07-06 08:56:10 -07:00
vritant24 fd6127cddb Agent Host changes for vritant24/324466 2026-07-06 08:55:12 -07:00
vritant24 26c6c302f1 add test 2026-07-06 08:53:37 -07:00
vritant24 7d90ed6595 address comment 2026-07-06 08:52:19 -07:00
Lee Murray fcad86478a Style overrides: Add border-radius and box-shadow for terminal resize overlay (#324490)
* style: Add border-radius and box-shadow for terminal resize overlay

* Potential fix for pull request finding

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

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-06 15:50:39 +00:00
vritant24 f72a7ea508 fix #324470 2026-07-06 08:43:11 -07:00
Ulugbek Abdullaev e1f9e64d67 nes: dedupe NextEditProvider streamed-edit handling into shared helper (#324451)
* nes: dedupe NextEditProvider streamed-edit handling into shared helper

Extract the per-edit rebase+cache logic shared by the regular fetch path
(`_executeNewNextEditRequest`) and the speculative path
(`_runSpeculativeProviderCall`) into a single `_cacheStreamedEdit` method.
Both loops previously open-coded the same convert -> rebase -> compose ->
setKthNextEdit -> cross-file cache pipeline, which had started to drift.

Also:
- extract the inline doc-state type into a named `DocState` interface and
  mark the non-reassigned fields `readonly`
- reuse the existing exported `StreamedEdit` type instead of a local
  duplicate

Behavior-preserving: the only differences are trace-level log messages.

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

* nes: rename _cacheStreamedEdit to _rebaseAndCacheStreamedEdit

The method does more than cache: it also rebases the streamed edit onto the
edits applied so far and mutates the per-doc accumulators. The new name
reflects that wider responsibility.

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

* nes: pass _rebaseAndCacheStreamedEdit args as an options object

Replace the nine positional parameters with a single typed
RebaseAndCacheStreamedEditArgs object and group the active-document fields
(id, contents, cursorOffset) under `activeDoc`. This removes the
call-site ambiguity of several same-typed/optional positional arguments.

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

* nes: let _rebaseAndCacheStreamedEdit own docContents advancement

Previously the helper mutated editsSoFar/nextEdits/patchIndices and the
cache, but left advancing the target document's running `docContents` to
each caller (a foot-gun: a future caller could forget it, desyncing the
cache key from subsequent edits).

The helper now owns the full per-edit state transition: it snapshots the
pre-edit contents, populates the cache against that snapshot, then advances
`docContents`. The snapshot is returned as `docContentsBeforeEdit` so the
regular path can still log the first edit against the pre-edit contents.
`targetDocState` is no longer returned, so callers can't mutate it.

Behavior-preserving.

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

* nes: drop redundant targetDocument fallback in _rebaseAndCacheStreamedEdit

StreamedEdit.targetDocument is a required DocumentId, so the
`?? activeDoc.id` fallback was dead code that could mislead readers into
thinking targetDocument may be omitted. Addresses PR review feedback.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-06 20:12:34 +05:00
Sandeep Somavarapu f3e6c0908f Fix subagent display in chat transcript by synthesizing chatResource (#324493)
Agent Host changes for agents/map-aux-bar-editor-subagent-issue
2026-07-06 15:11:23 +00:00
Sandeep Somavarapu d2fa20bf00 Fix chat persistence issue on session restart in Agents Window (#324456)
Agent Host changes for agents/agents-window-restart-chat-bug
2026-07-06 14:33:23 +00:00
Aiday Marlen Kyzy 2fe88e4617 fix: deleting whitespace (#324211)
* fix: deleting whitespace

* fixing test
2026-07-06 14:23:25 +00:00
Lee Murray c9f573fb55 Style overrides: Remove unused scroll shadow styles for lists and trees (#324491)
Remove unused scroll shadow styles for lists and trees

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-07-06 14:22:00 +00:00
Lee Murray ef9a35223c Style overrides: Improve bottom panel layout and margin behavior (#324480)
* fix: adjust bottom panel margin behavior and improve layout consistency

Co-authored-by: Copilot <copilot@github.com>

* fix: improve bottom panel height calculation and update comment for clarity

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-07-06 10:53:56 +00:00
Giuseppe Cianci 7d6863642c Merge pull request #324479 from microsoft/agents/add-chat-automations-experiment-setting
add exp prop for chat.automations.enabled
2026-07-06 12:53:41 +02:00
Giuseppe Cianci c85ed682a9 add exp prop 2026-07-06 12:32:13 +02:00
Ulugbek Abdullaev baf7e19bcb Only show completion feedback command for paid users (#324469)
* Only show completion feedback command for paid users

The 'Send Copilot Completion Feedback' command is attached to every
inline completion list, which surfaces the feedback button for all
users including free and unauthenticated ones. This has been a source
of low-signal issue-tracker spam.

Gate the command so it is only offered when the Copilot token belongs
to a paid user (not free and not no-auth).

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

* Fix completion feedback token shadowing

Rename the Copilot auth token local so it does not shadow the cancellation token used by inline completion generation.

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

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-06 15:23:43 +05:00
Giuseppe Cianci f239f20c54 Merge pull request #324255 from microsoft/guard-agent-sdk-native-deps
Guard agent-SDK release build against missing native optional-dep packages
2026-07-06 12:06:32 +02:00
Aiday Marlen Kyzy 25d59f1479 fix: checking position is valid before accessing line content (#324235) 2026-07-06 11:10:36 +02:00
Justin Chen 46e337170b remove padding from changed view to make it aligned with rest of chat (#324106) 2026-07-06 08:21:47 +00:00
vs-code-engineering[bot] 7bbfe96e44 Bump version to 1.129.0 (#324433)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 08:21:14 +00:00
vs-code-engineering[bot] ac68c0f81d Update endgame notebook milestones to 1.128.0 (#324432)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 08:21:08 +00:00