Expand description
Canonical, provider-neutral M1 protocol and replay state.
Structs§
- Attempt
Id - CallId
- Canonical
Request - Capability
Requirements - Catalog
Capability Classification - Catalog
Discovered Model Receipt - Catalog
Discovery Apply Request - Catalog
Discovery Plan Entry - Catalog
Discovery Preview - Catalog
Discovery Preview Request - Catalog
Discovery Receipt - Catalog
Model Qualification Receipt - Catalog
Phase Discovery Receipt - Catalog
Proof Artifact - Catalog
Proof Artifact Manifest - Catalog
Qualification Apply Request - Catalog
Qualification Artifact - Catalog
Qualification Preview - Catalog
Qualification Preview Request - Catalog
Qualification Receipt - Catalog
Qualification Target - Endpoint
Identity - Function
Tool - Harness
Instance Id - ItemId
- Multi
Agent Capability Projection - Per-route MAv2 capability projection (PRD-001u R1.1): whether the route represents namespace tools, the multi-agent protocol version it serves, the wire API, and the observed namespace-call behavior.
- PhaseId
- Stable operator-defined phase identity.
PhaseKindremains the executable adapter kind; ordering and fallback use this independent string identity. - Provider
Capabilities - Public
Error - Replay
Authorization - Replay
Guard - Request
Id - Response
Id - Route
Identity - Session
Id - Structured
Output Intent - TurnId
- Usage
Enums§
- Billing
Authority Class - Canonical
Event - Catalog
Discovery Outcome - Catalog
Proof Role - Catalog
Qualification Artifact Kind - Catalog
Qualification Status - Catalog
Source Kind - Content
Block - Credential
Source Kind - Event
Visibility - Execution
Location - Input
Item - Interruption
Cause - Message
Role - Model
Namespace - Multi
Agent Capability - How a phase can serve Codex harness subagent (multi-agent) calls.
- Multi
Agent Namespace - Chosen MAv2 namespace for a route (PRD-001u R4.1).
Collaborationis the model-reserved namespace for GPT-5.6 Sol/Terra/Luna and requires the exact canonical schema;Agentsis the documented non-reserved namespace that bypasses the reserved-schema 400 for generated schemas. - Multi
Agent Version - Multi-agent protocol version a route can serve.
V2is the Codex MAv2 namespace protocol (collaboration/agents);V1is the earliermulti_agent_v1namespace protocol;Disabledmeans the route cannot serve any namespace protocol. - Multi
Agent Wire Api - Wire API used for multi-agent calls. Only the Responses API is supported in this generation; the chat wire API was removed in the Codex CLI generation that introduced namespace tools.
- Observed
Namespace Call Behavior - Observed namespace-call behavior of the backend, recorded per route so the wire normalizer and operators can see how each phase emits namespace tool calls (PRD-001u R1.1).
- Output
Item Kind - Phase
Kind - Phase
Placement - Provider
Service - Public
Error Code - Reasoning
Intent - Route
Identity Error - Safe
Resume Boundary - Subagent
Disposition - How a subagent-bearing request is served, recorded before any visible output or harness-visible tool effect (PRD-001l R6 — no silent degradation). Every subagent request ends in exactly one of these states.
- Tool
Choice - Transport
Kind - Validation
Error - Visibility
State
Constants§
- ANTHROPIC_
API_ KEY_ HEADER - The header name carrying the Anthropic API key.
- ANTHROPIC_
CHAT_ PATH - ANTHROPIC_
ORIGIN - ANTHROPIC_
VERSION - The Anthropic API version pinned at build time from the published docs.
- ANTHROPIC_
VERSION_ HEADER - The header name carrying the required Anthropic API version.
- CATALOG_
PROOF_ SCHEMA_ VERSION - DASHSCOPE_
CHAT_ PATH - DASHSCOPE_
ORIGIN - DASHSCOPE_
TOKEN_ PLAN_ ORIGIN - The operator’s Alibaba Cloud Model Studio token-plan (budget) endpoint. A
token-plan API key authenticates only against this host, never against the
standard
dashscope-intlorigin, so a live Qwen route bound to a token-plan credential must resolve here. - DEEPSEEK_
CHAT_ PATH - DEEPSEEK_
ORIGIN - GEMINI_
API_ KEY_ HEADER - The header name carrying the Gemini API key.
- GEMINI_
GENERATE_ CONTENT_ PATH - The route endpoint path template. The Gemini adapter replaces the
{model}token with the route model id to form the wire path. - GEMINI_
ORIGIN - LIVE_
CATALOG_ DISCOVERY_ CONFIRMATION - LIVE_
MODEL_ QUALIFICATION_ CONFIRMATION - M1_
WIRE_ VERSION - MAX_
CATALOG_ PROOF_ MODELS - MAX_
CATALOG_ PROOF_ PHASES - MAX_
CATALOG_ QUALIFICATION_ TARGETS - MAX_
SPEND_ AUTHORIZATION_ MICRO_ USD - Protocol-level sanity bound for a per-request spend authorization (10 USD in micro-USD). The phase owner’s configured request ceiling is the effective binding bound; this only prevents absurd declared values.
- MAX_
TOOL_ COMPONENT_ BYTES - MOONSHOT_
CHAT_ PATH - MOONSHOT_
ORIGIN - OLLAMA_
CHAT_ PATH - OLLAMA_
CLOUD_ ORIGIN - OLLAMA_
GLM_ 5_ 2_ MODEL - OLLAMA_
RELAY_ ORIGIN - OPENROUTER_
CHAT_ PATH - OPENROUTER_
ORIGIN - XAI_
CHAT_ PATH - XAI_
ORIGIN - ZAI_
CHAT_ PATH - ZAI_
ORIGIN
Functions§
- ollama_
cloud_ provider_ neutral_ model - Returns the provider-neutral model represented by an exact transport wire ID.
- ollama_
cloud_ wire_ model - Derives the transport-specific Ollama Cloud wire model from a provider-neutral model.
- validate_
tool_ name - validate_
tool_ namespace