clawmem 0.2.4 → 0.2.5
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/AGENTS.md +3 -0
- package/CLAUDE.md +3 -0
- package/SKILL.md +3 -0
- package/package.json +1 -1
- package/src/clawmem.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -636,6 +636,9 @@ Symptom: "UserPromptSubmit hook error" on context-surfacing hook (intermittent)
|
|
|
636
636
|
→ Default hook timeout is 8s (since v0.1.1). If you have an older install, re-run
|
|
637
637
|
`clawmem setup hooks`. If persistent, restart the watcher: `systemctl --user restart
|
|
638
638
|
clawmem-watcher.service`. Healthy memory is under 100MB — if 400MB+, restart clears it.
|
|
639
|
+
→ v0.2.4 fix: hook's SQLite busy_timeout was 500ms — too tight. During A-MEM enrichment
|
|
640
|
+
or heavy indexing, watcher write locks exceed 500ms, causing SQLITE_BUSY. Raised to
|
|
641
|
+
5000ms (matches MCP server). Still completes within the 8s outer timeout.
|
|
639
642
|
|
|
640
643
|
Symptom: WSL hangs or becomes unresponsive during long sessions / watcher has 100K+ FDs
|
|
641
644
|
→ Pre-v0.2.3: fs.watch(recursive: true) registered inotify watches on EVERY subdirectory,
|
package/CLAUDE.md
CHANGED
|
@@ -636,6 +636,9 @@ Symptom: "UserPromptSubmit hook error" on context-surfacing hook (intermittent)
|
|
|
636
636
|
→ Default hook timeout is 8s (since v0.1.1). If you have an older install, re-run
|
|
637
637
|
`clawmem setup hooks`. If persistent, restart the watcher: `systemctl --user restart
|
|
638
638
|
clawmem-watcher.service`. Healthy memory is under 100MB — if 400MB+, restart clears it.
|
|
639
|
+
→ v0.2.4 fix: hook's SQLite busy_timeout was 500ms — too tight. During A-MEM enrichment
|
|
640
|
+
or heavy indexing, watcher write locks exceed 500ms, causing SQLITE_BUSY. Raised to
|
|
641
|
+
5000ms (matches MCP server). Still completes within the 8s outer timeout.
|
|
639
642
|
|
|
640
643
|
Symptom: WSL hangs or becomes unresponsive during long sessions / watcher has 100K+ FDs
|
|
641
644
|
→ Pre-v0.2.3: fs.watch(recursive: true) registered inotify watches on EVERY subdirectory,
|
package/SKILL.md
CHANGED
|
@@ -642,6 +642,9 @@ Symptom: "UserPromptSubmit hook error" on context-surfacing hook (intermittent)
|
|
|
642
642
|
-> Default hook timeout is 8s (since v0.1.1). If you have an older install, re-run
|
|
643
643
|
`clawmem setup hooks`. If persistent, restart the watcher: `systemctl --user restart
|
|
644
644
|
clawmem-watcher.service`. Healthy memory is under 100MB — if 400MB+, restart clears it.
|
|
645
|
+
-> v0.2.4 fix: hook's SQLite busy_timeout was 500ms — too tight. During A-MEM enrichment
|
|
646
|
+
or heavy indexing, watcher write locks exceed 500ms, causing SQLITE_BUSY. Raised to
|
|
647
|
+
5000ms (matches MCP server). Still completes within the 8s outer timeout.
|
|
645
648
|
|
|
646
649
|
Symptom: WSL hangs or becomes unresponsive during long sessions / watcher has 100K+ FDs
|
|
647
650
|
-> Pre-v0.2.3: fs.watch(recursive: true) registered inotify watches on EVERY subdirectory,
|
package/package.json
CHANGED
package/src/clawmem.ts
CHANGED
|
@@ -772,7 +772,7 @@ async function cmdSurface(args: string[]) {
|
|
|
772
772
|
if (!input) process.exit(0);
|
|
773
773
|
|
|
774
774
|
// Open store: writable for both (context-surfacing writes dedupe data)
|
|
775
|
-
const s = createStore(undefined, { busyTimeout:
|
|
775
|
+
const s = createStore(undefined, { busyTimeout: 5000 });
|
|
776
776
|
|
|
777
777
|
try {
|
|
778
778
|
if (isBootstrap) {
|