agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
29 lines • 2.15 kB
JavaScript
;
/**
* ag-ui — the AG-UI protocol adapter over agentfootprint's event stream.
*
* `agUi()` is the adapter a host takes (`streamHandler` on
* `agentfootprint/hosting`): it reads an untrusted request (a `RunAgentInput`,
* or a gateway's own body through a `reader`), plans the turn against what the
* server holds, translates the run and frames it (`agUiSse`, or a gateway's
* own envelope through `framing`).
* `agUiSerializer` turns one run's served events into AG-UI events; `agUiSse`
* frames them for the wire with the official `@ag-ui/encoder`. Published
* through the `agentfootprint/ag-ui` door. The fixed sentences and the id
* grammar stay internal — tests import them by module path.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AG_UI_PROTOCOL_VERSION = exports.readAgUiRunInput = exports.AG_UI_MAX_ID_LENGTH = exports.agUi = exports.agUiSse = exports.AG_UI_CUSTOM_EVENTS = exports.agUiSerializer = void 0;
var serializer_js_1 = require("./serializer.js");
Object.defineProperty(exports, "agUiSerializer", { enumerable: true, get: function () { return serializer_js_1.agUiSerializer; } });
Object.defineProperty(exports, "AG_UI_CUSTOM_EVENTS", { enumerable: true, get: function () { return serializer_js_1.AG_UI_CUSTOM_EVENTS; } });
var framing_js_1 = require("./framing.js");
Object.defineProperty(exports, "agUiSse", { enumerable: true, get: function () { return framing_js_1.agUiSse; } });
var adapter_js_1 = require("./adapter.js");
Object.defineProperty(exports, "agUi", { enumerable: true, get: function () { return adapter_js_1.agUi; } });
var request_js_1 = require("./request.js");
Object.defineProperty(exports, "AG_UI_MAX_ID_LENGTH", { enumerable: true, get: function () { return request_js_1.AG_UI_MAX_ID_LENGTH; } });
Object.defineProperty(exports, "readAgUiRunInput", { enumerable: true, get: function () { return request_js_1.readAgUiRunInput; } });
var types_js_1 = require("./types.js");
Object.defineProperty(exports, "AG_UI_PROTOCOL_VERSION", { enumerable: true, get: function () { return types_js_1.AG_UI_PROTOCOL_VERSION; } });
//# sourceMappingURL=index.js.map