opencode-swarm 7.94.1 → 7.95.0

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.
@@ -12,8 +12,8 @@ import {
12
12
  shouldRunOnStartup,
13
13
  writeBackupArtifact,
14
14
  writeDoctorArtifact
15
- } from "./index-vqg905es.js";
16
- import"./index-79dcqsg9.js";
15
+ } from "./index-tht37da9.js";
16
+ import"./index-w015kchv.js";
17
17
  import"./index-5e4e2hvv.js";
18
18
  import"./index-p0arc26j.js";
19
19
  import"./index-zgwm4ryv.js";
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-q8qx8p47.js";
5
- import"./index-a59fjg9v.js";
6
- import"./index-dgjsa6hy.js";
4
+ } from "./index-0xkf7xn2.js";
5
+ import"./index-wz5ex5q7.js";
6
+ import"./index-c7xgx041.js";
7
7
  import"./index-2a6ppa65.js";
8
8
  import"./index-fjxjb66n.js";
9
9
  import"./index-hb10a2g8.js";
10
- import"./index-vqg905es.js";
11
- import"./index-79dcqsg9.js";
10
+ import"./index-tht37da9.js";
11
+ import"./index-w015kchv.js";
12
12
  import"./index-y1z6yaq4.js";
13
13
  import"./index-adz3nk9b.js";
14
14
  import"./index-v4fcn4tr.js";
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-tx5czwpd.js";
5
- import"./index-dgjsa6hy.js";
6
- import"./index-79dcqsg9.js";
4
+ } from "./index-5zwr6xz4.js";
5
+ import"./index-c7xgx041.js";
6
+ import"./index-w015kchv.js";
7
7
  import"./index-5e4e2hvv.js";
8
8
  import"./index-p0arc26j.js";
9
9
  import"./index-zgwm4ryv.js";
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-a59fjg9v.js";
15
+ } from "./index-wz5ex5q7.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-dgjsa6hy.js";
22
+ } from "./index-c7xgx041.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-dgjsa6hy.js";
5
+ } from "./index-c7xgx041.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-q8qx8p47.js";
4
+ } from "./index-0xkf7xn2.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-tx5czwpd.js";
7
+ } from "./index-5zwr6xz4.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -78,17 +78,17 @@ import {
78
78
  handleWriteRetroCommand,
79
79
  normalizeSwarmCommandInput,
80
80
  resolveCommand
81
- } from "./index-a59fjg9v.js";
82
- import"./index-dgjsa6hy.js";
81
+ } from "./index-wz5ex5q7.js";
82
+ import"./index-c7xgx041.js";
83
83
  import"./index-2a6ppa65.js";
84
84
  import"./index-fjxjb66n.js";
85
85
  import"./index-hb10a2g8.js";
86
- import"./index-vqg905es.js";
86
+ import"./index-tht37da9.js";
87
87
  import {
88
88
  AGENT_TOOL_MAP,
89
89
  ORCHESTRATOR_NAME,
90
90
  stripKnownSwarmPrefix
91
- } from "./index-79dcqsg9.js";
91
+ } from "./index-w015kchv.js";
92
92
  import"./index-y1z6yaq4.js";
93
93
  import"./index-adz3nk9b.js";
94
94
  import"./index-v4fcn4tr.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  stripKnownSwarmPrefix
4
- } from "./index-79dcqsg9.js";
4
+ } from "./index-w015kchv.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn
@@ -3,7 +3,7 @@ import {
3
3
  ALL_AGENT_NAMES,
4
4
  PluginConfigSchema,
5
5
  stripKnownSwarmPrefix
6
- } from "./index-79dcqsg9.js";
6
+ } from "./index-w015kchv.js";
7
7
  import {
8
8
  log
9
9
  } from "./index-zgwm4ryv.js";
@@ -384,6 +384,33 @@ var TOOL_METADATA = {
384
384
  "researcher"
385
385
  ]
386
386
  },
387
+ ast_grep: {
388
+ description: "Read-only structural AST search using ast-grep patterns with optional language and glob filters. Use for syntax-aware code pattern searches; does not rewrite files.",
389
+ agents: [
390
+ "architect",
391
+ "sme",
392
+ "docs",
393
+ "docs_design",
394
+ "critic_hallucination_verifier",
395
+ "spec_writer",
396
+ "explorer",
397
+ "coder",
398
+ "test_engineer",
399
+ "researcher"
400
+ ]
401
+ },
402
+ actionlint_scan: {
403
+ description: "Run actionlint against GitHub Actions workflow YAML files with structured findings. Resolves actionlint lazily and does not modify files.",
404
+ agents: ["architect", "test_engineer"]
405
+ },
406
+ osv_scan: {
407
+ description: "Run OSV-Scanner against a workspace path and return structured dependency vulnerability findings. Resolves osv-scanner lazily and does not modify files.",
408
+ agents: ["architect", "test_engineer"]
409
+ },
410
+ gh_evidence: {
411
+ description: "Fetch bounded GitHub pull request or issue metadata through gh for review and CI evidence. Resolves gh lazily and is read-only.",
412
+ agents: ["architect", "researcher"]
413
+ },
387
414
  batch_symbols: {
388
415
  description: "Batched symbol extraction across multiple files. Returns per-file symbol summaries with isolated error handling.",
389
416
  agents: [
@@ -57,7 +57,7 @@ import {
57
57
  readDoctorArtifact,
58
58
  removeStraySwarmDir,
59
59
  runConfigDoctor
60
- } from "./index-vqg905es.js";
60
+ } from "./index-tht37da9.js";
61
61
  import {
62
62
  AGENT_TOOL_MAP,
63
63
  ALL_SUBAGENT_NAMES,
@@ -70,7 +70,7 @@ import {
70
70
  TOOL_NAME_SET,
71
71
  resolveExternalSkillsConfig,
72
72
  stripKnownSwarmPrefix
73
- } from "./index-79dcqsg9.js";
73
+ } from "./index-w015kchv.js";
74
74
  import {
75
75
  MAX_TRANSIENT_RETRIES,
76
76
  PlanSchema,
@@ -909,7 +909,7 @@ var init_executor = __esm(() => {
909
909
  // package.json
910
910
  var package_default = {
911
911
  name: "opencode-swarm",
912
- version: "7.94.1",
912
+ version: "7.95.0",
913
913
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
914
914
  main: "dist/index.js",
915
915
  types: "dist/index.d.ts",
@@ -13070,7 +13070,7 @@ async function runFinalizeStage(ctx) {
13070
13070
  }
13071
13071
  }
13072
13072
  try {
13073
- const { CuratorConfigSchema: CCS } = await import("./schema-jy18ftky.js");
13073
+ const { CuratorConfigSchema: CCS } = await import("./schema-qz5mgmz3.js");
13074
13074
  const { config: pmLoadedConfig } = _internals20.loadPluginConfigWithMeta(ctx.directory);
13075
13075
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
13076
13076
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -16791,7 +16791,7 @@ async function handleDoctorCommand(directory, args) {
16791
16791
  const result = runConfigDoctor(config, directory);
16792
16792
  let output;
16793
16793
  if (enableAutoFix && result.hasAutoFixableIssues) {
16794
- const { runConfigDoctorWithFixes } = await import("./config-doctor-ecmx9scq.js");
16794
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-n5w1jexx.js");
16795
16795
  const fixResult = await runConfigDoctorWithFixes(directory, config, true);
16796
16796
  output = formatDoctorMarkdown(fixResult.result);
16797
16797
  } else {
@@ -31853,7 +31853,7 @@ function buildDetailedHelp(commandName, entry) {
31853
31853
  async function handleHelpCommand(ctx) {
31854
31854
  const targetCommand = ctx.args.join(" ");
31855
31855
  if (!targetCommand) {
31856
- const { buildHelpText } = await import("./index-jv0bz96v.js");
31856
+ const { buildHelpText } = await import("./index-7d38zerp.js");
31857
31857
  return buildHelpText();
31858
31858
  }
31859
31859
  const tokens = targetCommand.split(/\s+/);
@@ -31862,7 +31862,7 @@ async function handleHelpCommand(ctx) {
31862
31862
  return _internals45.buildDetailedHelp(resolved.key, resolved.entry);
31863
31863
  }
31864
31864
  const similar = _internals45.findSimilarCommands(targetCommand);
31865
- const { buildHelpText: fullHelp } = await import("./index-jv0bz96v.js");
31865
+ const { buildHelpText: fullHelp } = await import("./index-7d38zerp.js");
31866
31866
  if (similar.length > 0) {
31867
31867
  return `Command '/swarm ${targetCommand}' not found.
31868
31868
 
@@ -31995,7 +31995,7 @@ var COMMAND_REGISTRY = {
31995
31995
  },
31996
31996
  "guardrail explain": {
31997
31997
  handler: async (ctx) => {
31998
- const { handleGuardrailExplain } = await import("./guardrail-explain-we8mhb6y.js");
31998
+ const { handleGuardrailExplain } = await import("./guardrail-explain-1ad236sh.js");
31999
31999
  return handleGuardrailExplain(ctx.directory, ctx.args);
32000
32000
  },
32001
32001
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -32005,7 +32005,7 @@ var COMMAND_REGISTRY = {
32005
32005
  },
32006
32006
  "guardrail-log": {
32007
32007
  handler: async (ctx) => {
32008
- const { handleGuardrailLog } = await import("./guardrail-log-0q6pvbpx.js");
32008
+ const { handleGuardrailLog } = await import("./guardrail-log-0v924awy.js");
32009
32009
  return handleGuardrailLog(ctx.directory, ctx.args);
32010
32010
  },
32011
32011
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
package/dist/cli/index.js CHANGED
@@ -7,15 +7,15 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-a59fjg9v.js";
11
- import"./index-dgjsa6hy.js";
10
+ } from "./index-wz5ex5q7.js";
11
+ import"./index-c7xgx041.js";
12
12
  import"./index-2a6ppa65.js";
13
13
  import"./index-fjxjb66n.js";
14
14
  import"./index-hb10a2g8.js";
15
- import"./index-vqg905es.js";
15
+ import"./index-tht37da9.js";
16
16
  import {
17
17
  DEFAULT_AGENT_CONFIGS
18
- } from "./index-79dcqsg9.js";
18
+ } from "./index-w015kchv.js";
19
19
  import"./index-y1z6yaq4.js";
20
20
  import"./index-adz3nk9b.js";
21
21
  import"./index-v4fcn4tr.js";
@@ -81,7 +81,7 @@ import {
81
81
  resolveGeneratedAgentRole,
82
82
  resolveGuardrailsConfig,
83
83
  stripKnownSwarmPrefix
84
- } from "./index-79dcqsg9.js";
84
+ } from "./index-w015kchv.js";
85
85
  import"./index-p0arc26j.js";
86
86
  import"./index-293f68mj.js";
87
87
  import"./index-a76rekgs.js";