UNPKG

agentfootprint

Version:

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

21 lines • 1.01 kB
"use strict"; /** * devWarnHost — agentfootprint's binding of the pure core's dev-warn seam * (9.34.0). Side-effect module: importing it is the whole API. * * The injection-engine barrel imports this for its side effect, so every * path that can reach `skillGraph()` inside this package (the main entry, * `agentfootprint/context`) has bound the reader before a graph exists. * `agentfootprint/skill-graph` deliberately does NOT import it — that door * loads no engine, and this file's one job is to read footprintjs's flag. * * Zone: HOST. It is the only place in the injection engine that may import * `footprintjs`, and it exists so the other files do not have to. * * Listed in package.json `sideEffects` so a bundler keeps it. */ Object.defineProperty(exports, "__esModule", { value: true }); const footprintjs_1 = require("footprintjs"); const devWarn_js_1 = require("./devWarn.js"); (0, devWarn_js_1.useSkillGraphDevMode)(footprintjs_1.isDevMode); //# sourceMappingURL=devWarnHost.js.map