Commit Graph

144610 Commits

Author SHA1 Message Date
Christof Marti bd4f84cc87 Reveal session when following up (#289694) 2026-01-26 16:21:06 +01:00
Copilot 4de5008c32 Support model as string[] in custom agent definitions (#289655)
* Initial plan

* Support model as string or string[] in custom agents

- Updated ICustomAgent.model to support string | string[] | undefined
- Updated IChatModeData.model and IChatMode.model accordingly
- Added getStringOrStringArrayAttribute method in PromptHeader
- Updated validateModel in promptValidator to handle both string and array types
- Added comprehensive tests for model array validation

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* Support model as string or string[] in custom agents - verified

- All code compiles successfully with 0 errors
- Tests verified to compile and be comprehensive
- Backward compatible with single string models
- Type-safe implementation with proper validation

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* Fix: Include empty strings in model array parsing

- Updated getStringOrStringArrayAttribute to include empty strings
- Allows downstream validation to catch empty string errors
- Addresses code review feedback

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* Fix: Update model validation in isCachedChatModeData to allow arrays

- Modified isCachedChatModeData to validate model as string | string[]
- Fixes test failures related to cached mode data validation
- All chat tests now passing

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* update

* add lookupLanguageModelByQualifiedName

* fix completion and hover

* Update src/vs/workbench/contrib/chat/common/languageModels.ts

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

* fix test

* update

* update

* fix

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-26 14:51:26 +00:00
Ladislau Szomoru 88868e5c29 Engineering - update notebooks (#290381) 2026-01-26 15:13:01 +01:00
Johannes Rieken c86da04a07 Merge pull request #288052 from microsoft/copilot/fix-inline-chat-when-ai-disabled
Close inline chat when AI features are disabled
2026-01-26 14:57:05 +01:00
Daniel Imms 9f4c49e7a6 Merge pull request #290366 from microsoft/tyriar/await
Implement await terminal tool
2026-01-26 04:45:09 -08:00
Benjamin Pasero d858022d05 agent sessions - card visual updates to reduce clutter (#290364) 2026-01-26 12:14:00 +00:00
Daniel Imms 26b06e22e2 Clean up token handling, add tests 2026-01-26 04:13:04 -08:00
Benjamin Pasero e9322ed788 chore - remove unused settings from agent-sessions (#290369) 2026-01-26 12:01:51 +00:00
Lee Murray 193aa35a81 Merge pull request #290368 from microsoft/mrleemurray/misleading-green-antelope
Update editor widget background opacity and enhance token colors
2026-01-26 11:57:47 +00:00
Johannes Rieken 6f7d71154b Enhance light bulb functionality with observable state management and tooltip updates in inline chat editor affordance (#290365) 2026-01-26 12:50:54 +01:00
Lee Murray b5bab3d259 Merge pull request #290362 from microsoft/mrleemurray/extra-aqua-trout
Enhance theme styles for editor and keybinding widgets
2026-01-26 11:47:40 +00:00
mrleemurray a2bb8b247f theme - update editor widget background opacity and enhance token colors for HTML/XML and operators 2026-01-26 11:33:18 +00:00
Daniel Imms 0e56fff50d Implement await terminal tool
Fixes #288565
2026-01-26 03:24:12 -08:00
Alex Ross 10abebd051 Get codicons from node module (#289705)
* Revert "Revert codicon change (#289683)"

This reverts commit de6f371a92.

* Always run postinstall

* Two more places

* Move codicon copy into compilation

* Fix pipelines

* Update readme

* Fix watch task

* Move copy codicons

* MIssed some spots

* Error handing

* Fix path
2026-01-26 12:13:48 +01:00
Sandeep Somavarapu 197989bf5d place system profiles under builtin folder (#290359) 2026-01-26 11:12:52 +00:00
Lee Murray b69a1712e4 Merge pull request #290358 from microsoft/mrleemurray/rich-sapphire-warbler
Update editor widget background opacity and enhance tab shadow effects
2026-01-26 11:12:00 +00:00
mrleemurray ae9367e90c Enhance theme styles: adjust editor widget backgrounds and add define keybinding widget styles 2026-01-26 11:08:06 +00:00
Benjamin Pasero ff2c44330b fix - update chat.viewSessions setting to show active only (#290341) 2026-01-26 11:06:13 +00:00
Benjamin Pasero 5358a4d0b8 agent sessions - update icon for profile (#290353)
* style - update icon for `Agent Sessions` profile

* .
2026-01-26 10:54:36 +00:00
mrleemurray 238fb89e3b Update editor widget background opacity and enhance tab shadow effects 2026-01-26 10:49:52 +00:00
Alex Ross bc063fec7a Simplify PR chat card into just title (#290349)
* Simplify PR chat card into just title
Fixes #288848

* Fix indentation
2026-01-26 10:28:20 +00:00
Daniel Imms 050848f110 Merge pull request #290143 from microsoft/tyriar/bg_refactor
Unify background and non-background terminals
2026-01-26 02:26:28 -08:00
Ladislau Szomoru 03d5fdb923 Agent Sessions - trust the agent sessions workspace file (#290348) 2026-01-26 10:08:42 +00:00
Daniel Imms 01d860859c Merge branch 'main' into tyriar/bg_refactor 2026-01-26 02:05:08 -08:00
Alex Ross b5a77387ee Break chat context provider into 3 different providers (#289951)
* Break chat context provider into 3 different providers

* Keep backwards compatibility
2026-01-26 11:01:35 +01:00
Daniel Imms ce8f53632c Merge pull request #290345 from microsoft/tyriar/revert_290330
Revert "Adding helpful message when domains are restricted due to san…
2026-01-26 01:59:10 -08:00
Johannes Rieken 7051debb89 Revert "use scroll-shadow tricks from SCM (#280930)" (#290344)
This reverts commit d88e21d50b.
2026-01-26 09:44:50 +00:00
Daniel Imms 3c8eb9964c Revert "Adding helpful message when domains are restricted due to sandboxing (#290330)"
This reverts commit 61b4383695.
2026-01-26 01:29:52 -08:00
Daniel Imms 405efc4d05 Merge pull request #288414 from microsoft/copilot/explore-goal-confirmation-widget
Add goal parameter to runInTerminal tool for subtitle display
2026-01-26 01:26:09 -08:00
Daniel Imms a408e192a1 Use dependency injection 2026-01-26 01:21:21 -08:00
Daniel Imms 1d8ae27e4c Move strategy creation into active execution 2026-01-26 01:20:16 -08:00
Benjamin Pasero 082592f987 refactor - simplify session grouping logic in groupAgentSessionsByActive (#290339) 2026-01-26 09:07:10 +00:00
Benjamin Pasero 05e03affb1 docs - add guidance for handling disposables (#290336) 2026-01-26 00:51:51 -08:00
Copilot 3b5ab25b93 Filter README.md from custom agents in .github/agents/ (#289043)
* Initial plan

* Remove support for .md files in .github/agents/, only support .agent.md

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* Rename VS Code's built-in agents to use .agent.md extension

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* Filter README.md from agent files in .github/agents/

Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>

* fix tests

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aeschli <6461412+aeschli@users.noreply.github.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2026-01-26 08:21:21 +00:00
dileepyavan 61b4383695 Adding helpful message when domains are restricted due to sandboxing (#290330)
* Adding helpful message when domains are restricted due to sandboxing

* Adding helpful message when domains are restricted due to sandboxing
2026-01-26 07:15:27 +00:00
Copilot ab5263eaa3 Update workspace trust dialog: "Browse" → "Open" in restricted mode (#290294)
* Initial plan

* Update workspace trust wording from "Browse" to "Open"

Co-authored-by: sbatten <6561887+sbatten@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbatten <6561887+sbatten@users.noreply.github.com>
2026-01-26 07:11:33 +00:00
Tyler James Leonhardt a69f194713 A semi-working way to send a message in chat (#290309)
* A semi-working way to send a message in chat

The old way stopped working... idk why... and this way isn't perfect - it has to be written on 1 line.... but I guess it's something...

* add this extra check that other places use
2026-01-26 07:13:20 +01:00
Daniel Imms abb70fbc79 Merge pull request #290303 from microsoft/tyriar/290302
Make sticky scroll ignored commands configurable
2026-01-25 18:29:33 -08:00
Tyler James Leonhardt 52bc869c5d Allow passing in an extension to debug (#290306)
So that the automation can debug an extension
2026-01-26 01:50:20 +00:00
Daniel Imms f4022773a4 Make sticky scroll ignored commands configurable
Fixes #290302
2026-01-25 16:04:01 -08:00
Sandeep Somavarapu 301f5e8acf Sandy081/forward-amphibian (#290292)
* Enhance language models configuration to support snippets and options

* handle ^ prefix
2026-01-25 21:15:39 +00:00
Benjamin Pasero cc0ced7949 chat - tweak click behaviour setting of agent control (#290289) 2026-01-25 12:28:21 -08:00
Benjamin Pasero b3e1fad063 agent sessions - fix endless loop with maximising 2nd sidebar (#290286) 2026-01-25 12:28:08 -08:00
Rob Lourens e34a8fe906 Lazy-render images on tool calls (#290285)
Fix #290284
2026-01-25 19:54:29 +00:00
Eleanor Boyd b639dd20c9 Merge pull request #290198 from eleanorjboyd/spicy-bandicoot
feature: Add dropdown for InlineChatDefaultModel setting selection
2026-01-25 11:44:27 -08:00
Henning Dieterichs 1ec839de74 Add support for debugging renderer and extension host in new window actions (#290282) 2026-01-25 19:31:00 +00:00
Rob Lourens a0aaba11d5 Lay out MCP editors with proper width initially (#290281)
Fix #290280
2026-01-25 19:19:58 +00:00
eleanorjboyd 2130fa8a6e address comments 2026-01-25 11:16:20 -08:00
Rob Lourens 6786e6c815 Start thinking parts as collapsed when possible so they benefit from lazy rendering (#290277)
Fix #290207
This is a bit backwards because we shouldn't really have this separate isThinkingLookAheadComplete method, I think we should have a logical model structure that tells us what we are going to render. But right now it's set up render everything one at a time and only make these decisions after the thinking part has already been created, so there's no way to know whether we are rendering an already completed thinking part without doing this look-ahead.
2026-01-25 10:49:03 -08:00
Rob Lourens 1f6d18e029 ListView doesn't update the cached dynamic height in all cases (#290273)
* ListView doesn't update the cached dynamic height in all cases
Fix #290265

* Address comment
2026-01-25 10:47:13 -08:00