Files
vscode/extensions
Kevin KentandCopilot fc86fd72ba Default to background; mark mainagent; emit conversationId+parentRequestId on response.cancelled/error
Inverts requestKind defaulting in chatMLFetcher.fetchMany so that any
request reaching the fetcher without an explicit requestKindOptions is
classified as 'background'. Adds 'mainagent' as the explicit opt-in for
primary user-driven turns. Now:

- defaultIntentRequestHandler passes { kind: 'subagent' } for subagents
  and { kind: 'mainagent' } for normal user turns.
- inlineChatIntent (both chat2 and inline edit paths) passes
  { kind: 'mainagent' }.
- All other callers (title gen, summarization, intent detection, commit
  message gen, terminal fix gen, PR title/desc gen, rename suggestions,
  semantic search, virtualToolGrouper, etc.) automatically get
  'background' without per-call edits.

Also adds parentRequestId and conversationId to response.success,
response.cancelled, and response.error events so subagent requests can
be joined back to the main agent request, matching the
panel.request schema.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-29 10:32:07 -07:00
..
2026-04-16 22:03:37 -04:00
2026-04-16 22:03:37 -04:00