Add auto-capture system (Milestone 2)

- Add capture configuration system with modes: always, manual, decisions, off
- Add Ollama-based conversation summarization and extraction
- Add deduplication via embedding similarity (merge >0.90, link 0.75-0.90)
- Add CLI commands: capture, capture-hook, config
- Add MCP tools: memory_capture, memory_remember, memory_capture_config
- Include summary.ts (previously uncommitted)
This commit is contained in:
2026-02-03 09:59:49 +01:00
parent 999c748d3d
commit 7a4dc07038
8 changed files with 941 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import { graphCommand } from './commands/graph';
import { serveCommand } from './commands/serve';
import { decayCommand } from './commands/decay';
import { childrenCommand } from './commands/children';
import { captureCommand, captureHookCommand, configCommand } from './commands/capture';
import { closeDb } from '../core/db';
const program = new Command();
@@ -31,6 +32,9 @@ program.addCommand(graphCommand);
program.addCommand(serveCommand);
program.addCommand(decayCommand);
program.addCommand(childrenCommand);
program.addCommand(captureCommand);
program.addCommand(captureHookCommand);
program.addCommand(configCommand);
program.hook('postAction', () => {
closeDb();