Expand description
ACP server session state primitives.
The types here are intentionally small and protocol-agnostic: map local
thndrs session IDs to opaque ACP IDs, normalize/validate cwd, and guard
against concurrent prompt turns per ACP session.
Structs§
- AcpServer
Session - Runtime state for one active ACP session.
- AcpSession
Store - Deterministic ACP session state map used by protocol handlers.
- Local
Session Metadata - Lightweight metadata placeholder for local session state.
Enums§
- AcpSession
Error - Errors for ACP session state operations.
Constants§
- ACP_
SESSION_ ID_ PREFIX - Prefix for generated opaque ACP session IDs.
- ACP_
SESSION_ SEQUENCE_ WIDTH - Width of the zero-padded sequence component in generated session IDs.
Functions§
- generate_
session_ id - Generate deterministic opaque ACP session ids.
- validate_
and_ normalize_ cwd - Normalize and validate a workspace cwd for a new ACP session.