Ben Sigman
cea34366f5
Merge pull request #84 from AlexeySamosadov/fix/mcp-integer-coercion
...
fix: coerce MCP integer arguments to native Python int
2026-04-07 13:58:49 -07:00
Ben Sigman
e8f9b47e31
Merge pull request #16 from sheetsync/bugfix/version-consistency
...
fix: unify package and MCP version reporting
2026-04-07 13:54:03 -07:00
Alexey Samosadov
8fbb6178dd
fix: coerce MCP integer arguments to native Python int
...
ChromaDB requires native `int` for `n_results`, but the MCP JSON-RPC
transport can deliver JSON integers as floats or strings depending on
the client implementation. This causes `mempalace_search` (and any
tool with integer params like `max_hops`, `last_n`) to fail with:
"Expected requested number of results to be a int, got 3 in query."
Fix: auto-coerce tool arguments based on the declared `input_schema`
types before calling handlers. This covers all current and future
tools generically.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-07 17:48:03 +03:00
James Cane
1557eaa2f5
docs: align MCP setup examples with shipped server
2026-04-07 09:15:16 +01:00
James Cane
55152ce476
fix: unify package and MCP version reporting
2026-04-07 08:53:25 +01:00
bensig
6d8c462219
fix: resolve ruff lint and format errors across codebase
...
Fix E402 import ordering, F841 unused variable, F541 unnecessary
f-strings, F401 unused import, and auto-format 6 files.
2026-04-04 18:37:17 -07:00
Milla Jovovich
068dbd9a7b
MemPalace: palace architecture, AAAK compression, knowledge graph
...
The memory system:
- Palace structure: Wings (people/projects) → Rooms (topics) → Closets (AAAK compressed) → Drawers (verbatim transcripts)
- Halls connect related rooms within a wing
- Tunnels cross-reference rooms across wings
- AAAK: 30x lossless compression dialect for AI agents
- Knowledge graph: temporal entity-relationship triples (SQLite)
- Palace graph: room-based navigation with tunnel detection
- MCP server: 19 tools — search, graph traversal, agent diary, AAAK auto-teach
- Onboarding: guided setup generates wing config + AAAK entity registry
- Contradiction detection: catches wrong pronouns, names, ages
- Auto-save hooks for Claude Code
96.6% Recall@5 on LongMemEval — highest zero-API score published.
100% with optional Haiku rerank (500/500).
Local. Free. No API key required.
2026-04-04 18:16:04 -07:00