Docs assistant

Searches these docs locally; a configured answer service can generate responses.

Ask about this page or the wider Carina docs. Try: “How do I roll back a patch?”

llms.txt

Skip to content

Markdown

API versions

How Carina docs version channels map to protocol catalogs and the 0.8 release line.

Carina docs ship two channels. Narrative guides are shared; the method catalog and version banner track the selected channel.

ChannelBadgeCatalog fileIntent
0.8.xstable/data/rpc-catalog-0.8.x.jsonDocs surface for the 0.8 release line (current product)
nextpreview/data/rpc-catalog-next.jsonTracks monorepo protocol/jsonrpc/methods.json at head

The header Version control stores your preference in localStorage and sets data-docs-version on <html>.

apps/docs/
src/content/docs/ # shared narrative (EN + zh-cn)
src/data/
rpc-catalog-0.8.x.json # stable pin (current release line)
rpc-catalog-next.json # head pin
public/data/ # same trees, fetchable by the browser
  • Narrative pages (guides, concepts) are shared across channels.
  • Protocol registry is channel-specific JSON, regenerated by pnpm sync-protocol.
  • Version-only blocks can use data-version-only="next" (or 0.8.x) on HTML elements; the version switcher toggles them.

From apps/docs:

pnpm sync-protocol

Commit the updated src/data/rpc-catalog*.json and public/data/* when the registry moves. The generator writes both channels from the same methods.json; freeze meaning comes from committing on a release branch, not from a separate source file.

On Method catalog, expand any method for:

  • sample JSON / TypeScript / CLI tabs
  • Try it — edit the JSON-RPC body, copy JSON/CLI, use Mock locally, or send remotely exposed methods through the authenticated WebSocket Gateway at ws://127.0.0.1:8777/gateway
  • Protocol registry: protocol/jsonrpc/methods.json
  • Catalog generation: apps/docspnpm sync-protocol
  • Pins: src/data/rpc-catalog-*.json and public/data/
  • Related: Method catalog · JSON-RPC · API overview

Was this page helpful?

One vote per page is recorded during this session.