Commit Graph

147830 Commits

Author SHA1 Message Date
BeniBenj
75a2f31cda components for AI Customization shortcuts widget 2026-03-04 16:17:21 +01:00
Benjamin Pasero
8a03516dd4 sessions - focus chat input after attaching context (#299203) 2026-03-04 15:04:28 +00:00
Ladislau Szomoru
7d47fd1904 Sessions - enable branch name generation (#299202) 2026-03-04 14:57:15 +00:00
Lee Murray
f198569c20 Merge pull request #299193 from microsoft/mrleemurray/golden-violet-cattle
Update @vscode/codicons to version 0.0.45-12
2026-03-04 13:59:02 +00:00
Don Jayamanne
284bd98ce3 Add support for custom chat agents in the API (#298227)
* Add support for custom chat agents in the API

- Introduced `chatCustomAgents` proposal in extensions API.
- Implemented methods to handle custom agents in `MainThreadChatAgents2`.
- Added `ICustomAgentDto` interface and related functionality in extHost.
- Created new type definitions for custom agents in `vscode.proposed.chatCustomAgents.d.ts`.

* Filter custom agents by visibility before pushing to the proxy

* Refactor onDidChangeCustomAgents to use direct event listener

* Update custom agent tools property to allow undefined values

* Add chatCustomAgents to enabledApiProposals in package.json

* update

* update

* support skills

* support instructions

* update

* update

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2026-03-04 13:38:47 +00:00
mrleemurray
cf8f3944b5 update: bump @vscode/codicons version to 0.0.45-12 in package.json and package-lock.json 2026-03-04 13:22:47 +00:00
Sandeep Somavarapu
c5e1a4bdea sessions - disconnect inactive pickers when switching local/cloud target (#299189)
* fix: update session handling in NewChatWidget to disconnect inactive pickers

* fix: update repoPicker session handling in NewChatWidget
2026-03-04 13:08:00 +00:00
Lee Murray
fefd2c95c6 Merge pull request #299173 from microsoft/mrleemurray/port-misc-2026-theme-styles-1
2026 theme: update misc UI component styles
2026-03-04 13:04:59 +00:00
Ladislau Szomoru
c0782402b7 Sessions - hide the apply change action (#299188) 2026-03-04 12:56:02 +00:00
Alex Ross
856ea291a5 No need to throw when an element with the same ID comes in (#299154)
* No need to throw when an element with the same ID comes in
Fixes microsoft/vscode-pull-request-github#8073

* Fix tests
2026-03-04 13:50:35 +01:00
Benjamin Christopher Simmonds
907cb9cfa4 Merge pull request #299184 from microsoft/benibenj/printed-grasshopper
Support multi line terminal command approvals with ellipsis and aligned approve button
2026-03-04 13:28:52 +01:00
Johannes Rieken
c1184bc261 Remove holdToSpeech feature for inline chat (#299182)
Fixes https://github.com/microsoft/vscode/issues/297811
2026-03-04 12:20:02 +00:00
Ladislau Szomoru
1722624c4a Git - expose rebase() though the extension API (#299181) 2026-03-04 12:17:09 +00:00
Benjamin Christopher Simmonds
f7d4b70acb Update src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 13:12:11 +01:00
Benjamin Christopher Simmonds
3674f5ad58 Add optional codeSelection property and refactor feedback comment (#299005)
* feat: add optional codeSelection property to feedback comment and agent feedback variable entries

* refactor: remove unused range property and model service from feedback comment renderer
2026-03-04 13:09:28 +01:00
BeniBenj
0be0030e0e Support multi line terminal command approvals with ellipsis and aligned approve button 2026-03-04 13:06:00 +01:00
Sandeep Somavarapu
d724d41456 send workspace data to extension host behind a flag (#299179) 2026-03-04 11:58:44 +00:00
Benjamin Pasero
34659c0ef1 Revert "sessions - improve session hover title rendering and persistence" (#299168)
Revert "sessions - improve session hover title rendering and persistence (#29…"

This reverts commit ff7ffa542f.
2026-03-04 12:51:00 +01:00
Benjamin Christopher Simmonds
283e479dda Merge pull request #298984 from microsoft/benibenj/just-mandrill
Fix Ctrl+W keybinding to close session
2026-03-04 11:56:52 +01:00
mrleemurray
033cffbdae 2026 theme: refine editor widget styles and remove redundant properties 2026-03-04 10:53:17 +00:00
mrleemurray
0ac17b9c3b 2026 theme: update misc UI component styles 2026-03-04 10:43:58 +00:00
Johannes Rieken
780451d291 Inline chat affordance fixes (#299169)
* Add ESC to dismiss inline chat editor affordance

Adds a new action bound to Escape that hides the editor affordance
without collapsing the selection.

Fixes https://github.com/Microsoft/vscode/issues/297994

* fix orphaned separators when toolbar items are hidden

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

* Add tests for InlineChatAffordance telemetry events

* undo instruct-changes
2026-03-04 11:40:32 +01:00
Martin Aeschlimann
843f795ede towards schema based prompt file validation (#299067) 2026-03-04 11:24:19 +01:00
Henning Dieterichs
240196b595 Adds support for stronglyRecommended extensions. Implements #299039 2026-03-04 11:12:16 +01:00
Benjamin Christopher Simmonds
5bf6c54c22 Update src/vs/sessions/contrib/sessions/browser/sessionsViewPane.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 10:45:12 +01:00
Benjamin Christopher Simmonds
450aae82d8 Update src/vs/sessions/contrib/sessions/browser/sessionsViewPane.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 10:44:16 +01:00
Benjamin Christopher Simmonds
5cf8c53be0 Merge pull request #299155 from microsoft/benibenj/pale-gorilla
Update widget and hover for sessions
2026-03-04 10:26:26 +01:00
BeniBenj
dede9833a8 Update widget and hover for sessions 2026-03-04 10:12:24 +01:00
Ladislau Szomoru
4ff01e687e Git - tweak copilot worktree folder detection (#299147)
* Git - tweak copilot worktree folder detection

* Pull request feedback
2026-03-04 08:58:25 +00:00
Benjamin Pasero
b5a312a098 fix - update precondition for OpenSessionWorktreeInVSCode (#299140) 2026-03-04 09:22:00 +01:00
Benjamin Pasero
b5d4de9c3c sessions - move scrollbar to the right for chat (#299134) 2026-03-04 09:05:14 +01:00
Benjamin Pasero
910bb74d16 sessions - indicate in layout that status bar is hidden (#299131) 2026-03-04 08:31:59 +01:00
Don Jayamanne
6e1d1b137f Avoid unnecesary updates to model in new background agent sessions (#299121) 2026-03-04 18:31:16 +11:00
Benjamin Pasero
0d35e5d19e eng - explain fallback for how to check for compilation issues fast in CLI envs (#299117)
* eng - explain fallback for how to check for compilation issues fast in CLI envs

* Update .github/copilot-instructions.md

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

* Update .github/copilot-instructions.md

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

* .

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 07:51:24 +01:00
Benjamin Pasero
44c142b1d5 modal - improve handling of Escape key and expand use of modal editors to more kinds (#299060)
* modal - improve handling of Escape key and expand use of modal editors to more kinds

* Update src/vs/workbench/browser/parts/editor/editorCommands.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 07:50:53 +01:00
Paul
719f750060 Add /troubleshoot command for access to debug logs (#299024) 2026-03-04 07:15:44 +01:00
Don Jayamanne
f4e743c4ab Ensure to update ChatInputPart state before updating viewmodel (#299119) 2026-03-04 06:10:14 +00:00
Don Jayamanne
b16ecea615 feat: enhance chat session option updates (#299109) 2026-03-04 16:05:06 +11:00
Benjamin Pasero
575c39d160 sessions - fix close action showing up in modal editors when tabbed (#299041) 2026-03-04 04:58:02 +00:00
Benjamin Pasero
da27892b6d sessions - tweaks to empty message (#299034) 2026-03-04 05:57:13 +01:00
Benjamin Pasero
a7f87d92f9 sessions - allow to open preview from markdown files (#299047)
* sessions - allow to open preview from markdown files

* Update src/vs/sessions/contrib/markdownPreview/browser/markdownPreview.contribution.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 05:57:06 +01:00
Benjamin Pasero
1f4b2e1a17 modal - focus editor on title click (#299038)
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-03-04 05:56:40 +01:00
Benjamin Pasero
06c96dcab4 sessions - AI customizations for selfhost (#299053)
* sessions - AI customizations for selfhost

* more

* Update .github/hooks/hooks.json

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

* Update .github/skills/sessions/SKILL.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 05:56:19 +01:00
Tyler James Leonhardt
605a07d2f8 Don't depend on sessionResource in a few places (#299110)
* Don't depend on sessionResource in a few places

Removes some antipaterns and unused variables.

* 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-03-04 04:48:04 +00:00
Tyler James Leonhardt
757c5ced02 Refactor canResolveChatSession to accept session type (#299112)
refactor: update canResolveChatSession method to accept session type instead of URI
2026-03-04 04:41:19 +00:00
deepak1556
f6da4b4e1a fix: add graceful shutdown path when heapprofile is enabled 2026-03-04 13:08:01 +09:00
Josh Spicer
ea82cfa22b sessions: suggest slash commands on new session page (#299098)
* feat: add dynamic customization slash commands to sessions new-chat page

Add individual prompt/skill files as slash commands in the sessions
window's new-chat input, matching what the customizations view shows.

- Add getFilteredPromptSlashCommands() to IAICustomizationWorkspaceService
  - Core: passthrough to IPromptsService
  - Sessions: filters via applyStorageSourceFilter() per prompt type
- Add second completion provider in SlashCommandHandler for dynamic
  prompt/skill slash commands alongside existing static ones
- Update decorations to recognize and highlight dynamic prompt commands
- Subscribe to onDidChangeSlashCommands for cache refresh
- Fix regex in tryExecuteSlashCommand to support Unicode prompt names

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

* feat: expand prompt slash commands into CLI-friendly references

When a user types /my-prompt in the sessions new-chat input, expand it
before sending to: 'Use the prompt file located at [name](uri).' so
the CLI agent can locate and process the prompt file.

- Add tryExpandPromptSlashCommand() to SlashCommandHandler
- Call it in _send() before session.setQuery() to rewrite the query

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-03 19:46:13 -08:00
Pierce Boggan
dea917863a Merge pull request #297550 from microsoft/copilot-worktree-2026-02-24T23-48-15
Add copy button to chat
2026-03-03 20:39:52 -07:00
Josh Spicer
d4ab06fee0 Commit customization files to main repo for worktree persistence (#299094)
* Commit customization files to main repo for worktree persistence

Customization files (agents, skills, instructions, prompts, hooks) are
now always committed to the main repository so they persist across
worktrees. When a worktree session is active, the file is also copied
and committed there so the running session picks it up immediately.

- Rewrite SessionsAICustomizationWorkspaceService.commitFiles() with
  dual-commit logic (main repo + worktree)
- Add deleteFiles() to IAICustomizationWorkspaceService interface
- Wire delete action to commit removals to git
- Show friendly warning when main repo commit fails from a worktree

* Apply suggestions from code review

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 03:38:45 +00:00
Pierce Boggan
7588065696 Merge branch 'main' into copilot-worktree-2026-02-24T23-48-15 2026-03-03 20:23:34 -07:00