UNPKG

eve

Version:

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

16 lines (15 loc) 910 B
import type { AgentSessionTraceState, AgentTurnTraceState } from "#tracing/agent-trace-state.js"; type SpanAttributePrimitive = string | number | boolean; type SpanAttributeValue = SpanAttributePrimitive | SpanAttributePrimitive[]; export declare function agentActivationAttributes(input: { readonly agentName?: string; readonly frameworkVersion: string; readonly session?: AgentSessionTraceState; readonly sessionId: string; readonly turnId: string; readonly turn: AgentTurnTraceState; }): Record<string, string | number | boolean | undefined>; export declare function agentPrincipalAttributes(turn: AgentTurnTraceState): Record<string, string>; /** Flattens merged runtime context into AI SDK-compatible span attributes. */ export declare function runtimeContextAttributes(runtimeContext: Readonly<Record<string, unknown>> | undefined): Record<string, SpanAttributeValue>; export {};