opencode-swarm 7.136.2 → 7.136.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.
Files changed (84) hide show
  1. package/.opencode/skills/brainstorm/SKILL.md +1 -1
  2. package/.opencode/skills/clarify/SKILL.md +3 -3
  3. package/.opencode/skills/clarify-spec/SKILL.md +2 -2
  4. package/.opencode/skills/consult/SKILL.md +1 -1
  5. package/.opencode/skills/council/SKILL.md +1 -1
  6. package/.opencode/skills/critic-gate/SKILL.md +8 -3
  7. package/.opencode/skills/discover/SKILL.md +1 -1
  8. package/.opencode/skills/execute/SKILL.md +1 -1
  9. package/.opencode/skills/gate-attribution/SKILL.md +1 -1
  10. package/.opencode/skills/issue-ingest/SKILL.md +3 -3
  11. package/.opencode/skills/phase-wrap/SKILL.md +1 -1
  12. package/.opencode/skills/plan/SKILL.md +3 -3
  13. package/.opencode/skills/pre-phase-briefing/SKILL.md +1 -1
  14. package/.opencode/skills/resume/SKILL.md +1 -1
  15. package/.opencode/skills/specify/SKILL.md +1 -1
  16. package/dist/cli/{config-doctor-b67nb84b.js → config-doctor-g71mz50j.js} +2 -2
  17. package/dist/cli/{core-4z1s2ak1.js → core-jpjk2qvt.js} +1 -1
  18. package/dist/cli/{curation-policy-kvzhfaj1.js → curation-policy-zhyttjpa.js} +6 -6
  19. package/dist/cli/{curator-nrmj8bds.js → curator-36dxw38r.js} +25 -25
  20. package/dist/cli/{curator-llm-factory-x7kvry9x.js → curator-llm-factory-k2a7cv41.js} +25 -25
  21. package/dist/cli/{evidence-summary-service-cf8sz2bq.js → evidence-summary-service-nse06dqr.js} +7 -7
  22. package/dist/cli/{gate-evidence-aenyz6vt.js → gate-evidence-kdygjr56.js} +4 -4
  23. package/dist/cli/{guardrail-explain-5kd44rcj.js → guardrail-explain-1k337z5d.js} +26 -26
  24. package/dist/cli/{guardrail-log-aksrzqdx.js → guardrail-log-xbc9bvdt.js} +3 -3
  25. package/dist/cli/{hive-promoter-cy21rhnd.js → hive-promoter-daxrn62p.js} +25 -25
  26. package/dist/cli/{index-y0xaq4f3.js → index-0vq9gnqd.js} +8 -2
  27. package/dist/cli/{index-rw3f73aq.js → index-176zwqcq.js} +2 -2
  28. package/dist/cli/{index-kwwxevne.js → index-45y0y3xh.js} +5 -5
  29. package/dist/cli/{index-7ayaq27q.js → index-68tjkaqk.js} +1 -1
  30. package/dist/cli/{index-s0rbdp61.js → index-79pgzj9a.js} +4 -4
  31. package/dist/cli/{index-45t7w06b.js → index-7t3vjw5e.js} +1 -1
  32. package/dist/cli/{index-ey29aap6.js → index-b3jfcptk.js} +1 -1
  33. package/dist/cli/{index-sr2cynyw.js → index-brtg922w.js} +108 -51
  34. package/dist/cli/{index-7a2hm51h.js → index-cze4bq1x.js} +41 -0
  35. package/dist/cli/{index-mrtms113.js → index-d2sf9an1.js} +2 -2
  36. package/dist/cli/{index-wxyxf0bd.js → index-d61h3f3h.js} +2 -2
  37. package/dist/cli/{index-ckybsn6p.js → index-g2kpqpvh.js} +27 -27
  38. package/dist/cli/{index-37v2wxqe.js → index-g5rtcb1n.js} +1 -1
  39. package/dist/cli/{index-ad6j0m7k.js → index-gj5jerzz.js} +3 -3
  40. package/dist/cli/{index-c9ddxv4k.js → index-hh34tyv7.js} +1 -1
  41. package/dist/cli/{index-21115szq.js → index-kp5h245k.js} +5 -5
  42. package/dist/cli/{index-tcn457d5.js → index-kym0cctr.js} +1 -1
  43. package/dist/cli/{index-84nz7bhe.js → index-mgbpbs1f.js} +3 -3
  44. package/dist/cli/{index-m5fw4mer.js → index-n89fdxwg.js} +1 -1
  45. package/dist/cli/{index-z1tm47nj.js → index-ne28wyyc.js} +2 -2
  46. package/dist/cli/{index-wjm896ey.js → index-nfm9f10v.js} +1 -1
  47. package/dist/cli/{index-azghvnja.js → index-pff46kfv.js} +2 -2
  48. package/dist/cli/{index-wnz282j3.js → index-rtgqy0yg.js} +2 -2
  49. package/dist/cli/{index-09b9zncg.js → index-tncy55bp.js} +1 -1
  50. package/dist/cli/{index-vg3yx648.js → index-w6j1n5az.js} +1 -1
  51. package/dist/cli/{index-0755132s.js → index-wbdxmf1a.js} +6 -6
  52. package/dist/cli/{index-1kn24ja0.js → index-zcrvn579.js} +2 -2
  53. package/dist/cli/{index-s0vahtdm.js → index-zwh5dewz.js} +1 -1
  54. package/dist/cli/{index-dzyjb33e.js → index-zzhyws9g.js} +1 -1
  55. package/dist/cli/index.js +25 -25
  56. package/dist/cli/{knowledge-escalator-ta3xjrdj.js → knowledge-escalator-h7fspgph.js} +7 -7
  57. package/dist/cli/{knowledge-events-dk6banmz.js → knowledge-events-vkf7an5n.js} +5 -5
  58. package/dist/cli/{knowledge-link-mm1w967j.js → knowledge-link-zr40rnwr.js} +4 -4
  59. package/dist/cli/{knowledge-store-h3jz10bv.js → knowledge-store-s4976v9c.js} +5 -5
  60. package/dist/cli/{knowledge-validator-jsz1dxkr.js → knowledge-validator-64ppqy4y.js} +8 -8
  61. package/dist/cli/{pending-delegations-qajsxct0.js → pending-delegations-0h5b18p7.js} +3 -3
  62. package/dist/cli/{pr-subscriptions-qhr41epq.js → pr-subscriptions-jn0h047q.js} +3 -3
  63. package/dist/cli/{runner-2v413r74.js → runner-deeswadt.js} +5 -5
  64. package/dist/cli/{scan-cursor-48gwzh9c.js → scan-cursor-xbkae12h.js} +6 -6
  65. package/dist/cli/{schema-f937b9cs.js → schema-7jm70cab.js} +1 -1
  66. package/dist/cli/{scope-persistence-h2fpgxww.js → scope-persistence-5xc9ntdh.js} +4 -4
  67. package/dist/cli/{skill-generator-4p10ktw1.js → skill-generator-8gtq1ajr.js} +9 -9
  68. package/dist/cli/{telemetry-859khp82.js → telemetry-6678gya0.js} +1 -1
  69. package/dist/cli/{worktree-collision-ownership-13btcj9g.js → worktree-collision-ownership-wt7cc850.js} +3 -3
  70. package/dist/config/schema.d.ts +10 -0
  71. package/dist/hooks/delegation-gate.d.ts +12 -1
  72. package/dist/hooks/gate-denial-tracker.d.ts +175 -0
  73. package/dist/hooks/guardrails/execution-episode.d.ts +41 -0
  74. package/dist/hooks/guardrails/execution-stall.d.ts +285 -0
  75. package/dist/hooks/guardrails/internals-guard.d.ts +117 -0
  76. package/dist/hooks/guardrails/messages-transform.d.ts +85 -0
  77. package/dist/hooks/trajectory-logger.d.ts +76 -0
  78. package/dist/index.js +476 -462
  79. package/dist/memory/schema.d.ts +3 -3
  80. package/dist/prm/index.d.ts +2 -0
  81. package/dist/state.d.ts +32 -0
  82. package/dist/telemetry.d.ts +66 -1
  83. package/dist/types/events.d.ts +14 -1
  84. package/package.json +2 -1
@@ -7,57 +7,57 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-sr2cynyw.js";
10
+ } from "./index-brtg922w.js";
11
11
  import"./index-vm4xw9z3.js";
12
- import"./index-wjm896ey.js";
13
- import"./index-m5fw4mer.js";
14
- import"./index-7ayaq27q.js";
15
- import"./index-kwwxevne.js";
16
- import"./index-z1tm47nj.js";
12
+ import"./index-nfm9f10v.js";
13
+ import"./index-n89fdxwg.js";
14
+ import"./index-68tjkaqk.js";
15
+ import"./index-45y0y3xh.js";
16
+ import"./index-ne28wyyc.js";
17
17
  import"./index-y8552snf.js";
18
18
  import"./index-4905hd2m.js";
19
19
  import"./index-134d35c1.js";
20
- import"./index-ad6j0m7k.js";
21
- import"./index-21115szq.js";
22
- import"./index-1kn24ja0.js";
20
+ import"./index-gj5jerzz.js";
21
+ import"./index-kp5h245k.js";
22
+ import"./index-zcrvn579.js";
23
23
  import"./index-6mjf4vr1.js";
24
24
  import"./index-c8s9a3zh.js";
25
25
  import"./index-9ss2m4rs.js";
26
26
  import"./index-wsdnttf4.js";
27
- import"./index-mrtms113.js";
28
- import"./index-s0rbdp61.js";
29
- import"./index-rw3f73aq.js";
27
+ import"./index-d2sf9an1.js";
28
+ import"./index-79pgzj9a.js";
29
+ import"./index-176zwqcq.js";
30
30
  import"./index-rtry5xyf.js";
31
31
  import {
32
32
  resolveHiveKnowledgePath
33
- } from "./index-0755132s.js";
34
- import"./index-84nz7bhe.js";
33
+ } from "./index-wbdxmf1a.js";
34
+ import"./index-mgbpbs1f.js";
35
35
  import"./index-ae75rja9.js";
36
- import"./index-dzyjb33e.js";
37
- import"./index-ey29aap6.js";
38
- import"./index-s0vahtdm.js";
36
+ import"./index-zzhyws9g.js";
37
+ import"./index-b3jfcptk.js";
38
+ import"./index-zwh5dewz.js";
39
39
  import"./index-k5jrywpr.js";
40
40
  import"./index-n832052r.js";
41
- import"./index-y0xaq4f3.js";
41
+ import"./index-0vq9gnqd.js";
42
42
  import"./index-bk5tah7q.js";
43
43
  import"./index-8fwhhayc.js";
44
44
  import"./index-q1exe2b3.js";
45
- import"./index-tcn457d5.js";
46
- import"./index-vg3yx648.js";
47
- import"./index-wxyxf0bd.js";
45
+ import"./index-kym0cctr.js";
46
+ import"./index-w6j1n5az.js";
47
+ import"./index-d61h3f3h.js";
48
48
  import"./index-1kz6da87.js";
49
49
  import"./index-x20cgr2q.js";
50
50
  import"./index-b8zgtz81.js";
51
- import"./index-c9ddxv4k.js";
51
+ import"./index-hh34tyv7.js";
52
52
  import"./index-4rhhvd1a.js";
53
53
  import"./index-3jcyn8g6.js";
54
- import"./index-45t7w06b.js";
54
+ import"./index-7t3vjw5e.js";
55
55
  import"./index-4qzeef9h.js";
56
56
  import"./index-fsrp8wp3.js";
57
- import"./index-09b9zncg.js";
57
+ import"./index-tncy55bp.js";
58
58
  import"./index-7g4c7s5r.js";
59
59
  import"./index-bpmtbmy9.js";
60
- import"./index-7a2hm51h.js";
60
+ import"./index-cze4bq1x.js";
61
61
  import"./index-z6xqpmqg.js";
62
62
  import"./index-zjygnfay.js";
63
63
  import"./index-y111zefa.js";
@@ -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.136.2",
24
+ version: "7.136.3",
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",
@@ -115,6 +115,7 @@ var init_package = __esm(() => {
115
115
  "lint:ci": "biome ci .",
116
116
  "test:unit:ci": "bun scripts/ci/run-unit-tests-local.ts",
117
117
  "drift:check": "bun run scripts/drift-check.ts",
118
+ "check:runtime-src-refs": "bun run scripts/check-runtime-src-refs.ts",
118
119
  "drift:fix": "bun run scripts/drift-check.ts --fix --confirm",
119
120
  "skills:sync": "bun run scripts/sync-qa-gate-skills.ts",
120
121
  format: "biome format . --write",
@@ -749,7 +750,12 @@ var init_schema = __esm(() => {
749
750
  profiles: exports_external.record(exports_external.string(), GuardrailsProfileSchema).optional(),
750
751
  block_destructive_commands: exports_external.boolean().default(true),
751
752
  interpreter_allowed_agents: exports_external.array(exports_external.string().min(1)).optional(),
752
- shell_audit_log: exports_external.boolean().default(true)
753
+ shell_audit_log: exports_external.boolean().default(true),
754
+ gate_denial_warn_threshold: exports_external.number().int().min(1).default(3),
755
+ gate_denial_stop_threshold: exports_external.number().int().min(1).default(5),
756
+ execution_stall_warn_calls: exports_external.number().int().min(1).default(30),
757
+ execution_stall_stop_calls: exports_external.number().int().min(1).default(60),
758
+ execution_stall_episode_minutes: exports_external.number().int().min(1).default(30)
753
759
  });
754
760
  WatchdogConfigSchema = exports_external.object({
755
761
  scope_guard: exports_external.boolean().default(true),
@@ -4,13 +4,13 @@ import {
4
4
  } from "./index-rtry5xyf.js";
5
5
  import {
6
6
  readKnowledgeEvents
7
- } from "./index-84nz7bhe.js";
7
+ } from "./index-mgbpbs1f.js";
8
8
  import {
9
9
  isLinked,
10
10
  readLinkPointer,
11
11
  resolveKnowledgeStoreDir,
12
12
  resolveLinkDir
13
- } from "./index-dzyjb33e.js";
13
+ } from "./index-zzhyws9g.js";
14
14
 
15
15
  // src/knowledge/curation-policy.ts
16
16
  import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
@@ -3,7 +3,7 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-z1tm47nj.js";
6
+ } from "./index-ne28wyyc.js";
7
7
  import {
8
8
  readEffectiveSpecSync
9
9
  } from "./index-9ss2m4rs.js";
@@ -12,7 +12,7 @@ import {
12
12
  readTaskEvidence,
13
13
  readTaskEvidenceRaw,
14
14
  sanitizeTaskId
15
- } from "./index-mrtms113.js";
15
+ } from "./index-d2sf9an1.js";
16
16
  import {
17
17
  EVIDENCE_MAX_JSON_BYTES,
18
18
  EvidenceBundleSchema,
@@ -40,7 +40,7 @@ import {
40
40
  replayFromLedgerWithStatus,
41
41
  takeSnapshotEvent,
42
42
  takeSnapshotWithRetry
43
- } from "./index-wxyxf0bd.js";
43
+ } from "./index-d61h3f3h.js";
44
44
  import {
45
45
  PlanSchema
46
46
  } from "./index-1kz6da87.js";
@@ -56,14 +56,14 @@ import {
56
56
  } from "./index-fsrp8wp3.js";
57
57
  import {
58
58
  withEvidenceLock
59
- } from "./index-09b9zncg.js";
59
+ } from "./index-tncy55bp.js";
60
60
  import {
61
61
  ZodError,
62
62
  init_zod
63
63
  } from "./index-bpmtbmy9.js";
64
64
  import {
65
65
  emit
66
- } from "./index-7a2hm51h.js";
66
+ } from "./index-cze4bq1x.js";
67
67
  import {
68
68
  bunHash,
69
69
  bunWrite,
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-y0xaq4f3.js";
9
+ } from "./index-0vq9gnqd.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-rw3f73aq.js";
4
+ } from "./index-176zwqcq.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-0755132s.js";
12
+ } from "./index-wbdxmf1a.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-dzyjb33e.js";
15
+ } from "./index-zzhyws9g.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-ey29aap6.js";
18
+ } from "./index-b3jfcptk.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-4qzeef9h.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-09b9zncg.js";
7
+ } from "./index-tncy55bp.js";
8
8
  import {
9
9
  exports_external,
10
10
  init_zod
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-fsrp8wp3.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-09b9zncg.js";
7
+ } from "./index-tncy55bp.js";
8
8
  import {
9
9
  bunWrite
10
10
  } from "./index-y111zefa.js";