ACP v2 TypeScript SDK — UNSTABLE DRAFT - v2.0.0
    Preparing search index...

    Type Alias ResumeSessionResponse

    Response from resuming an existing session.

    The agent MUST send a current state_update after any requested history replay and before this response, even without replay. The update reports foreground state after resuming. The response alone does not imply idle.

    See protocol docs: Current-State Synchronization

    type ResumeSessionResponse = {
        configOptions?: SessionConfigOption[];
        availableCommands?: AvailableCommand[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    configOptions?: SessionConfigOption[]

    Initial session configuration options.

    availableCommands?: AvailableCommand[]

    Initial commands the agent can execute in this session.

    Optional. Omitted or empty means no initial commands are advertised. Senders MUST use an array, not null; receivers treat null like omission. Later available_commands_update notifications replace this list.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility