opencode-swarm 7.192.1 → 7.192.3
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/critic-gate/SKILL.md +2 -1
- package/.opencode/skills/execute/SKILL.md +1 -1
- package/README.md +5 -3
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/critic.d.ts +2 -2
- package/dist/cli/{auto-checkpoint-kkakqktp.js → auto-checkpoint-8c7hpz0z.js} +8 -8
- package/dist/cli/{capability-probe-3mgxcfr9.js → capability-probe-rty1315z.js} +1 -1
- package/dist/cli/{checkpoint-cefw75xe.js → checkpoint-98h7ftn4.js} +16 -16
- package/dist/cli/{coder-settlement-tgdjczyp.js → coder-settlement-0nhsjfh1.js} +12 -12
- package/dist/cli/{config-doctor-sns7gbj2.js → config-doctor-ah661gsm.js} +15 -15
- package/dist/cli/{core-q8xvp8bw.js → core-eyk369jx.js} +3 -3
- package/dist/cli/{curation-policy-2q5xs0xg.js → curation-policy-yzdznz4z.js} +6 -6
- package/dist/cli/{curator-drift-1n3akmda.js → curator-drift-k6f7mnj5.js} +8 -8
- package/dist/cli/curator-llm-factory-9g9p90jz.js +82 -0
- package/dist/cli/{curator-mgdsxrpv.js → curator-t9cwtz64.js} +43 -43
- package/dist/cli/{doctor-knowledge-receipt-phase-id-33bp8fcs.js → doctor-knowledge-receipt-phase-id-dwygxv2m.js} +8 -8
- package/dist/cli/{evidence-summary-service-sb888pg8.js → evidence-summary-service-b9xq092m.js} +19 -19
- package/dist/cli/{gate-evidence-rmk87c6m.js → gate-evidence-g3qpsr62.js} +7 -7
- package/dist/cli/guardrail-explain-784a2m4p.js +83 -0
- package/dist/cli/{guardrail-log-d18dcweh.js → guardrail-log-b862hykr.js} +7 -7
- package/dist/cli/{guardrail-reset-1xeeetk7.js → guardrail-reset-avehjarw.js} +43 -43
- package/dist/cli/{hive-promoter-44grgbq4.js → hive-promoter-0zv095rz.js} +43 -43
- package/dist/cli/{index-cje7tt58.js → index-043r3t12.js} +1 -1
- package/dist/cli/{index-b79a8pc2.js → index-04knttpn.js} +2 -2
- package/dist/cli/{index-xjqa26fs.js → index-0e1nxkte.js} +1 -1
- package/dist/cli/{index-63v3gmgr.js → index-1n7sf9gz.js} +2 -2
- package/dist/cli/{index-km4x7yfb.js → index-31bd6hrm.js} +11 -11
- package/dist/cli/{index-95hc7xn4.js → index-3bst6f3c.js} +3 -3
- package/dist/cli/{index-edk2sgse.js → index-4bpnf2eg.js} +2 -2
- package/dist/cli/{index-w52xyp9v.js → index-4e8xcgkx.js} +2 -2
- package/dist/cli/{index-advcaree.js → index-4g39c948.js} +4 -4
- package/dist/cli/{index-k6h66zm3.js → index-4twjbsfw.js} +2 -2
- package/dist/cli/{index-xw19x0t7.js → index-5dws7eyb.js} +1 -1
- package/dist/cli/{index-t0se5zwe.js → index-5gy5dc2n.js} +2 -2
- package/dist/cli/{index-vt8hk0pt.js → index-5m64x65w.js} +244 -106
- package/dist/cli/{index-af3nmk6c.js → index-5mrvx2vm.js} +7 -7
- package/dist/cli/{index-v3bmeqqh.js → index-6a4t4p4p.js} +12 -7
- package/dist/cli/{index-f32hs2vt.js → index-83swjsyd.js} +4 -4
- package/dist/cli/{index-nb1c3342.js → index-8z8cj2rz.js} +7 -7
- package/dist/cli/{index-ga1pcs49.js → index-8zj647hc.js} +1 -1
- package/dist/cli/{index-d4cjbm4p.js → index-a9m7h5v0.js} +2 -2
- package/dist/cli/{index-fsm9gv1p.js → index-aqvsxjwn.js} +43 -43
- package/dist/cli/{index-pkgbrrn7.js → index-azr0092e.js} +1 -1
- package/dist/cli/{index-ysazjncb.js → index-b67200rm.js} +6 -6
- package/dist/cli/{index-ajp4dabz.js → index-b7nb6c0p.js} +5 -5
- package/dist/cli/{index-6shk3n43.js → index-bccf3c0h.js} +2 -2
- package/dist/cli/{index-kvtwwj8b.js → index-bgzpw6ge.js} +1 -1
- package/dist/cli/{index-vf6pqke0.js → index-bxtyg46p.js} +45 -45
- package/dist/cli/{index-sgxbqba0.js → index-bzfn85kq.js} +119 -55
- package/dist/cli/{index-r3gphy10.js → index-cme96pja.js} +5 -5
- package/dist/cli/{index-4cm1p2kj.js → index-dt4cjxbz.js} +1 -1
- package/dist/cli/{index-f6e44xh2.js → index-dtet46e6.js} +7 -7
- package/dist/cli/{index-8bx6vhzk.js → index-e8k0v19e.js} +1 -1
- package/dist/cli/{index-mhqh2dc9.js → index-eaess7dm.js} +1 -1
- package/dist/cli/{index-yfmgbhwz.js → index-ef0tgsgj.js} +20 -6
- package/dist/cli/{index-0yrsvwdf.js → index-f6am4ypq.js} +6 -6
- package/dist/cli/{index-ejfmgkt0.js → index-fayfa263.js} +3 -3
- package/dist/cli/{index-bwh9196c.js → index-fzcr2s01.js} +7 -7
- package/dist/cli/{index-t433r606.js → index-fzqn2kk8.js} +2 -2
- package/dist/cli/{index-jdw63xyd.js → index-g7vd2azv.js} +2 -2
- package/dist/cli/{index-28zgn6sm.js → index-g8jd3h4r.js} +2 -2
- package/dist/cli/{index-2wps5fec.js → index-hmgx2bsy.js} +3 -3
- package/dist/cli/{index-9b6bxe9b.js → index-mbn4vn3z.js} +1 -1
- package/dist/cli/{index-7vnr5cmp.js → index-mtqwyjrg.js} +1 -1
- package/dist/cli/{index-867d9dhf.js → index-nd4kkbjw.js} +3 -3
- package/dist/cli/{index-025wg2re.js → index-nwswxes7.js} +3 -3
- package/dist/cli/{index-s81tvz98.js → index-pq5962z7.js} +3 -3
- package/dist/cli/{index-ney8qpg3.js → index-rhjzq6kw.js} +1 -1
- package/dist/cli/{index-3txrbsa1.js → index-yc8v81ab.js} +4 -4
- package/dist/cli/{index-50b8f6qz.js → index-zdt5m9n2.js} +4 -4
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +60 -54
- package/dist/cli/{knowledge-escalator-naq700x5.js → knowledge-escalator-y879xx4c.js} +14 -14
- package/dist/cli/{knowledge-events-mmh5cya6.js → knowledge-events-07vpvmmr.js} +12 -12
- package/dist/cli/{knowledge-link-76egdqc9.js → knowledge-link-a5tvjqdt.js} +5 -5
- package/dist/cli/{knowledge-store-9dxr9jb9.js → knowledge-store-wae6s3ef.js} +6 -6
- package/dist/cli/{knowledge-validator-eze3s6fn.js → knowledge-validator-v13cjze1.js} +8 -8
- package/dist/cli/{mcp-1x2tpk71.js → mcp-5ns32ees.js} +1 -1
- package/dist/cli/{model-preflight-hgb7kf5d.js → model-preflight-06jexzsa.js} +43 -43
- package/dist/cli/{pending-delegations-zg4q1k5q.js → pending-delegations-8g7nne79.js} +12 -12
- package/dist/cli/{pr-subscriptions-zw8aev5s.js → pr-subscriptions-yp71fzeb.js} +12 -12
- package/dist/cli/{pr-workflow-gate-dcbpd451.js → pr-workflow-gate-rcfwt8jd.js} +43 -43
- package/dist/cli/{runner-y529qa4d.js → runner-8qybgy4n.js} +6 -6
- package/dist/cli/{scan-cursor-pdxmndd0.js → scan-cursor-9xqrqgbs.js} +7 -7
- package/dist/cli/{schema-hzz32642.js → schema-qxgn4xzy.js} +1 -1
- package/dist/cli/{scope-persistence-h4b6p951.js → scope-persistence-9dscq6a2.js} +15 -15
- package/dist/cli/{server-7gd7tqt5.js → server-v1s76pa3.js} +43 -43
- package/dist/cli/{skill-generator-7g7sca90.js → skill-generator-yjeam2kn.js} +16 -16
- package/dist/cli/{snapshot-coordination-init-4q5ykq22.js → snapshot-coordination-init-jqkew1cw.js} +43 -43
- package/dist/cli/{speckit-checkoff-5bfxs8r7.js → speckit-checkoff-atm1ftz7.js} +4 -4
- package/dist/cli/{telemetry-9szfdfqv.js → telemetry-qaymh4gg.js} +1 -1
- package/dist/cli/{workspace-snapshot-nre732xt.js → workspace-snapshot-vfpnxjsp.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-327d06qw.js → worktree-collision-ownership-ftg1bnx6.js} +13 -13
- package/dist/cli/{worktree-isolation-zqzs3wkk.js → worktree-isolation-ttqkatgg.js} +49 -43
- package/dist/commands/turbo.d.ts +4 -3
- package/dist/config/constants.d.ts +2 -2
- package/dist/config/plan-schema.d.ts +16 -0
- package/dist/epic/phase-readiness.d.ts +4 -2
- package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +11 -0
- package/dist/failures/provider-message-error.d.ts +32 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +40 -0
- package/dist/hooks/delegation-gate.d.ts +13 -0
- package/dist/hooks/extractors.d.ts +2 -0
- package/dist/hooks/guardrails/index.d.ts +2 -0
- package/dist/hooks/guardrails/parallel-gate-attribution.d.ts +10 -0
- package/dist/index.js +415 -412
- package/dist/plan/ledger.d.ts +21 -3
- package/dist/sandbox/linux/bubblewrap-executor.d.ts +24 -0
- package/dist/services/skill-optimizer/store.d.ts +2 -2
- package/dist/tools/phase-complete.d.ts +4 -0
- package/dist/turbo/lean/runner.d.ts +2 -0
- package/opencode-swarm.schema.json +1 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-tfn0cp68.js +0 -82
- package/dist/cli/guardrail-explain-n9ndp99q.js +0 -83
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
withEvidenceLock
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-e8k0v19e.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteFileAnyRoot
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-nwswxes7.js";
|
|
8
8
|
|
|
9
9
|
// src/evidence/task-file.ts
|
|
10
10
|
import * as path from "path";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-6b295cas.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-azr0092e.js";
|
|
8
8
|
import {
|
|
9
9
|
_internals,
|
|
10
10
|
clearWorktreeMergeStatus,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
estimateTokens,
|
|
21
21
|
readSwarmFileAsync,
|
|
22
22
|
validateSwarmPath
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-eaess7dm.js";
|
|
24
24
|
import {
|
|
25
25
|
bunHash,
|
|
26
26
|
bunWrite
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-ef0tgsgj.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-a9m7h5v0.js";
|
|
50
50
|
import {
|
|
51
51
|
deleteCoordinationStateWithinTransaction,
|
|
52
52
|
getCoordinationStateRaw,
|
|
@@ -55,13 +55,13 @@ import {
|
|
|
55
55
|
transitionCoordinationState,
|
|
56
56
|
transitionCoordinationStateWithinTransaction,
|
|
57
57
|
withCoordinationTransaction
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-mbn4vn3z.js";
|
|
59
59
|
import {
|
|
60
60
|
DURABILITY_CLASSES,
|
|
61
61
|
getProjectDb,
|
|
62
62
|
projectDbExists,
|
|
63
63
|
withDurabilityClass
|
|
64
|
-
} from "./index-
|
|
64
|
+
} from "./index-8zj647hc.js";
|
|
65
65
|
import {
|
|
66
66
|
derivePlanId,
|
|
67
67
|
derivePlanIdentityHash
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./index-t7hmqgjy.js";
|
|
72
72
|
import {
|
|
73
73
|
emit
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-mtqwyjrg.js";
|
|
75
75
|
import {
|
|
76
76
|
canonicalRootKeyFresh
|
|
77
77
|
} from "./index-fzpt2djt.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
atomicWriteSwarmFileSync,
|
|
83
83
|
invalidateCachedArtifact,
|
|
84
84
|
readCachedParsedFile
|
|
85
|
-
} from "./index-
|
|
85
|
+
} from "./index-nwswxes7.js";
|
|
86
86
|
import {
|
|
87
87
|
PlanSchema,
|
|
88
88
|
normalizeCurrentPhaseInPlace,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
init_loader,
|
|
94
94
|
isEpicModeConfigEnabled,
|
|
95
95
|
loadPluginConfigWithMeta
|
|
96
|
-
} from "./index-
|
|
96
|
+
} from "./index-rhjzq6kw.js";
|
|
97
97
|
import {
|
|
98
98
|
exports_external,
|
|
99
99
|
init_zod
|
|
@@ -2664,7 +2664,7 @@ ${markdown}`;
|
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
2666
|
async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
|
|
2667
|
-
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-
|
|
2667
|
+
const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-8c7hpz0z.js");
|
|
2668
2668
|
return maybeSaveAutoCheckpoint(directory, plan);
|
|
2669
2669
|
}
|
|
2670
2670
|
async function updateTaskStatus(directory, taskId, status, options) {
|
|
@@ -2740,7 +2740,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
|
|
|
2740
2740
|
if (status === "completed") {
|
|
2741
2741
|
try {
|
|
2742
2742
|
const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
|
|
2743
|
-
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-
|
|
2743
|
+
const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-atm1ftz7.js");
|
|
2744
2744
|
await maybePropagateSpeckitCheckoff(directory, {
|
|
2745
2745
|
taskId,
|
|
2746
2746
|
frRefs: completedTask?.fr_refs ?? [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPlanJsonOnly
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-31bd6hrm.js";
|
|
5
5
|
import {
|
|
6
6
|
isCanonicalPathWithinRoot
|
|
7
7
|
} from "./index-6b295cas.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
legacyEpicIssuePath,
|
|
15
15
|
migrateLegacyEpicConfig,
|
|
16
16
|
resolveEpicConfig
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-rhjzq6kw.js";
|
|
18
18
|
import {
|
|
19
19
|
FALLBACK_MODELS_MAX,
|
|
20
20
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
init_schema,
|
|
25
25
|
retiredEpicKeyReplacement,
|
|
26
26
|
stripKnownSwarmPrefix
|
|
27
|
-
} from "./index-
|
|
27
|
+
} from "./index-04knttpn.js";
|
|
28
28
|
import {
|
|
29
29
|
ALL_AGENT_NAMES,
|
|
30
30
|
TOOL_NAME_SET,
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-5m64x65w.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-nd4kkbjw.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-5mrvx2vm.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-bgzpw6ge.js";
|
|
9
9
|
import {
|
|
10
10
|
init_git_executable,
|
|
11
11
|
resolveGitExecutableAsync
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
queryHistoricalOutcomes
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-6a4t4p4p.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveHiveEventsPath
|
|
7
7
|
} from "./index-ae75rja9.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveKnowledgeStoreDir
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-bgzpw6ge.js";
|
|
11
11
|
import {
|
|
12
12
|
atomicWriteFile
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-1n7sf9gz.js";
|
|
14
14
|
import {
|
|
15
15
|
canonicalRootKey
|
|
16
16
|
} from "./index-fzpt2djt.js";
|
|
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
708
708
|
}
|
|
709
709
|
let bumps = 0;
|
|
710
710
|
if (deltas.length > 0) {
|
|
711
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
711
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-wae6s3ef.js");
|
|
712
712
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
713
713
|
}
|
|
714
714
|
return {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
pseudonymousRef,
|
|
4
4
|
resolveLineageSalt,
|
|
5
5
|
telemetry
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-mtqwyjrg.js";
|
|
7
7
|
import {
|
|
8
8
|
canonicalRootKeyFresh
|
|
9
9
|
} from "./index-fzpt2djt.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteSwarmFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-nwswxes7.js";
|
|
13
13
|
|
|
14
14
|
// src/health/learning-health.ts
|
|
15
15
|
import { promises as fs } from "fs";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-1n7sf9gz.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-e8k0v19e.js";
|
|
16
16
|
import {
|
|
17
17
|
assertProjectRoot
|
|
18
18
|
} from "./index-t7hmqgjy.js";
|