Commit Graph

1405 Commits

Author SHA1 Message Date
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
Josh Spicer c748e7b8ac clean up copilot cloud agent registration (#1780) 2025-11-04 00:54:38 +00:00
Peng Lyu 9ff76c2783 improve cli tool invocation formating (#1779)
* improve cli tool invocation formating

* resolve comments.

* handle single line read/write

* 💄 fix unit test
2025-11-03 23:37:23 +00:00
Bhavya U 699289497c Format Anthropic web-search results and include encrypted_index in citation data (#1778) 2025-11-03 23:24:53 +00:00
Rob Lourens f6f9b7fb7e Update prompts for hidden model (#1776) 2025-11-03 23:09:20 +00:00
Osvaldo Ortega e06fd3b132 CCA sessions polling (#1773)
* CCA sessions polling

* 5 minutes

* Initial plan

* Apply review feedback: use _register pattern and extract magic number

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-11-03 21:27:19 +00:00
Bhavya U 7dc7254f2b Report formatted web-search citations and include encrypted_index in stored citation data (#1771) 2025-11-03 19:29:42 +00:00
SteVen Batten e0d6335630 just run npm audit fix (#1772) 2025-11-03 18:49:51 +00:00
Dirk Bäumer 08a70b1221 Don't override lang specific settings with default settings for Cpp (#1769) 2025-11-03 17:42:50 +00:00
Dirk Bäumer 5b5b66f542 Allow to specify params in context.${languageID} exp setting (#1768) 2025-11-03 16:57:37 +00:00
Josh Spicer 8e5536d058 update DELEGATE_MODAL_DETAILS (#1766) 2025-11-03 16:50:32 +00:00
Christof Marti 6ea734c92c Pick up http.systemCertificatesNode setting (#1767) 2025-11-03 16:47:53 +00:00
Copilot 856d7ee051 Validate read_file offset parameter and report actual line count when out of bounds (#1759)
* Initial plan

* Add out-of-bounds offset validation for read_file tool

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Add test for offset 0 clamping behavior

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>
2025-11-03 16:25:56 +00:00
Dirk Bäumer 247e8e8283 Update package.lock with dompurify (is already in package.json) (#1765) 2025-11-03 16:17:21 +00:00
Ulugbek Abdullaev 0aa4838e9c nes: feat: add a setting to enforce max token count for edit window (#1764)
* nes: refactor: easier representation for tagged current file

* nes: feat: add a setting to enforce max token count for edit window
2025-11-03 14:20:08 +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
Johannes Rieken d266efa714 manually invoke exit tool when LLM didn't invoke any tool (#1762) 2025-11-03 08:47:32 +00:00
Rob Lourens 237db1fa20 Add setting to disable runSubagent in favor of runSubagent2 (#1760) 2025-11-03 04:21:26 +00:00
Copilot c19aeea325 Clarify regex vs literal text in search result messages (#1757)
* Initial plan

* Improve presentation of regex-based searches in agent mode

- Updated FindTextInFilesTool to indicate "regex" vs "text" in search messages
- Updated Claude grep tool formatter to show "Searched for regex"
- Added test for literal text search message format
- Updated existing test to match new regex message format

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Make regex/text keywords localizable via l10n

- Moved 'regex' and 'text' keywords inside l10n.t() calls
- This allows localization system to translate or keep terms as appropriate per language
- Addresses localization concern about whether 'regex' should be localized

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Refactor nested ternary operators into helper method

- Extract message generation logic into getResultMessage helper
- Improves code readability and maintainability
- All tests passing

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Update ChatSessionContentProvider test snapshot

- Updated snapshot to reflect new grep message format
- Changed from "Searched text for" to "Searched for regex"
- All tests now passing (8/8)

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>
2025-11-03 00:49:59 +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
Don Jayamanne 00e96f5151 Display Copilot CLI edits when resuming a session (#1754)
* Display Copilot CLI edits when resuming a session

* Fix tests

* Fix test

* Fixes

* Fixes

* Fix issues
2025-11-02 22:41:30 +00:00
Ladislau Szomoru 2c92092e40 Git - add repository/branch name to the commit message generation context (#1756) 2025-11-02 19:26:50 +00:00
Rob Lourens d7764b532a Simplify request logger a bit (#1755)
Remove postOptions, since we should log params from the real request, and duplicated 'tools'.
2025-11-02 16:34:09 +00:00
Don Jayamanne 3732454ecc Remove Copilot CLI Agent manager and introduce ICopilotCLISession interface (#1752)
* Rmove Copilot CLI Agent manager and introduce ICopilotCLISession interface

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

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

* Updates

* Updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 06:32:29 +00:00
Rob Lourens eeffcc3959 Clean up duplicated code (#1751)
Thank you CCR
2025-11-01 20:16:37 +00:00
Rob Lourens c4da3df01d Filter out unsupported codex tool type (#1748) 2025-11-01 19:02:33 +00:00
Don Jayamanne 9ae8037d24 Updates (#1745) 2025-11-01 08:58:05 +00:00
Osvaldo Ortega ded9889742 Support for worktree working directory (#1172)
* Support for worktree working directory

* fix merge

* remove unnecessary command

* revert package.json change

* 💄

* copilot cli worktree

* fix default isolation preferrence

* 💄 revert cc worktree integration for now.

* Persist working tree relationship

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-31 23:39:30 +00:00
Aaron Munger c9669ffac1 unit test for replay parsing (#1744)
* add parsing test

* just directly push to result array

* generate path to find test file
2025-10-31 17:10:09 +00:00
Zhichao Li 15d8d073e7 Fix tool calls property normalization and stream options handling for non-streaming responses (#1732)
* add log

* try streaming false

* try undefined

* correct fix

* correct fix 2

* fixxxx

* consume resp just once

* fix message

* no replacement of content

* clean up but need to make stream configurable for byok

* update

* update
2025-10-31 16:50:33 +00:00
Aaron Munger 143f1c28da no need for regex (#1742) 2025-10-31 15:38:31 +00:00
Martin Aeschlimann c980e6e5e4 add IPromptsService (#1741) 2025-10-31 15:35:45 +00:00
Martin Aeschlimann 8d5ccde8c7 plan prompt: improve 'Open in Editor' (#1740)
* plan prompt: improve 'Open in Editor'

* accept suggestions
2025-10-31 15:05:33 +00:00
Martin Aeschlimann 50a91a7d84 fix savePrompt contribution (#1738)
* fix savePrompt contribution

* update prompt

* Apply suggestions from code review

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 15:00:28 +00:00
Dirk Bäumer 20ac697e4e Add support for n context provider ids (#1737)
* Add support for n context provider ids

* Address review comments
2025-10-31 13:39:57 +00:00
Logan Ramos c112726676 Fix hidden auto mode (#1736) 2025-10-31 12:14:15 +00:00
Benjamin Christopher Simmonds ce9a93a109 Support more functionality from the chat extension (#1725) 2025-10-31 09:42:07 +00:00
Alexandru Dima 5730aa7ffe update team setting (#1734) 2025-10-31 09:31:41 +00:00
Connor Peet 7b81eec536 edits: fix race condition that leading to clobbering paralle edits (#1724)
This fixes a race condition that can happen in LM results that contain
multiple edit tool calls. The emission and application of edits is
async, and so it is possible that an edit can be emitted and the next
edit generated before the first edit's changes are propagated to the
extension host's model.

This resolves the issue by keeping, updating, and reusing snapshotted
documents on each turn's prompt context.

cc @DonJayamanne for notebook stuff. This is a little shakier but it
seems to work (and I know NB prefers the separate notebook edit tool
anyway.)
2025-10-31 09:07:07 +00:00
Don Jayamanne a13077b75d Use new env variable for Copilot CLI in terminal (#1731) 2025-10-31 07:37:48 +00:00
Karthik Nadig 097c1dc923 chore: Remove ProxyExperimentEndpoint (#1727)
* remove `ProxyExperimentEndpoint`

* simplify `getAllChatEndpoints`
2025-10-31 05:50:59 +00:00
Bhavya U e639b4fd15 Add Memory tool: implementation (#1728)
* Add Memory tool: implementation, wiring, config, Anthropic beta support, and SDK bump

* Update tests
2025-10-31 04:27:15 +00:00
Don Jayamanne f9ed6387cd Refactor Copilot CLI loading and session management (#1730)
* Move Copilot CLI session out into own file

* Remvoe a few methods

* Updates
2025-10-31 04:23:45 +00:00
Don Jayamanne e03b73d0fd Refactor Copilot CLI loading and model fetching (#1729)
* Refactor loading Copilot CLI npm, and feching Copilot CLI models

* Updates

* Fix test

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 03:29:24 +00:00
Karthik Nadig 52cb61ddbb fix: remove thinking content in history for custom model (#1679) 2025-10-31 01:21:23 +00:00
Rob Lourens 78507ca268 Add response rate to log (#1726)
* Add response rate to log

* fix
2025-10-31 00:41:57 +00:00
Peng Lyu b5ff52a6d4 Support file content change part for cloud agent (#1641)
* Support file content change part for cloud agent

* move off Buffer

* 💄
2025-10-30 23:15:48 +00:00
Dirk Bäumer c8eb02ba8b Read context provider Exp values specific to language ID (#1719)
* Read context provider Exp values specific to language ID

* Remove if true
2025-10-30 22:11:18 +00:00
SteVen Batten e5f3898c6c add show in picker exp + refactor (#1723)
* add show in picker exp + refactor

* more concise

* Update src/platform/endpoint/node/modelMetadataFetcher.ts

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

* remove unnecessary async

* no really remove it

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 22:07:02 +00:00
Logan Ramos 7b76fcc67e Hide warnings from auto (#1721) 2025-10-30 21:37:52 +00:00