opencode-swarm 7.183.0 → 7.184.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 +21 -1
- package/dist/cli/{coder-settlement-6m5stw7s.js → coder-settlement-vrc5zxvv.js} +11 -11
- package/dist/cli/{config-doctor-g6r21wdz.js → config-doctor-y0bpap07.js} +7 -3
- package/dist/cli/{core-6dzx3z8q.js → core-7f955h2f.js} +3 -3
- package/dist/cli/{curation-policy-fm7mtvbk.js → curation-policy-fa2h82c4.js} +5 -5
- package/dist/cli/{curator-drift-art0x91j.js → curator-drift-48x02n2m.js} +8 -8
- package/dist/cli/curator-llm-factory-g6at4hn6.js +74 -0
- package/dist/cli/{curator-0xqj2rxm.js → curator-m7enwwz2.js} +38 -38
- package/dist/cli/{evidence-summary-service-h1vb58rd.js → evidence-summary-service-k8a5vkfk.js} +17 -17
- package/dist/cli/{gate-evidence-ps3rg5fh.js → gate-evidence-nktrs0w2.js} +6 -6
- package/dist/cli/guardrail-explain-1ccchxdr.js +75 -0
- package/dist/cli/{guardrail-log-x2gdf8ys.js → guardrail-log-dppv6tgn.js} +7 -7
- package/dist/cli/{guardrail-reset-mwkys4ff.js → guardrail-reset-btzq4ses.js} +38 -38
- package/dist/cli/{hive-promoter-gndjyg7e.js → hive-promoter-yp1baj9z.js} +38 -38
- package/dist/cli/{index-v2rbpcqy.js → index-01wt209s.js} +2 -2
- package/dist/cli/{index-jsdnhdzg.js → index-079xzcxb.js} +38 -38
- package/dist/cli/{index-5cvm6ykc.js → index-08x7gsnf.js} +1 -1
- package/dist/cli/{index-1kpa3an2.js → index-0bpr8vag.js} +2 -2
- package/dist/cli/{index-w670pfv4.js → index-152b9c6m.js} +5 -5
- package/dist/cli/{index-w6hrms7j.js → index-1d6ssjcj.js} +2 -2
- package/dist/cli/{index-29f69hzd.js → index-3fhg7pqf.js} +2 -2
- package/dist/cli/{index-wnkx6gs0.js → index-3rb5gs4w.js} +1 -1
- package/dist/cli/{index-a6np52p4.js → index-46z4c89b.js} +3 -3
- package/dist/cli/{index-4aggsva0.js → index-4gr9pj67.js} +3 -3
- package/dist/cli/{index-wjqc2mnc.js → index-4t0wd9sv.js} +1 -1
- package/dist/cli/{index-kv0k3b60.js → index-51xtrf7g.js} +6 -6
- package/dist/cli/{index-s1y70y0w.js → index-5cve9g2b.js} +1 -1
- package/dist/cli/{index-94pwd45k.js → index-5wk0etp8.js} +4 -4
- package/dist/cli/{index-mewsqwbq.js → index-6b4vkz6q.js} +1 -1
- package/dist/cli/{index-v8ja5zcr.js → index-6h81yvyc.js} +2 -2
- package/dist/cli/{index-3bcmw8pc.js → index-74x26wyj.js} +1 -1
- package/dist/cli/{index-c6zrffwn.js → index-9yvjwfay.js} +141 -83
- package/dist/cli/{index-jf9cvkzr.js → index-ad3yskxy.js} +4 -4
- package/dist/cli/{index-7p6s4yfb.js → index-b5mkznms.js} +1 -1
- package/dist/cli/{index-ybrwvrd4.js → index-bf1726rj.js} +40 -40
- package/dist/cli/{index-30pz2xvj.js → index-e90m050y.js} +7 -7
- package/dist/cli/{index-qws72zbs.js → index-edrgc139.js} +2 -2
- package/dist/cli/{index-tt705bap.js → index-fbhtb6f5.js} +3 -3
- package/dist/cli/{index-brfs5jqw.js → index-fs9y88h1.js} +3 -3
- package/dist/cli/{index-1ex9ecf5.js → index-j40czc9v.js} +4 -4
- package/dist/cli/{index-pvtf7cjg.js → index-me39468k.js} +7 -7
- package/dist/cli/{index-rfggc332.js → index-mn5zzmqx.js} +2 -2
- package/dist/cli/{index-k88thqa0.js → index-njf5pbkm.js} +6 -6
- package/dist/cli/{index-wqg2j647.js → index-nm8ma9xb.js} +19 -10
- package/dist/cli/{index-25m6rekr.js → index-nmh0s6dg.js} +1 -1
- package/dist/cli/{index-nmfnggaa.js → index-nvm6mxep.js} +13 -13
- package/dist/cli/{index-fqc1a1vj.js → index-pq6vr26z.js} +3 -3
- package/dist/cli/{index-0n24h4zb.js → index-qyx53xrz.js} +7 -7
- package/dist/cli/{index-9gehw4xb.js → index-r30xs0wp.js} +80 -2
- package/dist/cli/{index-6nhzekvt.js → index-rwfmx7vn.js} +2 -2
- package/dist/cli/{index-r65yxdv7.js → index-t1swv35d.js} +10 -4
- package/dist/cli/{index-yv5fmjcf.js → index-t26gj2fh.js} +2 -2
- package/dist/cli/{index-r7dqevkc.js → index-v3hpsxvd.js} +1 -1
- package/dist/cli/{index-820e6w22.js → index-w81jmdkt.js} +2 -2
- package/dist/cli/{index-fb0v3e71.js → index-ysr6n4ca.js} +9 -3
- package/dist/cli/{index-6f7tfq3m.js → index-z3b157ew.js} +8 -8
- package/dist/cli/{index-ht88g5mc.js → index-z8smhv7k.js} +1 -1
- package/dist/cli/index.js +39 -39
- package/dist/cli/{knowledge-escalator-gjp71cn2.js → knowledge-escalator-4296y1h2.js} +12 -12
- package/dist/cli/{knowledge-events-d8k9fmkg.js → knowledge-events-31nga9yt.js} +10 -10
- package/dist/cli/{knowledge-link-anzhs41w.js → knowledge-link-ydpvzam8.js} +4 -4
- package/dist/cli/{knowledge-store-sqmwvcjd.js → knowledge-store-0qz3zmq3.js} +5 -5
- package/dist/cli/{knowledge-validator-gjqm2zby.js → knowledge-validator-vndnwdj6.js} +7 -7
- package/dist/cli/{mcp-phvvtsmt.js → mcp-taace90a.js} +1 -1
- package/dist/cli/{model-preflight-ehqa8h7x.js → model-preflight-bv8nvjjx.js} +38 -38
- package/dist/cli/{pending-delegations-mxs88d0x.js → pending-delegations-kwdk8j9d.js} +11 -11
- package/dist/cli/{pr-subscriptions-n3ymnt5w.js → pr-subscriptions-w2fwdpkk.js} +11 -11
- package/dist/cli/{pr-workflow-gate-t8axhfzw.js → pr-workflow-gate-sqjc6jmd.js} +38 -38
- package/dist/cli/{runner-9kd080km.js → runner-r6gxq7m1.js} +5 -5
- package/dist/cli/{scan-cursor-qg4eg6ah.js → scan-cursor-f74b9b4k.js} +6 -6
- package/dist/cli/{schema-73z5xbmd.js → schema-cyet68tw.js} +3 -1
- package/dist/cli/{scope-persistence-b9924hz1.js → scope-persistence-rg8v0r8q.js} +14 -14
- package/dist/cli/{server-jn6xd5bh.js → server-765s4stz.js} +38 -38
- package/dist/cli/{skill-generator-k344y5m2.js → skill-generator-qg5m18k7.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-a8992336.js → snapshot-coordination-init-zzs4bkmj.js} +38 -38
- package/dist/cli/{speckit-checkoff-0tctprtz.js → speckit-checkoff-2bsm6p0c.js} +4 -4
- package/dist/cli/{telemetry-vqyy5nha.js → telemetry-rzvcp2n9.js} +1 -1
- package/dist/cli/{workspace-snapshot-7e9me3q7.js → workspace-snapshot-t22m6gbd.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-6r6jekr9.js → worktree-collision-ownership-qf2shp2n.js} +12 -12
- package/dist/cli/{worktree-isolation-5kw6jnej.js → worktree-isolation-0b0jy6dt.js} +38 -38
- package/dist/commands/doctor.d.ts +5 -0
- package/dist/config/schema.d.ts +15 -0
- package/dist/context/role-filter.d.ts +2 -0
- package/dist/hooks/final-context-accounting.d.ts +3 -2
- package/dist/hooks/host-boundary.d.ts +10 -0
- package/dist/hooks/system-enhancer.d.ts +9 -2
- package/dist/hooks/system-guidance-carrier.d.ts +18 -0
- package/dist/index.js +59 -57
- package/dist/services/config-doctor.d.ts +24 -0
- package/dist/services/injection-budget.d.ts +56 -8
- package/dist/tools/save-plan.d.ts +12 -0
- package/opencode-swarm.schema.json +8 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-grnfsaa2.js +0 -74
- package/dist/cli/guardrail-explain-2sb06877.js +0 -75
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-4gr9pj67.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-nmh0s6dg.js";
|
|
9
9
|
import {
|
|
10
10
|
bunSpawn,
|
|
11
11
|
classifySpawnFailure
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
atomicWriteFile,
|
|
16
16
|
taskEvidencePath,
|
|
17
17
|
withTaskEvidenceLock
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-01wt209s.js";
|
|
19
19
|
import {
|
|
20
20
|
telemetry
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-fbhtb6f5.js";
|
|
22
22
|
import {
|
|
23
23
|
advisoryWarn,
|
|
24
24
|
init_git_executable,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-b5mkznms.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailExplain
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-rwfmx7vn.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,69 +97,69 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
} from "./index-9yvjwfay.js";
|
|
101
|
+
import"./index-pq6vr26z.js";
|
|
102
102
|
import"./index-hamqvzqn.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
103
|
+
import"./index-4t0wd9sv.js";
|
|
104
|
+
import"./index-46z4c89b.js";
|
|
105
|
+
import"./index-r30xs0wp.js";
|
|
106
|
+
import"./index-nvm6mxep.js";
|
|
107
|
+
import"./index-z8smhv7k.js";
|
|
108
108
|
import"./index-txdagbh7.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-6b4vkz6q.js";
|
|
110
110
|
import"./index-6b295cas.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-j40czc9v.js";
|
|
112
|
+
import"./index-152b9c6m.js";
|
|
113
|
+
import"./index-3fhg7pqf.js";
|
|
114
114
|
import"./index-rdec0y3z.js";
|
|
115
|
-
import"./index-
|
|
115
|
+
import"./index-e90m050y.js";
|
|
116
116
|
import"./index-cjapb4hy.js";
|
|
117
117
|
import"./index-zsrtt42s.js";
|
|
118
|
-
import"./index-
|
|
119
|
-
import"./index-
|
|
120
|
-
import"./index-
|
|
118
|
+
import"./index-me39468k.js";
|
|
119
|
+
import"./index-6h81yvyc.js";
|
|
120
|
+
import"./index-0bpr8vag.js";
|
|
121
121
|
import"./index-pt7h91zc.js";
|
|
122
122
|
import"./index-q7sjgr1y.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
128
|
-
import"./index-
|
|
123
|
+
import"./index-t26gj2fh.js";
|
|
124
|
+
import"./index-ad3yskxy.js";
|
|
125
|
+
import"./index-4gr9pj67.js";
|
|
126
|
+
import"./index-nm8ma9xb.js";
|
|
127
|
+
import"./index-z3b157ew.js";
|
|
128
|
+
import"./index-nmh0s6dg.js";
|
|
129
129
|
import"./index-2s7dvzff.js";
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
130
|
+
import"./index-5wk0etp8.js";
|
|
131
|
+
import"./index-v3hpsxvd.js";
|
|
132
132
|
import"./index-rtry5xyf.js";
|
|
133
|
-
import"./index-
|
|
133
|
+
import"./index-edrgc139.js";
|
|
134
134
|
import"./index-frcemc0b.js";
|
|
135
135
|
import"./index-0725jpp7.js";
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
138
|
-
import"./index-
|
|
139
|
-
import"./index-
|
|
140
|
-
import"./index-
|
|
141
|
-
import"./index-
|
|
136
|
+
import"./index-njf5pbkm.js";
|
|
137
|
+
import"./index-51xtrf7g.js";
|
|
138
|
+
import"./index-mn5zzmqx.js";
|
|
139
|
+
import"./index-w81jmdkt.js";
|
|
140
|
+
import"./index-3rb5gs4w.js";
|
|
141
|
+
import"./index-08x7gsnf.js";
|
|
142
142
|
import"./index-rdm3px0g.js";
|
|
143
143
|
import"./index-ry16d01s.js";
|
|
144
|
-
import"./index-
|
|
145
|
-
import"./index-
|
|
144
|
+
import"./index-1d6ssjcj.js";
|
|
145
|
+
import"./index-qyx53xrz.js";
|
|
146
146
|
import"./index-vzm6zre7.js";
|
|
147
147
|
import"./index-ae75rja9.js";
|
|
148
|
-
import"./index-
|
|
149
|
-
import"./index-
|
|
150
|
-
import"./index-
|
|
148
|
+
import"./index-74x26wyj.js";
|
|
149
|
+
import"./index-01wt209s.js";
|
|
150
|
+
import"./index-fbhtb6f5.js";
|
|
151
151
|
import"./index-1xnse449.js";
|
|
152
152
|
import"./index-c1ggtmpm.js";
|
|
153
153
|
import"./index-ejhxgyvm.js";
|
|
154
154
|
import"./index-7g4c7s5r.js";
|
|
155
|
-
import"./index-
|
|
155
|
+
import"./index-5cve9g2b.js";
|
|
156
156
|
import"./index-gx2vp8gx.js";
|
|
157
|
-
import"./index-
|
|
157
|
+
import"./index-t1swv35d.js";
|
|
158
158
|
import"./index-zxdawwc7.js";
|
|
159
159
|
import {
|
|
160
160
|
init_schema,
|
|
161
161
|
stripKnownSwarmPrefix
|
|
162
|
-
} from "./index-
|
|
162
|
+
} from "./index-ysr6n4ca.js";
|
|
163
163
|
import {
|
|
164
164
|
AGENT_TOOL_MAP,
|
|
165
165
|
ORCHESTRATOR_NAME,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-nmh0s6dg.js";
|
|
5
5
|
import {
|
|
6
6
|
deleteCoordinationState,
|
|
7
7
|
importCoordinationOnce,
|
|
8
8
|
listCoordinationStates,
|
|
9
9
|
transitionCoordinationState,
|
|
10
10
|
withCoordinationTransaction
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-3rb5gs4w.js";
|
|
12
12
|
import {
|
|
13
13
|
getProjectDb,
|
|
14
14
|
projectDbExists
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-08x7gsnf.js";
|
|
16
16
|
import {
|
|
17
17
|
observeStoreHealth
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-1d6ssjcj.js";
|
|
19
19
|
import {
|
|
20
20
|
withEvidenceLock
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-01wt209s.js";
|
|
22
22
|
import {
|
|
23
23
|
telemetry
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-fbhtb6f5.js";
|
|
25
25
|
import {
|
|
26
26
|
canonicalRootKey,
|
|
27
27
|
canonicalRootKeyFresh,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./index-1xnse449.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFileSync
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-5cve9g2b.js";
|
|
33
33
|
import {
|
|
34
34
|
exports_external,
|
|
35
35
|
init_zod
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-t1swv35d.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-ysr6n4ca.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -236,7 +236,7 @@ var CATALOG_SOURCE = [
|
|
|
236
236
|
category: "delegation",
|
|
237
237
|
severity: "info",
|
|
238
238
|
privacyClass: "pseudonymous",
|
|
239
|
-
producer: "src/index.ts:
|
|
239
|
+
producer: "src/index.ts:935",
|
|
240
240
|
consumers: CONSUMER_COST_CORRECTION,
|
|
241
241
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
242
242
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
|
|
@@ -249,7 +249,7 @@ var CATALOG_SOURCE = [
|
|
|
249
249
|
category: "delegation",
|
|
250
250
|
severity: "info",
|
|
251
251
|
privacyClass: "pseudonymous",
|
|
252
|
-
producer: "src/index.ts:
|
|
252
|
+
producer: "src/index.ts:1973",
|
|
253
253
|
consumers: NO_CONSUMERS,
|
|
254
254
|
futureOwnerIssue: ISSUE_SINK,
|
|
255
255
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
@@ -263,7 +263,7 @@ var CATALOG_SOURCE = [
|
|
|
263
263
|
category: "delegation",
|
|
264
264
|
severity: "notice",
|
|
265
265
|
privacyClass: "pseudonymous",
|
|
266
|
-
producer: "src/index.ts:
|
|
266
|
+
producer: "src/index.ts:1993",
|
|
267
267
|
consumers: CONSUMER_COST_JOIN,
|
|
268
268
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
269
269
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-edrgc139.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
loadPluginConfigWithMeta,
|
|
47
47
|
loadPluginConfigWithMetaAsync,
|
|
48
48
|
resetConfigAdvisoryDedup
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-t1swv35d.js";
|
|
50
50
|
import"./index-zxdawwc7.js";
|
|
51
51
|
import {
|
|
52
52
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
TurboConfigSchema,
|
|
73
73
|
WorktreeIsolationConfigSchema,
|
|
74
74
|
resolveAutoReviewConfig
|
|
75
|
-
} from "./index-
|
|
75
|
+
} from "./index-ysr6n4ca.js";
|
|
76
76
|
import {
|
|
77
77
|
ALL_AGENT_NAMES,
|
|
78
78
|
ALL_SUBAGENT_NAMES,
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-z3b157ew.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-5wk0etp8.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-qyx53xrz.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
atomicWriteFileAnyRoot,
|
|
29
29
|
atomicWriteSwarmFile
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-5cve9g2b.js";
|
|
31
31
|
import {
|
|
32
32
|
advisoryWarn,
|
|
33
33
|
init_warning_buffer
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6h81yvyc.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-0bpr8vag.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-ad3yskxy.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-nmh0s6dg.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-mn5zzmqx.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalRootKeyFresh
|
|
26
26
|
} from "./index-1xnse449.js";
|
|
@@ -499,7 +499,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
499
499
|
awaitingMergeByCallID,
|
|
500
500
|
cleanupStandardWorktreeForCallId,
|
|
501
501
|
standardWorktreeByCallID
|
|
502
|
-
} = await import("./worktree-isolation-
|
|
502
|
+
} = await import("./worktree-isolation-0b0jy6dt.js");
|
|
503
503
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
504
504
|
if (hasResidue)
|
|
505
505
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -631,7 +631,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
631
631
|
awaitingMergeByCallID,
|
|
632
632
|
finishStandardWorktreeDispatch,
|
|
633
633
|
standardWorktreeByCallID
|
|
634
|
-
} = await import("./worktree-isolation-
|
|
634
|
+
} = await import("./worktree-isolation-0b0jy6dt.js");
|
|
635
635
|
const descriptor = wal.worktree;
|
|
636
636
|
const reconstructedDispatch = {
|
|
637
637
|
callID: descriptor.callID,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-51xtrf7g.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-mn5zzmqx.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteCoordinationState,
|
|
10
10
|
derivePlanId,
|
|
@@ -13,24 +13,24 @@ import {
|
|
|
13
13
|
transitionCoordinationState,
|
|
14
14
|
transitionCoordinationStateWithinTransaction,
|
|
15
15
|
withCoordinationTransaction
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-3rb5gs4w.js";
|
|
17
17
|
import {
|
|
18
18
|
getProjectDb
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-08x7gsnf.js";
|
|
20
20
|
import {
|
|
21
21
|
canonicalExistingFilesystemPath,
|
|
22
22
|
legacyCanonicalExistingFilesystemPath
|
|
23
23
|
} from "./index-ry16d01s.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-01wt209s.js";
|
|
27
27
|
import {
|
|
28
28
|
require_proper_lockfile
|
|
29
29
|
} from "./index-7g4c7s5r.js";
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFile,
|
|
32
32
|
atomicWriteSwarmFileSync
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-5cve9g2b.js";
|
|
34
34
|
import {
|
|
35
35
|
PlanSchema
|
|
36
36
|
} from "./index-gx2vp8gx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-nmh0s6dg.js";
|
|
5
5
|
import {
|
|
6
6
|
bunWrite
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
releaseCoordinationLease,
|
|
19
19
|
transitionCoordinationState,
|
|
20
20
|
withCoordinationTransaction
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-3rb5gs4w.js";
|
|
22
22
|
import {
|
|
23
23
|
getProjectDb,
|
|
24
24
|
projectDbExists
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-08x7gsnf.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-1d6ssjcj.js";
|
|
29
29
|
import {
|
|
30
30
|
EvidenceLockTimeoutError,
|
|
31
31
|
withEvidenceLock
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-01wt209s.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-fbhtb6f5.js";
|
|
36
36
|
import {
|
|
37
37
|
canonicalRootKeyFresh,
|
|
38
38
|
sameProjectRoot
|
|
@@ -1161,7 +1161,7 @@ var ResultSchema = exports_external.object({
|
|
|
1161
1161
|
transcriptIncomplete: exports_external.boolean().optional(),
|
|
1162
1162
|
messageCount: exports_external.number().optional(),
|
|
1163
1163
|
prReviewResultReceipt: PrReviewResultReceiptSchema.optional(),
|
|
1164
|
-
workflowLaneFailureClass: exports_external.enum(["contract", "resource", "liveness"]).optional(),
|
|
1164
|
+
workflowLaneFailureClass: exports_external.enum(["contract", "resource", "liveness", "deadline"]).optional(),
|
|
1165
1165
|
terminalErrorClass: exports_external.object({
|
|
1166
1166
|
kind: exports_external.enum(["provider", "aborted", "output_length", "unknown"]),
|
|
1167
1167
|
category: exports_external.string().min(1).max(128),
|
|
@@ -1473,8 +1473,17 @@ function coordinationRowsToDelegations(directory) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
return rows.map((row) => {
|
|
1475
1475
|
const parsed = RecordSchema.safeParse(JSON.parse(row.payload));
|
|
1476
|
-
if (!parsed.success
|
|
1477
|
-
throw new Error(`delegation coordination row failed schema
|
|
1476
|
+
if (!parsed.success) {
|
|
1477
|
+
throw new Error(`delegation coordination row failed schema validation for ${row.entityKey}`);
|
|
1478
|
+
}
|
|
1479
|
+
if (parsed.data.correlationId !== row.entityKey) {
|
|
1480
|
+
throw new Error(`delegation coordination row authority binding mismatch: payload correlationId does not equal entity key ${row.entityKey}`);
|
|
1481
|
+
}
|
|
1482
|
+
if (Math.max(parsed.data.generation ?? 1, 1) !== row.generation) {
|
|
1483
|
+
throw new Error(`delegation coordination row authority binding mismatch: payload generation does not equal row generation for ${row.entityKey}`);
|
|
1484
|
+
}
|
|
1485
|
+
if (parsed.data.status !== row.status) {
|
|
1486
|
+
throw new Error(`delegation coordination row authority binding mismatch: payload status does not equal row status for ${row.entityKey}`);
|
|
1478
1487
|
}
|
|
1479
1488
|
return parsed.data;
|
|
1480
1489
|
}).sort((left, right) => left.createdAt === right.createdAt ? left.correlationId.localeCompare(right.correlationId) : left.createdAt - right.createdAt);
|
|
@@ -4660,7 +4669,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4660
4669
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4661
4670
|
if (candidates.length === 0)
|
|
4662
4671
|
return 0;
|
|
4663
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4672
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-vrc5zxvv.js");
|
|
4664
4673
|
let transferred = 0;
|
|
4665
4674
|
for (const record of candidates) {
|
|
4666
4675
|
try {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-z8smhv7k.js";
|
|
7
7
|
import {
|
|
8
8
|
readEffectiveSpecSync
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-6b4vkz6q.js";
|
|
10
10
|
import {
|
|
11
11
|
validateWorkspaceRoot
|
|
12
12
|
} from "./index-6b295cas.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-ad3yskxy.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
30
30
|
readSwarmFileAsync,
|
|
31
31
|
validateSwarmPath
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-nmh0s6dg.js";
|
|
33
33
|
import {
|
|
34
34
|
bunHash,
|
|
35
35
|
bunWrite,
|
|
@@ -58,10 +58,10 @@ import {
|
|
|
58
58
|
replayFromLedgerWithStatus,
|
|
59
59
|
takeSnapshotEvent,
|
|
60
60
|
takeSnapshotWithRetry
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-51xtrf7g.js";
|
|
62
62
|
import {
|
|
63
63
|
appendCoreEventSync
|
|
64
|
-
} from "./index-
|
|
64
|
+
} from "./index-mn5zzmqx.js";
|
|
65
65
|
import {
|
|
66
66
|
derivePlanId,
|
|
67
67
|
derivePlanIdentityHash,
|
|
@@ -69,20 +69,20 @@ import {
|
|
|
69
69
|
importCoordinationOnce,
|
|
70
70
|
listCoordinationStates,
|
|
71
71
|
transitionCoordinationState
|
|
72
|
-
} from "./index-
|
|
72
|
+
} from "./index-3rb5gs4w.js";
|
|
73
73
|
import {
|
|
74
74
|
DURABILITY_CLASSES,
|
|
75
75
|
getProjectDb,
|
|
76
76
|
projectDbExists,
|
|
77
77
|
withDurabilityClass
|
|
78
|
-
} from "./index-
|
|
78
|
+
} from "./index-08x7gsnf.js";
|
|
79
79
|
import {
|
|
80
80
|
assertProjectRoot,
|
|
81
81
|
withEvidenceLock
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-01wt209s.js";
|
|
83
83
|
import {
|
|
84
84
|
emit
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-fbhtb6f5.js";
|
|
86
86
|
import {
|
|
87
87
|
canonicalRootKeyFresh
|
|
88
88
|
} from "./index-1xnse449.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
atomicWriteSwarmFileSync,
|
|
94
94
|
invalidateCachedArtifact,
|
|
95
95
|
readCachedParsedFile
|
|
96
|
-
} from "./index-
|
|
96
|
+
} from "./index-5cve9g2b.js";
|
|
97
97
|
import {
|
|
98
98
|
PlanSchema,
|
|
99
99
|
normalizeCurrentPhaseInPlace,
|
|
@@ -2940,7 +2940,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2940
2940
|
if (status === "completed") {
|
|
2941
2941
|
try {
|
|
2942
2942
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2943
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
2943
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-2bsm6p0c.js");
|
|
2944
2944
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
2945
2945
|
taskId,
|
|
2946
2946
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -2965,7 +2965,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2965
2965
|
break;
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
|
-
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-
|
|
2968
|
+
const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-rg8v0r8q.js");
|
|
2969
2969
|
const canonicalScope = readDeclaredScopeFilesFromBindings({
|
|
2970
2970
|
directory,
|
|
2971
2971
|
taskId,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
observeStoreHealth
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1d6ssjcj.js";
|
|
5
5
|
import {
|
|
6
6
|
telemetry
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-fbhtb6f5.js";
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-ysr6n4ca.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
14
|
} from "./index-wzec3c4g.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-74x26wyj.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-01wt209s.js";
|
|
18
18
|
import {
|
|
19
19
|
require_proper_lockfile
|
|
20
20
|
} from "./index-7g4c7s5r.js";
|
|
21
21
|
import {
|
|
22
22
|
readCachedParsedFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-5cve9g2b.js";
|
|
24
24
|
import {
|
|
25
25
|
init_knowledge_types,
|
|
26
26
|
isActiveStatus
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-31nga9yt.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-vndnwdj6.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-cyet68tw.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-fs9y88h1.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|