opencode-swarm 7.164.8 → 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.
Files changed (68) hide show
  1. package/README.md +2 -2
  2. package/dist/cli/{coder-settlement-qrtjv4jk.js → coder-settlement-8wxdx3ge.js} +8 -8
  3. package/dist/cli/{config-doctor-hp9dj0fg.js → config-doctor-zqbzjqsk.js} +2 -2
  4. package/dist/cli/{core-bmmrm36k.js → core-6b997gee.js} +1 -1
  5. package/dist/cli/{curation-policy-de7emfqc.js → curation-policy-w829da9a.js} +5 -5
  6. package/dist/cli/{curator-k8xdr1mn.js → curator-hvet3ccp.js} +29 -29
  7. package/dist/cli/{curator-llm-factory-pe61p0r6.js → curator-llm-factory-mqyj4d2w.js} +29 -29
  8. package/dist/cli/{evidence-summary-service-qzpkdv7a.js → evidence-summary-service-zefetqqa.js} +12 -12
  9. package/dist/cli/{gate-evidence-jmns4e76.js → gate-evidence-8ex11125.js} +5 -5
  10. package/dist/cli/{guardrail-explain-vzwbmvyf.js → guardrail-explain-mk9z5n76.js} +30 -30
  11. package/dist/cli/{guardrail-log-kckc7cg4.js → guardrail-log-jf1sj1zc.js} +6 -6
  12. package/dist/cli/{guardrail-reset-acndbsv9.js → guardrail-reset-0062066m.js} +29 -29
  13. package/dist/cli/{hive-promoter-wvt5kk99.js → hive-promoter-8nr61bhn.js} +29 -29
  14. package/dist/cli/{index-wgqeqy68.js → index-0rpfwzkw.js} +2 -2
  15. package/dist/cli/{index-29w778rw.js → index-18z6gf3a.js} +7 -7
  16. package/dist/cli/{index-bzesypf5.js → index-1afqzpj4.js} +5 -5
  17. package/dist/cli/{index-9ydhzegh.js → index-1anz3srx.js} +1 -1
  18. package/dist/cli/{index-2czt53wz.js → index-2bgr671r.js} +1 -1
  19. package/dist/cli/{index-4v28t7jh.js → index-3qeznjj9.js} +4 -4
  20. package/dist/cli/{index-b10yvv6h.js → index-41m7f0xj.js} +3 -3
  21. package/dist/cli/{index-9ek9d96g.js → index-5kstr2ga.js} +2 -2
  22. package/dist/cli/{index-93znbdam.js → index-7fyjv3f2.js} +1 -1
  23. package/dist/cli/{index-bz8vsc8r.js → index-7tme4v2x.js} +5 -5
  24. package/dist/cli/{index-8ntf8jnj.js → index-83bewmqd.js} +3 -3
  25. package/dist/cli/{index-ypjffdrg.js → index-8m3w7sr7.js} +3 -3
  26. package/dist/cli/{index-4pm3v7yc.js → index-8nsknkgs.js} +1 -1
  27. package/dist/cli/{index-yscwyq3t.js → index-g1rnq3pg.js} +3 -3
  28. package/dist/cli/{index-g2e8b3wm.js → index-h933exaw.js} +8 -8
  29. package/dist/cli/{index-whz6am0v.js → index-hwqxp3kr.js} +36 -32
  30. package/dist/cli/{index-apdp9bc1.js → index-jpfktfb7.js} +1 -1
  31. package/dist/cli/{index-52m9kter.js → index-mh57gjsd.js} +64 -63
  32. package/dist/cli/{index-ghnbpez3.js → index-nj2gap5p.js} +6 -6
  33. package/dist/cli/{index-wtnx33hz.js → index-nnetagj1.js} +2 -2
  34. package/dist/cli/{index-mr3h3sm5.js → index-pkga8b4j.js} +1 -1
  35. package/dist/cli/{index-chcv8c7n.js → index-prmwcpqn.js} +1 -1
  36. package/dist/cli/{index-gkqrk8dd.js → index-pxzx4wxb.js} +1 -1
  37. package/dist/cli/{index-s3z936wh.js → index-qkzyfnmc.js} +4 -4
  38. package/dist/cli/{index-z39vxvdx.js → index-qxvdwx79.js} +3 -3
  39. package/dist/cli/{index-px4a2ve0.js → index-rgj5zmms.js} +4 -4
  40. package/dist/cli/{index-0zjwnbze.js → index-sdhshera.js} +1 -1
  41. package/dist/cli/{index-3sv8t7ca.js → index-sf24zdbp.js} +2 -2
  42. package/dist/cli/{index-ya4ta1pd.js → index-teq4xzkh.js} +2 -2
  43. package/dist/cli/{index-yzn1fm9a.js → index-vjef4fy9.js} +1 -1
  44. package/dist/cli/{index-espcjyrx.js → index-vsxq8b54.js} +3 -3
  45. package/dist/cli/{index-y6s0gpn3.js → index-wnw2rt73.js} +3 -3
  46. package/dist/cli/{index-kvq1e82k.js → index-ww6zm5hr.js} +3 -3
  47. package/dist/cli/index.js +29 -29
  48. package/dist/cli/{knowledge-escalator-h9834mrp.js → knowledge-escalator-p60t5809.js} +11 -11
  49. package/dist/cli/{knowledge-events-e8hrmjf0.js → knowledge-events-90k35k0w.js} +9 -9
  50. package/dist/cli/{knowledge-link-hhnmc4g1.js → knowledge-link-kbbp0rhh.js} +4 -4
  51. package/dist/cli/{knowledge-store-w3w9gchr.js → knowledge-store-rqkyw5zp.js} +5 -5
  52. package/dist/cli/{knowledge-validator-exd900vc.js → knowledge-validator-5zqwvnvr.js} +7 -7
  53. package/dist/cli/{pending-delegations-p4ak2e86.js → pending-delegations-jdztm7v1.js} +4 -4
  54. package/dist/cli/{pr-subscriptions-73fs8y3n.js → pr-subscriptions-7am85psn.js} +4 -4
  55. package/dist/cli/{pr-workflow-gate-pvt2ra6e.js → pr-workflow-gate-2rqn6eat.js} +29 -29
  56. package/dist/cli/{runner-5qqh83e2.js → runner-59cbgcdy.js} +5 -5
  57. package/dist/cli/{scan-cursor-ysd8b563.js → scan-cursor-9bm4zfx2.js} +6 -6
  58. package/dist/cli/{schema-mbb9g4w4.js → schema-4yjk7z24.js} +1 -1
  59. package/dist/cli/{scope-persistence-jrbnhxvx.js → scope-persistence-s2ayj1c3.js} +8 -8
  60. package/dist/cli/{skill-generator-b4ng5xky.js → skill-generator-bddg7mx1.js} +13 -13
  61. package/dist/cli/{telemetry-85gxedng.js → telemetry-mbqqamsj.js} +1 -1
  62. package/dist/cli/{worktree-collision-ownership-ns8p2fks.js → worktree-collision-ownership-84j7w373.js} +4 -4
  63. package/dist/cli/{worktree-isolation-j6zxhjab.js → worktree-isolation-s0d3qtpv.js} +29 -29
  64. package/dist/commands/index.d.ts +1 -0
  65. package/dist/full-auto/policy.d.ts +12 -0
  66. package/dist/index.js +6 -6
  67. package/opencode-swarm.schema.json +2 -2
  68. package/package.json +1 -1
@@ -7,66 +7,66 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-52m9kter.js";
11
- import"./index-yzn1fm9a.js";
12
- import"./index-b10yvv6h.js";
13
- import"./index-4pm3v7yc.js";
14
- import"./index-29w778rw.js";
15
- import"./index-wgqeqy68.js";
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-yscwyq3t.js";
20
- import"./index-bz8vsc8r.js";
21
- import"./index-ya4ta1pd.js";
19
+ import"./index-g1rnq3pg.js";
20
+ import"./index-7tme4v2x.js";
21
+ import"./index-teq4xzkh.js";
22
22
  import"./index-70ha9e09.js";
23
23
  import"./index-s6ejwhew.js";
24
24
  import"./index-bv90qkyw.js";
25
25
  import"./index-n4fzmqz8.js";
26
- import"./index-8ntf8jnj.js";
26
+ import"./index-83bewmqd.js";
27
27
  import"./index-zsrtt42s.js";
28
- import"./index-bzesypf5.js";
28
+ import"./index-1afqzpj4.js";
29
29
  import"./index-w3gtqey0.js";
30
30
  import"./index-sxxh4ams.js";
31
- import"./index-4v28t7jh.js";
32
- import"./index-0zjwnbze.js";
31
+ import"./index-3qeznjj9.js";
32
+ import"./index-sdhshera.js";
33
33
  import"./index-rtry5xyf.js";
34
- import"./index-px4a2ve0.js";
35
- import"./index-gkqrk8dd.js";
36
- import"./index-z39vxvdx.js";
37
- import"./index-s3z936wh.js";
38
- import"./index-y6s0gpn3.js";
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-3sv8t7ca.js";
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-ghnbpez3.js";
48
- import"./index-g2e8b3wm.js";
49
- import"./index-9ek9d96g.js";
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-apdp9bc1.js";
56
- import"./index-ypjffdrg.js";
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-9ydhzegh.js";
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-93znbdam.js";
64
- import"./index-mr3h3sm5.js";
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-2czt53wz.js";
67
+ import"./index-2bgr671r.js";
68
68
  import"./index-t1qzjhnj.js";
69
- import"./index-kvq1e82k.js";
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-mr3h3sm5.js";
12
+ } from "./index-pkga8b4j.js";
13
13
  import {
14
14
  assertProjectRoot,
15
15
  withEvidenceLock
16
- } from "./index-2czt53wz.js";
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-wgqeqy68.js";
6
+ } from "./index-0rpfwzkw.js";
7
7
  import {
8
8
  validateWorkspaceRoot
9
9
  } from "./index-cw912re7.js";
@@ -27,7 +27,7 @@ import {
27
27
  readTaskEvidence,
28
28
  readTaskEvidenceRaw,
29
29
  sanitizeTaskId
30
- } from "./index-px4a2ve0.js";
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-y6s0gpn3.js";
50
+ } from "./index-wnw2rt73.js";
51
51
  import {
52
52
  appendCoreEventSync
53
- } from "./index-3sv8t7ca.js";
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-apdp9bc1.js";
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-2czt53wz.js";
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-kvq1e82k.js";
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-px4a2ve0.js";
17
+ } from "./index-rgj5zmms.js";
18
18
  import {
19
19
  appendCoreEventSync
20
- } from "./index-3sv8t7ca.js";
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-2czt53wz.js";
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-j6zxhjab.js");
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-j6zxhjab.js");
614
+ } = await import("./worktree-isolation-s0d3qtpv.js");
615
615
  const descriptor = wal.worktree;
616
616
  const reconstructedDispatch = {
617
617
  callID: descriptor.callID,
@@ -9,7 +9,7 @@ import {
9
9
  pseudonymousRef,
10
10
  resolveLineageSalt,
11
11
  telemetry
12
- } from "./index-kvq1e82k.js";
12
+ } from "./index-ww6zm5hr.js";
13
13
 
14
14
  // src/health/learning-health.ts
15
15
  import { promises as fs } from "fs";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  emit
4
- } from "./index-kvq1e82k.js";
4
+ } from "./index-ww6zm5hr.js";
5
5
  import {
6
6
  require_proper_lockfile
7
7
  } from "./index-7g4c7s5r.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-0zjwnbze.js";
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-ghnbpez3.js";
12
+ } from "./index-nj2gap5p.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-93znbdam.js";
15
+ } from "./index-7fyjv3f2.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-mr3h3sm5.js";
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-ypjffdrg.js";
14
+ } from "./index-8m3w7sr7.js";
15
15
  import {
16
16
  observeStoreHealth
17
- } from "./index-9ydhzegh.js";
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-kvq1e82k.js";
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-apdp9bc1.js";
5
+ } from "./index-jpfktfb7.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-ypjffdrg.js";
8
+ } from "./index-8m3w7sr7.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-mr3h3sm5.js";
4
+ } from "./index-pkga8b4j.js";
5
5
  import {
6
6
  canonicalRootKeyFresh
7
7
  } from "./index-7qefgq4j.js";
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-ghnbpez3.js";
9
+ } from "./index-nj2gap5p.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-g2e8b3wm.js";
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-exd900vc.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-5zqwvnvr.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-mbb9g4w4.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-espcjyrx.js");
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-9ydhzegh.js";
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-2czt53wz.js";
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-kvq1e82k.js";
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.8",
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 absent from the architect tool surface."),
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
  });
@@ -12,7 +12,7 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-ypjffdrg.js";
15
+ } from "./index-8m3w7sr7.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
18
  init_constants
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-4v28t7jh.js";
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-ghnbpez3.js";
15
+ } from "./index-nj2gap5p.js";
16
16
  import {
17
17
  effectiveRetrievalOutcomes,
18
18
  readAuthoritativeKnowledgeCounterRollups
19
- } from "./index-g2e8b3wm.js";
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-apdp9bc1.js";
7
+ } from "./index-jpfktfb7.js";
8
8
  import {
9
9
  KnowledgeConfigSchema,
10
10
  init_schema
11
- } from "./index-ypjffdrg.js";
11
+ } from "./index-8m3w7sr7.js";
12
12
  import {
13
13
  observeReceiptTransition
14
- } from "./index-9ydhzegh.js";
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-93znbdam.js";
20
+ } from "./index-7fyjv3f2.js";
21
21
  import {
22
22
  atomicWriteFile
23
- } from "./index-mr3h3sm5.js";
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-2czt53wz.js";
29
+ } from "./index-2bgr671r.js";
30
30
  import {
31
31
  emit
32
- } from "./index-kvq1e82k.js";
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-w3w9gchr.js");
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-wtnx33hz.js";
4
+ } from "./index-nnetagj1.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-chcv8c7n.js";
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-52m9kter.js";
98
- import"./index-yzn1fm9a.js";
99
- import"./index-b10yvv6h.js";
100
- import"./index-4pm3v7yc.js";
101
- import"./index-29w778rw.js";
102
- import"./index-wgqeqy68.js";
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-yscwyq3t.js";
107
- import"./index-bz8vsc8r.js";
108
- import"./index-ya4ta1pd.js";
106
+ import"./index-g1rnq3pg.js";
107
+ import"./index-7tme4v2x.js";
108
+ import"./index-teq4xzkh.js";
109
109
  import"./index-70ha9e09.js";
110
110
  import"./index-s6ejwhew.js";
111
111
  import"./index-bv90qkyw.js";
112
112
  import"./index-n4fzmqz8.js";
113
- import"./index-8ntf8jnj.js";
113
+ import"./index-83bewmqd.js";
114
114
  import"./index-zsrtt42s.js";
115
- import"./index-bzesypf5.js";
115
+ import"./index-1afqzpj4.js";
116
116
  import"./index-w3gtqey0.js";
117
117
  import"./index-sxxh4ams.js";
118
- import"./index-4v28t7jh.js";
119
- import"./index-0zjwnbze.js";
118
+ import"./index-3qeznjj9.js";
119
+ import"./index-sdhshera.js";
120
120
  import"./index-rtry5xyf.js";
121
- import"./index-px4a2ve0.js";
122
- import"./index-gkqrk8dd.js";
123
- import"./index-z39vxvdx.js";
124
- import"./index-s3z936wh.js";
125
- import"./index-y6s0gpn3.js";
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-3sv8t7ca.js";
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-ghnbpez3.js";
133
- import"./index-g2e8b3wm.js";
134
- import"./index-9ek9d96g.js";
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-apdp9bc1.js";
140
+ import"./index-jpfktfb7.js";
141
141
  import {
142
142
  init_schema,
143
143
  stripKnownSwarmPrefix
144
- } from "./index-ypjffdrg.js";
144
+ } from "./index-8m3w7sr7.js";
145
145
  import"./index-9e6fdz2h.js";
146
146
  import"./index-4rhhvd1a.js";
147
- import"./index-9ydhzegh.js";
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-93znbdam.js";
156
- import"./index-mr3h3sm5.js";
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-2czt53wz.js";
159
+ import"./index-2bgr671r.js";
160
160
  import"./index-t1qzjhnj.js";
161
- import"./index-kvq1e82k.js";
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);
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-ypjffdrg.js";
9
+ } from "./index-8m3w7sr7.js";
10
10
  import {
11
11
  GIT_BINARY_ENV_VAR,
12
12
  init_git_executable