Skip to content

docs(v1): use wire names and existing anchors in Rust capability docs - #3043

Open
connorburgess wants to merge 1 commit into
agentclientprotocol:mainfrom
connorburgess:cb/v1-capability-names-in-docs
Open

connorburgess wants to merge 1 commit into
agentclientprotocol:mainfrom
connorburgess:cb/v1-capability-names-in-docs

Conversation

@connorburgess

Copy link
Copy Markdown

Three v1 doc comments name things that do not exist in v1. They are published in the JSON Schema descriptions and the schema reference page.

  • The session/fork docs say the Agent must advertise session.fork. That is the v2 name. In v1 the capability is sessionCapabilities.fork, as the resume, close and archive docs already say.
  • The McpServer transport variants refer to mcp_capabilities.http, .sse and .acp. That is the Rust field name. The wire field is mcpCapabilities, as Session Setup says. fix mcp right name in docs #845 made the same correction on the Initialization page.
  • FileSystemCapabilities links to initialization#filesystem. The heading is "File system", so the anchor is #file-system.

No wire or type changes. Schemas and reference pages are regenerated with npm run generate.

#2976 edits other lines of src/v1/agent.rs and schema/v1/schema.unstable.json. I can regenerate if it merges first.

Validation on 4a5b76a (local results):

  • npm run check: passes Clippy, formatting, spellcheck, Rust tests and schema tests.

Three v1 doc comments, which are published in the JSON Schema
descriptions and the schema reference, name things that do not exist in
v1:

- session/fork docs say the Agent must advertise `session.fork`. That is
  the v2 name. In v1 the capability is `sessionCapabilities.fork`, as
  the resume, close and archive docs already say.
- The McpServer transport variants refer to `mcp_capabilities.http`,
  `.sse` and `.acp`. That is the Rust field name. The wire field is
  `mcpCapabilities`, as Session Setup says.
- FileSystemCapabilities links to `initialization#filesystem`. The
  heading is "File system", so the anchor is `#file-system`.

Regenerated schemas and reference pages. No wire or type changes.
@connorburgess
connorburgess requested a review from a team as a code owner December 5, 2026 07:46
@mintlify

mintlify Bot commented Dec 5, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 4a5b76a.

Approve preview

This branch has not been deployed

No deployments
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.

1 participant