claude-spotter 1.9.4 → 1.9.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
各節はそのversion公開時点の変更記録であり、後続versionにより置換された仕様を含む。
|
|
4
4
|
現行runtime契約は[`docs/00_overview.md`](https://github.com/kitepon/Spotter/blob/main/docs/00_overview.md)から辿る。
|
|
5
5
|
|
|
6
|
+
## 1.9.5 — 2026-10-10
|
|
7
|
+
|
|
8
|
+
- Claude / CodexのStop監査がfindingを出した時の固定`systemMessage`(「Spotter は直前の応答について利用可能ツールの
|
|
9
|
+
確認候補を記録しました。」)を出さない。どのツールの話かを含まず、読んでも対応できない知らせだった。
|
|
10
|
+
findingは従来どおり構造hook eventへ記録する。hookはfindingについてstdout・stderrへ何も出さない。
|
|
11
|
+
監査が失敗した時の固定の知らせと、UserPromptSubmitの提案は変えていない。
|
|
12
|
+
|
|
6
13
|
## 1.9.4 — 2026-10-09
|
|
7
14
|
|
|
8
15
|
- Windowsで、監査の制限時間と同時にCodexが自分で終わった時、`taskkill`がrootを見つけられず(exit 128)、
|
package/package.json
CHANGED
|
@@ -21,7 +21,6 @@ import {
|
|
|
21
21
|
} from '../hooks/lib.mjs';
|
|
22
22
|
import { discardLegacyPending } from '../hooks/pending-context.mjs';
|
|
23
23
|
import {
|
|
24
|
-
STOP_FINDING_SYSTEM_MESSAGE,
|
|
25
24
|
projectBackendFailure,
|
|
26
25
|
projectParentAdvice,
|
|
27
26
|
projectToolIds,
|
|
@@ -427,7 +426,7 @@ export async function runCodexStopHook({
|
|
|
427
426
|
return;
|
|
428
427
|
}
|
|
429
428
|
|
|
430
|
-
|
|
429
|
+
// A finding is recorded only. The hook prints nothing for it.
|
|
431
430
|
await recordCodexHookEventSafe(recordHookEventFn, {
|
|
432
431
|
projectRoot,
|
|
433
432
|
event: {
|
|
@@ -38,8 +38,6 @@ const FAILURE_OUTPUTS = Object.freeze({
|
|
|
38
38
|
}),
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export const STOP_FINDING_SYSTEM_MESSAGE = 'Spotter は直前の応答について利用可能ツールの確認候補を記録しました。';
|
|
42
|
-
|
|
43
41
|
export function projectParentAdvice(toolIds) {
|
|
44
42
|
const accepted = projectToolIds(toolIds);
|
|
45
43
|
if (accepted.length === 0) return '';
|
package/src/hooks/stop.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from './lib.mjs';
|
|
14
14
|
import { getLastAssistantText } from './transcript-reader.mjs';
|
|
15
15
|
import { sendRequest } from '../daemon/transport.mjs';
|
|
16
|
-
import {
|
|
16
|
+
import { projectBackendFailure, projectToolIds } from './parent-output-projector.mjs';
|
|
17
17
|
|
|
18
18
|
const TIMEOUT_MS = 50_000;
|
|
19
19
|
|
|
@@ -114,7 +114,7 @@ export async function runStop({
|
|
|
114
114
|
return; // nothing to defer
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
// A finding is recorded only. The hook prints nothing for it.
|
|
118
118
|
await recordHookEventFn({
|
|
119
119
|
projectRoot,
|
|
120
120
|
writeError: reportError,
|