Skip to content

Conversation

@jmcphers
Copy link

Merges changes from upstream to e02c329 (right before the extension started requiring 1.106.0)

sandy081 and others added 30 commits September 11, 2025 12:18
…soft#1026)

* Initial plan

* Fix: Check run_task tool availability in AgentTasksInstructions

- Add tool availability check before rendering task instructions
- Only render task instructions when CoreRunTask tool is available
- Add tests to verify the behavior
- Update props passing to include availableTools in AgentTasksInstructions

Co-authored-by: meganrogge <[email protected]>

* add all task tools

* rm file

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: meganrogge <[email protected]>
Co-authored-by: meganrogge <[email protected]>
to avoid breaking requests where it can't be properly adopted
Different from TTFT in that it specifically tracks the time to the first real text/thinking summary/tool call token
* Reduce INTERNAL_RESTRICTED
and delete edits linkification setting

* Update
For #266410
Need a better fix that doesn't copy the same prop into two places
* Refactor reasoning/responses settings

* Delete comment

* Tweak descriptions

* Move settings to correct section
* Refresh model list on auth change

* Address copilot
…rosoft#1039)

More for microsoft/vscode#262858
Probably this should be removed, and we should fix how these instructions are attached to requests from core
* wip

* fix impl

* fix return

* add a basic algo to unfold grouped tools

* only rank based on available tools

* use json file

* add todo

* only compute similarity for non built in tools

* compute tool embeddings on the fly and refactor

* add experiment config

* add testsfor ToolEmbeddignsComputer

* add tests for ToolEmbeddingsComputer and some cleanup

* add an integration test

* use remote cacche to get embeddings

* add logging and error catching

* consume new change

* use telemetry correlation id

* undo change

* Update VirtualToolEmbeddingRanking setting path

* refactor query extraction

* tiny pr refactor

* refactor instantiation

* refactor test

* address comment

* fix typing

---------

Co-authored-by: Vritant Bhardwaj <[email protected]>
* tools: don't expand large numbers of resource_links

* Update src/extension/prompts/node/panel/toolCalling.tsx

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
* Remove check for "created" being set

* Fill in .created if it is missing
lramos15 and others added 27 commits October 6, 2025 14:28
* nes: refactor: get config from within computeEditWindowLinesRange

* nes: refactor: tagging

* nes: refactor: extract tagging current file into its own method

* nes: refactor: keep active document props in a single object

* nes: refactor: extract cursorLineOffset

* nes: refactor: more refactoring

* nes: extract language context computation

side effect that we now always await not when language context is enabled

* nes: refactor: move CurrentDocument to common/

* nes: refactor: abstract constructing messages

* nes: fix off by one
* Update sonnet-4.5 alt prompt

* Update src/extension/prompts/node/agent/agentInstructions.tsx

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
* nes: feat: support next cursor line prediction

not well tested due to 404 from the model

* nes: fix: validate predicted line number isn't out of max # of lines in document

* nes: fix: use custom url & api key only if set; otherwise, use proxy

* nes: next cursor line: fix: exclude postscript
* Update CHANGELOG for v0.32

* Fix markup
* Update fetch tool to use metis

microsoft/vscode#268956

* Add service dep for tests to

* Use mock service for tests

* Fix lazy
…n details (microsoft#1248)

* Enhance telemetry in CreateFileTool to include model and file extension details

* Update src/extension/tools/node/createFileTool.tsx

Co-authored-by: Copilot <[email protected]>

* Refactor model retrieval in CreateFileTool to use endpoint provider for improved accuracy

---------

Co-authored-by: Copilot <[email protected]>
* feat: add timeout handling for file and text search operations

* feat: add timeout handling for search and rendering operations in FindTextInFilesTool

* use raceTimeout and raceCancellation

* Updated per comments

* extract a raceTimeoutAndCancellationError()

* enhance timeout handling and cancellation for file and text search operations

* enhance raceTimeoutAndCancellationError

* removed unnecessary check

* refactor: streamline cancellation token usage in file and text search operations
* get problems within notebooks

* filter severity

* diagnostics for notebook URI

* remove extra filter

* any supported notebook
* feat: add static Copilot Token loading

* Apply suggestion from @rwoll
…ith training data prompt (microsoft#1263)

* nes: next cursor line: fix: do not include tags in current file in the prompt

to align with training data

* nes: next cursor line: fix: use 0-based line numbers to mark current file

- to match diff patches' line numbers
- to align with training data

* nes: rename RetryState#Retrying... to be more general

for future reusability

* nes: next cursor line: fix: do not retry if the 2nd request to xtab model doesn't give edits
* Enable useResponsesAPI by default

* Fix tests
* nes: next cursor line: add telemetry

* improve error
…soft#1265)

* Add associatedRequestId to track summarization chat request id

* And other events

* Better comment
* Don't block extension activation on auth
Fix microsoft/vscode-copilot#3879

* Add log

* Fix log

* Remove obsolete test
…dels in BYOK (microsoft#1231)

* initial proto

* add more reserved headers

* fix

* add reserved headers in description

* address copilot comments

* add more serity checks

* Update src/extension/byok/node/openAIEndpoint.ts

Co-authored-by: Copilot <[email protected]>

* Update src/extension/byok/node/openAIEndpoint.ts

Co-authored-by: Copilot <[email protected]>

* Update src/extension/byok/node/openAIEndpoint.ts

Co-authored-by: Copilot <[email protected]>

* clean up

* fix

* update header list and doc

---------

Co-authored-by: Copilot <[email protected]>
@jmcphers jmcphers requested a review from timtmok October 21, 2025 19:03
Copy link

@timtmok timtmok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmcphers jmcphers merged commit 5c03e85 into main Oct 24, 2025
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.