opencode-swarm 7.181.0 → 7.181.2
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/stage-b-gates.d.ts +4 -0
- package/dist/cli/{coder-settlement-pqrfkm9d.js → coder-settlement-993vdsd2.js} +4 -4
- package/dist/cli/{config-doctor-bjqg57jr.js → config-doctor-nr27vfv6.js} +3 -3
- package/dist/cli/{core-3t3dzkrc.js → core-t3tg4397.js} +2 -2
- package/dist/cli/{curator-drift-gay4fx5j.js → curator-drift-hz3j3fad.js} +7 -7
- package/dist/cli/{curator-y8qr4xgh.js → curator-gk392717.js} +27 -27
- package/dist/cli/{curator-llm-factory-1wx0bd8k.js → curator-llm-factory-n01we8pa.js} +27 -27
- package/dist/cli/{evidence-summary-service-jeewwfpg.js → evidence-summary-service-fkvj8ct1.js} +11 -11
- package/dist/cli/{gate-evidence-ncnfxz7t.js → gate-evidence-1n6zffzb.js} +3 -3
- package/dist/cli/{guardrail-explain-cg9e3rr8.js → guardrail-explain-81jvm99e.js} +28 -28
- package/dist/cli/{guardrail-log-tjcnpwhv.js → guardrail-log-mw9x5j8g.js} +4 -4
- package/dist/cli/{guardrail-reset-ey81kcdq.js → guardrail-reset-6thsn6ad.js} +27 -27
- package/dist/cli/{hive-promoter-ghcynvfv.js → hive-promoter-pym6se37.js} +27 -27
- package/dist/cli/{index-wxjvb4vq.js → index-0h39trak.js} +1 -1
- package/dist/cli/{index-t8hv63wy.js → index-1wpnt86a.js} +3 -3
- package/dist/cli/{index-ytxgr424.js → index-2sqfrvxj.js} +2 -2
- package/dist/cli/{index-w872yykk.js → index-2t21pv2v.js} +5 -1
- package/dist/cli/{index-rqm075jf.js → index-5hxv1er2.js} +2 -2
- package/dist/cli/{index-t5gqdkqx.js → index-5q3xsqwm.js} +2 -2
- package/dist/cli/{index-gm67qky7.js → index-5v8zws0s.js} +3 -3
- package/dist/cli/{index-n7syegpa.js → index-5zy5k5w0.js} +16 -7
- package/dist/cli/{index-mkpczxy7.js → index-6x36hhd3.js} +27 -27
- package/dist/cli/{index-jysjhvpv.js → index-7nr9p5bd.js} +5 -5
- package/dist/cli/{index-886rpw6w.js → index-cr61qv27.js} +1 -1
- package/dist/cli/{index-6aj0ej18.js → index-dpxg347z.js} +3 -3
- package/dist/cli/{index-xq9gsfsc.js → index-ehvkz2zv.js} +3 -3
- package/dist/cli/{index-m31a2q35.js → index-ernt0wrg.js} +1234 -999
- package/dist/cli/{index-gez80bfr.js → index-et28q7cp.js} +2 -2
- package/dist/cli/{index-nhxykfyy.js → index-et7tg13p.js} +1 -1
- package/dist/cli/{index-pb3vrqsf.js → index-fmhd3zc8.js} +2 -2
- package/dist/cli/{index-1rcwsfwz.js → index-gmqf6bjj.js} +29 -29
- package/dist/cli/{index-pc3cw1xm.js → index-hbe56wtn.js} +3 -3
- package/dist/cli/{index-06f6h0fv.js → index-kzmd4gs7.js} +1 -1
- package/dist/cli/{index-m7havzy4.js → index-m779twtf.js} +1 -1
- package/dist/cli/{index-0vvpe98m.js → index-n5a9dq5s.js} +1 -1
- package/dist/cli/{index-ge1w25n8.js → index-pqtmzee6.js} +4 -4
- package/dist/cli/{index-r1cnmq4j.js → index-qw9aqays.js} +4 -4
- package/dist/cli/{index-y30y1rkg.js → index-t93cp2tz.js} +2 -2
- package/dist/cli/{index-dn0wqvv2.js → index-txx2mrsk.js} +7 -7
- package/dist/cli/{index-91dhg3wr.js → index-ved1325w.js} +2 -2
- package/dist/cli/{index-yet4r7kp.js → index-vmwmwahh.js} +3 -3
- package/dist/cli/{index-bv4b8tpa.js → index-vvgpgcyn.js} +10 -0
- package/dist/cli/{index-vmthakz0.js → index-w1ydvzef.js} +1 -1
- package/dist/cli/{index-s5ghg4kg.js → index-wph45kyb.js} +1 -1
- package/dist/cli/{index-jzg3wrx6.js → index-xz4q5vcg.js} +4 -4
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-jrkx2b6j.js → knowledge-escalator-jmqbmfbf.js} +7 -7
- package/dist/cli/{knowledge-events-bha1zpbk.js → knowledge-events-5ksqpf4g.js} +5 -5
- package/dist/cli/{knowledge-store-q438tkyd.js → knowledge-store-q3yy56sc.js} +1 -1
- package/dist/cli/{knowledge-validator-3nx18fst.js → knowledge-validator-r5kaz53f.js} +2 -2
- package/dist/cli/{mcp-98693syb.js → mcp-h82hxnxr.js} +1 -1
- package/dist/cli/{model-preflight-61xgqwcs.js → model-preflight-5b81adsj.js} +1 -1
- package/dist/cli/{pending-delegations-nkpvtkz4.js → pending-delegations-e4h6vjeb.js} +5 -5
- package/dist/cli/{pr-subscriptions-qrvhr6jw.js → pr-subscriptions-j7hw3k6x.js} +5 -5
- package/dist/cli/{pr-workflow-gate-k44gdrqd.js → pr-workflow-gate-js8dcry2.js} +27 -27
- package/dist/cli/{scan-cursor-qjdn8kv6.js → scan-cursor-yhf58mq2.js} +2 -2
- package/dist/cli/{schema-pyax2tq7.js → schema-0k4st1qt.js} +2 -2
- package/dist/cli/{scope-persistence-dyc17kze.js → scope-persistence-bpptmh1e.js} +9 -9
- package/dist/cli/{server-bmzj5vt2.js → server-axnran6h.js} +27 -27
- package/dist/cli/{skill-generator-mp29bht6.js → skill-generator-n2w032d1.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-azkzphpy.js → snapshot-coordination-init-kyf50x12.js} +27 -27
- package/dist/cli/{speckit-checkoff-1cqfakw2.js → speckit-checkoff-m4184e1x.js} +4 -4
- package/dist/cli/{worktree-collision-ownership-58sab2m6.js → worktree-collision-ownership-1g2414pf.js} +5 -5
- package/dist/cli/{worktree-isolation-9egt1ccv.js → worktree-isolation-x07f7cfp.js} +27 -27
- package/dist/db/qa-gate-profile.d.ts +6 -3
- package/dist/db/qa-gate-session-override.d.ts +72 -0
- package/dist/gate-evidence.d.ts +21 -0
- package/dist/index.js +308 -301
- package/dist/session/restart-reconciliation.d.ts +74 -0
- package/dist/state.d.ts +6 -3
- package/dist/tools/get-qa-gate-profile.d.ts +13 -6
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/recover-rework-task.d.ts +5 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/dist/workflow/rework-recovery.d.ts +38 -0
- package/dist/workflow/stage-a-repair.d.ts +42 -0
- package/package.json +1 -1
|
@@ -7,54 +7,54 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-ernt0wrg.js";
|
|
11
|
+
import"./index-5q3xsqwm.js";
|
|
12
12
|
import"./index-hamqvzqn.js";
|
|
13
13
|
import"./index-m65tnv4j.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
14
|
+
import"./index-et7tg13p.js";
|
|
15
|
+
import"./index-et28q7cp.js";
|
|
16
|
+
import"./index-txx2mrsk.js";
|
|
17
17
|
import"./index-s0zgz4p1.js";
|
|
18
18
|
import"./index-txdagbh7.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-m779twtf.js";
|
|
20
20
|
import"./index-6b295cas.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
21
|
+
import"./index-vmwmwahh.js";
|
|
22
|
+
import"./index-7nr9p5bd.js";
|
|
23
|
+
import"./index-cr61qv27.js";
|
|
24
24
|
import"./index-rdec0y3z.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-t93cp2tz.js";
|
|
26
26
|
import"./index-cjapb4hy.js";
|
|
27
27
|
import"./index-zsrtt42s.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-ehvkz2zv.js";
|
|
29
29
|
import"./index-bdpgfep1.js";
|
|
30
30
|
import"./index-92m05mew.js";
|
|
31
31
|
import"./index-pt7h91zc.js";
|
|
32
32
|
import"./index-q7sjgr1y.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
33
|
+
import"./index-kzmd4gs7.js";
|
|
34
|
+
import"./index-5zy5k5w0.js";
|
|
35
|
+
import"./index-2sqfrvxj.js";
|
|
36
|
+
import"./index-1wpnt86a.js";
|
|
37
|
+
import"./index-5v8zws0s.js";
|
|
38
38
|
import"./index-gc6h1fmf.js";
|
|
39
39
|
import"./index-2s7dvzff.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-wph45kyb.js";
|
|
41
41
|
import"./index-6gcxgx84.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-hbe56wtn.js";
|
|
44
44
|
import"./index-frcemc0b.js";
|
|
45
45
|
import"./index-0725jpp7.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-dpxg347z.js";
|
|
47
|
+
import"./index-pqtmzee6.js";
|
|
48
48
|
import"./index-38cfx8g8.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-ved1325w.js";
|
|
50
|
+
import"./index-w1ydvzef.js";
|
|
51
|
+
import"./index-vvgpgcyn.js";
|
|
52
52
|
import"./index-rdm3px0g.js";
|
|
53
53
|
import"./index-ry16d01s.js";
|
|
54
54
|
import"./index-516j9vsk.js";
|
|
55
55
|
import {
|
|
56
56
|
resolveHiveKnowledgePath
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-qw9aqays.js";
|
|
58
58
|
import"./index-vzm6zre7.js";
|
|
59
59
|
import"./index-ae75rja9.js";
|
|
60
60
|
import"./index-12ewkms0.js";
|
|
@@ -66,10 +66,10 @@ import"./index-ejhxgyvm.js";
|
|
|
66
66
|
import"./index-7g4c7s5r.js";
|
|
67
67
|
import"./index-989v83pb.js";
|
|
68
68
|
import"./index-gx2vp8gx.js";
|
|
69
|
-
import"./index-
|
|
69
|
+
import"./index-n5a9dq5s.js";
|
|
70
70
|
import"./index-zxdawwc7.js";
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
71
|
+
import"./index-5hxv1er2.js";
|
|
72
|
+
import"./index-2t21pv2v.js";
|
|
73
73
|
import"./index-bk5tah7q.js";
|
|
74
74
|
import"./index-gknz3bv1.js";
|
|
75
75
|
import"./index-zpsr8rpc.js";
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
releaseCoordinationLease,
|
|
19
19
|
transitionCoordinationState,
|
|
20
20
|
withCoordinationTransaction
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-w1ydvzef.js";
|
|
22
22
|
import {
|
|
23
23
|
getProjectDb,
|
|
24
24
|
projectDbExists
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-vvgpgcyn.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
28
|
} from "./index-516j9vsk.js";
|
|
@@ -4660,7 +4660,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4660
4660
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4661
4661
|
if (candidates.length === 0)
|
|
4662
4662
|
return 0;
|
|
4663
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4663
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-993vdsd2.js");
|
|
4664
4664
|
let transferred = 0;
|
|
4665
4665
|
for (const record of candidates) {
|
|
4666
4666
|
try {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
SWARM_WORKTREE_DIR_NAME,
|
|
22
22
|
init_constants
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-2t21pv2v.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
log
|
|
@@ -242,7 +242,7 @@ var _internals2 = {
|
|
|
242
242
|
symlinkSync: fs2.symlinkSync
|
|
243
243
|
},
|
|
244
244
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
245
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
245
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-bpptmh1e.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -261,6 +261,10 @@ var init_tool_metadata = __esm(() => {
|
|
|
261
261
|
description: "record a MANUAL critic_sounding_board gate entry to unblock the coder retry circuit-breaker gate when the sounding board returned APPROVED but the mechanical recorder missed it (issue #2703)",
|
|
262
262
|
agents: ["architect"]
|
|
263
263
|
},
|
|
264
|
+
recover_rework_task: {
|
|
265
|
+
description: "recover a task wedged at rework_required when the reviewer/test_engineer verdict did not require a code change: write a supervised stage_a_passed so those gates can be re-dispatched without re-running the coder (issue #2755)",
|
|
266
|
+
agents: ["architect"]
|
|
267
|
+
},
|
|
264
268
|
prepare_pr_workflow_checkout: {
|
|
265
269
|
description: "prepare an auditable PR workflow checkout or restore its exact original branch/HEAD and preserved stash after terminal cleanup",
|
|
266
270
|
agents: ["architect"]
|
|
@@ -699,7 +703,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
699
703
|
}
|
|
700
704
|
},
|
|
701
705
|
get_qa_gate_profile: {
|
|
702
|
-
description: "retrieve the QA gate profile for the current or exact future plan identity: gates (reviewer, test_engineer, sme_enabled, critic_pre_plan, sast_enabled, council_mode, hallucination_guard, mutation_test, phase_council, drift_check, final_council), lock state, and profile
|
|
706
|
+
description: "retrieve the QA gate profile for the current or exact future plan identity: gates (reviewer, test_engineer, sme_enabled, critic_pre_plan, sast_enabled, council_mode, hallucination_guard, mutation_test, phase_council, drift_check, final_council), lock state, profile hash, the calling session\u2019s ratchet-tighter overrides, and the EFFECTIVE gates (profile merged with those overrides; durable across restart). Read-only and never creates state.",
|
|
703
707
|
agents: ["architect"]
|
|
704
708
|
},
|
|
705
709
|
set_qa_gates: {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-2t21pv2v.js";
|
|
7
7
|
import {
|
|
8
8
|
OUTCOME_BLOCK_THRESHOLD,
|
|
9
9
|
init_knowledge_types
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.181.
|
|
24
|
+
version: "7.181.2",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-5hxv1er2.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-2t21pv2v.js";
|
|
15
15
|
import {
|
|
16
16
|
getPathFlavor,
|
|
17
17
|
init_path_identity,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./index-7g4c7s5r.js";
|
|
27
27
|
import {
|
|
28
28
|
loadPluginConfigWithMeta
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-n5a9dq5s.js";
|
|
30
30
|
import {
|
|
31
31
|
KnowledgeConfigSchema,
|
|
32
32
|
init_schema
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-5hxv1er2.js";
|
|
34
34
|
import {
|
|
35
35
|
init_logger,
|
|
36
36
|
warn
|
|
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
let bumps = 0;
|
|
2815
2815
|
if (deltas.length > 0) {
|
|
2816
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2816
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-q3yy56sc.js");
|
|
2817
2817
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2818
2818
|
}
|
|
2819
2819
|
return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-2sqfrvxj.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
8
|
} from "./index-gc6h1fmf.js";
|
|
@@ -1783,7 +1783,8 @@ var TaskWorkflowMetadataSchema = exports_external.object({
|
|
|
1783
1783
|
lastOutcome: exports_external.enum(TASK_WORKFLOW_OUTCOMES).default("none"),
|
|
1784
1784
|
lastTransitionId: exports_external.string().min(1).nullable().optional().default(null),
|
|
1785
1785
|
updatedAt: exports_external.string(),
|
|
1786
|
-
forcedCompletion: exports_external.boolean().optional()
|
|
1786
|
+
forcedCompletion: exports_external.boolean().optional(),
|
|
1787
|
+
supervisedRecovery: exports_external.boolean().optional()
|
|
1787
1788
|
});
|
|
1788
1789
|
var TaskEvidenceSchema = exports_external.object({
|
|
1789
1790
|
taskId: exports_external.string(),
|
|
@@ -1934,7 +1935,8 @@ function reduceTaskWorkflowSnapshot(current, event, context) {
|
|
|
1934
1935
|
lastOutcome: outcome,
|
|
1935
1936
|
lastTransitionId: event.transitionId ?? current.lastTransitionId,
|
|
1936
1937
|
updatedAt: context.nowIso,
|
|
1937
|
-
...current.forcedCompletion === true ? { forcedCompletion: true } : {}
|
|
1938
|
+
...current.forcedCompletion === true ? { forcedCompletion: true } : {},
|
|
1939
|
+
...current.supervisedRecovery === true ? { supervisedRecovery: true } : {}
|
|
1938
1940
|
};
|
|
1939
1941
|
switch (event.type) {
|
|
1940
1942
|
case "dispatch_attempted":
|
|
@@ -1965,20 +1967,23 @@ function reduceTaskWorkflowSnapshot(current, event, context) {
|
|
|
1965
1967
|
state: "rework_required",
|
|
1966
1968
|
retryCount: Math.min(current.retryCount + 1, 3),
|
|
1967
1969
|
retryHistory: [...current.retryHistory, outcome].slice(-3),
|
|
1968
|
-
retryEpoch: current.retryEpoch || current.generation + 1
|
|
1970
|
+
retryEpoch: current.retryEpoch || current.generation + 1,
|
|
1971
|
+
supervisedRecovery: undefined
|
|
1969
1972
|
};
|
|
1970
1973
|
}
|
|
1971
1974
|
return {
|
|
1972
1975
|
...base,
|
|
1973
1976
|
generation: current.generation + 1,
|
|
1974
|
-
state: "coder_delegated"
|
|
1977
|
+
state: "coder_delegated",
|
|
1978
|
+
supervisedRecovery: undefined
|
|
1975
1979
|
};
|
|
1976
1980
|
case "stage_a_passed":
|
|
1977
|
-
if (current.state !== "coder_delegated" && current.state !== "pre_check_passed") {
|
|
1981
|
+
if (current.state !== "coder_delegated" && current.state !== "pre_check_passed" && !(current.state === "rework_required" && event.supervisedRecovery === true)) {
|
|
1978
1982
|
throw new Error(`TASK_WORKFLOW_CODER_MUTATION_REQUIRED: cannot pass Stage A from ${current.state}`);
|
|
1979
1983
|
}
|
|
1980
1984
|
return {
|
|
1981
1985
|
...base,
|
|
1986
|
+
...event.supervisedRecovery === true ? { supervisedRecovery: true } : {},
|
|
1982
1987
|
state: "pre_check_passed"
|
|
1983
1988
|
};
|
|
1984
1989
|
case "stage_a_failed":
|
|
@@ -2034,7 +2039,11 @@ function reduceTaskWorkflowSnapshot(current, event, context) {
|
|
|
2034
2039
|
state: "closed"
|
|
2035
2040
|
};
|
|
2036
2041
|
case "repair_idle": {
|
|
2037
|
-
const {
|
|
2042
|
+
const {
|
|
2043
|
+
forcedCompletion: _cleared,
|
|
2044
|
+
supervisedRecovery: _clearedMarker,
|
|
2045
|
+
...withoutForced
|
|
2046
|
+
} = base;
|
|
2038
2047
|
return {
|
|
2039
2048
|
...withoutForced,
|
|
2040
2049
|
generation: current.generation + 1,
|
|
@@ -23,54 +23,54 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-ernt0wrg.js";
|
|
27
|
+
import"./index-5q3xsqwm.js";
|
|
28
28
|
import"./index-hamqvzqn.js";
|
|
29
29
|
import"./index-m65tnv4j.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
30
|
+
import"./index-et7tg13p.js";
|
|
31
|
+
import"./index-et28q7cp.js";
|
|
32
|
+
import"./index-txx2mrsk.js";
|
|
33
33
|
import"./index-s0zgz4p1.js";
|
|
34
34
|
import"./index-txdagbh7.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-m779twtf.js";
|
|
36
36
|
import"./index-6b295cas.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-vmwmwahh.js";
|
|
38
|
+
import"./index-7nr9p5bd.js";
|
|
39
|
+
import"./index-cr61qv27.js";
|
|
40
40
|
import {
|
|
41
41
|
createExplorerAgent
|
|
42
42
|
} from "./index-rdec0y3z.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-t93cp2tz.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
45
|
import"./index-zsrtt42s.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-ehvkz2zv.js";
|
|
47
47
|
import"./index-bdpgfep1.js";
|
|
48
48
|
import"./index-92m05mew.js";
|
|
49
49
|
import"./index-pt7h91zc.js";
|
|
50
50
|
import"./index-q7sjgr1y.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
51
|
+
import"./index-kzmd4gs7.js";
|
|
52
|
+
import"./index-5zy5k5w0.js";
|
|
53
|
+
import"./index-2sqfrvxj.js";
|
|
54
|
+
import"./index-1wpnt86a.js";
|
|
55
|
+
import"./index-5v8zws0s.js";
|
|
56
56
|
import"./index-gc6h1fmf.js";
|
|
57
57
|
import"./index-2s7dvzff.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-wph45kyb.js";
|
|
59
59
|
import"./index-6gcxgx84.js";
|
|
60
60
|
import"./index-rtry5xyf.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-hbe56wtn.js";
|
|
62
62
|
import"./index-frcemc0b.js";
|
|
63
63
|
import"./index-0725jpp7.js";
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
64
|
+
import"./index-dpxg347z.js";
|
|
65
|
+
import"./index-pqtmzee6.js";
|
|
66
66
|
import"./index-38cfx8g8.js";
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
67
|
+
import"./index-ved1325w.js";
|
|
68
|
+
import"./index-w1ydvzef.js";
|
|
69
|
+
import"./index-vvgpgcyn.js";
|
|
70
70
|
import"./index-rdm3px0g.js";
|
|
71
71
|
import"./index-ry16d01s.js";
|
|
72
72
|
import"./index-516j9vsk.js";
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-qw9aqays.js";
|
|
74
74
|
import"./index-vzm6zre7.js";
|
|
75
75
|
import"./index-ae75rja9.js";
|
|
76
76
|
import"./index-12ewkms0.js";
|
|
@@ -82,10 +82,10 @@ import"./index-ejhxgyvm.js";
|
|
|
82
82
|
import"./index-7g4c7s5r.js";
|
|
83
83
|
import"./index-989v83pb.js";
|
|
84
84
|
import"./index-gx2vp8gx.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-n5a9dq5s.js";
|
|
86
86
|
import"./index-zxdawwc7.js";
|
|
87
|
-
import"./index-
|
|
88
|
-
import"./index-
|
|
87
|
+
import"./index-5hxv1er2.js";
|
|
88
|
+
import"./index-2t21pv2v.js";
|
|
89
89
|
import"./index-bk5tah7q.js";
|
|
90
90
|
import"./index-gknz3bv1.js";
|
|
91
91
|
import"./index-zpsr8rpc.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-5v8zws0s.js";
|
|
7
7
|
import {
|
|
8
8
|
jaccardBigram,
|
|
9
9
|
readKnowledge,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveSwarmKnowledgePath,
|
|
12
12
|
transactKnowledge,
|
|
13
13
|
wordBigrams
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-qw9aqays.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-r5kaz53f.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-0k4st1qt.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-xz4q5vcg.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-pqtmzee6.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
7
|
} from "./index-38cfx8g8.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
transitionCoordinationState,
|
|
14
14
|
transitionCoordinationStateWithinTransaction,
|
|
15
15
|
withCoordinationTransaction
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-w1ydvzef.js";
|
|
17
17
|
import {
|
|
18
18
|
getProjectDb
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-vvgpgcyn.js";
|
|
20
20
|
import {
|
|
21
21
|
canonicalExistingFilesystemPath,
|
|
22
22
|
legacyCanonicalExistingFilesystemPath
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-5zy5k5w0.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-gc6h1fmf.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-x07f7cfp.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-x07f7cfp.js");
|
|
635
635
|
const descriptor = wal.worktree;
|
|
636
636
|
const reconstructedDispatch = {
|
|
637
637
|
callID: descriptor.callID,
|