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

    Type Alias ForkSessionResponseExperimental

    UNSTABLE

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

    Response from forking an existing session.

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

    Unique identifier for the newly created forked session.

    configOptions?: SessionConfigOption[]

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

    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. 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