Expand description
Versioned headless protocol owned by A3S Code.
Cloud and other hosts may transport these values, but A3S Code remains the authority for Agent session/run lifecycle, event names, cancellation, and checkpoint recovery. The protocol intentionally contains no Cloud tenant, scheduler, Workload, Runtime, or provider identity.
Re-exports§
pub use crate::release::AGENT_PROTOCOL_V1;
Structs§
- Agent
Protocol Command Receipt V1 - Exact observation returned after A3S Code accepts a command.
- Agent
Protocol Event Page Request V1 - Bounded cursor query accepted by the A3S Code Harness event endpoint.
- Agent
Protocol Event Page V1 - Cursor page projected directly from A3S Code’s authoritative run store.
- Agent
Protocol Event Record V1 - One authoritative A3S Code event at its run-local sequence.
- Agent
Protocol RunCancel V1 - Cancel the current exact A3S Code run.
- Agent
Protocol RunIdentity V1 - Exact A3S Code release, session, and run selected by a host.
- Agent
Protocol RunRecover V1 - Resume an A3S Code loop checkpoint into a fresh exact run identity.
- Agent
Protocol RunStart V1 - Start a fresh A3S Code run with an exact host-selected identity.
Enums§
- Agent
Protocol Command Action V1 - Closed actions accepted by the version-one Code Agent protocol.
- Agent
Protocol Command V1 - One typed command for the A3S Code session/run lifecycle.
- Agent
Protocol Error - Stable validation failures for the headless Agent protocol.
- Agent
Protocol RunState V1 - Stable wire projection of
RunStatus.
Constants§
- AGENT_
PROTOCOL_ COMMAND_ HTTP_ PATH_ V1 - Canonical HTTP endpoint served by
a3s code harnessfor v1 commands. - AGENT_
PROTOCOL_ EVENT_ PAGE_ HTTP_ PATH_ V1 - Canonical HTTP endpoint served by
a3s code harnessfor v1 event pages. - AGENT_
PROTOCOL_ MAX_ EVENTS_ PER_ PAGE - AGENT_
PROTOCOL_ MAX_ EVENT_ METADATA_ BYTES - AGENT_
PROTOCOL_ MAX_ EVENT_ PAGE_ BYTES - AGENT_
PROTOCOL_ MAX_ EVENT_ PAYLOAD_ BYTES - AGENT_
PROTOCOL_ MAX_ EVENT_ RECORD_ BYTES - AGENT_
PROTOCOL_ MAX_ EVENT_ TYPE_ BYTES - AGENT_
PROTOCOL_ MAX_ ID_ BYTES - AGENT_
PROTOCOL_ MAX_ PROMPT_ BYTES - AGENT_
PROTOCOL_ MAX_ REASON_ BYTES