UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

26 lines • 1.23 kB
import type { SandboxKitSourceOptions } from '../genui/kit/files.js'; export interface GenuiKitHookOptions extends SandboxKitSourceOptions { /** A named kit's (`genuiSandboxKit({ name })`): its docs go to that kit's descriptor. */ name?: string; /** The app's style entries (paths or globs): what the model is told about the styles. */ styles?: string | readonly string[]; /** Guidance on the styles for the model (a markdown file, or the text itself). */ stylesDocs?: string; /** Where the docs go. Default `.adonisjs/agent/genui_sandbox_kit.json`. */ output?: string; tsconfig?: string; /** A TypeScript module with the compiler API, when the project's own has none (TypeScript 7). */ typescript?: unknown; } interface HooksLike { add(event: string, handler: (...args: unknown[]) => unknown): unknown; } export declare function genuiKitHook(options?: GenuiKitHookOptions): { run(parent: unknown, hooks?: HooksLike): Promise<void>; }; /** `() => import('@adonis-agora/agent/hooks/genui_kit')` resolves to a ready hook. */ declare const _default: { run(parent: unknown, hooks?: HooksLike): Promise<void>; }; export default _default; //# sourceMappingURL=genui_kit.d.ts.map