jg-agent-hq 13.5.10 → 13.5.11
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,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 13.5.11
|
|
4
|
+
|
|
5
|
+
- Reuse shared SHA-256 hashing for redacted Claude result subtype fingerprints.
|
|
6
|
+
|
|
3
7
|
## 13.5.10
|
|
4
8
|
|
|
5
9
|
- Keep Claude control when a valid result arrives without a user-message UUID and without an active turn. Empty cycles produce no live turn or completion notice, and any input still waiting for replay completes under its own identity.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hashValue } from 'jg-crypto';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
// keep result diagnostics independent of structural validation so malformed results are visible too
|
|
4
4
|
const MAX_DIAGNOSTIC_IDS = 64;
|
|
@@ -54,7 +54,7 @@ const describeResult = (session, result) => {
|
|
|
54
54
|
replayedSteerIds: collectIds(session.replayedSteers ?? []),
|
|
55
55
|
subtype: knownSubtype.success ? knownSubtype.data : null,
|
|
56
56
|
subtypeFingerprint: !knownSubtype.success && typeof subtype === 'string' && subtype.length <= 64
|
|
57
|
-
?
|
|
57
|
+
? hashValue(subtype, 'sha256')
|
|
58
58
|
: null,
|
|
59
59
|
isError: typeof metadata?.is_error === 'boolean' ? metadata.is_error : null,
|
|
60
60
|
numTurns: TurnCountSchema.safeParse(metadata?.num_turns).data ?? null,
|
package/package.json
CHANGED