Expand description
Pure data contracts shared by gate4agent engines and shells.
Structs§
- AcpTransport
Spec - Active
Provider Tool - Adapter
Binding - Adapter
Id - Stable identifier for one provider adapter implementation.
- Agent
Adapter Capabilities - Agent
Capabilities - Agent
Command - AgentId
- Stable, extensible identifier for an agent CLI.
- Agent
Instance Id - Agent
Readiness Spec - Agent
Spec - Agent
Transport Capabilities - Capability
Model Summary - Capability
Probe Request - Capability
Snapshot - Command
Envelope - Command
Id - Context
Window Usage - Control
Event - Control
Health - Control
Snapshot - Detection
Spec - Effect
Envelope - Foreground
Process - Foreground
Snapshot - History
Candidate Summary - History
Message Record - History
Query - History
Session Record - History
Snapshot - Launch
Spec - Native
Session Catalog Entry - Native
Session Catalog Page - Native
Session Catalog Summary - Native
Session External Group - Native
Session Preview - Native
Session Preview Message - Observation
Envelope - Operation
Id - Pending
Capability Probe - Pending
History Operation - Pending
Resume Operation - Pipe
Transport Spec - Optional catalog override used by controlled fixtures and providers whose headless executable differs from their interactive PTY executable.
- Prepared
Input - Prepared
Write - Prompt
Payload - Prompt
Spec - Provider
Interaction - Provider
Interaction Id - Provider
Interaction Target - Provider
Runtime Policy - Provider
Session Identity - Provider
Snapshot - Provider
Source - Provider
Source Cursor - Provider
Subagent - Resume
Launch Request - Resume
Session Summary - Resume
Snapshot - Session
Generation - Session
Option Selection - Session
Record Preview - Session
Snapshot - Shell
Command - Start
Request - Terminal
Frame - Terminal
Size - Terminal
Text - Token
Usage
Enums§
- Adapter
Binding Error - Adapter
Family - Adapter
IdError - Adapter
Verification - Agent
Command Mode - Agent
IdError - Capability
Probe Failure - Capability
Validation Error - Control
Command - Control
Effect - Control
Error - Control
Event Kind - Control
Observation - Draft
Ready Signal - Foreground
Authority - Foreground
Process Kind - Foreground
Requirement - Route proof an effect executor must obtain immediately before a PTY write.
- History
Message Role - History
Operation - History
Validation Error - Initial
Prompt Mode - Input
Action - Input
Prepare Error - Native
Draft Mode - Native
Session Catalog Scope - Native
Session Catalog Window - Native
Session External Group Kind - Observation
Ignored Reason - Pipe
Prompt Delivery - Pipe
Protocol - Prepared
Input Kind - Prepared
Write Kind - Process
Matcher - Prompt
Framing - Provider
Activity - Provider
Event - Provider
Event Validation Error - Provider
Interaction Kind - Provider
Interaction Outcome - Provider
Interaction Response - Provider
Interaction Response Error - Provider
Interaction Response Kind - Provider
Interaction Status - Provider
Runtime Capability - Provider
Runtime Policy Error - Provider
Session Key - Resume
Authority Target - Resume
Phase - Resume
Target - Resume
Validation Error - Runtime
Platform - Runtime in which an executable is detected or launched.
- Session
Option Validation Error - Session
Option Value - Session
Status - Spec
Verification - Provenance state for a built-in launch specification.
- Terminal
Control - Terminal
Mouse Protocol Encoding - Transport
Kind
Constants§
- BRACKETED_
PASTE_ END - BRACKETED_
PASTE_ START - CAPABILITY_
MODELS_ MAX - CAPABILITY_
MODEL_ ID_ MAX_ BYTES - CAPABILITY_
MODEL_ LABEL_ MAX_ BYTES - CONTROL_
INSTANCE_ IDENTITIES_ CAPACITY - CONTROL_
INSTANCE_ IDENTITIES_ MAX - CONTROL_
PROTOCOL_ VERSION - CONTROL_
SESSIONS_ MAX - FOREGROUND_
PROCESS_ NAME_ MAX_ BYTES - HISTORY_
CANDIDATE_ ID_ MAX_ BYTES - HISTORY_
DISCOVERY_ LIMIT_ MAX - HISTORY_
ERROR_ MAX_ BYTES - HISTORY_
MESSAGES_ MAX - HISTORY_
MESSAGE_ MAX_ BYTES - HISTORY_
MODEL_ MAX_ BYTES - HISTORY_
SESSION_ ID_ MAX_ BYTES - HISTORY_
TITLE_ MAX_ BYTES - MAX_
ADAPTER_ REVISION_ LEN - NATIVE_
SESSION_ CATALOG_ LIMIT_ MAX - NATIVE_
SESSION_ EXTERNAL_ GROUP_ ID_ MAX_ BYTES - NATIVE_
SESSION_ EXTERNAL_ GROUP_ LABEL_ MAX_ BYTES - NATIVE_
SESSION_ PREVIEW_ MESSAGE_ LIMIT_ MAX - NATIVE_
SESSION_ PREVIEW_ TEXT_ MAX_ BYTES - PROVIDER_
EVENT_ ID_ MAX_ BYTES - PROVIDER_
EVENT_ TEXT_ MAX_ BYTES - PROVIDER_
EVENT_ TOOLS_ MAX - PROVIDER_
INGRESS_ EVENTS_ MAX - PROVIDER_
INTERACTIONS_ MAX - PROVIDER_
INTERACTION_ FAILURE_ MAX_ BYTES - PROVIDER_
INTERACTION_ RESPONSE_ MAX_ BYTES - PROVIDER_
SESSION_ LOCATOR_ MAX_ BYTES - PROVIDER_
SUBAGENTS_ MAX - RESUME_
ERROR_ MAX_ BYTES - SEMANTIC_
PROMPT_ MAX_ BYTES - SESSION_
OPTION_ ID_ MAX_ BYTES - SESSION_
OPTION_ VALUES_ MAX - SESSION_
OPTION_ VALUE_ MAX_ BYTES - TERMINAL_
COLUMNS_ MAX - TERMINAL_
INPUT_ CHUNK_ MAX_ BYTES - TERMINAL_
INPUT_ MAX_ BYTES - TERMINAL_
ROWS_ MAX - TERMINAL_
SUBMIT_ DELAY_ MS - TERMINAL_
WRITE_ DELAY_ MAX_ MS - WORKING_
DIRECTORY_ MAX_ BYTES
Functions§
- normalize_
executable_ name - Normalize an executable name for portable provider matching.
- normalize_
semantic_ prompt - Validate and normalize a semantic prompt before it crosses a process or protocol boundary. Terminal controls are rendered inert consistently with PTY prompt preparation, but no terminal framing bytes are added.
- prepare_
agent_ command - Prepare a provider-native slash command after a dispatcher has selected the foreground agent. Arguments are TUI text segments, not shell arguments.
- prepare_
input - Converts an input action to bounded writes without touching a PTY.
- prepare_
input_ with_ limits - prepare_
shell_ command - Prepare an intentional command line for a dispatcher that has just confirmed a shell owns the PTY foreground.
- sanitize_
prompt_ text - Neutralizes terminal control sequences while preserving prompt newlines and tabs.
- validate_
candidate_ id - validate_
capability_ models - validate_
history_ error - validate_
native_ session_ id - validate_
resume_ error