opencode-swarm 7.172.3 → 7.173.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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/pending-delegations.d.ts +2 -0
- package/dist/ci/evaluate.d.ts +13 -0
- package/dist/ci/index.d.ts +4 -4
- package/dist/ci/runtime.d.ts +7 -6
- package/dist/cli/{coder-settlement-953gq8yr.js → coder-settlement-f60aqxyv.js} +10 -10
- package/dist/cli/{config-doctor-avg2n7zg.js → config-doctor-nvw2fwrn.js} +2 -2
- package/dist/cli/{core-9gyeekh7.js → core-z68xfzar.js} +3 -3
- package/dist/cli/{curation-policy-yep7t261.js → curation-policy-tx4kb30e.js} +4 -4
- package/dist/cli/{curator-w99yjeja.js → curator-93a3pyvv.js} +35 -35
- package/dist/cli/{curator-drift-z8p6kwqg.js → curator-drift-047n8fjw.js} +4 -4
- package/dist/cli/curator-llm-factory-xkhzrdkk.js +72 -0
- package/dist/cli/{evidence-summary-service-7099px21.js → evidence-summary-service-s22vfx64.js} +14 -14
- package/dist/cli/{gate-evidence-dpjqqz2c.js → gate-evidence-kz044xwh.js} +5 -5
- package/dist/cli/guardrail-explain-5nyr0vnx.js +73 -0
- package/dist/cli/{guardrail-log-742pxhff.js → guardrail-log-sh9ecphn.js} +6 -6
- package/dist/cli/{guardrail-reset-nagdgrbn.js → guardrail-reset-m56x3djm.js} +35 -35
- package/dist/cli/{hive-promoter-k2wf2s5z.js → hive-promoter-1hfyd1gn.js} +35 -35
- package/dist/cli/{index-j7zrvqnf.js → index-0dfhahxm.js} +2 -2
- package/dist/cli/{index-4xb2549e.js → index-0y9fqm5d.js} +1 -1
- package/dist/cli/{index-20cdbfq3.js → index-10vr7289.js} +1 -1
- package/dist/cli/{index-vcapf7mj.js → index-1pnw3jkr.js} +7 -6
- package/dist/cli/{index-whab5d23.js → index-1r2avghn.js} +3 -3
- package/dist/cli/{index-tef8vhhp.js → index-3312a4k1.js} +37 -37
- package/dist/cli/{index-jx2xbws0.js → index-3n16qq3z.js} +7 -7
- package/dist/cli/{index-yxegcfy5.js → index-43dmpa9w.js} +1 -1
- package/dist/cli/{index-p2txw1sb.js → index-579nzg03.js} +1 -1
- package/dist/cli/{index-rxakec16.js → index-7gkdxs00.js} +6 -6
- package/dist/cli/{index-ve0sgqp6.js → index-8xkr8p2b.js} +7 -7
- package/dist/cli/{index-ygx8dqx5.js → index-915wxcgs.js} +4 -4
- package/dist/cli/{index-8p30wyx0.js → index-bsnpv4xd.js} +1 -1
- package/dist/cli/{index-jjaqrtv1.js → index-btxf9k1r.js} +10 -10
- package/dist/cli/{index-jg2s11sg.js → index-dktpzjy9.js} +1 -1
- package/dist/cli/{index-yh3fj6az.js → index-e8tscab8.js} +120 -6
- package/dist/cli/{index-52479s2h.js → index-ejrqyrsr.js} +2 -2
- package/dist/cli/{index-2n16srdc.js → index-evf5r7bk.js} +1 -1
- package/dist/cli/{index-ccncmdfx.js → index-fb5rj8sk.js} +7 -7
- package/dist/cli/{index-y6bqbe76.js → index-fnx0jzf7.js} +1 -1
- package/dist/cli/{index-kb7fdfa1.js → index-fxac6j9v.js} +35 -35
- package/dist/cli/{index-j5sx95zk.js → index-gd40ehzt.js} +5 -5
- package/dist/cli/{index-9h6zhnk0.js → index-hhws1xkc.js} +1 -1
- package/dist/cli/{index-01mjyjdt.js → index-kdyvk541.js} +1 -1
- package/dist/cli/{index-xd1abbh3.js → index-m08ee28a.js} +47 -23
- package/dist/cli/{index-efbdfkw9.js → index-m51cmzxt.js} +1 -1
- package/dist/cli/{index-8rgw1289.js → index-mq2y8qpg.js} +5 -5
- package/dist/cli/{index-kerhh5q4.js → index-mt8pbzda.js} +1 -1
- package/dist/cli/{index-a1187fx5.js → index-ndvgkxpf.js} +2 -2
- package/dist/cli/{index-nhh50fv0.js → index-njdy6w9x.js} +2882 -2572
- package/dist/cli/{index-s4ne4vyj.js → index-nrsnman7.js} +3 -3
- package/dist/cli/{index-cbmt52r8.js → index-nztmfgvw.js} +4 -4
- package/dist/cli/{index-amje22mj.js → index-pserzhck.js} +1 -1
- package/dist/cli/{index-xfdpbke0.js → index-sftt3gdv.js} +2 -2
- package/dist/cli/{index-fdmcqg7f.js → index-tztqvzf5.js} +2 -2
- package/dist/cli/{index-j8z3t7dv.js → index-wr4m11x4.js} +1 -1
- package/dist/cli/{index-ksjpc8s8.js → index-yzwb6ja4.js} +1 -1
- package/dist/cli/{index-0wz1txjt.js → index-z1k5dvn0.js} +2 -2
- package/dist/cli/{index-qzptb0gf.js → index-z35ynvj4.js} +1 -1
- package/dist/cli/{index-b395nw9b.js → index-za1kvsa0.js} +2 -2
- package/dist/cli/index.js +53 -36
- package/dist/cli/{knowledge-escalator-td5y5mk6.js → knowledge-escalator-zeackj4h.js} +11 -11
- package/dist/cli/{knowledge-events-8v5ztbfw.js → knowledge-events-nfcgfhq2.js} +9 -9
- package/dist/cli/{knowledge-link-3qypq7bm.js → knowledge-link-f7bhq7cx.js} +3 -3
- package/dist/cli/{knowledge-store-g6tzh47h.js → knowledge-store-jptt6kp5.js} +4 -4
- package/dist/cli/{knowledge-validator-5hr0h9fg.js → knowledge-validator-e7nten5a.js} +6 -6
- package/dist/cli/{mcp-68s4qvzb.js → mcp-14kyj73d.js} +1 -1
- package/dist/cli/{pending-delegations-09qr1aps.js → pending-delegations-4jget283.js} +10 -10
- package/dist/cli/{pr-subscriptions-drmhmqs9.js → pr-subscriptions-qe0j6xyr.js} +10 -10
- package/dist/cli/{pr-workflow-gate-zr35z0q4.js → pr-workflow-gate-2m91qcm6.js} +35 -35
- package/dist/cli/{runner-2qypr9b5.js → runner-58k70bnr.js} +4 -4
- package/dist/cli/{scan-cursor-m15pn4jd.js → scan-cursor-myzgmzj6.js} +5 -5
- package/dist/cli/{schema-cgd0q9yv.js → schema-gws3yx52.js} +1 -1
- package/dist/cli/{scope-persistence-9q7knrw5.js → scope-persistence-fh1d8vs0.js} +13 -13
- package/dist/cli/{server-kxrmns85.js → server-v0wfd3rk.js} +35 -35
- package/dist/cli/{skill-generator-hw3hne32.js → skill-generator-935cmd3p.js} +13 -13
- package/dist/cli/{snapshot-coordination-init-qaqa4zyt.js → snapshot-coordination-init-ad8n0977.js} +35 -35
- package/dist/cli/{workspace-snapshot-e63mg204.js → workspace-snapshot-62be4368.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-sv60daa6.js → worktree-collision-ownership-txzvv5jv.js} +11 -11
- package/dist/cli/{worktree-isolation-nacnqxtw.js → worktree-isolation-tv749n96.js} +35 -35
- package/dist/commands/close/orchestrator.d.ts +34 -0
- package/dist/commands/destructive-purge.d.ts +15 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +18 -3
- package/dist/hooks/guardrails/index.d.ts +2 -0
- package/dist/hooks/guardrails/stage-a-route.d.ts +45 -0
- package/dist/hooks/guardrails/tool-before.d.ts +10 -0
- package/dist/index.js +449 -444
- package/dist/turbo/lean/merge-back.d.ts +1 -1
- package/dist/workflow/coder-settlement.d.ts +2 -0
- package/dist/worktree/merge.d.ts +36 -9
- package/dist/worktree/types.d.ts +8 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-p9rykf6q.js +0 -72
- package/dist/cli/guardrail-explain-dns0en0j.js +0 -73
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-sftt3gdv.js";
|
|
8
|
+
import"./index-fb5rj8sk.js";
|
|
9
9
|
import"./index-vzm6zre7.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-yzwb6ja4.js";
|
|
12
|
+
import"./index-kdyvk541.js";
|
|
13
13
|
import"./index-7g4c7s5r.js";
|
|
14
14
|
import"./index-jmn35na4.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-bsnpv4xd.js";
|
|
16
16
|
import"./index-1xnse449.js";
|
|
17
17
|
import"./index-c1ggtmpm.js";
|
|
18
18
|
import"./index-0mhftbpp.js";
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
resolveGeneratedAgentRole,
|
|
110
110
|
resolveGuardrailsConfig,
|
|
111
111
|
stripKnownSwarmPrefix
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-pserzhck.js";
|
|
113
113
|
import"./index-5frh43fj.js";
|
|
114
114
|
import"./index-bk5tah7q.js";
|
|
115
115
|
import"./index-gknz3bv1.js";
|
|
@@ -23,29 +23,29 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
26
|
+
} from "./index-3n16qq3z.js";
|
|
27
|
+
import"./index-gd40ehzt.js";
|
|
28
|
+
import"./index-mt8pbzda.js";
|
|
29
|
+
import"./index-za1kvsa0.js";
|
|
30
|
+
import"./index-fnx0jzf7.js";
|
|
31
|
+
import"./index-dktpzjy9.js";
|
|
32
32
|
import"./index-rdm3px0g.js";
|
|
33
33
|
import"./index-ry16d01s.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-43dmpa9w.js";
|
|
35
|
+
import"./index-fb5rj8sk.js";
|
|
36
36
|
import"./index-vzm6zre7.js";
|
|
37
37
|
import"./index-ae75rja9.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-yzwb6ja4.js";
|
|
39
|
+
import"./index-kdyvk541.js";
|
|
40
40
|
import"./index-7g4c7s5r.js";
|
|
41
41
|
import"./index-jmn35na4.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-bsnpv4xd.js";
|
|
43
43
|
import"./index-1xnse449.js";
|
|
44
44
|
import"./index-c1ggtmpm.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-579nzg03.js";
|
|
46
46
|
import"./index-0mhftbpp.js";
|
|
47
47
|
import"./index-a1w58b47.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-pserzhck.js";
|
|
49
49
|
import"./index-5frh43fj.js";
|
|
50
50
|
import"./index-bk5tah7q.js";
|
|
51
51
|
import"./index-gknz3bv1.js";
|
|
@@ -21,22 +21,22 @@ import {
|
|
|
21
21
|
readSynonymMap,
|
|
22
22
|
redactSecrets,
|
|
23
23
|
symbols
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-njdy6w9x.js";
|
|
25
25
|
import {
|
|
26
26
|
getProfileForFile
|
|
27
27
|
} from "./index-hnvmj9wx.js";
|
|
28
28
|
import {
|
|
29
29
|
pLimit
|
|
30
|
-
} from "./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
30
|
+
} from "./index-hhws1xkc.js";
|
|
31
|
+
import"./index-ejrqyrsr.js";
|
|
32
|
+
import"./index-wr4m11x4.js";
|
|
33
|
+
import"./index-0y9fqm5d.js";
|
|
34
34
|
import {
|
|
35
35
|
_internals,
|
|
36
36
|
loadPlanJsonOnly,
|
|
37
37
|
saveEvidence
|
|
38
|
-
} from "./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
} from "./index-btxf9k1r.js";
|
|
39
|
+
import"./index-z35ynvj4.js";
|
|
40
40
|
import"./index-txdagbh7.js";
|
|
41
41
|
import"./index-z2deqhpp.js";
|
|
42
42
|
import {
|
|
@@ -44,47 +44,47 @@ import {
|
|
|
44
44
|
isCanonicalPathWithinRoot,
|
|
45
45
|
validateTargetWithinRoot
|
|
46
46
|
} from "./index-fpbcxykc.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-915wxcgs.js";
|
|
48
|
+
import"./index-mq2y8qpg.js";
|
|
49
|
+
import"./index-sftt3gdv.js";
|
|
50
50
|
import"./index-fyfbpz4f.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-7gkdxs00.js";
|
|
52
52
|
import"./index-0hgmsyfp.js";
|
|
53
53
|
import"./index-zsrtt42s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-m08ee28a.js";
|
|
55
|
+
import"./index-ndvgkxpf.js";
|
|
56
|
+
import"./index-0dfhahxm.js";
|
|
57
57
|
import {
|
|
58
58
|
getLanguageForExtension,
|
|
59
59
|
getParserForFile
|
|
60
60
|
} from "./index-pt7h91zc.js";
|
|
61
61
|
import"./index-q7sjgr1y.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
62
|
+
import"./index-e8tscab8.js";
|
|
63
|
+
import"./index-nrsnman7.js";
|
|
64
|
+
import"./index-1pnw3jkr.js";
|
|
65
65
|
import {
|
|
66
66
|
effectiveRetrievalOutcomes,
|
|
67
67
|
newTraceId,
|
|
68
68
|
readAuthoritativeKnowledgeCounterRollups,
|
|
69
69
|
recordKnowledgeEvent
|
|
70
|
-
} from "./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
} from "./index-8xkr8p2b.js";
|
|
71
|
+
import"./index-evf5r7bk.js";
|
|
72
72
|
import"./index-2s7dvzff.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-nztmfgvw.js";
|
|
74
|
+
import"./index-m51cmzxt.js";
|
|
75
75
|
import"./index-rtry5xyf.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-tztqvzf5.js";
|
|
77
77
|
import"./index-frcemc0b.js";
|
|
78
78
|
import"./index-wrt875kh.js";
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
81
|
-
import"./index-
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
79
|
+
import"./index-3n16qq3z.js";
|
|
80
|
+
import"./index-gd40ehzt.js";
|
|
81
|
+
import"./index-mt8pbzda.js";
|
|
82
|
+
import"./index-za1kvsa0.js";
|
|
83
|
+
import"./index-fnx0jzf7.js";
|
|
84
|
+
import"./index-dktpzjy9.js";
|
|
85
85
|
import"./index-rdm3px0g.js";
|
|
86
86
|
import"./index-ry16d01s.js";
|
|
87
|
-
import"./index-
|
|
87
|
+
import"./index-43dmpa9w.js";
|
|
88
88
|
import {
|
|
89
89
|
computeOutcomeSignal,
|
|
90
90
|
jaccardBigram,
|
|
@@ -94,14 +94,14 @@ import {
|
|
|
94
94
|
resolveHiveKnowledgePath,
|
|
95
95
|
resolveSwarmKnowledgePath,
|
|
96
96
|
wordBigrams
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-fb5rj8sk.js";
|
|
98
98
|
import"./index-vzm6zre7.js";
|
|
99
99
|
import"./index-ae75rja9.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
import"./index-yzwb6ja4.js";
|
|
101
|
+
import"./index-kdyvk541.js";
|
|
102
102
|
import"./index-7g4c7s5r.js";
|
|
103
103
|
import"./index-jmn35na4.js";
|
|
104
|
-
import"./index-
|
|
104
|
+
import"./index-bsnpv4xd.js";
|
|
105
105
|
import"./index-1xnse449.js";
|
|
106
106
|
import {
|
|
107
107
|
escapeRegex
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
import {
|
|
110
110
|
loadGateOverrides,
|
|
111
111
|
loadPluginConfigWithMeta
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-579nzg03.js";
|
|
113
113
|
import {
|
|
114
114
|
init_git_executable,
|
|
115
115
|
resolveGitExecutableAsync
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
KnowledgeConfigSchema,
|
|
120
120
|
init_schema,
|
|
121
121
|
stripKnownSwarmPrefix
|
|
122
|
-
} from "./index-
|
|
122
|
+
} from "./index-pserzhck.js";
|
|
123
123
|
import {
|
|
124
124
|
TOOL_METADATA,
|
|
125
125
|
init_tool_metadata
|
|
@@ -33,32 +33,32 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-915wxcgs.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-8xkr8p2b.js";
|
|
39
|
+
import"./index-evf5r7bk.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-nztmfgvw.js";
|
|
42
|
+
import"./index-m51cmzxt.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-tztqvzf5.js";
|
|
45
45
|
import"./index-frcemc0b.js";
|
|
46
46
|
import"./index-wrt875kh.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-43dmpa9w.js";
|
|
48
|
+
import"./index-fb5rj8sk.js";
|
|
49
49
|
import"./index-vzm6zre7.js";
|
|
50
50
|
import"./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-yzwb6ja4.js";
|
|
52
|
+
import"./index-kdyvk541.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
54
|
import"./index-jmn35na4.js";
|
|
55
|
-
import"./index-
|
|
55
|
+
import"./index-bsnpv4xd.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
57
|
import"./index-c1ggtmpm.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-579nzg03.js";
|
|
59
59
|
import"./index-0mhftbpp.js";
|
|
60
60
|
import"./index-a1w58b47.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-pserzhck.js";
|
|
62
62
|
import"./index-5frh43fj.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
64
|
import"./index-gknz3bv1.js";
|
package/dist/cli/{snapshot-coordination-init-qaqa4zyt.js → snapshot-coordination-init-ad8n0977.js}
RENAMED
|
@@ -8,64 +8,64 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-njdy6w9x.js";
|
|
12
12
|
import"./index-hnvmj9wx.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
13
|
+
import"./index-hhws1xkc.js";
|
|
14
|
+
import"./index-ejrqyrsr.js";
|
|
15
|
+
import"./index-wr4m11x4.js";
|
|
16
|
+
import"./index-0y9fqm5d.js";
|
|
17
|
+
import"./index-btxf9k1r.js";
|
|
18
|
+
import"./index-z35ynvj4.js";
|
|
19
19
|
import"./index-txdagbh7.js";
|
|
20
20
|
import"./index-z2deqhpp.js";
|
|
21
21
|
import"./index-fpbcxykc.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-915wxcgs.js";
|
|
23
|
+
import"./index-mq2y8qpg.js";
|
|
24
|
+
import"./index-sftt3gdv.js";
|
|
25
25
|
import"./index-fyfbpz4f.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-7gkdxs00.js";
|
|
27
27
|
import"./index-0hgmsyfp.js";
|
|
28
28
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-m08ee28a.js";
|
|
30
|
+
import"./index-ndvgkxpf.js";
|
|
31
|
+
import"./index-0dfhahxm.js";
|
|
32
32
|
import"./index-pt7h91zc.js";
|
|
33
33
|
import"./index-q7sjgr1y.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
34
|
+
import"./index-e8tscab8.js";
|
|
35
|
+
import"./index-nrsnman7.js";
|
|
36
|
+
import"./index-1pnw3jkr.js";
|
|
37
|
+
import"./index-8xkr8p2b.js";
|
|
38
|
+
import"./index-evf5r7bk.js";
|
|
39
39
|
import"./index-2s7dvzff.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-nztmfgvw.js";
|
|
41
|
+
import"./index-m51cmzxt.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-tztqvzf5.js";
|
|
44
44
|
import"./index-frcemc0b.js";
|
|
45
45
|
import"./index-wrt875kh.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
46
|
+
import"./index-3n16qq3z.js";
|
|
47
|
+
import"./index-gd40ehzt.js";
|
|
48
|
+
import"./index-mt8pbzda.js";
|
|
49
|
+
import"./index-za1kvsa0.js";
|
|
50
|
+
import"./index-fnx0jzf7.js";
|
|
51
|
+
import"./index-dktpzjy9.js";
|
|
52
52
|
import"./index-rdm3px0g.js";
|
|
53
53
|
import"./index-ry16d01s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-43dmpa9w.js";
|
|
55
|
+
import"./index-fb5rj8sk.js";
|
|
56
56
|
import"./index-vzm6zre7.js";
|
|
57
57
|
import"./index-ae75rja9.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-yzwb6ja4.js";
|
|
59
|
+
import"./index-kdyvk541.js";
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
61
|
import"./index-jmn35na4.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-bsnpv4xd.js";
|
|
63
63
|
import"./index-1xnse449.js";
|
|
64
64
|
import"./index-c1ggtmpm.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-579nzg03.js";
|
|
66
66
|
import"./index-0mhftbpp.js";
|
|
67
67
|
import"./index-a1w58b47.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-pserzhck.js";
|
|
69
69
|
import"./index-5frh43fj.js";
|
|
70
70
|
import"./index-bk5tah7q.js";
|
|
71
71
|
import"./index-gknz3bv1.js";
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
shouldSkipSnapshot,
|
|
46
46
|
switchPrFeedbackTrackingCandidateAsync,
|
|
47
47
|
workspaceSnapshotMatches
|
|
48
|
-
} from "./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
} from "./index-ndvgkxpf.js";
|
|
49
|
+
import"./index-evf5r7bk.js";
|
|
50
50
|
import"./index-2s7dvzff.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-bsnpv4xd.js";
|
|
52
52
|
import"./index-1xnse449.js";
|
|
53
53
|
import"./index-c1ggtmpm.js";
|
|
54
54
|
import"./index-0mhftbpp.js";
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
10
10
|
removeWorktreeProvisioningOwner,
|
|
11
11
|
scanWorktreeProvisioningOwnersForRecovery
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-0dfhahxm.js";
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-1pnw3jkr.js";
|
|
17
|
+
import"./index-evf5r7bk.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-za1kvsa0.js";
|
|
20
|
+
import"./index-fnx0jzf7.js";
|
|
21
|
+
import"./index-dktpzjy9.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-43dmpa9w.js";
|
|
25
|
+
import"./index-fb5rj8sk.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-yzwb6ja4.js";
|
|
29
|
+
import"./index-kdyvk541.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
31
|
import"./index-jmn35na4.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-bsnpv4xd.js";
|
|
33
33
|
import {
|
|
34
34
|
canonicalRootKeyFresh
|
|
35
35
|
} from "./index-1xnse449.js";
|
|
@@ -21,66 +21,66 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-njdy6w9x.js";
|
|
25
25
|
import"./index-hnvmj9wx.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
26
|
+
import"./index-hhws1xkc.js";
|
|
27
|
+
import"./index-ejrqyrsr.js";
|
|
28
|
+
import"./index-wr4m11x4.js";
|
|
29
|
+
import"./index-0y9fqm5d.js";
|
|
30
|
+
import"./index-btxf9k1r.js";
|
|
31
|
+
import"./index-z35ynvj4.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
33
|
import"./index-z2deqhpp.js";
|
|
34
34
|
import"./index-fpbcxykc.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-915wxcgs.js";
|
|
36
|
+
import"./index-mq2y8qpg.js";
|
|
37
|
+
import"./index-sftt3gdv.js";
|
|
38
38
|
import"./index-fyfbpz4f.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-7gkdxs00.js";
|
|
40
40
|
import"./index-0hgmsyfp.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-m08ee28a.js";
|
|
43
|
+
import"./index-ndvgkxpf.js";
|
|
44
|
+
import"./index-0dfhahxm.js";
|
|
45
45
|
import"./index-pt7h91zc.js";
|
|
46
46
|
import"./index-q7sjgr1y.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
47
|
+
import"./index-e8tscab8.js";
|
|
48
|
+
import"./index-nrsnman7.js";
|
|
49
|
+
import"./index-1pnw3jkr.js";
|
|
50
|
+
import"./index-8xkr8p2b.js";
|
|
51
|
+
import"./index-evf5r7bk.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-nztmfgvw.js";
|
|
54
|
+
import"./index-m51cmzxt.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveWorktreeIsolationConfig
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-tztqvzf5.js";
|
|
59
59
|
import"./index-frcemc0b.js";
|
|
60
60
|
import"./index-wrt875kh.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
61
|
+
import"./index-3n16qq3z.js";
|
|
62
|
+
import"./index-gd40ehzt.js";
|
|
63
|
+
import"./index-mt8pbzda.js";
|
|
64
|
+
import"./index-za1kvsa0.js";
|
|
65
|
+
import"./index-fnx0jzf7.js";
|
|
66
|
+
import"./index-dktpzjy9.js";
|
|
67
67
|
import"./index-rdm3px0g.js";
|
|
68
68
|
import"./index-ry16d01s.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-43dmpa9w.js";
|
|
70
|
+
import"./index-fb5rj8sk.js";
|
|
71
71
|
import"./index-vzm6zre7.js";
|
|
72
72
|
import"./index-ae75rja9.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-yzwb6ja4.js";
|
|
74
|
+
import"./index-kdyvk541.js";
|
|
75
75
|
import"./index-7g4c7s5r.js";
|
|
76
76
|
import"./index-jmn35na4.js";
|
|
77
|
-
import"./index-
|
|
77
|
+
import"./index-bsnpv4xd.js";
|
|
78
78
|
import"./index-1xnse449.js";
|
|
79
79
|
import"./index-c1ggtmpm.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-579nzg03.js";
|
|
81
81
|
import"./index-0mhftbpp.js";
|
|
82
82
|
import"./index-a1w58b47.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-pserzhck.js";
|
|
84
84
|
import"./index-5frh43fj.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
86
|
import"./index-gknz3bv1.js";
|
|
@@ -1,4 +1,37 @@
|
|
|
1
|
+
import { type PurgeCandidate } from '../destructive-purge.js';
|
|
1
2
|
import type { CloseCommandOptions, CloseStageContext } from './context.js';
|
|
3
|
+
/**
|
|
4
|
+
* #2508 two-step destructive close: what the destructive portion of close
|
|
5
|
+
* would destroy, read-only. The align stage's aggressive reset discards
|
|
6
|
+
* tracked/staged work (untracked files survive); the clean stage removes
|
|
7
|
+
* active-state artifacts AFTER archiving them (recoverable, but part of the
|
|
8
|
+
* preview so the operator sees the full scope).
|
|
9
|
+
*/
|
|
10
|
+
export interface ClosePurgeGate {
|
|
11
|
+
/** True when git alignment would discard uncommitted tracked work. */
|
|
12
|
+
wouldDestroyTrackedWork: boolean;
|
|
13
|
+
/** Tracked-dirty repo-relative paths that alignment would discard. */
|
|
14
|
+
dirtyPaths: string[];
|
|
15
|
+
/** Digest scope: dirty paths + present active-state paths (absolute). */
|
|
16
|
+
candidates: PurgeCandidate[];
|
|
17
|
+
/** First candidate path (digest anchor for the #2527 primitive). */
|
|
18
|
+
scopeAnchor: string;
|
|
19
|
+
/**
|
|
20
|
+
* #2508 fail-closed signal: git status could not be read in a repository
|
|
21
|
+
* (spawn failure, timeout, or nonzero exit). The gate cannot prove the
|
|
22
|
+
* align stage safe, so the destructive pipeline must be refused — never
|
|
23
|
+
* treated as a clean tree. A bare `.git` marker (#2127 project root with
|
|
24
|
+
* no repository behind it) carries no git-tracked work to verify and does
|
|
25
|
+
* not trip this signal.
|
|
26
|
+
*/
|
|
27
|
+
gitStatusFailed: boolean;
|
|
28
|
+
}
|
|
29
|
+
declare function runCloseGateGit(args: string[], cwd: string): string | null;
|
|
30
|
+
/** Test seam for the #2508 gate (simulate git-status read failures). */
|
|
31
|
+
export declare const _closeGateInternals: {
|
|
32
|
+
runGit: typeof runCloseGateGit;
|
|
33
|
+
};
|
|
34
|
+
export declare function evaluateClosePurgeGate(directory: string, swarmDir: string): ClosePurgeGate;
|
|
2
35
|
export declare function archiveCloseSummary(ctx: Pick<CloseStageContext, 'archiveStageFailed' | 'archiveDir' | 'warnings'>, closeSummaryPath: string, summaryWritten: boolean): Promise<void>;
|
|
3
36
|
/**
|
|
4
37
|
* Handles /swarm close command - performs full terminal session finalization:
|
|
@@ -30,3 +63,4 @@ export declare function acquireFinalizeLock(directory: string): Promise<{
|
|
|
30
63
|
* scans all sessions).
|
|
31
64
|
*/
|
|
32
65
|
export declare function detectFullAuto(directory: string, sessionID: string): boolean;
|
|
66
|
+
export {};
|
|
@@ -53,7 +53,9 @@ export declare const _internals: {
|
|
|
53
53
|
atomicWriteSwarmFileSync: typeof atomicWriteSwarmFileSync;
|
|
54
54
|
now: () => number;
|
|
55
55
|
randomBytes: typeof randomBytes;
|
|
56
|
+
scopeDigest: typeof scopeDigest;
|
|
56
57
|
};
|
|
58
|
+
declare function scopeDigest(kind: string, candidates: PurgeCandidate[]): string;
|
|
57
59
|
/**
|
|
58
60
|
* Side-effect-free preview: what would be purged, the counts, the exact
|
|
59
61
|
* option label the operator must echo, and the confirm token to use.
|
|
@@ -73,6 +75,18 @@ export declare function issueConfirmToken(scopeTarget: string, projectRoot: stri
|
|
|
73
75
|
kind?: string;
|
|
74
76
|
candidates?: PurgeCandidate[];
|
|
75
77
|
}): string;
|
|
78
|
+
/**
|
|
79
|
+
* Validate a pending confirm token WITHOUT deleting anything (#2508): the
|
|
80
|
+
* same pending-present / exact-token / digest-match / fresh-TTL checks as
|
|
81
|
+
* `executeDestructivePurge`, with the same single-use consumption of the
|
|
82
|
+
* pending record. Callers that own non-deletion destructive work (e.g.
|
|
83
|
+
* `/swarm close`'s clean + align stages) use this to gate their own
|
|
84
|
+
* pipeline on the operator's exact confirmation.
|
|
85
|
+
*/
|
|
86
|
+
export declare function consumeConfirmToken(scopeTarget: string, projectRoot: string, token: string, extra?: {
|
|
87
|
+
kind?: string;
|
|
88
|
+
candidates?: PurgeCandidate[];
|
|
89
|
+
}): PurgeExecution;
|
|
76
90
|
/**
|
|
77
91
|
* Execute the pending purge under the exact token. Re-derives the CURRENT
|
|
78
92
|
* scope digest: token match AND digest match AND fresh TTL required; the
|
|
@@ -83,3 +97,4 @@ export declare function executeDestructivePurge(scopeTarget: string, projectRoot
|
|
|
83
97
|
kind?: string;
|
|
84
98
|
candidates?: PurgeCandidate[];
|
|
85
99
|
}): PurgeExecution;
|
|
100
|
+
export {};
|
|
@@ -15,6 +15,7 @@ import { resolveGitExecutable } from '../../utils/git-executable.js';
|
|
|
15
15
|
import type { WorktreeHandle } from '../../worktree';
|
|
16
16
|
import { attemptMergeBackFromDirty, cleanupOrphanedBranches, postMergeCleanup, provisionWorktree, pruneStaleWorktreeMetadata, recoverMergeBackFromImmutableCoordinates, removeWorktree, startupOrphanRecovery } from '../../worktree';
|
|
17
17
|
import type { DirtyMergeOptions, ImmutableMergeRecoveryCoordinates, MergeOperationProvenance } from '../../worktree/merge';
|
|
18
|
+
import type { MergeStrategy } from '../../worktree/types';
|
|
18
19
|
import type { WorktreeProvisioningOwnerRemovalIdentity } from './worktree-provisioning-owner';
|
|
19
20
|
import { recordWorktreeProvisioningOwner, removeWorktreeProvisioningOwner } from './worktree-provisioning-owner';
|
|
20
21
|
import type { WorktreeRecoveryImmutableIdentityInput } from './worktree-recovery-authority';
|
|
@@ -84,7 +85,7 @@ export interface StandardWorktreeDispatch {
|
|
|
84
85
|
/** Configured worktree-dir override, so cleanup trusts the same base. */
|
|
85
86
|
worktree_dir?: string;
|
|
86
87
|
}
|
|
87
|
-
export interface StandardWorktreeSettlementOptions extends Pick<DirtyMergeOptions, 'operationId' | 'resume' | 'onBeforeMerge'> {
|
|
88
|
+
export interface StandardWorktreeSettlementOptions extends Pick<DirtyMergeOptions, 'operationId' | 'resume' | 'onBeforeMerge' | 'commitLanding'> {
|
|
88
89
|
/**
|
|
89
90
|
* Awaited after Git reports success (including reconciled success) and before
|
|
90
91
|
* destructive worktree/branch cleanup. A rejection preserves the lane.
|
|
@@ -93,7 +94,7 @@ export interface StandardWorktreeSettlementOptions extends Pick<DirtyMergeOption
|
|
|
93
94
|
}
|
|
94
95
|
export interface StandardWorktreeMergedSettlement {
|
|
95
96
|
outcome: 'merged';
|
|
96
|
-
strategy:
|
|
97
|
+
strategy: MergeStrategy;
|
|
97
98
|
autoCommitted: boolean;
|
|
98
99
|
cleaned: boolean;
|
|
99
100
|
reconciled: boolean;
|
|
@@ -106,6 +107,10 @@ export interface StandardWorktreePartialSettlement {
|
|
|
106
107
|
autoCommitted: boolean;
|
|
107
108
|
cleaned: boolean;
|
|
108
109
|
conflictFiles?: string[];
|
|
110
|
+
/** #2508: stable machine-readable diagnostic code (e.g. SETTLEMENT_OVERLAP_BLOCKED). */
|
|
111
|
+
code?: string;
|
|
112
|
+
/** #2508: imperative recovery instruction in the ACTION[...] house style. */
|
|
113
|
+
recoveryHint?: string;
|
|
109
114
|
provenance?: MergeOperationProvenance;
|
|
110
115
|
}
|
|
111
116
|
export interface StandardWorktreeFailedSettlement {
|
|
@@ -310,7 +315,17 @@ export declare function preserveDirtyWorktreeAtPath(worktreePath: string, branch
|
|
|
310
315
|
* @param directory - The project root (required for git worktree/branch commands).
|
|
311
316
|
* @param worktree_dir - Configured worktree-dir override.
|
|
312
317
|
*/
|
|
313
|
-
export declare function cleanupStandardWorktreeForCallId(callID: string, reason: 'success' | 'denied' | 'cancelled', directory: string, worktree_dir?: string
|
|
318
|
+
export declare function cleanupStandardWorktreeForCallId(callID: string, reason: 'success' | 'denied' | 'cancelled', directory: string, worktree_dir?: string,
|
|
319
|
+
/**
|
|
320
|
+
* #2508: `retainBranch` removes the lane WORKTREE but keeps the lane
|
|
321
|
+
* BRANCH. Used after a squash-unstaged landing — the lane's work then
|
|
322
|
+
* exists only as unstaged working-tree bytes in the primary, so the
|
|
323
|
+
* branch is the recovery backup until the user commits (serves the
|
|
324
|
+
* #1970 data-loss class one level down).
|
|
325
|
+
*/
|
|
326
|
+
options?: {
|
|
327
|
+
retainBranch?: boolean;
|
|
328
|
+
}): Promise<CleanupStandardWorktreeResult>;
|
|
314
329
|
/**
|
|
315
330
|
* FR-001a: Abort an in-flight standard worktree dispatch.
|
|
316
331
|
*
|