@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
17 lines • 1.2 kB
JavaScript
/**
* @experimental Personal Agent Protocol ("Poppy") Draft 0.1 — this app's agent acting on OTHER
* Poppy Companies for its users. Tracks the spec; WILL change, possibly in breaking ways.
*/
export { DEFAULT_POPPY_CONNECTIONS_TEXTS, definePoppyConnectionsConfig, normalizeDomain, } from './config.js';
export { Sealer } from './crypto.js';
export { createPoppyConnectionsHandler, defaultConnectRenderer, } from './http.js';
export { continueAfterConnect, resumeAfterConnect } from './resume.js';
export { normalizeKeys, PoppyCompanyNotAllowedError, PoppyConnections, } from './service.js';
export { ensurePoppyConnectionTables, InMemoryPoppyConnectionStore, LucidPoppyConnectionStore, POPPY_CONNECTION_TABLES, poppyConnectionTableStatements, redisPoppyConnectionStore, } from './store.js';
export { callCompanyTool, previewCompanyWrite, registerPoppyConnectionTools, talkToCompany, } from './tools.js';
/** A fresh signing key for `identity.keys` (store the JSON in an env var). */
export async function generatePoppyAgentKey() {
const { generateEs256Key } = await import('../poppy-client/keys.js');
return (await generateEs256Key()).privateJwk;
}
//# sourceMappingURL=index.js.map