Commit Graph
2959 Commits
Author SHA1 Message Date
7aa17fc25e fix: align promptCategorization.requestId with panel.request for telemetry joins (#3874)
Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-02-19 23:57:48 +00:00
Matt BiernerandGitHub 87b8a09b1a Pick up latest @github/blackbird-external-ingest-utils (#3857)
* Pick up latest `@github/blackbird-external-ingest-utils`

* Update for new api shape
2026-02-19 23:44:56 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
375a2a2428 Bump tar from 7.5.7 to 7.5.8 (#3813)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.8.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.8)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.8
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 22:38:40 +00:00
Tyler James LeonhardtandGitHub dc8a16f76b Implement MCP gateway for Claude agent (#3863)
* Implement MCP gateway for Claude agent

This will hook up any MCP servers installed via VS Code and available via VS Code to Claude.

It think there should be some UX work in Core to enable/disable tools, but from an extension perspective this should be good.

ref https://github.com/microsoft/vscode/issues/287660

* feedback
2026-02-19 22:06:27 +00:00
Matt BiernerandGitHub c76c6ffeaf Fixing some client side telemetry around external ingest (#3868)
* Fixing some client side telemetry around external ingest

- Don't log cancellation
- Fix paths being scrubbed
- Don't log successes

* Move logging

* Fix id
2026-02-19 21:21:27 +00:00
Ladislau SzomoruandGitHub b59b31781d Background - branch label for an in-progress session should always list the branch from which the worktree was created (#3865) 2026-02-19 21:10:09 +00:00
Bhavya UandGitHub 85fc61e810 fix: update rawMessagesToMessagesAPI to handle cache_control correctly and add tests (#3861) 2026-02-19 19:57:31 +00:00
Matt BiernerandGitHub 4f20e09375 Reduce alls to code search status endpoint (#3859)
Removes the automatic refresh because we see that the status (indexed vs not) does not change often
2026-02-19 17:40:54 +00:00
Sandeep SomavarapuandGitHub 63de200f58 fix ollam provider (#3858) 2026-02-19 17:15:12 +00:00
Christof MartiandGitHub 08e2a3a331 Cleanup (#3855) 2026-02-19 15:21:59 +00:00
Johannes RiekenandGitHub 6f850297d1 fix: refine conditions for chat commands in inline editor (#3852) 2026-02-19 13:01:44 +00:00
48173d7381 Background - another attempt to fix the branch picker (#3853)
* Revert "Background - fix the branch picker when switching repositories (#3820)"

This reverts commit 8cbd9aaf75.

* Background - another attempt to fix the branch picker

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 12:52:25 +00:00
Don JayamanneandGitHub 77f87be784 Support display commands for terminal commands in background agents (#3850) 2026-02-19 11:48:42 +00:00
Don JayamanneandGitHub 58151ec8fe Adopt the latest github copilot npm (#3786)
* Adopt the latest github copilot npm

* Updates

* Updates

* Updates

* Updates

* Fixes

* Fixes

* Fixes

* Fixes

* Updates to the tests

* Fix tests
2026-02-19 08:46:17 +00:00
Vijay UpadyaandGitHub 252247e9ee Revert "Strip _vscodecontentref_ links from chat response markdown (#3823)" (#3846)
This reverts commit c85ce9619c.
2026-02-19 06:06:32 +00:00
Don JayamanneandGitHub 242fffd027 Update background handling of update_todo tool (#3845) 2026-02-19 05:51:20 +00:00
Bhavya UandGitHub f3e6859c16 Add support for local repository memory and update telemetry events (#3841)
* Add support for local repository memory and update telemetry events

* Update memory command labels for clarity in the UI

* update test

* Add repository memory section to snapshot tests for clarity
2026-02-19 05:51:04 +00:00
3af70ac077 chore(): add telemetry event for auto mode routing fallback (#3780)
* chore(): add telemetry event for auto mode routing fallback

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

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

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

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

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

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

* fix(): missing braces

* fix(): use single quotes

* fix(): add semicolons

* chore(): add error message in telemetry

* fix(): lint issues

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 05:50:51 +00:00
Tyler James LeonhardtandGitHub 70b79df17f Fix slash command handler not taking the command into consideration (#3839)
* Fix slash command handler not taking the command into consideration

This broke at some point, not sure when... but now it's plumbed through.

* feedback
2026-02-19 03:22:09 +00:00
Don JayamanneandGitHub 022a1ac014 Remove session count logging from InProcHttpServer class (#3838) 2026-02-19 02:38:08 +00:00
1b40d15088 fix: standardize userInvokable property name (#3840)
Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-02-19 02:32:46 +00:00
FAStreandGitHub 2cf43735e1 Include file path in image prompts (#3790)
* Include file path in image prompts

* Include id attribute in attachment tag
2026-02-19 01:05:52 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>vijayupadya
638a360207 Add tool-calling reinforcement to Gemini prompts to prevent hallucinated tool calls (#3822)
* Initial plan

* Add tool-calling reinforcement to Gemini prompts to prevent hallucinated tool calls

The Gemini Pro model was hallucinating tool calls (describing them in text
instead of invoking them) after 2-3 turns. This adds explicit instructions
to both Gemini system prompts and the reminder instructions to reinforce
that tools must be invoked through the tool-calling mechanism, not described
in prose.

Co-authored-by: vijayupadya <41652029+vijayupadya@users.noreply.github.com>

* update prompts

* add br ending

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vijayupadya <41652029+vijayupadya@users.noreply.github.com>
2026-02-18 23:59:57 +00:00
Matt BiernerandGitHub 5147298d5d Don't call refresh handler directly (#3829)
In general you should not call the refresh handler like this yourself because it won't show anything in the UI (it's fine to call the actual implementation that does the refresh). I'm going to update the api so that there is no confusing `refreshHandler` property toi avoid this confusion
2026-02-18 23:55:41 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>TylerLeonhardtTyler Leonhardt
e6fa37b928 Add Context Window Widget support for Claude Agent (#3816)
* Initial plan

* Add usage handler mechanism for Claude context window widget

- Add UsageHandler type and methods to IClaudeSessionStateService
- Set usage handler in claudeChatSessionContentProvider request handler
- Wire up usage reporting in ClaudeStreamingPassThroughEndpoint
- Extract usage from AnthropicMessagesProcessor completion and call handler

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Add unit tests for usage handler in ClaudeSessionStateService

- Add tests for getUsageHandlerForSession
- Add tests for setUsageHandlerForSession
- Verify handler preservation across state changes
- Verify handler can be called correctly

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* don't do the separate cache section

* a test

* include compaction

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2026-02-18 23:42:38 +00:00
Josh SpicerandGitHub 88801273bd cloud: more state telemtry (#3828) 2026-02-18 23:30:00 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>vijayupadya
c85ce9619c Strip _vscodecontentref_ links from chat response markdown (#3823)
* Initial plan

* Strip _vscodecontentref_ links in unlikify pass of linkifier

Co-authored-by: vijayupadya <41652029+vijayupadya@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vijayupadya <41652029+vijayupadya@users.noreply.github.com>
2026-02-18 23:01:57 +00:00
Bhavya UandGitHub fbf31b50cc Update usage instructions for tool_search_tool_regex to prevent unnecessary retries (#3826) 2026-02-18 23:01:11 +00:00
PaulandGitHub 8564af0be9 Deprecate infer for org custom agents and support new properties (#3817)
* deprecate

* user-invocable
2026-02-18 21:32:31 +00:00
Christof MartiandGitHub c265ee50c4 Collect fetcher telemetry (#3821) 2026-02-18 20:17:04 +00:00
Justin ChenandGitHub 8a049102db make sure all copilot chat types get github uploads (#3824) 2026-02-18 20:13:05 +00:00
Rob LourensandGitHub d4b9313fa6 Reenable agent sanity test (#3814)
* Reenable agent sanity test

* This way
2026-02-18 16:47:40 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>TylerLeonhardt
089a83b6e7 Update @anthropic-ai/claude-agent-sdk 0.2.42 → 0.2.44 (#3796)
* Initial plan

* Update @anthropic-ai/claude-agent-sdk from 0.2.42 to 0.2.44

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2026-02-18 16:00:51 +00:00
Ladislau SzomoruandGitHub 8cbd9aaf75 Background - fix the branch picker when switching repositories (#3820)
* Background - fix the branch picker when switching repositories

* Pull request feedback
2026-02-18 14:30:11 +00:00
Christof MartiandGitHub 2856462cc7 Add flags for suspend/resume events (#3819) 2026-02-18 10:18:42 +00:00
Ladislau SzomoruandGitHub 1128d483f5 Background - update badge icon (#3818) 2026-02-18 10:12:11 +00:00
dileepyavanandGitHub b77d0024fe adding 90% of max window for compact_threshold (#3804) 2026-02-18 07:54:56 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>TylerLeonhardtTyler Leonhardt
579cc8fb3b Add debug command to log extension state (#3811)
* Initial plan

* Add hidden debug command to log extension state (auth, models, tools)

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Address PR feedback: rename label, add proxy info, conditional models/tools, issue banner

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Move ExtensionStateCommandContribution to vscodeNodeContributions for early availability

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Move ExtensionStateCommandContribution to top of vscodeNodeContributions for earliest registration

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Add logging for Copilot chat and embeddings model registration

* feedback

* id

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2026-02-18 07:50:46 +00:00
Bhavya UandGitHub 6a2d071a65 Add guard for trailing assistant messages in Messages API to prevent prefill errors (#3815)
* Add guard for trailing assistant messages in Messages API to prevent prefill errors

* Refine guard for trailing assistant messages in Messages API to prevent prefill errors
2026-02-18 05:57:16 +00:00
Tyler James LeonhardtandGitHub 9763031a9a Fix /compact for Claude agent (#3812)
* Fix `/compact` for Claude agent

* Completely rewrites JSONL parser to follow linked list pattern
* re-enables `/compact` command

* fix tests

* dead code
2026-02-18 03:28:49 +00:00
Justin ChenandGitHub 817b620532 change simple browser tool to integrated browser tool (#3810)
* change simple browser tool to integrated browser tool

* update spec
2026-02-18 03:17:09 +00:00
Bhavya UandGitHub e94cb1673a add telemetry for background compaction orchestration (#3809)
* update background summarization with cancellation token support and add tests

* feat: add telemetry for background compaction orchestration decisions and outcomes

* feat: add summarization source tracking for background and foreground operations
2026-02-18 01:04:04 +00:00
dileepyavanandGitHub c6fda3cf7d Correcting the file name for gpt53codex files (#3808)
* updating prompt for gpt-5.3 codex model with experimentation turned on

* correcting the file name
2026-02-18 00:32:08 +00:00
Don JayamanneandGitHub 2f5d3c908e Custom session title service for background agents (#3806)
* Custom session title service for background agents

* Updates
2026-02-18 00:07:36 +00:00
Rob LourensandGitHub 10a2658e24 Add 'xhigh' to ResponsesApiReasoningEffort enum (#3807) 2026-02-18 00:03:47 +00:00
Don JayamanneandGitHub b7ebca4bfb Add authorization checks in Background agents (#3705)
* Add authorization checks in Background agents

* fix tests

* Fixes

* Fixes with tests

* Updates

* Fix tests
2026-02-17 23:59:44 +00:00
Bhavya UandGitHub 72ae11245b update background summarization with cancellation token support and add tests (#3805)
* update background summarization with cancellation token support and add tests

* refactor: update progress reporting in AgentIntentInvocation and enhance background summarizer tests

* refactor: update background summarizer to use token parameter in start method
2026-02-17 23:37:27 +00:00
dileepyavanandGitHub d0b9ef2db8 updating prompt for gpt-5.3 codex model with experimentation turned on (#3803) 2026-02-17 22:58:54 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>connor4312Connor Peet
abae555c93 Skip external file confirmation for non-existent files (#3795)
* Initial plan

* Fix non-existent files incorrectly treated as external

- Add file existence check in isFileExternalAndNeedsConfirmation()
- Non-existent files now return false (not external) to prevent confirmation dialog
- Actual tool invocation will fail with proper "file not found" error
- Update tests to reflect new behavior

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

* Address code review feedback

- Add comprehensive comment explaining error handling tradeoff
- Add test suite with MockFileSystemService to verify existing external files still need confirmation
- Tests confirm the fix works correctly for both existing and non-existing files

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

* update

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>
Co-authored-by: Connor Peet <connor@peet.io>
2026-02-17 21:10:28 +00:00
Alexandru DimaandGitHub 0384f58794 NES on by default (#3801)
* NES on by default

* Fix compilation
2026-02-17 20:51:07 +00:00