Appearance
Interface: AiDecideResult
@aletheia-dev/app-sdk: what runs inside a module. An author writes a manifest with zod schemas, the actions and the optional webhook and hand-off handlers, and defineApp turns them into the exports the host calls (manifest, invoke, handle_webhook, handoff); aletheia-app build bundles the result with extism-js into dist/app.wasm.
Nothing here may import Node modules or @actanomos/aletheia-core: this code runs in QuickJS.
Properties
answers
ts
answers: Record<string, AiAnswer>;method
ts
method: "native" | "adapter";model
ts
model: string;usage
ts
usage: AiUsage;warnings
ts
warnings: string[];