opencode-sdlc-plugin 0.3.2 → 1.1.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/README.md +90 -17
- package/config/presets/event-modeling.json +19 -8
- package/config/presets/minimal.json +29 -16
- package/config/presets/standard.json +19 -8
- package/config/schemas/athena.schema.json +4 -4
- package/config/schemas/sdlc.schema.json +101 -5
- package/dist/cli/index.js +1431 -1336
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +428 -66
- package/dist/index.js +6262 -2440
- package/dist/index.js.map +1 -1
- package/dist/plugin/index.js +5793 -2010
- package/dist/plugin/index.js.map +1 -1
- package/package.json +2 -1
- package/prompts/agents/adr.md +234 -0
- package/prompts/agents/architect.md +204 -0
- package/prompts/agents/design-facilitator.md +237 -0
- package/prompts/agents/discovery.md +260 -0
- package/prompts/agents/domain.md +148 -34
- package/prompts/agents/file-updater.md +132 -0
- package/prompts/agents/green.md +119 -40
- package/prompts/agents/gwt.md +352 -0
- package/prompts/agents/model-checker.md +332 -0
- package/prompts/agents/red.md +112 -21
- package/prompts/agents/story.md +196 -0
- package/prompts/agents/ux.md +239 -0
- package/prompts/agents/workflow-designer.md +386 -0
- package/prompts/modes/architect.md +219 -0
- package/prompts/modes/build.md +150 -0
- package/prompts/modes/model.md +211 -0
- package/prompts/modes/plan.md +186 -0
- package/prompts/modes/pm.md +269 -0
- package/prompts/modes/prd.md +238 -0
- package/commands/sdlc-adr.md +0 -265
- package/commands/sdlc-debug.md +0 -376
- package/commands/sdlc-design.md +0 -246
- package/commands/sdlc-dev.md +0 -544
- package/commands/sdlc-info.md +0 -325
- package/commands/sdlc-parallel.md +0 -283
- package/commands/sdlc-recall.md +0 -213
- package/commands/sdlc-remember.md +0 -136
- package/commands/sdlc-research.md +0 -343
- package/commands/sdlc-review.md +0 -265
- package/commands/sdlc-status.md +0 -297
- package/config/presets/copilot-only.json +0 -69
- package/config/presets/enterprise.json +0 -79
- package/config/presets/solo-quick.json +0 -70
- package/config/presets/strict-tdd.json +0 -79
package/dist/index.d.ts
CHANGED
|
@@ -5,24 +5,102 @@ import '@opencode-ai/plugin';
|
|
|
5
5
|
/**
|
|
6
6
|
* Shared TypeScript type definitions for OpenCode SDLC Plugin
|
|
7
7
|
*/
|
|
8
|
+
/**
|
|
9
|
+
* SDLC operation modes
|
|
10
|
+
*/
|
|
11
|
+
type SdlcMode = "discover" | "model" | "architect" | "pm" | "build";
|
|
12
|
+
/**
|
|
13
|
+
* Mode configuration (v1.0.0+)
|
|
14
|
+
*/
|
|
15
|
+
interface ModesConfig {
|
|
16
|
+
/** Default mode on startup */
|
|
17
|
+
default: SdlcMode;
|
|
18
|
+
/** true=Model mode (Event Modeling), false=PRD mode */
|
|
19
|
+
eventModeling: boolean;
|
|
20
|
+
/** Array of enabled modes */
|
|
21
|
+
enabled: SdlcMode[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Memory backend types
|
|
25
|
+
*/
|
|
26
|
+
type MemoryBackend = "memento" | "stateless";
|
|
27
|
+
/**
|
|
28
|
+
* Memory configuration (v1.0.0+)
|
|
29
|
+
*/
|
|
30
|
+
interface MemoryConfig {
|
|
31
|
+
/** Memory backend type */
|
|
32
|
+
backend: MemoryBackend;
|
|
33
|
+
/** How long to keep checkpoints in seconds */
|
|
34
|
+
checkpointTtl: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Subagent model value - either a model string or "inherit" to use marvin model
|
|
38
|
+
*/
|
|
39
|
+
type SubagentModel = string | "inherit";
|
|
40
|
+
/**
|
|
41
|
+
* Subagent model assignments (v1.0.0+)
|
|
42
|
+
* All fields are optional - unspecified subagents inherit from marvin
|
|
43
|
+
*/
|
|
44
|
+
interface SubagentModelsConfig {
|
|
45
|
+
/** Model for TDD red phase agent */
|
|
46
|
+
red?: SubagentModel;
|
|
47
|
+
/** Model for TDD green phase agent */
|
|
48
|
+
green?: SubagentModel;
|
|
49
|
+
/** Model for domain modeling agent */
|
|
50
|
+
domain?: SubagentModel;
|
|
51
|
+
/** Model for refactoring agent */
|
|
52
|
+
refactor?: SubagentModel;
|
|
53
|
+
/** Model for discovery/domain exploration agent */
|
|
54
|
+
discovery?: SubagentModel;
|
|
55
|
+
/** Model for workflow design agent */
|
|
56
|
+
workflow?: SubagentModel;
|
|
57
|
+
/** Model for GWT specification agent */
|
|
58
|
+
gwt?: SubagentModel;
|
|
59
|
+
/** Model for event model validation agent */
|
|
60
|
+
"model-checker"?: SubagentModel;
|
|
61
|
+
/** Model for architect agent */
|
|
62
|
+
architect?: SubagentModel;
|
|
63
|
+
/** Model for ADR creation agent */
|
|
64
|
+
adr?: SubagentModel;
|
|
65
|
+
/** Model for design facilitation agent */
|
|
66
|
+
"design-facilitator"?: SubagentModel;
|
|
67
|
+
/** Model for story/issue planning agent */
|
|
68
|
+
story?: SubagentModel;
|
|
69
|
+
/** Model for PM agent */
|
|
70
|
+
pm?: SubagentModel;
|
|
71
|
+
/** Model for business analyst agent */
|
|
72
|
+
analyst?: SubagentModel;
|
|
73
|
+
/** Model for code reviewer agent */
|
|
74
|
+
reviewer?: SubagentModel;
|
|
75
|
+
/** Model for UX review agent */
|
|
76
|
+
ux?: SubagentModel;
|
|
77
|
+
/** Model for mutation testing agent */
|
|
78
|
+
mutation?: SubagentModel;
|
|
79
|
+
}
|
|
8
80
|
/**
|
|
9
81
|
* Options passed to the install command
|
|
10
82
|
*/
|
|
11
83
|
interface InstallOptions {
|
|
12
|
-
preset: string;
|
|
13
84
|
yes: boolean;
|
|
14
85
|
advanced: boolean;
|
|
15
86
|
global: boolean;
|
|
16
87
|
local: boolean;
|
|
17
88
|
reconfigure?: boolean;
|
|
89
|
+
listProfiles?: boolean;
|
|
18
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Authentication method for a provider
|
|
93
|
+
*/
|
|
94
|
+
type ProviderAuthMethod = "subscription" | "api" | "none";
|
|
19
95
|
/**
|
|
20
96
|
* Subscription information gathered during install
|
|
21
97
|
*/
|
|
22
98
|
interface SubscriptionAnswers {
|
|
23
99
|
hasClaude: boolean;
|
|
100
|
+
claudeAuth: ProviderAuthMethod;
|
|
24
101
|
claudeTier: "max5x" | "max20x" | "pro" | "none";
|
|
25
102
|
hasOpenAI: boolean;
|
|
103
|
+
openaiAuth: ProviderAuthMethod;
|
|
26
104
|
hasGoogle: boolean;
|
|
27
105
|
googleAuth: "antigravity" | "personal" | "api" | "none";
|
|
28
106
|
hasGitHubCopilot: boolean;
|
|
@@ -84,7 +162,7 @@ interface AgentSettings {
|
|
|
84
162
|
* Model assignments for each agent role
|
|
85
163
|
*/
|
|
86
164
|
interface ModelAnswers {
|
|
87
|
-
|
|
165
|
+
marvin: string;
|
|
88
166
|
oracle: string;
|
|
89
167
|
librarian: string;
|
|
90
168
|
frontend?: string;
|
|
@@ -92,7 +170,7 @@ interface ModelAnswers {
|
|
|
92
170
|
multimodalLooker?: string;
|
|
93
171
|
explore?: string;
|
|
94
172
|
settings?: {
|
|
95
|
-
|
|
173
|
+
marvin?: AgentSettings;
|
|
96
174
|
oracle?: AgentSettings;
|
|
97
175
|
librarian?: AgentSettings;
|
|
98
176
|
frontend?: AgentSettings;
|
|
@@ -124,6 +202,9 @@ interface TddAnswers {
|
|
|
124
202
|
enabled: boolean;
|
|
125
203
|
requiredScore: number;
|
|
126
204
|
};
|
|
205
|
+
domainVetoEnabled?: boolean;
|
|
206
|
+
debateRounds?: number;
|
|
207
|
+
requireVerification?: boolean;
|
|
127
208
|
}
|
|
128
209
|
/**
|
|
129
210
|
* Event Modeling answers from the installer
|
|
@@ -140,6 +221,21 @@ interface GitWorkflowAnswers {
|
|
|
140
221
|
requireClean: boolean;
|
|
141
222
|
worktrees: boolean;
|
|
142
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* Modes configuration answers from the installer (v1.0.0+)
|
|
226
|
+
*/
|
|
227
|
+
interface ModesAnswers {
|
|
228
|
+
default: SdlcMode;
|
|
229
|
+
eventModeling: boolean;
|
|
230
|
+
enabled: SdlcMode[];
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Memory configuration answers from the installer (v1.0.0+)
|
|
234
|
+
*/
|
|
235
|
+
interface MemoryAnswers {
|
|
236
|
+
backend: MemoryBackend;
|
|
237
|
+
checkpointTtl: number;
|
|
238
|
+
}
|
|
143
239
|
/**
|
|
144
240
|
* All answers from the install wizard
|
|
145
241
|
*/
|
|
@@ -154,6 +250,8 @@ interface InstallAnswers {
|
|
|
154
250
|
tdd?: TddAnswers;
|
|
155
251
|
eventModeling?: EventModelingAnswers;
|
|
156
252
|
gitWorkflow?: GitWorkflowAnswers;
|
|
253
|
+
modes?: ModesAnswers;
|
|
254
|
+
memory?: MemoryAnswers;
|
|
157
255
|
}
|
|
158
256
|
interface AgentRouting {
|
|
159
257
|
requiresThinking?: boolean;
|
|
@@ -167,7 +265,7 @@ interface RoutingConfig {
|
|
|
167
265
|
gemini?: LLMProvider[];
|
|
168
266
|
};
|
|
169
267
|
agentOverrides: {
|
|
170
|
-
|
|
268
|
+
marvin?: AgentRouting;
|
|
171
269
|
oracle?: AgentRouting;
|
|
172
270
|
librarian?: AgentRouting;
|
|
173
271
|
frontend?: AgentRouting;
|
|
@@ -179,6 +277,8 @@ interface RoutingConfig {
|
|
|
179
277
|
retryPeriodMs: number;
|
|
180
278
|
notifyOnRateLimit: boolean;
|
|
181
279
|
};
|
|
280
|
+
/** Model for sdlc_classify_request tool (v1.0.0+) */
|
|
281
|
+
classifierModel?: string;
|
|
182
282
|
}
|
|
183
283
|
/**
|
|
184
284
|
* GitHub project board column statuses
|
|
@@ -222,6 +322,12 @@ interface TddConfig {
|
|
|
222
322
|
bypassPatterns: string[];
|
|
223
323
|
/** Mutation testing settings */
|
|
224
324
|
mutationTesting: MutationTestingConfig;
|
|
325
|
+
/** Enable domain agent veto power over type changes */
|
|
326
|
+
domainVetoEnabled?: boolean;
|
|
327
|
+
/** Max debate rounds before escalation to user */
|
|
328
|
+
debateRounds?: number;
|
|
329
|
+
/** Require test output evidence before phase transitions */
|
|
330
|
+
requireVerification?: boolean;
|
|
225
331
|
}
|
|
226
332
|
/**
|
|
227
333
|
* Event Modeling integration configuration
|
|
@@ -280,11 +386,11 @@ interface McpConfig {
|
|
|
280
386
|
memento: boolean;
|
|
281
387
|
}
|
|
282
388
|
/**
|
|
283
|
-
* SDLC configuration file structure (
|
|
389
|
+
* SDLC configuration file structure (v1.0.0+)
|
|
284
390
|
*
|
|
285
391
|
* This config supports a transitional state where:
|
|
286
392
|
* - Old BMAD fields are optional (deprecated, for backward compatibility)
|
|
287
|
-
* - New GitHub/TDD/EventModeling fields are optional
|
|
393
|
+
* - New GitHub/TDD/EventModeling/modes/memory fields are optional during migration
|
|
288
394
|
*
|
|
289
395
|
* New installations should use the new fields; existing installations
|
|
290
396
|
* can continue using BMAD until migrated.
|
|
@@ -295,10 +401,12 @@ interface SdlcConfig {
|
|
|
295
401
|
subscriptions: {
|
|
296
402
|
claude: {
|
|
297
403
|
enabled: boolean;
|
|
404
|
+
authMethod: ProviderAuthMethod;
|
|
298
405
|
tier: "max5x" | "max20x" | "pro" | "none";
|
|
299
406
|
};
|
|
300
407
|
openai: {
|
|
301
408
|
enabled: boolean;
|
|
409
|
+
authMethod: ProviderAuthMethod;
|
|
302
410
|
};
|
|
303
411
|
google: {
|
|
304
412
|
enabled: boolean;
|
|
@@ -311,14 +419,16 @@ interface SdlcConfig {
|
|
|
311
419
|
};
|
|
312
420
|
};
|
|
313
421
|
models: {
|
|
314
|
-
|
|
422
|
+
marvin: string;
|
|
315
423
|
oracle: string;
|
|
316
424
|
librarian: string;
|
|
317
425
|
frontend?: string;
|
|
318
426
|
documentWriter?: string;
|
|
319
427
|
multimodalLooker?: string;
|
|
428
|
+
/** Per-subagent model overrides (v1.0.0+) */
|
|
429
|
+
subagents?: SubagentModelsConfig;
|
|
320
430
|
settings?: {
|
|
321
|
-
|
|
431
|
+
marvin?: AgentSettings;
|
|
322
432
|
oracle?: AgentSettings;
|
|
323
433
|
librarian?: AgentSettings;
|
|
324
434
|
frontend?: AgentSettings;
|
|
@@ -329,6 +439,10 @@ interface SdlcConfig {
|
|
|
329
439
|
};
|
|
330
440
|
custom?: CustomModelDefinition[];
|
|
331
441
|
};
|
|
442
|
+
/** Mode configuration (new in v1.0.0) */
|
|
443
|
+
modes?: ModesConfig;
|
|
444
|
+
/** Memory configuration (new in v1.0.0) */
|
|
445
|
+
memory?: MemoryConfig;
|
|
332
446
|
/** GitHub Issues integration (new in v0.3.0) */
|
|
333
447
|
github?: GitHubConfig;
|
|
334
448
|
/** TDD cycle enforcement (new in v0.3.0) */
|
|
@@ -412,6 +526,7 @@ interface TrackedIssue {
|
|
|
412
526
|
completedAt?: string;
|
|
413
527
|
url?: string;
|
|
414
528
|
body?: string | null;
|
|
529
|
+
branch?: string;
|
|
415
530
|
}
|
|
416
531
|
/**
|
|
417
532
|
* Issue tracker persistent state
|
|
@@ -550,10 +665,10 @@ type TodoStatus = "pending" | "in_progress" | "completed" | "cancelled";
|
|
|
550
665
|
type TodoPriority = "high" | "medium" | "low";
|
|
551
666
|
|
|
552
667
|
/**
|
|
553
|
-
* Complete SDLC configuration schema (
|
|
668
|
+
* Complete SDLC configuration schema (v1.0.0+)
|
|
554
669
|
*
|
|
555
670
|
* Supports transitional state:
|
|
556
|
-
* - New fields (github, tdd, eventModeling, git) are optional during migration
|
|
671
|
+
* - New fields (github, tdd, eventModeling, git, modes, memory) are optional during migration
|
|
557
672
|
* - Old field (bmad) is optional and deprecated
|
|
558
673
|
* - Features/MCPs support both old and new structures via union
|
|
559
674
|
*/
|
|
@@ -563,30 +678,36 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
563
678
|
subscriptions: z.ZodObject<{
|
|
564
679
|
claude: z.ZodObject<{
|
|
565
680
|
enabled: z.ZodBoolean;
|
|
681
|
+
authMethod: z.ZodDefault<z.ZodEnum<["subscription", "api", "none"]>>;
|
|
566
682
|
tier: z.ZodEnum<["max5x", "max20x", "pro", "none"]>;
|
|
567
683
|
}, "strip", z.ZodTypeAny, {
|
|
568
684
|
enabled: boolean;
|
|
569
|
-
|
|
685
|
+
authMethod: "subscription" | "api" | "none";
|
|
686
|
+
tier: "none" | "max5x" | "max20x" | "pro";
|
|
570
687
|
}, {
|
|
571
688
|
enabled: boolean;
|
|
572
|
-
tier: "
|
|
689
|
+
tier: "none" | "max5x" | "max20x" | "pro";
|
|
690
|
+
authMethod?: "subscription" | "api" | "none" | undefined;
|
|
573
691
|
}>;
|
|
574
692
|
openai: z.ZodObject<{
|
|
575
693
|
enabled: z.ZodBoolean;
|
|
694
|
+
authMethod: z.ZodDefault<z.ZodEnum<["subscription", "api", "none"]>>;
|
|
576
695
|
}, "strip", z.ZodTypeAny, {
|
|
577
696
|
enabled: boolean;
|
|
697
|
+
authMethod: "subscription" | "api" | "none";
|
|
578
698
|
}, {
|
|
579
699
|
enabled: boolean;
|
|
700
|
+
authMethod?: "subscription" | "api" | "none" | undefined;
|
|
580
701
|
}>;
|
|
581
702
|
google: z.ZodObject<{
|
|
582
703
|
enabled: z.ZodBoolean;
|
|
583
704
|
authMethod: z.ZodEnum<["antigravity", "personal", "api", "none"]>;
|
|
584
705
|
}, "strip", z.ZodTypeAny, {
|
|
585
706
|
enabled: boolean;
|
|
586
|
-
authMethod: "
|
|
707
|
+
authMethod: "api" | "none" | "antigravity" | "personal";
|
|
587
708
|
}, {
|
|
588
709
|
enabled: boolean;
|
|
589
|
-
authMethod: "
|
|
710
|
+
authMethod: "api" | "none" | "antigravity" | "personal";
|
|
590
711
|
}>;
|
|
591
712
|
githubCopilot: z.ZodObject<{
|
|
592
713
|
enabled: z.ZodBoolean;
|
|
@@ -594,57 +715,116 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
594
715
|
enabledModels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
595
716
|
}, "strip", z.ZodTypeAny, {
|
|
596
717
|
enabled: boolean;
|
|
597
|
-
plan: "
|
|
718
|
+
plan: "none" | "pro" | "free" | "pro-plus" | "business" | "enterprise";
|
|
598
719
|
enabledModels?: string[] | undefined;
|
|
599
720
|
}, {
|
|
600
721
|
enabled: boolean;
|
|
601
|
-
plan: "
|
|
722
|
+
plan: "none" | "pro" | "free" | "pro-plus" | "business" | "enterprise";
|
|
602
723
|
enabledModels?: string[] | undefined;
|
|
603
724
|
}>;
|
|
604
725
|
}, "strip", z.ZodTypeAny, {
|
|
605
726
|
openai: {
|
|
606
727
|
enabled: boolean;
|
|
728
|
+
authMethod: "subscription" | "api" | "none";
|
|
607
729
|
};
|
|
608
730
|
google: {
|
|
609
731
|
enabled: boolean;
|
|
610
|
-
authMethod: "
|
|
732
|
+
authMethod: "api" | "none" | "antigravity" | "personal";
|
|
611
733
|
};
|
|
612
734
|
claude: {
|
|
613
735
|
enabled: boolean;
|
|
614
|
-
|
|
736
|
+
authMethod: "subscription" | "api" | "none";
|
|
737
|
+
tier: "none" | "max5x" | "max20x" | "pro";
|
|
615
738
|
};
|
|
616
739
|
githubCopilot: {
|
|
617
740
|
enabled: boolean;
|
|
618
|
-
plan: "
|
|
741
|
+
plan: "none" | "pro" | "free" | "pro-plus" | "business" | "enterprise";
|
|
619
742
|
enabledModels?: string[] | undefined;
|
|
620
743
|
};
|
|
621
744
|
}, {
|
|
622
745
|
openai: {
|
|
623
746
|
enabled: boolean;
|
|
747
|
+
authMethod?: "subscription" | "api" | "none" | undefined;
|
|
624
748
|
};
|
|
625
749
|
google: {
|
|
626
750
|
enabled: boolean;
|
|
627
|
-
authMethod: "
|
|
751
|
+
authMethod: "api" | "none" | "antigravity" | "personal";
|
|
628
752
|
};
|
|
629
753
|
claude: {
|
|
630
754
|
enabled: boolean;
|
|
631
|
-
tier: "
|
|
755
|
+
tier: "none" | "max5x" | "max20x" | "pro";
|
|
756
|
+
authMethod?: "subscription" | "api" | "none" | undefined;
|
|
632
757
|
};
|
|
633
758
|
githubCopilot: {
|
|
634
759
|
enabled: boolean;
|
|
635
|
-
plan: "
|
|
760
|
+
plan: "none" | "pro" | "free" | "pro-plus" | "business" | "enterprise";
|
|
636
761
|
enabledModels?: string[] | undefined;
|
|
637
762
|
};
|
|
638
763
|
}>;
|
|
639
764
|
models: z.ZodObject<{
|
|
640
|
-
|
|
765
|
+
marvin: z.ZodString;
|
|
641
766
|
oracle: z.ZodString;
|
|
642
767
|
librarian: z.ZodString;
|
|
643
768
|
frontend: z.ZodOptional<z.ZodString>;
|
|
644
769
|
documentWriter: z.ZodOptional<z.ZodString>;
|
|
645
770
|
multimodalLooker: z.ZodOptional<z.ZodString>;
|
|
771
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
772
|
+
red: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
773
|
+
green: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
774
|
+
domain: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
775
|
+
refactor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
776
|
+
discovery: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
777
|
+
workflow: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
778
|
+
gwt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
779
|
+
"model-checker": z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
780
|
+
architect: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
781
|
+
adr: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
782
|
+
"design-facilitator": z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
783
|
+
story: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
784
|
+
pm: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
785
|
+
analyst: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
786
|
+
reviewer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
787
|
+
ux: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
788
|
+
mutation: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"inherit">]>>;
|
|
789
|
+
}, "strip", z.ZodTypeAny, {
|
|
790
|
+
architect?: string | undefined;
|
|
791
|
+
pm?: string | undefined;
|
|
792
|
+
red?: string | undefined;
|
|
793
|
+
green?: string | undefined;
|
|
794
|
+
domain?: string | undefined;
|
|
795
|
+
refactor?: string | undefined;
|
|
796
|
+
discovery?: string | undefined;
|
|
797
|
+
workflow?: string | undefined;
|
|
798
|
+
gwt?: string | undefined;
|
|
799
|
+
"model-checker"?: string | undefined;
|
|
800
|
+
adr?: string | undefined;
|
|
801
|
+
"design-facilitator"?: string | undefined;
|
|
802
|
+
story?: string | undefined;
|
|
803
|
+
analyst?: string | undefined;
|
|
804
|
+
reviewer?: string | undefined;
|
|
805
|
+
ux?: string | undefined;
|
|
806
|
+
mutation?: string | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
architect?: string | undefined;
|
|
809
|
+
pm?: string | undefined;
|
|
810
|
+
red?: string | undefined;
|
|
811
|
+
green?: string | undefined;
|
|
812
|
+
domain?: string | undefined;
|
|
813
|
+
refactor?: string | undefined;
|
|
814
|
+
discovery?: string | undefined;
|
|
815
|
+
workflow?: string | undefined;
|
|
816
|
+
gwt?: string | undefined;
|
|
817
|
+
"model-checker"?: string | undefined;
|
|
818
|
+
adr?: string | undefined;
|
|
819
|
+
"design-facilitator"?: string | undefined;
|
|
820
|
+
story?: string | undefined;
|
|
821
|
+
analyst?: string | undefined;
|
|
822
|
+
reviewer?: string | undefined;
|
|
823
|
+
ux?: string | undefined;
|
|
824
|
+
mutation?: string | undefined;
|
|
825
|
+
}>>;
|
|
646
826
|
settings: z.ZodOptional<z.ZodObject<{
|
|
647
|
-
|
|
827
|
+
marvin: z.ZodOptional<z.ZodObject<{
|
|
648
828
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
649
829
|
thinkingLevel: z.ZodOptional<z.ZodEnum<["off", "low", "medium", "high"]>>;
|
|
650
830
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -715,7 +895,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
715
895
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
716
896
|
}>>>;
|
|
717
897
|
}, "strip", z.ZodTypeAny, {
|
|
718
|
-
|
|
898
|
+
marvin?: {
|
|
719
899
|
temperature?: number | undefined;
|
|
720
900
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
721
901
|
} | undefined;
|
|
@@ -744,7 +924,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
744
924
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
745
925
|
}> | undefined;
|
|
746
926
|
}, {
|
|
747
|
-
|
|
927
|
+
marvin?: {
|
|
748
928
|
temperature?: number | undefined;
|
|
749
929
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
750
930
|
} | undefined;
|
|
@@ -813,7 +993,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
813
993
|
} | undefined;
|
|
814
994
|
}>, "many">>;
|
|
815
995
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
|
|
996
|
+
marvin: string;
|
|
817
997
|
oracle: string;
|
|
818
998
|
librarian: string;
|
|
819
999
|
frontend?: string | undefined;
|
|
@@ -830,8 +1010,27 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
830
1010
|
supportsTemperature?: boolean | undefined;
|
|
831
1011
|
} | undefined;
|
|
832
1012
|
}[] | undefined;
|
|
1013
|
+
subagents?: {
|
|
1014
|
+
architect?: string | undefined;
|
|
1015
|
+
pm?: string | undefined;
|
|
1016
|
+
red?: string | undefined;
|
|
1017
|
+
green?: string | undefined;
|
|
1018
|
+
domain?: string | undefined;
|
|
1019
|
+
refactor?: string | undefined;
|
|
1020
|
+
discovery?: string | undefined;
|
|
1021
|
+
workflow?: string | undefined;
|
|
1022
|
+
gwt?: string | undefined;
|
|
1023
|
+
"model-checker"?: string | undefined;
|
|
1024
|
+
adr?: string | undefined;
|
|
1025
|
+
"design-facilitator"?: string | undefined;
|
|
1026
|
+
story?: string | undefined;
|
|
1027
|
+
analyst?: string | undefined;
|
|
1028
|
+
reviewer?: string | undefined;
|
|
1029
|
+
ux?: string | undefined;
|
|
1030
|
+
mutation?: string | undefined;
|
|
1031
|
+
} | undefined;
|
|
833
1032
|
settings?: {
|
|
834
|
-
|
|
1033
|
+
marvin?: {
|
|
835
1034
|
temperature?: number | undefined;
|
|
836
1035
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
837
1036
|
} | undefined;
|
|
@@ -861,7 +1060,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
861
1060
|
}> | undefined;
|
|
862
1061
|
} | undefined;
|
|
863
1062
|
}, {
|
|
864
|
-
|
|
1063
|
+
marvin: string;
|
|
865
1064
|
oracle: string;
|
|
866
1065
|
librarian: string;
|
|
867
1066
|
frontend?: string | undefined;
|
|
@@ -878,8 +1077,27 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
878
1077
|
supportsTemperature?: boolean | undefined;
|
|
879
1078
|
} | undefined;
|
|
880
1079
|
}[] | undefined;
|
|
1080
|
+
subagents?: {
|
|
1081
|
+
architect?: string | undefined;
|
|
1082
|
+
pm?: string | undefined;
|
|
1083
|
+
red?: string | undefined;
|
|
1084
|
+
green?: string | undefined;
|
|
1085
|
+
domain?: string | undefined;
|
|
1086
|
+
refactor?: string | undefined;
|
|
1087
|
+
discovery?: string | undefined;
|
|
1088
|
+
workflow?: string | undefined;
|
|
1089
|
+
gwt?: string | undefined;
|
|
1090
|
+
"model-checker"?: string | undefined;
|
|
1091
|
+
adr?: string | undefined;
|
|
1092
|
+
"design-facilitator"?: string | undefined;
|
|
1093
|
+
story?: string | undefined;
|
|
1094
|
+
analyst?: string | undefined;
|
|
1095
|
+
reviewer?: string | undefined;
|
|
1096
|
+
ux?: string | undefined;
|
|
1097
|
+
mutation?: string | undefined;
|
|
1098
|
+
} | undefined;
|
|
881
1099
|
settings?: {
|
|
882
|
-
|
|
1100
|
+
marvin?: {
|
|
883
1101
|
temperature?: number | undefined;
|
|
884
1102
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
885
1103
|
} | undefined;
|
|
@@ -909,6 +1127,29 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
909
1127
|
}> | undefined;
|
|
910
1128
|
} | undefined;
|
|
911
1129
|
}>;
|
|
1130
|
+
modes: z.ZodOptional<z.ZodObject<{
|
|
1131
|
+
default: z.ZodDefault<z.ZodEnum<["discover", "model", "architect", "pm", "build"]>>;
|
|
1132
|
+
eventModeling: z.ZodDefault<z.ZodBoolean>;
|
|
1133
|
+
enabled: z.ZodDefault<z.ZodArray<z.ZodEnum<["discover", "model", "architect", "pm", "build"]>, "many">>;
|
|
1134
|
+
}, "strip", z.ZodTypeAny, {
|
|
1135
|
+
default: "discover" | "model" | "architect" | "pm" | "build";
|
|
1136
|
+
eventModeling: boolean;
|
|
1137
|
+
enabled: ("discover" | "model" | "architect" | "pm" | "build")[];
|
|
1138
|
+
}, {
|
|
1139
|
+
default?: "discover" | "model" | "architect" | "pm" | "build" | undefined;
|
|
1140
|
+
eventModeling?: boolean | undefined;
|
|
1141
|
+
enabled?: ("discover" | "model" | "architect" | "pm" | "build")[] | undefined;
|
|
1142
|
+
}>>;
|
|
1143
|
+
memory: z.ZodOptional<z.ZodObject<{
|
|
1144
|
+
backend: z.ZodDefault<z.ZodEnum<["memento", "stateless"]>>;
|
|
1145
|
+
checkpointTtl: z.ZodDefault<z.ZodNumber>;
|
|
1146
|
+
}, "strip", z.ZodTypeAny, {
|
|
1147
|
+
backend: "memento" | "stateless";
|
|
1148
|
+
checkpointTtl: number;
|
|
1149
|
+
}, {
|
|
1150
|
+
backend?: "memento" | "stateless" | undefined;
|
|
1151
|
+
checkpointTtl?: number | undefined;
|
|
1152
|
+
}>>;
|
|
912
1153
|
github: z.ZodOptional<z.ZodObject<{
|
|
913
1154
|
owner: z.ZodString;
|
|
914
1155
|
repo: z.ZodString;
|
|
@@ -939,6 +1180,9 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
939
1180
|
enabled?: boolean | undefined;
|
|
940
1181
|
requiredScore?: number | undefined;
|
|
941
1182
|
}>>;
|
|
1183
|
+
domainVetoEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1184
|
+
debateRounds: z.ZodDefault<z.ZodNumber>;
|
|
1185
|
+
requireVerification: z.ZodDefault<z.ZodBoolean>;
|
|
942
1186
|
}, "strip", z.ZodTypeAny, {
|
|
943
1187
|
enabled: boolean;
|
|
944
1188
|
verbosity: "silent" | "brief" | "explain";
|
|
@@ -947,6 +1191,9 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
947
1191
|
enabled: boolean;
|
|
948
1192
|
requiredScore: number;
|
|
949
1193
|
};
|
|
1194
|
+
domainVetoEnabled: boolean;
|
|
1195
|
+
debateRounds: number;
|
|
1196
|
+
requireVerification: boolean;
|
|
950
1197
|
}, {
|
|
951
1198
|
enabled?: boolean | undefined;
|
|
952
1199
|
verbosity?: "silent" | "brief" | "explain" | undefined;
|
|
@@ -955,6 +1202,9 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
955
1202
|
enabled?: boolean | undefined;
|
|
956
1203
|
requiredScore?: number | undefined;
|
|
957
1204
|
} | undefined;
|
|
1205
|
+
domainVetoEnabled?: boolean | undefined;
|
|
1206
|
+
debateRounds?: number | undefined;
|
|
1207
|
+
requireVerification?: boolean | undefined;
|
|
958
1208
|
}>>;
|
|
959
1209
|
eventModeling: z.ZodOptional<z.ZodObject<{
|
|
960
1210
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -987,27 +1237,27 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
987
1237
|
prd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
1238
|
architecture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
989
1239
|
}, "strip", z.ZodTypeAny, {
|
|
990
|
-
prd?: string | null | undefined;
|
|
991
1240
|
architecture?: string | null | undefined;
|
|
992
|
-
}, {
|
|
993
1241
|
prd?: string | null | undefined;
|
|
1242
|
+
}, {
|
|
994
1243
|
architecture?: string | null | undefined;
|
|
1244
|
+
prd?: string | null | undefined;
|
|
995
1245
|
}>>;
|
|
996
1246
|
}, "strip", z.ZodTypeAny, {
|
|
997
1247
|
defaultTrack: "enterprise" | "quick-flow";
|
|
998
1248
|
autoStatusUpdate: boolean;
|
|
999
1249
|
parallelIssueLimit: number;
|
|
1000
1250
|
paths?: {
|
|
1001
|
-
prd?: string | null | undefined;
|
|
1002
1251
|
architecture?: string | null | undefined;
|
|
1252
|
+
prd?: string | null | undefined;
|
|
1003
1253
|
} | undefined;
|
|
1004
1254
|
}, {
|
|
1005
1255
|
defaultTrack: "enterprise" | "quick-flow";
|
|
1006
1256
|
autoStatusUpdate: boolean;
|
|
1007
1257
|
parallelIssueLimit: number;
|
|
1008
1258
|
paths?: {
|
|
1009
|
-
prd?: string | null | undefined;
|
|
1010
1259
|
architecture?: string | null | undefined;
|
|
1260
|
+
prd?: string | null | undefined;
|
|
1011
1261
|
} | undefined;
|
|
1012
1262
|
}>>;
|
|
1013
1263
|
features: z.ZodUnion<[z.ZodObject<{
|
|
@@ -1019,20 +1269,20 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1019
1269
|
notifications: z.ZodDefault<z.ZodBoolean>;
|
|
1020
1270
|
lspTools: z.ZodDefault<z.ZodBoolean>;
|
|
1021
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
memento: boolean;
|
|
1022
1273
|
notifications: boolean;
|
|
1023
1274
|
orchestratorOnly: boolean;
|
|
1024
1275
|
todoSync: boolean;
|
|
1025
1276
|
partyReview: boolean;
|
|
1026
1277
|
debuggingProtocol: boolean;
|
|
1027
|
-
memento: boolean;
|
|
1028
1278
|
lspTools: boolean;
|
|
1029
1279
|
}, {
|
|
1280
|
+
memento?: boolean | undefined;
|
|
1030
1281
|
notifications?: boolean | undefined;
|
|
1031
1282
|
orchestratorOnly?: boolean | undefined;
|
|
1032
1283
|
todoSync?: boolean | undefined;
|
|
1033
1284
|
partyReview?: boolean | undefined;
|
|
1034
1285
|
debuggingProtocol?: boolean | undefined;
|
|
1035
|
-
memento?: boolean | undefined;
|
|
1036
1286
|
lspTools?: boolean | undefined;
|
|
1037
1287
|
}>, z.ZodObject<{
|
|
1038
1288
|
bmadBridge: z.ZodBoolean;
|
|
@@ -1109,7 +1359,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1109
1359
|
gemini?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
1110
1360
|
}>;
|
|
1111
1361
|
agentOverrides: z.ZodObject<{
|
|
1112
|
-
|
|
1362
|
+
marvin: z.ZodOptional<z.ZodObject<{
|
|
1113
1363
|
requiresThinking: z.ZodOptional<z.ZodBoolean>;
|
|
1114
1364
|
preferProvider: z.ZodOptional<z.ZodEnum<["anthropic", "openai", "google", "github-copilot"]>>;
|
|
1115
1365
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1170,7 +1420,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1170
1420
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1171
1421
|
}>>;
|
|
1172
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1173
|
-
|
|
1423
|
+
marvin?: {
|
|
1174
1424
|
requiresThinking?: boolean | undefined;
|
|
1175
1425
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1176
1426
|
} | undefined;
|
|
@@ -1195,7 +1445,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1195
1445
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1196
1446
|
} | undefined;
|
|
1197
1447
|
}, {
|
|
1198
|
-
|
|
1448
|
+
marvin?: {
|
|
1199
1449
|
requiresThinking?: boolean | undefined;
|
|
1200
1450
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1201
1451
|
} | undefined;
|
|
@@ -1233,7 +1483,9 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1233
1483
|
retryPeriodMs: number;
|
|
1234
1484
|
notifyOnRateLimit: boolean;
|
|
1235
1485
|
}>;
|
|
1486
|
+
classifierModel: z.ZodDefault<z.ZodString>;
|
|
1236
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1488
|
+
classifierModel: string;
|
|
1237
1489
|
providerPriority: ("anthropic" | "openai" | "google" | "github-copilot")[];
|
|
1238
1490
|
modelFamilyPriority: {
|
|
1239
1491
|
claude?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
@@ -1241,7 +1493,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1241
1493
|
gemini?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
1242
1494
|
};
|
|
1243
1495
|
agentOverrides: {
|
|
1244
|
-
|
|
1496
|
+
marvin?: {
|
|
1245
1497
|
requiresThinking?: boolean | undefined;
|
|
1246
1498
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1247
1499
|
} | undefined;
|
|
@@ -1279,7 +1531,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1279
1531
|
gemini?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
1280
1532
|
};
|
|
1281
1533
|
agentOverrides: {
|
|
1282
|
-
|
|
1534
|
+
marvin?: {
|
|
1283
1535
|
requiresThinking?: boolean | undefined;
|
|
1284
1536
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1285
1537
|
} | undefined;
|
|
@@ -1309,28 +1561,31 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1309
1561
|
retryPeriodMs: number;
|
|
1310
1562
|
notifyOnRateLimit: boolean;
|
|
1311
1563
|
};
|
|
1564
|
+
classifierModel?: string | undefined;
|
|
1312
1565
|
}>;
|
|
1313
1566
|
}, "strip", z.ZodTypeAny, {
|
|
1314
1567
|
subscriptions: {
|
|
1315
1568
|
openai: {
|
|
1316
1569
|
enabled: boolean;
|
|
1570
|
+
authMethod: "subscription" | "api" | "none";
|
|
1317
1571
|
};
|
|
1318
1572
|
google: {
|
|
1319
1573
|
enabled: boolean;
|
|
1320
|
-
authMethod: "
|
|
1574
|
+
authMethod: "api" | "none" | "antigravity" | "personal";
|
|
1321
1575
|
};
|
|
1322
1576
|
claude: {
|
|
1323
1577
|
enabled: boolean;
|
|
1324
|
-
|
|
1578
|
+
authMethod: "subscription" | "api" | "none";
|
|
1579
|
+
tier: "none" | "max5x" | "max20x" | "pro";
|
|
1325
1580
|
};
|
|
1326
1581
|
githubCopilot: {
|
|
1327
1582
|
enabled: boolean;
|
|
1328
|
-
plan: "
|
|
1583
|
+
plan: "none" | "pro" | "free" | "pro-plus" | "business" | "enterprise";
|
|
1329
1584
|
enabledModels?: string[] | undefined;
|
|
1330
1585
|
};
|
|
1331
1586
|
};
|
|
1332
1587
|
models: {
|
|
1333
|
-
|
|
1588
|
+
marvin: string;
|
|
1334
1589
|
oracle: string;
|
|
1335
1590
|
librarian: string;
|
|
1336
1591
|
frontend?: string | undefined;
|
|
@@ -1347,8 +1602,27 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1347
1602
|
supportsTemperature?: boolean | undefined;
|
|
1348
1603
|
} | undefined;
|
|
1349
1604
|
}[] | undefined;
|
|
1605
|
+
subagents?: {
|
|
1606
|
+
architect?: string | undefined;
|
|
1607
|
+
pm?: string | undefined;
|
|
1608
|
+
red?: string | undefined;
|
|
1609
|
+
green?: string | undefined;
|
|
1610
|
+
domain?: string | undefined;
|
|
1611
|
+
refactor?: string | undefined;
|
|
1612
|
+
discovery?: string | undefined;
|
|
1613
|
+
workflow?: string | undefined;
|
|
1614
|
+
gwt?: string | undefined;
|
|
1615
|
+
"model-checker"?: string | undefined;
|
|
1616
|
+
adr?: string | undefined;
|
|
1617
|
+
"design-facilitator"?: string | undefined;
|
|
1618
|
+
story?: string | undefined;
|
|
1619
|
+
analyst?: string | undefined;
|
|
1620
|
+
reviewer?: string | undefined;
|
|
1621
|
+
ux?: string | undefined;
|
|
1622
|
+
mutation?: string | undefined;
|
|
1623
|
+
} | undefined;
|
|
1350
1624
|
settings?: {
|
|
1351
|
-
|
|
1625
|
+
marvin?: {
|
|
1352
1626
|
temperature?: number | undefined;
|
|
1353
1627
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
1354
1628
|
} | undefined;
|
|
@@ -1379,12 +1653,12 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1379
1653
|
} | undefined;
|
|
1380
1654
|
};
|
|
1381
1655
|
features: {
|
|
1656
|
+
memento: boolean;
|
|
1382
1657
|
notifications: boolean;
|
|
1383
1658
|
orchestratorOnly: boolean;
|
|
1384
1659
|
todoSync: boolean;
|
|
1385
1660
|
partyReview: boolean;
|
|
1386
1661
|
debuggingProtocol: boolean;
|
|
1387
|
-
memento: boolean;
|
|
1388
1662
|
lspTools: boolean;
|
|
1389
1663
|
} | {
|
|
1390
1664
|
notifications: boolean;
|
|
@@ -1409,6 +1683,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1409
1683
|
};
|
|
1410
1684
|
version: string;
|
|
1411
1685
|
routing: {
|
|
1686
|
+
classifierModel: string;
|
|
1412
1687
|
providerPriority: ("anthropic" | "openai" | "google" | "github-copilot")[];
|
|
1413
1688
|
modelFamilyPriority: {
|
|
1414
1689
|
claude?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
@@ -1416,7 +1691,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1416
1691
|
gemini?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
1417
1692
|
};
|
|
1418
1693
|
agentOverrides: {
|
|
1419
|
-
|
|
1694
|
+
marvin?: {
|
|
1420
1695
|
requiresThinking?: boolean | undefined;
|
|
1421
1696
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1422
1697
|
} | undefined;
|
|
@@ -1447,16 +1722,29 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1447
1722
|
notifyOnRateLimit: boolean;
|
|
1448
1723
|
};
|
|
1449
1724
|
};
|
|
1725
|
+
memory?: {
|
|
1726
|
+
backend: "memento" | "stateless";
|
|
1727
|
+
checkpointTtl: number;
|
|
1728
|
+
} | undefined;
|
|
1729
|
+
eventModeling?: {
|
|
1730
|
+
outputPath: string;
|
|
1731
|
+
enabled: boolean;
|
|
1732
|
+
} | undefined;
|
|
1450
1733
|
bmad?: {
|
|
1451
1734
|
defaultTrack: "enterprise" | "quick-flow";
|
|
1452
1735
|
autoStatusUpdate: boolean;
|
|
1453
1736
|
parallelIssueLimit: number;
|
|
1454
1737
|
paths?: {
|
|
1455
|
-
prd?: string | null | undefined;
|
|
1456
1738
|
architecture?: string | null | undefined;
|
|
1739
|
+
prd?: string | null | undefined;
|
|
1457
1740
|
} | undefined;
|
|
1458
1741
|
} | undefined;
|
|
1459
1742
|
$schema?: string | undefined;
|
|
1743
|
+
modes?: {
|
|
1744
|
+
default: "discover" | "model" | "architect" | "pm" | "build";
|
|
1745
|
+
eventModeling: boolean;
|
|
1746
|
+
enabled: ("discover" | "model" | "architect" | "pm" | "build")[];
|
|
1747
|
+
} | undefined;
|
|
1460
1748
|
github?: {
|
|
1461
1749
|
owner: string;
|
|
1462
1750
|
repo: string;
|
|
@@ -1471,10 +1759,9 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1471
1759
|
enabled: boolean;
|
|
1472
1760
|
requiredScore: number;
|
|
1473
1761
|
};
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
enabled: boolean;
|
|
1762
|
+
domainVetoEnabled: boolean;
|
|
1763
|
+
debateRounds: number;
|
|
1764
|
+
requireVerification: boolean;
|
|
1478
1765
|
} | undefined;
|
|
1479
1766
|
git?: {
|
|
1480
1767
|
workflow: "standard" | "git-spice";
|
|
@@ -1485,23 +1772,25 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1485
1772
|
subscriptions: {
|
|
1486
1773
|
openai: {
|
|
1487
1774
|
enabled: boolean;
|
|
1775
|
+
authMethod?: "subscription" | "api" | "none" | undefined;
|
|
1488
1776
|
};
|
|
1489
1777
|
google: {
|
|
1490
1778
|
enabled: boolean;
|
|
1491
|
-
authMethod: "
|
|
1779
|
+
authMethod: "api" | "none" | "antigravity" | "personal";
|
|
1492
1780
|
};
|
|
1493
1781
|
claude: {
|
|
1494
1782
|
enabled: boolean;
|
|
1495
|
-
tier: "
|
|
1783
|
+
tier: "none" | "max5x" | "max20x" | "pro";
|
|
1784
|
+
authMethod?: "subscription" | "api" | "none" | undefined;
|
|
1496
1785
|
};
|
|
1497
1786
|
githubCopilot: {
|
|
1498
1787
|
enabled: boolean;
|
|
1499
|
-
plan: "
|
|
1788
|
+
plan: "none" | "pro" | "free" | "pro-plus" | "business" | "enterprise";
|
|
1500
1789
|
enabledModels?: string[] | undefined;
|
|
1501
1790
|
};
|
|
1502
1791
|
};
|
|
1503
1792
|
models: {
|
|
1504
|
-
|
|
1793
|
+
marvin: string;
|
|
1505
1794
|
oracle: string;
|
|
1506
1795
|
librarian: string;
|
|
1507
1796
|
frontend?: string | undefined;
|
|
@@ -1518,8 +1807,27 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1518
1807
|
supportsTemperature?: boolean | undefined;
|
|
1519
1808
|
} | undefined;
|
|
1520
1809
|
}[] | undefined;
|
|
1810
|
+
subagents?: {
|
|
1811
|
+
architect?: string | undefined;
|
|
1812
|
+
pm?: string | undefined;
|
|
1813
|
+
red?: string | undefined;
|
|
1814
|
+
green?: string | undefined;
|
|
1815
|
+
domain?: string | undefined;
|
|
1816
|
+
refactor?: string | undefined;
|
|
1817
|
+
discovery?: string | undefined;
|
|
1818
|
+
workflow?: string | undefined;
|
|
1819
|
+
gwt?: string | undefined;
|
|
1820
|
+
"model-checker"?: string | undefined;
|
|
1821
|
+
adr?: string | undefined;
|
|
1822
|
+
"design-facilitator"?: string | undefined;
|
|
1823
|
+
story?: string | undefined;
|
|
1824
|
+
analyst?: string | undefined;
|
|
1825
|
+
reviewer?: string | undefined;
|
|
1826
|
+
ux?: string | undefined;
|
|
1827
|
+
mutation?: string | undefined;
|
|
1828
|
+
} | undefined;
|
|
1521
1829
|
settings?: {
|
|
1522
|
-
|
|
1830
|
+
marvin?: {
|
|
1523
1831
|
temperature?: number | undefined;
|
|
1524
1832
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
1525
1833
|
} | undefined;
|
|
@@ -1550,12 +1858,12 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1550
1858
|
} | undefined;
|
|
1551
1859
|
};
|
|
1552
1860
|
features: {
|
|
1861
|
+
memento?: boolean | undefined;
|
|
1553
1862
|
notifications?: boolean | undefined;
|
|
1554
1863
|
orchestratorOnly?: boolean | undefined;
|
|
1555
1864
|
todoSync?: boolean | undefined;
|
|
1556
1865
|
partyReview?: boolean | undefined;
|
|
1557
1866
|
debuggingProtocol?: boolean | undefined;
|
|
1558
|
-
memento?: boolean | undefined;
|
|
1559
1867
|
lspTools?: boolean | undefined;
|
|
1560
1868
|
} | {
|
|
1561
1869
|
notifications: boolean;
|
|
@@ -1587,7 +1895,7 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1587
1895
|
gemini?: ("anthropic" | "openai" | "google" | "github-copilot")[] | undefined;
|
|
1588
1896
|
};
|
|
1589
1897
|
agentOverrides: {
|
|
1590
|
-
|
|
1898
|
+
marvin?: {
|
|
1591
1899
|
requiresThinking?: boolean | undefined;
|
|
1592
1900
|
preferProvider?: "anthropic" | "openai" | "google" | "github-copilot" | undefined;
|
|
1593
1901
|
} | undefined;
|
|
@@ -1617,17 +1925,31 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1617
1925
|
retryPeriodMs: number;
|
|
1618
1926
|
notifyOnRateLimit: boolean;
|
|
1619
1927
|
};
|
|
1928
|
+
classifierModel?: string | undefined;
|
|
1620
1929
|
};
|
|
1930
|
+
memory?: {
|
|
1931
|
+
backend?: "memento" | "stateless" | undefined;
|
|
1932
|
+
checkpointTtl?: number | undefined;
|
|
1933
|
+
} | undefined;
|
|
1934
|
+
eventModeling?: {
|
|
1935
|
+
outputPath?: string | undefined;
|
|
1936
|
+
enabled?: boolean | undefined;
|
|
1937
|
+
} | undefined;
|
|
1621
1938
|
bmad?: {
|
|
1622
1939
|
defaultTrack: "enterprise" | "quick-flow";
|
|
1623
1940
|
autoStatusUpdate: boolean;
|
|
1624
1941
|
parallelIssueLimit: number;
|
|
1625
1942
|
paths?: {
|
|
1626
|
-
prd?: string | null | undefined;
|
|
1627
1943
|
architecture?: string | null | undefined;
|
|
1944
|
+
prd?: string | null | undefined;
|
|
1628
1945
|
} | undefined;
|
|
1629
1946
|
} | undefined;
|
|
1630
1947
|
$schema?: string | undefined;
|
|
1948
|
+
modes?: {
|
|
1949
|
+
default?: "discover" | "model" | "architect" | "pm" | "build" | undefined;
|
|
1950
|
+
eventModeling?: boolean | undefined;
|
|
1951
|
+
enabled?: ("discover" | "model" | "architect" | "pm" | "build")[] | undefined;
|
|
1952
|
+
} | undefined;
|
|
1631
1953
|
github?: {
|
|
1632
1954
|
owner: string;
|
|
1633
1955
|
repo: string;
|
|
@@ -1642,10 +1964,9 @@ declare const SdlcConfigSchema: z.ZodObject<{
|
|
|
1642
1964
|
enabled?: boolean | undefined;
|
|
1643
1965
|
requiredScore?: number | undefined;
|
|
1644
1966
|
} | undefined;
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
enabled?: boolean | undefined;
|
|
1967
|
+
domainVetoEnabled?: boolean | undefined;
|
|
1968
|
+
debateRounds?: number | undefined;
|
|
1969
|
+
requireVerification?: boolean | undefined;
|
|
1649
1970
|
} | undefined;
|
|
1650
1971
|
git?: {
|
|
1651
1972
|
workflow?: "standard" | "git-spice" | undefined;
|
|
@@ -1736,9 +2057,43 @@ declare const PROJECT_PATHS: {
|
|
|
1736
2057
|
readonly localConfig: ".opencode/sdlc.json";
|
|
1737
2058
|
};
|
|
1738
2059
|
/**
|
|
1739
|
-
* Default configuration values (
|
|
2060
|
+
* Default configuration values (v1.0.0+)
|
|
1740
2061
|
*/
|
|
1741
2062
|
declare const DEFAULTS: {
|
|
2063
|
+
/** Default modes configuration (v1.0.0+) */
|
|
2064
|
+
readonly modes: {
|
|
2065
|
+
readonly default: "build";
|
|
2066
|
+
readonly eventModeling: true;
|
|
2067
|
+
readonly enabled: readonly ["discover", "model", "architect", "pm", "build"];
|
|
2068
|
+
};
|
|
2069
|
+
/** Default memory configuration (v1.0.0+) */
|
|
2070
|
+
readonly memory: {
|
|
2071
|
+
readonly backend: "stateless";
|
|
2072
|
+
readonly checkpointTtl: 86400;
|
|
2073
|
+
};
|
|
2074
|
+
/** Default subagent model configuration (v1.0.0+)
|
|
2075
|
+
* All subagents default to "inherit" which uses the marvin model.
|
|
2076
|
+
* Only specify overrides for subagents that need different models.
|
|
2077
|
+
*/
|
|
2078
|
+
readonly subagents: {
|
|
2079
|
+
readonly red: "inherit";
|
|
2080
|
+
readonly green: "inherit";
|
|
2081
|
+
readonly domain: "inherit";
|
|
2082
|
+
readonly refactor: "inherit";
|
|
2083
|
+
readonly discovery: "inherit";
|
|
2084
|
+
readonly workflow: "inherit";
|
|
2085
|
+
readonly gwt: "inherit";
|
|
2086
|
+
readonly "model-checker": "inherit";
|
|
2087
|
+
readonly architect: "inherit";
|
|
2088
|
+
readonly adr: "inherit";
|
|
2089
|
+
readonly "design-facilitator": "inherit";
|
|
2090
|
+
readonly story: "inherit";
|
|
2091
|
+
readonly pm: "inherit";
|
|
2092
|
+
readonly analyst: "inherit";
|
|
2093
|
+
readonly reviewer: "inherit";
|
|
2094
|
+
readonly ux: "inherit";
|
|
2095
|
+
readonly mutation: "inherit";
|
|
2096
|
+
};
|
|
1742
2097
|
/** Default TDD configuration */
|
|
1743
2098
|
readonly tdd: {
|
|
1744
2099
|
readonly enabled: true;
|
|
@@ -1748,6 +2103,9 @@ declare const DEFAULTS: {
|
|
|
1748
2103
|
readonly enabled: false;
|
|
1749
2104
|
readonly requiredScore: 80;
|
|
1750
2105
|
};
|
|
2106
|
+
readonly domainVetoEnabled: true;
|
|
2107
|
+
readonly debateRounds: 2;
|
|
2108
|
+
readonly requireVerification: true;
|
|
1751
2109
|
};
|
|
1752
2110
|
/** Default Event Modeling configuration */
|
|
1753
2111
|
readonly eventModeling: {
|
|
@@ -1777,6 +2135,10 @@ declare const DEFAULTS: {
|
|
|
1777
2135
|
readonly grepApp: true;
|
|
1778
2136
|
readonly memento: false;
|
|
1779
2137
|
};
|
|
2138
|
+
/** Default routing configuration (v1.0.0+) */
|
|
2139
|
+
readonly routing: {
|
|
2140
|
+
readonly classifierModel: "anthropic/claude-haiku";
|
|
2141
|
+
};
|
|
1780
2142
|
};
|
|
1781
2143
|
|
|
1782
2144
|
export { CONFIG_PATHS, DEFAULTS, DISPLAY_NAME, GetIssueArgsSchema, type GetIssueResult, type InstallAnswers, type InstallOptions, type IssueTrackerState, ListIssuesArgsSchema, type ListIssuesResult, PACKAGE_NAME, PROJECT_PATHS, type Prerequisites, type SdlcConfig, SdlcConfigSchema, type TrackedIssue, UpdateIssueStatusArgsSchema, type UpdateIssueStatusResult, VERSION };
|