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

    Type Alias SessionInfoExperimental

    Information about a session returned by session/list

    type SessionInfo = {
        sessionId: SessionId;
        cwd: AbsolutePath;
        additionalDirectories?: AbsolutePath[];
        title?: string | null;
        updatedAt?: string | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    Unique identifier for the session

    The working directory for this session. Must be an absolute path.

    additionalDirectories?: AbsolutePath[]

    Additional workspace roots reported for this session. Each path MUST be absolute.

    When present, this is the complete ordered additional-root list reported by the Agent. Omitted and empty values are equivalent: the response reports no additional roots.

    title?: string | null

    Human-readable title for the session, in plain text.

    Omitted and null are equivalent and mean no title is provided.

    updatedAt?: string | null

    RFC 3339 timestamp of last activity.

    Omitted and null are equivalent and mean the last activity time is not reported.

    _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