Repository navigation
docs(v1): use wire names and existing anchors in Rust capability docs - #3043
Open
connorburgess wants to merge 1 commit into
Open
connorburgess wants to merge 1 commit into
connorburgess wants to merge 1 commit into
Conversation
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.
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
session/forkdocs say the Agent must advertisesession.fork. That is the v2 name. In v1 the capability issessionCapabilities.fork, as the resume, close and archive docs already say.McpServertransport variants refer tomcp_capabilities.http,.sseand.acp. That is the Rust field name. The wire field ismcpCapabilities, as Session Setup says. fix mcp right name in docs #845 made the same correction on the Initialization page.FileSystemCapabilitieslinks toinitialization#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.rsandschema/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.