opencode-swarm 7.126.1 → 7.126.2
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-feedback/SKILL.md +5 -2
- package/.opencode/skills/swarm-pr-review/SKILL.md +1 -1
- package/dist/cli/{config-doctor-23jxdqwv.js → config-doctor-mfx27331.js} +2 -2
- package/dist/cli/{curation-policy-0t6hny6g.js → curation-policy-n944aq62.js} +2 -2
- package/dist/cli/{curator-llm-factory-36psae60.js → curator-llm-factory-0rf29gfq.js} +12 -12
- package/dist/cli/{curator-g8rggzbk.js → curator-qfh9xty4.js} +12 -12
- package/dist/cli/{guardrail-explain-6ffgrjx9.js → guardrail-explain-jsrjqps1.js} +13 -13
- package/dist/cli/{guardrail-log-57sczn5h.js → guardrail-log-61gya05m.js} +3 -3
- package/dist/cli/{hive-promoter-c458rgp5.js → hive-promoter-ktt17fyf.js} +12 -12
- package/dist/cli/{index-w0yztxgq.js → index-3xd9a2g7.js} +1 -1
- package/dist/cli/{index-yf4kvhrn.js → index-5nq8dp63.js} +14 -14
- package/dist/cli/{index-k5xh81c9.js → index-7bxw3v5w.js} +3 -3
- package/dist/cli/{index-6j9p0c40.js → index-88dt7c9z.js} +2 -2
- package/dist/cli/{index-1p9z8cc4.js → index-bf76q8q7.js} +1 -1
- package/dist/cli/{index-vvwf9ark.js → index-c48dvb6j.js} +2 -2
- package/dist/cli/{index-y9t766sw.js → index-d88y17ht.js} +45 -42
- package/dist/cli/{index-nkhp7j16.js → index-f97dm6tz.js} +5 -5
- package/dist/cli/{index-abw10n3f.js → index-gf9cxvp0.js} +1 -1
- package/dist/cli/{index-kx3533dm.js → index-gwss5btk.js} +1 -1
- package/dist/cli/{index-echdpdhy.js → index-gxw20m1d.js} +1 -1
- package/dist/cli/{index-cnhp6c0k.js → index-nqp13m5a.js} +1 -1
- package/dist/cli/{index-nmyg9b7v.js → index-pb8ag9vg.js} +4 -4
- package/dist/cli/{index-3hkbegq2.js → index-pf3xae4s.js} +1 -1
- package/dist/cli/{index-c8sqc3nh.js → index-vcqwhe9d.js} +4 -0
- package/dist/cli/{index-x1w4cx3n.js → index-z8ftpav0.js} +2 -2
- package/dist/cli/index.js +12 -12
- package/dist/cli/{knowledge-escalator-kd80m9vp.js → knowledge-escalator-nna0zec3.js} +3 -3
- package/dist/cli/{knowledge-events-j7jfwm1d.js → knowledge-events-7k82xk36.js} +1 -1
- package/dist/cli/{knowledge-store-1d4byc7y.js → knowledge-store-efvtng9t.js} +1 -1
- package/dist/cli/{knowledge-validator-63mkgt9x.js → knowledge-validator-jh93eagj.js} +4 -4
- package/dist/cli/{scan-cursor-qzn5jmbe.js → scan-cursor-cydz8d9q.js} +2 -2
- package/dist/cli/{schema-2j92wnns.js → schema-fa033pqw.js} +1 -1
- package/dist/cli/{skill-generator-sv6zvdvz.js → skill-generator-8v463kj7.js} +5 -5
- package/dist/hooks/delegation-gate.d.ts +14 -2
- package/dist/hooks/pr-workflow-gate.d.ts +18 -0
- package/dist/index.js +41 -38
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/prepare-pr-workflow-checkout.d.ts +25 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/package.json +1 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export { lean_turbo_runner_status } from './lean-turbo-runner-status';
|
|
|
101
101
|
export { lean_turbo_status } from './lean-turbo-status';
|
|
102
102
|
export { lint_spec } from './lint-spec';
|
|
103
103
|
export { mutation_test } from './mutation-test';
|
|
104
|
+
export { executePreparePrWorkflowCheckout, prepare_pr_workflow_checkout, } from './prepare-pr-workflow-checkout';
|
|
104
105
|
export { executeRunPrFeedbackStageA, run_pr_feedback_stage_a, } from './run-pr-feedback-stage-a';
|
|
105
106
|
export { symbols } from './symbols';
|
|
106
107
|
export { type SyntaxCheckFileResult, type SyntaxCheckInput, type SyntaxCheckResult, syntax_check, syntaxCheck, } from './syntax-check';
|
package/dist/tools/manifest.d.ts
CHANGED
|
@@ -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
|
+
prepare_pr_workflow_checkout: () => ToolDefinition;
|
|
47
48
|
run_pr_feedback_stage_a: () => ToolDefinition;
|
|
48
49
|
submit_council_verdicts: () => ToolDefinition;
|
|
49
50
|
submit_phase_council_verdicts: () => ToolDefinition;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createSwarmTool } from './create-tool.js';
|
|
2
|
+
/**
|
|
3
|
+
* Preserve explicit dirty tracked files before the unbound PR checkout.
|
|
4
|
+
*
|
|
5
|
+
* The tool uses the canonical gate's cross-process mutation lock and
|
|
6
|
+
* schema-validated state, so an abort, bind, or same-session reactivation
|
|
7
|
+
* cannot revoke or replace authorization while the fixed Git command runs.
|
|
8
|
+
* The independent receipt is retained under `.swarm/` after terminal gate
|
|
9
|
+
* cleanup so the exact stash recovery command remains auditable.
|
|
10
|
+
*/
|
|
11
|
+
export declare function executePreparePrWorkflowCheckout(args: unknown, directory: string, context?: {
|
|
12
|
+
sessionID?: string;
|
|
13
|
+
}): Promise<string>;
|
|
14
|
+
declare function runGit(directory: string, args: string[], options?: {
|
|
15
|
+
captureStdout?: boolean;
|
|
16
|
+
}): Promise<{
|
|
17
|
+
exitCode: number;
|
|
18
|
+
stdout: string;
|
|
19
|
+
}>;
|
|
20
|
+
/** Test-only seam for serializing concurrent real-Git checkout preparation. */
|
|
21
|
+
export declare const _internals: {
|
|
22
|
+
runGit: typeof runGit;
|
|
23
|
+
};
|
|
24
|
+
export declare const prepare_pr_workflow_checkout: ReturnType<typeof createSwarmTool>;
|
|
25
|
+
export {};
|
|
@@ -156,6 +156,10 @@ export declare const TOOL_METADATA: {
|
|
|
156
156
|
description: string;
|
|
157
157
|
agents: "architect"[];
|
|
158
158
|
};
|
|
159
|
+
prepare_pr_workflow_checkout: {
|
|
160
|
+
description: string;
|
|
161
|
+
agents: "architect"[];
|
|
162
|
+
};
|
|
159
163
|
run_pr_feedback_stage_a: {
|
|
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.126.
|
|
3
|
+
"version": "7.126.2",
|
|
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",
|