Commit Graph
1659 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
Christof Marti b2660bb4a1 Exp setting to retry all network errors (#2132) 2025-11-21 16:09:47 +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
Don Jayamanne b81e4a3231 Use Github Copilot SDK to get default model (#2128) 2025-11-21 08:16:58 +00:00
Tyler James Leonhardt 3b4cb7e403 Use a different version for when signed out (#2127)
So that the server stops when auth is lost.
2025-11-21 06:18:43 +00:00
Peng Lyu 33a85f7bce Support all tools for cli mcp (#2126) 2025-11-21 05:35:49 +00:00
Don Jayamanne 0be5127dd7 Account for the fact that Copilot CLI model list can be empty (#2124) 2025-11-21 05:32:40 +00:00
Peng Lyu 9a2a1720d1 use icon theme for cli worktree (#2125) 2025-11-21 05:05:07 +00:00
Alexandru Dima 3430338d74 Return true in affectsConfiguration only for settings that might have changed (#2122) 2025-11-21 00:48:21 +00:00
Josh SpicerandCopilot 37eaf232c7 retries for pull request if not yet visible in gh api (#2121)
* await pull request if not yet visible in gh api

* retry count configurable

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-21 00:19:43 +00:00
Peng Lyu 68d1a39613 support showing locked chat session option (#2120) 2025-11-20 22:39:15 +00:00
Connor Peet cdc797e34a edits: remove replace_string healing exp (#2117) 2025-11-20 19:45:25 +00:00
Benjamin Christopher Simmonds 63ae7a246f add more logs (#2115) 2025-11-20 17:54:29 +00:00
Alex Ross 0d9c96239c Remove repoContext (#2112)
in favor of GitHub Pull Request providing workspace context through the new API proposal.
2025-11-20 17:45:12 +00:00
Benjamin Christopher Simmonds 1e6980839c Add more trace logging to measure timing (#2113) 2025-11-20 17:44:05 +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
Christof Marti 8aaacb4574 Reenable macOS (#2110) 2025-11-20 14:43:00 +00:00
Ladislau Szomoru f8e82bac98 Copilot CLI - adopt migrateChanges git extension API (#2109) 2025-11-20 13:03:31 +00:00
Alexandru Dima e87bdd0cbb Eliminate unused internal, unused teamDefaultValueRollout (#2108)
* Eliminate support for teamDefaultValueRollout

* Eliminate no longer used `internal` property
2025-11-20 12:34:40 +00:00
Martin Aeschlimann 8e956c07b8 enable prompt file context provider (#2106) 2025-11-20 10:59:08 +00:00
Don JayamanneandCopilot a44ee9ecef Github Copilot CLI Attachments (#2102)
* Github Copilot CLI Attachments

* fixes

* Fix test

* Fix tests

* Update src/extension/agents/copilotcli/common/copilotCLIPrompt.ts

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

* Update src/extension/agents/copilotcli/node/copilotcliPromptResolver.ts

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

* Update src/extension/agents/copilotcli/common/copilotCLITools.ts

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

* Update src/extension/prompts/node/agent/copilotCLIPrompt.tsx

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

* Update src/extension/agents/copilotcli/common/copilotCLIPrompt.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 10:16:22 +00:00
Don Jayamanne c51596fab7 Support cacheable Github Copilot CLI stests (#2101)
* Add cacheable stests for Copilot CLI

* Support cacheable Github Copilot CLI stests

* Fix tests

* Fixes

* Fixes
2025-11-20 10:16:04 +00:00
Alexandru Dima 4e80180f48 Fix the engine requirement (#2104) 2025-11-20 10:05:19 +00:00
Don Jayamanne 107d113106 Clean up Github CLI Session translation (#2103)
* Clean up Github CLI Session translation

* Fix tests
2025-11-20 07:57:05 +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
Peng Lyu f94a95ede5 respect isolation setting for cli delegation (#2099)
* respect isolation setting for cli delegation

* 💄 fix test
2025-11-20 05:14:54 +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 30c37c740f Copilit CLI: Move auth information into SDK (#2095)
* Copilit CLI: Move auth information into SDK

* Remove unused authentication service from CopilotCLISession tests
2025-11-19 23:44:30 +00:00
Don Jayamanne 3ce1ab44f4 Send the right Start and End Times for Copilot CLI sessions (#2094) 2025-11-19 23:42:15 +00:00
Benjamin Christopher Simmonds a0ba56b9df adjust prompt (#2092) 2025-11-19 22:16:22 +00:00
Don Jayamanne e32e8ec7e3 Update version of @github/copilot to latest version (#2036) 2025-11-19 21:06:45 +00:00
Josh Spicer 525a66322e check that we have history to summarize (ignores confirmation boxes) (#2089) 2025-11-19 20:56:54 +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 4a4f468b01 Don't log activation failed iff copilot client is disabled. (#2085) 2025-11-19 18:23:48 +00:00
Josh Spicer c6393317a0 remove all chatSummary refs (#2084)
* remove ChatSummary history again

* remove chatSummary altogether

* tidy
2025-11-19 18:08:52 +00:00
Bryan Chen 61c345044f Remove explicit 'any' (#1960)
* Remove explicit 'any'

* remove any

* fix typecheck failure

* export CopilotToolParamsBase

* replace any with unknown in toolsService

* fix typing for IEmbeddingsEndpoint

* fix tool types

* use `unknown` for tool contructor type
2025-11-19 17:36:29 +00:00
Josh Spicer 93acaf56cd remove ChatSummary history again (#2083) 2025-11-19 16:54:41 +00:00
Connor Peet 0a4da9d819 tools: coerce arrays as well as objects (#2082)
Closes https://github.com/microsoft/vscode/issues/277462
2025-11-19 16:52:13 +00:00
Dirk Bäumer 0eceb67e0a Fix item budget for TypeScript context (#2081) 2025-11-19 15:17:45 +00:00
Dirk Bäumer f1612e3a0e Any cleanup (#2080)
* Remove any type.

* More any

* More any work

* Any cleanup
2025-11-19 15:17:37 +00:00
Johannes Rieken a951ba62d1 fix https://github.com/microsoft/vscode/issues/277850 (#2079) 2025-11-19 15:17:31 +00:00
Christof Marti 160df22b2a Add @anthropic-ai/sdk (#2078) 2025-11-19 12:44:22 +00:00
Christof Marti 0f9c634e19 Update @vscode/copilot-api (#2077) 2025-11-19 11:01:08 +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
Josh Spicer 8331efecee Perform cloud agent summarization in extension (#2076)
* do cloud agent summarization in extension

* --amend

* do not bother for untitled session

* update test
2025-11-19 02:48:30 +00:00
Ladislau Szomoru 5b5ca0af6b Copilot CLI - switch over to using new git extension api (#2068) 2025-11-19 02:06:14 +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