claude-code-data
    Preparing search index...

    Type Alias UserEntry

    A user turn in the session transcript.

    type UserEntry = {
        agentColor?: string;
        agentId?: string;
        agentName?: string;
        cwd: string;
        entrypoint?: string;
        gitBranch?: string;
        isCompactSummary?: boolean;
        isMeta?: boolean;
        isSidechain: boolean;
        logicalParentUuid?: string | null;
        message: Record<string, unknown>;
        parentUuid: string | null;
        promptId?: string;
        requestId?: string;
        sessionId: string;
        slug?: string;
        teamName?: string;
        timestamp: string;
        type: "user";
        userType: string;
        uuid: string;
        version: string;
    }
    Index

    Properties

    agentColor?: string
    agentId?: string
    agentName?: string
    cwd: string
    entrypoint?: string
    gitBranch?: string
    isCompactSummary?: boolean

    Compact summary injected by CC's auto-compact are marked isCompactSummary: true.

    isMeta?: boolean

    Tool-result-only user messages are marked isMeta: true by CC.

    isSidechain: boolean

    true when this entry belongs to a subagent's transcript rather than the main session. CC writes subagent turns to a separate file (subagents/agent-<id>.jsonl) and marks them isSidechain: true. Use agentId to identify which subagent this turn belongs to.

    logicalParentUuid?: string | null
    message: Record<string, unknown>

    Raw message payload. Use helpers from message-helpers to access typed sub-fields.

    parentUuid: string | null
    promptId?: string
    requestId?: string

    Used to deduplicate assistant entries replayed after /resume.

    sessionId: string
    slug?: string
    teamName?: string
    timestamp: string
    type: "user"
    userType: string
    uuid: string
    version: string