nexus-agents - v2.80.0
    Preparing search index...

    Interface ContextItem

    A piece of content in the context with its metadata.

    interface ContextItem {
        id: string;
        content: string;
        priority: ContentPriority;
        category: "system" | "task" | "active";
        tokenCount: number;
        addedAt: number;
        metadata?: Record<string, unknown>;
    }
    Index

    Properties

    id: string

    Unique identifier for this item

    content: string

    The content (message, text, etc.)

    priority: ContentPriority

    Priority level for retention

    category: "system" | "task" | "active"

    Budget category this item belongs to

    tokenCount: number

    Token count for this item

    addedAt: number

    When this item was added

    metadata?: Record<string, unknown>

    Optional metadata