|
Add MCP server support and fix memory tools user isolation
MCP integration: - New navi/mcp/ package: client, manager, config, tools - ToolRegistry learns register_external() for MCP tools - reload_tools reconnects MCP servers on hot reload - New built-in mcp_status tool - Startup/shutdown wiring for MCP connections - 12 new tests (unit + integration with real stdio server) Memory tools fix: - memory, memory_save, memory_search, memory_forget now read current_user_id from tool context and pass it to MemoryStore - Fixes invisible facts for authenticated users Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/api/deps.py |
|---|
| navi/core/registry.py |
|---|
| navi/main.py |
|---|
| navi/mcp/__init__.py 0 → 100644 |
|---|
| navi/mcp/client.py 0 → 100644 |
|---|
| navi/mcp/config.py 0 → 100644 |
|---|
| navi/mcp/manager.py 0 → 100644 |
|---|
| navi/mcp/tools.py 0 → 100644 |
|---|
| navi/tools/mcp_status.py 0 → 100644 |
|---|
| navi/tools/memory.py |
|---|
| navi/tools/memory_forget.py |
|---|
| navi/tools/memory_save.py |
|---|
| navi/tools/memory_search.py |
|---|
| navi/tools/reload_tools.py |
|---|
| pyproject.toml |
|---|
| tests/_mcp_test_server.py 0 → 100644 |
|---|
| tests/integration/test_mcp_integration.py 0 → 100644 |
|---|
| tests/unit/test_mcp.py 0 → 100644 |
|---|
| tests/unit/test_startup.py |
|---|