@runloop/agent-axon-client
    Preparing search index...

    Type Alias SDKCompactBoundaryMessage

    type SDKCompactBoundaryMessage = {
        compact_metadata: {
            pre_tokens: number;
            preserved_segment?: {
                anchor_uuid: UUID;
                head_uuid: UUID;
                tail_uuid: UUID;
            };
            trigger: "manual"
            | "auto";
        };
        session_id: string;
        subtype: "compact_boundary";
        type: "system";
        uuid: UUID;
    }
    Index

    Claude SDK

    compact_metadata: {
        pre_tokens: number;
        preserved_segment?: { anchor_uuid: UUID; head_uuid: UUID; tail_uuid: UUID };
        trigger: "manual" | "auto";
    }

    Type Declaration

    • pre_tokens: number
    • Optionalpreserved_segment?: { anchor_uuid: UUID; head_uuid: UUID; tail_uuid: UUID }

      Relink info for messagesToKeep. Loaders splice the preserved segment at anchor_uuid (summary for suffix-preserving, boundary for prefix-preserving partial compact) so resume includes preserved content. Unset when compaction summarizes everything (no messagesToKeep).

    • trigger: "manual" | "auto"
    session_id: string
    subtype: "compact_boundary"
    type: "system"
    uuid: UUID