claude-spotter 1.6.0 → 1.6.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
  各節はそのversion公開時点の変更記録であり、後続versionにより置換された仕様を含む。
4
4
  現行runtime契約は[`docs/00_overview.md`](docs/00_overview.md)から辿る。
5
5
 
6
+ ## 1.6.1 — 2026-08-24
7
+
8
+ - **Cursor hook が Homebrew Cellar の版付き Node を焼かない。** `spotter cursor-hook install` は
9
+ Codex hook と同じ安定 Node path を使い、版更新で sessionStart が消えるのを防ぐ。
10
+
6
11
  ## 1.6.0 — 2026-08-24
7
12
 
8
13
  - **Cursor を tool-db host として足した。** `src/host/adapters.mjs` に
@@ -1,6 +1,6 @@
1
1
  # Spotter評価dashboard運用
2
2
 
3
- 現行npm配布版: **v1.6.0**(2026-08-24)。v1.5.13はOS依存・ベンダー依存の内部配置だけを
3
+ 現行npm配布版: **v1.6.1**(2026-08-24)。v1.5.13はOS依存・ベンダー依存の内部配置だけを
4
4
  変更した挙動同一リファクタで、評価・dashboardのrouting構成は変更していない。
5
5
 
6
6
  この文書はservice設定の正本であり、各端末に現在installされているnpm versionの台帳ではない。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-spotter",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Audit agent running alongside Claude Code that catches missed tool calls — 気づく役と実行する役の分離",
5
5
  "type": "module",
6
6
  "bin": {
@@ -4,6 +4,7 @@ import { homedir } from 'node:os';
4
4
  import { dirname, join, resolve } from 'node:path';
5
5
  import { fileURLToPath } from 'node:url';
6
6
  import { spawnRefreshDetached } from '../hooks/spawn-daemon.mjs';
7
+ import { resolveCodexHookNodePath } from './codex-hook-cmd.mjs';
7
8
  import {
8
9
  die,
9
10
  findSpotterMarker,
@@ -90,7 +91,7 @@ export function cursorCwd(input) {
90
91
 
91
92
  export async function installCursorHooks({
92
93
  cursorHome = defaultCursorHome(),
93
- nodePath = process.execPath,
94
+ nodePath = resolveCodexHookNodePath(),
94
95
  spotterBin = SPOTTER_BIN,
95
96
  } = {}) {
96
97
  const hooksPath = join(cursorHome, 'hooks.json');