Commit Graph

242 Commits

Author SHA1 Message Date
João Moreno 5f34e85fcc fix inconsistent telemetry event metadata (#3896)
related to microsoft/vscode#296465

Co-authored-by: João Moreno <22350+joaomoreno@users.noreply.github.com>
2026-02-20 12:14:11 +00:00
Tyler James Leonhardt 7de42dc61e Remove Ask User Question tool in favor of Core tool (#3880)
* Remove Ask User Question tool in favor of Core tool

Fixes https://github.com/microsoft/vscode/issues/296134

* feedback

* remove duplicate & restore toolset

* feedback

* revert change in anthropic.ts because ask_questions is what is used in Claude
2026-02-20 03:58:00 +00:00
Bhavya U 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
Justin Chen 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
Copilot 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
Dmitriy Vasyura 4a3ea92149 Limit size of diffs and untracked filesreported by GitDiffService (#3743) 2026-02-17 20:12:54 +00:00
Bhavya U 5a59be1424 update memoryTool invocation to show file paths (#3755) 2026-02-16 00:04:55 +00:00
Harald Kirschner 60d9375465 Add telemetry for memory tool invocations and context reads (#3745)
Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-02-14 04:58:02 +00:00
Harald Kirschner a1709b8fce Add skill name to readFileToolInvoked telemetry (#3739)
* Add skill name to readFileToolInvoked telemetry

* Rename telemetry field to nameField

---------

Co-authored-by: Harald Kirschner <digitarald@gmail.com>
2026-02-13 23:27:52 +00:00
Rob Lourens a4ffdcf03b Sync chatParticipantPrivate.d.ts with vscode (#3734)
* Sync chatParticipantPrivate.d.ts

* Sync ChatRequestEditorData with vscode
2026-02-13 21:07:31 +00:00
Johannes Rieken 240140ca97 Remove usages tool and related references from the codebase (#3716)
https://github.com/microsoft/vscode/issues/281980
2026-02-13 11:26:03 +00:00
Paul 8e01c02da6 protect (#3666) 2026-02-11 18:58:54 +00:00
Bhavya U 49b488717a update memory tool context (#3604)
* update memory tool to context

* Update memory paths to include '/memories/' prefix and remove unsupported repo path tests

* update memory guidelines and user instructions with conditional rendering based on memory tool availability

* remove memory tool from agent prompts snapshot

* remove memory tool from agent prompts snapshot
2026-02-10 09:42:09 +00:00
Bhavya U ff32fd61d6 Add support for Anthropic memory tool functionality and related checks (#3563)
* Add support for Anthropic memory tool functionality and related checks

* Enhance memory path validation with normalization and root check functions

* Update error message for missing memory path in view command

* Add MemoryCleanupService to manage stale memory files and integrate with MemoryTool
2026-02-09 01:35:48 +00:00
Bhavya U b596994d64 Update memory tool functionality to support local memory (#3557)
* Update memory tool functionality to support local memory

* update path validation and normalization in MemoryTool
2026-02-08 08:44:05 +00:00
Connor Peet 121ef83031 tools: avoid putting fences into file reads by default (#3528)
* tools: avoid putting fences into file reads by default

We've seen the model get confused here. Looking at vendor tools from Gemini and Codex CLIs, they don't add explicit line number messages like we do (which was motivation behind having the fences there in the first place. So let's try removing them. Controllable with EXP for sanity checking.

* tests and comments
2026-02-06 22:17:56 +00:00
Henning Dieterichs fabc136a7b Add chat.additionalReadAccessPaths setting for read-only access to external folders (#3520)
* Add chat.additionalReadAccessPaths setting for read-only access to external folders

Implements a new setting that allows users to specify folders outside the
workspace that Copilot Chat read-only tools (read_file, list_dir) can
access without requiring confirmation.

- Add github.copilot.chat.additionalReadAccessPaths setting (string array)
- Gate additional access behind a readOnly flag on assertFileOkForTool,
  isFileExternalAndNeedsConfirmation, and isDirExternalAndNeedsConfirmation
- Edit tools remain workspace-restricted (isFileOkForTool does not pass readOnly)
- .copilotignore rules are still respected for additional paths

Closes microsoft/vscode#293386

* Addresses PR feedback
2026-02-06 19:18:37 +00:00
Connor Peet bafbf12c59 pathResolver: try to resolve windows paths presented in a unix format (#3498)
* prompts: add vitest unit tests for PromptPathRepresentationService

Adds comprehensive unit test coverage for PromptPathRepresentationService
with 26 tests covering both PromptPathRepresentationService and
TestPromptPathRepresentationService:

- getFilePath() tests for file/vscode-remote/other schemes
- resolveFilePath() tests for posix/windows paths and URI parsing
- Windows-specific path handling (drive letters, UNC paths, backslashes)
- Workspace folder integration for drive letter rectification
- getExampleFilePath() tests for platform-specific output
- Round-trip conversion tests

Windows drive-letter tests are skipped on non-Windows platforms since
hasDriveLetter() uses the real OS, not the service override.

Fixes https://github.com/microsoft/vscode/issues/292422

(Commit message generated by Copilot)

* fix compile

* tests again

* fix test
2026-02-06 17:48:44 +00:00
Logan Ramos 731ade0a0d Attempt to make model service more resilient to network blips (#3523)
* Attempt to make model service more resilient to network blips

* Update src/extension/conversation/vscode-node/languageModelAccess.ts

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

* Update src/extension/prompt/vscode-node/endpointProviderImpl.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 15:40:10 +00:00
Paul 360a54fa99 Add edit protection for hooks (#3471)
* protect

* protect
2026-02-06 06:31:35 +00:00
Rob Lourens 98e4934dfb Adopt forceConfirmationReason for preToolUse hook (#3500)
* Adopt forceConfirmationReason for preToolUse hook

* Tweak confirmation reason
2026-02-06 04:07:09 +00:00
SteVen Batten c5d2db87d3 don't do content exclusion check in create file tool as it comes from the model (#3468) 2026-02-05 01:46:02 +00:00
Connor Peet a297186f52 tools: support vscode-chat-response-resource scheme in external file check (#3425)
Adds support for the 'vscode-chat-response-resource' scheme when checking
if a file is external and needs confirmation. This scheme is used for
chat response resources and should be treated similarly to untitled files
that don't require external file confirmation.

- Extends isFileExternalAndNeedsConfirmation to recognize the
  vscode-chat-response-resource scheme
- Allows chat response resources to be accessed without confirmation
  dialogs

Fixes https://github.com/microsoft/vscode/issues/292733

(Commit message generated by Copilot)
2026-02-04 03:19:48 +00:00
Copilot ca80313cee feat: support Harbor/ATIF trajectory capture and export (#2893)
* Initial plan

* Add trajectory format types and core implementation

Co-authored-by: zhichli <57812115+zhichli@users.noreply.github.com>

* Add unit tests for trajectory logger and fix implementation

Co-authored-by: zhichli <57812115+zhichli@users.noreply.github.com>

* Add comprehensive documentation for trajectory format

Co-authored-by: zhichli <57812115+zhichli@users.noreply.github.com>

* Add implementation status and next steps documentation

Co-authored-by: zhichli <57812115+zhichli@users.noreply.github.com>

* Add trajectory implementation quick reference summary

* Add trajectory export commands and enhance trajectory logging functionality

* Refactor trajectory metrics calculation and update schema version to ATIF v1.5

* trajectory scaffolding

* Enhance trajectory tracking by adding subAgentName and agentName to tool metadata in SearchSubagentTool and TrajectoryLoggerAdapter

* add export trajectory cmd for tree nodes

* use sessionId for main trajectory

* Update command categories from 'Copilot' to 'Chat' in package.json

* Update trajectory schema version to ATIF-v1.5 and enhance error handling in export commands

* Remove obsolete trajectory documentation and integration files

* Refactor trajectory export commands and update README for clarity

* Update src/platform/trajectory/common/trajectoryLogger.ts

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

* Update src/platform/trajectory/node/trajectoryLogger.ts

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

* Update src/platform/trajectory/node/trajectoryLoggerAdapter.ts

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

* Update src/extension/trajectory/vscode-node/trajectoryExportCommands.ts

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

* Refactor adapter to avoid double trajectory start and add comprehensive tests

- Remove redundant second startTrajectory call in adapter sync loop
- Add 12 comprehensive tests for TrajectoryLoggerAdapter covering:
  - Basic trajectory creation from request logs
  - User message deduplication
  - Tool call correlation (single, parallel, orphan)
  - Subagent trajectory linking
  - Metrics tracking
  - Session ID management
  - Non-conversation request handling
- Update TestRequestLogger to expose toolMetadata property
- Add async wait in tests for proper event processing

Co-authored-by: zhichli <57812115+zhichli@users.noreply.github.com>

* rm readme

* enhance trajectory export functionality with session ID mapping and folder selection

* add comment

* add arch

* add bounding for logs and rm tests for now

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: zhichli <57812115+zhichli@users.noreply.github.com>
Co-authored-by: Zhichao Li <zhichli@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 00:34:07 +00:00
Bhavya U 1efc5887a2 Update memory tool instructions and add link for managing memories (#3300) 2026-01-30 00:54:57 +00:00
Bhavya U 1f9f211a99 Add localization support for memory tool invocation messages (#3295) 2026-01-30 00:54:52 +00:00
Bhavya U 297f92aa1e Remove UpdateUserPreferences tool and related references from the codebase (#3293)
* Remove UpdateUserPreferences tool and related references from the codebase

* Remove references to UpdateUserPreferences tool from prompts
2026-01-30 00:12:04 +00:00
Anisha Agarwal 3e10be13d7 Search subagent - set configurable exp variables (#3205)
* added experimental search model toggling

* configure tool call limit

* update to make model configurable, default to chat endpoint

* add model name and tool call limit exp variables

* fix merge  conflict comma bug

* update default values so tests pass

* update to have try/catch if modelName not available
2026-01-29 22:47:36 +00:00
Bhavya U cb59a60b0c Implement GitHub Copilot Memory service integration (#3236)
* Implement GitHub Copilot Memory service integration and enhance memory management features

* Enhance Copilot Memory integration: add configuration option, refactor memory service methods, and streamline memory fetching logic

* revert changes to context management

* move setting to a preview location and update tags for preview

* Refactor Copilot Memory configuration: rename setting to CopilotMemoryEnabled and update related method

* add warnings for repo memory operations when Copilot Memory is enabled, and introduce RepoMemoryInstructionsPrompt for better user guidance.

* Add memory tool integration: define memory parameters, implement memory storage, and enhance prompts for user guidance

* Refactor code structure for improved readability and maintainability

* Add memory tool to available tools and update new chat condition in AgentPrompt

* Update memory tool display names and descriptions for improved clarity

* Refactor AgentMemoryService: remove session management and related code for improved clarity and focus on repository memory handling

* Remove deduplicateMemories function and related tests for code simplification

* Remove memory tool from available tools in package.json

* Refactor memory tool and context prompt: remove unused code and simplify memory fetching logic

* Update tool instructions and available tools list in snapshots for improved clarity

* Refactor memory tool tests: simplify memory parameters and update mock services for improved clarity
2026-01-29 05:46:37 +00:00
Harald Kirschner dac3d77abc Add agent-customization skill with primitives documentation (#3196)
* Add agent-customization skill with primitives documentation

* Update assets/prompts/skills/agent-customization/primitives/workspace-instructions.md

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

* fix: rename agentCustomizationSkill setting to follow Advanced naming convention

* Updated skills.md based on spec

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-27 18:53:43 +00:00
Martin Aeschlimann b51d1a0f23 Use instruction index files to do file access checks (#3179)
* init

* update

* add skill folder check

* Update src/platform/customInstructions/common/customInstructionsService.ts

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

* Update src/extension/tools/node/toolUtils.ts

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

* Update src/platform/test/common/testCustomInstructionsService.ts

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

* Update src/platform/customInstructions/common/customInstructionsService.ts

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

* Update src/platform/test/common/testCustomInstructionsService.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-26 20:58:19 +00:00
Connor Peet d93ad2aa0d tools: page large mcp output to a readable disk file (#3140)
* tools: page large mcp output to a readable disk file

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

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

* fix test

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-23 23:44:45 +00:00
Connor Peet 35a05059a4 tools: remove explanation field from MultiReplaceStringTool (#3129)
* tools: remove explanation field from MultiReplaceStringTool

Removes the optional 'explanation' field from the multiReplaceString tool
input parameters. This simplifies the tool interface and aligns with the
latest tool design patterns.

- Removes 'explanation' from package.json tool definition
- Removes 'explanation' from IMultiReplaceStringToolParams interface
- Updates multiReplaceStringTool to use IAbstractReplaceStringInput directly

Fixes https://github.com/microsoft/vscode/issues/289907

(Commit message generated by Copilot)

* fix ci
2026-01-23 19:11:57 +00:00
Bhavya U 3284f7a6f3 implement agent memory service and integrate with memory tool for repo memory (#3109)
* implement agent memory service and integrate with memory tool for repo memory

* fix(tools): correct tool name retrieval in invokeTool method

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

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

* refactor(tests): update memory tool tests to use 'repo' path instead of 'workspace'

* fix(tools): rename memory tool to 'copilot_memory' and update tool invocation logic

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-23 15:24:23 +00:00
Connor Peet 9861b33352 tools: add confirmation logic to CreateDirectoryTool (#3091)
* tools: add confirmation logic to CreateDirectoryTool

Adds user confirmation dialog to the CreateDirectoryTool via the standard
edit confirmation infrastructure. This ensures users are explicitly asked
before a directory is created.

- Makes prepareInvocation async to support confirmation dialog
- Integrates createEditConfirmation for consistent UX with other edit tools
- Displays directory path in a fenced code block for clarity
- Adds IInstantiationService dependency injection

(Commit message generated by Copilot)

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 23:31:40 +00:00
SteVen Batten e716a77b4c Support reading files outside of the current workspace (#3052)
* support reading files outside of the current workspace

* address comment
2026-01-22 23:20:18 +00:00
Connor Peet 03b29b7830 tools: skip diff display when content is identical after trim (#3088)
Improves file edit confirmation notifications by skipping diff display
when the only difference between old and new content is whitespace. This
prevents showing overly large diffs (e.g., >2500 lines) when the actual
changes are minimal or non-existent, making it clearer to users what
changes the agent is making.

- Adds early return in formatDiffAsUnified when content is identical
  after trimming whitespace
- Displays a brief 'contents are identical' message instead of a large
  diff

Fixes https://github.com/microsoft/vscode/issues/288781

(Commit message generated by Copilot)
2026-01-22 23:16:09 +00:00
Connor Peet 05ef58cb16 tools: add confirmations for notebook edits (#3068)
* tools: add confirmations for notebook edits

* fix
2026-01-22 18:53:40 +00:00
Connor Peet ba56721dfa tools: add support for model-specific tool registration (#2857)
* tools: add support for model-specific tool registration

This PR goes with https://github.com/microsoft/vscode/pull/287666

This allows the registration of tools that are scoped to specific
language models. These tools can be registered at runtime with
definitions derived from e.g. the server.

I think we should adopt this and go away from the current
`alternativeDefinitions` pattern which we have used previously.

Example of having tools specific for GPT 4.1 vs 4o:

```ts
ToolRegistry.registerModelSpecificTool(
	{
		name: 'gpt41_get_time',
		inputSchema: {},
		description: 'Get the current date and time (4.1)',
		displayName: 'Get Time (GPT 4.1)',
		toolReferenceName: 'get_time',
		source: undefined,
		tags: [],
		models: [{ id: 'gpt-4.1' }],
	},
	class implements ICopilotTool<unknown> {
		invoke() {
			return new vscode.LanguageModelToolResult([new vscode.LanguageModelTextPart('Current year is 2041 (GPT 4.1)')]);
		}
	}
);

ToolRegistry.registerModelSpecificTool(
	{
		name: 'gpt4o_get_time',
		inputSchema: {},
		description: 'Get the current date and time (4o)',
		displayName: 'Get Time (GPT 4o)',
		toolReferenceName: 'get_time',
		source: undefined,
		tags: [],
		models: [{ id: 'gpt-4o' }],
	},
	class implements ICopilotTool<unknown> {
		invoke() {
			return new vscode.LanguageModelToolResult([new vscode.LanguageModelTextPart('Current year is 2040 (GPT 4o)')]);
		}
	}
);
```

* demo

* fix

* overrides

* add overridesTool

* fix inverted logic

* test fixes and back compat

* make memory tool model specific

* fix tests and contribute memory to the vscode toolset

* verison

* fix unit tests

* rm config

* fix missing askquestions

---------

Co-authored-by: bhavyaus <bhavyau@microsoft.com>
2026-01-22 18:34:05 +00:00
Bhavya U 8402a9b177 update TodoList context to use sessionResource instead of sessionId (#3024) 2026-01-21 02:16:26 +00:00
Paul 339297e789 Handle extension-contributed skills for skill read UX (#3020)
* fix

* Update src/platform/customInstructions/common/customInstructionsService.ts

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

* PR

* fix

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-21 02:13:29 +00:00
Connor Peet 2b4e4592d6 tools: support delete file operations in apply_patch tool (#3023)
Adds support for file deletion in the apply_patch tool by introducing
new VS Code API types for workspace-level file edits. The apply_patch
tool now properly reports deleted files through the new workspaceEdit()
response stream method.

- Introduces ChatWorkspaceFileEdit interface to represent file-level
  operations (create, delete, rename) with optional oldResource and
  newResource properties
- Adds ChatResponseWorkspaceEditPart class for workspace edits containing
  file-level operations
- Updates ExtendedChatResponsePart type to include the new workspace edit
  part type
- Adds workspaceEdit() method to ChatResponseStream for reporting
  file-level edits
- Modifies applyPatchTool to track deleted files in a separate set and
  report them through the new workspaceEdit() method
- Removes subagentInvocationId from ChatToolInvocationData base interface
  and moves it to optional streamData parameter in beginToolInvocation()
- Changes chatStreamToolCallId from readonly to mutable in
  LanguageModelToolInvocationOptions to allow modifications

Fixes https://github.com/microsoft/vscode/issues/275705

(Commit message generated by Copilot)
2026-01-21 00:49:18 +00:00
Logan Ramos f57e195009 Don't display invalid file URIs (#3015) 2026-01-20 20:38:27 +00:00
Johannes Rieken 367dc5fdbf feat: enhance edit confirmation by adding allowed edit URIs (#2975)
* feat: enhance edit confirmation by adding allowed edit URIs

re https://github.com/microsoft/vscode/issues/274770

* Update src/extension/agents/copilotcli/node/permissionHelpers.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 17:08:10 +00:00
Bhavya U 7bac1dc38f refactor: remove unused IConfigurationService from TodoListContextPrompt (#2964) 2026-01-19 07:45:05 +00:00
Paul 6183985f6d Adopt latest provider pattern for org/enterprise custom agents (#2737)
* PR

* activation

* fix test

* wip

* update

* tests

* Update src/platform/github/common/githubService.ts

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

* Update src/extension/agents/vscode-node/organizationInstructionsProvider.ts

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

* Update src/platform/github/common/octoKitServiceImpl.ts

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

* update

* update setting name

* wip

* fix

* use enum

* PR

* nit

* add polling

* tests

* cleanup

* use helper

* remove instructions

* clean

* use custom source

* update

* update

* test updates

* fix tests

* update types

* PR

* use proposed API

* Update src/platform/customInstructions/common/customInstructionsService.ts

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

* fix tests

* update for skills

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-16 02:46:47 +00:00
Anisha Agarwal 0af20a790c Search Subagent support (#2736)
* search subagent tool added

* cleaning up description of search subagent

* additional changes

* update linting issue

* Exit early on search subagent call

* search subagent tool added

* cleaning up description of search subagent

* additional changes

* update linting issue

* Add fixes for subagent

* describe read file tool in its prompt

* fixing copilot cli issues?

* resolve merge conflicts with main

* explicit any pt 2

* update explicit any to unknown

* demo

* updating prompt to include description

* fixing newline bug

* added correct input params for subagent

* update to add final turn warning injection

* code snippet hydration

* adding details to toolMetadata (untested)

* commented out until testing

* remove exit from main PR

* actuallly terminate loop

* end loop after round is added and run

* remove early exit handling

* add experiment flags

* update code to check for exp + auto mode

* update to only use gpt 5 mini for search subagent

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

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

* Update docs/tools.md

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

* Update package.nls.json

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

* update tests to handle new prompts

* Apply suggestion from @Copilot

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

* deleting vestigial file

* fix merge conflict

* update to default to using the main agent model as fallback for subagent, rather than hardcoding gpt4.1

* remove extra whitespace

* remove runSubagent from package.json and update prompt for final snippet clarity

* reset default to false

* add clearer injection prompt

* updating to work with main branch changes

* rewrite search subagent to have its own tool calling loop file + ensure no nested loops with codebase

* remove copilot-added search subagent doc

* update toolResultMessage

* handle exp configuration for search subagent in the right place

* use searchSubagentLoop instead of subagentLoop

* update to be in line with main

* remove CCA agents

* Some minor cleanup

* Update import for ChatToolInvocationPart in SearchSubagentTool

* Replace inSubAgent flag with subAgentInvocationId for tool calling loop checks

---------

Co-authored-by: Anisha Agarwal <anishaagarwal@Anishas-MacBook-Pro.local>
Co-authored-by: Vritant Bhardwaj <vrtoku@gmail.com>
Co-authored-by: root <root@perflens-vm7.e4rbrboag42enkzhvodo1frcqh.xx.internal.cloudapp.net>
Co-authored-by: Anisha Agarwal <anishaagarwal@MacBookPro.hsd1.ma.comcast.net>
Co-authored-by: Zhichao Li <zhichli@microsoft.com>
Co-authored-by: vritant24 <vritoku@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: bhavyaus <bhavyau@microsoft.com>
2026-01-15 05:59:57 +00:00
Connor Peet 27f68cda6d edits: show stream progress in edit tools (#2863)
* edits: show stream progress in edit tools

* flush markdown before starting a tool call
2026-01-15 01:50:13 +00:00
Paul 447f836019 Custom chat render for agent skills (#2756)
* load

* updates

* update

* PR

* PR

* test

* fix test

* PR
2026-01-14 22:29:19 +00:00
Logan Ramos 78046bd098 Handle partial tool streaming (#2165)
* Start work on handling tool calls as they stream in

* Explore partial tool streaming

* consume new proposal

* Match main PR

* Better partial json handling

* Plumb through tool call id to invoke

* Hack internal ids to be the stream id

* Add suppot for a few more stream handlers

* Accumulate args

* Show lines instead of characters

* Fix tests

* Leave debug string commented

* Feedback
2026-01-14 18:27:52 +00:00