@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
15 lines • 1.02 kB
TypeScript
import type { AgentGovernanceQueries } from '../spi/governance-queries.js';
/**
* Set by `AgentProvider#boot()` once `config.governanceQueries` resolves (or back to `undefined`
* when governance is disabled). Internal wiring only — not re-exported from `src/index.ts` or
* `src/telescope/index.ts`'s public surface, only imported directly by the two files that need it.
*/
export declare function setTelescopeGovernanceQueries(queries: AgentGovernanceQueries | undefined): void;
/**
* Read by the governance-backed telescope providers. `undefined` before `AgentProvider#boot()` has
* run, or when the host has `governanceQueries: false` / never installed a store that defaults one —
* every provider in `agent-governance-providers.ts` degrades to an empty-but-valid shape in that case,
* mirroring the Nest reference's "host hasn't bound the token" degrade path.
*/
export declare function getTelescopeGovernanceQueries(): AgentGovernanceQueries | undefined;
//# sourceMappingURL=governance-registry.d.ts.map