Skip to content

docs: update SDK/CLI compatibility matrix with missing features#727

Merged
patniko merged 1 commit intomainfrom
docs/update-compatibility-matrix
Mar 8, 2026
Merged

docs: update SDK/CLI compatibility matrix with missing features#727
patniko merged 1 commit intomainfrom
docs/update-compatibility-matrix

Conversation

@patniko
Copy link
Copy Markdown
Contributor

@patniko patniko commented Mar 8, 2026

Summary

Comprehensive update to the SDK/CLI compatibility matrix based on cross-referencing the SDK codebase with the CLI runtime (copilot-agent-runtime).

Changes

Added to "Available in SDK" section

  • Session-scoped RPC APIs: model (getCurrent/switchTo), mode (get/set), plan (read/update/delete), workspace (listFiles/readFile/createFile)
  • Experimental APIs: fleet mode, agent management (list/select/deselect/getCurrent), manual compaction
  • Message delivery modes: steering (immediate) and queueing (enqueue)
  • Attachment types: directory attachments alongside existing file attachments
  • Client APIs: ping, foreground session management (get/set)
  • Session config options: configDir, clientName, disabledSkills, workingDirectory

Expanded "CLI-Only" section

  • ~25 slash commands: /fleet, /research, /chronicle, /context, /copy, /diagnose, /model, /skills, /tasks, /session, /rename, /resume, /reindex, /streamer-mode, /collect-debug-logs, etc.
  • ~15 CLI flags: --allow-tool/--deny-tool, --allow-url/--deny-url, -p/-i/-s, --continue, --agent, terminal options
  • Cross-references to SDK equivalents where applicable (e.g., /compactsession.rpc.compaction.compact())

New workaround sections

  • Plan Management — read/update/delete plans via session.rpc.plan.*
  • Message Steering — inject mid-turn messages with mode: "immediate"
  • Manual compaction — trigger on-demand with experimental API

Updated version compatibility table

  • Replaced placeholder text with actual protocol v2–v3 range negotiation details
  • Documented automatic v2 adapter backward compatibility

Copilot AI review requested due to automatic review settings March 8, 2026 17:27
@patniko patniko requested a review from a team as a code owner March 8, 2026 17:27
@patniko patniko force-pushed the docs/update-compatibility-matrix branch from c1c16c4 to f402f10 Compare March 8, 2026 17:30
Add missing SDK features to the Available section:
- Session-scoped RPC APIs (model, mode, plan, workspace)
- Experimental APIs (fleet, agent management, compaction)
- Message delivery modes (steering/queueing)
- File and directory attachments
- Ping and foreground session management
- Session config options (configDir, clientName, disabledSkills)

Update CLI-Only section with comprehensive slash commands:
- /fleet, /research, /chronicle, /context, /copy, /diagnose
- /instructions, /model, /skills, /tasks, /session, /rename
- /resume, /reindex, /streamer-mode, /collect-debug-logs, etc.

Add missing CLI flags:
- Permission flags (--allow-tool, --deny-tool, --allow-url, etc.)
- Non-interactive mode (-p, -i, -s, --continue, --agent)
- Terminal options (--alt-screen, --mouse, --bash-env)

Add workaround sections for plan management and message steering.

Update version compatibility table with actual protocol version
negotiation details (v2-v3 range, automatic v2 adapters).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@patniko patniko force-pushed the docs/update-compatibility-matrix branch from f402f10 to 60b5fb3 Compare March 8, 2026 17:34
@patniko patniko merged commit 6195e3e into main Mar 8, 2026
13 checks passed
@patniko patniko deleted the docs/update-compatibility-matrix branch March 8, 2026 17:34
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

Updates and reorganizes Copilot SDK documentation to reflect current SDK/CLI feature parity, expand troubleshooting guidance, and add new feature guides/navigation pages.

Changes:

  • Expanded docs/troubleshooting/compatibility.md with a more complete SDK-vs-CLI feature matrix, workarounds, and protocol v2–v3 negotiation details.
  • Added/organized new documentation entry points and feature guides (docs index, features index, streaming events reference, image input, custom agents, OpenTelemetry).
  • Fixed/updated many internal doc links to match the new docs structure (features/, troubleshooting/, auth/).

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/troubleshooting/mcp-debugging.md Updates “See Also” links to new MCP and troubleshooting locations
docs/troubleshooting/debugging.md Fixes MCP debugging guide link + updates “See Also” paths
docs/troubleshooting/compatibility.md Major expansion of SDK/CLI compatibility matrix + new workaround sections
docs/setup/scaling.md Fixes “Next Steps” links (session persistence, BYOK)
docs/setup/local-cli.md Fixes BYOK/auth/getting-started/session persistence link paths
docs/setup/index.md Updates BYOK and getting-started link paths
docs/setup/github-oauth.md Updates BYOK/auth docs link paths
docs/setup/bundled-cli.md Updates BYOK/session persistence/getting-started link paths
docs/setup/backend-services.md Updates BYOK/session persistence link paths
docs/setup/azure-managed-identity.md Updates BYOK link paths
docs/observability/opentelemetry.md Adds OpenTelemetry instrumentation guide (new)
docs/integrations/microsoft-agent-framework.md Updates links to new feature guide locations
docs/index.md Adds top-level documentation landing page (new)
docs/hooks/user-prompt-submitted.md Updates Hooks Overview link to hooks index
docs/hooks/session-lifecycle.md Updates Hooks Overview + debugging guide link paths
docs/hooks/pre-tool-use.md Updates Hooks Overview + debugging guide link paths
docs/hooks/post-tool-use.md Updates Hooks Overview link to hooks index
docs/hooks/index.md Updates debugging guide link path
docs/hooks/error-handling.md Updates Hooks Overview + debugging guide link paths
docs/guides/setup/byok.md Removes legacy BYOK setup guide (deleted)
docs/getting-started.md Updates MCP documentation links to new features page
docs/features/streaming-events.md Adds streaming session event field reference (new)
docs/features/steering-and-queueing.md Updates link to hooks index
docs/features/skills.md Updates MCP link to new features/mcp.md
docs/features/session-persistence.md Updates troubleshooting/debugging/hook link paths
docs/features/mcp.md Updates MCP debugging link + related resource links (one link appears broken)
docs/features/index.md Adds Features landing page (new)
docs/features/image-input.md Adds Image Input guide (new)
docs/features/hooks.md Updates hook reference links + debugging guide link
docs/features/custom-agents.md Adds Custom Agents & sub-agent orchestration guide (new)
docs/auth/index.md Updates MCP link to new features/mcp.md
README.md Adds richer docs quick-link navigation to new docs structure

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.

2 participants