opencode-swarm 7.87.3 → 7.88.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.
- package/.opencode/skills/swarm-pr-review/SKILL.md +304 -9
- package/README.md +1 -0
- package/dist/background/candidate-parser.d.ts +189 -0
- package/dist/background/candidate-sidecar-store.d.ts +56 -0
- package/dist/cli/{config-doctor-6h64pn8n.js → config-doctor-jzbgpbdh.js} +2 -2
- package/dist/cli/{guardrail-explain-2q9myk7c.js → guardrail-explain-sw5bjxtk.js} +5 -5
- package/dist/cli/{guardrail-log-eegabqcp.js → guardrail-log-c7egm5km.js} +3 -3
- package/dist/cli/{index-q9h0wb04.js → index-0asbrmdx.js} +4 -0
- package/dist/cli/{index-1cb4wxnm.js → index-819xp49y.js} +1 -1
- package/dist/cli/{index-r3f47swm.js → index-dkytd370.js} +6 -6
- package/dist/cli/{index-amwa268r.js → index-fwb5f2gr.js} +2 -2
- package/dist/cli/{index-5hvbw5xh.js → index-g00qm2gf.js} +1 -1
- package/dist/cli/{index-kz1bmebr.js → index-jch711dq.js} +9 -9
- package/dist/cli/{index-5vpe6vq9.js → index-vjsr9bqt.js} +1 -1
- package/dist/cli/index.js +4 -4
- package/dist/cli/{schema-84146tvk.js → schema-vb6jkxgg.js} +1 -1
- package/dist/index.js +1015 -244
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/parse-lane-candidates.d.ts +2 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-vjsr9bqt.js";
|
|
5
|
+
import"./index-g00qm2gf.js";
|
|
6
|
+
import"./index-0asbrmdx.js";
|
|
7
7
|
import"./index-5e4e2hvv.js";
|
|
8
8
|
import"./index-p0arc26j.js";
|
|
9
9
|
import"./index-zgwm4ryv.js";
|
|
@@ -187,6 +187,10 @@ var TOOL_METADATA = {
|
|
|
187
187
|
"test_engineer"
|
|
188
188
|
]
|
|
189
189
|
},
|
|
190
|
+
parse_lane_candidates: {
|
|
191
|
+
description: "Parse [CANDIDATE] rows from a dispatch_lanes or collect_lane_results artifact (by output_ref), produce structured records with provenance, optionally persist to a per-batch sidecar JSONL. Pure-parser variant exists as internal module.",
|
|
192
|
+
agents: ["architect"]
|
|
193
|
+
},
|
|
190
194
|
test_runner: {
|
|
191
195
|
description: "auto-detect and run tests",
|
|
192
196
|
agents: ["architect", "reviewer", "test_engineer"]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-fwb5f2gr.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-vjsr9bqt.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -76,17 +76,17 @@ import {
|
|
|
76
76
|
handleWriteRetroCommand,
|
|
77
77
|
normalizeSwarmCommandInput,
|
|
78
78
|
resolveCommand
|
|
79
|
-
} from "./index-
|
|
80
|
-
import"./index-
|
|
79
|
+
} from "./index-jch711dq.js";
|
|
80
|
+
import"./index-g00qm2gf.js";
|
|
81
81
|
import"./index-yhsmmv2z.js";
|
|
82
82
|
import"./index-32axfg6h.js";
|
|
83
83
|
import"./index-e8pk68cc.js";
|
|
84
|
-
import"./index-
|
|
84
|
+
import"./index-819xp49y.js";
|
|
85
85
|
import {
|
|
86
86
|
AGENT_TOOL_MAP,
|
|
87
87
|
ORCHESTRATOR_NAME,
|
|
88
88
|
stripKnownSwarmPrefix
|
|
89
|
-
} from "./index-
|
|
89
|
+
} from "./index-0asbrmdx.js";
|
|
90
90
|
import"./index-8y7qetpg.js";
|
|
91
91
|
import"./index-adz3nk9b.js";
|
|
92
92
|
import"./index-v4fcn4tr.js";
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-jch711dq.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-g00qm2gf.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
readDoctorArtifact,
|
|
48
48
|
removeStraySwarmDir,
|
|
49
49
|
runConfigDoctor
|
|
50
|
-
} from "./index-
|
|
50
|
+
} from "./index-819xp49y.js";
|
|
51
51
|
import {
|
|
52
52
|
AGENT_TOOL_MAP,
|
|
53
53
|
ALL_SUBAGENT_NAMES,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
TOOL_NAME_SET,
|
|
61
61
|
resolveExternalSkillsConfig,
|
|
62
62
|
stripKnownSwarmPrefix
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-0asbrmdx.js";
|
|
64
64
|
import {
|
|
65
65
|
MAX_TRANSIENT_RETRIES,
|
|
66
66
|
PlanSchema,
|
|
@@ -899,7 +899,7 @@ var init_executor = __esm(() => {
|
|
|
899
899
|
// package.json
|
|
900
900
|
var package_default = {
|
|
901
901
|
name: "opencode-swarm",
|
|
902
|
-
version: "7.
|
|
902
|
+
version: "7.88.0",
|
|
903
903
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
904
904
|
main: "dist/index.js",
|
|
905
905
|
types: "dist/index.d.ts",
|
|
@@ -11539,7 +11539,7 @@ async function runFinalizeStage(ctx) {
|
|
|
11539
11539
|
}
|
|
11540
11540
|
}
|
|
11541
11541
|
try {
|
|
11542
|
-
const { CuratorConfigSchema: CCS } = await import("./schema-
|
|
11542
|
+
const { CuratorConfigSchema: CCS } = await import("./schema-vb6jkxgg.js");
|
|
11543
11543
|
const { config: pmLoadedConfig } = _internals20.loadPluginConfigWithMeta(ctx.directory);
|
|
11544
11544
|
const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
|
|
11545
11545
|
if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
|
|
@@ -15220,7 +15220,7 @@ async function handleDoctorCommand(directory, args) {
|
|
|
15220
15220
|
const result = runConfigDoctor(config, directory);
|
|
15221
15221
|
let output;
|
|
15222
15222
|
if (enableAutoFix && result.hasAutoFixableIssues) {
|
|
15223
|
-
const { runConfigDoctorWithFixes } = await import("./config-doctor-
|
|
15223
|
+
const { runConfigDoctorWithFixes } = await import("./config-doctor-jzbgpbdh.js");
|
|
15224
15224
|
const fixResult = await runConfigDoctorWithFixes(directory, config, true);
|
|
15225
15225
|
output = formatDoctorMarkdown(fixResult.result);
|
|
15226
15226
|
} else {
|
|
@@ -29627,7 +29627,7 @@ function buildDetailedHelp(commandName, entry) {
|
|
|
29627
29627
|
async function handleHelpCommand(ctx) {
|
|
29628
29628
|
const targetCommand = ctx.args.join(" ");
|
|
29629
29629
|
if (!targetCommand) {
|
|
29630
|
-
const { buildHelpText } = await import("./index-
|
|
29630
|
+
const { buildHelpText } = await import("./index-dkytd370.js");
|
|
29631
29631
|
return buildHelpText();
|
|
29632
29632
|
}
|
|
29633
29633
|
const tokens = targetCommand.split(/\s+/);
|
|
@@ -29636,7 +29636,7 @@ async function handleHelpCommand(ctx) {
|
|
|
29636
29636
|
return _internals45.buildDetailedHelp(resolved.key, resolved.entry);
|
|
29637
29637
|
}
|
|
29638
29638
|
const similar = _internals45.findSimilarCommands(targetCommand);
|
|
29639
|
-
const { buildHelpText: fullHelp } = await import("./index-
|
|
29639
|
+
const { buildHelpText: fullHelp } = await import("./index-dkytd370.js");
|
|
29640
29640
|
if (similar.length > 0) {
|
|
29641
29641
|
return `Command '/swarm ${targetCommand}' not found.
|
|
29642
29642
|
|
|
@@ -29769,7 +29769,7 @@ var COMMAND_REGISTRY = {
|
|
|
29769
29769
|
},
|
|
29770
29770
|
"guardrail explain": {
|
|
29771
29771
|
handler: async (ctx) => {
|
|
29772
|
-
const { handleGuardrailExplain } = await import("./guardrail-explain-
|
|
29772
|
+
const { handleGuardrailExplain } = await import("./guardrail-explain-sw5bjxtk.js");
|
|
29773
29773
|
return handleGuardrailExplain(ctx.directory, ctx.args);
|
|
29774
29774
|
},
|
|
29775
29775
|
description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
|
|
@@ -29779,7 +29779,7 @@ var COMMAND_REGISTRY = {
|
|
|
29779
29779
|
},
|
|
29780
29780
|
"guardrail-log": {
|
|
29781
29781
|
handler: async (ctx) => {
|
|
29782
|
-
const { handleGuardrailLog } = await import("./guardrail-log-
|
|
29782
|
+
const { handleGuardrailLog } = await import("./guardrail-log-c7egm5km.js");
|
|
29783
29783
|
return handleGuardrailLog(ctx.directory, ctx.args);
|
|
29784
29784
|
},
|
|
29785
29785
|
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-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-jch711dq.js";
|
|
11
|
+
import"./index-g00qm2gf.js";
|
|
12
12
|
import"./index-yhsmmv2z.js";
|
|
13
13
|
import"./index-32axfg6h.js";
|
|
14
14
|
import"./index-e8pk68cc.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-819xp49y.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_AGENT_CONFIGS
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-0asbrmdx.js";
|
|
19
19
|
import"./index-8y7qetpg.js";
|
|
20
20
|
import"./index-adz3nk9b.js";
|
|
21
21
|
import"./index-v4fcn4tr.js";
|