opencode-swarm 7.109.4 → 7.110.1

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 (43) hide show
  1. package/.opencode/skills/swarm/SKILL.md +186 -0
  2. package/.opencode/skills/swarm-ci-monitor/SKILL.md +369 -0
  3. package/.opencode/skills/swarm-pr-feedback/SKILL.md +86 -17
  4. package/dist/agents/explorer.d.ts +1 -1
  5. package/dist/cli/{config-doctor-9vjyj9m3.js → config-doctor-q5e9yzn6.js} +2 -2
  6. package/dist/cli/{curator-zn1kmwmz.js → curator-c7dzf9rt.js} +13 -11
  7. package/dist/cli/{curator-llm-factory-3hf9xpnd.js → curator-llm-factory-v4gxfnhd.js} +11 -11
  8. package/dist/cli/{explorer-ksr3xq7n.js → explorer-t5srbq64.js} +1 -1
  9. package/dist/cli/{guardrail-explain-hjz1k6w0.js → guardrail-explain-qc02w4yb.js} +12 -12
  10. package/dist/cli/{guardrail-log-5240bawg.js → guardrail-log-973nan7m.js} +3 -3
  11. package/dist/cli/{hive-promoter-j81yj97d.js → hive-promoter-kr56vt08.js} +11 -11
  12. package/dist/cli/{index-18690p15.js → index-0g5xsrp4.js} +19 -7
  13. package/dist/cli/{index-zh3qh6m7.js → index-1k5arp07.js} +2 -2
  14. package/dist/cli/{index-2nt4mq9n.js → index-40h0yp9e.js} +69 -1
  15. package/dist/cli/{index-d3txrx5q.js → index-53z1afgh.js} +1 -1
  16. package/dist/cli/{index-y3nx3ss0.js → index-5d0t7npd.js} +1222 -1016
  17. package/dist/cli/{index-p5vm9gy9.js → index-5rfxzgmt.js} +1 -1
  18. package/dist/cli/{index-41fgssqr.js → index-c483hnn4.js} +2 -2
  19. package/dist/cli/{index-b15qbvph.js → index-cmjq1kg7.js} +43 -34
  20. package/dist/cli/{index-09xpycan.js → index-jt58s751.js} +1 -1
  21. package/dist/cli/{index-mtzjbaaa.js → index-mvg66d9n.js} +3 -3
  22. package/dist/cli/{index-nvmy7xmj.js → index-r3ck99jh.js} +17 -17
  23. package/dist/cli/{index-8f10r7ay.js → index-v8pk35h7.js} +5 -5
  24. package/dist/cli/{index-zjh648z4.js → index-xddysq89.js} +1 -1
  25. package/dist/cli/{index-y5z2qdvk.js → index-yhmt3dw3.js} +2 -2
  26. package/dist/cli/index.js +13 -13
  27. package/dist/cli/{knowledge-escalator-9ksrgq7h.js → knowledge-escalator-0dkkenp2.js} +4 -4
  28. package/dist/cli/{knowledge-events-ymysgtrr.js → knowledge-events-bckbj6ah.js} +2 -2
  29. package/dist/cli/{knowledge-store-562fefjy.js → knowledge-store-dvjbdn00.js} +3 -2
  30. package/dist/cli/{knowledge-validator-b9nvmzjc.js → knowledge-validator-bqr936sg.js} +3 -3
  31. package/dist/cli/{schema-5vmb5dh8.js → schema-s48je8zt.js} +1 -1
  32. package/dist/cli/{skill-generator-mjfqvnn0.js → skill-generator-5rsjmmfq.js} +7 -5
  33. package/dist/config/bundled-skills.d.ts +1 -1
  34. package/dist/hooks/curator-postmortem.d.ts +33 -2
  35. package/dist/hooks/curator-types.d.ts +2 -2
  36. package/dist/hooks/curator.d.ts +2 -1
  37. package/dist/hooks/knowledge-link.d.ts +9 -0
  38. package/dist/hooks/knowledge-reader.d.ts +14 -0
  39. package/dist/index.js +81 -65
  40. package/dist/services/skill-generator.d.ts +1 -0
  41. package/dist/services/warning-buffer.d.ts +25 -0
  42. package/dist/tools/tool-metadata.d.ts +4 -4
  43. package/package.json +3 -1
@@ -83,6 +83,7 @@ export declare function isSkillMaturityEligible(entry: KnowledgeEntryBase, opts:
83
83
  */
84
84
  declare function jaccardSimilarity(setA: string[], setB: string[]): number;
85
85
  export declare function clusterEntries(entries: KnowledgeEntryBase[]): KnowledgeCluster[];
86
+ export declare function buildKnowledgeCluster(entries: KnowledgeEntryBase[]): KnowledgeCluster;
86
87
  export interface SkillFrontmatterOverrides {
87
88
  version?: number;
88
89
  skillOrigin?: 'generated' | 'promoted_external';
@@ -1,4 +1,29 @@
1
1
  export declare function addDeferredWarning(warning: string): void;
2
+ /**
3
+ * Operational advisory: a non-fatal, operator-actionable condition reached on
4
+ * a path that can run while the host TUI owns the terminal (plugin init,
5
+ * /swarm command handlers, tool execution, chat/tool hooks). Routes the message
6
+ * to BOTH delivery channels:
7
+ *
8
+ * 1. `addDeferredWarning` — buffers it for `/swarm diagnose`, so the operator
9
+ * can discover the condition without it polluting the live display.
10
+ * 2. `log` — the debug-gated logger, so it also shows under
11
+ * `OPENCODE_SWARM_DEBUG=1` for live debugging.
12
+ *
13
+ * This NEVER writes raw stderr/stdout. It is the safe replacement for the raw
14
+ * `console.warn` calls that corrupt the bubbletea TUI (issue #1249 class, and
15
+ * the broader sweep in `.zcode/issue-traces/bundled-skill-tui-pollution/`).
16
+ *
17
+ * Discriminator vs plain `log()`: use `advisoryWarn` only when the operator
18
+ * could plausibly act on the message (fix a malformed config, pick a
19
+ * worktree, repair a broken skill sync). Use plain `log()` for purely
20
+ * diagnostic fail-open catches (skipped malformed lines, best-effort cleanup)
21
+ * that would flood `/swarm diagnose` if buffered.
22
+ *
23
+ * Per AGENTS.md Invariant 10: "Do not emit diagnostic noise into chat-visible
24
+ * streams."
25
+ */
26
+ export declare function advisoryWarn(message: string, data?: unknown): void;
2
27
  /**
3
28
  * Returns a shallow copy of the current deferred warnings. The copy is
4
29
  * safe to read but cannot mutate the internal buffer. Use
@@ -45,7 +45,7 @@ export declare const TOOL_METADATA: {
45
45
  };
46
46
  imports: {
47
47
  description: string;
48
- agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "explorer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_oversight" | "architect" | "researcher" | "docs_design")[];
48
+ agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "architect" | "researcher" | "docs_design")[];
49
49
  };
50
50
  lint: {
51
51
  description: string;
@@ -73,7 +73,7 @@ export declare const TOOL_METADATA: {
73
73
  };
74
74
  symbols: {
75
75
  description: string;
76
- agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "explorer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_oversight" | "architect" | "researcher" | "docs_design" | "spec_writer")[];
76
+ agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "architect" | "researcher" | "docs_design" | "spec_writer")[];
77
77
  };
78
78
  complexity_hotspots: {
79
79
  description: string;
@@ -157,7 +157,7 @@ export declare const TOOL_METADATA: {
157
157
  };
158
158
  retrieve_summary: {
159
159
  description: string;
160
- agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "explorer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_architecture_supervisor" | "critic_oversight" | "architect" | "docs_design" | "spec_writer")[];
160
+ agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_architecture_supervisor" | "architect" | "docs_design" | "spec_writer")[];
161
161
  };
162
162
  retrieve_lane_output: {
163
163
  description: string;
@@ -341,7 +341,7 @@ export declare const TOOL_METADATA: {
341
341
  };
342
342
  knowledge_receipt: {
343
343
  description: string;
344
- agents: ("coder" | "architect")[];
344
+ agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_architecture_supervisor" | "architect" | "docs_design" | "curator_init" | "curator_phase" | "skill_improver" | "spec_writer")[];
345
345
  };
346
346
  knowledge_archive: {
347
347
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.109.4",
3
+ "version": "7.110.1",
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",
@@ -55,8 +55,10 @@
55
55
  ".opencode/skills/swarm-implement",
56
56
  ".opencode/skills/design-docs",
57
57
  ".opencode/skills/swarm-pr-review",
58
+ ".opencode/skills/swarm",
58
59
  ".opencode/skills/swarm-pr-feedback",
59
60
  ".opencode/skills/swarm-pr-subscribe",
61
+ ".opencode/skills/swarm-ci-monitor",
60
62
  ".opencode/skills/issue-ingest",
61
63
  ".opencode/skills/plan",
62
64
  ".opencode/skills/critic-gate",