opencode-swarm 7.174.0 → 7.176.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 +10 -0
- package/dist/background/pr-review-contract.d.ts +3 -0
- package/dist/background/status-artifact.d.ts +24 -1
- package/dist/cli/{coder-settlement-pwct8te4.js → coder-settlement-y3ftsdje.js} +10 -10
- package/dist/cli/{config-doctor-tnta65bf.js → config-doctor-3x9d5y3w.js} +2 -2
- package/dist/cli/{core-421gbna2.js → core-hf9pjm7y.js} +3 -3
- package/dist/cli/{curation-policy-dw25zm05.js → curation-policy-8h25hyf8.js} +4 -4
- package/dist/cli/{curator-drift-x3tt8apf.js → curator-drift-qxgs5ee4.js} +2 -2
- package/dist/cli/{curator-llm-factory-4e73613g.js → curator-llm-factory-rs8zyytn.js} +33 -33
- package/dist/cli/{curator-yrhc4epa.js → curator-pf4n52b1.js} +33 -33
- package/dist/cli/{evidence-summary-service-f4vem356.js → evidence-summary-service-t4nnvgyz.js} +14 -14
- package/dist/cli/{gate-evidence-t2dyfvc4.js → gate-evidence-d6wmarwz.js} +6 -6
- package/dist/cli/{guardrail-explain-hf5gawe2.js → guardrail-explain-x8n8dtq6.js} +34 -34
- package/dist/cli/{guardrail-log-9dkyvdbw.js → guardrail-log-ehwt0w51.js} +6 -6
- package/dist/cli/{guardrail-reset-26bxnh2e.js → guardrail-reset-ceqcapzm.js} +33 -33
- package/dist/cli/{hive-promoter-6s6xbq5x.js → hive-promoter-9dgmk5nq.js} +33 -33
- package/dist/cli/{index-nwew2anc.js → index-2xm1xtqy.js} +1 -1
- package/dist/cli/{index-a1w58b47.js → index-4ddpvd5c.js} +32 -0
- package/dist/cli/{index-jd2f7thw.js → index-509g4m8s.js} +508 -260
- package/dist/cli/{index-0hgmsyfp.js → index-549wxbe1.js} +1 -1
- package/dist/cli/{index-saw0ambb.js → index-569pn3vz.js} +16 -10
- package/dist/cli/{index-bf6w27sb.js → index-580v9v50.js} +3 -3
- package/dist/cli/{index-5prgmf00.js → index-68nc7zev.js} +3 -3
- package/dist/cli/{index-c60t3sw6.js → index-9fnjkqsr.js} +1 -1
- package/dist/cli/{index-vsvdh976.js → index-bym86sb4.js} +1 -1
- package/dist/cli/{index-0c7y177k.js → index-c45zvjeg.js} +2 -2
- package/dist/cli/{index-ddz0a0ew.js → index-cfjbrcv7.js} +3 -3
- package/dist/cli/{index-e4g3487s.js → index-crx99j5b.js} +3 -3
- package/dist/cli/{index-dfd6d64k.js → index-dn5kkjfv.js} +35 -35
- package/dist/cli/{index-nxnmy2da.js → index-dq0fbb2g.js} +4 -4
- package/dist/cli/{index-mmnk7nt1.js → index-eawhasqk.js} +1 -1
- package/dist/cli/{index-snd34n1y.js → index-fh8jh5n1.js} +5 -5
- package/dist/cli/{index-dfey3jpn.js → index-g9pqwf7v.js} +3 -3
- package/dist/cli/{index-6v1cz898.js → index-gtjx3q5h.js} +1 -1
- package/dist/cli/{index-m8c44754.js → index-hvt8902r.js} +5 -5
- package/dist/cli/{index-z2deqhpp.js → index-n1tcj1q7.js} +1 -1
- package/dist/cli/{index-2qawngxn.js → index-n1wean2y.js} +16 -9
- package/dist/cli/{index-8d3qzvbb.js → index-n5aa7f72.js} +2 -2
- package/dist/cli/{index-s6wb6sjk.js → index-pd3yg1mh.js} +4 -4
- package/dist/cli/{index-rgvg7d6k.js → index-r3ftkdvn.js} +1 -1
- package/dist/cli/{index-vwjfm0s6.js → index-rekx0gq7.js} +3 -3
- package/dist/cli/{index-23fwhwrb.js → index-rm1k8ekt.js} +33 -33
- package/dist/cli/{index-qc4nvg0m.js → index-s0w34gp3.js} +4 -4
- package/dist/cli/{index-kyakvkpk.js → index-s1cm0jre.js} +3 -1
- package/dist/cli/{index-mjtja1wq.js → index-t4kwsbhj.js} +1 -1
- package/dist/cli/{index-hkx8tqa4.js → index-t5t6cqfb.js} +4 -4
- package/dist/cli/{index-cw1nbtvh.js → index-twymcfj9.js} +1 -1
- package/dist/cli/{index-py58gern.js → index-wdcsy80q.js} +6 -6
- package/dist/cli/{index-9gpf4tt4.js → index-wer28675.js} +7 -7
- package/dist/cli/{index-rjjtn1w5.js → index-wn00ra10.js} +2 -2
- package/dist/cli/{index-fagcasf8.js → index-wpae4r9j.js} +5 -5
- package/dist/cli/{index-3yw5h3bt.js → index-z9nzrjf7.js} +1 -1
- package/dist/cli/{index-v8ykb3hq.js → index-zpa6ywts.js} +9 -9
- package/dist/cli/{index-0mhftbpp.js → index-zz7gzw57.js} +1 -1
- package/dist/cli/index.js +34 -34
- package/dist/cli/{knowledge-escalator-bra0fkfm.js → knowledge-escalator-0eyjbhap.js} +12 -12
- package/dist/cli/{knowledge-events-v4hq7wr9.js → knowledge-events-64k22qmf.js} +10 -10
- package/dist/cli/{knowledge-link-dw12x2ns.js → knowledge-link-yx57s7zb.js} +3 -3
- package/dist/cli/{knowledge-store-3hx2896s.js → knowledge-store-q3k2zf8a.js} +4 -4
- package/dist/cli/{knowledge-validator-9wj31ym5.js → knowledge-validator-ywbk1gpw.js} +6 -6
- package/dist/cli/{mcp-d7yptqpg.js → mcp-yas626k0.js} +1 -1
- package/dist/cli/{pending-delegations-8ghc75b2.js → pending-delegations-91a6nb8z.js} +6 -6
- package/dist/cli/{pr-subscriptions-yceed093.js → pr-subscriptions-dyn9hn9g.js} +6 -6
- package/dist/cli/{pr-workflow-gate-sc4c4cmk.js → pr-workflow-gate-xwz3f6zm.js} +33 -33
- package/dist/cli/{runner-k1pmc3z8.js → runner-j4hrfyve.js} +4 -4
- package/dist/cli/{scan-cursor-mtja4626.js → scan-cursor-etrpan51.js} +7 -7
- package/dist/cli/{schema-x2nb18fg.js → schema-aarfgdn3.js} +1 -1
- package/dist/cli/{scope-persistence-tafxf6yz.js → scope-persistence-j0vzwybd.js} +12 -12
- package/dist/cli/{server-hk378mzc.js → server-rhpwneb6.js} +33 -33
- package/dist/cli/{skill-generator-vz5vtgk6.js → skill-generator-m6yrxy2s.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-8x5n1q8c.js → snapshot-coordination-init-1yn3fyt4.js} +33 -33
- package/dist/cli/{telemetry-m580862y.js → telemetry-1cfatyt0.js} +1 -1
- package/dist/cli/{workspace-snapshot-6aw002e8.js → workspace-snapshot-07rzjg7s.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-cfx1tsaf.js → worktree-collision-ownership-g6bjm090.js} +9 -9
- package/dist/cli/{worktree-isolation-t3fm1c5w.js → worktree-isolation-6kebmn1t.js} +33 -33
- package/dist/commands/registry.d.ts +1 -1
- package/dist/hooks/pr-workflow-gate.d.ts +6 -0
- package/dist/index.js +511 -510
- package/dist/observability/startup-contract.d.ts +134 -0
- package/dist/pr-review/types.d.ts +8 -0
- package/dist/tools/dispatch-lanes.d.ts +29 -0
- package/dist/workflow/coder-settlement.d.ts +7 -0
- package/dist/workflow/recovery-invocation.d.ts +35 -0
- package/dist/workflow/stage-a-repair.d.ts +17 -0
- package/dist/workflow/task-recovery-status.d.ts +61 -0
- package/package.json +3 -1
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
} from "./index-6tbnev6y.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-t4kwsbhj.js";
|
|
29
29
|
import {
|
|
30
30
|
EvidenceLockTimeoutError,
|
|
31
31
|
withEvidenceLock
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-bym86sb4.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
|
-
} from "./index-
|
|
35
|
+
} from "./index-68nc7zev.js";
|
|
36
36
|
import {
|
|
37
37
|
canonicalRootKeyFresh,
|
|
38
38
|
sameProjectRoot
|
|
@@ -763,7 +763,10 @@ var PrReviewResultReceiptSchema = exports_external.object({
|
|
|
763
763
|
childSessionId: PrReviewResultChildSessionSchema,
|
|
764
764
|
generation: exports_external.number().int().positive().max(1e6),
|
|
765
765
|
semanticEnvelopeDigest: PrReviewResultDigestSchema,
|
|
766
|
-
envelope: PrReviewLaneResultEnvelopeSchema
|
|
766
|
+
envelope: PrReviewLaneResultEnvelopeSchema,
|
|
767
|
+
submittedBy: exports_external.literal("workflow_parent").optional(),
|
|
768
|
+
submittedByParentSessionId: exports_external.string().trim().min(1).max(256).optional(),
|
|
769
|
+
laneTerminalStateAtSubmission: exports_external.string().trim().min(1).max(64).optional()
|
|
767
770
|
}).strict().superRefine((value, ctx) => {
|
|
768
771
|
assertUniqueStrings(value.ownedWorkflowLanes, ctx, ["ownedWorkflowLanes"], "ownedWorkflowLanes");
|
|
769
772
|
if (!value.ownedWorkflowLanes.includes(value.workflowLane)) {
|
|
@@ -2931,11 +2934,14 @@ async function publishPrReviewResultReceipt(directory, input) {
|
|
|
2931
2934
|
return;
|
|
2932
2935
|
}
|
|
2933
2936
|
if (current.status !== "pending" && current.status !== "running") {
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2937
|
+
const livenessTerminalForParentRepair = input.parentRepair === true && (current.status === "cancelled" || current.status === "stale" || current.status === "error") && (current.terminalResult?.result.workflowLaneFailureClass === "liveness" || current.result?.workflowLaneFailureClass === "liveness");
|
|
2938
|
+
if (!livenessTerminalForParentRepair) {
|
|
2939
|
+
outcome = {
|
|
2940
|
+
status: "terminal",
|
|
2941
|
+
reason: `delegation is already ${current.status}`
|
|
2942
|
+
};
|
|
2943
|
+
return;
|
|
2944
|
+
}
|
|
2939
2945
|
}
|
|
2940
2946
|
const owned = current.ownedWorkflowLanes?.length ? current.ownedWorkflowLanes : current.workflowLane ? [current.workflowLane] : [];
|
|
2941
2947
|
const sameOwned = owned.length === parsed.data.ownedWorkflowLanes.length && owned.every((lane) => parsed.data.ownedWorkflowLanes.includes(lane));
|
|
@@ -4654,7 +4660,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4654
4660
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4655
4661
|
if (candidates.length === 0)
|
|
4656
4662
|
return 0;
|
|
4657
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4663
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-y3ftsdje.js");
|
|
4658
4664
|
let transferred = 0;
|
|
4659
4665
|
for (const record of candidates) {
|
|
4660
4666
|
try {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
observeStoreHealth
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-t4kwsbhj.js";
|
|
5
5
|
import {
|
|
6
6
|
telemetry
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-68nc7zev.js";
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-s1cm0jre.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
14
|
} from "./index-5frh43fj.js";
|
|
@@ -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:865",
|
|
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:1882",
|
|
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:1902",
|
|
267
267
|
consumers: CONSUMER_COST_JOIN,
|
|
268
268
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
269
269
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-cfjbrcv7.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-s1cm0jre.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
GIT_BINARY_ENV_VAR,
|
|
4
4
|
init_git_executable
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-zz7gzw57.js";
|
|
6
6
|
import {
|
|
7
7
|
advisoryWarn,
|
|
8
8
|
init_warning_buffer
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-4ddpvd5c.js";
|
|
10
10
|
import {
|
|
11
11
|
ExternalSkillsConfigSchema,
|
|
12
12
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
PluginConfigSchema,
|
|
15
15
|
init_schema,
|
|
16
16
|
resolveExternalSkillsConfig
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-s1cm0jre.js";
|
|
18
18
|
import {
|
|
19
19
|
exports_external,
|
|
20
20
|
init_zod
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
init_git_executable,
|
|
16
16
|
resolveGitExecutable
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-zz7gzw57.js";
|
|
18
18
|
import {
|
|
19
19
|
advisoryWarn,
|
|
20
20
|
init_warning_buffer
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-4ddpvd5c.js";
|
|
22
22
|
import {
|
|
23
23
|
SWARM_WORKTREE_DIR_NAME,
|
|
24
24
|
init_constants
|
|
@@ -244,7 +244,7 @@ var _internals2 = {
|
|
|
244
244
|
symlinkSync: fs2.symlinkSync
|
|
245
245
|
},
|
|
246
246
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
247
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
247
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-j0vzwybd.js");
|
|
248
248
|
return realWrite(directory, taskId, files);
|
|
249
249
|
},
|
|
250
250
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-n5aa7f72.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-r3ftkdvn.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,67 +97,67 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
100
|
+
} from "./index-509g4m8s.js";
|
|
101
101
|
import"./index-hnvmj9wx.js";
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
102
|
+
import"./index-2xm1xtqy.js";
|
|
103
|
+
import"./index-580v9v50.js";
|
|
104
104
|
import"./index-kj7h2yfv.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
105
|
+
import"./index-eawhasqk.js";
|
|
106
|
+
import"./index-zpa6ywts.js";
|
|
107
|
+
import"./index-z9nzrjf7.js";
|
|
108
108
|
import"./index-txdagbh7.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-n1tcj1q7.js";
|
|
110
110
|
import"./index-fpbcxykc.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-s0w34gp3.js";
|
|
112
|
+
import"./index-wpae4r9j.js";
|
|
113
|
+
import"./index-g9pqwf7v.js";
|
|
114
114
|
import"./index-fyfbpz4f.js";
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
115
|
+
import"./index-rekx0gq7.js";
|
|
116
|
+
import"./index-549wxbe1.js";
|
|
117
117
|
import"./index-zsrtt42s.js";
|
|
118
|
-
import"./index-
|
|
119
|
-
import"./index-
|
|
118
|
+
import"./index-n1wean2y.js";
|
|
119
|
+
import"./index-9fnjkqsr.js";
|
|
120
120
|
import"./index-jj09bfnn.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-
|
|
123
|
+
import"./index-fh8jh5n1.js";
|
|
124
|
+
import"./index-crx99j5b.js";
|
|
125
|
+
import"./index-569pn3vz.js";
|
|
126
|
+
import"./index-wer28675.js";
|
|
127
127
|
import"./index-czhbsgdh.js";
|
|
128
128
|
import"./index-2s7dvzff.js";
|
|
129
|
-
import"./index-
|
|
130
|
-
import"./index-
|
|
129
|
+
import"./index-pd3yg1mh.js";
|
|
130
|
+
import"./index-twymcfj9.js";
|
|
131
131
|
import"./index-rtry5xyf.js";
|
|
132
|
-
import"./index-
|
|
132
|
+
import"./index-c45zvjeg.js";
|
|
133
133
|
import"./index-frcemc0b.js";
|
|
134
134
|
import"./index-wrt875kh.js";
|
|
135
|
-
import"./index-
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
135
|
+
import"./index-dq0fbb2g.js";
|
|
136
|
+
import"./index-t5t6cqfb.js";
|
|
137
|
+
import"./index-wn00ra10.js";
|
|
138
138
|
import"./index-5t71wd7j.js";
|
|
139
139
|
import"./index-2xwavnbg.js";
|
|
140
140
|
import"./index-6tbnev6y.js";
|
|
141
141
|
import"./index-rdm3px0g.js";
|
|
142
142
|
import"./index-ry16d01s.js";
|
|
143
|
-
import"./index-
|
|
144
|
-
import"./index-
|
|
143
|
+
import"./index-t4kwsbhj.js";
|
|
144
|
+
import"./index-wdcsy80q.js";
|
|
145
145
|
import"./index-vzm6zre7.js";
|
|
146
146
|
import"./index-ae75rja9.js";
|
|
147
|
-
import"./index-
|
|
148
|
-
import"./index-
|
|
147
|
+
import"./index-gtjx3q5h.js";
|
|
148
|
+
import"./index-bym86sb4.js";
|
|
149
149
|
import"./index-7g4c7s5r.js";
|
|
150
|
-
import"./index-
|
|
150
|
+
import"./index-68nc7zev.js";
|
|
151
151
|
import"./index-8tn4yx8b.js";
|
|
152
152
|
import"./index-1xnse449.js";
|
|
153
153
|
import"./index-c1ggtmpm.js";
|
|
154
|
-
import"./index-
|
|
155
|
-
import"./index-
|
|
156
|
-
import"./index-
|
|
154
|
+
import"./index-cfjbrcv7.js";
|
|
155
|
+
import"./index-zz7gzw57.js";
|
|
156
|
+
import"./index-4ddpvd5c.js";
|
|
157
157
|
import {
|
|
158
158
|
init_schema,
|
|
159
159
|
stripKnownSwarmPrefix
|
|
160
|
-
} from "./index-
|
|
160
|
+
} from "./index-s1cm0jre.js";
|
|
161
161
|
import {
|
|
162
162
|
AGENT_TOOL_MAP,
|
|
163
163
|
ORCHESTRATOR_NAME,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-t5t6cqfb.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-wn00ra10.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteCoordinationState,
|
|
10
10
|
derivePlanId,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./index-ry16d01s.js";
|
|
24
24
|
import {
|
|
25
25
|
assertProjectRoot
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-bym86sb4.js";
|
|
27
27
|
import {
|
|
28
28
|
require_proper_lockfile
|
|
29
29
|
} from "./index-7g4c7s5r.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./index-8tn4yx8b.js";
|
|
34
34
|
import {
|
|
35
35
|
PlanSchema
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-cfjbrcv7.js";
|
|
37
37
|
import {
|
|
38
38
|
init_path_identity,
|
|
39
39
|
unsafePathTextReason
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-crx99j5b.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
8
|
} from "./index-czhbsgdh.js";
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
atomicWriteFile,
|
|
16
16
|
taskEvidencePath,
|
|
17
17
|
withTaskEvidenceLock
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-bym86sb4.js";
|
|
19
19
|
import {
|
|
20
20
|
telemetry
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-68nc7zev.js";
|
|
22
22
|
import {
|
|
23
23
|
init_git_executable,
|
|
24
24
|
resolveGitExecutable
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-zz7gzw57.js";
|
|
26
26
|
import {
|
|
27
27
|
advisoryWarn,
|
|
28
28
|
init_warning_buffer
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-4ddpvd5c.js";
|
|
30
30
|
import {
|
|
31
31
|
exports_external,
|
|
32
32
|
init_zod
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-wdcsy80q.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-gtjx3q5h.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-zz7gzw57.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-c45zvjeg.js";
|
|
6
6
|
import {
|
|
7
7
|
ApprovalEvidenceSchema,
|
|
8
8
|
BaseEvidenceSchema,
|
|
@@ -44,9 +44,9 @@ import {
|
|
|
44
44
|
loadPluginConfigWithMeta,
|
|
45
45
|
loadPluginConfigWithMetaAsync,
|
|
46
46
|
resetConfigAdvisoryDedup
|
|
47
|
-
} from "./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
} from "./index-cfjbrcv7.js";
|
|
48
|
+
import"./index-zz7gzw57.js";
|
|
49
|
+
import"./index-4ddpvd5c.js";
|
|
50
50
|
import {
|
|
51
51
|
AUTO_REVIEW_V8_BURN_IN_DECISION,
|
|
52
52
|
AgentOverrideConfigSchema,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
TurboConfigSchema,
|
|
72
72
|
WorktreeIsolationConfigSchema,
|
|
73
73
|
resolveAutoReviewConfig
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-s1cm0jre.js";
|
|
75
75
|
import {
|
|
76
76
|
ALL_AGENT_NAMES,
|
|
77
77
|
ALL_SUBAGENT_NAMES,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-9fnjkqsr.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
8
|
} from "./index-jj09bfnn.js";
|
|
@@ -14,27 +14,27 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-fh8jh5n1.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-czhbsgdh.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-wn00ra10.js";
|
|
24
24
|
import {
|
|
25
25
|
tryAcquireLock
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-bym86sb4.js";
|
|
27
27
|
import {
|
|
28
28
|
canonicalRootKeyFresh
|
|
29
29
|
} from "./index-1xnse449.js";
|
|
30
30
|
import {
|
|
31
31
|
init_git_executable,
|
|
32
32
|
resolveGitExecutable
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-zz7gzw57.js";
|
|
34
34
|
import {
|
|
35
35
|
advisoryWarn,
|
|
36
36
|
init_warning_buffer
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-4ddpvd5c.js";
|
|
38
38
|
import {
|
|
39
39
|
init_path_identity,
|
|
40
40
|
isPathWithinDeclaredScope
|
|
@@ -501,7 +501,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
|
|
|
501
501
|
awaitingMergeByCallID,
|
|
502
502
|
cleanupStandardWorktreeForCallId,
|
|
503
503
|
standardWorktreeByCallID
|
|
504
|
-
} = await import("./worktree-isolation-
|
|
504
|
+
} = await import("./worktree-isolation-6kebmn1t.js");
|
|
505
505
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
506
506
|
if (hasResidue)
|
|
507
507
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -633,7 +633,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
633
633
|
awaitingMergeByCallID,
|
|
634
634
|
finishStandardWorktreeDispatch,
|
|
635
635
|
standardWorktreeByCallID
|
|
636
|
-
} = await import("./worktree-isolation-
|
|
636
|
+
} = await import("./worktree-isolation-6kebmn1t.js");
|
|
637
637
|
const descriptor = wal.worktree;
|
|
638
638
|
const reconstructedDispatch = {
|
|
639
639
|
callID: descriptor.callID,
|
|
@@ -782,6 +782,7 @@ async function listCoderSettlementWalStates(directory) {
|
|
|
782
782
|
recordedAt: wal.recordedAt,
|
|
783
783
|
accepted: wal.accepted === true ? true : undefined,
|
|
784
784
|
declaredFiles: wal.context?.declaredFiles ?? null,
|
|
785
|
+
expectedGeneration: wal.expectedGeneration,
|
|
785
786
|
ownedInProcess: liveDispatches.has(dispatchKey(directory, taskId, wal.transitionId)),
|
|
786
787
|
ownedByLiveForeignPid: wal.processId !== process.pid && isProcessAlive(wal.processId)
|
|
787
788
|
});
|
|
@@ -877,7 +878,13 @@ async function recoverStaleCoderSettlements(directory, options) {
|
|
|
877
878
|
taskId: entry.taskId,
|
|
878
879
|
transitionId: entry.transitionId ?? "",
|
|
879
880
|
actor: "swarm-recovery"
|
|
880
|
-
}, {
|
|
881
|
+
}, {
|
|
882
|
+
forced,
|
|
883
|
+
accepted: recovered.accepted,
|
|
884
|
+
previousTransitionId: entry.transitionId ?? "",
|
|
885
|
+
previousState: entry.state,
|
|
886
|
+
...typeof entry.expectedGeneration === "number" ? { expectedGeneration: entry.expectedGeneration } : {}
|
|
887
|
+
});
|
|
881
888
|
results.push({
|
|
882
889
|
taskId: entry.taskId,
|
|
883
890
|
outcome: "recovered",
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-509g4m8s.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-580v9v50.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-twymcfj9.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-wdcsy80q.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-gtjx3q5h.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-bym86sb4.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
} from "./index-6tbnev6y.js";
|
|
16
16
|
import {
|
|
17
17
|
observeStoreHealth
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-t4kwsbhj.js";
|
|
19
19
|
import {
|
|
20
20
|
withEvidenceLock
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-bym86sb4.js";
|
|
22
22
|
import {
|
|
23
23
|
telemetry
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-68nc7zev.js";
|
|
25
25
|
import {
|
|
26
26
|
atomicWriteSwarmFileSync
|
|
27
27
|
} from "./index-8tn4yx8b.js";
|