Skip to content
ochat
Search documentation

Use quotes for an exact phrase.

Search by topic, command, or code identifier.

    GitHub ↗

    Agent client library

    Module map and exact interface links for agent_client; preserve host lifetime, authority, and error contracts.

    View Markdown source ↗

    Typed connection ownership, projection, reconnect and downloads. Keep local drafts separate; replace snapshots and deduplicate stable IDs. Always close owned connections.

    Projection.apply_event installs a validated administrative replacement_snapshot before applying its session.updated payload. Replacement clears absent/empty child collections and transient/terminal caches, so attached clients converge after reset without waiting for reconnect. Legacy peers that ignore the additive field must explicitly refresh their snapshot.

    See embedding, protocol and the implementation specification. Public interfaces are the exact callable API; the table below is the complete module inventory for this library. Follow each interface for preconditions, resource ownership, return types and cancellation/error behavior.

    ModuleInterfaceImplementation
    admincontractsource
    blob_downloadcontractsource
    catalogcontractsource
    connectioncontractsource
    in_memorycontractsource
    projectioncontractsource
    reconnectcontractsource
    session_handlecontractsource
    transportcontractsource