UNPKG

@adonis-agora/agent

Version:

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

61 lines • 2.31 kB
import { AgentCommand } from '../src/cli/agent_command.js'; import type { Actor } from '../src/types.js'; /** `--actor`, `--role`, `--tenant`: the actor a per-actor read is answered for. */ declare abstract class AsActorCommand extends AgentCommand { actor?: string; role?: string[]; tenant?: string; protected asActor(): Actor; } /** `agent:quota:show --actor <ref>` — an actor's budget windows (`GET <path>/quota` for them). */ export declare class AgentQuotaShow extends AsActorCommand { static commandName: string; static description: string; protected execute(): Promise<void>; } /** `agent:tools:list --actor <ref>` — the tool catalog an actor reaches through an agent. */ export declare class AgentToolsList extends AsActorCommand { static commandName: string; static description: string; agent?: string; protected execute(): Promise<void>; } /** `agent:tools:stats` — per-tool calls, failures, rejections and latency (the Tools tab). */ export declare class AgentToolsStats extends AgentCommand { static commandName: string; static description: string; from?: string; to?: string; tenant?: string; protected execute(): Promise<void>; } /** `agent:pricing:list` — every model's current per-1M rates (the Pricing tab). */ export declare class AgentPricingList extends AgentCommand { static commandName: string; static description: string; protected execute(): Promise<void>; } /** * `agent:pricing:set <model> --input <usd> --output <usd>` — set a model's current price (atomic * supersede, the console's Pricing form). Replacing an existing price asks first. */ export declare class AgentPricingSet extends AgentCommand { static commandName: string; static description: string; modelId: string; inputPrice?: number; outputPrice?: number; cacheWrite?: number; cacheRead?: number; force: boolean; dryRun: boolean; protected execute(): Promise<void>; } /** `agent:tenants:list` — the organizations agent data belongs to (the console's picker). */ export declare class AgentTenantsList extends AgentCommand { static commandName: string; static description: string; protected execute(): Promise<void>; } export {}; //# sourceMappingURL=agent_catalog.d.ts.map