README
Agent Runtimes / stores/agentRuntimeStore
stores/agentRuntimeStore
Unified Zustand store for the agent-runtime layer.
Manages three concerns in a single store:
-
Agent Registry (persisted) — URL-addressable agents that were previously connected. Each entry has a
baseUrl+ protocol pair. -
Runtime Connection (ephemeral) — a single currently-connected pod (launch, connect, create agent, disconnect).
-
WebSocket Stream (ephemeral) — monitoring snapshot pushed by the agent-runtime server over
/api/v1/tool-approvals/ws(tool approvals, context, MCP status, cost usage, codemode status, full context).
Interfaces
- AgentRegistryEntry
- AgentRuntimeStoreActions
- AgentRuntimeStoreState
- LocalCostPoint
- LocalTokenTurn
- MonitoringCacheEntry
Type Aliases
Variables
Functions
- getAgentRuntimeState
- getMonitoringCacheKey
- useAgentRuntimeApprovals
- useAgentRuntimeCodemodeStatus
- useAgentRuntimeConnection
- useAgentRuntimeContextSnapshot
- useAgentRuntimeCostUsage
- useAgentRuntimeError
- useAgentRuntimeFullContext
- useAgentRuntimeIsLaunching
- useAgentRuntimeMcpStatus
- useAgentRuntimePendingCount
- useAgentRuntimeStatus
- useAgentRuntimeStore
- useAgentRuntimeWsState