UNPKG

agentfootprint

Version:

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

9 lines • 730 B
// Older supported producers lack this optional reader. A named value import would // break browser linking even when unused; the named type still checks ownership. // The architecture test pins this exception to this one reader and public door. // eslint-disable-next-line no-restricted-syntax -- Optional reader; test/architecture/storedCauseReader.test.ts guards this single boundary. import * as producer from 'footprintjs/trace'; const candidate = Reflect.get(producer, 'readStoredCapture'); /** The public reader when present; absent exports stay unsupported without a linking failure. */ export const readStoredCapture = typeof candidate === 'function' ? candidate : undefined; //# sourceMappingURL=storedCauseReader.js.map