/** * MemPalace-backed memory tools the agent can call. * * Surface (kept small, action-oriented): * memory_search read full-text search across global + project stores * memory_recall read fetch a specific drawer by id, plus its tunnels * memory_add write create a new drawer (or save a fact via KG) * memory_link write tunnel between two drawers * memory_list read inventory: wings/rooms/recent drawers * * The agent should reach for these whenever the user mentions facts that * are worth keeping across sessions ("I always use vitest, never jest"), * codebase landmarks ("the auth flow lives in src/auth/oauth.ts"), or * lessons learned during this turn that future sessions would benefit * from. The system prompt nudges this — see src/system-prompt.ts. * * All write tools are marked isDestructive: false because they only * append to a local file — no network, no external state. They still * require permission in `ask` mode by default but don't trigger the * destructive-action verbal-confirm path. */ import type { Tool } from './types.js'; export declare const MemoryAddTool: Tool; export declare const MemorySearchTool: Tool; export declare const MemoryRecallTool: Tool; export declare const MemoryLinkTool: Tool; export declare const MemoryListTool: Tool; export declare const MemoryFactAddTool: Tool; export declare const MemoryFactQueryTool: Tool; export declare const DiaryWriteTool: Tool; export declare const DiaryReadTool: Tool; export declare const MEMORY_TOOLS: Tool[];