opencode-swarm 7.184.8 → 7.184.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/skills/issue-ingest/SKILL.md +1 -1
- package/README.md +6 -3
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{coder-settlement-r66d0hrv.js → coder-settlement-b47vmcm9.js} +11 -11
- package/dist/cli/{config-doctor-4283xkfv.js → config-doctor-3j3m2ccc.js} +3 -3
- package/dist/cli/{core-mz92tdmh.js → core-td5kj2w8.js} +4 -4
- package/dist/cli/{curation-policy-k43q6b91.js → curation-policy-xe77n9zj.js} +4 -4
- package/dist/cli/{curator-x826phy6.js → curator-c7we2apv.js} +38 -38
- package/dist/cli/{curator-drift-apjkb9ef.js → curator-drift-wxyhgz7y.js} +9 -9
- package/dist/cli/curator-llm-factory-1260n9ty.js +75 -0
- package/dist/cli/{evidence-summary-service-5tbqybse.js → evidence-summary-service-2t1ttdgj.js} +17 -17
- package/dist/cli/{gate-evidence-v6g6bwm5.js → gate-evidence-5w2q1h5w.js} +8 -6
- package/dist/cli/guardrail-explain-qeywnmza.js +76 -0
- package/dist/cli/{guardrail-log-nqg3kd9m.js → guardrail-log-5zwqdhaf.js} +7 -7
- package/dist/cli/{guardrail-reset-vyn98as6.js → guardrail-reset-qnq1swzf.js} +38 -38
- package/dist/cli/{hive-promoter-y7ddjf37.js → hive-promoter-c3c6tz3b.js} +38 -38
- package/dist/cli/{index-b1v0zxnh.js → index-07fqfseh.js} +2 -2
- package/dist/cli/{index-qeqn241m.js → index-0ajyhjht.js} +1 -1
- package/dist/cli/{index-4hrc0gmy.js → index-0d7e94zg.js} +7 -7
- package/dist/cli/{index-2t4zv1ag.js → index-0mj7hc2z.js} +2 -2
- package/dist/cli/{index-h5y74yhy.js → index-19e61hgv.js} +12 -12
- package/dist/cli/{index-zce97jmt.js → index-1g2bm6ht.js} +2 -2
- package/dist/cli/{index-n2md4hfb.js → index-260174fq.js} +4 -4
- package/dist/cli/{index-e1zrgvqg.js → index-35cdceqf.js} +1 -1
- package/dist/cli/{index-65xbb93y.js → index-3rfc2v1d.js} +3 -3
- package/dist/cli/{index-gkrsy2vy.js → index-3wgvpxmv.js} +96 -90
- package/dist/cli/{index-5rpg65jz.js → index-45h58v8d.js} +7 -7
- package/dist/cli/{index-ezagem2g.js → index-48jvqqfa.js} +2 -2
- package/dist/cli/{index-239r2znx.js → index-4szb7qpv.js} +37 -6
- package/dist/cli/{index-z9b6abs8.js → index-54f1payv.js} +2 -2
- package/dist/cli/{index-t0mb5a9p.js → index-5m1b70z3.js} +1 -1
- package/dist/cli/{index-tr83fkh2.js → index-7849gy4s.js} +5 -5
- package/dist/cli/{index-zcka2cmb.js → index-8n2dh26k.js} +1 -1
- package/dist/cli/{index-q858w0wz.js → index-95vytkv6.js} +4 -4
- package/dist/cli/{index-qat6caah.js → index-9jz73x8x.js} +38 -38
- package/dist/cli/{index-rmspt7xm.js → index-aae38s4x.js} +1 -1
- package/dist/cli/{index-bn604f1g.js → index-b6saxkqj.js} +2 -2
- package/dist/cli/{index-q39ecyaq.js → index-be5h97z8.js} +1 -1
- package/dist/cli/{index-cq0ft5wb.js → index-bhj3zx43.js} +1 -1
- package/dist/cli/{index-pv82gzpy.js → index-bt1k1ek3.js} +1 -1
- package/dist/cli/{index-w9517q25.js → index-cjh92zm9.js} +40 -40
- package/dist/cli/{index-rdsrbanf.js → index-djnxehe7.js} +6 -6
- package/dist/cli/{index-7xv2hvr6.js → index-dqpq8m9w.js} +2 -2
- package/dist/cli/{index-0nzrz0a7.js → index-f336fv53.js} +4 -4
- package/dist/cli/{index-psdt9tg0.js → index-fn1y9jpv.js} +3 -3
- package/dist/cli/{index-6grdzhtz.js → index-fxtgxe04.js} +7 -7
- package/dist/cli/{index-98a0rxby.js → index-gnryhmak.js} +1 -1
- package/dist/cli/{index-g2r6t7by.js → index-hk0eh9qb.js} +1 -1
- package/dist/cli/{index-6wtf98v6.js → index-hs26e3k6.js} +2 -2
- package/dist/cli/{index-xqxqepsy.js → index-j4efx148.js} +2 -2
- package/dist/cli/{index-s95ghsy1.js → index-kg2mb1m5.js} +1 -1
- package/dist/cli/{index-1t2ctwkd.js → index-nh5fxxc9.js} +1 -1
- package/dist/cli/{index-6d2fdc4g.js → index-pj877ads.js} +5 -5
- package/dist/cli/{index-14j1jkyy.js → index-q7q00ppx.js} +6 -6
- package/dist/cli/{index-cnm1e97z.js → index-ta2kp4xy.js} +5 -5
- package/dist/cli/{index-dqb9528c.js → index-thcyqqdq.js} +2 -2
- package/dist/cli/{index-qntx5f14.js → index-tzyppdv7.js} +3 -3
- package/dist/cli/{index-fr6x6vn2.js → index-x119gdak.js} +1 -1
- package/dist/cli/{index-kdkp3zds.js → index-yyvkeev1.js} +4 -4
- package/dist/cli/index.js +39 -39
- package/dist/cli/{knowledge-escalator-2f5kkezr.js → knowledge-escalator-912nwxb4.js} +12 -12
- package/dist/cli/{knowledge-events-4qewgabr.js → knowledge-events-hvzj872f.js} +10 -10
- package/dist/cli/{knowledge-link-xw6vsbx3.js → knowledge-link-8tetyje0.js} +3 -3
- package/dist/cli/{knowledge-store-04jxzbz5.js → knowledge-store-sqx0axb6.js} +4 -4
- package/dist/cli/{knowledge-validator-x9g76cgh.js → knowledge-validator-d8m7p2vg.js} +6 -6
- package/dist/cli/{mcp-zcmpnd9g.js → mcp-nxxy0dq0.js} +1 -1
- package/dist/cli/{model-preflight-y2wvmkmw.js → model-preflight-2mmep72y.js} +38 -38
- package/dist/cli/{pending-delegations-44cwy210.js → pending-delegations-fat9r7w1.js} +10 -10
- package/dist/cli/{pr-subscriptions-hmca4kyq.js → pr-subscriptions-8xv7gaeb.js} +10 -10
- package/dist/cli/{pr-workflow-gate-anzvkr87.js → pr-workflow-gate-g9exsspv.js} +38 -38
- package/dist/cli/{runner-pvdhxh74.js → runner-ff0bj9w0.js} +4 -4
- package/dist/cli/{scan-cursor-t020wayb.js → scan-cursor-h9tza4z6.js} +5 -5
- package/dist/cli/{schema-q5xjg4ww.js → schema-1p9cw863.js} +2 -2
- package/dist/cli/{scope-persistence-yk8bhh58.js → scope-persistence-xv6b7daq.js} +14 -14
- package/dist/cli/{server-z5r7yyg7.js → server-z5401cje.js} +40 -38
- package/dist/cli/{skill-generator-gma98zj6.js → skill-generator-72n07p92.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-5hgtne5d.js → snapshot-coordination-init-xjyv8kxx.js} +38 -38
- package/dist/cli/{speckit-checkoff-5p71mpy2.js → speckit-checkoff-828xrjfd.js} +5 -5
- package/dist/cli/{workspace-snapshot-553c6cd3.js → workspace-snapshot-nrbvjh1c.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-z4hg58zq.js → worktree-collision-ownership-cr6vv3xk.js} +11 -11
- package/dist/cli/{worktree-isolation-505j9dhm.js → worktree-isolation-6yycqkc6.js} +38 -38
- package/dist/gate-evidence.d.ts +34 -0
- package/dist/hooks/issue-trace-reducer.d.ts +20 -2
- package/dist/hooks/issue-trace-state.d.ts +6 -2
- package/dist/hooks/issue-trace.d.ts +2 -0
- package/dist/index.js +28 -21
- package/dist/todo/todo-gate.d.ts +37 -0
- package/dist/tools/build-check.d.ts +6 -2
- package/dist/tools/phase-complete/gates/index.d.ts +1 -0
- package/dist/tools/phase-complete/gates/todo-gate.d.ts +14 -0
- package/dist/tools/phase-complete.d.ts +2 -1
- package/dist/tools/tool-metadata.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-79ee75n4.js +0 -75
- package/dist/cli/guardrail-explain-xdztayqz.js +0 -76
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-hk0eh9qb.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-35cdceqf.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-0mj7hc2z.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-hvzj872f.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-d8m7p2vg.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-1p9cw863.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-f336fv53.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -217,8 +217,8 @@ var init_tool_metadata = __esm(() => {
|
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
todo_extract: {
|
|
220
|
-
description: "structured TODO/FIXME extraction",
|
|
221
|
-
agents: ["architect", "researcher", "docs", "explorer"],
|
|
220
|
+
description: "structured TODO/FIXME extraction; with task_id, records the high-priority count as todo_scan gate evidence",
|
|
221
|
+
agents: ["architect", "researcher", "docs", "explorer", "coder"],
|
|
222
222
|
prWorkflow: {
|
|
223
223
|
modes: ["PR_REVIEW", "PR_FEEDBACK"],
|
|
224
224
|
capability: "observe"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-95vytkv6.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-gnryhmak.js";
|
|
9
9
|
import {
|
|
10
10
|
bunSpawn,
|
|
11
11
|
classifySpawnFailure
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
atomicWriteFile,
|
|
15
15
|
taskEvidencePath,
|
|
16
16
|
withTaskEvidenceLock
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-35cdceqf.js";
|
|
18
18
|
import {
|
|
19
19
|
assertProjectRoot
|
|
20
20
|
} from "./index-t7hmqgjy.js";
|
|
@@ -1846,6 +1846,12 @@ var TaskEvidenceSchema = exports_external.object({
|
|
|
1846
1846
|
source_sha256: exports_external.string().regex(/^[a-f0-9]{64}$/).nullable(),
|
|
1847
1847
|
source_generation: exports_external.number().int().min(0).nullable(),
|
|
1848
1848
|
requirements_receipt_hash: exports_external.string().regex(/^[a-f0-9]{64}$/).nullable()
|
|
1849
|
+
}).optional(),
|
|
1850
|
+
todo_scan: exports_external.object({
|
|
1851
|
+
priority: exports_external.string(),
|
|
1852
|
+
count: exports_external.number().int().min(0),
|
|
1853
|
+
details: exports_external.array(exports_external.string()).max(200).optional(),
|
|
1854
|
+
recorded_at: exports_external.string().optional()
|
|
1849
1855
|
}).optional()
|
|
1850
1856
|
});
|
|
1851
1857
|
function parseTaskEvidence(raw, expectedTaskId) {
|
|
@@ -2307,7 +2313,10 @@ function updateEvidenceForTransition(existing, event) {
|
|
|
2307
2313
|
gates,
|
|
2308
2314
|
turbo: "turbo" in event && event.turbo === true ? true : ("turbo" in event) && event.turbo === false ? existing?.turbo : existing?.turbo,
|
|
2309
2315
|
test_engineer_exempt: (event.type === "dispatch_attempted" || event.type === "dispatch_no_mutation" || event.type === "accepted_mutation") && event.agentType === "coder" ? event.context?.testEngineerExempt === true && !requiredGates.includes("test_engineer") : existing?.test_engineer_exempt,
|
|
2310
|
-
workflow
|
|
2316
|
+
workflow,
|
|
2317
|
+
requirements_state: existing?.requirements_state,
|
|
2318
|
+
...existing?.repair_provenance ? { repair_provenance: existing.repair_provenance } : {},
|
|
2319
|
+
...existing?.todo_scan ? { todo_scan: existing.todo_scan } : {}
|
|
2311
2320
|
};
|
|
2312
2321
|
}
|
|
2313
2322
|
async function transitionTaskWorkflowEvidence(directory, taskId, event) {
|
|
@@ -2370,6 +2379,11 @@ async function withTaskEvidenceTransaction(directory, taskId, agent, callback) {
|
|
|
2370
2379
|
const evidence = await persist(nextEvidence, boundEvent);
|
|
2371
2380
|
return { evidence, duplicated };
|
|
2372
2381
|
};
|
|
2382
|
+
const saveImpl = async (nextEvidence) => {
|
|
2383
|
+
assertTaskEvidenceWriteAllowed(directory, taskId, undefined);
|
|
2384
|
+
nextEvidence.taskId = taskId;
|
|
2385
|
+
return persist(nextEvidence);
|
|
2386
|
+
};
|
|
2373
2387
|
return callback({
|
|
2374
2388
|
taskId,
|
|
2375
2389
|
read: () => current,
|
|
@@ -2377,7 +2391,8 @@ async function withTaskEvidenceTransaction(directory, taskId, agent, callback) {
|
|
|
2377
2391
|
const { evidence } = await transitionWithStatusImpl(event);
|
|
2378
2392
|
return evidence;
|
|
2379
2393
|
},
|
|
2380
|
-
transitionWithStatus: transitionWithStatusImpl
|
|
2394
|
+
transitionWithStatus: transitionWithStatusImpl,
|
|
2395
|
+
save: saveImpl
|
|
2381
2396
|
});
|
|
2382
2397
|
});
|
|
2383
2398
|
}
|
|
@@ -2411,6 +2426,22 @@ async function recordGateEvidence(directory, taskId, gate, sessionId, turbo, opt
|
|
|
2411
2426
|
});
|
|
2412
2427
|
telemetry.gatePassed(sessionId, gate, taskId);
|
|
2413
2428
|
}
|
|
2429
|
+
async function recordTodoScanEvidence(directory, taskId, scan) {
|
|
2430
|
+
assertValidTaskId(taskId);
|
|
2431
|
+
await withTaskEvidenceTransaction(directory, taskId, "todo_scan_recorded", async (transaction) => {
|
|
2432
|
+
const existing = transaction.read();
|
|
2433
|
+
const base = existing ?? {
|
|
2434
|
+
taskId,
|
|
2435
|
+
required_gates: [],
|
|
2436
|
+
gates: {},
|
|
2437
|
+
workflow: createDefaultWorkflowMetadata(new Date().toISOString())
|
|
2438
|
+
};
|
|
2439
|
+
if (!transaction.save) {
|
|
2440
|
+
throw new Error(`TASK_EVIDENCE_SAVE_UNAVAILABLE: transaction for task ${taskId} does not support supplementary writes`);
|
|
2441
|
+
}
|
|
2442
|
+
await transaction.save({ ...base, todo_scan: scan });
|
|
2443
|
+
});
|
|
2444
|
+
}
|
|
2414
2445
|
async function recordAgentDispatch(directory, taskId, agentType, turbo, context = {}) {
|
|
2415
2446
|
assertValidTaskId(taskId);
|
|
2416
2447
|
const expectedGeneration = getTaskWorkflowSnapshot(await readTaskEvidence(directory, taskId)).generation;
|
|
@@ -2490,4 +2521,4 @@ function compareTaskWorkflowStateRank(left, right) {
|
|
|
2490
2521
|
return WORKFLOW_STATE_RANK[left] - WORKFLOW_STATE_RANK[right];
|
|
2491
2522
|
}
|
|
2492
2523
|
|
|
2493
|
-
export { isStrictTaskId, sanitizeTaskId, listRecoveryRecords, GitBinaryMissingError, GitSpawnCwdError, isGitBinaryMissing, isSpawnCwdMissing, isSpawnCwdUnreadable, _internals, SOURCE_WORKTREE_GONE_STAGE, SOURCE_WORKTREE_UNCERTAIN_STAGE, getMergeStrategy, recoverMergeBackFromImmutableCoordinates, reconcileLandedMerge, postMergeCleanup, pruneStaleWorktreeMetadata, attemptMergeBackFromDirty, cleanupOrphanedBranches, startupOrphanRecovery, readWorkflowWalFile, writeWorkflowWalFile, _internals3 as _internals1, TASK_WORKFLOW_SCHEMA_MARKER, readCurrentTaskDeclaredFiles, TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL, assertTaskEvidenceWriteAllowed, parseTaskEvidence, DEFAULT_REQUIRED_GATES, isValidTaskId, getTaskWorkflowSnapshot, deriveApplicableGateSet, isReadOnlyNoMutationEligible, reduceTaskWorkflowSnapshot, deriveRequiredGates, expandRequiredGates, transitionTaskWorkflowEvidence, transitionTaskWorkflowEvidenceWithStatus, withTaskEvidenceTransaction, ensureTaskGateRequirementsReceiptForSettledTransition, recordGateEvidence, recordAgentDispatch, readTaskEvidence, readTaskEvidenceState, readTaskEvidenceRaw, hasPassedAllGates, compareTaskWorkflowStateRank };
|
|
2524
|
+
export { isStrictTaskId, sanitizeTaskId, listRecoveryRecords, GitBinaryMissingError, GitSpawnCwdError, isGitBinaryMissing, isSpawnCwdMissing, isSpawnCwdUnreadable, _internals, SOURCE_WORKTREE_GONE_STAGE, SOURCE_WORKTREE_UNCERTAIN_STAGE, getMergeStrategy, recoverMergeBackFromImmutableCoordinates, reconcileLandedMerge, postMergeCleanup, pruneStaleWorktreeMetadata, attemptMergeBackFromDirty, cleanupOrphanedBranches, startupOrphanRecovery, readWorkflowWalFile, writeWorkflowWalFile, _internals3 as _internals1, TASK_WORKFLOW_SCHEMA_MARKER, readCurrentTaskDeclaredFiles, TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL, assertTaskEvidenceWriteAllowed, parseTaskEvidence, DEFAULT_REQUIRED_GATES, isValidTaskId, getTaskWorkflowSnapshot, deriveApplicableGateSet, isReadOnlyNoMutationEligible, reduceTaskWorkflowSnapshot, deriveRequiredGates, expandRequiredGates, transitionTaskWorkflowEvidence, transitionTaskWorkflowEvidenceWithStatus, withTaskEvidenceTransaction, ensureTaskGateRequirementsReceiptForSettledTransition, recordGateEvidence, recordTodoScanEvidence, recordAgentDispatch, readTaskEvidence, readTaskEvidenceState, readTaskEvidenceRaw, hasPassedAllGates, compareTaskWorkflowStateRank };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-45h58v8d.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-hk0eh9qb.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ta2kp4xy.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-kg2mb1m5.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteCoordinationState,
|
|
10
10
|
derivePlanId,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
transitionCoordinationState,
|
|
14
14
|
transitionCoordinationStateWithinTransaction,
|
|
15
15
|
withCoordinationTransaction
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-aae38s4x.js";
|
|
17
17
|
import {
|
|
18
18
|
getProjectDb
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-5m1b70z3.js";
|
|
20
20
|
import {
|
|
21
21
|
canonicalExistingFilesystemPath,
|
|
22
22
|
legacyCanonicalExistingFilesystemPath
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
atomicWriteSwarmFile,
|
|
32
32
|
atomicWriteSwarmFileSync
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-0mj7hc2z.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-gnryhmak.js";
|
|
5
5
|
import {
|
|
6
6
|
bunSpawn
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./index-mc72pk74.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteSwarmFileSync
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-0mj7hc2z.js";
|
|
14
14
|
import {
|
|
15
15
|
advisoryWarn,
|
|
16
16
|
init_git_executable,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
SWARM_WORKTREE_DIR_NAME,
|
|
22
22
|
init_constants
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-48jvqqfa.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-xv6b7daq.js");
|
|
246
246
|
return realWrite(directory, taskId, files);
|
|
247
247
|
},
|
|
248
248
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -23,70 +23,70 @@ import {
|
|
|
23
23
|
resolveFallbackModel,
|
|
24
24
|
resolvePrimaryAgentNames,
|
|
25
25
|
stripSwarmPrefix
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-3wgvpxmv.js";
|
|
27
|
+
import"./index-tzyppdv7.js";
|
|
28
28
|
import"./index-hamqvzqn.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
29
|
+
import"./index-be5h97z8.js";
|
|
30
|
+
import"./index-fn1y9jpv.js";
|
|
31
|
+
import"./index-thcyqqdq.js";
|
|
32
|
+
import"./index-19e61hgv.js";
|
|
33
|
+
import"./index-nh5fxxc9.js";
|
|
34
34
|
import"./index-txdagbh7.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-8n2dh26k.js";
|
|
36
36
|
import"./index-6b295cas.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-yyvkeev1.js";
|
|
38
|
+
import"./index-pj877ads.js";
|
|
39
|
+
import"./index-54f1payv.js";
|
|
40
40
|
import {
|
|
41
41
|
createExplorerAgent
|
|
42
42
|
} from "./index-rdec0y3z.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-q7q00ppx.js";
|
|
44
44
|
import"./index-cjapb4hy.js";
|
|
45
45
|
import"./index-zsrtt42s.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
46
|
+
import"./index-0d7e94zg.js";
|
|
47
|
+
import"./index-07fqfseh.js";
|
|
48
|
+
import"./index-dqpq8m9w.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-
|
|
56
|
-
import"./index-
|
|
51
|
+
import"./index-b6saxkqj.js";
|
|
52
|
+
import"./index-4szb7qpv.js";
|
|
53
|
+
import"./index-95vytkv6.js";
|
|
54
|
+
import"./index-djnxehe7.js";
|
|
55
|
+
import"./index-fxtgxe04.js";
|
|
56
|
+
import"./index-gnryhmak.js";
|
|
57
57
|
import"./index-2s7dvzff.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-260174fq.js";
|
|
59
|
+
import"./index-0ajyhjht.js";
|
|
60
60
|
import"./index-rtry5xyf.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-3rfc2v1d.js";
|
|
62
62
|
import"./index-frcemc0b.js";
|
|
63
63
|
import"./index-0725jpp7.js";
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
64
|
+
import"./index-7849gy4s.js";
|
|
65
|
+
import"./index-ta2kp4xy.js";
|
|
66
|
+
import"./index-kg2mb1m5.js";
|
|
67
|
+
import"./index-j4efx148.js";
|
|
68
|
+
import"./index-aae38s4x.js";
|
|
69
|
+
import"./index-5m1b70z3.js";
|
|
70
70
|
import"./index-rdm3px0g.js";
|
|
71
71
|
import"./index-ry16d01s.js";
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
72
|
+
import"./index-x119gdak.js";
|
|
73
|
+
import"./index-45h58v8d.js";
|
|
74
74
|
import"./index-vzm6zre7.js";
|
|
75
75
|
import"./index-ae75rja9.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
76
|
+
import"./index-hk0eh9qb.js";
|
|
77
|
+
import"./index-35cdceqf.js";
|
|
78
78
|
import"./index-t7hmqgjy.js";
|
|
79
79
|
import"./index-x1gyqgze.js";
|
|
80
80
|
import"./index-mc72pk74.js";
|
|
81
81
|
import"./index-c1ggtmpm.js";
|
|
82
82
|
import"./index-ejhxgyvm.js";
|
|
83
83
|
import"./index-7g4c7s5r.js";
|
|
84
|
-
import"./index-
|
|
84
|
+
import"./index-0mj7hc2z.js";
|
|
85
85
|
import"./index-gx2vp8gx.js";
|
|
86
|
-
import"./index-
|
|
86
|
+
import"./index-bhj3zx43.js";
|
|
87
87
|
import"./index-zxdawwc7.js";
|
|
88
|
-
import"./index-
|
|
89
|
-
import"./index-
|
|
88
|
+
import"./index-1g2bm6ht.js";
|
|
89
|
+
import"./index-48jvqqfa.js";
|
|
90
90
|
import"./index-bk5tah7q.js";
|
|
91
91
|
import"./index-gknz3bv1.js";
|
|
92
92
|
import"./index-zpsr8rpc.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot,
|
|
7
7
|
atomicWriteSwarmFileSync
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-0mj7hc2z.js";
|
|
9
9
|
import {
|
|
10
10
|
init_loader,
|
|
11
11
|
loadPluginConfig
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bhj3zx43.js";
|
|
13
13
|
import {
|
|
14
14
|
init_logger,
|
|
15
15
|
log,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-bt1k1ek3.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailExplain
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-hs26e3k6.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
DEFAULT_CI_DEADLINE_MS,
|
|
@@ -97,75 +97,75 @@ import {
|
|
|
97
97
|
handleWriteRetroCommand,
|
|
98
98
|
normalizeSwarmCommandInput,
|
|
99
99
|
resolveCommand
|
|
100
|
-
} from "./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
} from "./index-3wgvpxmv.js";
|
|
101
|
+
import"./index-tzyppdv7.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-be5h97z8.js";
|
|
104
|
+
import"./index-fn1y9jpv.js";
|
|
105
|
+
import"./index-thcyqqdq.js";
|
|
106
|
+
import"./index-19e61hgv.js";
|
|
107
|
+
import"./index-nh5fxxc9.js";
|
|
108
108
|
import"./index-txdagbh7.js";
|
|
109
|
-
import"./index-
|
|
109
|
+
import"./index-8n2dh26k.js";
|
|
110
110
|
import"./index-6b295cas.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-yyvkeev1.js";
|
|
112
|
+
import"./index-pj877ads.js";
|
|
113
|
+
import"./index-54f1payv.js";
|
|
114
114
|
import"./index-rdec0y3z.js";
|
|
115
|
-
import"./index-
|
|
115
|
+
import"./index-q7q00ppx.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-0d7e94zg.js";
|
|
119
|
+
import"./index-07fqfseh.js";
|
|
120
|
+
import"./index-dqpq8m9w.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-b6saxkqj.js";
|
|
124
|
+
import"./index-4szb7qpv.js";
|
|
125
|
+
import"./index-95vytkv6.js";
|
|
126
|
+
import"./index-djnxehe7.js";
|
|
127
|
+
import"./index-fxtgxe04.js";
|
|
128
|
+
import"./index-gnryhmak.js";
|
|
129
129
|
import"./index-2s7dvzff.js";
|
|
130
|
-
import"./index-
|
|
131
|
-
import"./index-
|
|
130
|
+
import"./index-260174fq.js";
|
|
131
|
+
import"./index-0ajyhjht.js";
|
|
132
132
|
import"./index-rtry5xyf.js";
|
|
133
|
-
import"./index-
|
|
133
|
+
import"./index-3rfc2v1d.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-7849gy4s.js";
|
|
137
|
+
import"./index-ta2kp4xy.js";
|
|
138
|
+
import"./index-kg2mb1m5.js";
|
|
139
|
+
import"./index-j4efx148.js";
|
|
140
|
+
import"./index-aae38s4x.js";
|
|
141
|
+
import"./index-5m1b70z3.js";
|
|
142
142
|
import"./index-rdm3px0g.js";
|
|
143
143
|
import"./index-ry16d01s.js";
|
|
144
|
-
import"./index-
|
|
145
|
-
import"./index-
|
|
144
|
+
import"./index-x119gdak.js";
|
|
145
|
+
import"./index-45h58v8d.js";
|
|
146
146
|
import"./index-vzm6zre7.js";
|
|
147
147
|
import"./index-ae75rja9.js";
|
|
148
|
-
import"./index-
|
|
149
|
-
import"./index-
|
|
148
|
+
import"./index-hk0eh9qb.js";
|
|
149
|
+
import"./index-35cdceqf.js";
|
|
150
150
|
import"./index-t7hmqgjy.js";
|
|
151
151
|
import"./index-x1gyqgze.js";
|
|
152
152
|
import"./index-mc72pk74.js";
|
|
153
153
|
import"./index-c1ggtmpm.js";
|
|
154
154
|
import"./index-ejhxgyvm.js";
|
|
155
155
|
import"./index-7g4c7s5r.js";
|
|
156
|
-
import"./index-
|
|
156
|
+
import"./index-0mj7hc2z.js";
|
|
157
157
|
import"./index-gx2vp8gx.js";
|
|
158
|
-
import"./index-
|
|
158
|
+
import"./index-bhj3zx43.js";
|
|
159
159
|
import"./index-zxdawwc7.js";
|
|
160
160
|
import {
|
|
161
161
|
init_schema,
|
|
162
162
|
stripKnownSwarmPrefix
|
|
163
|
-
} from "./index-
|
|
163
|
+
} from "./index-1g2bm6ht.js";
|
|
164
164
|
import {
|
|
165
165
|
AGENT_TOOL_MAP,
|
|
166
166
|
ORCHESTRATOR_NAME,
|
|
167
167
|
init_constants
|
|
168
|
-
} from "./index-
|
|
168
|
+
} from "./index-48jvqqfa.js";
|
|
169
169
|
import"./index-bk5tah7q.js";
|
|
170
170
|
import"./index-gknz3bv1.js";
|
|
171
171
|
import"./index-zpsr8rpc.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-gnryhmak.js";
|
|
5
5
|
import {
|
|
6
6
|
bunWrite
|
|
7
7
|
} from "./index-2s7dvzff.js";
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
releaseCoordinationLease,
|
|
19
19
|
transitionCoordinationState,
|
|
20
20
|
withCoordinationTransaction
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-aae38s4x.js";
|
|
22
22
|
import {
|
|
23
23
|
getProjectDb,
|
|
24
24
|
projectDbExists
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-5m1b70z3.js";
|
|
26
26
|
import {
|
|
27
27
|
observeDelegationLedgerPressure
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-x119gdak.js";
|
|
29
29
|
import {
|
|
30
30
|
EvidenceLockTimeoutError,
|
|
31
31
|
withEvidenceLock
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-35cdceqf.js";
|
|
33
33
|
import {
|
|
34
34
|
telemetry
|
|
35
35
|
} from "./index-x1gyqgze.js";
|
|
@@ -4669,7 +4669,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4669
4669
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4670
4670
|
if (candidates.length === 0)
|
|
4671
4671
|
return 0;
|
|
4672
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4672
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-b47vmcm9.js");
|
|
4673
4673
|
let transferred = 0;
|
|
4674
4674
|
for (const record of candidates) {
|
|
4675
4675
|
try {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-gnryhmak.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-0mj7hc2z.js";
|
|
8
8
|
|
|
9
9
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
10
10
|
import { createHash } from "crypto";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
_internals,
|
|
4
4
|
resolveWorktreeIsolationConfig
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3rfc2v1d.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-bhj3zx43.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-1g2bm6ht.js";
|
|
76
76
|
import {
|
|
77
77
|
ALL_AGENT_NAMES,
|
|
78
78
|
ALL_SUBAGENT_NAMES,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
QA_AGENTS,
|
|
83
83
|
isQAAgent,
|
|
84
84
|
isSubagent
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-48jvqqfa.js";
|
|
86
86
|
import"./index-bk5tah7q.js";
|
|
87
87
|
import"./index-gknz3bv1.js";
|
|
88
88
|
import"./index-zpsr8rpc.js";
|