import { a as TObject, s as TString } from "../../helpers-DutyHbVD.mjs"; import { t as TUnsafe } from "../../unsafe-C_mX8nG4.mjs"; import { t as TOptional } from "../../optional-Bis1WTKK.mjs"; //#region extensions/crypto/src/tools/agent-memory.d.ts /** * Agent Memory Tool — LLM-facing interface to the agent memory service. * * Lets the agent persist and manage declarative memories (environment facts, * tool quirks, user preferences, lessons learned). * * Actions: * add — Save a new memory entry * replace — Update an existing entry (find by substring, replace) * remove — Remove an entry (find by substring) * list — Show all agent memories * user_add — Save a user profile entry * user_list — Show a user's profile entries * user_remove — Remove a user profile entry * stats — Show memory usage stats * * Only write actions are gated by evolution mode. */ declare function createAgentMemoryTool(): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"list" | "replace" | "remove" | "stats" | "add" | "user_add" | "user_list" | "user_remove">; entry: TOptional; search: TOptional; user_id: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createAgentMemoryTool }; //# sourceMappingURL=agent-memory.d.mts.map