opencode-swarm 6.86.5 → 6.86.7
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/README.md +77 -17
- package/dist/__tests__/cli-version.adversarial.test.d.ts +1 -0
- package/dist/__tests__/cli-version.test.d.ts +1 -0
- package/dist/cli/index.js +686 -512
- package/dist/config/schema.d.ts +3 -0
- package/dist/council/types.d.ts +5 -1
- package/dist/db/qa-gate-profile.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1320 -1057
- package/dist/services/diagnose-service.d.ts +1 -1
- package/dist/services/warning-buffer.d.ts +9 -0
- package/dist/state.d.ts +16 -3
- package/dist/tools/convene-council.d.ts +10 -5
- package/dist/tools/declare-council-criteria.d.ts +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/tools/tool-names.d.ts +1 -1
- package/package.json +1 -1
package/dist/config/schema.d.ts
CHANGED
|
@@ -576,6 +576,7 @@ export declare const CouncilConfigSchema: z.ZodObject<{
|
|
|
576
576
|
parallelTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
577
577
|
vetoPriority: z.ZodDefault<z.ZodBoolean>;
|
|
578
578
|
requireAllMembers: z.ZodDefault<z.ZodBoolean>;
|
|
579
|
+
minimumMembers: z.ZodDefault<z.ZodNumber>;
|
|
579
580
|
escalateOnMaxRounds: z.ZodOptional<z.ZodString>;
|
|
580
581
|
general: z.ZodOptional<z.ZodObject<{
|
|
581
582
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -996,6 +997,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
996
997
|
parallelTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
997
998
|
vetoPriority: z.ZodDefault<z.ZodBoolean>;
|
|
998
999
|
requireAllMembers: z.ZodDefault<z.ZodBoolean>;
|
|
1000
|
+
minimumMembers: z.ZodDefault<z.ZodNumber>;
|
|
999
1001
|
escalateOnMaxRounds: z.ZodOptional<z.ZodString>;
|
|
1000
1002
|
general: z.ZodOptional<z.ZodObject<{
|
|
1001
1003
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1045,6 +1047,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1045
1047
|
}, z.core.$strip>>;
|
|
1046
1048
|
}, z.core.$strip>>;
|
|
1047
1049
|
turbo_mode: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1050
|
+
quiet: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1048
1051
|
full_auto: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
1049
1052
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1050
1053
|
critic_model: z.ZodOptional<z.ZodString>;
|
package/dist/council/types.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ export interface CouncilSynthesis {
|
|
|
48
48
|
/** 1-indexed */
|
|
49
49
|
roundNumber: number;
|
|
50
50
|
allCriteriaMet: boolean;
|
|
51
|
+
/** Distinct council members that produced verdicts (deduplicated count). */
|
|
52
|
+
quorumSize: number;
|
|
51
53
|
/** true when called with an empty verdicts array — the APPROVE is vacuous */
|
|
52
54
|
emptyVerdictsWarning?: boolean;
|
|
53
55
|
}
|
|
@@ -71,8 +73,10 @@ export interface CouncilConfig {
|
|
|
71
73
|
parallelTimeoutMs: number;
|
|
72
74
|
/** Default true — any REJECT blocks */
|
|
73
75
|
vetoPriority: boolean;
|
|
74
|
-
/** Default false — when true,
|
|
76
|
+
/** Default false — when true, submit_council_verdicts rejects unless all 5 member verdicts are provided */
|
|
75
77
|
requireAllMembers: boolean;
|
|
78
|
+
/** Default 3 — minimum distinct council members required for quorum. requireAllMembers: true overrides this to 5. */
|
|
79
|
+
minimumMembers: number;
|
|
76
80
|
/**
|
|
77
81
|
* Optional webhook URL or handler name for auto-escalation when maxRounds is
|
|
78
82
|
* reached without APPROVE. Reserved for forward compatibility — NOT yet
|
|
@@ -85,7 +85,7 @@ export declare function computeProfileHash(profile: QaGateProfile): string;
|
|
|
85
85
|
* machine; blocks coder→next-coder advancement until reviewer + test_engineer
|
|
86
86
|
* delegations observed).
|
|
87
87
|
* - council_mode — src/state.ts isCouncilGateActive + src/hooks/delegation-gate.ts
|
|
88
|
-
* (Stage B replaced by
|
|
88
|
+
* (Stage B replaced by submit_council_verdicts verdict).
|
|
89
89
|
* - sme_enabled — consumed during MODE: BRAINSTORM/SPECIFY architect dialogue.
|
|
90
90
|
* - critic_pre_plan — consumed by MODE: PLAN critic delegation before save_plan.
|
|
91
91
|
* - sast_enabled — consumed inside pre_check_batch tool.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from '@opencode-ai/plugin';
|
|
2
|
+
import { addDeferredWarning, deferredWarnings } from './services/warning-buffer.js';
|
|
3
|
+
export { addDeferredWarning, deferredWarnings };
|
|
2
4
|
declare const OpenCodeSwarm: Plugin;
|
|
3
5
|
export default OpenCodeSwarm;
|
|
4
6
|
export type { AgentDefinition } from './agents';
|