Commit Graph

832 Commits

Author SHA1 Message Date
Martin Aeschlimann 9677ab2714 Use 'sessionTypes' to filter chat customizations in UI, 'when' only in promptsService (#310999)
* Use 'sessionTypes' to filter chat customizations in UI, 'when' only in promptsService

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

* update

* correctly handle when from providers

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

* fix compile error

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

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-17 16:25:48 +00:00
dependabot[bot] db40a9e19d Bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-trace-otlp-http in /extensions/copilot (#310874)
Bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-trace-otlp-http

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) to 7.5.5 and updates ancestor dependencies [protobufjs](https://github.com/protobufjs/protobuf.js), [@opentelemetry/exporter-logs-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-logs-otlp-http](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-http](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-trace-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js) and [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js). These dependencies need to be updated together.


Updates `protobufjs` from 8.0.0 to 7.5.5
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v8.0.0...protobufjs-v7.5.5)

Updates `@opentelemetry/exporter-logs-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-logs-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-metrics-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-metrics-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-trace-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-trace-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.5
  dependency-type: indirect
- dependency-name: "@opentelemetry/exporter-logs-otlp-grpc"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-logs-otlp-http"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-grpc"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-http"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-grpc"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-http"
  dependency-version: 0.214.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-17 08:14:41 -07:00
Martin Aeschlimann 3b7a361194 chat customizations: add ChatResourceEnablement (#310212)
* chat customizations: add ChatResourceEnablement

* update

* filter by sessionTypes

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

* inline ChatResourceEnablement

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

* update

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

* update

* revert version change

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-16 17:18:45 +00:00
Vijay Upadya 602484ad5f Chronicle - local and remote (#308602)
* chronicle

* local and cloud store

* upload vscode events to remote store

* few updates

* consent ui and settings

* few optimizations

* test fix

* feedback updates

* test fix

* check setting to enable cmd

* fix test

* Settings update and tool update

* command update

* Settings update

* merge main

* feedback updates

* setting and test update

* few updates

* updates

* test update

* blocks ci update

* feedback updates

* comment update
2026-04-16 10:31:39 +02:00
Bhavya U f5b4ab4cdb Consolidate reasoning effort override for evals into a single advanced setting (#310517)
Consolidate reasoning effort override into single advanced setting

Replaces chat.advanced.responsesApiReasoningEffort and chat.advanced.anthropicThinkingEffort with a single chat.advanced.reasoningEffortOverride setting used by both the Responses API and the Anthropic Messages API for evals.
2026-04-16 06:44:04 +00:00
Don Jayamanne 4ab3ca5546 chore: update @github/copilot to version 1.0.28 (#310378)
* chore: update @github/copilot to version 1.0.28

* updates
2026-04-15 21:14:21 -07:00
Bhavya U d75a4078ce Remove server-side tool search and consolidate on client-side tool_search (#310343)
- Remove all server-side tool_search_tool_regex types, handlers, and stream processing from messagesApi.ts
- Remove isAnthropicToolSearchEnabled/isAnthropicCustomToolSearchEnabled functions
- Remove AnthropicToolSearchEnabled and AnthropicToolSearchMode settings
- Remove TOOL_SEARCH_TOOL_NAME, TOOL_SEARCH_TOOL_TYPE, TOOL_SEARCH_SUPPORTED_MODELS constants
- Refactor modelSupportsToolSearch to use version parsing instead of prefix list
- Add models filter to ToolSearchTool registration for Claude Sonnet/Opus 4.5+
- Fix MockEndpoint to derive supportsToolSearch from model family
- Gate advanced-tool-use beta header directly on endpoint.supportsToolSearch
- Update prompts to use client-side tool_search name and semantic search instructions
- Update 24 snapshot files to reflect new tool name and instructions
2026-04-16 00:59:37 +00:00
Connor Peet e5c1c730d5 tools: move testFailure tool to core (#310201)
* tools: move testFailure tool to core

It had some outdated instructions and used a worse reporting format than the built-in tool. Migrate to core.

* fix

* fix
2026-04-15 20:48:09 +00:00
Sandeep Somavarapu 5ba065d91e fix deleting/renaming multi chat sessions (#310174)
* fix deleting multi chat sessions

* fix multi chat session issues

* fix tests
2026-04-15 18:30:45 +00:00
Don Jayamanne 93a9f739a4 feat(copilot): add configuration for showing external sessions (#310078)
* feat(copilot): add configuration for showing external sessions

* Updates

* Updatse

* Update extensions/copilot/src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts

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

* Fix tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-15 07:58:42 +00:00
Don Jayamanne 521013fd76 chore: update @github/copilot to version 1.0.26 and remove unused telemetry binder (#309955)
* chore: update @github/copilot to version 1.0.26 and remove unused telemetry binder

* Update tests
2026-04-15 16:38:35 +10:00
Anisha Agarwal f4441c1333 Combine Search and Explore Subagents (#309935)
* adding first pass at implementation

* update search subagent to combine it with explore subagent via thoroughness level

* update wording in package.nls to align with thoroughness change

* fix copilot comments

* update to clarify that normal is not the default

* add tests for current iteration of search subagent tool
2026-04-14 18:41:37 -07:00
Ulugbek Abdullaev 593c13a850 copilot: bump esbuild from 0.25.6 to 0.27.2 (#309975)
The copilot extension was using esbuild 0.25.6 (transitive via tsx),
which has a memory leak in long-running watch mode. The esbuild service
process grows to 1-2.7 GB over hours of watch usage, while esbuild
0.27.2 (used by vscode's own build) stays at 7-29 MB even after days.

Add esbuild 0.27.2 as a direct devDependency so the build script
resolves to the fixed version. tsx retains its own nested 0.25.x.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-14 21:46:13 +00:00
Don Jayamanne a4af38f029 feat(copilotcli): add /plan command (#309799)
* feat(copilotcli): add /plan command

* Update extensions/copilot/src/extension/prompt/node/gitBranch.ts

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

* Fix tests

* Fix tests

* Fix tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-14 15:01:13 +02:00
Don Jayamanne e17114084b feat(copilotcli): Enable CLI fork sessions by default in configuration (#309783)
Enable CLI fork sessions by default in configuration
2026-04-14 12:05:29 +02:00
Don Jayamanne e705c90640 feat(copilotcli):Enable plan mode (#309674)
feat(copilotcli): Enable plan mode
2026-04-13 18:07:05 -07:00
Don Jayamanne d4f778921b feat: Enable AI-generated branch names in Copilot CLI (#309603) 2026-04-13 16:39:48 -07:00
Matt Bierner f8e1706349 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 10:24:52 -07:00
Matt Bierner ec1fc105d7 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 10:24:11 -07:00
Ulugbek Abdullaev 8b622dac9f NES: enable trigger on active editor change by default (#309489)
* NES: enable trigger on active editor change by default

- Set triggerOnEditorChangeAfterSeconds default to 10 (was undefined)
- Set triggerOnEditorChangeStrategy default to AfterAcceptance (was Always)
- Replace unconditional same-line cooldown bypass with smart reset:
  cooldown is enforced within a file session but clears when switching
  away and returning, so NES re-triggers on the same line after a
  round-trip to another file
- Update tests to match new defaults and behavior

* fix indentation
2026-04-13 20:54:26 +05:00
Alex Ross 027a4d3ce4 Bump version to 1.117.0 (#309394)
* Bump version to 1.117.0

* npm i

* wait to do engine version bump

* Revert "wait to do engine version bump"

This reverts commit 9db1c0feb6.

* Add Copilot extension tests to Linux/Windows Electron integration test runs

* Remove failing step that we moved to the main build

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-13 14:52:32 +02:00
Ladislau Szomoru 43b1f4bd8b Agents - remove "Update Branch" command (#309375)
* Agents - remove "Update Branch" command

* Remove more code
2026-04-13 01:06:58 -07:00
Don Jayamanne 3913b503a3 Update @github/copilot to version 1.0.24 in package.json and package-lock.json (#309257)
* Update Copilot SDK to version 1.0.24

* Updates

* Fix tets

* Fixes
2026-04-12 08:48:34 -07:00
Raymond Zhao a37ccb456c chore: run npm audit fix (#309045) 2026-04-10 18:53:31 +00:00
Alex Ross 8b5518b088 Show combination tool approval args (#308747) 2026-04-10 12:05:03 +02:00
Robo c88afdaf77 chore: update electron@39.8.7 (#308959)
* chore: update electron@39.8.7

* chore: update command

* chore: remove showNodeSystemCertificates command

* chore: bump distro
2026-04-10 10:33:39 +02:00
Don Jayamanne e9aba237c9 refactor(copilotcli): update action descriptions and adjust plan path handling (#308954) 2026-04-10 06:58:22 +00:00
Don Jayamanne e9d8794d1d feat(CopilotCLI): support reasoning effort (#308951)
* feat(CopilotCLI): support reasoning effort

* Enable reasoning effort for Copilot CLI
2026-04-10 16:29:15 +10:00
Don Jayamanne dcacca1b39 refactor: streamline session option group selection logic and improve test coverage (#308743)
* refactor: streamline session option group selection logic and improve test coverage

* refactor: enhance chat session initialization with new options structure and improve input state handling

* Update extensions/copilot/src/extension/chatSessions/vscode-node/test/sessionOptionGroupBuilder.spec.ts

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

* Updates

* Fixes

* Fixes

* Updates

* Updates

* More updates

* Fix tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-10 04:49:37 +00:00
Bhavya U 100cbe59eb Background inline summarization v1 (#308923)
* Refactor inline summarization handling in ToolCallingLoop

* Refactor conversation summarization settings and improve logging in AgentIntent

* Refactor agent intent to improve telemetry and remove obsolete test file

* Refactor inline summarization handling: remove unused properties and related tests

* Remove unused summarization instruction from AgentPromptProps interface

* Refactor AgentIntentInvocation to streamline model capabilities handling in background summarization

* Update debugName for background summarization to reflect inline context

* Update logging message in AgentIntentInvocation for clarity and remove unused test suite for inline summarization
2026-04-10 03:16:57 +00:00
Matt Bierner 8d532cadd5 Fix package.json changes 2026-04-09 11:47:15 -07:00
Matt Bierner 0f60dd3e7a Use core vscode*d.ts files for copilot 2026-04-09 10:53:58 -07:00
Justin Chen 35a23cd116 switch to copilot icon for cli (#308831) 2026-04-09 17:33:01 +00:00
Vikram Nitin f36cefe175 [Bug Fix] Make execution subagent model exp based instead of simple. (#308642)
Make execution subagent model exp based. Also change default tool call limit
2026-04-09 09:26:54 -07:00
Martin Aeschlimann c2c0f22daa update vscode.proposed.chatPromptFiles.d.ts (#308757) 2026-04-09 14:03:37 +02:00
João Moreno 537b43cc54 Refactor applyPackageJsonPatch to remove isPreRelease parameter and derive it from VSCODE_QUALITY environment variable; add getDateBasedPatch function for versioning (#308737)
lock versions up
2026-04-09 10:29:36 +00:00
João Moreno 591f06894d Remove husky pre-commit and pre-push hooks; integrate copilot pre-commit checks directly in hygiene function (#308698) 2026-04-09 07:48:18 +00:00
Ladislau Szomoru 6c60260c98 Sessions - detect GitHub remote (#308620)
* Add context key got GitHub remote

* Sdopt the new context key

* Fix issue with detecting the repository path
2026-04-08 16:26:28 -07:00
Ladislau Szomoru bf472a2811 Sessions - only show "Commit & Sync" and "Sync Changes" action when the branch has an upstream (#308583) 2026-04-08 19:19:17 +00:00
Don Jayamanne d675efeebd Update Copilot dependency to version 1.0.21 (#308440)
* feat(copilot): update Copilot dependency to version 1.0.21

* Address review comments

* Updates

* Fix tests
2026-04-08 18:48:08 +00:00
Don Jayamanne fc30bdf444 feat(copilot): add AI-generated branch names (#308441) 2026-04-09 04:32:05 +10:00
Martin Aeschlimann 8be4565891 update d.ts in copilot (#308502)
* update d.ts in copilot

* Update extensions/copilot/src/extension/chatSessions/vscode-node/chatCustomAgentsService.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-08 14:19:44 +00:00
Martin Aeschlimann f0069609a2 convert built-in prompt files to skills (#308472) 2026-04-08 12:59:32 +02:00
Don Jayamanne 0afa58dace feat(copilot): Updated the Copilot CLI options to support a model interface (#308418)
* feat(copilot): Updated the Copilot CLI optoins to support a model interface

* Fix tests
2026-04-07 21:43:05 -07:00
Bhavya U 7ab3939bb7 Configure Explore Subagent Enabled (#308324)
* make explore subagent configurable (porting changes from copilot chat repo

Signed-off-by: bhavyaus <bhavyau@microsoft.com>

* Remove redundant onDidTreatmentsChange listener

---------

Signed-off-by: bhavyaus <bhavyau@microsoft.com>
Co-authored-by: Anisha Agarwal <anisagarwal@microsoft.com>
2026-04-07 21:55:38 +00:00
dileepyavan fba847a2b7 Add inline YAML prompt override debug setting (#308309) 2026-04-07 14:32:09 -07:00
Ladislau Szomoru 9a79d475ba Sessions - delete the open pull request command (#308290) 2026-04-07 21:08:56 +02:00
João Moreno 9700aa12c9 Merge remote-tracking branch 'origin/main' into joao/copilot-builtin 2026-04-07 11:33:02 +02:00
Vijay Upadya fa07711eb1 Agent Debug: Converge debug data with JSONL as single source of truth (#4954)
* converge debug data

* Feedback updates

* add ver field

* exp update

* subagent fix

* Few fixes and test

* settings update

* msg update
2026-04-06 22:38:55 +00:00
Copilot 777e9a1151 chore: bump @vscode/test-web to ^0.0.80 and run npm audit fix (#5002)
Agent-Logs-Url: https://github.com/microsoft/vscode-copilot-chat/sessions/02ce514d-f6dc-4589-a802-bc94fde78db2

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
2026-04-06 19:28:41 +00:00