opencode-swarm 7.126.3 → 7.126.5
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/issue-tracer/scripts/trace-init.sh +20 -0
- package/dist/cli/{config-doctor-mfx27331.js → config-doctor-2admdwc2.js} +2 -2
- package/dist/cli/{curation-policy-n944aq62.js → curation-policy-82czah39.js} +2 -2
- package/dist/cli/{curator-jm9ehfkg.js → curator-5crbtfm1.js} +12 -12
- package/dist/cli/{curator-llm-factory-3cy0h9yw.js → curator-llm-factory-y24xw3j4.js} +12 -12
- package/dist/cli/{guardrail-explain-va0kj05m.js → guardrail-explain-3r26pm2s.js} +13 -13
- package/dist/cli/{guardrail-log-61gya05m.js → guardrail-log-7cychbgs.js} +3 -3
- package/dist/cli/{hive-promoter-h9c4kyv0.js → hive-promoter-9d2g1xf3.js} +12 -12
- package/dist/cli/{index-b16153py.js → index-0543dz3t.js} +14 -14
- package/dist/cli/{index-6t5sa6v0.js → index-0y19k18q.js} +2 -2
- package/dist/cli/{index-nqp13m5a.js → index-1mwdhq2p.js} +1 -1
- package/dist/cli/{index-gwss5btk.js → index-3ntrn97w.js} +1 -1
- package/dist/cli/{index-pb8ag9vg.js → index-72envp1b.js} +4 -4
- package/dist/cli/{index-vcqwhe9d.js → index-7ttstfv6.js} +25 -3
- package/dist/cli/{index-bf76q8q7.js → index-8etcyr9r.js} +1 -1
- package/dist/cli/{index-7bxw3v5w.js → index-c4mcheyz.js} +3 -3
- package/dist/cli/{index-3xd9a2g7.js → index-cpssctv1.js} +1 -1
- package/dist/cli/{index-c48dvb6j.js → index-edv27z4p.js} +2 -2
- package/dist/cli/{index-f97dm6tz.js → index-ff3j65em.js} +5 -5
- package/dist/cli/{index-pf3xae4s.js → index-gn62e04k.js} +1 -1
- package/dist/cli/{index-5n868tw8.js → index-hczdkknj.js} +136 -124
- package/dist/cli/{index-gf9cxvp0.js → index-hv2p03f3.js} +7 -19
- package/dist/cli/{index-88dt7c9z.js → index-ns62nv6t.js} +2 -2
- package/dist/cli/{index-gxw20m1d.js → index-v4n224r1.js} +1 -1
- package/dist/cli/index.js +12 -12
- package/dist/cli/{knowledge-escalator-nna0zec3.js → knowledge-escalator-b3k4b8pk.js} +3 -3
- package/dist/cli/{knowledge-events-7k82xk36.js → knowledge-events-4z5rkefv.js} +1 -1
- package/dist/cli/{knowledge-store-efvtng9t.js → knowledge-store-c0t16yr4.js} +1 -1
- package/dist/cli/{knowledge-validator-jh93eagj.js → knowledge-validator-cs33ws57.js} +4 -4
- package/dist/cli/{scan-cursor-cydz8d9q.js → scan-cursor-rgnarf67.js} +2 -2
- package/dist/cli/{schema-fa033pqw.js → schema-2x7wsb0n.js} +1 -1
- package/dist/cli/{skill-generator-8v463kj7.js → skill-generator-e8c2r816.js} +5 -5
- package/dist/config/loader.d.ts +1 -3
- package/dist/config/schema.d.ts +4 -4
- package/dist/index.js +252 -252
- package/dist/tools/test-runner.d.ts +12 -2
- package/dist/utils/path-security.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import * as fs from 'node:fs';
|
|
1
2
|
import type { tool } from '@opencode-ai/plugin';
|
|
3
|
+
import { isCommandAvailable } from '../build/discovery';
|
|
4
|
+
import { analyzeImpact, loadImpactMap } from '../test-impact/analyzer.js';
|
|
2
5
|
import { getAllHistory, type TestRunRecord } from '../test-impact/history-store.js';
|
|
3
6
|
export declare const MAX_OUTPUT_BYTES = 512000;
|
|
4
7
|
export declare const MAX_COMMAND_LENGTH = 500;
|
|
@@ -41,6 +44,7 @@ export interface ParsedTestCaseResult {
|
|
|
41
44
|
errorMessage?: string;
|
|
42
45
|
stackPrefix?: string;
|
|
43
46
|
}
|
|
47
|
+
declare const AGGREGATE_TEST_NAME = "(aggregate)";
|
|
44
48
|
export interface TestSuccessResult {
|
|
45
49
|
success: true;
|
|
46
50
|
framework: TestFramework;
|
|
@@ -147,7 +151,13 @@ export declare function runTests(framework: TestFramework, scope: 'all' | 'conve
|
|
|
147
151
|
declare function selectHistoryForAnalysis(history: ReturnType<typeof getAllHistory>): TestRunRecord[];
|
|
148
152
|
export declare const test_runner: ReturnType<typeof tool>;
|
|
149
153
|
export declare const _internals: {
|
|
150
|
-
|
|
151
|
-
|
|
154
|
+
analyzeImpact: typeof analyzeImpact;
|
|
155
|
+
loadImpactMap: typeof loadImpactMap;
|
|
156
|
+
isCommandAvailable: typeof isCommandAvailable;
|
|
157
|
+
existsSync: typeof fs.existsSync;
|
|
158
|
+
readdirSync: typeof fs.readdirSync;
|
|
159
|
+
readFileSync: typeof fs.readFileSync;
|
|
160
|
+
selectHistoryForAnalysis: typeof selectHistoryForAnalysis;
|
|
161
|
+
AGGREGATE_TEST_NAME: typeof AGGREGATE_TEST_NAME;
|
|
152
162
|
};
|
|
153
163
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as fs from 'node:fs';
|
|
1
2
|
/**
|
|
2
3
|
* Canonical path security utilities.
|
|
3
4
|
* Consolidated from 6+ local implementations across the codebase.
|
|
@@ -78,6 +79,7 @@ export declare function validateTargetWithinRoot(filePath: string, root: string)
|
|
|
78
79
|
* Internal calls should use _internals.fn() instead of fn() directly.
|
|
79
80
|
*/
|
|
80
81
|
export declare const _internals: {
|
|
82
|
+
realpathSync: typeof fs.realpathSync;
|
|
81
83
|
containsPathTraversal: typeof containsPathTraversal;
|
|
82
84
|
containsControlChars: typeof containsControlChars;
|
|
83
85
|
validateDirectory: typeof validateDirectory;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.126.
|
|
3
|
+
"version": "7.126.5",
|
|
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",
|