@srobroek/pi-worktrunk-merge-policy 0.7.4 → 1.0.0
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 +19 -0
- package/extensions/worktrunk.js +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## worktrunk [1.0.0](https://github.com/srobroek/harness-plugins/compare/worktrunk--v0.8.0...worktrunk--v1.0.0) (2026-12-04)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* **beads:** @srobroek/pi-safety no longer ships child-gates or
|
|
6
|
+
child-gates-plan.js. Install @srobroek/pi-child-gates for them.
|
|
7
|
+
|
|
8
|
+
* chore: update bun.lock for the child-gates workspace
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **beads:** escaped quotes and cd prefix in gates; child-gates as its own package ([21cb2eb](https://github.com/srobroek/harness-plugins/commit/21cb2eb1917d4473e5c250155962e6b9a7441c13))
|
|
13
|
+
|
|
14
|
+
## worktrunk [0.8.0](https://github.com/srobroek/harness-plugins/compare/worktrunk--v0.7.4...worktrunk--v0.8.0) (2026-12-02)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **beads:** add beads-hygiene ledger audit skill and ledger-auditor agents ([611b67a](https://github.com/srobroek/harness-plugins/commit/611b67a0a6e02ec7a1917170843feb946766a4a7))
|
|
19
|
+
|
|
1
20
|
## worktrunk [0.7.4](https://github.com/srobroek/harness-plugins/compare/worktrunk--v0.7.3...worktrunk--v0.7.4) (2026-11-29)
|
|
2
21
|
|
|
3
22
|
### Bug Fixes
|
package/extensions/worktrunk.js
CHANGED
|
@@ -35,6 +35,9 @@ var MCP_EXCLUDED_AGENTS = new Set([
|
|
|
35
35
|
"design-critic",
|
|
36
36
|
"journey-scribe",
|
|
37
37
|
"journey-validator",
|
|
38
|
+
"ledger-auditor",
|
|
39
|
+
"ledger-auditor-fast",
|
|
40
|
+
"ledger-auditor-high",
|
|
38
41
|
"mechanic",
|
|
39
42
|
"operator",
|
|
40
43
|
"orchestrator",
|
|
@@ -48,6 +51,8 @@ var MCP_EXCLUDED_AGENTS = new Set([
|
|
|
48
51
|
// lib/src/shell-tokenizer.ts
|
|
49
52
|
var SEPARATORS = new Set([";", "&", "|", "(", ")", `
|
|
50
53
|
`]);
|
|
54
|
+
var DOUBLE_QUOTE_ESCAPES = new Set(["$", "`", '"', "\\", `
|
|
55
|
+
`]);
|
|
51
56
|
function token(value, startsQuoted = false, sawQuote = false) {
|
|
52
57
|
return { value, startsQuoted, sawQuote };
|
|
53
58
|
}
|
|
@@ -77,6 +82,17 @@ function tokenizeShell(command, options = {}) {
|
|
|
77
82
|
quote = null;
|
|
78
83
|
continue;
|
|
79
84
|
}
|
|
85
|
+
if (quote === '"' && ch === "\\" && DOUBLE_QUOTE_ESCAPES.has(command[i + 1])) {
|
|
86
|
+
const next = command[++i];
|
|
87
|
+
if (next !== `
|
|
88
|
+
`) {
|
|
89
|
+
if (options.preserveBackslashes)
|
|
90
|
+
current += ch;
|
|
91
|
+
current += next;
|
|
92
|
+
}
|
|
93
|
+
started = true;
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
80
96
|
current += ch;
|
|
81
97
|
started = true;
|
|
82
98
|
continue;
|
|
@@ -163,6 +179,8 @@ function shellQuoteBalanced(command) {
|
|
|
163
179
|
if (quote !== null) {
|
|
164
180
|
if (ch === quote)
|
|
165
181
|
quote = null;
|
|
182
|
+
else if (quote === '"' && ch === "\\" && DOUBLE_QUOTE_ESCAPES.has(command[i + 1]))
|
|
183
|
+
i++;
|
|
166
184
|
continue;
|
|
167
185
|
}
|
|
168
186
|
if (ch === '"' || ch === "'")
|
package/package.json
CHANGED