hillclimb 0.4.2 → 0.4.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.
- package/dist/cli.js +7 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -11150,7 +11150,13 @@ async function eventContext(tool, payload) {
|
|
|
11150
11150
|
conversationId: stringOrNull(payload.conversation_id),
|
|
11151
11151
|
turnId,
|
|
11152
11152
|
eventNonce,
|
|
11153
|
-
|
|
11153
|
+
// Only per-turn stop events need the transcript to disambiguate (they
|
|
11154
|
+
// often lack a turn id); sessionEnd is keyed by sessionId. Folding it in
|
|
11155
|
+
// for sessionEnd would diverge the agent/git eventIds whenever the two
|
|
11156
|
+
// hooks send different payloads — e.g. the opencode plugin passes
|
|
11157
|
+
// transcript_path to the upload spawn but not the git-traces spawn,
|
|
11158
|
+
// causing a 60s orphan wait and a duplicate debug-log upload.
|
|
11159
|
+
...eventKind === "stop" ? await transcriptFingerprint(payload) : {}
|
|
11154
11160
|
};
|
|
11155
11161
|
const eventId = crypto.createHash("sha256").update(JSON.stringify(fingerprint)).digest("hex").slice(0, 32);
|
|
11156
11162
|
return {
|