Commit Graph
2142 Commits
Author SHA1 Message Date
Benjamin Christopher Simmonds 46c19ea98e Allow non word only imports from node library (#2787) 2026-01-12 09:46:33 +00:00
Bhavya U 7f939d82d3 Cleanup thinking budget handling and update opaque value processing in messages API (#2784) 2026-01-12 00:28:01 +00:00
Bhavya U 68eb52bfd2 cleanup anthropicProvider (#2785) 2026-01-12 00:18:43 +00:00
Takashi TamuraandDmitriy Vasyura f2c5db06aa Update linkification instructions to clarify valid formats (#2683)
* Update linkification instructions to clarify valid formats

* Update snapshot files to reflect changes in valid URI formats for file links

---------

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-01-10 13:15:49 +00:00
Ladislau Szomoru 5518544d23 Bakcground - additional logging (#2781) 2026-01-10 13:04:39 +00:00
Matt Bierner 7da3c60129 Fixes for external ingest (#2778)
* Fixes for external ingest

- Make sure we use relative paths
- Add command to clear
- Avoid requests if the index is already up to date

* Small cleanup
2026-01-10 00:14:12 +00:00
Christof Marti e6dde88e26 Use flag instead (#2777)
* Cleanup

* Use flag instead
2026-01-09 23:21:49 +00:00
31182a90c6 graphql query to detect partner agents (#2775)
* Initial plan

* Add GraphQL-based partner agent detection with caching

- Add GraphQL queries for fetching assignable actors (suggestedActors and assignableUsers APIs)
- Add getAssignableActors method to IOctoKitService interface
- Implement dynamic partner agent detection in CopilotCloudSessionsProvider
- Add caching mechanism to avoid repeated API calls
- Update known Copilot agent logins based on spec
- Fall back to hardcoded list when API is unavailable

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Fix MockOctoKitService to include getAssignableActors method

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Use HARDCODED_PARTNER_AGENTS `at` values for partner agents

- Create COPILOT_AGENT_METADATA mapping for known Copilot agent logins
- Look up `at` values from HARDCODED_PARTNER_AGENTS when available
- Preserve the `at` field structure from the hardcoded list

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Remove COPILOT_AGENT_METADATA and use HARDCODED_PARTNER_AGENTS directly

- Delete COPILOT_AGENT_METADATA mapping
- Simplify getAvailablePartnerAgents to check HARDCODED_PARTNER_AGENTS directly
- Check if agent ID or name matches assignable actors
- Preserve all fields from HARDCODED_PARTNER_AGENTS including `at` values

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* polish

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

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

* fix auth

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-09 21:52:46 +00:00
Josh Spicer aa2d36f6e8 adopt chatSessionOptions when clause (depends on https://github.com/microsoft/vscode/pull/286814) (#2773) 2026-01-09 21:21:38 +00:00
Josh Spicer 12fd8294ac reload (#2768) 2026-01-09 20:53:44 +00:00
Tyler James Leonhardt 7f5eb1b88f Validate token endpoint payload (#2769)
* First Cut of Validating token endpoint payload

To help us get to the bottom of https://github.com/microsoft/vscode/issues/283560

* Include required properties fallback

* fix chat lib tests

* Fix other tests
2026-01-09 20:34:39 +00:00
Paul 061488d966 Fix media_type missing for gemini (#2717)
* fix

* clean

* use enum

* fix mcp case

* PR

* fix

* cleanup

* clean

* update package

* fix

* remove workaround

* cleanup

* pr

* don't default to image/png
2026-01-09 18:28:44 +00:00
Bhavya U fce420e6b2 Update token usage for messages api (#2770) 2026-01-09 18:16:24 +00:00
Benjamin Christopher Simmonds e6dd40cb39 more diagnostics logcontext (#2767) 2026-01-09 17:09:05 +00:00
dileepyavan dd6fea6460 model update (#2755) 2026-01-09 17:04:10 +00:00
Benjamin Christopher Simmonds 384ced3b35 lintOptions are not passed for NES model configuration from settings (#2765) 2026-01-09 16:59:56 +00:00
Isidor Nikolic f83ded3e18 Set default value of autoFix configuration to false (#2766)
* Set default value of autoFix configuration to false

fixes https://github.com/microsoft/vscode/issues/281483

* thanks Copilot for catching this
2026-01-09 16:50:39 +00:00
Johannes Rieken 90e5c104cb don't bail out when request has not been successful (#2764)
fixes https://github.com/microsoft/vscode/issues/286768
2026-01-09 16:16:31 +00:00
Christof Marti 3d3426b615 Log telemetry on request about to be retried (#2762) 2026-01-09 15:49:47 +00:00
Logan Ramos 5082c15ad7 Gracefully handle lack of model info (#2761) 2026-01-09 15:35:34 +00:00
Johannes Rieken da5d309adf Await tool executions outside of finishedCb so that request doesn't finish before tool calls do (#2760)
fix https://github.com/microsoft/vscode/issues/286731
2026-01-09 14:33:36 +00:00
Tyler James Leonhardt 0efd2922ad First pass of cleaning up response handling for Copilot Tokens (#2753)
Should help understand https://github.com/microsoft/vscode/issues/283560 more
2026-01-09 06:50:22 +00:00
Josh Spicer 32a61ef650 polish partner agent integration (with hardcoded values and no repo checks (#2754) 2026-01-09 03:05:47 +00:00
Bhavya U 739cd2b6b6 enable messages api (#2748)
* enable messages api

* update package.json
2026-01-09 02:42:43 +00:00
Logan Ramos 98ff91597e Bump engine (#2751) 2026-01-08 20:45:09 +00:00
Josh SpicerandCopilot dc65f64c8c CCA Model picker (#2740)
* CCA Model picker (depends on https://github.com/microsoft/vscode-capi/pull/53)

* bump copilot cli

* 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>
2026-01-08 19:57:48 +00:00
Bhavya U e8185ef64a feat: implement context management support for Anthropic Messages API (BYOK) (#2749) 2026-01-08 19:51:08 +00:00
Bhavya UandCopilot 90ce9ca532 feat: first pass at adding context editing support for Anthropic Messages API (CAPI) (#2739)
* feat: first pass at adding context editing support for Anthropic Messages API

* feat: implement context editing configuration for Anthropic Messages API

* update context editing configuration for Anthropic Messages API to use team internal settings

* fix: update context editing configuration to use team internal settings

* fix: add missing newline at end of package.json

* fix: disable context editing for Anthropic Messages API

* fix: remove unnecessary context editing settings for Anthropic Messages API

* Update src/platform/networking/common/anthropic.ts

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

* Update src/platform/configuration/common/configurationService.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-08 17:13:05 +00:00
Logan Ramos 12b7531632 Only refresh token if quota error doesn't match token (#2747) 2026-01-08 16:58:47 +00:00
Logan Ramos db4c46a409 Fix models being incorreclty marked as not BYOK (#2746) 2026-01-08 15:20:22 +00:00
Ulugbek Abdullaev 2f9887e3f9 ghost: refactor sending accepted/dismissed telemetry and minor fixes (#2639)
* ghost: refactor: reference command name instead of inlining it

* ghost: refactor: use `handleEndOfLifetime` to send 'accepted' telemetry

* ghost: refactor: set copilotCompletion as a property on the object instead of accessing it from command arguments

* ghost: fix a type

* ghost: fix origins for exceptions

* ghost: type annotate items

* ghost: nicer name for a fn
2026-01-08 10:56:28 +00:00
Ladislau Szomoru b66c8110ff Copilot CLI - handle the case in which a background agent turn did not produce any changes (#2744) 2026-01-08 09:04:17 +00:00
Matt Bierner a372497f29 More clean up for external ingest (#2743)
Adds some basic tests for file reads and cleans up some of the test code.
2026-01-08 06:43:04 +00:00
Vijay Upadyaandvijay upadya 6d57196c4a Gemini BYOK: Handle invalid key (#2733)
* Handle invalid API Key

* update test

---------

Co-authored-by: vijay upadya <vj@example.com>
2026-01-07 20:39:56 +00:00
Josh Spicer c3cd2572c2 bump to 0.37 (#2734) 2026-01-07 19:52:09 +00:00
Matt Bierner 0948673419 Start improving externalIngest (#2728)
* Start improving externalIngest externalIngest

Starting to hook up better basic db support. Still not very optimized yet

* Fix tests for ci
2026-01-07 17:38:21 +00:00
ababoueleninandAbdelrahmanAbouelenin fde238fe15 Update system prompt for vSCModelB. (#2727)
Co-authored-by: AbdelrahmanAbouelenin <abdelrahman.abouelenin@gmail.com>
2026-01-07 16:19:15 +00:00
Ladislau Szomoru 1b939688f5 Background agent - clear session stats when auto-commit is disabled (#2731) 2026-01-07 09:56:08 +00:00
Benjamin Pasero d7689d95c2 Agent session: Add Open Pull Request in Browser option to context menu (fix #280768) (#2730) 2026-01-07 08:59:06 +00:00
Ladislau Szomoru a06ddd6a02 Copilot CLI - add early return if the patch was not generated (#2729) 2026-01-07 08:56:18 +00:00
Ladislau Szomoru 038e1be254 Copilot CLI - adopt new git extension API to improve applying a patch (#2725) 2026-01-07 06:20:12 +00:00
Tyler James Leonhardt 1960c61bac Add some logs on GH MCP definition registration (#2719) 2026-01-06 21:22:39 +00:00
Christof Marti ec422f27be Retry network errors by default (#2724) 2026-01-06 17:24:39 +00:00
Ulugbek Abdullaev cb411c023c nes: rename public setting for cursor jump and fixes (#2722)
* nes: long: respect old setting if coming from exp

* nes: rename public setting for cursor jump and fixes

make it bool-valued, and respect old exp config and backward-compat value
2026-01-06 14:54:22 +00:00
Ulugbek Abdullaev c0327692e8 nes: make a public setting for cursor jump (#2721)
fixes https://github.com/microsoft/vscode/issues/286108
2026-01-06 12:54:39 +00:00
Ayush SinghandLogan Ramos ddfdaba29b fix(byok): improve Gemini provider error handling and add tests (#2686)
Co-authored-by: Logan Ramos <loganramos@microsoft.com>
2026-01-06 11:43:18 +00:00
Ulugbek Abdullaev 9dd6e6cc8f nes: support patch-based model response format (#2667)
* nes: support patch-based model response format

* nes: support <NO_EDIT> response and update post-script in user message

* fix off by one

model uses 0-based line numbers, so we should convert to 1-based for LineRange

* make a method private
2026-01-06 11:25:55 +00:00
Bhavya U e13d1e54f5 Update Messages API configuration to be preview and enable interleaved thinking (#2716) 2026-01-05 23:30:07 +00:00
Benjamin Christopher Simmonds 57c1b237f8 fix import suggestions (#2715) 2026-01-05 22:36:47 +00:00
Don Jayamanne 07bfc0df1f Add tests for https://github.com/microsoft/vscode-copilot-chat/pull/2680 (#2700)
* Add tests for https://github.com/microsoft/vscode-copilot-chat/pull/2680

* Fix tests
2026-01-05 21:49:42 +00:00