opencode-swarm 7.164.7 → 7.164.9
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/README.md +2 -2
- package/dist/cli/{coder-settlement-p8wwmtnn.js → coder-settlement-8wxdx3ge.js} +8 -8
- package/dist/cli/{config-doctor-wxf488mw.js → config-doctor-zqbzjqsk.js} +2 -2
- package/dist/cli/{core-671ybpbt.js → core-6b997gee.js} +1 -1
- package/dist/cli/{curation-policy-de7emfqc.js → curation-policy-w829da9a.js} +5 -5
- package/dist/cli/{curator-drift-nvxv8xkk.js → curator-drift-5sykmtf5.js} +3 -3
- package/dist/cli/{curator-eaz5rj6k.js → curator-hvet3ccp.js} +32 -32
- package/dist/cli/{curator-llm-factory-swzyfnh6.js → curator-llm-factory-mqyj4d2w.js} +32 -32
- package/dist/cli/{evidence-summary-service-deqsc8hj.js → evidence-summary-service-zefetqqa.js} +14 -14
- package/dist/cli/{gate-evidence-mafg71qb.js → gate-evidence-8ex11125.js} +5 -5
- package/dist/cli/guardrail-explain-mk9z5n76.js +69 -0
- package/dist/cli/{guardrail-log-k3w9dq6x.js → guardrail-log-jf1sj1zc.js} +6 -6
- package/dist/cli/{guardrail-reset-ae2step4.js → guardrail-reset-0062066m.js} +32 -32
- package/dist/cli/{hive-promoter-a4cs5sbr.js → hive-promoter-8nr61bhn.js} +32 -32
- package/dist/cli/{index-wgqeqy68.js → index-0rpfwzkw.js} +2 -2
- package/dist/cli/{index-9qkytpwa.js → index-18z6gf3a.js} +8 -8
- package/dist/cli/{index-y75xd50f.js → index-1afqzpj4.js} +5 -5
- package/dist/cli/{index-9ydhzegh.js → index-1anz3srx.js} +1 -1
- package/dist/cli/{index-2czt53wz.js → index-2bgr671r.js} +1 -1
- package/dist/cli/{index-h3k3rgyr.js → index-3qeznjj9.js} +4 -4
- package/dist/cli/{index-jkwfajh1.js → index-41m7f0xj.js} +3 -3
- package/dist/cli/{index-46yrz972.js → index-5kstr2ga.js} +2 -2
- package/dist/cli/{index-93znbdam.js → index-7fyjv3f2.js} +1 -1
- package/dist/cli/{index-4vx89ymn.js → index-7tme4v2x.js} +5 -5
- package/dist/cli/{index-8ntf8jnj.js → index-83bewmqd.js} +3 -3
- package/dist/cli/{index-8ck1jkhd.js → index-8m3w7sr7.js} +3 -3
- package/dist/cli/{index-3kgg2n6z.js → index-8nsknkgs.js} +1 -1
- package/dist/cli/{index-x3qzt684.js → index-bv90qkyw.js} +1 -1
- package/dist/cli/{index-gm65h7bh.js → index-g1rnq3pg.js} +3 -3
- package/dist/cli/{index-63enf73z.js → index-h933exaw.js} +8 -8
- package/dist/cli/{index-zg8tvjb0.js → index-hwqxp3kr.js} +39 -35
- package/dist/cli/{index-xy59dnvq.js → index-jpfktfb7.js} +1 -1
- package/dist/cli/{index-bvjwmmdc.js → index-mh57gjsd.js} +70 -69
- package/dist/cli/{index-zaab1wz9.js → index-n4fzmqz8.js} +3 -1
- package/dist/cli/{index-rey1tzcw.js → index-nj2gap5p.js} +6 -6
- package/dist/cli/{index-x2t2tbm2.js → index-nnetagj1.js} +2 -2
- package/dist/cli/{index-mr3h3sm5.js → index-pkga8b4j.js} +1 -1
- package/dist/cli/{index-ry4mwbc2.js → index-prmwcpqn.js} +1 -1
- package/dist/cli/{index-xc3q62ev.js → index-pxzx4wxb.js} +1 -1
- package/dist/cli/{index-fq1wfsmw.js → index-qkzyfnmc.js} +4 -4
- package/dist/cli/{index-1ekzd5wf.js → index-qxvdwx79.js} +3 -3
- package/dist/cli/{index-388sxv1b.js → index-rgj5zmms.js} +4 -4
- package/dist/cli/{index-zg34ngdf.js → index-s6ejwhew.js} +1 -1
- package/dist/cli/{index-0zjwnbze.js → index-sdhshera.js} +1 -1
- package/dist/cli/{index-3sv8t7ca.js → index-sf24zdbp.js} +2 -2
- package/dist/cli/{index-581bcqp9.js → index-teq4xzkh.js} +2 -2
- package/dist/cli/{index-yzn1fm9a.js → index-vjef4fy9.js} +1 -1
- package/dist/cli/{index-c4j9sjcs.js → index-vsxq8b54.js} +3 -3
- package/dist/cli/{index-v1fj9exz.js → index-wnw2rt73.js} +3 -3
- package/dist/cli/{index-kvq1e82k.js → index-ww6zm5hr.js} +3 -3
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-t532h2ym.js → knowledge-escalator-p60t5809.js} +11 -11
- package/dist/cli/{knowledge-events-hdtc0cxe.js → knowledge-events-90k35k0w.js} +9 -9
- package/dist/cli/{knowledge-link-hhnmc4g1.js → knowledge-link-kbbp0rhh.js} +4 -4
- package/dist/cli/{knowledge-store-45jadhmb.js → knowledge-store-rqkyw5zp.js} +5 -5
- package/dist/cli/{knowledge-validator-5e6qbq6h.js → knowledge-validator-5zqwvnvr.js} +7 -7
- package/dist/cli/{pending-delegations-z0crvst3.js → pending-delegations-jdztm7v1.js} +4 -4
- package/dist/cli/{pr-subscriptions-73fs8y3n.js → pr-subscriptions-7am85psn.js} +4 -4
- package/dist/cli/{pr-workflow-gate-rpdts7wy.js → pr-workflow-gate-2rqn6eat.js} +32 -32
- package/dist/cli/{runner-5qqh83e2.js → runner-59cbgcdy.js} +5 -5
- package/dist/cli/{scan-cursor-t75qznf3.js → scan-cursor-9bm4zfx2.js} +6 -6
- package/dist/cli/{schema-8dfjsrk6.js → schema-4yjk7z24.js} +1 -1
- package/dist/cli/{scope-persistence-zfmz4sws.js → scope-persistence-s2ayj1c3.js} +8 -8
- package/dist/cli/{skill-generator-psdb10jw.js → skill-generator-bddg7mx1.js} +13 -13
- package/dist/cli/{sqlite-loader-8zefc142.js → sqlite-loader-xrnf6bq8.js} +1 -1
- package/dist/cli/{telemetry-85gxedng.js → telemetry-mbqqamsj.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-xrqssqzd.js → worktree-collision-ownership-84j7w373.js} +4 -4
- package/dist/cli/{worktree-isolation-s9m3bgah.js → worktree-isolation-s0d3qtpv.js} +32 -32
- package/dist/commands/index.d.ts +1 -0
- package/dist/db/driver-parity.d.ts +12 -0
- package/dist/full-auto/policy.d.ts +12 -0
- package/dist/index.js +7 -7
- package/opencode-swarm.schema.json +2 -2
- package/package.json +1 -1
- package/dist/cli/guardrail-explain-ygq7cx9w.js +0 -69
|
@@ -7,66 +7,66 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
10
|
+
} from "./index-mh57gjsd.js";
|
|
11
|
+
import"./index-vjef4fy9.js";
|
|
12
|
+
import"./index-41m7f0xj.js";
|
|
13
|
+
import"./index-8nsknkgs.js";
|
|
14
|
+
import"./index-18z6gf3a.js";
|
|
15
|
+
import"./index-0rpfwzkw.js";
|
|
16
16
|
import"./index-txdagbh7.js";
|
|
17
17
|
import"./index-cw912re7.js";
|
|
18
18
|
import"./index-3146wmgv.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-g1rnq3pg.js";
|
|
20
|
+
import"./index-7tme4v2x.js";
|
|
21
|
+
import"./index-teq4xzkh.js";
|
|
22
22
|
import"./index-70ha9e09.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
23
|
+
import"./index-s6ejwhew.js";
|
|
24
|
+
import"./index-bv90qkyw.js";
|
|
25
|
+
import"./index-n4fzmqz8.js";
|
|
26
|
+
import"./index-83bewmqd.js";
|
|
27
27
|
import"./index-zsrtt42s.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-1afqzpj4.js";
|
|
29
29
|
import"./index-w3gtqey0.js";
|
|
30
30
|
import"./index-sxxh4ams.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-3qeznjj9.js";
|
|
32
|
+
import"./index-sdhshera.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
34
|
+
import"./index-rgj5zmms.js";
|
|
35
|
+
import"./index-pxzx4wxb.js";
|
|
36
|
+
import"./index-qxvdwx79.js";
|
|
37
|
+
import"./index-qkzyfnmc.js";
|
|
38
|
+
import"./index-wnw2rt73.js";
|
|
39
39
|
import"./index-ry16d01s.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-sf24zdbp.js";
|
|
41
41
|
import"./index-556ja8an.js";
|
|
42
42
|
import"./index-4fwbbad3.js";
|
|
43
43
|
import"./index-b43rt5ph.js";
|
|
44
44
|
import"./index-q7sjgr1y.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveHiveKnowledgePath
|
|
47
|
-
} from "./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
} from "./index-nj2gap5p.js";
|
|
48
|
+
import"./index-h933exaw.js";
|
|
49
|
+
import"./index-5kstr2ga.js";
|
|
50
50
|
import"./index-zg9d392c.js";
|
|
51
51
|
import"./index-n832052r.js";
|
|
52
52
|
import"./index-8tqqmsav.js";
|
|
53
53
|
import"./index-z6xqpmqg.js";
|
|
54
54
|
import"./index-r3mvsbtq.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
import"./index-jpfktfb7.js";
|
|
56
|
+
import"./index-8m3w7sr7.js";
|
|
57
57
|
import"./index-9e6fdz2h.js";
|
|
58
58
|
import"./index-4rhhvd1a.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-1anz3srx.js";
|
|
60
60
|
import"./index-8psybzzf.js";
|
|
61
61
|
import"./index-zjygnfay.js";
|
|
62
62
|
import"./index-ae75rja9.js";
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
63
|
+
import"./index-7fyjv3f2.js";
|
|
64
|
+
import"./index-pkga8b4j.js";
|
|
65
65
|
import"./index-bk5tah7q.js";
|
|
66
66
|
import"./index-7qefgq4j.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-2bgr671r.js";
|
|
68
68
|
import"./index-t1qzjhnj.js";
|
|
69
|
-
import"./index-
|
|
69
|
+
import"./index-ww6zm5hr.js";
|
|
70
70
|
import"./index-7g4c7s5r.js";
|
|
71
71
|
import"./index-bpmtbmy9.js";
|
|
72
72
|
import"./index-zgwm4ryv.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./index-txdagbh7.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-pkga8b4j.js";
|
|
13
13
|
import {
|
|
14
14
|
assertProjectRoot,
|
|
15
15
|
withEvidenceLock
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-2bgr671r.js";
|
|
17
17
|
import {
|
|
18
18
|
exports_external,
|
|
19
19
|
init_zod
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-0rpfwzkw.js";
|
|
7
7
|
import {
|
|
8
8
|
validateWorkspaceRoot
|
|
9
9
|
} from "./index-cw912re7.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
projectDbExists,
|
|
14
14
|
readEffectiveSpecSync,
|
|
15
15
|
withDurabilityClass
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-bv90qkyw.js";
|
|
17
17
|
import {
|
|
18
18
|
getWorktreeMergeFailure
|
|
19
19
|
} from "./index-zsrtt42s.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
readTaskEvidence,
|
|
28
28
|
readTaskEvidenceRaw,
|
|
29
29
|
sanitizeTaskId
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-rgj5zmms.js";
|
|
31
31
|
import {
|
|
32
32
|
LedgerStaleWriterError,
|
|
33
33
|
appendLedgerEvent,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
replayFromLedgerWithStatus,
|
|
48
48
|
takeSnapshotEvent,
|
|
49
49
|
takeSnapshotWithRetry
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-wnw2rt73.js";
|
|
51
51
|
import {
|
|
52
52
|
appendCoreEventSync
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-sf24zdbp.js";
|
|
54
54
|
import {
|
|
55
55
|
init_executor,
|
|
56
56
|
isUntrustedEnvKey,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./index-r3mvsbtq.js";
|
|
75
75
|
import {
|
|
76
76
|
PlanSchema
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-jpfktfb7.js";
|
|
78
78
|
import {
|
|
79
79
|
GIT_BINARY_ENV_VAR,
|
|
80
80
|
describeGitResolution,
|
|
@@ -88,14 +88,14 @@ import {
|
|
|
88
88
|
assertProjectRoot,
|
|
89
89
|
tryAcquireLock,
|
|
90
90
|
withEvidenceLock
|
|
91
|
-
} from "./index-
|
|
91
|
+
} from "./index-2bgr671r.js";
|
|
92
92
|
import {
|
|
93
93
|
invalidateCachedArtifact,
|
|
94
94
|
readCachedParsedFile
|
|
95
95
|
} from "./index-t1qzjhnj.js";
|
|
96
96
|
import {
|
|
97
97
|
emit
|
|
98
|
-
} from "./index-
|
|
98
|
+
} from "./index-ww6zm5hr.js";
|
|
99
99
|
import {
|
|
100
100
|
ZodError,
|
|
101
101
|
init_zod
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-rgj5zmms.js";
|
|
18
18
|
import {
|
|
19
19
|
appendCoreEventSync
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-sf24zdbp.js";
|
|
21
21
|
import {
|
|
22
22
|
isPathWithinDeclaredScope
|
|
23
23
|
} from "./index-556ja8an.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./index-7qefgq4j.js";
|
|
38
38
|
import {
|
|
39
39
|
tryAcquireLock
|
|
40
|
-
} from "./index-
|
|
40
|
+
} from "./index-2bgr671r.js";
|
|
41
41
|
import {
|
|
42
42
|
criticalWarn,
|
|
43
43
|
init_logger
|
|
@@ -487,7 +487,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
487
487
|
awaitingMergeByCallID,
|
|
488
488
|
cleanupStandardWorktreeForCallId,
|
|
489
489
|
standardWorktreeByCallID
|
|
490
|
-
} = await import("./worktree-isolation-
|
|
490
|
+
} = await import("./worktree-isolation-s0d3qtpv.js");
|
|
491
491
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
492
492
|
if (hasResidue)
|
|
493
493
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -611,7 +611,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
611
611
|
awaitingMergeByCallID,
|
|
612
612
|
finishStandardWorktreeDispatch,
|
|
613
613
|
standardWorktreeByCallID
|
|
614
|
-
} = await import("./worktree-isolation-
|
|
614
|
+
} = await import("./worktree-isolation-s0d3qtpv.js");
|
|
615
615
|
const descriptor = wal.worktree;
|
|
616
616
|
const reconstructedDispatch = {
|
|
617
617
|
callID: descriptor.callID,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-sdhshera.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-nj2gap5p.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-7fyjv3f2.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-pkga8b4j.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_schema,
|
|
13
13
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-8m3w7sr7.js";
|
|
15
15
|
import {
|
|
16
16
|
observeStoreHealth
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-1anz3srx.js";
|
|
18
18
|
import {
|
|
19
19
|
init_constants
|
|
20
20
|
} from "./index-8psybzzf.js";
|
|
21
21
|
import {
|
|
22
22
|
telemetry
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-ww6zm5hr.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
warn
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jpfktfb7.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-8m3w7sr7.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-nj2gap5p.js";
|
|
10
10
|
import {
|
|
11
11
|
queryHistoricalOutcomes,
|
|
12
12
|
readKnowledgeEvents,
|
|
13
13
|
recordKnowledgeEvent
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-h933exaw.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-5zqwvnvr.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-4yjk7z24.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-vsxq8b54.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-8tqqmsav.js";
|
|
5
5
|
import {
|
|
6
6
|
observeStoreHealth
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-1anz3srx.js";
|
|
8
8
|
import {
|
|
9
9
|
canonicalRootKey,
|
|
10
10
|
canonicalRootKeyFresh,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./index-7qefgq4j.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-2bgr671r.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteSwarmFileSync
|
|
18
18
|
} from "./index-t1qzjhnj.js";
|
|
19
19
|
import {
|
|
20
20
|
telemetry
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-ww6zm5hr.js";
|
|
22
22
|
import {
|
|
23
23
|
exports_external,
|
|
24
24
|
init_zod
|
|
@@ -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.164.
|
|
24
|
+
version: "7.164.9",
|
|
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",
|
|
@@ -1675,7 +1675,7 @@ var init_schema = __esm(() => {
|
|
|
1675
1675
|
watchdog: WatchdogConfigSchema.optional().describe("Scope-guard and delegation-ledger watchdog settings."),
|
|
1676
1676
|
self_review: SelfReviewConfigSchema.optional().describe("Advisory self-review after coder delegation."),
|
|
1677
1677
|
auto_review: AutoReviewConfigSchema.optional().describe("Opt-in execution-diff review by the reviewer model in a fresh ephemeral session at task/phase boundaries."),
|
|
1678
|
-
tool_filter: ToolFilterConfigSchema.optional().describe("Controls which tools each agent is allowed to use."),
|
|
1678
|
+
tool_filter: ToolFilterConfigSchema.optional().describe("Controls which plugin tools each agent is allowed to use; enforced through host-side per-agent permission denies (issue #2528). enabled: false lifts the plugin-tool allow-list but keeps each role's read-only write-family floor."),
|
|
1679
1679
|
authority: AuthorityConfigSchema.optional().describe("Per-agent file write authority rules."),
|
|
1680
1680
|
plan_cursor: PlanCursorConfigSchema.optional().describe("Compressed plan summary injection settings."),
|
|
1681
1681
|
context_map: ContextMapConfigSchema.optional().describe("Context Map (issue #1104, FR-006) \u2014 opt-in."),
|
|
@@ -1890,7 +1890,7 @@ var init_schema = __esm(() => {
|
|
|
1890
1890
|
})).describe("Full-auto autonomous orchestration with critic oversight: permission policy, denial accounting, oversight cadence triggers (v2 preserves v1 fields so existing configs load unchanged)."),
|
|
1891
1891
|
pr_monitor: PrMonitorConfigSchema.optional().describe("GitHub PR subscription and polling (FR-001) \u2014 disabled by default; opt-in for real-time PR status updates."),
|
|
1892
1892
|
external_skills: ExternalSkillsConfigSchema.optional().describe("External skills: candidate model, discovery, and quarantine store (FR-001) \u2014 all subsystems opt-in."),
|
|
1893
|
-
skills: SkillsConfigSchema.optional().describe("Opt-in gate for the 7 skill_* management tools (FR-004). Default false: the tools are
|
|
1893
|
+
skills: SkillsConfigSchema.optional().describe("Opt-in gate for the 7 skill_* management tools (FR-004). Default false: the tools are host-denied for every agent except skill_improver (genuinely unreachable, not merely unlisted \u2014 issue #2528)."),
|
|
1894
1894
|
skill_opt: SkillOptConfigSchema.optional().describe("Governed skill optimizer (issue #1822). Disabled by default; /swarm skill-opt run requires enabled: true. All other subcommands are proposal-only/read-only by default.")
|
|
1895
1895
|
});
|
|
1896
1896
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-3qeznjj9.js";
|
|
6
6
|
import {
|
|
7
7
|
withTimeoutSignal
|
|
8
8
|
} from "./index-q7sjgr1y.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
resolveHiveKnowledgePath,
|
|
13
13
|
resolveSwarmKnowledgePath,
|
|
14
14
|
transactKnowledge
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-nj2gap5p.js";
|
|
16
16
|
import {
|
|
17
17
|
effectiveRetrievalOutcomes,
|
|
18
18
|
readAuthoritativeKnowledgeCounterRollups
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-h933exaw.js";
|
|
20
20
|
import {
|
|
21
21
|
advisoryWarn,
|
|
22
22
|
init_warning_buffer
|
|
@@ -4,32 +4,32 @@ import {
|
|
|
4
4
|
} from "./index-8tqqmsav.js";
|
|
5
5
|
import {
|
|
6
6
|
loadPluginConfigWithMeta
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-jpfktfb7.js";
|
|
8
8
|
import {
|
|
9
9
|
KnowledgeConfigSchema,
|
|
10
10
|
init_schema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-8m3w7sr7.js";
|
|
12
12
|
import {
|
|
13
13
|
observeReceiptTransition
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-1anz3srx.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveHiveEventsPath
|
|
17
17
|
} from "./index-ae75rja9.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveKnowledgeStoreDir
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-7fyjv3f2.js";
|
|
21
21
|
import {
|
|
22
22
|
atomicWriteFile
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-pkga8b4j.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalRootKey
|
|
26
26
|
} from "./index-7qefgq4j.js";
|
|
27
27
|
import {
|
|
28
28
|
assertProjectRoot
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-2bgr671r.js";
|
|
30
30
|
import {
|
|
31
31
|
emit
|
|
32
|
-
} from "./index-
|
|
32
|
+
} from "./index-ww6zm5hr.js";
|
|
33
33
|
import {
|
|
34
34
|
require_proper_lockfile
|
|
35
35
|
} from "./index-7g4c7s5r.js";
|
|
@@ -2815,7 +2815,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2815
2815
|
}
|
|
2816
2816
|
let bumps = 0;
|
|
2817
2817
|
if (deltas.length > 0) {
|
|
2818
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2818
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-rqkyw5zp.js");
|
|
2819
2819
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2820
2820
|
}
|
|
2821
2821
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-nnetagj1.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-prmwcpqn.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,57 +94,57 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
97
|
+
} from "./index-mh57gjsd.js";
|
|
98
|
+
import"./index-vjef4fy9.js";
|
|
99
|
+
import"./index-41m7f0xj.js";
|
|
100
|
+
import"./index-8nsknkgs.js";
|
|
101
|
+
import"./index-18z6gf3a.js";
|
|
102
|
+
import"./index-0rpfwzkw.js";
|
|
103
103
|
import"./index-txdagbh7.js";
|
|
104
104
|
import"./index-cw912re7.js";
|
|
105
105
|
import"./index-3146wmgv.js";
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
106
|
+
import"./index-g1rnq3pg.js";
|
|
107
|
+
import"./index-7tme4v2x.js";
|
|
108
|
+
import"./index-teq4xzkh.js";
|
|
109
109
|
import"./index-70ha9e09.js";
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
110
|
+
import"./index-s6ejwhew.js";
|
|
111
|
+
import"./index-bv90qkyw.js";
|
|
112
|
+
import"./index-n4fzmqz8.js";
|
|
113
|
+
import"./index-83bewmqd.js";
|
|
114
114
|
import"./index-zsrtt42s.js";
|
|
115
|
-
import"./index-
|
|
115
|
+
import"./index-1afqzpj4.js";
|
|
116
116
|
import"./index-w3gtqey0.js";
|
|
117
117
|
import"./index-sxxh4ams.js";
|
|
118
|
-
import"./index-
|
|
119
|
-
import"./index-
|
|
118
|
+
import"./index-3qeznjj9.js";
|
|
119
|
+
import"./index-sdhshera.js";
|
|
120
120
|
import"./index-rtry5xyf.js";
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
121
|
+
import"./index-rgj5zmms.js";
|
|
122
|
+
import"./index-pxzx4wxb.js";
|
|
123
|
+
import"./index-qxvdwx79.js";
|
|
124
|
+
import"./index-qkzyfnmc.js";
|
|
125
|
+
import"./index-wnw2rt73.js";
|
|
126
126
|
import"./index-ry16d01s.js";
|
|
127
|
-
import"./index-
|
|
127
|
+
import"./index-sf24zdbp.js";
|
|
128
128
|
import"./index-556ja8an.js";
|
|
129
129
|
import"./index-4fwbbad3.js";
|
|
130
130
|
import"./index-b43rt5ph.js";
|
|
131
131
|
import"./index-q7sjgr1y.js";
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
132
|
+
import"./index-nj2gap5p.js";
|
|
133
|
+
import"./index-h933exaw.js";
|
|
134
|
+
import"./index-5kstr2ga.js";
|
|
135
135
|
import"./index-zg9d392c.js";
|
|
136
136
|
import"./index-n832052r.js";
|
|
137
137
|
import"./index-8tqqmsav.js";
|
|
138
138
|
import"./index-z6xqpmqg.js";
|
|
139
139
|
import"./index-r3mvsbtq.js";
|
|
140
|
-
import"./index-
|
|
140
|
+
import"./index-jpfktfb7.js";
|
|
141
141
|
import {
|
|
142
142
|
init_schema,
|
|
143
143
|
stripKnownSwarmPrefix
|
|
144
|
-
} from "./index-
|
|
144
|
+
} from "./index-8m3w7sr7.js";
|
|
145
145
|
import"./index-9e6fdz2h.js";
|
|
146
146
|
import"./index-4rhhvd1a.js";
|
|
147
|
-
import"./index-
|
|
147
|
+
import"./index-1anz3srx.js";
|
|
148
148
|
import {
|
|
149
149
|
AGENT_TOOL_MAP,
|
|
150
150
|
ORCHESTRATOR_NAME,
|
|
@@ -152,13 +152,13 @@ import {
|
|
|
152
152
|
} from "./index-8psybzzf.js";
|
|
153
153
|
import"./index-zjygnfay.js";
|
|
154
154
|
import"./index-ae75rja9.js";
|
|
155
|
-
import"./index-
|
|
156
|
-
import"./index-
|
|
155
|
+
import"./index-7fyjv3f2.js";
|
|
156
|
+
import"./index-pkga8b4j.js";
|
|
157
157
|
import"./index-bk5tah7q.js";
|
|
158
158
|
import"./index-7qefgq4j.js";
|
|
159
|
-
import"./index-
|
|
159
|
+
import"./index-2bgr671r.js";
|
|
160
160
|
import"./index-t1qzjhnj.js";
|
|
161
|
-
import"./index-
|
|
161
|
+
import"./index-ww6zm5hr.js";
|
|
162
162
|
import"./index-7g4c7s5r.js";
|
|
163
163
|
import"./index-bpmtbmy9.js";
|
|
164
164
|
import"./index-zgwm4ryv.js";
|
|
@@ -374,8 +374,12 @@ function agentHasSwarmCommandTool(activeAgentName, agents, registeredAgents) {
|
|
|
374
374
|
if (registeredTools) {
|
|
375
375
|
return registeredTools.swarm_command === true;
|
|
376
376
|
}
|
|
377
|
+
const registeredPermission = registeredAgents?.[name]?.permission;
|
|
378
|
+
if (registeredPermission && typeof registeredPermission === "object" && Object.keys(registeredPermission).length > 0) {
|
|
379
|
+
return registeredPermission.swarm_command !== "deny";
|
|
380
|
+
}
|
|
377
381
|
const explicitTools = agents[name]?.config?.tools;
|
|
378
|
-
if (explicitTools) {
|
|
382
|
+
if (explicitTools && explicitTools.swarm_command !== undefined) {
|
|
379
383
|
return explicitTools.swarm_command === true;
|
|
380
384
|
}
|
|
381
385
|
const baseName = stripKnownSwarmPrefix(name);
|