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.
Files changed (2) hide show
  1. package/dist/cli.js +7 -1
  2. 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
- ...await transcriptFingerprint(payload)
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hillclimb",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Extract and export AI coding tool logs grouped by repo",
5
5
  "license": "MIT",
6
6
  "type": "module",