@dzhechkov/harness-cli 0.3.260 → 0.3.261
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/.dz-manifest.json +7 -7
- package/README.md +7 -3
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +7 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/sbom.json +6 -6
- package/src/cli.ts +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzhechkov/harness-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.261",
|
|
4
4
|
"description": "The dz CLI — install AI skills for Claude Code, Codex, OpenCode, Hermes, OpenClaude, GitHub Copilot. 35 commands, 13 presets, 6 platform targets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/sbom.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"hashes": [
|
|
26
26
|
{
|
|
27
27
|
"alg": "SHA-256",
|
|
28
|
-
"content": "
|
|
28
|
+
"content": "61c71e355d633a88401a19c247e517d69f7a8d1483ea7549b3505eccb2a8740b"
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
31
|
},
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"hashes": [
|
|
106
106
|
{
|
|
107
107
|
"alg": "SHA-256",
|
|
108
|
-
"content": "
|
|
108
|
+
"content": "942d09c054994014e50139b807e1984586e172809b21e309114a5bf2ea92667c"
|
|
109
109
|
}
|
|
110
110
|
]
|
|
111
111
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"hashes": [
|
|
116
116
|
{
|
|
117
117
|
"alg": "SHA-256",
|
|
118
|
-
"content": "
|
|
118
|
+
"content": "43b1280af2070d30296162cc33a045a23452201b2da2ce7aec12eea1900451f3"
|
|
119
119
|
}
|
|
120
120
|
]
|
|
121
121
|
},
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"hashes": [
|
|
126
126
|
{
|
|
127
127
|
"alg": "SHA-256",
|
|
128
|
-
"content": "
|
|
128
|
+
"content": "d0847603ca911ccca9e0838d54dadd1924ac0d9008e103c4edaef16dc4be0678"
|
|
129
129
|
}
|
|
130
130
|
]
|
|
131
131
|
},
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"hashes": [
|
|
186
186
|
{
|
|
187
187
|
"alg": "SHA-256",
|
|
188
|
-
"content": "
|
|
188
|
+
"content": "582e9b8e1b919650b444b6be90cc3a1ae54e2fd190524fdb3ffa46c8f2058990"
|
|
189
189
|
}
|
|
190
190
|
]
|
|
191
191
|
},
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"hashes": [
|
|
206
206
|
{
|
|
207
207
|
"alg": "SHA-256",
|
|
208
|
-
"content": "
|
|
208
|
+
"content": "e6b54081432afb9d3f1ee8a851c0e6b5ec8012dad4b9ae02a0d9036772226044"
|
|
209
209
|
}
|
|
210
210
|
]
|
|
211
211
|
},
|
package/src/cli.ts
CHANGED
|
@@ -2300,8 +2300,13 @@ async function cmdRecall(options: Map<string, string>, flags: Set<string>, cwd:
|
|
|
2300
2300
|
// the domain-boost note that learning_bridge.py reads as a capability probe. Any
|
|
2301
2301
|
// consumer that parses this output line-wise has the same exposure, so the fix
|
|
2302
2302
|
// belongs at the point of rendering rather than in each reader.
|
|
2303
|
-
|
|
2304
|
-
|
|
2303
|
+
// Sanitise EVERY stored field that reaches the line, and every character a reader
|
|
2304
|
+
// might treat as a break — not just CR/LF. Round 4 forged the domain-boost note
|
|
2305
|
+
// twice over: once through `domain`, which was rendered raw, and once through a
|
|
2306
|
+
// U+2028 that Python's splitlines() honours and this replace did not.
|
|
2307
|
+
const oneLine = (v: string): string => v.replace(/[\r\n\u2028\u2029\u0085\v\f]+/g, ' ⏎ ');
|
|
2308
|
+
const shown = oneLine(h.pattern.pattern).slice(0, 80);
|
|
2309
|
+
write(` [${h.pattern.reward.toFixed(2)}] (${oneLine(h.pattern.domain)})${backendTag}${qTag} ${shown}`);
|
|
2305
2310
|
}
|
|
2306
2311
|
if (sawQuarantined) {
|
|
2307
2312
|
// The loop stays VISIBLE (ADR D2): a quarantined hit is shown, marked, and explained.
|