Interface AgentOSUsageLedgerOptions

interface AgentOSUsageLedgerOptions {
    enabled?: boolean;
    path?: string;
    sessionId?: string;
    personaId?: string;
    source?: string;
}

Properties

enabled?: boolean

Enable persistence using the shared default path under ~/.framers/usage-ledger.jsonl.

path?: string

Explicit path to the append-only JSONL ledger file.

sessionId?: string

Session identifier used to group related helper calls. Defaults to "global".

personaId?: string

Optional persona identifier for callers layering persona-specific usage views.

source?: string

Optional source label such as "generateText" or "agent.session.stream".