eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
12 lines (11 loc) • 795 B
TypeScript
import type { InstrumentationDecision } from "#shared/instrumentation-decision.js";
import type { ConversationEnvironment } from "#shared/conversation-context.js";
import type { ChannelAudience } from "#shared/channel-audience.js";
export interface InstrumentationContentContext {
readonly audience: ChannelAudience;
readonly environment: ConversationEnvironment;
}
/** Content is public evidence, or local debugging evidence in development. */
export declare function shouldCaptureInstrumentationContent(context: InstrumentationContentContext): boolean;
/** Per-delivery audience is a hard ceiling over the session-level trace decision. */
export declare function applyAudienceCeiling(decision: InstrumentationDecision, context: InstrumentationContentContext): InstrumentationDecision;