1141 Commits

Author SHA1 Message Date
Rob Lourens
0893eaecfd Rename executePrompt to runSubagent (#1420) 2025-10-19 21:52:40 +00:00
Kai Maetzel
69afc14478 update agent terminology (#1416)
* update agent terminology

* Resolve code review comments

* wording updates
2025-10-19 19:52:15 +00:00
Peng Lyu
eee468d98a update cli/cloud session setting (#1419) 2025-10-19 19:02:47 +00:00
Josh Spicer
8c8932a544 Adopt vscode#272167 (#1418)
* adopt https://github.com/microsoft/vscode/pull/272167

* tidy default model
2025-10-19 17:03:53 +00:00
Peng Lyu
300b70fe23 Improve remote handling and chat session status management (#1417)
* Handle padawan chat session status

* improve remote handling

* add todo
2025-10-19 06:06:26 +00:00
Peng Lyu
728e0539cb Support opening agent sessions on .com (#1415) 2025-10-18 19:28:48 +00:00
Connor Peet
de8566d15a edits: rm multi_replace for grok, simplify edit tools check (#1409) 2025-10-18 16:57:11 +00:00
Don Jayamanne
121f6c48ed Update @github/copilot to latest version (#1394)
* Update @github/copilot to latest version

* Updates

* Updates

* Udpates

* Update

* Updates

* proper untitled chat session swap to avoid using invalid tool invocation token

* filter out empty chats

* Updates

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-18 07:34:10 +00:00
Rob Lourens
63b3a13a42 Send beginToolCalls even when no text has been emitted (#1414)
* Send beginToolCalls even when no text has been emitted
The TTFTe metric depends on this when there is no text or thinking emitted

* Tests
2025-10-18 05:46:24 +00:00
Rob Lourens
58588fced7 Enable exp for autoFix (#1413) 2025-10-18 05:46:13 +00:00
Harald Kirschner
0bade016c3 Add handoffs to Plan Mode (#1393)
* Add handoffs

* Fix typo in Plan.chatmode.md
2025-10-18 04:06:56 +00:00
Osvaldo Ortega
a79b04606b CCA support for PR card and PR link (#1411)
* CCA support for PR card and PR link

* Name mapping
2025-10-18 00:10:26 +00:00
Osvaldo Ortega
a1ef84b7d8 CCA refresh contribution (#1412) 2025-10-18 00:09:46 +00:00
Peng Lyu
403d312eef Improve cloud/CLI code organization and API support (#1405)
* support new api

* better grouping for cloud/cli code

* Add todos
2025-10-17 23:17:32 +00:00
Osvaldo Ortega
2a30bf0534 Support for initial problem statement (#1410) 2025-10-17 22:58:08 +00:00
24anisha
f170b834c1 Built-in toolsets for default tools (#1139)
* adding starting changes for tool selection from default toolset

* update code to have all current default tools in groups (or ungrouped if default) and set exp to true

* update max tools

* small changes

* separate logic for built in tool grouping to new file

* remove unnecessary telemetry sending

* adding intermediate changes

* updated explicit tool set

* only perform grouping for gpt 4.1 and 5

* updated the hard tool limit back to 128, added logic

* Apply suggestion from @Copilot

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

* add tool grouping enum

* updating tool groupings

* remove computeAll reliance on IChatEndpoint

* removing non built in tools from enum?:

* creating helper function to do built in toolset check

* set experimental flag to false & remove endpoint reliance in built in tools (since we're doing it for all models)

* add edit_files to core

* debugging changes

* Apply suggestion from @connor4312

Co-authored-by: Connor Peet <connor@peet.io>

* Apply suggestion from @connor4312

Co-authored-by: Connor Peet <connor@peet.io>

* Apply suggestion from @connor4312

Co-authored-by: Connor Peet <connor@peet.io>

* update to remove chat endpoint + clean up categorization code

* removing think tool

* updating to use assertnever

---------

Co-authored-by: Anisha Agarwal <anishaagarwal@Anishas-MacBook-Pro.local>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Connor Peet <connor@peet.io>
2025-10-17 22:07:58 +00:00
Osvaldo Ortega
08efcdc3d6 CCA support for empty chat sessions (#1407)
* CCA support for empty chat sessions

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 22:05:03 +00:00
Connor Peet
39e48f21a7 tools: make mcp tool calls actually run in parallel (#1406)
Closes https://github.com/microsoft/vscode/issues/271989

We didn't actually parallize calls in general because we need to include
prompt sizing information through our APIs, and so need to render each
'flexGrow' group sequentially. However, we know that MCP's don't consume
any of this information today, so we can do this calls in parallel safely.

Implementation isn't the prettiest but it does the job.
2025-10-17 22:03:52 +00:00
Osvaldo Ortega
12f565e486 Support file references in CCA (#1404) 2025-10-17 20:21:37 +00:00
Osvaldo Ortega
1198856b59 Fix for get sessions API type (#1403) 2025-10-17 19:28:00 +00:00
Bhavya U
beffd08b38 refactor: split agentInstructions by model and add PromptRegistry (#1362)
* refactor: split monolithic agentInstructions and add PromptRegistry

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

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

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

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

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

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

* Update reference

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 18:01:50 +00:00
Vijay Upadya
788ad97b4e Enable thoughts in gemini BYOK (#1399)
* add thought outputs

* remove unused variable

---------

Co-authored-by: vijay upadya <vj@example.com>
2025-10-17 16:37:21 +00:00
Justin Chen
12795a1080 add additional metadata for thinking parts (#1395)
* add additional metadata for thinking parts

* fix some comments, rename

* cleanup
2025-10-17 16:30:23 +00:00
Connor Peet
f9d4eedc16 edits: clean up old experiments (#1377)
* edits: clean up old experiments

Remove old logic for grok experiments

* fix

* update
2025-10-17 15:45:51 +00:00
Sandeep Somavarapu
b08af0210e move all copilot chat settings under single root (#1341)
* move all copilot chat settings under single root

* remove title
2025-10-17 13:10:11 +00:00
Johannes Rieken
1332cd871e make sure to cache tool calls in stests (#1397) 2025-10-17 13:06:42 +00:00
Ulugbek Abdullaev
10ffc78324 update cache (#1396)
* update cache

* update cache
2025-10-17 12:35:42 +00:00
Rob Lourens
7525442053 Suppress noisy FileNotFound errors from CC (#1391) 2025-10-17 04:12:40 +00:00
Rob Lourens
09c118dcee Only register proxy when authed (#1388)
* Only register proxy when authed

* Register it
2025-10-17 04:12:07 +00:00
Rob Lourens
0d019817de Enable executePrompt (#1390) 2025-10-17 04:10:06 +00:00
Don Jayamanne
c6f4354840 Fix copilot cli sdk session retrieval to use cached sessions (#1389) 2025-10-17 03:45:06 +00:00
Don Jayamanne
78a6dd80d6 Update copilot cli command prompt scripts (#1387) 2025-10-17 03:20:41 +00:00
Don Jayamanne
64ade6242f Display error message for tool call failures (#1384) 2025-10-17 03:20:34 +00:00
Osvaldo Ortega
dad522d937 Fix for adding comment to PR (#1383) 2025-10-17 01:51:09 +00:00
Don Jayamanne
6eb0a194b9 Fix launching of copilot CLI from new terminal (#1385) 2025-10-17 01:39:22 +00:00
Harald Kirschner
856bcb5cbf Built-in Plan mode (#1382) 2025-10-16 23:45:05 +00:00
Don Jayamanne
a5db3c39e4 Add shell icon and update PowerShell scripts (#1381)
* Include icon for shell in copilot cli terminal

* Updates to powershell scripts
2025-10-16 23:44:51 +00:00
dileepyavan
c84c205dea indentation issue fix for apply_patch tool patches (#1329) 2025-10-16 23:28:01 +00:00
Don Jayamanne
d54e89f146 Update github/copilot package with changes to load history (#1378)
* Reapply "Update @github/copilot package (#1372)" (#1376)

This reverts commit 195c23657ed12b99df1e6a3d3dd1e5c441a530b3.

* Update version of github copilot

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

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

* include copilotCLIShim

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-16 22:42:07 +00:00
Vijay Upadya
7268f9b856 Gemini BYOK provider using native Gemini API (#1310)
* gemini native BYOK provider

* Handle abort ,  add tests and few cleanup

* handle images

* Cleanup

* Few minor updates

* fix formatting

* add image 'data'

* Move autoflush on tool part to linkifier

* merge main

* Enable only known models

* merge main

---------

Co-authored-by: vijay upadya <vj@example.com>
Co-authored-by: Logan Ramos <loganramos@microsoft.com>
2025-10-16 22:14:39 +00:00
Osvaldo Ortega
106ee0e628 Chat sessions URI handler (#1380)
* Chat sessions URI handler

* Type change

* Update src/extension/chatSessions/vscode/chatSessionsUriHandler.ts

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

* Update src/extension/chatSessions/vscode/chatSessionsUriHandler.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-16 22:13:54 +00:00
Ulugbek Abdullaev
d41e63e2b0 nes: add settings to configure NES model and default NES model using a string setting (#1374) 2025-10-16 22:09:21 +00:00
Don Jayamanne
195c23657e Revert "Update @github/copilot package (#1372)" (#1376)
This reverts commit 105524fd15fc3789337bb3fca4e19927f8f73c9f.
2025-10-16 19:41:24 +00:00
Don Jayamanne
105524fd15 Update @github/copilot package (#1372)
* Update @github/copilot package

* Updates

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

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

* fix type mismatch, & delete update. Update cli minimal version

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-16 19:06:00 +00:00
Don Jayamanne
29227ced14 Update shell args used in github copilot cli terminal (#1375) 2025-10-16 19:05:51 +00:00
Pierce Boggan
0af1ef6fce Model should self-identify if asked (#1267)
* Update model response guidelines in agent prompts

- Modified the response instructions in `agentPrompt.tsx` to clarify when to state the model name.
- Enhanced the `CopilotIdentityRules` class in `copilotIdentity.tsx` to include model name responses.

| File                             | Changes                                                                 |
|----------------------------------|-------------------------------------------------------------------------|
| `agentPrompt.tsx`               | Updated guidance on stating model name when asked.                     |
| `copilotIdentity.tsx`           | Added model name response instructions in identity rules.               |

* Update guidance on model name disclosure in agent prompts

- Revised instruction to clarify that the model name should not be volunteered unless explicitly asked by the user.

| File                                   | Changes Made                                      |
|----------------------------------------|--------------------------------------------------|
| src/extension/prompts/node/agent/agentPrompt.tsx | Updated reminder text regarding model name disclosure. |

* Update agent prompts to include model disclosure

- Added instruction to state the model being used when asked about it in multiple agent prompt snapshots.

| File Path                                                                 | Changes Made                                                                 |
|---------------------------------------------------------------------------|------------------------------------------------------------------------------|
| src/extension/prompts/node/agent/test/__snapshots__/agentPrompt.spec.tsx.snap | Updated responses to include model disclosure when asked about the model.    |

* Add SQLite cache file for simulation layer

This commit introduces a new SQLite cache file for the simulation layer to enhance data retrieval efficiency.

| File                                                                 | Changes                       |
|----------------------------------------------------------------------|-------------------------------|
| test/simulation/cache/layers/2171978e-88a1-4218-afac-dc1fe7ecc095.sqlite | New file created with versioning info |

* Add SQLite cache file for simulation layer

This commit introduces a new SQLite cache file to enhance the simulation layer's performance.

| File                                                                 | Changes                |
|----------------------------------------------------------------------|------------------------|
| test/simulation/cache/layers/94afd615-5805-4860-a1ba-3f9ebbf7b9a4.sqlite | New file added 📁      |

* remove bad cache layers

* npm run simulate

* update baseline

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-10-16 18:21:10 +00:00
Ulugbek Abdullaev
d91289ca80 nes: make INesConfigs leaner (#1371) 2025-10-16 16:04:23 +00:00
Ulugbek Abdullaev
a73ab32f3b nes: debt: remove unused settings (#1369)
* nes: remove unused setting `chat.advanced.inlineEdits.cacheTracksRejections`

* nes: remove unused setting `chat.advanced.inlineEdits.revisedCacheStrategy`
2025-10-16 13:12:39 +00:00
Ulugbek Abdullaev
0d784d1417 nes: cleanup: remove RecentlyShownCache which's not used anymore (#1366) 2025-10-16 10:12:34 +00:00
Rob Lourens
782d523f77 Remove incorrect instruction (#1361) 2025-10-16 04:57:34 +00:00