@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
12 lines • 383 B
JavaScript
/**
* Set by the Poppy provider at boot, read by the server middleware per request — a module
* singleton for the reason the A2A one is (the framework builds the middleware from a lazy import).
*/
let current = null;
export function setPoppyHandler(handler) {
current = handler;
}
export function getPoppyHandler() {
return current;
}
//# sourceMappingURL=runtime.js.map