devmemory 0.1.0__tar.gz → 0.1.1__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.
- {devmemory-0.1.0 → devmemory-0.1.1}/PKG-INFO +49 -4
- {devmemory-0.1.0 → devmemory-0.1.1}/README.md +48 -3
- devmemory-0.1.1/docs/auto-sync.gif +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/pyproject.toml +1 -1
- {devmemory-0.1.0 → devmemory-0.1.1}/.cursor/rules/devmemory-context.mdc +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/.cursor/rules/devmemory.mdc +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/.env.example +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/.github/workflows/ci.yml +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/.gitignore +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/CHANGELOG.md +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/CONTRIBUTING.md +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/LICENSE +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/Makefile +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/__init__.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/cli.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/__init__.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/add.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/config_cmd.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/context.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/install.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/learn.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/search.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/status.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/commands/sync.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/__init__.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/ams_client.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/config.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/git_ai_parser.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/llm_client.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/memory_formatter.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/core/sync_state.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/hooks/__init__.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/hooks/post_commit.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/rules/devmemory-context.mdc +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/devmemory/rules/devmemory.mdc +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/docker-compose.yml +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/scripts/install.sh +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/scripts/verify.sh +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/tests/test_git_ai_parser.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/tests/test_learn.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/tests/test_llm_client.py +0 -0
- {devmemory-0.1.0 → devmemory-0.1.1}/tests/test_memory_formatter.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devmemory
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Sync AI coding context from Git AI to Redis Agent Memory Server for semantic search and recall.
|
|
5
5
|
Project-URL: Homepage, https://github.com/devmemory/devmemory
|
|
6
6
|
Project-URL: Repository, https://github.com/devmemory/devmemory
|
|
@@ -92,10 +92,13 @@ DevMemory syncs enriched memories to Redis AMS (automatic via post-commit hook)
|
|
|
92
92
|
Imagine:
|
|
93
93
|
|
|
94
94
|
```bash
|
|
95
|
-
devmemory status
|
|
95
|
+
devmemory status # ✅ Stack + hooks look good
|
|
96
96
|
git commit -am "feat: add user auth" # You used an AI agent heavily
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
# Normally the post-commit hook runs this for you in the background:
|
|
99
|
+
# (sleep 2 && devmemory sync --latest 2>/dev/null) &
|
|
100
|
+
# but you can also trigger it manually:
|
|
101
|
+
devmemory sync --latest
|
|
99
102
|
devmemory search "how do we handle auth in this service?"
|
|
100
103
|
```
|
|
101
104
|
|
|
@@ -110,7 +113,49 @@ You get:
|
|
|
110
113
|
- Relevant per‑file code snippets
|
|
111
114
|
- The original prompts that drove the changes
|
|
112
115
|
|
|
113
|
-
|
|
116
|
+
Sample search result:
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
$ devmemory search "why we use redis memory server instead of other databases?"
|
|
120
|
+
|
|
121
|
+
Searching for: why we use redis memory server instead of other databases?
|
|
122
|
+
Synthesizing answer...
|
|
123
|
+
|
|
124
|
+
╭────────────────────────────────────────────────────────────── Answer ───────────────────────────────────────────────────────────────╮
|
|
125
|
+
│ │
|
|
126
|
+
│ Short answer: because Redis Agent Memory Server (AMS) already provides the exact semantic-memory features we need (embeddings, │
|
|
127
|
+
│ topic extraction, NER, deduplication) while being battle‑tested infra, so it reduces operational complexity and keeps the CLI │
|
|
128
|
+
│ lightweight. │
|
|
129
|
+
│ │
|
|
130
|
+
│ Details / evidence from the repo: │
|
|
131
|
+
│ │
|
|
132
|
+
│ • AMS handles embeddings, topic extraction and NER internally and provides built‑in memory deduplication (see │
|
|
133
|
+
│ .devmemory/knowledge/architecture.md, commit b0abbb04ad13). │
|
|
134
|
+
│ • The same AMS image serves both REST (port 8000) and MCP (port 9050) endpoints used by the CLI (see docker-compose.yml and │
|
|
135
|
+
│ ams_client.py; feature enable commit f025d01e107c). │
|
|
136
|
+
│ • README and ams_client.py show we store semantic vectors in Redis AMS and call its /v1/long-term-memory APIs, avoiding the need │
|
|
137
|
+
│ to run a separate vector DB (README.md commit 2b7602a5318a and devmemory/core/ams_client.py). │
|
|
138
|
+
│ │
|
|
139
|
+
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
140
|
+
|
|
141
|
+
Sources (10 relevant, 20 filtered out)
|
|
142
|
+
|
|
143
|
+
# Score Type Source
|
|
144
|
+
1 0.302 semantic Why Redis Agent Memory Server
|
|
145
|
+
2 0.614 semantic Memory Types and Their Purpose
|
|
146
|
+
3 0.613 semantic feat: enable devmemory CLI with redis AMS and git-ai (f025d01e107c)
|
|
147
|
+
4 0.641 semantic feat: add more metadata from the session to the memory (4ccf7529bd4e)
|
|
148
|
+
5 0.671 semantic fix: use the --quite to show the one line update (139d559bdaa0)
|
|
149
|
+
6 0.677 semantic Fix: terminal hang issue and the correct saved memories coun (daf56666f1f1)
|
|
150
|
+
7 0.512 episodic .devmemory/knowledge/architecture.md (b0abbb04ad13)
|
|
151
|
+
8 0.550 episodic devmemory/core/ams_client.py (f025d01e107c)
|
|
152
|
+
9 0.588 episodic README.md (2b7602a5318a)
|
|
153
|
+
10 0.561 episodic docker-compose.yml (f025d01e107c)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Auto-sync example:
|
|
157
|
+
|
|
158
|
+

|
|
114
159
|
|
|
115
160
|
---
|
|
116
161
|
|
|
@@ -60,10 +60,13 @@ DevMemory syncs enriched memories to Redis AMS (automatic via post-commit hook)
|
|
|
60
60
|
Imagine:
|
|
61
61
|
|
|
62
62
|
```bash
|
|
63
|
-
devmemory status
|
|
63
|
+
devmemory status # ✅ Stack + hooks look good
|
|
64
64
|
git commit -am "feat: add user auth" # You used an AI agent heavily
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
# Normally the post-commit hook runs this for you in the background:
|
|
67
|
+
# (sleep 2 && devmemory sync --latest 2>/dev/null) &
|
|
68
|
+
# but you can also trigger it manually:
|
|
69
|
+
devmemory sync --latest
|
|
67
70
|
devmemory search "how do we handle auth in this service?"
|
|
68
71
|
```
|
|
69
72
|
|
|
@@ -78,7 +81,49 @@ You get:
|
|
|
78
81
|
- Relevant per‑file code snippets
|
|
79
82
|
- The original prompts that drove the changes
|
|
80
83
|
|
|
81
|
-
|
|
84
|
+
Sample search result:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
$ devmemory search "why we use redis memory server instead of other databases?"
|
|
88
|
+
|
|
89
|
+
Searching for: why we use redis memory server instead of other databases?
|
|
90
|
+
Synthesizing answer...
|
|
91
|
+
|
|
92
|
+
╭────────────────────────────────────────────────────────────── Answer ───────────────────────────────────────────────────────────────╮
|
|
93
|
+
│ │
|
|
94
|
+
│ Short answer: because Redis Agent Memory Server (AMS) already provides the exact semantic-memory features we need (embeddings, │
|
|
95
|
+
│ topic extraction, NER, deduplication) while being battle‑tested infra, so it reduces operational complexity and keeps the CLI │
|
|
96
|
+
│ lightweight. │
|
|
97
|
+
│ │
|
|
98
|
+
│ Details / evidence from the repo: │
|
|
99
|
+
│ │
|
|
100
|
+
│ • AMS handles embeddings, topic extraction and NER internally and provides built‑in memory deduplication (see │
|
|
101
|
+
│ .devmemory/knowledge/architecture.md, commit b0abbb04ad13). │
|
|
102
|
+
│ • The same AMS image serves both REST (port 8000) and MCP (port 9050) endpoints used by the CLI (see docker-compose.yml and │
|
|
103
|
+
│ ams_client.py; feature enable commit f025d01e107c). │
|
|
104
|
+
│ • README and ams_client.py show we store semantic vectors in Redis AMS and call its /v1/long-term-memory APIs, avoiding the need │
|
|
105
|
+
│ to run a separate vector DB (README.md commit 2b7602a5318a and devmemory/core/ams_client.py). │
|
|
106
|
+
│ │
|
|
107
|
+
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
108
|
+
|
|
109
|
+
Sources (10 relevant, 20 filtered out)
|
|
110
|
+
|
|
111
|
+
# Score Type Source
|
|
112
|
+
1 0.302 semantic Why Redis Agent Memory Server
|
|
113
|
+
2 0.614 semantic Memory Types and Their Purpose
|
|
114
|
+
3 0.613 semantic feat: enable devmemory CLI with redis AMS and git-ai (f025d01e107c)
|
|
115
|
+
4 0.641 semantic feat: add more metadata from the session to the memory (4ccf7529bd4e)
|
|
116
|
+
5 0.671 semantic fix: use the --quite to show the one line update (139d559bdaa0)
|
|
117
|
+
6 0.677 semantic Fix: terminal hang issue and the correct saved memories coun (daf56666f1f1)
|
|
118
|
+
7 0.512 episodic .devmemory/knowledge/architecture.md (b0abbb04ad13)
|
|
119
|
+
8 0.550 episodic devmemory/core/ams_client.py (f025d01e107c)
|
|
120
|
+
9 0.588 episodic README.md (2b7602a5318a)
|
|
121
|
+
10 0.561 episodic docker-compose.yml (f025d01e107c)
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Auto-sync example:
|
|
125
|
+
|
|
126
|
+

|
|
82
127
|
|
|
83
128
|
---
|
|
84
129
|
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|