Commit Graph
1962 Commits
Author SHA1 Message Date
Josh Spicer 8dd7ca299e fix claude code integration (#2519) 2025-12-09 23:11:29 +00:00
Zhichao Li 67460785b5 fix (#2520) 2025-12-09 22:40:04 +00:00
Rob Lourens 8cf4c4a2e0 AutoChatEndpoint is a CopilotChatEndpoint (#2505)
Needs getCompletionsCallback
2025-12-09 22:07:54 +00:00
Bhavya U f9029fa647 conditionally disable thinking based on conversation location (#2514)
* conditionally disable thinking based on conversation location

* Add test to ensure thinking_budget is undefined for ChatLocation.Other
2025-12-09 21:49:40 +00:00
Bhavya U 5a657b15b3 check for thinking data before disablingThinking (#2516)
* check for thinking data before disablingThinking

* remove shouldDisableThinking method and its documentation

* refactor: check only for the most recent thinking content
2025-12-09 21:49:05 +00:00
dependabot[bot] 36905ff8bc Bump actions/checkout from 5 to 6 in the all group (#2297)
Bumps the all group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 19:08:41 +00:00
Ulugbek Abdullaev 678f0fde02 nes: next-cursor: enforce max_tokens of 4 tokens (#2509) 2025-12-09 11:44:41 +00:00
Benjamin Christopher Simmonds 91833e702e Change default value for rename symbol suggestions (#2482)
* Change the default setting value for rename suggestions

* change default
2025-12-09 09:09:37 +00:00
Don JayamanneandCopilot cfd7827747 Fix duplicate attachments in Background Agent session history (#2503)
* Fix duplicate attachments in Background Agent session history

* Update src/extension/agents/copilotcli/common/copilotCLIPrompt.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 07:26:30 +00:00
Rob Lourens e5969c00c1 Merge pull request #2493 from microsoft/roblou/semantic-caribou (#2506)
Check ExP value for requests
2025-12-09 02:55:41 +00:00
Josh Spicerandcopilot-swe-agent[bot] 696ddfe546 add when clause/setting to disable {background,cloud} agent (#2500)
* add when clause/setting to disable {background,cloud} agent

* remove unused string

* move to correct setting

* Register backgroundAgent and cloudAgent settings in configurationService.ts

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-09 01:35:06 +00:00
Paul 3256a1fe2a Add chat capabilities (#2492)
* add

* id
2025-12-08 23:49:30 +00:00
Tyler James Leonhardt fbef796216 Fix test warnings (#2499)
Two things that we saw a lot of:

* `[createInstance] SemanticSearchTextSearchProvider depends on UNKNOWN service IRerankerService`
* `Error: Tests: either GITHUB_PAT, GITHUB_OAUTH_TOKEN, or GITHUB_OAUTH_TOKEN+VSCODE_COPILOT_CHAT_TOKEN must be set unless running from an IS_SCENARIO_AUTOMATION environment. Run "npm run get_token" to get credentials.
	at StaticGitHubAuthenticationService.tokenProvider (/mnt/vss/_work/1/s/dist/test-extension.js:53806:11)`

So I:
* registed the rerankerservice
* registered a null auth service

Fixes https://github.com/microsoft/vscode-copilot/issues/18514
2025-12-08 22:00:12 +00:00
Don Jayamanne 84d923ce40 Create directory if not exists using IFileSystem (#2497) 2025-12-08 21:40:40 +00:00
Jeff Hunter f07bda68c2 remove unnecessary service from test (#2488) 2025-12-08 17:12:30 +00:00
Ulugbek Abdullaev 3f50b708a7 nes: next-cursor: enforce max_tokens of 4 tokens (#2489)
* nes: next-cursor: refactor: extract a separate object

* nes: next-cursor: enforce max_tokens of 4 tokens
2025-12-08 16:45:03 +00:00
Christof Marti a2260a95a1 Include GitHub request id in network error telemetry (#2481)
* Include GitHub request id with network error telemetry

* Include GitHub request id in retry telemetry
2025-12-08 14:55:35 +00:00
Ulugbek Abdullaev 453e80807e nes: joint: fix ghost-text provider returning no-op edits to UI (#2479)
* nes: fix: cancel requestInFlight on cancellation token being set

* nes: joint: fix ghost-text provider returning no-op edits to UI

this would sometimes prevent good NES edits from being shown
2025-12-08 12:50:44 +00:00
Copilotandbenibenj 2e0a863c6f Localize Configure Copilot Completions menu (#1934)
* Initial plan

* Initial plan for localizing Configure Copilot Completions menu

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

* Localize Configure Copilot Completions menu and documentation URL

* Localize Configure Copilot Completions menu and documentation URL

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

* Revert temporary lint-staged.config.js change

* Fix menu title to use original string 'Configure Inline Suggestions'

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

* Revert documentation URL localization to keep it in English only

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

* Revert unintentional package.json changes

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
2025-12-08 11:51:29 +00:00
Ladislau Szomoru 79f71d4727 Copilot CLI - update session descritpion to use git-branch icon (#2480) 2025-12-08 11:47:52 +00:00
Ulugbek Abdullaev 2579df2cd6 nes: fix: cancel requestInFlight on cancellation token being set (#2478) 2025-12-08 11:31:24 +00:00
Alexandru Dima 9b6925edd5 Log an error and prompt when debugging for expired configs (#2477)
* 💄

* Log an error and prompt when debugging to attest custom team defaults
2025-12-08 11:10:32 +00:00
Ladislau Szomoru 483cd9003c Git - fix incorrect calculation of short stats diffIndexWithHEADShortStats() (#2476) 2025-12-08 09:32:55 +00:00
01b3089ea4 Ben/grateful-porpoise (#2475)
* edits: fix hydrated edits from background sessions missing stops

Core merges seqential markdown blocks together. In normal edits they're broken up by (hidden) tool call parts for edits, but this was not the case for background agents. Simplest change is just making background agent edits work the same way as normal edits by emitting the tool call part.

Closes https://github.com/microsoft/vscode/issues/281633

* cloud: validate time stamps returned from gh api

* better

* Bad reference to agentSessionsViewLocation (fix #281752)

---------

Co-authored-by: Connor Peet <connor@peet.io>
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
2025-12-08 06:09:00 +00:00
Don Jayamanne ff4c8755b3 Use fs.mkdir with recursive option instead of IFileSystem.createDirectory to account for dir already existing (#2471) 2025-12-08 04:55:46 +00:00
dileepyavan 5e9d1b54f8 Dileep y/copilot chat changes (#2466)
* prompt update

* prompt update
2025-12-08 03:08:53 +00:00
Ladislau Szomoru a11c76f427 Copilot CLI - do not open repository to compute worktree statistics (#2461) 2025-12-08 01:34:48 +00:00
Don Jayamanne cd3d0896dc Fix running windows shell commands in Background Agent (#2468) 2025-12-07 22:47:39 +00:00
Paul 9659b31d98 Additional changes for custom org/enterprise agents (#2447)
* fix

* fix test

* fix

* clean

* experimental config
2025-12-05 22:05:50 +00:00
dependabot[bot] 040e3a8442 Bump jws (#2398)
Bumps  and [jws](https://github.com/brianloveswords/node-jws). These dependencies needed to be updated together.

Updates `jws` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v4.0.0...v4.0.1)

Updates `jws` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 4.0.1
  dependency-type: indirect
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-05 22:02:00 +00:00
Logan Ramos b5b36859da Send abexp context (#2452)
* Send abexp context

* Spelling
2025-12-05 21:02:07 +00:00
Logan Ramos 6c37e2e420 Version bump (#2449) 2025-12-05 19:34:43 +00:00
Bhavya UandSteVen Batten 590549cfff Disable thinking for anthropic models on continuation. (#2422)
* Disable thinking for anthropic models on continuation.

* reduce code duplication

---------

Co-authored-by: SteVen Batten <sbatten@microsoft.com>
2025-12-05 18:56:12 +00:00
Matt Bierner 3c8134184b Enable no-unexternalized-strings in repo (#2448)
Enables the same `no-unexternalized-strings` with have in `vscode` in this repo. This make sure we have a more consistent style across repos and when generating edits
2025-12-05 18:45:12 +00:00
Logan Ramos e86f65408b Always ensure default model is shown in picker (#2446) 2025-12-05 18:11:24 +00:00
Matt Bierner 33754cda52 Run esbuild script directly as typescript (#2445) 2025-12-05 17:54:02 +00:00
Ulugbek Abdullaev 0f39a59515 nes: /models: fix: pass in correct args (#2444) 2025-12-05 17:48:52 +00:00
Matt Bierner 36e2cfc997 Run local eslint rules directly as typescript (#2312)
* Run local eslint rules directly as typescript

Remove the need to use `tsx`

* Bump required node version

Matches the version we use in vscode repo

* Align node versions

* Always use `/`

* Try fixing windows

* Try another fix for windows

* Fix new rule after merge
2025-12-05 17:29:11 +00:00
e86b937cb3 Fix up for the GitDiffService (#2116)
* initial pass at untracked file changes, testing next

* add final trailing \n

* unit tests for function

* fix test execution

* tweak some comments and formattting

* another comment tweak after testing

* small change to handling fully empty files

* copilot PR feedback

---------

Co-authored-by: Ian Huff <ianhuff@Ians-MacBook-Pro-2.local>
Co-authored-by: Ian Huff <ianhuff@Mac.home>
2025-12-05 17:00:05 +00:00
Ulugbek Abdullaev 884ec82aec nes: joint: don't trigger joint provider's onDidChange on request in flight or completions request in flight (#2443) 2025-12-05 16:26:27 +00:00
Benjamin Christopher Simmonds 7b37e83bde Auto Enablement Logic (#2428) 2025-12-05 15:47:48 +00:00
Johannes Rieken 02d7754061 * drive inline chat feedback telemetry from CopilotInteractiveEditorResponse (#2435)
* `CopilotInteractiveEditorResponse.kind` is always 'ok' -> remove it

fixes https://github.com/microsoft/vscode/issues/280959
2025-12-05 13:26:45 +00:00
Ulugbek Abdullaev a38e5e4a8c nes: model picker: support in JointCompletionsProvider (#2433)
* nes: model picker: fix: correct init and model picking order

    nes: fetched models should check if they're already known as well

    nes: fix: ensure to update undesired models before updating preferred model

    this's important because there's code that reacts to preferred model change and needs to know latest undesired models

    nes: minimize failure possibility

    nes: fix: make sure to init undesiredModelsManager earlier than observables use them

    nes: don't memorize if exp-configured model is picked

    nes: joint: support model picker

* nes: model picker: support in JointCompletionsProvider

* nes: enable model picker for the team
2025-12-05 13:26:27 +00:00
Ulugbek Abdullaev 4d0983b927 nes: fix looking up default model (#2434) 2025-12-05 13:24:03 +00:00
Johannes Rieken 04388f66f9 scaffold inline chat e2e test (#2432)
* debt - extract editing strategies

* scaffold inline chat e2e test
2025-12-05 11:35:27 +00:00
Ulugbek Abdullaev 3d08ed2160 nes: model picker: fix: correct init and model picking order (#2431)
* nes: fetched models should check if they're already known as well

* nes: fix: ensure to update undesired models before updating preferred model

this's important because there's code that reacts to preferred model change and needs to know latest undesired models

* nes: minimize failure possibility

* nes: fix: make sure to init undesiredModelsManager earlier than observables use them

* nes: don't memorize if exp-configured model is picked
2025-12-05 11:34:00 +00:00
Paul b9f8e709c6 Fix async octokit calls to check for auth first (#2423)
* fix

* type
2025-12-05 06:28:13 +00:00
Josh Spicer 245d30c94f adopt vscode#281431 (#2420)
* adopt https://github.com/microsoft/vscode/pull/281431

* convert to tabs
2025-12-05 03:55:22 +00:00
Osvaldo Ortega efa8e08b38 Version bump (#2419) 2025-12-05 03:16:34 +00:00
Osvaldo OrtegaandConnor Peet 54ed33f72b Adding change file details (#2410)
* Adding change file details

* update

* Adding files cache

* Refresh

* Rename to apply

* Cache fixes

---------

Co-authored-by: Connor Peet <connor@peet.io>
2025-12-05 02:37:11 +00:00