Cotal TypeScript packages
    Preparing search index...

    Interface AgentHandleValue

    A handle's journalled form is a stable, site-independent reference: an agent's persistent identity, a channel's name, a run id. Never a session id, a file descriptor, or a host path. A run that resumes on another machine has to mean the same thing by every binding it holds, and a host-local pointer in journalled state is exactly how that stops being true.

    interface AgentHandleValue {
        agent: string;
        kind?: "participant" | "spawned";
        persona: string;
        role?: string;
        worktree?: string;
    }
    Index
    agent: string
    kind?: "participant" | "spawned"

    undefined is a legacy journalled spawn handle. New handles always name their origin.

    persona: string
    role?: string
    worktree?: string