claude-spotter 1.5.0 → 1.5.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
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.1 — 2026-08-04
4
+
5
+ - **main-server hubのsystemd PATHを明示設定可能にした。** user managerがnvmのnpm binを
6
+ 継承しない実環境に合わせ、hub unitも`dashboard-hub.env`を読む。device unitと同じく、
7
+ 実測したnpm binをPATHへ置き、端末固有のversion pathを配布unitへ焼かない。
8
+
3
9
  ## 1.5.0 — 2026-08-04
4
10
 
5
11
  - **評価結果を端末別Web dashboardで表示。** 各端末の`~/.spotter/evaluation.db`をrequestごとに読み、
@@ -40,6 +40,12 @@ SPOTTER_DEVICE_ID=main-server
40
40
  SPOTTER_DEVICE_NAME=main-server
41
41
  ```
42
42
 
43
+ device envと同じPATHを`~/.config/spotter/dashboard-hub.env`にも置く。main-serverの例:
44
+
45
+ ```ini
46
+ PATH=/home/kite/.nvm/versions/node/v24.14.1/bin:/usr/local/bin:/usr/bin:/bin
47
+ ```
48
+
43
49
  ```sh
44
50
  systemctl --user daemon-reload
45
51
  systemctl --user enable --now spotter-dashboard-device.service spotter-dashboard-hub.service
@@ -47,8 +53,7 @@ curl --fail http://127.0.0.1:53940/_spotter/health
47
53
  curl --fail http://172.18.0.1:53940/
48
54
  ```
49
55
 
50
- systemd user managerの`PATH`から`spotter`が見えない場合だけ、ユーザー環境の実際のnpm binを
51
- unitの`Environment=PATH=...`として追加する。別の起動経路へfallbackしない。
56
+ device envにも同じPATH行を置く。値は各端末で実測したnpm binを使い、別の起動経路へfallbackしない。
52
57
 
53
58
  ## FOX WSL2
54
59
 
@@ -4,6 +4,7 @@ After=network.target
4
4
 
5
5
  [Service]
6
6
  Type=simple
7
+ EnvironmentFile=%h/.config/spotter/dashboard-hub.env
7
8
  ExecStart=/usr/bin/env spotter dashboard hub --config %h/.config/spotter/dashboard-hub.json --host 172.18.0.1 --port 53940
8
9
  Restart=on-failure
9
10
  RestartSec=10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-spotter",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Audit agent running alongside Claude Code that catches missed tool calls — 気づく役と実行する役の分離",
5
5
  "type": "module",
6
6
  "bin": {