ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias ResumeSessionResponseExperimental

    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[]

    Current session configuration options.

    Optional. Omitted or empty means no config options are advertised. Senders MUST use an array, not null. Later config_option_update notifications replace this list.

    availableCommands?: AvailableCommand[]

    Current 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. 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. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Extensibility