UNPKG

eve

Version:

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

28 lines (27 loc) 1.24 kB
export declare const AGENT_TRACE_SCHEMA_VERSION = 4; export declare const AGENT_SPAN_NAMES: { readonly action: "agent.action"; readonly approval: "agent.approval"; readonly channelRequest: "agent.channel.request"; readonly step: "agent.step"; }; export declare const AGENT_USAGE_ATTRIBUTES: { readonly inputTokens: "agent.usage.input_tokens"; readonly outputTokens: "agent.usage.output_tokens"; readonly cacheReadTokens: "agent.usage.cache_read_tokens"; readonly cacheWriteTokens: "agent.usage.cache_write_tokens"; }; export declare function agentInvocationSpanName(agentName: string | undefined): string; export declare function workflowInvocationSpanName(workflowName: string): string; export declare function modelSpanName(modelId: string): string; export interface AgentSamplingOperation { readonly name: string; readonly attributes?: Readonly<Record<string, string | number | boolean | undefined>>; } interface AgentSpanRecord { readonly name: string; readonly attributes: Readonly<Record<string, unknown>>; } export declare function isAgentActivationSpan(span: AgentSpanRecord): boolean; export declare function agentTurnIdentity(span: AgentSpanRecord): string | undefined; export {};