UNPKG

agentfootprint

Version:

The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.

11 lines • 536 B
export { sameSubject, participates, comparableValueOf } from 'contextfootprint'; /** * Preserve Agent's recorded identity encoding across the extraction. * This legacy delimiter format retains its existing collision behavior; new * consumers use ContextFootprint's tuple key. Recording migration is separate. */ export function assertionKey(a) { const epoch = a.epoch === undefined ? '' : String(a.epoch); return `${a.subject.kind}\u0000${a.subject.id}\u0000${a.predicate}\u0000${epoch}`; } //# sourceMappingURL=types.js.map