/** * Tunable thresholds for Observational Memory compaction. * * Defaults are conservative and overridable per call. Deploy-level * AGENT_NATIVE_* env overrides let an operator dial compaction without a * redeploy; an invalid/missing value always falls back to the named default. */ /** * Once a thread's UNOBSERVED messages exceed this many tokens, the Observer * compacts them into a single dense, dated observation entry. */ export declare const DEFAULT_OBSERVATION_TOKEN_THRESHOLD = 30000; /** * Once the persisted observation log itself exceeds this many tokens, the * Reflector condenses the observations into a higher-level reflection. */ export declare const DEFAULT_REFLECTION_TOKEN_THRESHOLD = 40000; /** * How many of the most-recent thread messages to always keep verbatim in the * read-side context (the "recent raw messages" tier). These are never folded * into an observation, so the agent always sees the latest turns in full. */ export declare const DEFAULT_RECENT_RAW_MESSAGE_COUNT = 12; /** Cap on the Observer's output so one observation can't itself blow the budget. */ export declare const DEFAULT_OBSERVATION_MAX_OUTPUT_TOKENS = 4000; /** Cap on the Reflector's output. */ export declare const DEFAULT_REFLECTION_MAX_OUTPUT_TOKENS = 2000; /** Resolved thresholds, applying env overrides over the named defaults. */ export interface ObservationalMemoryConfig { observationTokenThreshold: number; reflectionTokenThreshold: number; recentRawMessageCount: number; observationMaxOutputTokens: number; reflectionMaxOutputTokens: number; } export declare function resolveObservationalMemoryConfig(overrides?: Partial): ObservationalMemoryConfig; //# sourceMappingURL=config.d.ts.map