mnemograph 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mnemograph-0.1.0/.claude/memory/mnemograph.log +4 -0
- mnemograph-0.1.0/.claude/settings.local.json +65 -0
- mnemograph-0.1.0/.gitignore +38 -0
- mnemograph-0.1.0/.python-version +1 -0
- mnemograph-0.1.0/CLAUDE.md +1502 -0
- mnemograph-0.1.0/LICENSE +21 -0
- mnemograph-0.1.0/MEMORY_VCS_CLAUDE.md +1386 -0
- mnemograph-0.1.0/PKG-INFO +164 -0
- mnemograph-0.1.0/PUBLISH_TO_MCP_REGISTRY.md +126 -0
- mnemograph-0.1.0/README.md +146 -0
- mnemograph-0.1.0/RENAME_GRAPHMEM_TO_MNEMOGRAPH.md +234 -0
- mnemograph-0.1.0/pyproject.toml +47 -0
- mnemograph-0.1.0/scripts/seed.py +208 -0
- mnemograph-0.1.0/server.json +30 -0
- mnemograph-0.1.0/src/__init__.py +0 -0
- mnemograph-0.1.0/src/mnemograph/__init__.py +0 -0
- mnemograph-0.1.0/src/mnemograph/__main__.py +6 -0
- mnemograph-0.1.0/src/mnemograph/cli.py +326 -0
- mnemograph-0.1.0/src/mnemograph/engine.py +394 -0
- mnemograph-0.1.0/src/mnemograph/events.py +50 -0
- mnemograph-0.1.0/src/mnemograph/models.py +88 -0
- mnemograph-0.1.0/src/mnemograph/retrieval.py +290 -0
- mnemograph-0.1.0/src/mnemograph/server.py +361 -0
- mnemograph-0.1.0/src/mnemograph/state.py +84 -0
- mnemograph-0.1.0/src/mnemograph/tools/__init__.py +0 -0
- mnemograph-0.1.0/src/mnemograph/vcs.py +304 -0
- mnemograph-0.1.0/src/mnemograph/vcs_cli.py +154 -0
- mnemograph-0.1.0/src/mnemograph/vectors.py +169 -0
- mnemograph-0.1.0/tests/__init__.py +0 -0
- mnemograph-0.1.0/tests/test_cli.py +232 -0
- mnemograph-0.1.0/tests/test_engine.py +152 -0
- mnemograph-0.1.0/tests/test_events.py +72 -0
- mnemograph-0.1.0/tests/test_retrieval.py +141 -0
- mnemograph-0.1.0/tests/test_state.py +172 -0
- mnemograph-0.1.0/tests/test_vcs.py +223 -0
- mnemograph-0.1.0/tests/test_vectors.py +132 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
2026-01-10 23:09:33,855 [INFO] GraphMem MCP Server starting (memory_dir=.claude/memory, session=default)
|
|
2
|
+
2026-01-10 23:09:33,855 [INFO] Loaded 13 entities, 11 relations
|
|
3
|
+
2026-01-10 23:18:56,100 [INFO] GraphMem MCP Server starting (memory_dir=.claude/memory, session=default)
|
|
4
|
+
2026-01-10 23:18:56,100 [INFO] Loaded 13 entities, 11 relations
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(npx:*)",
|
|
5
|
+
"Bash( MEMORY_FILE_PATH=\"/Users/tm42/_graphmem/.claude/memory/test.jsonl\" npx -y @modelcontextprotocol/server-memory)",
|
|
6
|
+
"Bash(# Read entire graph echo ''{\"\"jsonrpc\"\":\"\"2.0\"\",\"\"id\"\":4,\"\"method\"\":\"\"tools/call\"\",\"\"params\"\":{\"\"name\"\":\"\"read_graph\"\",\"\"arguments\"\":{}}}'' | \\\\ MEMORY_FILE_PATH=\"\"/Users/tm42/_graphmem/.claude/memory/test.jsonl\"\" npx -y @modelcontextprotocol/server-memory)",
|
|
7
|
+
"Bash(# Test search_nodes echo ''{\"\"jsonrpc\"\":\"\"2.0\"\",\"\"id\"\":5,\"\"method\"\":\"\"tools/call\"\",\"\"params\"\":{\"\"name\"\":\"\"search_nodes\"\",\"\"arguments\"\":{\"\"query\"\":\"\"event\"\"}}}'' | \\\\ MEMORY_FILE_PATH=\"\"/Users/tm42/_graphmem/.claude/memory/test.jsonl\"\" npx -y @modelcontextprotocol/server-memory)",
|
|
8
|
+
"Bash(# Add observations to an existing entity echo ''{\"\"jsonrpc\"\":\"\"2.0\"\",\"\"id\"\":6,\"\"method\"\":\"\"tools/call\"\",\"\"params\"\":{\"\"name\"\":\"\"add_observations\"\",\"\"arguments\"\":{\"\"observations\"\":[{\"\"entityName\"\":\"\"GraphMemory Project\"\",\"\"contents\"\":[\"\"Phase 0: Understanding official server\"\",\"\"Phase 1: Event-sourced core\"\"]}]}}}'' | \\\\ MEMORY_FILE_PATH=\"\"/Users/tm42/_graphmem/.claude/memory/test.jsonl\"\" npx -y @modelcontextprotocol/server-memory)",
|
|
9
|
+
"Bash(# Delete an observation echo ''{\"\"jsonrpc\"\":\"\"2.0\"\",\"\"id\"\":7,\"\"method\"\":\"\"tools/call\"\",\"\"params\"\":{\"\"name\"\":\"\"delete_observations\"\",\"\"arguments\"\":{\"\"deletions\"\":[{\"\"entityName\"\":\"\"GraphMemory Project\"\",\"\"observations\"\":[\"\"Phase 0: Understanding official server\"\"]}]}}}'' | \\\\ MEMORY_FILE_PATH=\"\"/Users/tm42/_graphmem/.claude/memory/test.jsonl\"\" npx -y @modelcontextprotocol/server-memory)",
|
|
10
|
+
"Bash(uv --version:*)",
|
|
11
|
+
"Bash(node --version)",
|
|
12
|
+
"Bash(npm --version)",
|
|
13
|
+
"Bash(git init:*)",
|
|
14
|
+
"Bash(curl:*)",
|
|
15
|
+
"Bash(sh)",
|
|
16
|
+
"Bash(export PATH=\"$HOME/.local/bin:$PATH\")",
|
|
17
|
+
"Bash(git add:*)",
|
|
18
|
+
"Bash(git commit -m \"$\\(cat <<''EOF''\nInitial project setup\n\n- Initialize Python project with uv\n- Add core deps: mcp, pydantic, python-ulid\n- Add dev deps: pytest, pytest-asyncio, ruff\n- Create src/memory_engine/ package structure\n- Add CLAUDE.md project brief\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n\\)\")",
|
|
19
|
+
"Bash(uv run python:*)",
|
|
20
|
+
"Bash(uv run pytest:*)",
|
|
21
|
+
"Bash(git commit:*)",
|
|
22
|
+
"Bash(git reset:*)",
|
|
23
|
+
"Bash(uv sync:*)",
|
|
24
|
+
"Bash($HOME/.local/bin/uv --version)",
|
|
25
|
+
"Bash(/Users/tm42/.local/bin/uv run:*)",
|
|
26
|
+
"Bash(/Users/tm42/.local/bin/uv add:*)",
|
|
27
|
+
"Bash(ls:*)",
|
|
28
|
+
"Bash(chmod:*)",
|
|
29
|
+
"Bash(/Users/tm42/.local/bin/uv:*)",
|
|
30
|
+
"Bash(MEMORY_PATH=/Users/tm42/.claude/memory /Users/tm42/.local/bin/uv:*)",
|
|
31
|
+
"mcp__graphmem__read_graph",
|
|
32
|
+
"mcp__graphmem__create_entities",
|
|
33
|
+
"mcp__graphmem__create_relations",
|
|
34
|
+
"mcp__graphmem__memory_context",
|
|
35
|
+
"mcp__graphmem__search_semantic",
|
|
36
|
+
"Bash(python -m pip install:*)",
|
|
37
|
+
"Bash(python -m pytest:*)",
|
|
38
|
+
"Bash(python -m memory_engine.vcs_cli:*)",
|
|
39
|
+
"Bash(MEMORY_PATH=/Users/tm42/.claude/memory python -m memory_engine.vcs_cli:*)",
|
|
40
|
+
"mcp__graphmem__search_nodes",
|
|
41
|
+
"mcp__graphmem__add_observations",
|
|
42
|
+
"Bash(uv build:*)",
|
|
43
|
+
"Bash(~/.local/bin/uv build)",
|
|
44
|
+
"Bash(~/.local/bin/uv publish:*)",
|
|
45
|
+
"Bash(~/.local/bin/uv sync:*)",
|
|
46
|
+
"Bash(~/.local/bin/uv run pytest:*)",
|
|
47
|
+
"Bash(~/.local/bin/uv run:*)",
|
|
48
|
+
"Bash(timeout 3 uv run:*)",
|
|
49
|
+
"Bash(git push:*)",
|
|
50
|
+
"Bash(git remote set-url:*)",
|
|
51
|
+
"Bash(wc:*)",
|
|
52
|
+
"mcp__mnemograph__search_nodes",
|
|
53
|
+
"mcp__mnemograph__read_graph",
|
|
54
|
+
"mcp__mnemograph__open_nodes",
|
|
55
|
+
"mcp__mnemograph__delete_entities",
|
|
56
|
+
"mcp__mnemograph__create_entities",
|
|
57
|
+
"mcp__mnemograph__delete_observations",
|
|
58
|
+
"mcp__mnemograph__add_observations",
|
|
59
|
+
"mcp__mnemograph__create_relations"
|
|
60
|
+
],
|
|
61
|
+
"additionalDirectories": [
|
|
62
|
+
"/Users/tm42/_graphmem/.claude"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
.venv/
|
|
8
|
+
venv/
|
|
9
|
+
ENV/
|
|
10
|
+
.eggs/
|
|
11
|
+
*.egg-info/
|
|
12
|
+
dist/
|
|
13
|
+
build/
|
|
14
|
+
|
|
15
|
+
# IDE
|
|
16
|
+
.idea/
|
|
17
|
+
.vscode/
|
|
18
|
+
*.swp
|
|
19
|
+
*.swo
|
|
20
|
+
*~
|
|
21
|
+
|
|
22
|
+
# Testing
|
|
23
|
+
.pytest_cache/
|
|
24
|
+
.coverage
|
|
25
|
+
htmlcov/
|
|
26
|
+
.tox/
|
|
27
|
+
|
|
28
|
+
# Project specific
|
|
29
|
+
.claude/memory/*.jsonl
|
|
30
|
+
.claude/memory/*.db
|
|
31
|
+
.claude/memory/*.json
|
|
32
|
+
|
|
33
|
+
# OS
|
|
34
|
+
.DS_Store
|
|
35
|
+
Thumbs.db
|
|
36
|
+
|
|
37
|
+
# uv
|
|
38
|
+
uv.lock
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.12
|