UNPKG

agents

Version:
61 lines (59 loc) • 1.35 kB
import { n as BaseEvent } from "./mcp-DA0kDE7K.js"; //#region src/observability/agent.d.ts /** * Agent-specific observability events * These track the lifecycle and operations of an Agent */ type AgentObservabilityEvent = | BaseEvent<"state:update", {}> | BaseEvent< "rpc", { method: string; streaming?: boolean; } > | BaseEvent<"message:request" | "message:response", {}> | BaseEvent<"message:clear"> | BaseEvent< "schedule:create" | "schedule:execute" | "schedule:cancel", { callback: string; id: string; } > | BaseEvent< "queue:retry" | "schedule:retry", { callback: string; id: string; attempt: number; maxAttempts: number; } > | BaseEvent<"destroy"> | BaseEvent< "connect", { connectionId: string; } > | BaseEvent< | "workflow:start" | "workflow:event" | "workflow:approved" | "workflow:rejected" | "workflow:terminated" | "workflow:paused" | "workflow:resumed" | "workflow:restarted", { workflowId: string; workflowName?: string; eventType?: string; reason?: string; } >; //#endregion export { AgentObservabilityEvent as t }; //# sourceMappingURL=agent-B4_kEsdK.d.ts.map