opencode-swarm 7.135.2 → 7.135.4

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 (77) hide show
  1. package/.opencode/skills/critic-gate/SKILL.md +10 -0
  2. package/dist/agents/explorer.d.ts +1 -1
  3. package/dist/agents/index.d.ts +12 -0
  4. package/dist/cli/{config-doctor-pj3yvxdb.js → config-doctor-fgmemknc.js} +3 -2
  5. package/dist/cli/{core-4va9z2ng.js → core-4z1s2ak1.js} +3 -2
  6. package/dist/cli/{curation-policy-b2caf3v3.js → curation-policy-frs28q57.js} +3 -3
  7. package/dist/cli/{curator-drift-2ta83hss.js → curator-drift-jpap6hv4.js} +2 -2
  8. package/dist/cli/{curator-llm-factory-9983528d.js → curator-llm-factory-pr59p535.js} +25 -24
  9. package/dist/cli/{curator-r1s2mwf2.js → curator-psq8m2j7.js} +25 -24
  10. package/dist/cli/{dispatch-wtk6dxky.js → dispatch-b1fge4xk.js} +2 -2
  11. package/dist/cli/{evidence-summary-service-feby8ny0.js → evidence-summary-service-w006jnpg.js} +5 -5
  12. package/dist/cli/{explorer-15gqzxh8.js → explorer-swjc297z.js} +1 -1
  13. package/dist/cli/{gate-evidence-84b03mb4.js → gate-evidence-aenyz6vt.js} +2 -2
  14. package/dist/cli/{guardrail-explain-pwxvg5n0.js → guardrail-explain-ws45zchy.js} +26 -25
  15. package/dist/cli/{guardrail-log-yzpz8b7t.js → guardrail-log-gbzek1pz.js} +5 -4
  16. package/dist/cli/{hive-promoter-586dhndj.js → hive-promoter-gdbg4nyd.js} +25 -24
  17. package/dist/cli/index-3jcyn8g6.js +1219 -0
  18. package/dist/cli/{index-hdy2nd5h.js → index-45t7w06b.js} +4 -4
  19. package/dist/cli/{index-hvrrq3f3.js → index-4g3nq4sh.js} +1 -1
  20. package/dist/cli/{index-02cqjna3.js → index-5s1q6xcw.js} +4 -4
  21. package/dist/cli/{index-340chr1e.js → index-66w4jjg6.js} +10124 -10005
  22. package/dist/cli/{index-dg1njnms.js → index-6mjf4vr1.js} +1 -1
  23. package/dist/cli/{index-9c3gf2wd.js → index-ajehqzvn.js} +6 -4
  24. package/dist/cli/{index-2pxk6qg4.js → index-b34vbxmx.js} +4 -2
  25. package/dist/cli/{index-d5psymdk.js → index-c9ddxv4k.js} +57 -8
  26. package/dist/cli/{index-j0kte6gd.js → index-cg413zhk.js} +8 -1210
  27. package/dist/cli/{index-7pnvf04s.js → index-cggqh2dz.js} +10 -10
  28. package/dist/cli/{index-bs4m85v1.js → index-cgqekdja.js} +2 -2
  29. package/dist/cli/{index-j92ser8n.js → index-ck9rx6j1.js} +5 -3
  30. package/dist/cli/{index-jgkjxpdh.js → index-fx7bn93y.js} +2 -2
  31. package/dist/cli/{index-qqkw794p.js → index-g86vfxnk.js} +3 -3
  32. package/dist/cli/{index-3m7kpnqf.js → index-jsp8r6f9.js} +1 -1
  33. package/dist/cli/{index-8gw8p7yh.js → index-mysdsqtk.js} +21 -4
  34. package/dist/cli/{index-3xbx305x.js → index-tcn457d5.js} +1 -1
  35. package/dist/cli/{index-ckdva4rs.js → index-tegdwx34.js} +5 -5
  36. package/dist/cli/{index-b0eva00y.js → index-vh39nxpx.js} +1 -1
  37. package/dist/cli/{index-73dfyfhq.js → index-x20cgr2q.js} +1 -1
  38. package/dist/cli/{index-cwdy5vw9.js → index-xfeg0c0c.js} +31 -29
  39. package/dist/cli/{index-g3meqrsg.js → index-ys04j1np.js} +12 -10
  40. package/dist/cli/index.js +28 -26
  41. package/dist/cli/{knowledge-escalator-w7by1m8m.js → knowledge-escalator-0060q7we.js} +4 -4
  42. package/dist/cli/{knowledge-events-n8xxsay3.js → knowledge-events-yh2qwa6k.js} +6 -2
  43. package/dist/cli/knowledge-link-mm1w967j.js +1 -1
  44. package/dist/cli/{knowledge-store-xzmvfnx3.js → knowledge-store-geqaez58.js} +2 -2
  45. package/dist/cli/{knowledge-validator-5q1amsq6.js → knowledge-validator-4zq4vm7t.js} +5 -5
  46. package/dist/cli/{pending-delegations-mt5gs1bt.js → pending-delegations-qajsxct0.js} +4 -4
  47. package/dist/cli/{pr-subscriptions-v5xd3j6d.js → pr-subscriptions-qhr41epq.js} +4 -4
  48. package/dist/cli/{scan-cursor-1q1zmt4b.js → scan-cursor-nk2rybhq.js} +3 -3
  49. package/dist/cli/{schema-8mtsfspm.js → schema-th3tx32c.js} +2 -1
  50. package/dist/cli/scope-persistence-h2fpgxww.js +2 -2
  51. package/dist/cli/{skill-generator-54xbjgak.js → skill-generator-1947bbkn.js} +6 -6
  52. package/dist/cli/{worktree-collision-ownership-15hymf1y.js → worktree-collision-ownership-13btcj9g.js} +5 -5
  53. package/dist/commands/approve-plan-critic.d.ts +21 -0
  54. package/dist/commands/registry.d.ts +8 -0
  55. package/dist/config/cache-paths.d.ts +48 -0
  56. package/dist/config/constants.d.ts +18 -0
  57. package/dist/config/host-path.d.ts +95 -0
  58. package/dist/config/lane-context.d.ts +117 -0
  59. package/dist/config/lane-permissions.d.ts +277 -0
  60. package/dist/config/schema.d.ts +10 -0
  61. package/dist/config/swarm-branch.d.ts +130 -0
  62. package/dist/hooks/curator-postmortem.d.ts +8 -0
  63. package/dist/hooks/delegate-ack-collector.d.ts +21 -0
  64. package/dist/hooks/delegation-gate.d.ts +42 -1
  65. package/dist/hooks/knowledge-events.d.ts +33 -1
  66. package/dist/hooks/skill-propagation-gate.d.ts +10 -0
  67. package/dist/index.js +225 -212
  68. package/dist/memory/schema.d.ts +4 -4
  69. package/dist/services/knowledge-diagnostics.d.ts +2 -0
  70. package/dist/tools/approve-plan-critic.d.ts +5 -0
  71. package/dist/tools/index.d.ts +1 -0
  72. package/dist/tools/manifest.d.ts +1 -0
  73. package/dist/tools/tool-metadata.d.ts +4 -0
  74. package/package.json +1 -1
  75. package/dist/cli/{index-bfd4xfpp.js → index-4qzeef9h.js} +3 -3
  76. package/dist/cli/{index-ryqnn3nv.js → index-mrtms113.js} +3 -3
  77. package/dist/cli/{index-m0ynxkaa.js → index-vm4xw9z3.js} +3 -3
@@ -4,9 +4,9 @@ export declare const MemoryScopeTypeSchema: z.ZodEnum<{
4
4
  agent: "agent";
5
5
  project: "project";
6
6
  workspace: "workspace";
7
+ run: "run";
7
8
  global_user: "global_user";
8
9
  repository: "repository";
9
- run: "run";
10
10
  cohort: "cohort";
11
11
  }>;
12
12
  export declare const MemoryScopeRefSchema: z.ZodObject<{
@@ -14,9 +14,9 @@ export declare const MemoryScopeRefSchema: z.ZodObject<{
14
14
  agent: "agent";
15
15
  project: "project";
16
16
  workspace: "workspace";
17
+ run: "run";
17
18
  global_user: "global_user";
18
19
  repository: "repository";
19
- run: "run";
20
20
  cohort: "cohort";
21
21
  }>;
22
22
  userId: z.ZodOptional<z.ZodString>;
@@ -67,9 +67,9 @@ export declare const MemoryRecordSchema: z.ZodObject<{
67
67
  agent: "agent";
68
68
  project: "project";
69
69
  workspace: "workspace";
70
+ run: "run";
70
71
  global_user: "global_user";
71
72
  repository: "repository";
72
- run: "run";
73
73
  cohort: "cohort";
74
74
  }>;
75
75
  userId: z.ZodOptional<z.ZodString>;
@@ -155,9 +155,9 @@ export declare const MemoryProposalSchema: z.ZodObject<{
155
155
  agent: "agent";
156
156
  project: "project";
157
157
  workspace: "workspace";
158
+ run: "run";
158
159
  global_user: "global_user";
159
160
  repository: "repository";
160
- run: "run";
161
161
  cohort: "cohort";
162
162
  }>;
163
163
  userId: z.ZodOptional<z.ZodString>;
@@ -56,6 +56,8 @@ export interface KnowledgeDebugMeta {
56
56
  contradicted: number;
57
57
  violated: number;
58
58
  no_relevant: number;
59
+ /** Shown to a delegate, no ack filed — audit-only delivery signal. */
60
+ unacknowledged: number;
59
61
  };
60
62
  };
61
63
  /**
@@ -0,0 +1,5 @@
1
+ import { createSwarmTool } from './create-tool.js';
2
+ export declare function executeApprovePlanCritic(args: unknown, directory: string, context?: {
3
+ sessionID?: string;
4
+ }): Promise<string>;
5
+ export declare const approve_plan_critic: ReturnType<typeof createSwarmTool>;
@@ -91,6 +91,7 @@ export { classifyAndCluster, classifyFailure, clusterFailures, } from '../test-i
91
91
  export type { FlakyTestEntry } from '../test-impact/flaky-detector.js';
92
92
  export { computeFlakyScore, detectFlakyTests, isTestQuarantined, } from '../test-impact/flaky-detector.js';
93
93
  export { abort_pr_workflow, executeAbortPrWorkflow, } from './abort-pr-workflow';
94
+ export { approve_plan_critic, executeApprovePlanCritic, } from './approve-plan-critic';
94
95
  export { complete_pr_workflow, executeCompletePrWorkflow, } from './complete-pr-workflow';
95
96
  export { epic_plan_waves } from './epic-plan-waves';
96
97
  export { epic_record_divergence } from './epic-record-divergence';
@@ -44,6 +44,7 @@ export declare const TOOL_MANIFEST: {
44
44
  completion_verify: () => ToolDefinition;
45
45
  complete_pr_workflow: () => ToolDefinition;
46
46
  abort_pr_workflow: () => ToolDefinition;
47
+ approve_plan_critic: () => ToolDefinition;
47
48
  prepare_pr_workflow_checkout: () => ToolDefinition;
48
49
  run_pr_feedback_stage_a: () => ToolDefinition;
49
50
  submit_council_verdicts: () => ToolDefinition;
@@ -156,6 +156,10 @@ export declare const TOOL_METADATA: {
156
156
  description: string;
157
157
  agents: "architect"[];
158
158
  };
159
+ approve_plan_critic: {
160
+ description: string;
161
+ agents: "architect"[];
162
+ };
159
163
  prepare_pr_workflow_checkout: {
160
164
  description: string;
161
165
  agents: "architect"[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.135.2",
3
+ "version": "7.135.4",
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",
@@ -5,12 +5,12 @@ import {
5
5
  import {
6
6
  SwarmError
7
7
  } from "./index-z6xqpmqg.js";
8
- import {
9
- warn
10
- } from "./index-zgwm4ryv.js";
11
8
  import {
12
9
  bunFile
13
10
  } from "./index-y111zefa.js";
11
+ import {
12
+ warn
13
+ } from "./index-zgwm4ryv.js";
14
14
 
15
15
  // src/hooks/utils.ts
16
16
  import * as fs from "fs";
@@ -4,13 +4,13 @@ import {
4
4
  taskEvidencePath,
5
5
  withTaskEvidenceLock
6
6
  } from "./index-ey29aap6.js";
7
- import {
8
- telemetry
9
- } from "./index-7a2hm51h.js";
10
7
  import {
11
8
  exports_external,
12
9
  init_zod
13
10
  } from "./index-bpmtbmy9.js";
11
+ import {
12
+ telemetry
13
+ } from "./index-7a2hm51h.js";
14
14
 
15
15
  // src/gate-evidence.ts
16
16
  init_zod();
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  simpleGlobToRegex
4
4
  } from "./index-z6xqpmqg.js";
5
- import {
6
- warn
7
- } from "./index-zgwm4ryv.js";
8
5
  import {
9
6
  bunSpawnSync
10
7
  } from "./index-y111zefa.js";
8
+ import {
9
+ warn
10
+ } from "./index-zgwm4ryv.js";
11
11
  import {
12
12
  __export
13
13
  } from "./index-a76rekgs.js";