agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
19 lines (18 loc) • 1.12 kB
TypeScript
/**
* agentfootprint/events — the typed event system.
*
* Every agentfootprint run emits a single, strongly-typed event stream:
* the registry (`EVENT_NAMES`, `AgentfootprintEventMap`, `AgentfootprintEvent`),
* the dispatcher (`EventDispatcher` + listener/wildcard types), the shared
* context/composition types, and the ~60 typed payload shapes (grouped
* under the `Payloads` namespace).
*
* This is observability infrastructure, not core agent API, so in v7 it
* lives on its own subpath — consistent with `/observe`, `/memory`, etc.
* Recorders (`agentfootprint/observe`) and viewer libraries consume it;
* the `Agent` builder wires it for you.
*/
export * from './events/types.js';
export type * as Payloads from './events/payloads.js';
export { EVENT_NAMES, ALL_EVENT_TYPES, type AgentfootprintEvent, type AgentfootprintEventMap, type AgentfootprintEventType, } from './events/registry.js';
export { EventDispatcher, type EventListener, type WildcardListener, type ListenOptions, type Unsubscribe, type DomainWildcard, type AllWildcard, type WildcardSubscription, } from './events/dispatcher.js';