agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
24 lines • 1.36 kB
TypeScript
import type { DeclaredPeriod } from '../../semantics/coverage/period.js';
import type { ScopeDeclaration } from './types.js';
export declare const BINDING_LIMITS: Readonly<{
text: 512;
resultIdText: 3104;
dimensions: 16;
path: 16;
scopeBytes: 8192;
resultBytes: number;
snapshotBytes: number;
results: 256;
}>;
export declare function boundedText(value: unknown): value is string;
export declare function boundedResultId(value: unknown): value is string;
/** Shallow descriptor-only admission for authored arrays containing callbacks. */
export declare function ownConfigArray(value: unknown, maximum: number): readonly unknown[];
/** Inspect authored configuration without evaluating getters or inherited fields. */
export declare function scopeDeclarationOf(raw: unknown): ScopeDeclaration;
export declare function executedScope(args: unknown, declaration: ScopeDeclaration): Readonly<Record<string, unknown>>;
/** Exact declared dimensions; no inferred subset, defaults or currency conversion. */
export declare function scopesMatch(evidence: Readonly<Record<string, unknown>>, intended: unknown): boolean;
/** The existing period/instant owners decide validity and temporal equivalence. */
export declare function queriedPeriodMatches(scopeValue: unknown, period: DeclaredPeriod): boolean;
//# sourceMappingURL=scope.d.ts.map