agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
15 lines (14 loc) • 681 B
TypeScript
/**
* SkillRecorder — forwards `agentfootprint.skill.*` emits to the dispatcher.
*
* Pattern: Factory over EmitBridge.
* Role: Bridges skill lifecycle events (activated, deactivated) emitted
* by consumer skill-management code. Skills are a consumer-owned
* context-engineering concern; the library only provides transport.
* Emits: agentfootprint.skill.activated / skill.deactivated
*/
import { EmitBridge, type EmitBridgeOptions } from './EmitBridge.js';
export type SkillRecorderOptions = Omit<EmitBridgeOptions, 'id' | 'prefix'> & {
readonly id?: string;
};
export declare function skillRecorder(options: SkillRecorderOptions): EmitBridge;