#!/usr/bin/env node /** * aidimag MCP server — exposes repo memory to any MCP-compatible agent * (Claude Code, Cursor, Copilot, ...) over stdio. * * Tools: memory_search, memory_get_for_files, memory_write, memory_refute, memory_status, * memory_check_change (pre-edit safety check with risk score + proceed/ask_first/stop), * memory_pre_edit (file-specific pre-edit guardrail check with STOP/PROCEED), * commits_mine, context_note (passive in-chat fact capture), chat_harvest (bulk * on-the-fly harvest of the current session from any tool), … — searches are logged * so zero-hit queries surface as coverage gaps (`dim gaps`). * Resource: aidimag://digest — repo memory digest for session bootstrapping. */ export {};