UNPKG

@adonis-agora/agent

Version:

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

14 lines • 779 B
import type { ActorDirectory } from '../spi/actor-directory.js'; /** * In-memory {@link ActorDirectory}: a plain `actorRef → label` map. Handy for tests, the offline demo, * and small apps that seed a fixed label table at boot. Missing refs are omitted from the result (never * fabricated), so a governance surface falls back to rendering the raw ref. */ export declare class InMemoryActorDirectory implements ActorDirectory { private readonly labels; constructor(labels?: Record<string, string>); /** Add or overwrite a single ref → label mapping. Returns `this` for chaining. */ set(ref: string, label: string): this; resolveDisplay(refs: readonly string[]): Promise<Record<string, string>>; } //# sourceMappingURL=in-memory-actor-directory.d.ts.map