opencode-swarm 7.200.9 → 7.200.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/.opencode/skills/ci-fix-monitor/SKILL.md +49 -0
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +11 -2
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/completion-observer.d.ts +2 -1
- package/dist/background/pending-delegations.d.ts +9 -1
- package/dist/background/pr-review-contract.d.ts +8 -0
- package/dist/cli/{attest-task-79gp34gf.js → attest-task-y0n69zgb.js} +78 -76
- package/dist/cli/{auto-checkpoint-kt9mr7ma.js → auto-checkpoint-hyaksmtg.js} +12 -12
- package/dist/cli/{capability-probe-dwqn2609.js → capability-probe-qjndmx6z.js} +1 -1
- package/dist/cli/{checkpoint-e7t1zbz2.js → checkpoint-t0p781sc.js} +23 -23
- package/dist/cli/{coder-settlement-rehndcey.js → coder-settlement-nh88s6es.js} +14 -13
- package/dist/cli/{config-doctor-hcemxnra.js → config-doctor-sf7hc0q4.js} +19 -19
- package/dist/cli/{core-k8mvhsty.js → core-p168fw3r.js} +6 -3
- package/dist/cli/{curation-policy-gy868ec3.js → curation-policy-1a23ftnv.js} +6 -6
- package/dist/cli/{curator-ayenbz0y.js → curator-5ayzhk7v.js} +53 -52
- package/dist/cli/{curator-drift-fwzrv9tw.js → curator-drift-jx9kyndc.js} +10 -10
- package/dist/cli/curator-llm-factory-ytfkvtxs.js +83 -0
- package/dist/cli/{doctor-knowledge-receipt-phase-id-jdy6651j.js → doctor-knowledge-receipt-phase-id-2gjvxndy.js} +10 -10
- package/dist/cli/{evidence-summary-service-4jm1hd1r.js → evidence-summary-service-972sqht5.js} +26 -25
- package/dist/cli/{gate-evidence-anef2bqv.js → gate-evidence-n1m842gj.js} +10 -9
- package/dist/cli/guardrail-explain-6yv78gmk.js +84 -0
- package/dist/cli/{guardrail-log-pv3bq9hj.js → guardrail-log-z5pzgkcv.js} +8 -8
- package/dist/cli/{guardrail-reset-k8b9yrec.js → guardrail-reset-w0nxcs6a.js} +53 -52
- package/dist/cli/{hive-promoter-zqscx6pb.js → hive-promoter-3q0738xg.js} +53 -52
- package/dist/cli/{index-4krkevgc.js → index-001tkp0j.js} +1 -1
- package/dist/cli/{index-zy943kpp.js → index-0an54fza.js} +18 -13
- package/dist/cli/{index-czsx86m5.js → index-0g0x9ets.js} +53 -52
- package/dist/cli/{index-rdyfrdcp.js → index-2n7a184b.js} +201 -33
- package/dist/cli/{index-4fr3r8k5.js → index-2vj8d8te.js} +1 -1
- package/dist/cli/{index-hhq5f82z.js → index-5k88v1e7.js} +81 -36
- package/dist/cli/{index-c2k7q723.js → index-6cppzd9c.js} +1 -1
- package/dist/cli/{index-yyrnkc3a.js → index-6m551cng.js} +2 -2
- package/dist/cli/{index-y16v2q1x.js → index-814q5t5s.js} +5 -5
- package/dist/cli/{index-08jd4gz2.js → index-8g9rn3rp.js} +121 -40
- package/dist/cli/{index-8srvdpw6.js → index-8xtdxy91.js} +2 -2
- package/dist/cli/{index-mn75z39t.js → index-9qy3tzt5.js} +1 -1
- package/dist/cli/{index-6q2s7r67.js → index-aj41bscz.js} +8 -8
- package/dist/cli/{index-2c4hjeea.js → index-bnbhqvsn.js} +8 -8
- package/dist/cli/{index-9jty56xr.js → index-bv9tqmpm.js} +5 -5
- package/dist/cli/{index-casbh4y7.js → index-ce6qarfq.js} +13032 -12437
- package/dist/cli/{index-y7c4hqcj.js → index-ck7jpn0y.js} +1 -1
- package/dist/cli/{index-p2dst45x.js → index-ckq78kq1.js} +1 -1
- package/dist/cli/{index-8mrentmw.js → index-dp6hy23p.js} +58 -53
- package/dist/cli/{index-4fkxdnc7.js → index-erp7fk72.js} +1 -1
- package/dist/cli/{index-qawbxp81.js → index-gkvk9et2.js} +17 -17
- package/dist/cli/{index-kxp43wbw.js → index-h1chaf63.js} +29 -29
- package/dist/cli/{index-4ya4krts.js → index-hhzwfyd7.js} +611 -1376
- package/dist/cli/{index-x3rxa3sh.js → index-jt9j02tm.js} +6 -6
- package/dist/cli/{index-tecp3a77.js → index-kd1n3ne2.js} +9 -9
- package/dist/cli/{index-ss8nfrbb.js → index-ke881z7m.js} +15 -15
- package/dist/cli/{index-9ws7m02r.js → index-krjamprc.js} +2 -2
- package/dist/cli/{index-f8nb470m.js → index-kzr3nby8.js} +4 -4
- package/dist/cli/{index-02vgzrpg.js → index-mq4eyhtf.js} +7 -7
- package/dist/cli/{index-4tpzdegx.js → index-njg8zvqe.js} +7 -7
- package/dist/cli/{index-hh87yny7.js → index-nnc23ddw.js} +6 -6
- package/dist/cli/{index-7c4gckzq.js → index-nzhfhpng.js} +5 -5
- package/dist/cli/{index-q8vfw61p.js → index-pjrx4jkq.js} +1 -1
- package/dist/cli/{index-xhxbv7mz.js → index-qdz6zysj.js} +11 -11
- package/dist/cli/{index-mhd6kdzr.js → index-qyj4383m.js} +1 -1
- package/dist/cli/index-r097ettz.js +1330 -0
- package/dist/cli/{index-tvdn9gr0.js → index-ra3erqpk.js} +15 -15
- package/dist/cli/{index-2x015vjy.js → index-rck7v4r4.js} +1 -1
- package/dist/cli/{index-vtpt8yns.js → index-rjsqf4hv.js} +2 -2
- package/dist/cli/{index-bk8r4m9j.js → index-rpvp88js.js} +2 -2
- package/dist/cli/{index-2k5348b6.js → index-ssp4t8g6.js} +58 -57
- package/dist/cli/{index-v839c9mv.js → index-tggyracy.js} +1 -1
- package/dist/cli/{index-hzy6n59p.js → index-ve74c3a8.js} +6 -6
- package/dist/cli/{index-4ph7ad0b.js → index-vx1j2t5p.js} +2 -2
- package/dist/cli/{index-7h22y3ew.js → index-w0afnznk.js} +2 -2
- package/dist/cli/{index-xh50xsgf.js → index-x8sh8v4a.js} +8 -8
- package/dist/cli/{index-6901y99d.js → index-xht6gprr.js} +35 -22
- package/dist/cli/{index-qw2wfz92.js → index-yn6jrxen.js} +18 -20
- package/dist/cli/{index-94s844qn.js → index-yq73sd3w.js} +4 -4
- package/dist/cli/index.js +57 -56
- package/dist/cli/{knowledge-escalator-m4b4q218.js → knowledge-escalator-2e92rdsx.js} +18 -18
- package/dist/cli/{knowledge-events-wwg0cc7m.js → knowledge-events-gzqwr94e.js} +15 -15
- package/dist/cli/{knowledge-link-13t3nfrz.js → knowledge-link-r7e2t5c1.js} +5 -5
- package/dist/cli/{knowledge-store-07fwtdzy.js → knowledge-store-6j8d1gm4.js} +7 -7
- package/dist/cli/{knowledge-validator-8492vmn3.js → knowledge-validator-wt2tcfg7.js} +9 -9
- package/dist/cli/{mcp-b1wyrebx.js → mcp-ky6xn6ys.js} +1 -1
- package/dist/cli/{model-preflight-315wr8nt.js → model-preflight-ajt55s59.js} +56 -55
- package/dist/cli/{pending-delegations-tpa7wpny.js → pending-delegations-wry31649.js} +14 -14
- package/dist/cli/{pr-subscriptions-ev2bkbrz.js → pr-subscriptions-dsdjbfr4.js} +13 -13
- package/dist/cli/{pr-workflow-gate-3cg64r61.js → pr-workflow-gate-0vcq1m95.js} +53 -52
- package/dist/cli/{runner-q1g9atrv.js → runner-s4422dq4.js} +6 -6
- package/dist/cli/{scan-cursor-3pfx6mbh.js → scan-cursor-1zgrg7kp.js} +8 -8
- package/dist/cli/{schema-km0fywpx.js → schema-q9xbwkec.js} +2 -2
- package/dist/cli/{scope-persistence-xctbs0aj.js → scope-persistence-4wwmytwh.js} +18 -18
- package/dist/cli/{server-d1mcxa8s.js → server-q8ydxk7z.js} +79 -69
- package/dist/cli/{skill-generator-tce30v8g.js → skill-generator-b1eqcxej.js} +20 -20
- package/dist/cli/{snapshot-coordination-init-t7vfaqhw.js → snapshot-coordination-init-0yva5015.js} +53 -52
- package/dist/cli/{speckit-checkoff-tcn1dqt0.js → speckit-checkoff-sh9w7j5b.js} +5 -5
- package/dist/cli/{telemetry-cr8q16wk.js → telemetry-j7zr1dht.js} +1 -1
- package/dist/cli/workflow-wal-file-a2c8e920.js +32 -0
- package/dist/cli/{workspace-snapshot-7hws89e9.js → workspace-snapshot-ksdspd74.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-5jb0p5aa.js → worktree-collision-ownership-xr6crt8c.js} +15 -15
- package/dist/cli/{worktree-isolation-cxg8fgba.js → worktree-isolation-0126b5e7.js} +53 -52
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +3 -0
- package/dist/hooks/delegation-gate.d.ts +6 -0
- package/dist/hooks/guardrails/audit-log.d.ts +2 -0
- package/dist/hooks/guardrails/cmd-delete-grammar.d.ts +47 -0
- package/dist/hooks/guardrails/destructive-command.d.ts +11 -3
- package/dist/hooks/guardrails/shell-audit-store.d.ts +2 -0
- package/dist/hooks/guardrails/tool-before.d.ts +16 -0
- package/dist/hooks/shell-write-detect.d.ts +10 -0
- package/dist/index.js +689 -687
- package/dist/memory/redaction.d.ts +13 -3
- package/dist/pr-review/legacy-transcript-adapter.d.ts +15 -4
- package/dist/sandbox/macos/sandbox-exec-executor.d.ts +24 -0
- package/dist/workflow/coder-settlement.d.ts +5 -0
- package/dist/worktree/core.d.ts +3 -0
- package/dist/worktree/merge.d.ts +15 -1
- package/dist/worktree/ownership.d.ts +3 -0
- package/dist/worktree/settlement-artifact-lifecycle.d.ts +32 -0
- package/dist/worktree/settlement-source-recovery.d.ts +12 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-kja1c81k.js +0 -82
- package/dist/cli/guardrail-explain-agaet7r5.js +0 -83
package/dist/cli/{snapshot-coordination-init-t7vfaqhw.js → snapshot-coordination-init-0yva5015.js}
RENAMED
|
@@ -8,79 +8,80 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-axqyjreb.js";
|
|
11
|
+
} from "./index-ce6qarfq.js";
|
|
12
|
+
import"./index-ckq78kq1.js";
|
|
13
|
+
import"./index-5k88v1e7.js";
|
|
14
|
+
import"./index-yn6jrxen.js";
|
|
15
|
+
import"./index-x8sh8v4a.js";
|
|
16
|
+
import"./index-vx1j2t5p.js";
|
|
18
17
|
import"./index-txdagbh7.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
18
|
+
import"./index-axqyjreb.js";
|
|
19
|
+
import"./index-aj41bscz.js";
|
|
20
|
+
import"./index-ve74c3a8.js";
|
|
21
|
+
import"./index-jt9j02tm.js";
|
|
21
22
|
import"./index-rdec0y3z.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
23
|
+
import"./index-bv9tqmpm.js";
|
|
24
|
+
import"./index-8g9rn3rp.js";
|
|
25
|
+
import"./index-r097ettz.js";
|
|
26
|
+
import"./index-rpvp88js.js";
|
|
27
|
+
import"./index-kd1n3ne2.js";
|
|
27
28
|
import"./index-x5jwegqw.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-w0afnznk.js";
|
|
30
|
+
import"./index-0an54fza.js";
|
|
31
|
+
import"./index-bnbhqvsn.js";
|
|
32
|
+
import"./index-tggyracy.js";
|
|
30
33
|
import"./index-pt7h91zc.js";
|
|
31
34
|
import"./index-q7sjgr1y.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
35
|
+
import"./index-gkvk9et2.js";
|
|
36
|
+
import"./index-h1chaf63.js";
|
|
34
37
|
import"./index-6b295cas.js";
|
|
35
38
|
import"./index-9nyqt3kb.js";
|
|
36
|
-
import"./index-
|
|
39
|
+
import"./index-nnc23ddw.js";
|
|
37
40
|
import"./index-697mg68b.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-rdyfrdcp.js";
|
|
42
|
-
import"./index-spggmr30.js";
|
|
43
|
-
import"./index-f8nb470m.js";
|
|
44
|
-
import"./index-ss8nfrbb.js";
|
|
45
|
-
import"./index-m9zzj4ee.js";
|
|
46
|
-
import"./index-4krkevgc.js";
|
|
47
|
-
import"./index-94s844qn.js";
|
|
48
|
-
import"./index-mhd6kdzr.js";
|
|
49
|
-
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-9ws7m02r.js";
|
|
51
|
-
import"./index-g22dps7x.js";
|
|
52
|
-
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-2c4hjeea.js";
|
|
54
|
-
import"./index-v839c9mv.js";
|
|
55
|
-
import"./index-tvdn9gr0.js";
|
|
56
|
-
import"./index-2x015vjy.js";
|
|
57
|
-
import"./index-y7c4hqcj.js";
|
|
41
|
+
import"./index-ra3erqpk.js";
|
|
42
|
+
import"./index-rck7v4r4.js";
|
|
43
|
+
import"./index-ck7jpn0y.js";
|
|
58
44
|
import"./index-ry16d01s.js";
|
|
59
45
|
import"./index-rdm3px0g.js";
|
|
60
|
-
import"./index-
|
|
46
|
+
import"./index-dp6hy23p.js";
|
|
47
|
+
import"./index-rjsqf4hv.js";
|
|
61
48
|
import"./index-7pmbnjvj.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
49
|
+
import"./index-nzhfhpng.js";
|
|
50
|
+
import"./index-kzr3nby8.js";
|
|
51
|
+
import"./index-ke881z7m.js";
|
|
52
|
+
import"./index-m9zzj4ee.js";
|
|
53
|
+
import"./index-8xtdxy91.js";
|
|
54
|
+
import"./index-yq73sd3w.js";
|
|
55
|
+
import"./index-qyj4383m.js";
|
|
56
|
+
import"./index-rtry5xyf.js";
|
|
57
|
+
import"./index-qdz6zysj.js";
|
|
65
58
|
import"./index-vzm6zre7.js";
|
|
66
59
|
import"./index-ae75rja9.js";
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
60
|
+
import"./index-erp7fk72.js";
|
|
61
|
+
import"./index-krjamprc.js";
|
|
62
|
+
import"./index-g22dps7x.js";
|
|
63
|
+
import"./index-0725jpp7.js";
|
|
64
|
+
import"./index-3t46mez1.js";
|
|
65
|
+
import"./index-mq4eyhtf.js";
|
|
66
|
+
import"./index-814q5t5s.js";
|
|
67
|
+
import"./index-bk5tah7q.js";
|
|
68
|
+
import"./index-hhzwfyd7.js";
|
|
69
|
+
import"./index-2n7a184b.js";
|
|
70
|
+
import"./index-spggmr30.js";
|
|
71
|
+
import"./index-001tkp0j.js";
|
|
72
|
+
import"./index-9rwhas09.js";
|
|
73
|
+
import"./index-6m551cng.js";
|
|
74
|
+
import"./index-pjrx4jkq.js";
|
|
70
75
|
import"./index-t7hmqgjy.js";
|
|
71
|
-
import"./index-
|
|
76
|
+
import"./index-6cppzd9c.js";
|
|
72
77
|
import"./index-te9hq2f4.js";
|
|
73
78
|
import"./index-ejhxgyvm.js";
|
|
74
79
|
import"./index-7g4c7s5r.js";
|
|
75
|
-
import"./index-
|
|
76
|
-
import"./index-3t46mez1.js";
|
|
77
|
-
import"./index-02vgzrpg.js";
|
|
80
|
+
import"./index-9qy3tzt5.js";
|
|
78
81
|
import"./index-sp2cxpaq.js";
|
|
79
82
|
import"./index-qbxk2rn6.js";
|
|
80
83
|
import"./index-zgwm4ryv.js";
|
|
81
|
-
import"./index-y16v2q1x.js";
|
|
82
84
|
import"./index-xfzkq1k4.js";
|
|
83
|
-
import"./index-bk5tah7q.js";
|
|
84
85
|
import"./index-gknz3bv1.js";
|
|
85
86
|
import"./index-zpsr8rpc.js";
|
|
86
87
|
import"./index-a76rekgs.js";
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
parseSpeckitTasksContent,
|
|
8
8
|
propagateSpeckitCheckoff,
|
|
9
9
|
writeSpeckitCheckoffLedger
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-nzhfhpng.js";
|
|
11
|
+
import"./index-mq4eyhtf.js";
|
|
12
|
+
import"./index-814q5t5s.js";
|
|
13
|
+
import"./index-bk5tah7q.js";
|
|
11
14
|
import"./index-ejhxgyvm.js";
|
|
12
15
|
import"./index-7g4c7s5r.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-02vgzrpg.js";
|
|
16
|
+
import"./index-9qy3tzt5.js";
|
|
15
17
|
import"./index-sp2cxpaq.js";
|
|
16
18
|
import"./index-qbxk2rn6.js";
|
|
17
19
|
import"./index-zgwm4ryv.js";
|
|
18
|
-
import"./index-y16v2q1x.js";
|
|
19
20
|
import"./index-xfzkq1k4.js";
|
|
20
|
-
import"./index-bk5tah7q.js";
|
|
21
21
|
import"./index-gknz3bv1.js";
|
|
22
22
|
import"./index-zpsr8rpc.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
_internals1 as _internals,
|
|
4
|
+
readWorkflowWalFile,
|
|
5
|
+
readWorkflowWalFileSync,
|
|
6
|
+
writeWorkflowWalFile
|
|
7
|
+
} from "./index-hhzwfyd7.js";
|
|
8
|
+
import"./index-2n7a184b.js";
|
|
9
|
+
import"./index-spggmr30.js";
|
|
10
|
+
import"./index-001tkp0j.js";
|
|
11
|
+
import"./index-9rwhas09.js";
|
|
12
|
+
import"./index-6m551cng.js";
|
|
13
|
+
import"./index-pjrx4jkq.js";
|
|
14
|
+
import"./index-t7hmqgjy.js";
|
|
15
|
+
import"./index-6cppzd9c.js";
|
|
16
|
+
import"./index-te9hq2f4.js";
|
|
17
|
+
import"./index-ejhxgyvm.js";
|
|
18
|
+
import"./index-7g4c7s5r.js";
|
|
19
|
+
import"./index-9qy3tzt5.js";
|
|
20
|
+
import"./index-sp2cxpaq.js";
|
|
21
|
+
import"./index-qbxk2rn6.js";
|
|
22
|
+
import"./index-zgwm4ryv.js";
|
|
23
|
+
import"./index-xfzkq1k4.js";
|
|
24
|
+
import"./index-gknz3bv1.js";
|
|
25
|
+
import"./index-zpsr8rpc.js";
|
|
26
|
+
import"./index-a76rekgs.js";
|
|
27
|
+
export {
|
|
28
|
+
writeWorkflowWalFile,
|
|
29
|
+
readWorkflowWalFileSync,
|
|
30
|
+
readWorkflowWalFile,
|
|
31
|
+
_internals
|
|
32
|
+
};
|
|
@@ -52,10 +52,10 @@ import {
|
|
|
52
52
|
shouldSkipSnapshot,
|
|
53
53
|
switchPrFeedbackTrackingCandidateAsync,
|
|
54
54
|
workspaceSnapshotMatches
|
|
55
|
-
} from "./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
} from "./index-rpvp88js.js";
|
|
56
|
+
import"./index-001tkp0j.js";
|
|
57
57
|
import"./index-te9hq2f4.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-9qy3tzt5.js";
|
|
59
59
|
import"./index-sp2cxpaq.js";
|
|
60
60
|
import"./index-qbxk2rn6.js";
|
|
61
61
|
import"./index-zgwm4ryv.js";
|
|
@@ -6,41 +6,41 @@ import {
|
|
|
6
6
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
7
7
|
removeWorktreeProvisioningOwner,
|
|
8
8
|
scanWorktreeProvisioningOwnersForRecovery
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-w0afnznk.js";
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-0an54fza.js";
|
|
14
|
+
import"./index-tggyracy.js";
|
|
14
15
|
import {
|
|
15
16
|
scanWorktreeMergeFailuresForRecovery
|
|
16
17
|
} from "./index-697mg68b.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-2x015vjy.js";
|
|
20
|
-
import"./index-y7c4hqcj.js";
|
|
18
|
+
import"./index-rck7v4r4.js";
|
|
19
|
+
import"./index-ck7jpn0y.js";
|
|
21
20
|
import"./index-ry16d01s.js";
|
|
22
21
|
import"./index-rdm3px0g.js";
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-rjsqf4hv.js";
|
|
24
23
|
import"./index-7pmbnjvj.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
24
|
+
import"./index-8xtdxy91.js";
|
|
25
|
+
import"./index-qdz6zysj.js";
|
|
27
26
|
import"./index-vzm6zre7.js";
|
|
28
27
|
import"./index-ae75rja9.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
28
|
+
import"./index-erp7fk72.js";
|
|
29
|
+
import"./index-bk5tah7q.js";
|
|
30
|
+
import"./index-001tkp0j.js";
|
|
31
|
+
import"./index-6m551cng.js";
|
|
32
|
+
import"./index-pjrx4jkq.js";
|
|
32
33
|
import"./index-t7hmqgjy.js";
|
|
33
|
-
import"./index-
|
|
34
|
+
import"./index-6cppzd9c.js";
|
|
34
35
|
import {
|
|
35
36
|
canonicalRootKeyFresh
|
|
36
37
|
} from "./index-te9hq2f4.js";
|
|
37
38
|
import"./index-ejhxgyvm.js";
|
|
38
39
|
import"./index-7g4c7s5r.js";
|
|
39
|
-
import"./index-
|
|
40
|
+
import"./index-9qy3tzt5.js";
|
|
40
41
|
import"./index-sp2cxpaq.js";
|
|
41
42
|
import"./index-qbxk2rn6.js";
|
|
42
43
|
import"./index-zgwm4ryv.js";
|
|
43
|
-
import"./index-bk5tah7q.js";
|
|
44
44
|
import"./index-gknz3bv1.js";
|
|
45
45
|
import"./index-zpsr8rpc.js";
|
|
46
46
|
import"./index-a76rekgs.js";
|
|
@@ -25,81 +25,82 @@ import {
|
|
|
25
25
|
sanitizeWorktreeTaskId,
|
|
26
26
|
standardWorktreeByCallID,
|
|
27
27
|
standardWorktreeSerializationSessions
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-axqyjreb.js";
|
|
28
|
+
} from "./index-ce6qarfq.js";
|
|
29
|
+
import"./index-ckq78kq1.js";
|
|
30
|
+
import"./index-5k88v1e7.js";
|
|
31
|
+
import"./index-yn6jrxen.js";
|
|
32
|
+
import"./index-x8sh8v4a.js";
|
|
33
|
+
import"./index-vx1j2t5p.js";
|
|
35
34
|
import"./index-txdagbh7.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-axqyjreb.js";
|
|
36
|
+
import"./index-aj41bscz.js";
|
|
37
|
+
import"./index-ve74c3a8.js";
|
|
38
|
+
import"./index-jt9j02tm.js";
|
|
38
39
|
import"./index-rdec0y3z.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
40
|
+
import"./index-bv9tqmpm.js";
|
|
41
|
+
import"./index-8g9rn3rp.js";
|
|
42
|
+
import"./index-r097ettz.js";
|
|
43
|
+
import"./index-rpvp88js.js";
|
|
44
|
+
import"./index-kd1n3ne2.js";
|
|
44
45
|
import"./index-x5jwegqw.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-w0afnznk.js";
|
|
47
|
+
import"./index-0an54fza.js";
|
|
48
|
+
import"./index-bnbhqvsn.js";
|
|
49
|
+
import"./index-tggyracy.js";
|
|
47
50
|
import"./index-pt7h91zc.js";
|
|
48
51
|
import"./index-q7sjgr1y.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
52
|
+
import"./index-gkvk9et2.js";
|
|
53
|
+
import"./index-h1chaf63.js";
|
|
51
54
|
import"./index-6b295cas.js";
|
|
52
55
|
import"./index-9nyqt3kb.js";
|
|
53
|
-
import"./index-
|
|
56
|
+
import"./index-nnc23ddw.js";
|
|
54
57
|
import"./index-697mg68b.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
58
|
+
import"./index-ra3erqpk.js";
|
|
59
|
+
import"./index-rck7v4r4.js";
|
|
60
|
+
import"./index-ck7jpn0y.js";
|
|
61
|
+
import"./index-ry16d01s.js";
|
|
62
|
+
import"./index-rdm3px0g.js";
|
|
63
|
+
import"./index-dp6hy23p.js";
|
|
64
|
+
import"./index-rjsqf4hv.js";
|
|
65
|
+
import"./index-7pmbnjvj.js";
|
|
66
|
+
import"./index-nzhfhpng.js";
|
|
67
|
+
import"./index-kzr3nby8.js";
|
|
68
|
+
import"./index-ke881z7m.js";
|
|
62
69
|
import"./index-m9zzj4ee.js";
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
70
|
+
import"./index-8xtdxy91.js";
|
|
71
|
+
import"./index-yq73sd3w.js";
|
|
72
|
+
import"./index-qyj4383m.js";
|
|
66
73
|
import"./index-rtry5xyf.js";
|
|
74
|
+
import"./index-qdz6zysj.js";
|
|
75
|
+
import"./index-vzm6zre7.js";
|
|
76
|
+
import"./index-ae75rja9.js";
|
|
77
|
+
import"./index-erp7fk72.js";
|
|
67
78
|
import {
|
|
68
79
|
resolveWorktreeIsolationConfig
|
|
69
|
-
} from "./index-
|
|
80
|
+
} from "./index-krjamprc.js";
|
|
70
81
|
import"./index-g22dps7x.js";
|
|
71
82
|
import"./index-0725jpp7.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
75
|
-
import"./index-
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
78
|
-
import"./index-
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-7pmbnjvj.js";
|
|
81
|
-
import"./index-8srvdpw6.js";
|
|
83
|
+
import"./index-3t46mez1.js";
|
|
84
|
+
import"./index-mq4eyhtf.js";
|
|
85
|
+
import"./index-814q5t5s.js";
|
|
86
|
+
import"./index-bk5tah7q.js";
|
|
87
|
+
import"./index-hhzwfyd7.js";
|
|
88
|
+
import"./index-2n7a184b.js";
|
|
89
|
+
import"./index-spggmr30.js";
|
|
90
|
+
import"./index-001tkp0j.js";
|
|
82
91
|
import"./index-9rwhas09.js";
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
85
|
-
import"./index-ae75rja9.js";
|
|
86
|
-
import"./index-4fkxdnc7.js";
|
|
87
|
-
import"./index-yyrnkc3a.js";
|
|
88
|
-
import"./index-q8vfw61p.js";
|
|
92
|
+
import"./index-6m551cng.js";
|
|
93
|
+
import"./index-pjrx4jkq.js";
|
|
89
94
|
import"./index-t7hmqgjy.js";
|
|
90
|
-
import"./index-
|
|
95
|
+
import"./index-6cppzd9c.js";
|
|
91
96
|
import"./index-te9hq2f4.js";
|
|
92
97
|
import"./index-ejhxgyvm.js";
|
|
93
98
|
import"./index-7g4c7s5r.js";
|
|
94
|
-
import"./index-
|
|
95
|
-
import"./index-3t46mez1.js";
|
|
96
|
-
import"./index-02vgzrpg.js";
|
|
99
|
+
import"./index-9qy3tzt5.js";
|
|
97
100
|
import"./index-sp2cxpaq.js";
|
|
98
101
|
import"./index-qbxk2rn6.js";
|
|
99
102
|
import"./index-zgwm4ryv.js";
|
|
100
|
-
import"./index-y16v2q1x.js";
|
|
101
103
|
import"./index-xfzkq1k4.js";
|
|
102
|
-
import"./index-bk5tah7q.js";
|
|
103
104
|
import"./index-gknz3bv1.js";
|
|
104
105
|
import"./index-zpsr8rpc.js";
|
|
105
106
|
import"./index-a76rekgs.js";
|
|
@@ -16,6 +16,7 @@ import { resolveGitExecutable } from '../../utils/git-executable.js';
|
|
|
16
16
|
import type { WorktreeHandle } from '../../worktree';
|
|
17
17
|
import { attemptMergeBackFromDirty, cleanupOrphanedBranches, postMergeCleanup, provisionWorktree, pruneStaleWorktreeMetadata, recoverMergeBackFromImmutableCoordinates, removeWorktree, startupOrphanRecovery } from '../../worktree';
|
|
18
18
|
import type { DirtyMergeOptions, ImmutableMergeRecoveryCoordinates, MergeOperationProvenance } from '../../worktree/merge';
|
|
19
|
+
import { assertSettlementArtifactsRemovable, withSettlementArtifactLifecycle } from '../../worktree/settlement-artifact-lifecycle';
|
|
19
20
|
import type { MergeStrategy } from '../../worktree/types';
|
|
20
21
|
import type { WorktreeProvisioningOwnerRemovalIdentity } from './worktree-provisioning-owner';
|
|
21
22
|
import { recordWorktreeProvisioningOwner, removeWorktreeProvisioningOwner } from './worktree-provisioning-owner';
|
|
@@ -417,6 +418,8 @@ export declare function readLaneEnvFileFromDisk(worktreePath: string, laneIndex:
|
|
|
417
418
|
* here via getters/setters) to mock worktree provisioning, merge-back, etc.
|
|
418
419
|
*/
|
|
419
420
|
export declare const _internals: {
|
|
421
|
+
withSettlementArtifactLifecycle: typeof withSettlementArtifactLifecycle;
|
|
422
|
+
assertSettlementArtifactsRemovable: typeof assertSettlementArtifactsRemovable;
|
|
420
423
|
/** Epic v2 C3: committed landing for a task of the open epic. */
|
|
421
424
|
epicCommitLandingFor: typeof epicCommitLandingFor;
|
|
422
425
|
provisionWorktree: typeof provisionWorktree;
|
|
@@ -534,6 +534,12 @@ declare function resolveEvidenceTaskId(args: Record<string, unknown> | undefined
|
|
|
534
534
|
*/
|
|
535
535
|
export declare const _internals: {
|
|
536
536
|
isEpicOpenForProject: typeof isEpicOpenForProject;
|
|
537
|
+
/**
|
|
538
|
+
* #3502 review (PRR-007): set by createDelegationGateHook so tests can
|
|
539
|
+
* observe the settlement-side invalidation gate for a specific hook
|
|
540
|
+
* instance (did THIS dispatch's route persist fail for this task?).
|
|
541
|
+
*/
|
|
542
|
+
routeInvalidationProbe: ((callID: string, sessionId: string, taskId: string) => boolean) | null;
|
|
537
543
|
/** Epic v2 C4: wave-only coder admission + the wave's parallel/isolation policy. */
|
|
538
544
|
resolveEpicDispatchPolicy: typeof resolveEpicDispatchPolicy;
|
|
539
545
|
resolveEpicPrFeedbackConflict: typeof resolveEpicPrFeedbackConflict;
|
|
@@ -64,6 +64,8 @@ export interface ScopeViolationDecision {
|
|
|
64
64
|
declaredScope: string;
|
|
65
65
|
resolvedScope: string;
|
|
66
66
|
action: string;
|
|
67
|
+
/** Shell write operator that tripped the gate (issue #3495 item 4). */
|
|
68
|
+
operator?: string;
|
|
67
69
|
}
|
|
68
70
|
export interface DestructiveBlockDecision {
|
|
69
71
|
type: 'destructive_block';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* cmd.exe rd/rmdir/del recursion-switch grammar (leaf module — no local
|
|
3
|
+
* imports: both the destructive guard (guardrails/destructive-command.ts)
|
|
4
|
+
* and the shell-write detector (shell-write-detect.ts) consume it, and
|
|
5
|
+
* destructive-command already imports from shell-write-detect, so hosting
|
|
6
|
+
* the grammar in either would create a cycle).
|
|
7
|
+
*
|
|
8
|
+
* Modeled from executed cmd.exe ground truth (PR #3499 review round):
|
|
9
|
+
* - cmd scans each UNQUOTED argument for the FIRST `/` — everything from it
|
|
10
|
+
* to the end of the token is switch text; the text before it is the path.
|
|
11
|
+
* `rd zzz/s` therefore deletes `zzz` recursively (`rd zzz /s`), and so do
|
|
12
|
+
* `rd ../s` and `rd ./s`.
|
|
13
|
+
* - A fully double-quoted token is a path; cmd does not scan it for
|
|
14
|
+
* switches (`rd "/s" x` does not recurse — `"/s"` is a path).
|
|
15
|
+
* - Single quotes are NOT quotes for cmd (`rd 'zzz/s'` splits at the slash).
|
|
16
|
+
* - `^/` caret escapes decode to `/` (normalized by dcNormalizeCommand).
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Whether slash-separated switch TEXT (the characters after the first
|
|
20
|
+
* unquoted `/` of a cmd.exe argument) parses as a switch cluster: every
|
|
21
|
+
* slash-separated segment is 1–2 ASCII letters — `s`, `S`, `q`, `s/q`,
|
|
22
|
+
* `sq`, `qs`. Multi-letter segments never qualify: `share` and
|
|
23
|
+
* `src/old` are not switch names (real cmd.exe rejects `rd a/share/b` with
|
|
24
|
+
* "Parameter format not correct" — nothing is deletable, so the argument is
|
|
25
|
+
* a plain path operand, and on POSIX it stays an ordinary nested path).
|
|
26
|
+
*/
|
|
27
|
+
export declare function dcIsSwitchClusterText(text: string): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Parse the argument text of a cmd.exe rd/rmdir/del command for the
|
|
30
|
+
* recursion switch and its deletion targets.
|
|
31
|
+
*
|
|
32
|
+
* - Leading `/` with valid switch letters: pure switch token; a quoted span
|
|
33
|
+
* glued after the letters (`/s"file.txt"`) is the deletion target.
|
|
34
|
+
* - `/` at index > 0 with valid switch letters containing `s`: the command
|
|
35
|
+
* recurses over the path prefix (`rd zzz/s` → target `zzz`).
|
|
36
|
+
* - Invalid switch text (`a/share/b` → cmd errors "Parameter format not
|
|
37
|
+
* correct"): nothing is deletable; the token is a plain path operand and
|
|
38
|
+
* never fires — on POSIX executors it stays an ordinary nested path.
|
|
39
|
+
* - A fully double-quoted token is a path operand, never a switch.
|
|
40
|
+
*
|
|
41
|
+
* Returns `fires` (the recursion switch is present) and the deletion
|
|
42
|
+
* targets to evaluate when it fires.
|
|
43
|
+
*/
|
|
44
|
+
export declare function dcParseWindowsRecursiveDelete(args: string): {
|
|
45
|
+
fires: boolean;
|
|
46
|
+
targets: string[];
|
|
47
|
+
};
|
|
@@ -136,11 +136,19 @@ export declare function dcEvaluateRecursiveDeleteTargets(input: {
|
|
|
136
136
|
* ln -s <target> <link> (when target is outside cwd)
|
|
137
137
|
*/
|
|
138
138
|
export declare function dcCheckJunctionCreation(segment: string, cwd: string): string | null;
|
|
139
|
+
export { dcIsSwitchClusterText, dcParseWindowsRecursiveDelete, } from './cmd-delete-grammar';
|
|
139
140
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
141
|
+
* Whether a whitespace-delimited cmd.exe argument behaves like a switch
|
|
142
|
+
* cluster (issue #3495): a leading `/` followed by switch text where EVERY
|
|
143
|
+
* slash-separated segment is 1–2 ASCII letters — `/s`, `/S`, `/q`, `/s/q`,
|
|
144
|
+
* `/sq`, `/qs`. Path-like tokens never qualify: `/share` and `/src/old`
|
|
145
|
+
* carry multi-letter segments, and a quoted token (`"/s"`, `"a/share/b"`)
|
|
146
|
+
* does not start with `/`. Verified against real cmd.exe: a quoted `"/s"`
|
|
147
|
+
* is treated as a path, and `/sq` is rejected by cmd itself ("Parameter
|
|
148
|
+
* format not correct"), so classifying these clusters as switches is at
|
|
149
|
+
* worst fail-closed parity. Grammar text lives in ./cmd-delete-grammar.
|
|
142
150
|
*/
|
|
143
|
-
export declare function
|
|
151
|
+
export declare function dcIsWindowsSwitchCluster(token: string): boolean;
|
|
144
152
|
/**
|
|
145
153
|
* Extract candidate target paths from a destructive PowerShell command.
|
|
146
154
|
* Handles both `Remove-Item <path> -Recurse` and `Remove-Item -Recurse <path>` orderings.
|
|
@@ -73,6 +73,8 @@ export interface ShellAuditLimits {
|
|
|
73
73
|
maxCommandChars: number;
|
|
74
74
|
/** Free-text (reason) truncation bound applied at line-shaping time. */
|
|
75
75
|
maxReasonChars: number;
|
|
76
|
+
/** Path truncation bound applied at line-shaping time (issue #3495). */
|
|
77
|
+
maxPathChars: number;
|
|
76
78
|
/**
|
|
77
79
|
* Hard bound on any single whole-file store read. A legacy header-less
|
|
78
80
|
* file larger than this migrates through the bounded STREAMING reader
|
|
@@ -63,6 +63,22 @@ export interface ToolBeforeContext {
|
|
|
63
63
|
}
|
|
64
64
|
/** @internal test seam */
|
|
65
65
|
export declare function _resetSandboxUnavailableWarningState(): void;
|
|
66
|
+
/**
|
|
67
|
+
* Structured denial from the shell write-scope gate (issue #3495). The
|
|
68
|
+
* message stays the operator-facing contract; these fields carry the
|
|
69
|
+
* structured facts the audit row needs (resolved target + write operator) so
|
|
70
|
+
* the toolBefore catch never re-parses human-readable text to recover them.
|
|
71
|
+
* Either field may be absent when the denial site does not know it (e.g. the
|
|
72
|
+
* dynamic-path denial has an operator but no resolvable target).
|
|
73
|
+
*/
|
|
74
|
+
export declare class ShellWriteBlockedError extends Error {
|
|
75
|
+
readonly writeTarget?: string;
|
|
76
|
+
readonly writeOperator?: string;
|
|
77
|
+
constructor(message: string, details?: {
|
|
78
|
+
writeTarget?: string;
|
|
79
|
+
writeOperator?: string;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
66
82
|
/**
|
|
67
83
|
* Whether the executor that will run a bare `rmdir` has POSIX rmdir(2)
|
|
68
84
|
* semantics, the only basis for the empty-directory-removal exemption. Under
|
|
@@ -104,6 +104,16 @@ export interface ResolvedWriteTarget {
|
|
|
104
104
|
*/
|
|
105
105
|
export declare function mergeWriteAnalyses(primary: WriteAnalysis, additional: WriteAnalysis, additionalIsAuthoritative?: boolean, wrapperDeclared?: boolean): WriteAnalysis;
|
|
106
106
|
export declare function buildDedupeKey(category: string, operator: string, path: string | null | undefined): string;
|
|
107
|
+
/**
|
|
108
|
+
* Real bash builtins (#3485 feedback): `builtin CMD` executes CMD only when
|
|
109
|
+
* CMD names a shell builtin — for anything external (`builtin rm …`,
|
|
110
|
+
* `builtin curl …`) bash errors "not a shell builtin" and runs nothing, so
|
|
111
|
+
* neither the dc unwrap nor the detector walk may unwrap those forms (doing
|
|
112
|
+
* so fabricated destructive/write detections of commands that never ran).
|
|
113
|
+
* Not exhaustive: membership only gates UNWRAPPING, and missing an exotic
|
|
114
|
+
* builtin degrades to the safe no-unwrap direction.
|
|
115
|
+
*/
|
|
116
|
+
export declare const BASH_BUILTIN_COMMANDS: Set<string>;
|
|
107
117
|
/** True when any unquoted word token is a known PowerShell cmdlet. */
|
|
108
118
|
export declare function isPowerShellShaped(command: string): boolean;
|
|
109
119
|
/**
|