Agent Client Protocol - v1.2.1
    Preparing search index...

    Type Alias SessionCapabilities

    Session capabilities supported by the agent.

    As a baseline, all Agents MUST support session/new, session/prompt, session/cancel, and session/update.

    Optionally, they MAY support other session methods and notifications by specifying additional capabilities.

    Note: session/load is still handled by the top-level load_session capability. This will be unified in future versions of the protocol.

    See protocol docs: Session Capabilities

    type SessionCapabilities = {
        list?: SessionListCapabilities | null;
        delete?: SessionDeleteCapabilities | null;
        additionalDirectories?: SessionAdditionalDirectoriesCapabilities | null;
        fork?: SessionForkCapabilities | null;
        resume?: SessionResumeCapabilities | null;
        close?: SessionCloseCapabilities | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Whether the agent supports session/list.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports listing sessions.

    Whether the agent supports session/delete.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports deleting sessions from session/list.

    additionalDirectories?: SessionAdditionalDirectoriesCapabilities | null

    Whether the agent supports additionalDirectories on supported session lifecycle requests.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports additionalDirectories on supported session lifecycle requests.

    Agents that also support session/list may return SessionInfo.additionalDirectories to report the complete ordered additional-root list associated with a listed session.

    UNSTABLE

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

    Whether the agent supports session/fork.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports forking sessions.

    Whether the agent supports session/resume.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports resuming sessions.

    Whether the agent supports session/close.

    Optional. Omitted or null both mean the agent does not advertise support. Supplying {} means the agent supports closing sessions.

    _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