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

    Type Alias SessionOptionsResponseExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Response from session/options.

    The result is a snapshot. The options a session actually starts with are the ones in the session setup response.

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

    The config options the session would start with, with the same rules as on NewSessionResponse.

    Optional. Omitted or empty means no config options are advertised. Senders MUST use an array, not null.

    availableCommands?: AvailableCommand[]

    Commands the Agent knows the session would have.

    Optional. Omitted or empty means no commands are advertised. Senders MUST use an array, not null.

    Advisory. Agents MAY return a partial list. Clients MUST use the commands from the session/new or session/resume response and later available_commands_update notifications for the session itself.

    _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