Skip to content

feat: fix support for auto model in Copilot CLI for Chat Extension#319815

Merged
DonJayamanne merged 8 commits into
mainfrom
don/furious-goat
Jun 4, 2026
Merged

feat: fix support for auto model in Copilot CLI for Chat Extension#319815
DonJayamanne merged 8 commits into
mainfrom
don/furious-goat

Conversation

@DonJayamanne
Copy link
Copy Markdown
Contributor

  • Introduced multiple markdown files covering high-level overviews, detailed technical documentation, and reference documentation for the Agent Host.
  • Documented changesets, snapshots, client reconciliation, file edit tracking, tool permissions, and customizations.
  • Included diagrams using mermaid syntax to illustrate processes and interactions within the Agent Host.
  • Enhanced the Copilot CLI to support automatic model inclusion based on configuration settings.

Copilot AI review requested due to automatic review settings June 3, 2026 21:30
@DonJayamanne DonJayamanne self-assigned this Jun 3, 2026
@DonJayamanne DonJayamanne reopened this Jun 3, 2026
@DonJayamanne DonJayamanne changed the title Add comprehensive documentation for Agent Host architecture and functionality feat: enhance language model chat provider to support auto model Jun 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR primarily introduces a comprehensive, book-style documentation set for the VS Code Agent Host subsystem (architecture, protocol/state, storage, changesets, permissions, etc.) under docs/platform/agentHost/, and also tweaks Copilot CLI model discovery to optionally include an auto model entry based on configuration.

Changes:

  • Added an extensive Agent Host documentation set with overview, technical deep-dives, reference pages, and update/review playbooks.
  • Added many “research / subagent” traceability notes and TODO trackers used during documentation regeneration.
  • Updated Copilot CLI language model provider to prepend an auto model when CLIAutoModelEnabled is enabled.
Show a summary per file
File Description
extensions/copilot/src/extension/chatSessions/copilotcli/node/copilotCli.ts Prepends an auto model in provideLanguageModelChatInformation when configured.
docs/start.md New top-level doc file containing LM-oriented instructions (appears to be a stray prompt).
docs/platform/agentHost/UPDATE-INSTRUCTIONS.md Playbook for incremental doc updates based on a prior anchor commit.
docs/platform/agentHost/TODO.md Top-level regeneration tracker, anchor commit, and progress log.
docs/platform/agentHost/TODO-SUBAGENT-12-ahp-spec-review.md Subagent TODO tracking AHP spec review pass.
docs/platform/agentHost/TODO-SUBAGENT-11-ahp-spec-expansion.md Subagent TODO tracking AHP spec expansion research.
docs/platform/agentHost/TODO-SUBAGENT-10-followup-review.md Subagent TODO tracking follow-up docs review.
docs/platform/agentHost/TODO-SUBAGENT-09-changesets-deep-dive.md Subagent TODO tracking changesets deep-dive research.
docs/platform/agentHost/TODO-SUBAGENT-08-old-docs-coverage.md Subagent TODO tracking comparison vs old documentation.
docs/platform/agentHost/TODO-SUBAGENT-07-review.md Subagent TODO tracking final docs-only review.
docs/platform/agentHost/TODO-SUBAGENT-06-client-remote.md Subagent TODO tracking client/remote bridge research.
docs/platform/agentHost/TODO-SUBAGENT-05-worktrees-edits.md Subagent TODO tracking worktrees/edits research.
docs/platform/agentHost/TODO-SUBAGENT-04-agents-tools.md Subagent TODO tracking agents/tools research.
docs/platform/agentHost/TODO-SUBAGENT-03-sessions-storage.md Subagent TODO tracking sessions/storage research.
docs/platform/agentHost/TODO-SUBAGENT-02-protocol-state.md Subagent TODO tracking protocol/state research.
docs/platform/agentHost/TODO-SUBAGENT-01-architecture.md Subagent TODO tracking architecture research.
docs/platform/agentHost/technical/16-customizations-attachments-terminal-workbench.md Technical chapter covering customization sync, attachments, terminals, and workbench bridge.
docs/platform/agentHost/technical/15-tool-permissions-and-resource-access.md Technical chapter covering tool approval and reverse resource access permissions.
docs/platform/agentHost/technical/14-file-edit-tracker-and-content-uris.md Technical chapter covering file edit tracking and content URI schemes.
docs/platform/agentHost/technical/13-snapshots-and-client-reconciliation.md Technical chapter covering snapshots, serverSeq/fromSeq, and reconnect reconciliation.
docs/platform/agentHost/technical/12-changesets-deep-dive.md Technical chapter covering changesets model, compute, persistence, and retention.
docs/platform/agentHost/technical/00-index.md Index for the technical documentation tier.
docs/platform/agentHost/REVIEW-INSTRUCTIONS.md Checklist for reviewing doc accuracy, links, Mermaid, and stale-protocol pitfalls.
docs/platform/agentHost/research/SUBAGENT-38-reference-glossary.md Research note backing glossary expansion.
docs/platform/agentHost/research/SUBAGENT-37-reference-uri-schemes.md Research note backing URI schemes reference page.
docs/platform/agentHost/research/SUBAGENT-36-reference-database-schema.md Research note backing DB schema reference page.
docs/platform/agentHost/research/SUBAGENT-35-reference-state-shape.md Research note backing state shape reference page.
docs/platform/agentHost/research/SUBAGENT-34-reference-actions-catalogue.md Research note backing actions catalogue reference page.
docs/platform/agentHost/research/SUBAGENT-33-reference-protocol-commands.md Research note backing protocol commands reference page.
docs/platform/agentHost/research/SUBAGENT-32-reference-source-file-map.md Research note backing source file map reference page.
docs/platform/agentHost/research/SUBAGENT-31-reference-quick-lookup.md Research note backing quick lookup reference page.
docs/platform/agentHost/research/SUBAGENT-30-technical-telemetry-otel.md Research note backing telemetry/OTel technical chapter.
docs/platform/agentHost/research/SUBAGENT-29-technical-filesystems-resources.md Research note backing filesystem/resource bridge technical chapter.
docs/platform/agentHost/research/SUBAGENT-28-technical-client-remote-bridge.md Research note backing client/remote bridge technical chapter.
docs/platform/agentHost/research/SUBAGENT-27-technical-worktrees-changesets.md Research note backing worktrees/changesets/checkpoints technical chapter.
docs/platform/agentHost/research/SUBAGENT-25-technical-agents-runtimes.md Research note backing agent runtimes technical chapter.
docs/platform/agentHost/research/SUBAGENT-24-technical-sessions-storage.md Research note backing sessions/storage/reconnect technical chapter.
docs/platform/agentHost/research/SUBAGENT-23-technical-state-actions.md Research note backing state/actions/reducers technical chapter.
docs/platform/agentHost/research/SUBAGENT-22-technical-protocol.md Research note backing protocol/transport technical chapter.
docs/platform/agentHost/research/SUBAGENT-21-technical-agent-service.md Research note backing agent service technical chapter.
docs/platform/agentHost/research/SUBAGENT-20-technical-process-lifecycle.md Research note backing process lifecycle technical chapter.
docs/platform/agentHost/research/SUBAGENT-19-overview-client-remote.md Research note backing overview client/remote chapter.
docs/platform/agentHost/research/SUBAGENT-18-overview-storage-worktrees.md Research note backing overview storage/worktrees/edits chapter.
docs/platform/agentHost/research/SUBAGENT-17-overview-state-protocol.md Research note backing overview state/protocol chapter.
docs/platform/agentHost/research/SUBAGENT-16-overview-agents-tools.md Research note backing overview agents/tools/customizations chapter.
docs/platform/agentHost/research/SUBAGENT-15-overview-sessions-turns.md Research note backing overview sessions/turns chapter.
docs/platform/agentHost/research/SUBAGENT-14-overview-architecture.md Research note backing overview architecture chapter.
docs/platform/agentHost/research/SUBAGENT-13-overview-introduction.md Research note backing overview introduction chapter.
docs/platform/agentHost/research/SUBAGENT-10-followup-review.md Follow-up docs review findings and resolutions log.
docs/platform/agentHost/research/SUBAGENT-07-review.md Docs-only review summary and validation checks performed.
docs/platform/agentHost/research/SUBAGENT-05-worktrees-edits.md Research notes for worktrees/changesets/checkpoints/file-edit tracking.
docs/platform/agentHost/research/SUBAGENT-03-sessions-storage.md Research notes for sessions/storage/restore/reconciliation.
docs/platform/agentHost/reference/09-open-questions.md Captures source ambiguities and unresolved questions from regeneration.
docs/platform/agentHost/reference/08-glossary.md Glossary of Agent Host terms used across docs and source.
docs/platform/agentHost/reference/06-database-schema.md Reference documentation of the session SQLite database schema and metadata keys.
docs/platform/agentHost/reference/00-index.md Index for the reference documentation tier.
docs/platform/agentHost/overview/00-index.md Index for the high-level overview documentation tier.
docs/platform/agentHost/DOCUMENTATION-GUIDE.md Suggested reading paths for humans and LMs.
docs/platform/agentHost/00-INDEX.md Top-level Agent Host docs index, tier map, and anchored commit metadata.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread extensions/copilot/src/extension/chatSessions/copilotcli/node/copilotCli.ts Outdated
@DonJayamanne DonJayamanne changed the title feat: enhance language model chat provider to support auto model feat: fix support for auto model in Copilot CLI for Chat Extension Jun 4, 2026
@DonJayamanne DonJayamanne marked this pull request as ready for review June 4, 2026 20:56
@DonJayamanne DonJayamanne enabled auto-merge (squash) June 4, 2026 20:56
@DonJayamanne DonJayamanne merged commit 38f0e54 into main Jun 4, 2026
39 of 40 checks passed
@DonJayamanne DonJayamanne deleted the don/furious-goat branch June 4, 2026 21:20
@vs-code-engineering vs-code-engineering Bot added this to the 1.124.0 milestone Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants