opencode-swarm 7.164.1 → 7.164.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 (88) hide show
  1. package/.opencode/skills/codebase-review-swarm/SKILL.md +4 -0
  2. package/.opencode/skills/commit-pr/SKILL.md +4 -1
  3. package/.opencode/skills/critic-gate/SKILL.md +4 -0
  4. package/.opencode/skills/deep-dive/SKILL.md +4 -0
  5. package/.opencode/skills/engineering-conventions/SKILL.md +2 -0
  6. package/.opencode/skills/execute/SKILL.md +4 -0
  7. package/.opencode/skills/phase-wrap/SKILL.md +4 -0
  8. package/.opencode/skills/plan/SKILL.md +4 -0
  9. package/.opencode/skills/running-tests/SKILL.md +4 -0
  10. package/.opencode/skills/swarm-pr-review/SKILL.md +4 -0
  11. package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +2 -0
  12. package/.opencode/skills/writing-tests/SKILL.md +4 -0
  13. package/dist/agents/critic.d.ts +6 -6
  14. package/dist/cli/{coder-settlement-w4qk90kh.js → coder-settlement-m918n7qj.js} +9 -9
  15. package/dist/cli/{config-doctor-r81bp1nd.js → config-doctor-5kytbwbx.js} +3 -3
  16. package/dist/cli/{core-xfw4s9b9.js → core-anw5khk2.js} +2 -2
  17. package/dist/cli/{curation-policy-2h37sd6p.js → curation-policy-7pnmnfct.js} +5 -5
  18. package/dist/cli/{curator-llm-factory-7gjvm4ds.js → curator-llm-factory-6swjnnb1.js} +30 -30
  19. package/dist/cli/{curator-7zy6bdmw.js → curator-yq6raqgs.js} +30 -30
  20. package/dist/cli/{evidence-summary-service-519ny6b1.js → evidence-summary-service-8sbxvt2x.js} +13 -13
  21. package/dist/cli/{gate-evidence-a7st3vbc.js → gate-evidence-53v7e938.js} +6 -6
  22. package/dist/cli/{guardrail-explain-ewcm37em.js → guardrail-explain-jhsqdzxr.js} +31 -31
  23. package/dist/cli/{guardrail-log-kp51by1v.js → guardrail-log-q5sj7zby.js} +7 -7
  24. package/dist/cli/{guardrail-reset-reyfwtwn.js → guardrail-reset-dw45p5zc.js} +30 -30
  25. package/dist/cli/{hive-promoter-zf2vf5sw.js → hive-promoter-0axzw0h5.js} +30 -30
  26. package/dist/cli/{index-dhzsvmx6.js → index-0145kpjr.js} +2 -2
  27. package/dist/cli/{index-jczbtx2x.js → index-0e34njnm.js} +6 -6
  28. package/dist/cli/{index-fwfhbs27.js → index-11st3tgy.js} +2 -2
  29. package/dist/cli/{index-6097tx05.js → index-2xj34nkh.js} +1 -1
  30. package/dist/cli/{index-vrxx0ea4.js → index-3fpqmms2.js} +4 -4
  31. package/dist/cli/{index-5084szce.js → index-493mxwj5.js} +7 -7
  32. package/dist/cli/{index-862c0xhc.js → index-4wneygfx.js} +1 -1
  33. package/dist/cli/{index-6kd3jnaf.js → index-5d7bzpfn.js} +1 -1
  34. package/dist/cli/{index-644t46hr.js → index-5pxdtskj.js} +1 -1
  35. package/dist/cli/{index-2s40e3b0.js → index-84qah5h6.js} +2 -2
  36. package/dist/cli/{index-e630pvvw.js → index-88g6q52x.js} +3 -3
  37. package/dist/cli/{index-wv4b01ex.js → index-8t11vcf5.js} +4 -4
  38. package/dist/cli/{index-1af3rb5n.js → index-95hhrw1d.js} +8 -8
  39. package/dist/cli/{index-hzaw10zh.js → index-9pwa798m.js} +5 -5
  40. package/dist/cli/{index-vc3zmtxb.js → index-aaqzcnb9.js} +32 -32
  41. package/dist/cli/{index-j0ajeary.js → index-ac39znep.js} +1 -1
  42. package/dist/cli/{index-r5jn0ah5.js → index-aty2dfmt.js} +2 -2
  43. package/dist/cli/{index-1b1h770t.js → index-bzd67m2j.js} +3 -3
  44. package/dist/cli/{index-x2qmpkth.js → index-c8k4cs94.js} +3 -3
  45. package/dist/cli/{index-2ee2g27m.js → index-ehf0vjhx.js} +404 -119
  46. package/dist/cli/{index-wnf1ej2q.js → index-fc153g7b.js} +4 -4
  47. package/dist/cli/{index-pmmfhzsp.js → index-j98116cx.js} +3 -3
  48. package/dist/cli/{index-n1wcq816.js → index-jwc2v92w.js} +4 -4
  49. package/dist/cli/{index-5bza8nxz.js → index-kn0y788q.js} +2 -2
  50. package/dist/cli/{index-yc415pzf.js → index-kyayzfxp.js} +3 -3
  51. package/dist/cli/{index-2yd732fd.js → index-m1nrd3yd.js} +2 -1
  52. package/dist/cli/{index-6ay5zp1v.js → index-rhdwrfgc.js} +5 -5
  53. package/dist/cli/{index-k8j7m0e2.js → index-sb4eanpv.js} +1 -1
  54. package/dist/cli/{index-b98r3pyv.js → index-sn2vm710.js} +4 -4
  55. package/dist/cli/{index-vkckf2ch.js → index-w5jpjaqe.js} +2 -2
  56. package/dist/cli/{index-h2f21caa.js → index-xkqja15t.js} +2 -2
  57. package/dist/cli/{index-36nt17m8.js → index-yep24wn4.js} +1 -1
  58. package/dist/cli/{index-vdgw2k4c.js → index-yhpbcrdk.js} +3 -3
  59. package/dist/cli/{index-6t35714n.js → index-zs1jrsta.js} +1 -1
  60. package/dist/cli/index.js +30 -30
  61. package/dist/cli/{knowledge-escalator-wwkbsgvw.js → knowledge-escalator-atn5tfy2.js} +12 -12
  62. package/dist/cli/{knowledge-events-vmmgwfmc.js → knowledge-events-58ha93tx.js} +10 -10
  63. package/dist/cli/{knowledge-link-bvra01zv.js → knowledge-link-2gh1cnk3.js} +4 -4
  64. package/dist/cli/{knowledge-store-6wbagbqm.js → knowledge-store-2vkn4qyy.js} +5 -5
  65. package/dist/cli/{knowledge-validator-q1z4fmeg.js → knowledge-validator-gcbfq9er.js} +7 -7
  66. package/dist/cli/{model-preflight-1ecjbg73.js → model-preflight-pmnbfzjv.js} +1 -1
  67. package/dist/cli/{pending-delegations-cq5g4rr4.js → pending-delegations-esp3gpac.js} +4 -4
  68. package/dist/cli/{pr-subscriptions-m0z5wxkb.js → pr-subscriptions-sdv0n59c.js} +4 -4
  69. package/dist/cli/{pr-workflow-gate-0zvp0qs9.js → pr-workflow-gate-v5wh09wz.js} +30 -30
  70. package/dist/cli/{runner-s55g5233.js → runner-m95v9d47.js} +5 -5
  71. package/dist/cli/{scan-cursor-z6zepy3r.js → scan-cursor-6x0sqjer.js} +6 -6
  72. package/dist/cli/{schema-skf0ckh4.js → schema-mgpsycrr.js} +2 -2
  73. package/dist/cli/{scope-persistence-f6davq7x.js → scope-persistence-pwqshfyr.js} +9 -9
  74. package/dist/cli/{skill-generator-wqbazppk.js → skill-generator-bywdfza0.js} +14 -14
  75. package/dist/cli/{telemetry-q51s6tyt.js → telemetry-c4j18da8.js} +1 -1
  76. package/dist/cli/{worktree-collision-ownership-c0030qbm.js → worktree-collision-ownership-71x5pqfz.js} +4 -4
  77. package/dist/cli/{worktree-isolation-09qq8066.js → worktree-isolation-e6tym281.js} +30 -30
  78. package/dist/hooks/delegate-ack-collector.d.ts +5 -0
  79. package/dist/hooks/delegation-gate.d.ts +13 -2
  80. package/dist/hooks/plan-task-id-context.d.ts +24 -0
  81. package/dist/hooks/skill-injection.d.ts +7 -3
  82. package/dist/hooks/skill-propagation-gate.d.ts +1 -1
  83. package/dist/hooks/task-id-resolver.d.ts +46 -0
  84. package/dist/index.js +73 -48
  85. package/dist/services/tool-doctor.d.ts +3 -2
  86. package/dist/tools/tool-metadata.d.ts +6 -5
  87. package/opencode-swarm.schema.json +4 -1
  88. package/package.json +1 -1
@@ -5,12 +5,13 @@
5
5
  *
6
6
  * As of #507, registration is DERIVED from the single registration-data source
7
7
  * (tool-metadata) and the handler set is compile-time-guaranteed to match it
8
- * (`manifest.ts satisfies Record<ToolName, () => ToolDefinition>`), so the set of
8
+ * (`manifest.ts` registers handlers via a `defineHandlers<T extends
9
+ * Record<ToolName, () => ToolDefinition>>` generic constraint), so the set of
9
10
  * registered tools is exactly TOOL_NAME_SET. This service therefore validates
10
11
  * against TOOL_NAME_SET (handler-free) rather than importing the handler-bearing
11
12
  * manifest — that keeps tool-doctor (and the `../services` barrel that re-exports
12
13
  * it) out of the tool-module import graph, avoiding init cycles (#507 CI finding).
13
- * The handler-level coherence is enforced by the compile-time `satisfies` plus the
14
+ * The handler-level coherence is enforced by that compile-time constraint plus the
14
15
  * standalone CI script `scripts/check-tool-registration.ts`.
15
16
  *
16
17
  * Also validates:
@@ -9,10 +9,11 @@
9
9
  * modules and form an init cycle (#507 CI finding). Keeping metadata handler-free
10
10
  * makes the module graph acyclic.
11
11
  *
12
- * Cross-checked with ./manifest.ts: that file does
13
- * `satisfies Record<ToolName, () => ToolDefinition>` with `ToolName = keyof typeof
14
- * TOOL_METADATA`, so adding a tool here without wiring a handler there (or vice
15
- * versa) is a COMPILE error - the dead-tools bug class stays impossible.
12
+ * Cross-checked with ./manifest.ts: that file registers handlers via
13
+ * `defineHandlers<T extends Record<ToolName, () => ToolDefinition>>` with
14
+ * `ToolName = keyof typeof TOOL_METADATA`, so adding a tool here without wiring a
15
+ * handler there (or vice versa) is a COMPILE error - the dead-tools bug class
16
+ * stays impossible.
16
17
  */
17
18
  import { type AgentName } from '../config/agent-names';
18
19
  /** A tool's registration metadata. All fields required so a missing one is a compile error. */
@@ -466,7 +467,7 @@ export declare const TOOL_METADATA: {
466
467
  };
467
468
  repo_map: {
468
469
  description: string;
469
- agents: ("coder" | "reviewer" | "critic" | "critic_oversight" | "critic_finding_validator" | "explorer" | "architect" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_architecture_supervisor")[];
470
+ agents: ("coder" | "reviewer" | "test_engineer" | "critic" | "critic_oversight" | "critic_finding_validator" | "explorer" | "architect" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_architecture_supervisor")[];
470
471
  prWorkflow: {
471
472
  modes: ("PR_REVIEW" | "PR_FEEDBACK")[];
472
473
  capability: "observe";
@@ -1583,7 +1583,10 @@
1583
1583
  {
1584
1584
  "type": "string"
1585
1585
  }
1586
- ]
1586
+ ],
1587
+ "items": false,
1588
+ "minItems": 2,
1589
+ "maxItems": 2
1587
1590
  }
1588
1591
  }
1589
1592
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.164.1",
3
+ "version": "7.164.3",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",