Commit Graph
321 Commits
Author SHA1 Message Date
Eleanor Boyd 60c36f157f Add EntraId authentication support for Azure specific endpoints (#2070)
* Add EntraId authentication support for Azure specific endpoints

* fix from copilot review

* changes from feedback

* update error msg

* fixes based on comments

* fix typing for tests

* fixing tests

* comment feedback
2025-11-21 19:36:24 +00:00
PaulandCopilot eeec70057e Update CAPI to 0.2.3 (#2135)
* update

* Update src/platform/github/common/githubService.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-21 18:54:42 +00:00
Jeff HunterandChristof Marti 4cbd1042c0 Inline completions in @vscode/chat-lib (#2131)
* Include inline completions in @vscode/chat-lib

* Follow type imports, * exports without "as", and jsxImportSource pragmas for dependency extraction

* update @vscode/chat-lib test configuration

* update chat lib extraction with new path and add context setup for lib

* initial stubs for inline completions test

* round trip test for getInlineCompletions

* remove unused path mappings

* fix type import

* send only original event names for chat-lib telemetry

* fix wasm loading in chat-lib

* have locateFile default to the current dir if the expected parent directory cannot be found

* update to use service injection with completions in chat-lib

* update citation and ExP handling for completions in chat-lib

* hook up enhanced telemetry for chat-lib

* add missing tsx package

* update post-install script to work with pre-built and unbuilt versions of chat-lib and add missing completions dependencies

* remove unneeded try/catch block

* correct typo

* generate package-lock from correct npm version

---------

Co-authored-by: Christof Marti <chrmarti@microsoft.com>
2025-11-21 15:47:14 +00:00
Tyler James Leonhardt 2db395aa66 Support GitHub MCP in-box (#2051)
* Support GitHub MCP inbox

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

* Be auth provider aware, and bump version on every config change

* tests and fixed ghe url

* Move things around so the layers make more sense

* move settings to experimental section

* move def prov

* who needs new APIs anyway?

* Ask for auth

* fix tests

* disable `#githubRepo` when GH MCP is enabled

* Include settings for readonly & lockdown

* misc

* fix test
2025-11-20 16:00:35 +00:00
Alexandru Dima 4e80180f48 Fix the engine requirement (#2104) 2025-11-20 10:05:19 +00:00
Josh Spicer 057fa609f6 Refactor cloud agent (#2097)
* refactor cloud session class

* pass correct context

* throw errors and fix parameter typo

* remove stale test

* remove debug markdown

* reset confirmations commadn

* some loose ends

* tweaks while rate limited

* update test

* more accurate

* nevermind

* add back cli handleConfirmationData

* nullptr

* restore test

* polish

* this is the pr uri

* polish
2025-11-20 06:47:04 +00:00
PaulandMartin Aeschlimann 7773ac2c75 Align tool names (#1995)
* wip

* wip

* remove canBeReferencedInPrompt

* updates

* fixed

* wip

* cleanup

* small clean

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2025-11-20 01:53:54 +00:00
Don Jayamanne e32e8ec7e3 Update version of @github/copilot to latest version (#2036) 2025-11-19 21:06:45 +00:00
dependabot[bot] 9c9e789fcb Bump js-yaml from 4.1.0 to 4.1.1 (#2007)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-19 19:35:40 +00:00
dependabot[bot] 9d8d7a94e4 Bump glob (#2061)
Bumps [glob](https://github.com/isaacs/node-glob) to 10.5.0 and updates ancestor dependency . These dependencies need to be updated together.


Updates `glob` from 10.4.5 to 10.5.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

Updates `glob` from 11.0.3 to 11.1.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
- dependency-name: glob
  dependency-version: 11.1.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-19 19:34:03 +00:00
Dirk Bäumer 0eceb67e0a Fix item budget for TypeScript context (#2081) 2025-11-19 15:17:45 +00:00
Peng LyuandCopilot d55b61212b migrate auto commit feature from ghpri (#2034)
* migrate auto commit feature from ghpri

* 💄

* use local variables

* better diffing for review.

* refactor: move remote name check to after change detection in commit process

* Update src/extension/chatSessions/vscode-node/copilotCloudGitOperationsManager.ts

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

* Update src/extension/chatSessions/vscode-node/copilotCloudSessionsProvider.ts

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

* Update src/extension/chatSessions/vscode-node/copilotCloudSessionsProvider.ts

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

* Update src/extension/chatSessions/vscode-node/copilotCloudGitOperationsManager.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 06:12:23 +00:00
Bhavya U 875a993d43 First pass at adding Messages API support and related configurations (#2072)
* Add Messages API support and related configurations

* Update @vscode/copilot-api to version 0.2.2 in package.json and package-lock.json
2025-11-19 01:21:43 +00:00
Osvaldo Ortegaandcopilot-swe-agent[bot] 4c93aa653e Using capi package for sessions APIs (#2052)
* Using capi package for sessions APIs

* Package update

* Initial plan

* Add error logging and fix logic error in getCustomAgents

Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>

* Remove descriptive message from getAllOpenSessions error logging

Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>

* Change to protected

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-11-19 00:12:53 +00:00
Johannes Rieken 34393c52c7 Always use github.copilot.editingSessionEditor, enable slash-command based on v2-config (#2060)
* Always use `github.copilot.editingSessionEditor`, enable slash-command based on v2-config

This makes all requests go to the `InlineChatIntent` and it decides (based on the v2-config) if it uses the "old world" for making inline chat requests happen

* re-run tests
2025-11-18 16:57:12 +00:00
Bryan Chen 87af30b89c Support includeIgnoredFiles option in search results (#1868)
* feat: add option to include ignored files in search results

* Provide instruction of includeIgnoredFiles to models in case of missing match

* updated warnings
2025-11-18 15:13:40 +00:00
Logan Ramos 041e417ab0 Implement BYOI (#2049) 2025-11-17 20:56:51 +00:00
Josh Spicer 48474b1ba8 canDelegate for CC (#2041) 2025-11-17 18:33:04 +00:00
Sandeep Somavarapu fedde4f1f1 clean up: (#2040)
* clean up:
- simplify namespaces
- simplify defining settings

* fix unused configs
2025-11-17 14:32:52 +00:00
Sandeep Somavarapu a943613f4f migrate internal settings to advanced (#2028)
* Reapply "first cut - migrate settings marked with INTERNAL and adopt to advanc…" (#2021)

This reverts commit 9dfc3993af.

* fix default values of migrated settings
2025-11-15 15:29:04 +00:00
Alexandru Dima 9dfc3993af Revert "first cut - migrate settings marked with INTERNAL and adopt to advanc…" (#2021)
This reverts commit 3898ba5474.
2025-11-14 21:59:22 +00:00
Zhichao LiandCopilot d30c99f60b Improve setting description for Azure and CustomOAI model URLs (#2017)
* fix: enhance API documentation for Azure and OpenAI model URLs in package.json and package.nls.json

* Update package.nls.json

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 20:29:36 +00:00
Aaron Munger 620bd47d81 remove langauge declaration (#2011) 2025-11-14 18:05:44 +00:00
Sandeep SomavarapuandAlex Dima 3898ba5474 first cut - migrate settings marked with INTERNAL and adopt to advanced tag (#1717)
* first cut - migrate settings marked with INTERNAL and adopt to advanced tag

* support old key while
- reading config value
- reading experiment
- listening to changes

* make experiment change event aware of old id

* fix tests

* fix tests

* Add backward support for the pattern used in older experiments

* fix id

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-11-14 17:04:48 +00:00
Don Jayamanne 07a3e71f76 Update @github/copilot to 0.0.336 (#1992)
* fix: export UnknownToolCall type and update its usage in CopilotCLISession

* Update @github/copilot to 0.0.336

* Updates
2025-11-13 21:25:51 +00:00
Aaron Munger 279384599d recover full chat session from exported log (#1967)
* recover full log into chat session

* clean up some presentation

* 💄
2025-11-13 02:52:04 +00:00
Johannes Rieken a3a3829ee3 remove temporal context experiment (#1957)
fixes https://github.com/microsoft/vscode-copilot/issues/17115
fixes https://github.com/microsoft/vscode-copilot/issues/12756
fixes https://github.com/microsoft/vscode-copilot/issues/11674
2025-11-12 16:52:08 +00:00
Christof Marti 0a44f0f332 Update engines version (#1956) 2025-11-12 16:32:23 +00:00
Ulugbek Abdullaev a0664b55fd Go back to tsc instead of tsgo (#1949)
* Revert "use tsgo watcher (#1924)"

This reverts commit 38547d2d57.

* Revert "Use tsgo for type checking (#1906)"

This reverts commit 7149e3bf2a.
2025-11-12 13:25:05 +00:00
Don Jayamanne d0f16d6dc2 Remove zeromq and related unwanted notebook execution tests (#1941) 2025-11-12 04:31:49 +00:00
Logan Ramos f64f3bd75a Support custom fetcher for Microsoft telemetry (#1935)
* Support custom fetcher for Microsoft telemetry

* Fix package lock
2025-11-12 01:50:20 +00:00
Peng Lyu 4d9fe48c92 cli session deletion with worktree cleanup (#1938) 2025-11-12 00:55:51 +00:00
Matt Bierner 7149e3bf2a Use tsgo for type checking (#1906)
This is around 4x faster. Only using for the no-emit checks for now
2025-11-11 00:34:19 +00:00
Ladislau Szomoru 58f3c21d80 Copilot CLI - add editor title command to migrate changes (#1897) 2025-11-10 16:04:28 +00:00
Josh Spicer 4479e9d0c8 track permissiveSessionAuth as context key and react to it in cloud-agent view (#1861)
* track permissiveSessionAuth as context key and react to it in cloud-agent view

* do not block if run and then cancelled

* code review suggestion adding catch
2025-11-07 21:12:53 +00:00
Josh Spicer a2305d8367 cloud/cli agents: remove when statements (https://github.com/microsoft/vscode/issues/276132) (#1859) 2025-11-07 20:17:11 +00:00
Don JayamanneandPeng Lyu 8d607cbf6b Use new Copilot CLI SDK (#1761)
* Update to latest Copilot CLI SDK

* Skip failing testi

* Fix test and address review comments

* Address review comments

* Improve file write concurrency for node pty shim.

* Updates

* Fix testes

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-11-07 18:27:26 +00:00
Christof Marti 8a0a74c6d4 Version bump (#1850) 2025-11-07 08:30:30 +00:00
Bhavya U 8208f3bd8a tools: add "Open Memory Folder" command (#1839) 2025-11-06 21:12:53 +00:00
Bhavya U 6b36edf234 Update memory operation tool schema in package.json (#1832) 2025-11-06 18:47:46 +00:00
Rob Lourens 8a986974ba Delete runSubagent tool (#1819)
* Delete runSubagent tool
Moving to the core version

* Fix
2025-11-06 06:43:28 +00:00
Benjamin Christopher Simmonds 06d8f305c0 Add missing completions model picker and fix tests (#1811)
* add missing completions model picker

* fix and run tests

* add config in code
2025-11-06 01:05:41 +00:00
Benjamin Christopher Simmonds ca32ff53dd Rename Completions to Inline Suggestions (#1801) 2025-11-05 16:19:36 +00:00
Osvaldo Ortega 1e9c07c935 Fix open in browser action (#1790) 2025-11-04 23:40:31 +00:00
Rob Lourens a3e8141d4a Remove setting (#1787) 2025-11-04 20:23:46 +00:00
Bhavya U 8b9e36f77d Add Anthropic web_search settings and wire into BYOK provider (#1783)
* Add Anthropic web_search settings and wire into BYOK provider

* Mark Anthropic websearch configuration options as experimental
2025-11-04 06:00:35 +00:00
Bhavya U 44b123a67d remove experimental gpt5AlternatePrompt and update default (#1770)
* remove experimental gpt5AlternatePrompt and update default

* test(prompts): update agentPrompt snapshot to new structured coding agent instructions
2025-11-04 01:04:36 +00:00
Dirk Bäumer a37e9a41ae Get the completion panel working (#1739)
* Get the completion panel working

* Address review comments

* Address XSS vulnerability by sanitizing HTML snippets before rendering in suggestions panel webview
2025-11-03 12:54:27 +00:00
Rob Lourens 237db1fa20 Add setting to disable runSubagent in favor of runSubagent2 (#1760) 2025-11-03 04:21:26 +00:00
Benjamin Christopher Simmonds 9cea8e13cc Enable Copilot from chat extension (#1758)
* contibute copilot enabled from chat extension

* Make github.copilot.enable contributed by chat extension
2025-11-02 23:52:17 +00:00