UNPKG

agentfootprint

Version:

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

52 lines • 2.56 kB
"use strict"; /** * agentfootprint/observe — everything that watches. * * One door for the whole watching story, which used to be nine: * * • Recorders — the Tier 1/2/3 observers, `recordRun`, the * offline `Trace`, the context ledger. * • Diagnosis — influence scoring, trace toolpack, context-bisect, * tool lint, and the pluggable context-error finders. * • Vendor sinks — AgentCore / CloudWatch / X-Ray / OTel strategies, * plus the tamper-evident audit export. * • Strategy ports — the observability / cost / live-status / lens * interfaces and their `attach*` helpers. * • Delivery — `toSSE` and friends, for streaming a run to a * browser. * • Status + words — the chat-bubble state machine AND the message * catalogs it renders with. The logic and the prose * are one story, so they are one door. * * The typed event stream those observers consume is its own door, * `agentfootprint/events` — it is the wire vocabulary, not a watching tool. * * @example * ```ts * import { recordRun, toolChoiceRecorder, selectStatus } from 'agentfootprint/observe'; * ``` */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); __exportStar(require("../observe.js"), exports); __exportStar(require("../observability-providers.js"), exports); __exportStar(require("../strategies/index.js"), exports); __exportStar(require("../hosting/stream.js"), exports); __exportStar(require("../status.js"), exports); __exportStar(require("../debug.js"), exports); __exportStar(require("../debug/finders.js"), exports); __exportStar(require("../locales/index.js"), exports); //# sourceMappingURL=observe.js.map