UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

9 lines (8 loc) 771 B
import type { InstrumentationProviderDefinition, InstrumentationSessionStartedEvent } from "#instrumentation/lifecycle.js"; import type { AgentSessionTraceState, AgentTraceStateStore } from "#tracing/agent-trace-state.js"; /** Captures one-to-one channel delivery metadata on the activation that consumes it. */ export declare function createAgentChannelDeliveryInstrumentation(input: { readonly ensureSessionContext: (event: InstrumentationSessionStartedEvent) => Promise<AgentSessionTraceState>; readonly recordInputs: boolean; readonly stateStore: AgentTraceStateStore; }): Pick<NonNullable<InstrumentationProviderDefinition["events"]>, "channel.delivery.cancelled" | "channel.delivery.completed" | "channel.delivery.failed" | "channel.delivery.started">;