opencode-swarm 7.17.1 → 7.17.3
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/dist/cli/index.js +36 -17
- package/dist/commands/registry.d.ts +3 -3
- package/dist/commands/turbo.d.ts +11 -0
- package/dist/council/council-service.d.ts +7 -1
- package/dist/council/types.d.ts +32 -0
- package/dist/index.js +350 -157
- package/dist/tools/write-final-council-evidence.d.ts +51 -14
- package/package.json +1 -1
|
@@ -1,29 +1,66 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Write final council evidence
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Write final council evidence for the project-scoped final council gate.
|
|
3
|
+
*
|
|
4
|
+
* The final council is not General Council mode. It accepts the same
|
|
5
|
+
* five-member CouncilMemberVerdict objects used by phase council, synthesized
|
|
6
|
+
* at completed-project scope.
|
|
5
7
|
*/
|
|
6
8
|
import type { ToolDefinition } from '@opencode-ai/plugin/tool';
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
import type { CouncilMemberVerdict } from '../council/types';
|
|
11
|
+
export declare const ArgsSchema: z.ZodObject<{
|
|
12
|
+
phase: z.ZodNumber;
|
|
13
|
+
projectSummary: z.ZodString;
|
|
14
|
+
roundNumber: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
verdicts: z.ZodArray<z.ZodObject<{
|
|
16
|
+
agent: z.ZodEnum<{
|
|
17
|
+
reviewer: "reviewer";
|
|
18
|
+
test_engineer: "test_engineer";
|
|
19
|
+
explorer: "explorer";
|
|
20
|
+
sme: "sme";
|
|
21
|
+
critic: "critic";
|
|
22
|
+
}>;
|
|
23
|
+
verdict: z.ZodEnum<{
|
|
24
|
+
APPROVE: "APPROVE";
|
|
25
|
+
REJECT: "REJECT";
|
|
26
|
+
CONCERNS: "CONCERNS";
|
|
27
|
+
}>;
|
|
28
|
+
confidence: z.ZodNumber;
|
|
29
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
30
|
+
severity: z.ZodEnum<{
|
|
31
|
+
HIGH: "HIGH";
|
|
32
|
+
MEDIUM: "MEDIUM";
|
|
33
|
+
LOW: "LOW";
|
|
34
|
+
}>;
|
|
35
|
+
category: z.ZodString;
|
|
36
|
+
location: z.ZodString;
|
|
37
|
+
detail: z.ZodString;
|
|
38
|
+
evidence: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
criteriaAssessed: z.ZodArray<z.ZodString>;
|
|
41
|
+
criteriaUnmet: z.ZodArray<z.ZodString>;
|
|
42
|
+
durationMs: z.ZodNumber;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
7
45
|
/**
|
|
8
|
-
* Arguments for the write_final_council_evidence tool
|
|
46
|
+
* Arguments for the write_final_council_evidence tool.
|
|
9
47
|
*/
|
|
10
48
|
export interface WriteFinalCouncilEvidenceArgs {
|
|
11
49
|
/** The phase number for the final council verdict */
|
|
12
50
|
phase: number;
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
|
|
51
|
+
/** Summary of the completed project being reviewed */
|
|
52
|
+
projectSummary: string;
|
|
53
|
+
/** 1-indexed final council round number */
|
|
54
|
+
roundNumber?: number;
|
|
55
|
+
/** Collected verdicts from critic, reviewer, sme, test_engineer, explorer */
|
|
56
|
+
verdicts: CouncilMemberVerdict[];
|
|
17
57
|
}
|
|
18
58
|
/**
|
|
19
59
|
* Execute the write_final_council_evidence tool.
|
|
20
|
-
* Validates input,
|
|
21
|
-
* @param args - The write final council evidence arguments
|
|
22
|
-
* @param directory - Working directory
|
|
23
|
-
* @returns JSON string with success status and details
|
|
60
|
+
* Validates input, synthesizes project-scoped council evidence, and writes it.
|
|
24
61
|
*/
|
|
25
|
-
export declare function executeWriteFinalCouncilEvidence(args:
|
|
62
|
+
export declare function executeWriteFinalCouncilEvidence(args: unknown, directory: string): Promise<string>;
|
|
26
63
|
/**
|
|
27
|
-
* Tool definition for write_final_council_evidence
|
|
64
|
+
* Tool definition for write_final_council_evidence.
|
|
28
65
|
*/
|
|
29
66
|
export declare const write_final_council_evidence: ToolDefinition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.17.
|
|
3
|
+
"version": "7.17.3",
|
|
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",
|