/** * Agent Memory — Trellis plugin for graph-persisted agent conversations. * * @module trellis/plugins/agent-memory * * @example * ```typescript * import { createAgentMemoryPlugin, agentMemoryOntology, GraphContextManager } from 'trellis/plugins/agent-memory'; * * // 1. Register the plugin * const plugin = createAgentMemoryPlugin(); * pluginRegistry.register(plugin); * await pluginRegistry.load('trellis:agent-memory', kernel, ontologyRegistry); * * // 2. Use graph-backed context manager with agent harness * const contextManager = new GraphContextManager(kernel); * const conversationId = await contextManager.createConversation({ * title: 'Design review', * agentId: 'agent:trellis', * }); * * // Messages are auto-persisted as graph entities * contextManager.addMessage({ role: 'user', content: 'Review the color tokens' }); * const history = contextManager.getHistory(); // reads from graph * ``` */ export { agentMemoryOntology } from './ontology.js'; export { createAgentMemoryPlugin } from './plugin.js'; export { GraphContextManager, type ConversationOptions } from './graph-context-manager.js'; //# sourceMappingURL=index.d.ts.map