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` に
|
package/package.json
CHANGED
|
@@ -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 =
|
|
94
|
+
nodePath = resolveCodexHookNodePath(),
|
|
94
95
|
spotterBin = SPOTTER_BIN,
|
|
95
96
|
} = {}) {
|
|
96
97
|
const hooksPath = join(cursorHome, 'hooks.json');
|