agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
6 lines (5 loc) • 422 B
TypeScript
import type { MessageMiddleware } from './types.js';
/** Bind a declared phase without changing the other phase's recorded allow row. */
export declare function messageAt(phase: 'input' | 'output', middleware: MessageMiddleware): MessageMiddleware;
/** Build-time knowledge, never an inference from a callback's name or source. */
export declare function hasOutputMiddleware(chain: readonly MessageMiddleware[]): boolean;