agents
Version:
A home for your AI agents
23 lines (22 loc) • 861 B
TypeScript
import { t as MCPObservabilityEvent } from "../mcp-DA0kDE7K.js";
import { t as AgentObservabilityEvent } from "../agent-B4_kEsdK.js";
//#region src/observability/index.d.ts
/**
* Union of all observability event types from different domains
*/
type ObservabilityEvent = AgentObservabilityEvent | MCPObservabilityEvent;
interface Observability {
/**
* Emit an event for the Agent's observability implementation to handle.
* @param event - The event to emit
* @param ctx - The execution context of the invocation (optional)
*/
emit(event: ObservabilityEvent, ctx?: DurableObjectState): void;
}
/**
* A generic observability implementation that logs events to the console.
*/
declare const genericObservability: Observability;
//#endregion
export { Observability, ObservabilityEvent, genericObservability };
//# sourceMappingURL=index.d.ts.map