agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
22 lines • 1.14 kB
JavaScript
;
/**
* types — the AG-UI events this adapter writes, as plain structural types.
*
* AG-UI (the Agent–User Interaction protocol, `@ag-ui/core`) is an OPTIONAL
* peer of this package, so no declaration here imports it: a consumer who
* only reads these types compiles without it, and nothing in `dist/` names a
* module they may not have installed. The shapes mirror protocol 1.0 field
* for field — `test/type-regressions/AgUiEvents.assignability.test.ts`
* compiles every one of them against `@ag-ui/core`'s own `Event` union, and
* `test/ag-ui/contract.test.ts` validates every event a real run produces with
* `@ag-ui/core/schemas` and the official client's verifier.
*
* Only the fields this adapter sets are declared. `type` is a string literal
* here where `@ag-ui/core` uses its `EventType` enum; the wire values are the
* same strings.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AG_UI_PROTOCOL_VERSION = void 0;
/** The AG-UI protocol version this adapter speaks — stated on `RUN_STARTED`. */
exports.AG_UI_PROTOCOL_VERSION = '1.0';
//# sourceMappingURL=types.js.map