opencode-swarm 7.200.14 → 7.200.15
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-tracer/references/full-resolution-contract.md +3 -2
- package/.opencode/skills/issue-tracer/scripts/scan-deferred.sh +23 -1
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{attest-task-1bhnpxsr.js → attest-task-13n2h0e1.js} +26 -26
- package/dist/cli/{auto-checkpoint-v0k01dwk.js → auto-checkpoint-y2jb8xkz.js} +4 -4
- package/dist/cli/{checkpoint-w9fkn2v6.js → checkpoint-7xvxfjhy.js} +8 -8
- package/dist/cli/{coder-settlement-4t577hx9.js → coder-settlement-mqsna865.js} +4 -4
- package/dist/cli/{config-doctor-m4c4f4j3.js → config-doctor-pe9djgym.js} +7 -7
- package/dist/cli/{core-pqpsbekk.js → core-t8zhsb11.js} +1 -1
- package/dist/cli/{curator-sxq06cgw.js → curator-3b444fw3.js} +26 -26
- package/dist/cli/{curator-drift-yb05q3a8.js → curator-drift-v9hvnz2a.js} +5 -5
- package/dist/cli/{curator-llm-factory-r2rsrmz4.js → curator-llm-factory-5ztranbp.js} +26 -26
- package/dist/cli/{doctor-knowledge-receipt-phase-id-7z98yg2z.js → doctor-knowledge-receipt-phase-id-s4g7pgd3.js} +4 -4
- package/dist/cli/{evidence-summary-service-y3g4tg5y.js → evidence-summary-service-pgwm6747.js} +10 -10
- package/dist/cli/{gate-evidence-7nasr4dk.js → gate-evidence-05fvtj4j.js} +3 -3
- package/dist/cli/{guardrail-explain-zhq6djgr.js → guardrail-explain-6e3eht7f.js} +27 -27
- package/dist/cli/{guardrail-log-enq4hp9f.js → guardrail-log-rdpa9rfm.js} +3 -3
- package/dist/cli/{guardrail-reset-3k2x5vsr.js → guardrail-reset-g9hbj2bk.js} +26 -26
- package/dist/cli/{hive-promoter-sstdct9j.js → hive-promoter-qxywg2vf.js} +26 -26
- package/dist/cli/{index-ztezaknp.js → index-07rj0h20.js} +28 -28
- package/dist/cli/{index-szwa4tek.js → index-0gxy6qap.js} +2 -2
- package/dist/cli/{index-phdf1pjq.js → index-2c9xt9f0.js} +2 -2
- package/dist/cli/{index-sxna6jn9.js → index-2xcfy4g4.js} +1 -1
- package/dist/cli/{index-vv9k85h0.js → index-3d8mmbp9.js} +6 -6
- package/dist/cli/{index-sm64f3fc.js → index-96mjkc9j.js} +61 -61
- package/dist/cli/{index-pdaycg02.js → index-cbs6exys.js} +1 -1
- package/dist/cli/{index-9p3phwap.js → index-cggcjczk.js} +2 -2
- package/dist/cli/{index-11aqm3bt.js → index-cv1z42ha.js} +1 -1
- package/dist/cli/{index-fhrcyexn.js → index-ee4w3zhd.js} +1 -1
- package/dist/cli/{index-wj3a023e.js → index-f1sz03jx.js} +1 -1
- package/dist/cli/{index-1520thw9.js → index-fjaxc27j.js} +1 -1
- package/dist/cli/{index-vjdwrd9r.js → index-ggd2g5ex.js} +1 -1
- package/dist/cli/{index-yc5e6yr5.js → index-gjch3wxw.js} +2 -2
- package/dist/cli/{index-39v48pf0.js → index-h13edr0f.js} +3 -3
- package/dist/cli/{index-93xekq7n.js → index-hwvkqk5r.js} +1 -1
- package/dist/cli/{index-gx2a1xgp.js → index-kymv0w7t.js} +1 -1
- package/dist/cli/{index-g3mrxex7.js → index-mc50qyz3.js} +3 -3
- package/dist/cli/{index-6cnppnh7.js → index-my4cv7m6.js} +2 -2
- package/dist/cli/{index-mem1hrkw.js → index-n7xg4fjt.js} +1 -1
- package/dist/cli/{index-t6dkmt0c.js → index-p2n9qm7q.js} +3 -3
- package/dist/cli/{index-vqxvdx7n.js → index-qvssp1bp.js} +2 -2
- package/dist/cli/{index-ne0s5g10.js → index-r7wpsgw3.js} +5 -5
- package/dist/cli/{index-szwmgbm4.js → index-ts82c4a1.js} +3 -3
- package/dist/cli/{index-5mbyavx0.js → index-v1kp2xbf.js} +1 -1
- package/dist/cli/{index-25v6n1t3.js → index-v7xt2k5h.js} +1 -1
- package/dist/cli/{index-j3me99q7.js → index-vgpxjc8z.js} +3 -3
- package/dist/cli/{index-gsyv2s9g.js → index-whghb75j.js} +4 -4
- package/dist/cli/{index-b7y19187.js → index-wzj595cj.js} +5 -5
- package/dist/cli/{index-h91a4abf.js → index-x5ra65kg.js} +3 -3
- package/dist/cli/{index-r160hfq9.js → index-ywj6k8bg.js} +26 -26
- package/dist/cli/index.js +27 -27
- package/dist/cli/{knowledge-escalator-h8j3v62j.js → knowledge-escalator-xz78pa2x.js} +7 -7
- package/dist/cli/{knowledge-events-f80mxhjd.js → knowledge-events-2xkc3qbp.js} +5 -5
- package/dist/cli/{knowledge-store-z0eb6xk5.js → knowledge-store-1qgnnszb.js} +1 -1
- package/dist/cli/{knowledge-validator-k0jn2w06.js → knowledge-validator-ara710n2.js} +2 -2
- package/dist/cli/{mcp-zg75c3e4.js → mcp-hxr8h6x9.js} +1 -1
- package/dist/cli/{model-preflight-2592b0fv.js → model-preflight-hmv22dqg.js} +26 -26
- package/dist/cli/{pending-delegations-ek7600es.js → pending-delegations-y5wbwx00.js} +2 -2
- package/dist/cli/{pr-subscriptions-wmzs42h3.js → pr-subscriptions-r8fnmq1t.js} +1 -1
- package/dist/cli/{pr-workflow-gate-regg66xa.js → pr-workflow-gate-dwpjb4v7.js} +26 -26
- package/dist/cli/{scan-cursor-rxpkxhj3.js → scan-cursor-mvfbz4e8.js} +2 -2
- package/dist/cli/{schema-art9xdhq.js → schema-5hh36kba.js} +1 -1
- package/dist/cli/{scope-persistence-7ny8a0gk.js → scope-persistence-j066dccb.js} +5 -5
- package/dist/cli/{server-b4nczew1.js → server-xm9gsb3c.js} +26 -26
- package/dist/cli/{skill-generator-bbzwn7ny.js → skill-generator-80v3t2tj.js} +8 -8
- package/dist/cli/{snapshot-coordination-init-1v237k29.js → snapshot-coordination-init-4c17fxg2.js} +26 -26
- package/dist/cli/{speckit-checkoff-tc2pswse.js → speckit-checkoff-gr031jmq.js} +3 -3
- package/dist/cli/{workflow-wal-file-4vh413p1.js → workflow-wal-file-w219pevg.js} +2 -2
- package/dist/cli/{worktree-collision-ownership-vt740r91.js → worktree-collision-ownership-bdthy28h.js} +2 -2
- package/dist/cli/{worktree-isolation-yqfqvtex.js → worktree-isolation-bs924rz9.js} +26 -26
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
protectedRoots,
|
|
18
18
|
redactDecisionLineForArchive,
|
|
19
19
|
stableCanonicalStringify
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-2xcfy4g4.js";
|
|
21
21
|
import {
|
|
22
22
|
detectStraySwarmDirs,
|
|
23
23
|
readDoctorArtifact,
|
|
24
24
|
removeStraySwarmDir,
|
|
25
25
|
resolvePlanParallelizationFlag,
|
|
26
26
|
runConfigDoctor
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-vgpxjc8z.js";
|
|
28
28
|
import {
|
|
29
29
|
archiveEvidence,
|
|
30
30
|
checkRequirementCoverage,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
sanitizeTaskId,
|
|
37
37
|
saveEvidence,
|
|
38
38
|
validateProjectRoot
|
|
39
|
-
} from "./index-
|
|
39
|
+
} from "./index-ee4w3zhd.js";
|
|
40
40
|
import {
|
|
41
41
|
EvaluationTaskV1Schema,
|
|
42
42
|
GateAuditManifestV1Schema,
|
|
@@ -107,16 +107,16 @@ import {
|
|
|
107
107
|
skillContractDigest,
|
|
108
108
|
splitSkillFrontmatter,
|
|
109
109
|
syncBundledProjectSkillsIfMissingAsync
|
|
110
|
-
} from "./index-
|
|
110
|
+
} from "./index-h13edr0f.js";
|
|
111
111
|
import {
|
|
112
112
|
buildEscalationBriefing,
|
|
113
113
|
readRecentEscalations
|
|
114
|
-
} from "./index-
|
|
114
|
+
} from "./index-3d8mmbp9.js";
|
|
115
115
|
import {
|
|
116
116
|
alreadyCuratedThisGeneration,
|
|
117
117
|
claimNextScanBatch,
|
|
118
118
|
resolveCohortId
|
|
119
|
-
} from "./index-
|
|
119
|
+
} from "./index-kymv0w7t.js";
|
|
120
120
|
import {
|
|
121
121
|
CURATOR_CONSOLIDATION_PROMPT,
|
|
122
122
|
CURATOR_INIT_PROMPT,
|
|
@@ -135,13 +135,13 @@ import {
|
|
|
135
135
|
getGroupCommitWriter,
|
|
136
136
|
importLegacyJsonl,
|
|
137
137
|
readPriorDriftReports
|
|
138
|
-
} from "./index-
|
|
138
|
+
} from "./index-cbs6exys.js";
|
|
139
139
|
import {
|
|
140
140
|
assertNoUnsettledCoderDispatch,
|
|
141
141
|
listCoderSettlementWalStates,
|
|
142
142
|
recoverCoderSettlement,
|
|
143
143
|
recoverStaleCoderSettlements
|
|
144
|
-
} from "./index-
|
|
144
|
+
} from "./index-wzj595cj.js";
|
|
145
145
|
import {
|
|
146
146
|
TASK_WORKFLOW_SCHEMA_MARKER,
|
|
147
147
|
compareTaskWorkflowStateRank,
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
readTaskEvidenceState,
|
|
156
156
|
transitionTaskWorkflowEvidenceWithStatus,
|
|
157
157
|
withTaskEvidenceTransaction
|
|
158
|
-
} from "./index-
|
|
158
|
+
} from "./index-fjaxc27j.js";
|
|
159
159
|
import {
|
|
160
160
|
fastForwardToRefAsync,
|
|
161
161
|
parsePorcelainV2Snapshot,
|
|
@@ -289,7 +289,7 @@ import {
|
|
|
289
289
|
writeAtomicJson,
|
|
290
290
|
writePrWorkflowAtomicJson,
|
|
291
291
|
writeStateWhileLocked
|
|
292
|
-
} from "./index-
|
|
292
|
+
} from "./index-p2n9qm7q.js";
|
|
293
293
|
import {
|
|
294
294
|
MAX_PENDING_SCOPE_BINDINGS,
|
|
295
295
|
canonicalWorkspaceIdentity,
|
|
@@ -298,7 +298,7 @@ import {
|
|
|
298
298
|
clearScopeBindings,
|
|
299
299
|
readAuthoritativeScopeBindingSet,
|
|
300
300
|
readDeclaredScopeFilesFromBindings
|
|
301
|
-
} from "./index-
|
|
301
|
+
} from "./index-v7xt2k5h.js";
|
|
302
302
|
import {
|
|
303
303
|
DEFAULT_QA_GATES,
|
|
304
304
|
computeProfileHash,
|
|
@@ -349,7 +349,7 @@ import {
|
|
|
349
349
|
swarmOverwriteCandidates,
|
|
350
350
|
trackedDirtyCandidates,
|
|
351
351
|
transientBackoff
|
|
352
|
-
} from "./index-
|
|
352
|
+
} from "./index-mc50qyz3.js";
|
|
353
353
|
import {
|
|
354
354
|
EPIC_MODE_CONFIG_DISABLED_MESSAGE,
|
|
355
355
|
PlanRecoverySupersededError,
|
|
@@ -381,7 +381,7 @@ import {
|
|
|
381
381
|
updateEpicRecord,
|
|
382
382
|
updateTaskStatus,
|
|
383
383
|
withPlanLifecycleLock
|
|
384
|
-
} from "./index-
|
|
384
|
+
} from "./index-r7wpsgw3.js";
|
|
385
385
|
import {
|
|
386
386
|
containsControlChars,
|
|
387
387
|
containsPathTraversal,
|
|
@@ -398,7 +398,7 @@ import {
|
|
|
398
398
|
resolveSpeckitProjection,
|
|
399
399
|
validateSpeckit,
|
|
400
400
|
writeProjectedSpecSync
|
|
401
|
-
} from "./index-
|
|
401
|
+
} from "./index-ts82c4a1.js";
|
|
402
402
|
import {
|
|
403
403
|
clearWorktreeMergeStatus,
|
|
404
404
|
getAllWorktreeMergeFailures,
|
|
@@ -421,7 +421,7 @@ import {
|
|
|
421
421
|
replayFromLedgerWithStatus,
|
|
422
422
|
resolvePlanningProfile,
|
|
423
423
|
takeSnapshotEvent
|
|
424
|
-
} from "./index-
|
|
424
|
+
} from "./index-2c9xt9f0.js";
|
|
425
425
|
import {
|
|
426
426
|
MAX_COORDINATION_STATE_LIST_ROWS,
|
|
427
427
|
deleteCoordinationImports,
|
|
@@ -485,7 +485,7 @@ import {
|
|
|
485
485
|
recordHiveKnowledgeEvent,
|
|
486
486
|
recordKnowledgeEvent,
|
|
487
487
|
resolveKnowledgeEventsPath
|
|
488
|
-
} from "./index-
|
|
488
|
+
} from "./index-qvssp1bp.js";
|
|
489
489
|
import {
|
|
490
490
|
commitDisplayedMembership,
|
|
491
491
|
commitEmptyRetrieval,
|
|
@@ -498,7 +498,7 @@ import {
|
|
|
498
498
|
queryLiveMemberships,
|
|
499
499
|
reconcilePhaseClose,
|
|
500
500
|
recordPhaseCloseIntent
|
|
501
|
-
} from "./index-
|
|
501
|
+
} from "./index-gjch3wxw.js";
|
|
502
502
|
import {
|
|
503
503
|
sanitizeContextText
|
|
504
504
|
} from "./index-m9zzj4ee.js";
|
|
@@ -519,7 +519,7 @@ import {
|
|
|
519
519
|
validateActionableFields,
|
|
520
520
|
validateLesson,
|
|
521
521
|
validateSkillPath
|
|
522
|
-
} from "./index-
|
|
522
|
+
} from "./index-f1sz03jx.js";
|
|
523
523
|
import {
|
|
524
524
|
MAX_CURATION_PROPOSALS,
|
|
525
525
|
authorizeCuration,
|
|
@@ -558,7 +558,7 @@ import {
|
|
|
558
558
|
transactFile,
|
|
559
559
|
transactKnowledge,
|
|
560
560
|
wordBigrams
|
|
561
|
-
} from "./index-
|
|
561
|
+
} from "./index-whghb75j.js";
|
|
562
562
|
import {
|
|
563
563
|
readTailJsonl,
|
|
564
564
|
readTailJsonlDetailed,
|
|
@@ -582,7 +582,7 @@ import {
|
|
|
582
582
|
} from "./index-erp7fk72.js";
|
|
583
583
|
import {
|
|
584
584
|
resolveWorktreeIsolationConfig
|
|
585
|
-
} from "./index-
|
|
585
|
+
} from "./index-my4cv7m6.js";
|
|
586
586
|
import {
|
|
587
587
|
RetrospectiveEvidenceSchema
|
|
588
588
|
} from "./index-g22dps7x.js";
|
|
@@ -603,7 +603,7 @@ import {
|
|
|
603
603
|
loadPluginConfig,
|
|
604
604
|
loadPluginConfigWithMeta,
|
|
605
605
|
resolveEpicConfig
|
|
606
|
-
} from "./index-
|
|
606
|
+
} from "./index-v1kp2xbf.js";
|
|
607
607
|
import {
|
|
608
608
|
DEFAULT_HARNESS_EVOLUTION_CONFIG,
|
|
609
609
|
DEFAULT_HARNESS_OPT_CONFIG,
|
|
@@ -625,7 +625,7 @@ import {
|
|
|
625
625
|
resolveContextWindow,
|
|
626
626
|
resolveGeneratedAgentRole,
|
|
627
627
|
stripKnownSwarmPrefix
|
|
628
|
-
} from "./index-
|
|
628
|
+
} from "./index-cv1z42ha.js";
|
|
629
629
|
import {
|
|
630
630
|
KNOWLEDGE_SCHEMA_VERSION,
|
|
631
631
|
OUTCOME_BLOCK_THRESHOLD,
|
|
@@ -647,7 +647,7 @@ import {
|
|
|
647
647
|
recoveryReadErrored,
|
|
648
648
|
startupOrphanRecovery,
|
|
649
649
|
writeWorkflowWalFile
|
|
650
|
-
} from "./index-
|
|
650
|
+
} from "./index-n7xg4fjt.js";
|
|
651
651
|
import {
|
|
652
652
|
assertSettlementArtifactsRemovable,
|
|
653
653
|
isPathUnderSwarmWorktreeBase,
|
|
@@ -658,7 +658,7 @@ import {
|
|
|
658
658
|
removeWorktree,
|
|
659
659
|
resolveWorktreeBaseDir,
|
|
660
660
|
withSettlementArtifactLifecycle
|
|
661
|
-
} from "./index-
|
|
661
|
+
} from "./index-0gxy6qap.js";
|
|
662
662
|
import {
|
|
663
663
|
estimateCharsForTokens,
|
|
664
664
|
estimateTokens,
|
|
@@ -9793,7 +9793,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
|
|
|
9793
9793
|
return extracted === expectedSessionId;
|
|
9794
9794
|
}
|
|
9795
9795
|
async function inspectStandardWorktreeCollisionOwnership(identity) {
|
|
9796
|
-
const collisionOwnership = await import("./worktree-collision-ownership-
|
|
9796
|
+
const collisionOwnership = await import("./worktree-collision-ownership-bdthy28h.js");
|
|
9797
9797
|
return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
|
|
9798
9798
|
}
|
|
9799
9799
|
async function runRecoveryGit(directory, args, timeoutMs = 15000) {
|
|
@@ -10221,7 +10221,7 @@ async function precreateStandardWorktreeSession(args) {
|
|
|
10221
10221
|
const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
|
|
10222
10222
|
if (laneProfile) {
|
|
10223
10223
|
try {
|
|
10224
|
-
const { writeLaneProfileToDiskReal } = await import("./core-
|
|
10224
|
+
const { writeLaneProfileToDiskReal } = await import("./core-t8zhsb11.js");
|
|
10225
10225
|
await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
|
|
10226
10226
|
} catch {}
|
|
10227
10227
|
}
|
|
@@ -11221,7 +11221,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
|
|
|
11221
11221
|
}
|
|
11222
11222
|
clearWorktreeMergeStatus(statusKey);
|
|
11223
11223
|
try {
|
|
11224
|
-
const { removeLaneProfileFromDiskReal } = await import("./core-
|
|
11224
|
+
const { removeLaneProfileFromDiskReal } = await import("./core-t8zhsb11.js");
|
|
11225
11225
|
await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
|
|
11226
11226
|
} catch {}
|
|
11227
11227
|
const state = serializationStateBySessionID.get(dispatch.parentSessionID);
|
|
@@ -29771,7 +29771,7 @@ function clearCriticalShownIds(sessionID) {
|
|
|
29771
29771
|
async function rehydratePrSubscriptions(sessionID, directory) {
|
|
29772
29772
|
const map = new Map;
|
|
29773
29773
|
try {
|
|
29774
|
-
const { listActive: listActive2 } = await import("./pr-subscriptions-
|
|
29774
|
+
const { listActive: listActive2 } = await import("./pr-subscriptions-r8fnmq1t.js");
|
|
29775
29775
|
const records = await listActive2(directory);
|
|
29776
29776
|
for (const record of records) {
|
|
29777
29777
|
if (record.sessionID !== sessionID)
|
|
@@ -40412,7 +40412,7 @@ async function handleAttestCommand(directory, args, sessionID) {
|
|
|
40412
40412
|
`);
|
|
40413
40413
|
}
|
|
40414
40414
|
const taskId = args[0];
|
|
40415
|
-
const { executeAttestTask } = await import("./attest-task-
|
|
40415
|
+
const { executeAttestTask } = await import("./attest-task-13n2h0e1.js");
|
|
40416
40416
|
const result = await executeAttestTask({
|
|
40417
40417
|
task_id: taskId,
|
|
40418
40418
|
working_directory: directory,
|
|
@@ -47604,9 +47604,9 @@ function hashContent(content) {
|
|
|
47604
47604
|
return createHash28("sha1").update(content).digest("hex");
|
|
47605
47605
|
}
|
|
47606
47606
|
async function loadConfigForPolicyCurator(directory) {
|
|
47607
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
47607
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-5hh36kba.js");
|
|
47608
47608
|
try {
|
|
47609
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
47609
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-x5ra65kg.js");
|
|
47610
47610
|
const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
|
|
47611
47611
|
return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
|
|
47612
47612
|
} catch {
|
|
@@ -50664,7 +50664,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
|
|
|
50664
50664
|
const seam = _internals49.createCuratorLLMDelegate;
|
|
50665
50665
|
if (seam)
|
|
50666
50666
|
return seam(directory, mode, sessionId);
|
|
50667
|
-
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-
|
|
50667
|
+
const { createCuratorLLMDelegate } = await import("./curator-llm-factory-5ztranbp.js");
|
|
50668
50668
|
return createCuratorLLMDelegate(directory, mode, sessionId);
|
|
50669
50669
|
}
|
|
50670
50670
|
async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
|
|
@@ -51059,7 +51059,7 @@ async function runFinalizeStage(ctx) {
|
|
|
51059
51059
|
}
|
|
51060
51060
|
}
|
|
51061
51061
|
try {
|
|
51062
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
51062
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-5hh36kba.js");
|
|
51063
51063
|
const { config: pmLoadedConfig } = _internals49.loadPluginConfigWithMeta(ctx.directory);
|
|
51064
51064
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
51065
51065
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -55132,7 +55132,7 @@ function adviseClosingStop(directory) {
|
|
|
55132
55132
|
}
|
|
55133
55133
|
async function writeSnapshot(directory, state) {
|
|
55134
55134
|
try {
|
|
55135
|
-
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-
|
|
55135
|
+
const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-4c17fxg2.js");
|
|
55136
55136
|
await ensureSnapshotCoordinationReady(directory);
|
|
55137
55137
|
if (closingStopAdvisedRoots.size > 0) {
|
|
55138
55138
|
closingStopAdvisedRoots.delete(canonicalProjectKey(directory));
|
|
@@ -58361,7 +58361,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
|
|
|
58361
58361
|
};
|
|
58362
58362
|
}
|
|
58363
58363
|
async function sweepActiveNearDuplicates(directory, options = {}) {
|
|
58364
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
58364
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-x5ra65kg.js");
|
|
58365
58365
|
const { config } = loadPluginConfigWithMeta2(directory);
|
|
58366
58366
|
const sweepConfig = config.learning?.dedup_sweep;
|
|
58367
58367
|
if (sweepConfig?.enabled === false)
|
|
@@ -59485,7 +59485,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
|
|
|
59485
59485
|
}
|
|
59486
59486
|
if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
|
|
59487
59487
|
try {
|
|
59488
|
-
const skillModule = await import("./skill-generator-
|
|
59488
|
+
const skillModule = await import("./skill-generator-80v3t2tj.js");
|
|
59489
59489
|
for (const cand of skillCandidates) {
|
|
59490
59490
|
if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
|
|
59491
59491
|
continue;
|
|
@@ -59957,7 +59957,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
|
|
|
59957
59957
|
} catch {}
|
|
59958
59958
|
}
|
|
59959
59959
|
if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
|
|
59960
|
-
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-
|
|
59960
|
+
const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-xz78pa2x.js");
|
|
59961
59961
|
for (const { id } of contradictedEntries) {
|
|
59962
59962
|
try {
|
|
59963
59963
|
await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
|
|
@@ -60789,7 +60789,7 @@ async function runCuratorPostMortem(directory, options = {}) {
|
|
|
60789
60789
|
warnings.push("Failed to collect knowledge summary.");
|
|
60790
60790
|
}
|
|
60791
60791
|
try {
|
|
60792
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
60792
|
+
const { getScanStatus } = await import("./scan-cursor-mvfbz4e8.js");
|
|
60793
60793
|
const scanStatus = await getScanStatus(directory);
|
|
60794
60794
|
if (scanStatus.remaining_estimate > 0) {
|
|
60795
60795
|
warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
|
|
@@ -60961,9 +60961,9 @@ var _internals71 = {
|
|
|
60961
60961
|
verifyPostMortemKnowledgeActions,
|
|
60962
60962
|
repairPostMortemActions,
|
|
60963
60963
|
loadDefaultKnowledgeConfig: async (directory) => {
|
|
60964
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
60964
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-5hh36kba.js");
|
|
60965
60965
|
try {
|
|
60966
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
60966
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-x5ra65kg.js");
|
|
60967
60967
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
60968
60968
|
return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
60969
60969
|
} catch {
|
|
@@ -60971,11 +60971,11 @@ var _internals71 = {
|
|
|
60971
60971
|
}
|
|
60972
60972
|
},
|
|
60973
60973
|
applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
|
|
60974
|
-
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-
|
|
60974
|
+
const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-3b444fw3.js");
|
|
60975
60975
|
return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
|
|
60976
60976
|
},
|
|
60977
60977
|
checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
|
|
60978
|
-
const { checkHivePromotions } = await import("./hive-promoter-
|
|
60978
|
+
const { checkHivePromotions } = await import("./hive-promoter-qxywg2vf.js");
|
|
60979
60979
|
return checkHivePromotions(entries2, knowledgeConfig, directory);
|
|
60980
60980
|
},
|
|
60981
60981
|
applyProposalTriage: async (directory, triage) => {
|
|
@@ -60984,7 +60984,7 @@ var _internals71 = {
|
|
|
60984
60984
|
activateProposal,
|
|
60985
60985
|
listSkills: listSkills2,
|
|
60986
60986
|
sanitizeSlug
|
|
60987
|
-
} = await import("./skill-generator-
|
|
60987
|
+
} = await import("./skill-generator-80v3t2tj.js");
|
|
60988
60988
|
const result = {
|
|
60989
60989
|
approved: [],
|
|
60990
60990
|
rejected: [],
|
|
@@ -61026,7 +61026,7 @@ var _internals71 = {
|
|
|
61026
61026
|
return result;
|
|
61027
61027
|
},
|
|
61028
61028
|
readPriorDriftReports: async (directory) => {
|
|
61029
|
-
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-
|
|
61029
|
+
const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-v9hvnz2a.js");
|
|
61030
61030
|
return readPriorDriftReports2(directory);
|
|
61031
61031
|
},
|
|
61032
61032
|
readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
|
|
@@ -71297,9 +71297,9 @@ var _internals79 = {
|
|
|
71297
71297
|
loadPluginConfigWithMeta,
|
|
71298
71298
|
loadCuratorDeps: async () => {
|
|
71299
71299
|
const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
|
|
71300
|
-
import("./schema-
|
|
71301
|
-
import("./curator-
|
|
71302
|
-
import("./curator-llm-factory-
|
|
71300
|
+
import("./schema-5hh36kba.js"),
|
|
71301
|
+
import("./curator-3b444fw3.js"),
|
|
71302
|
+
import("./curator-llm-factory-5ztranbp.js")
|
|
71303
71303
|
]);
|
|
71304
71304
|
return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
|
|
71305
71305
|
}
|
|
@@ -73747,7 +73747,7 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
73747
73747
|
let scanCompleted = false;
|
|
73748
73748
|
let scanRemaining = 0;
|
|
73749
73749
|
try {
|
|
73750
|
-
const { getScanStatus } = await import("./scan-cursor-
|
|
73750
|
+
const { getScanStatus } = await import("./scan-cursor-mvfbz4e8.js");
|
|
73751
73751
|
const status = await getScanStatus(directory);
|
|
73752
73752
|
scanGeneration = status.generation;
|
|
73753
73753
|
scanCompleted = status.completed;
|
|
@@ -73757,10 +73757,10 @@ async function computeCurationDiagnostics(directory, entries2) {
|
|
|
73757
73757
|
try {
|
|
73758
73758
|
const { isLinked: isLinked2 } = await import("./knowledge-link-r7e2t5c1.js");
|
|
73759
73759
|
if (isLinked2(directory)) {
|
|
73760
|
-
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-
|
|
73760
|
+
const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-5hh36kba.js");
|
|
73761
73761
|
let config;
|
|
73762
73762
|
try {
|
|
73763
|
-
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-
|
|
73763
|
+
const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-x5ra65kg.js");
|
|
73764
73764
|
const loaded = loadPluginConfigWithMeta2(directory);
|
|
73765
73765
|
config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
|
|
73766
73766
|
} catch {
|
|
@@ -75240,7 +75240,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
75240
75240
|
const result = runConfigDoctor(config, directory, planParallelizationEnabled);
|
|
75241
75241
|
let output;
|
|
75242
75242
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
75243
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
75243
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-pe9djgym.js");
|
|
75244
75244
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
|
|
75245
75245
|
applyLossy: true
|
|
75246
75246
|
});
|
|
@@ -75278,7 +75278,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
75278
75278
|
`;
|
|
75279
75279
|
}
|
|
75280
75280
|
try {
|
|
75281
|
-
const { runModelPreflight } = await import("./model-preflight-
|
|
75281
|
+
const { runModelPreflight } = await import("./model-preflight-hmv22dqg.js");
|
|
75282
75282
|
const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
|
|
75283
75283
|
const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
|
|
75284
75284
|
const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
|
|
@@ -75312,7 +75312,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
75312
75312
|
}
|
|
75313
75313
|
} catch {}
|
|
75314
75314
|
try {
|
|
75315
|
-
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-
|
|
75315
|
+
const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-s4g7pgd3.js");
|
|
75316
75316
|
output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
|
|
75317
75317
|
} catch {}
|
|
75318
75318
|
const strayDirs = detectStraySwarmDirs(directory);
|
|
@@ -77329,7 +77329,7 @@ async function handleEvidenceCommand(directory, args) {
|
|
|
77329
77329
|
return formatTaskEvidenceMarkdown(evidenceData);
|
|
77330
77330
|
}
|
|
77331
77331
|
async function handleEvidenceSummaryCommand(directory) {
|
|
77332
|
-
const { buildEvidenceSummary } = await import("./evidence-summary-service-
|
|
77332
|
+
const { buildEvidenceSummary } = await import("./evidence-summary-service-pgwm6747.js");
|
|
77333
77333
|
const artifact = await buildEvidenceSummary(directory);
|
|
77334
77334
|
if (!artifact) {
|
|
77335
77335
|
return "No plan found. Run `/swarm plan` to check plan status.";
|
|
@@ -102065,7 +102065,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
|
|
|
102065
102065
|
}
|
|
102066
102066
|
const sdkOpts = signal ? { signal } : {};
|
|
102067
102067
|
try {
|
|
102068
|
-
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-
|
|
102068
|
+
const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-ywj6k8bg.js");
|
|
102069
102069
|
const createResult = await client.session.create({
|
|
102070
102070
|
...sessionId ? {
|
|
102071
102071
|
body: {
|
|
@@ -104164,7 +104164,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
|
|
|
104164
104164
|
clearedEvents: []
|
|
104165
104165
|
};
|
|
104166
104166
|
try {
|
|
104167
|
-
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-
|
|
104167
|
+
const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-dwpjb4v7.js");
|
|
104168
104168
|
await cancelPrFeedbackPublication2(directory, sessionID, reason);
|
|
104169
104169
|
} catch (err) {
|
|
104170
104170
|
warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -120804,7 +120804,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
120804
120804
|
async function handleHelpCommand(ctx) {
|
|
120805
120805
|
const targetCommand = ctx.args.join(" ");
|
|
120806
120806
|
if (!targetCommand) {
|
|
120807
|
-
const { buildHelpText } = await import("./index-
|
|
120807
|
+
const { buildHelpText } = await import("./index-07rj0h20.js");
|
|
120808
120808
|
return buildHelpText();
|
|
120809
120809
|
}
|
|
120810
120810
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -120818,7 +120818,7 @@ async function handleHelpCommand(ctx) {
|
|
|
120818
120818
|
> Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
|
|
120819
120819
|
}
|
|
120820
120820
|
const similar = _internals38.findSimilarCommands(targetCommand);
|
|
120821
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
120821
|
+
const { buildHelpText: fullHelp } = await import("./index-07rj0h20.js");
|
|
120822
120822
|
if (similar.length > 0) {
|
|
120823
120823
|
return `Command '/swarm ${targetCommand}' not found.
|
|
120824
120824
|
|
|
@@ -121146,7 +121146,7 @@ var COMMAND_REGISTRY = {
|
|
|
121146
121146
|
},
|
|
121147
121147
|
"guardrail explain": {
|
|
121148
121148
|
handler: async (ctx) => {
|
|
121149
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
121149
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-6e3eht7f.js");
|
|
121150
121150
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
121151
121151
|
},
|
|
121152
121152
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -121156,7 +121156,7 @@ var COMMAND_REGISTRY = {
|
|
|
121156
121156
|
},
|
|
121157
121157
|
"guardrail reset": {
|
|
121158
121158
|
handler: async (ctx) => {
|
|
121159
|
-
const { handleGuardrailReset } = await import("./guardrail-reset-
|
|
121159
|
+
const { handleGuardrailReset } = await import("./guardrail-reset-g9hbj2bk.js");
|
|
121160
121160
|
return handleGuardrailReset(ctx.args, ctx.sessionID);
|
|
121161
121161
|
},
|
|
121162
121162
|
description: "Reset one exact active invocation/action circuit after repair",
|
|
@@ -121177,7 +121177,7 @@ var COMMAND_REGISTRY = {
|
|
|
121177
121177
|
},
|
|
121178
121178
|
"guardrail-log": {
|
|
121179
121179
|
handler: async (ctx) => {
|
|
121180
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
121180
|
+
const { handleGuardrailLog } = await import("./guardrail-log-rdpa9rfm.js");
|
|
121181
121181
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
121182
121182
|
},
|
|
121183
121183
|
description: "Read the guardrail decision log (use --blocks-only for blocks)",
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
mergeWriteAnalyses,
|
|
23
23
|
resolveWindowsWriteAuthority,
|
|
24
24
|
resolveWriteTargets
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-96mjkc9j.js";
|
|
26
26
|
import {
|
|
27
27
|
checkFileAuthority,
|
|
28
28
|
classifyFile,
|
|
29
29
|
isInDeclaredScope,
|
|
30
30
|
redactPath,
|
|
31
31
|
redactShellCommand
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-2xcfy4g4.js";
|
|
33
33
|
|
|
34
34
|
// src/services/guardrail-explain-service.ts
|
|
35
35
|
import path from "path";
|
|
@@ -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.200.
|
|
24
|
+
version: "7.200.15",
|
|
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",
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./index-3t46mez1.js";
|
|
11
11
|
import {
|
|
12
12
|
loadPluginConfigWithMeta
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-v1kp2xbf.js";
|
|
14
14
|
import {
|
|
15
15
|
KnowledgeConfigSchema,
|
|
16
16
|
init_schema
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-cv1z42ha.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-001tkp0j.js";
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-qvssp1bp.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-f1sz03jx.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-whghb75j.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
ensureTaskCheckpointReceipt,
|
|
5
5
|
loadPlan,
|
|
6
6
|
updateTaskCheckpointReceipt
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-r7wpsgw3.js";
|
|
8
8
|
import {
|
|
9
9
|
tool
|
|
10
10
|
} from "./index-9nyqt3kb.js";
|
|
11
11
|
import {
|
|
12
12
|
readLedgerEvents
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-2c9xt9f0.js";
|
|
14
14
|
import {
|
|
15
15
|
init_executor,
|
|
16
16
|
isUntrustedEnvKey,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./index-7pmbnjvj.js";
|
|
26
26
|
import {
|
|
27
27
|
loadPluginConfigWithMeta
|
|
28
|
-
} from "./index-
|
|
28
|
+
} from "./index-v1kp2xbf.js";
|
|
29
29
|
import {
|
|
30
30
|
GitBinaryMissingError,
|
|
31
31
|
GitSpawnCwdError,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-v1kp2xbf.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-cv1z42ha.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|