* PROTOTYPE: Add growth agent (https://github.com/microsoft/vscode-copilot-chat/pull/3460)
* support vscode.ChatSessionStatus.NeedsInput in chatSessions ext api
ref https://github.com/microsoft/vscode/issues/292430
* Add isReadOnly flag to chat sessions contributions
Read-only session types (e.g., Growth) are passive/informational and
should not be registered as agents, appear in session target pickers,
or be delegation targets. Commands are still registered to support
openSessionWithPrompt.
* Collapse isReadOnly and canDelegate branches in _enableContribution
Both need agent and command registration; picker filtering handles
keeping isReadOnly sessions out of the UI separately.
the alternative (and probably ideal) UI is to 'grey out'/'disable' the
chat input for isReadOnly sessions. That way we don't have this
problem at all of a non-functional chatInput
* fix description
* redundant doc
* update test
For #292934
Testing this with a self contained area first: code lenses. Will keep support for the old setting values too to avoid breaking existing settings
* Refactor hook execution
* Fix compilation: add IExtHostHooks import, remove unused IHookResult, inline ChatRequestHooks type
* Move hooks property to chatHooks proposal, sync DTS
* cleanup
* Remove dead hook execution code: proxy, RPC, output channel, progress events
All hook execution now happens in the extension via NodeHookExecutor.
HooksExecutionService is now a pure registry (registerHooks/getHooksForSession).
Removed:
- executeHook, setProxy, onDidHookProgress from service
- IHooksExecutionProxy, IHookProgressEvent, HookAbortError, formatHookErrorMessage
- hooksCommandTypes.ts, hooksTypes.ts (dead type files)
- mainThreadHooks proxy setup
- extHostHooksNode., extHostHooksWorker.
- ExtHostHooksShape. protocol
- IExtHostHooks DI registrations
- ChatHooksProgressContribution
- All associated test files
* Remove HooksExecutionService entirely
The service was only a registry for session hooks, but hooks are already
passed directly on the chat request DTO. The registerHooks/getHooksForSession
pattern was redundant.
* Restore modelName support in chatSubagentContentPart that was accidentally removed during merge
* Revert unrelated tabIndex change on chatSubagentContentPart
* Remove empty hooks ext host infrastructure
Delete IExtHostHooks, NodeExtHostHooks, WorkerExtHostHooks,
MainThreadHooks, ExtHostHooksShape, MainThreadHooksShape -
all were empty stubs after hook execution moved to extension.
* Remove mainThreadHooks import from extensionHost.contribution
* Fix DTS comments: env and timeoutSec are values, not implementation promises
* Try using esbuild to bundle our built-in extensions
Test switching to esbuild instead of webpack to bundle our buildin extensions. Setup so we can do this incrementally and starting with the markdown extension as a test
* Fix build ext media
* Fix .ts script name check
* Update comment
* Use ts for all scripts
* refactor layout and layout2d into base common
* support anchored quick pick
* wip: use anchored quick pick in scm
* almost there
* undo scm history view pane
* Chat - implement session picker in the chat panel title
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Port changes again, and clean things up
* Pull request feedback
* missing changes
* cleanup
* fix bad merge
* reduce complexity
* polish
* update title
* Adopt the anchor
* Fix compilation error
* Fix monaco editor check
* Enhance drag-and-drop functionality in QuickInput: add cursor style for no-drag state and enable/disable control
* Fix positioning bug
* fix change of behavior of layout2d
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Tyler James Leonhardt <2644648+TylerLeonhardt@users.noreply.github.com>