Commit Graph

3933 Commits

Author SHA1 Message Date
Ben Villalobos
11018d926f Fix PascalCase keys in copilot cgmanifest.json (#309655)
The official component-detection-manifest schema uses camelCase keys.
This file used PascalCase (e.g. "Registrations", "Component"), which
caused the OSS license tool to crash silently.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-13 16:13:23 -07:00
Courtney Webster
01154b09eb Update rate limit message (#309571)
* Update rate limit message

* Improve rate limit messages for better user clarity

* removing 'ed' in case not fixed on server

* nvm, it was fixed

---------

Co-authored-by: SteVen Batten <sbatten@microsoft.com>
2026-04-13 22:46:17 +00:00
Vijay Upadya
b923fb755c Propagate CAPI server experiment context through telemetry pipeline (#309626)
* Propagate CAPI server experiment context through telemetry pipeline

* test
2026-04-13 22:38:15 +00:00
Christof Marti
39f7332803 Add telemetry to investigate exceeding token limit (#298236) 2026-04-14 00:37:56 +02:00
Bhavya U
3391fb18be Disable cache breakpoints in foreground summarization render (#309638)
Cache breakpoints in the summarization prompt cause the prompt-tsx
budget trimmer to throw BudgetExceededError ('No lowest priority node
found') when all remaining children contain cache points. The trimmer
resets its eviction candidate each time it encounters a cache point,
and when every child has one, it never finds a node to evict.

These breakpoints were already stripped from the output messages by
stripCacheBreakpoints() before sending to the model, so they served
no purpose in the summarization render.

Fix: pass enableCacheBreakpoints: false when rendering
ConversationHistorySummarizationPrompt.
2026-04-13 22:22:08 +00:00
Bhavya U
083e1db4b0 Fix missing reasoningEffort telemetry for Claude models (#309639)
The reasoningEffort telemetry property on response.success and
response.error events was only reading from requestBody.reasoning?.effort
(Responses API / OpenAI), missing Claude models which set effort via
requestBody.output_config?.effort (Messages API). This adds a fallback
to output_config.effort so both events capture the reasoning effort
level regardless of which API path is used.

Co-authored-by: Kevin Kent <kevinkent@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-13 22:12:33 +00:00
Matt Bierner
fa43a70d58 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 12:22:04 -07:00
Zhichao Li
d1269605db Merge pull request #309544 from microsoft/vscode-copilot-chat/migrate-5043
Change OTLP endpoint from gRPC to HTTP in montoring docs
2026-04-13 12:11:08 -07:00
dependabot[bot]
1faf9f4d1b build(deps-dev): bump basic-ftp from 5.2.1 to 5.2.2 in /extensions/copilot (#309113)
build(deps-dev): bump basic-ftp in /extensions/copilot

Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/patrickjuchli/basic-ftp/releases)
- [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patrickjuchli/basic-ftp/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: basic-ftp
  dependency-version: 5.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-13 11:17:46 -07:00
Matt Bierner
f8e1706349 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 10:24:52 -07:00
Matt Bierner
ec1fc105d7 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 10:24:11 -07:00
Ulugbek Abdullaev
8b622dac9f NES: enable trigger on active editor change by default (#309489)
* NES: enable trigger on active editor change by default

- Set triggerOnEditorChangeAfterSeconds default to 10 (was undefined)
- Set triggerOnEditorChangeStrategy default to AfterAcceptance (was Always)
- Replace unconditional same-line cooldown bypass with smart reset:
  cooldown is enforced within a file session but clears when switching
  away and returning, so NES re-triggers on the same line after a
  round-trip to another file
- Update tests to match new defaults and behavior

* fix indentation
2026-04-13 20:54:26 +05:00
Ulugbek Abdullaev
d9b443da37 xtab: replace getFetchFailure polling with stream-level error propagation (#309474)
xtab: replace getFetchFailure polling with stream-level error propagation (#308745)

Add FetchStreamError class and reject() method to FetchStreamSource so fetch
failures propagate through the async iterable stream. Consumers now
catch errors naturally via for-await instead of polling a mutable
closure at ~7 call sites.

- Added FetchStreamError (carries NoNextEditReason) in xtab/common,
  keeping platform/chat free of inlineEdits dependencies
- Added FetchStreamSource.reject() delegating to AsyncIterableSource
- Updated _performFetch to call reject()/resolve() instead of setting
  chatResponseFailure
- Removed getFetchFailure parameter from all response format handlers
- Added FetchStreamError catch in _streamEditsImpl and
  xtabCustomDiffPatchResponseHandler

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-13 15:02:44 +00:00
Ulugbek Abdullaev
004f4f62b9 nes: always check if cursor is still in edit window of the in-flight request before reusing it (#309456) 2026-04-13 14:59:09 +00:00
Ladislau Szomoru
8f57c3e15b Copilot - implement improvements for GVFS repos (#309460)
* Git - expose whether a repository is using GVFS

* Make improvements for GVFS

* Update extensions/copilot/src/extension/chatSessions/vscode-node/chatSessionWorktreeServiceImpl.ts

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

* Update extensions/copilot/src/extension/chatSessions/vscode-node/chatSessionWorkspaceFolderServiceImpl.ts

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

* Fix test compilation

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-13 14:41:36 +00:00
Alex Ross
027a4d3ce4 Bump version to 1.117.0 (#309394)
* Bump version to 1.117.0

* npm i

* wait to do engine version bump

* Revert "wait to do engine version bump"

This reverts commit 9db1c0feb6.

* Add Copilot extension tests to Linux/Windows Electron integration test runs

* Remove failing step that we moved to the main build

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-13 14:52:32 +02:00
Ulugbek Abdullaev
821090042d nes: show thumbsdown icon for previously rejected NES in log tree (#309408)
Previously rejected NES entries now show a 👎 icon instead of no
specific icon. Uses direct outcome assignment to avoid false warnings
on the succeeded→previouslyRejected transition. Also registers
the rebasedEdit (when present) with the rejection collector.
2026-04-13 13:37:24 +02:00
Ladislau Szomoru
de2728c1b5 Copilot - remove methods from IGitService that are not being used (#309397) 2026-04-13 08:52:35 +00:00
Ladislau Szomoru
43b1f4bd8b Agents - remove "Update Branch" command (#309375)
* Agents - remove "Update Branch" command

* Remove more code
2026-04-13 01:06:58 -07:00
Don Jayamanne
1dfb3b9dd4 feat(copilotcli): enhance session option group handling with locking and branch updates (#309338) 2026-04-12 20:08:08 -07:00
Eleanor Boyd
b9a4af49ea Merge branch 'main' into just-ape 2026-04-12 17:09:46 -07:00
eleanorjboyd
c06d1bc6d9 update exp markers 2026-04-12 16:59:01 -07:00
Christof Marti
78e3397c9c Sanitize network errors 2026-04-12 22:23:40 +02:00
Ladislau Szomoru
19262226b5 Agents - switch back to using repository state in the session tracker to avoid a race condition (#309169)
* Agents - switch back to using repository state in the session tracker to avoid a race condition

* Pull request feedback

* Add initial update of the state when a session is opened
2026-04-12 20:25:52 +02:00
Don Jayamanne
3913b503a3 Update @github/copilot to version 1.0.24 in package.json and package-lock.json (#309257)
* Update Copilot SDK to version 1.0.24

* Updates

* Fix tets

* Fixes
2026-04-12 08:48:34 -07:00
Ladislau Szomoru
a704f8664f Revert "Sessions - do not use -A so that we can better handle git repositories using GVFS (#308740)" (#309162)
This reverts commit f6d4cad1c1.
2026-04-11 12:01:18 +02:00
Ladislau Szomoru
63f7113ca6 Copilot - some cleanup in the git service (#309148)
* Copilot - some cleanup in the git service

* Fi test compilation errors
2026-04-11 08:11:22 +00:00
Tyler James Leonhardt
54da13be64 Move request logging over to dispatch (#309131)
* Move request logging over to dispatch

and reorganize processToolResult

* feedback
2026-04-11 08:17:41 +02:00
Dmitriy Vasyura
4fa2ff42e9 Reduce amount of BASE64 added to requests by replacing images with placeholders (#308901) 2026-04-10 21:01:26 -07:00
Tyler James Leonhardt
8c15ca4852 Move IRequestLogger into common (#309121)
* Move IRequestLogger into common

so that it can be used in common files.

also two tiny feedbacks in claude from https://github.com/microsoft/vscode/pull/309119

* format
2026-04-10 17:58:44 -07:00
Tyler James Leonhardt
46fe42cea2 Remove usage of hooks for any operations and use tool call handling instead (#309119)
Hooks can be disabled... we don't want the user to disable hooks and then key functionality goes away.

* Edit tracking
* Enter/Exit plan mode
* tool logging

all now go through the message dispatching instead of via hooks.

Additionally, there was duplicate logic in the hooks world for logging so that was all removed since we already log hooks in the dispatcher.

this allowed us to completely delete the hook registery code.
2026-04-10 23:31:48 +00:00
Vijay Upadya
a19305eca8 Show historical debug sessions in Agent Debug Panel (#309073)
* Show historical debug sessions in Agent Debug Logs

* Feedback update

* add test
2026-04-10 14:09:57 -07:00
Ladislau Szomoru
e2f2e833c0 Agents - switch over to using metadata for the changes view (#309091)
* Cleanup code related to the repository state

* Remove code specific to the Agents app

* HasGitRemote should be computed at the end of each turn to account for sessions that were started before the metadata was added
2026-04-10 19:58:02 +00:00
Logan Ramos
4c01ed2e76 Stop fetching GHCR pat (#309086)
* Stop fetching GHCR pat

* MAKE IT RED
2026-04-10 19:48:27 +00:00
Kyle Cutler
023cc9a418 Add browser tool instructions to agent prompts (#309075) 2026-04-10 12:07:54 -07:00
Raymond Zhao
a37ccb456c chore: run npm audit fix (#309045) 2026-04-10 18:53:31 +00:00
Ladislau Szomoru
dede8c6f4a Background - add repository state to the metadata (#309034) 2026-04-10 20:29:37 +02:00
dileepyavan
ec116f3d8a Update agent prompts to require intermediary update before analysis channel (#309066) 2026-04-10 18:13:02 +00:00
Eleanor Boyd
aea81ccccf Merge branch 'main' into just-ape 2026-04-10 11:01:58 -07:00
eleanorjboyd
0b9b007fd3 fixes from comments 2026-04-10 11:00:57 -07:00
Matt Bierner
58064d8893 Merge pull request #309051 from mjbvz/dev/mjbvz/convincing-perch
Add more correlation ids for external ingest
2026-04-10 10:04:28 -07:00
Courtney Webster
8f146c8ee7 Merge pull request #308885 from microsoft/thick-rook
Updating upgrade strings
2026-04-10 12:03:38 -05:00
Aashna Garg
208d40322a Merge pull request #308597 from microsoft/aashnagarg/router-candidate-telemetry
Add candidateModel and stickyOverride to automode.routerDecision telemetry
2026-04-10 09:53:32 -07:00
Matt Bierner
c179fd54f8 Add more correlation ids for external ingest 2026-04-10 09:40:32 -07:00
Martin Aeschlimann
504aa05ab6 improve /init (#309031) 2026-04-10 15:32:16 +00:00
Martin Aeschlimann
5dd90d7ba5 generalize /init skill to also suggest other chat customizations (#309020) 2026-04-10 14:40:45 +00:00
Ulugbek Abdullaev
8f98cb758b nes: implement cursor line distance check for serving from cache (#309011)
* nes: implement cursor line distance check for serving from cache

* address review: use rebasedEdit for rejection, skip cross-file cursorOffset, fix test types
2026-04-10 14:10:48 +00:00
Christof Marti
cde30eb64e Resend all messages after summarization (#298236) 2026-04-10 13:56:49 +00:00
Ulugbek Abdullaev
0e5f2c4f5c nes: fix: address _performFetch review comments (#309000)
nes: fix: address PR review for _performFetch extraction

- Rename FetchResult.Error to FetchResult.FetchFailure to avoid
  confusion with built-in Error class
- Move fetchResultPromise .then/.catch/.finally handlers before
  await Promise.race so early-return paths get setFetchEndTime()
  telemetry
2026-04-10 18:16:04 +05:00
Don Jayamanne
d786cb0bcb fix(copilotcli): delegation to Copilot CLI (#308984) 2026-04-10 10:46:59 +00:00