@nogataka/claw-memory 0.1.2 → 0.1.3

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.
@@ -3,14 +3,14 @@
3
3
  "owner": { "name": "nogataka" },
4
4
  "metadata": {
5
5
  "description": "claw-memory: local semantic memory + raw-log search for Claude Code",
6
- "version": "0.1.2"
6
+ "version": "0.1.3"
7
7
  },
8
8
  "plugins": [
9
9
  {
10
10
  "name": "claw-memory",
11
11
  "source": "./",
12
12
  "description": "Local semantic memory: auto-distill, recall injection, and raw Claude Code + Codex transcript search.",
13
- "version": "0.1.2"
13
+ "version": "0.1.3"
14
14
  }
15
15
  ]
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claw-memory",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Local semantic memory for Claude Code: auto-distills sessions, injects relevant past context, and searches raw Claude Code + Codex transcripts. sqlite-vec + local embeddings, no daemon, no Python.",
5
5
  "author": { "name": "nogataka" },
6
6
  "repository": "https://github.com/nogataka/claw-memory",
package/README.ja.md CHANGED
@@ -281,6 +281,14 @@ claw-memory uninstall [--codex | --claude-code]
281
281
  claw-memory ui --open # http://localhost:4319
282
282
  ```
283
283
 
284
+ **Claude Code プラグインだけ**で導入した場合(グローバル npm 未導入)、`claw-memory`
285
+ コマンドは `PATH` に乗りません。その場合は `npx` 経由で起動してください。
286
+
287
+ ```bash
288
+ npx @nogataka/claw-memory ui --open # http://localhost:4319
289
+ npx @nogataka/claw-memory ui --port 5000 --open
290
+ ```
291
+
284
292
  読み取り専用。プロジェクト・要約・会話チャンク(type / concepts / files 付き)・好みを
285
293
  閲覧でき、**🔎 ログ検索** で Claude Code + Codex の生ログを全文検索できます。開いている間
286
294
  は SSE で自動更新。それ以外はバックグラウンドで何も動きません — 確認したい時だけ起動して
package/README.md CHANGED
@@ -286,6 +286,14 @@ session ends (Stop hook / distill-codex) session starts (SessionStart hook / m
286
286
  claw-memory ui --open # http://localhost:4319
287
287
  ```
288
288
 
289
+ If you installed via the **Claude Code plugin only** (no global npm install), the
290
+ `claw-memory` binary isn't on your `PATH`. Run the viewer through `npx` instead:
291
+
292
+ ```bash
293
+ npx @nogataka/claw-memory ui --open # http://localhost:4319
294
+ npx @nogataka/claw-memory ui --port 5000 --open
295
+ ```
296
+
289
297
  Read-only. Browse projects, session summaries, conversation chunks (with type /
290
298
  concepts / files), and preferences; toggle **🔎 ログ検索** to full-text search raw
291
299
  Claude Code + Codex transcripts. Live-updates via SSE while open. Nothing runs in the
package/dist/core/llm.js CHANGED
@@ -63,6 +63,11 @@ async function completeAgentSdk(prompt, model) {
63
63
  maxTurns: 1,
64
64
  allowedTools: [],
65
65
  permissionMode: "bypassPermissions",
66
+ // SDK isolation: do NOT load ~/.claude or project settings into the
67
+ // distillation sub-session. Otherwise the user's own hooks (e.g. a Stop
68
+ // hook that plays a sound) and claw-memory's own hooks fire on every
69
+ // spawned sub-session — a beep storm and needless recursion.
70
+ settingSources: [],
66
71
  env: buildFullSdkEnv(),
67
72
  },
68
73
  });
@@ -5,7 +5,7 @@
5
5
  "hooks": [
6
6
  {
7
7
  "type": "command",
8
- "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" claw-hook.sh hook recall",
8
+ "command": "\"$CLAUDE_PLUGIN_ROOT/hooks/run-hook.cmd\" claw-hook.sh hook recall",
9
9
  "async": false
10
10
  }
11
11
  ]
@@ -16,7 +16,7 @@
16
16
  "hooks": [
17
17
  {
18
18
  "type": "command",
19
- "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" claw-hook.sh hook recall",
19
+ "command": "\"$CLAUDE_PLUGIN_ROOT/hooks/run-hook.cmd\" claw-hook.sh hook recall",
20
20
  "async": false
21
21
  }
22
22
  ]
@@ -27,7 +27,7 @@
27
27
  "hooks": [
28
28
  {
29
29
  "type": "command",
30
- "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" claw-hook.sh distill-codex --limit 5",
30
+ "command": "\"$CLAUDE_PLUGIN_ROOT/hooks/run-hook.cmd\" claw-hook.sh distill-codex --limit 5",
31
31
  "async": true
32
32
  }
33
33
  ]
package/hooks/hooks.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "hooks": [
6
6
  {
7
7
  "type": "command",
8
- "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" claw-hook.sh hook recall",
8
+ "command": "\"$CLAUDE_PLUGIN_ROOT/hooks/run-hook.cmd\" claw-hook.sh hook recall",
9
9
  "async": false
10
10
  }
11
11
  ]
@@ -16,7 +16,7 @@
16
16
  "hooks": [
17
17
  {
18
18
  "type": "command",
19
- "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" claw-hook.sh hook recall",
19
+ "command": "\"$CLAUDE_PLUGIN_ROOT/hooks/run-hook.cmd\" claw-hook.sh hook recall",
20
20
  "async": false
21
21
  }
22
22
  ]
@@ -27,7 +27,7 @@
27
27
  "hooks": [
28
28
  {
29
29
  "type": "command",
30
- "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" claw-hook.sh hook distill",
30
+ "command": "\"$CLAUDE_PLUGIN_ROOT/hooks/run-hook.cmd\" claw-hook.sh hook distill",
31
31
  "async": true
32
32
  }
33
33
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nogataka/claw-memory",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Independent, in-process semantic memory MCP server (sqlite-vec + local Xenova e5) with a lightweight web viewer. No daemon, no Python. Installable as a Claude Code plugin and a Codex MCP server.",
6
6
  "license": "MIT",