@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
25 lines • 802 B
JavaScript
/**
* The genui catalog the app booted with, bound in the container: `@inject() constructor(private
* genui: AgentGenui)` → `this.genui.catalog` (the same object a browser build imports).
*/
export class AgentGenui {
catalog;
resolveCatalog;
channels;
base;
sandboxClient;
constructor(catalog, resolveCatalog,
/** `genui({ channels })`, when configured. */
channels,
/** The top-level options a channel falls back to. */
base = {},
/** What the sandbox renderer is told, when a sandbox is configured. */
sandboxClient) {
this.catalog = catalog;
this.resolveCatalog = resolveCatalog;
this.channels = channels;
this.base = base;
this.sandboxClient = sandboxClient;
}
}
//# sourceMappingURL=factory.js.map