dev-memory-cli 0.18.2
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.
- package/LICENSE +21 -0
- package/README.md +362 -0
- package/bin/dev-memory.js +590 -0
- package/hooks/README.md +84 -0
- package/hooks/codex-hooks.json +32 -0
- package/hooks/hooks.json +60 -0
- package/lib/assets/tidy_review.html +889 -0
- package/lib/dev_memory_branch.py +853 -0
- package/lib/dev_memory_capture.py +1343 -0
- package/lib/dev_memory_common.py +1934 -0
- package/lib/dev_memory_context.py +129 -0
- package/lib/dev_memory_graduate.py +282 -0
- package/lib/dev_memory_setup.py +256 -0
- package/lib/dev_memory_tidy.py +1622 -0
- package/lib/ui-app.html +1052 -0
- package/lib/ui-server.js +330 -0
- package/package.json +52 -0
- package/scripts/hooks/_common.py +456 -0
- package/scripts/hooks/pre_compact.py +21 -0
- package/scripts/hooks/session_end.py +35 -0
- package/scripts/hooks/session_start.py +51 -0
- package/scripts/hooks/stop.py +35 -0
- package/suite-manifest.json +26 -0
package/hooks/hooks.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
3
|
+
"hooks": {
|
|
4
|
+
"SessionStart": [
|
|
5
|
+
{
|
|
6
|
+
"matcher": "*",
|
|
7
|
+
"hooks": [
|
|
8
|
+
{
|
|
9
|
+
"type": "command",
|
|
10
|
+
"command": "dev-memory-cli hook session-start"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"description": "Load repo+branch dev-memory context at session start",
|
|
14
|
+
"id": "dev-memory:session-start"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"PreCompact": [
|
|
18
|
+
{
|
|
19
|
+
"matcher": "*",
|
|
20
|
+
"hooks": [
|
|
21
|
+
{
|
|
22
|
+
"type": "command",
|
|
23
|
+
"command": "dev-memory-cli hook pre-compact",
|
|
24
|
+
"timeout": 20
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"description": "Refresh working-tree-derived navigation before compaction",
|
|
28
|
+
"id": "dev-memory:pre-compact"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"Stop": [
|
|
32
|
+
{
|
|
33
|
+
"matcher": "*",
|
|
34
|
+
"hooks": [
|
|
35
|
+
{
|
|
36
|
+
"type": "command",
|
|
37
|
+
"command": "dev-memory-cli hook stop",
|
|
38
|
+
"timeout": 15
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"description": "Persist lightweight HEAD markers after each response",
|
|
42
|
+
"id": "dev-memory:stop"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"SessionEnd": [
|
|
46
|
+
{
|
|
47
|
+
"matcher": "*",
|
|
48
|
+
"hooks": [
|
|
49
|
+
{
|
|
50
|
+
"type": "command",
|
|
51
|
+
"command": "dev-memory-cli hook session-end",
|
|
52
|
+
"timeout": 15
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"description": "Persist final HEAD marker at session end",
|
|
56
|
+
"id": "dev-memory:session-end"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|