opencode-matrixx 2.2.0 → 2.4.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 +97 -25
- package/dist/agents/bdd-contract.d.ts +7 -0
- package/dist/agents/builtin-agents/architect-agent.d.ts +1 -0
- package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
- package/dist/agents/builtin-agents/{hephaestus-agent.d.ts → keymaker-agent.d.ts} +2 -0
- package/dist/agents/builtin-agents/model-resolution.d.ts +1 -0
- package/dist/agents/builtin-agents/morpheus-agent.d.ts +2 -0
- package/dist/agents/builtin-agents.d.ts +1 -1
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +2 -1
- package/dist/agents/env-context.d.ts +1 -1
- package/dist/agents/mouse/agent.d.ts +5 -2
- package/dist/agents/mouse/deepseek.d.ts +16 -0
- package/dist/agents/mouse/index.d.ts +3 -0
- package/dist/agents/mouse/mimo.d.ts +15 -0
- package/dist/agents/mouse/qwen.d.ts +16 -0
- package/dist/agents/mouse/shared.d.ts +7 -0
- package/dist/agents/types.d.ts +4 -1
- package/dist/config/index.d.ts +1 -2
- package/dist/config/presets.d.ts +4 -0
- package/dist/config/resolve-tiers.d.ts +32 -0
- package/dist/config/schema/agent-names.d.ts +6 -0
- package/dist/config/schema/agent-overrides.d.ts +133 -0
- package/dist/config/schema/categories.d.ts +16 -0
- package/dist/config/schema/commands.d.ts +6 -0
- package/dist/config/schema/dcp.d.ts +16 -0
- package/dist/config/schema/hooks.d.ts +3 -0
- package/dist/config/schema/matrixx-config.d.ts +159 -18
- package/dist/config/schema/rtk.d.ts +7 -0
- package/dist/config/schema.d.ts +4 -1
- package/dist/create-hooks.d.ts +3 -0
- package/dist/features/bdd/schema.d.ts +434 -0
- package/dist/features/bdd/types.d.ts +2 -0
- package/dist/features/builtin-commands/templates/bdd-backend.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-contract.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-frontend.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-pipeline.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-tests.d.ts +1 -0
- package/dist/features/builtin-commands/templates/dcp-profile.d.ts +1 -0
- package/dist/features/builtin-commands/types.d.ts +2 -2
- package/dist/features/builtin-skills/lazy-skill-helper.d.ts +17 -0
- package/dist/features/builtin-skills/skills/bdd-backend.d.ts +3 -0
- package/dist/features/builtin-skills/skills/bdd-contract.d.ts +3 -0
- package/dist/features/builtin-skills/skills/bdd-frontend.d.ts +3 -0
- package/dist/features/builtin-skills/skills/bdd-tests.d.ts +3 -0
- package/dist/features/builtin-skills/skills/docker-master.d.ts +2 -0
- package/dist/features/builtin-skills/skills/index.d.ts +5 -0
- package/dist/features/{claude-code-command-loader → command-loader}/loader.d.ts +0 -2
- package/dist/features/mission-state/constants.d.ts +10 -0
- package/dist/features/mission-state/index.d.ts +2 -0
- package/dist/features/mission-state/plan-storage.d.ts +48 -0
- package/dist/features/mission-state/rehydrate.d.ts +21 -0
- package/dist/features/mission-state/types.d.ts +46 -0
- package/dist/features/opencode-skill-loader/loader.d.ts +1 -3
- package/dist/features/opencode-skill-loader/skill-definition-record.d.ts +1 -1
- package/dist/features/opencode-skill-loader/types.d.ts +1 -1
- package/dist/features/skill-mcp-manager/connection-type.d.ts +2 -3
- package/dist/features/skill-mcp-manager/connection.d.ts +3 -4
- package/dist/features/skill-mcp-manager/manager.d.ts +2 -3
- package/dist/features/skill-mcp-manager/oauth-handler.d.ts +3 -3
- package/dist/features/skill-mcp-manager/types.d.ts +16 -4
- package/dist/hooks/env-context-injector/index.d.ts +23 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/plan-persister/hook.d.ts +20 -0
- package/dist/hooks/plan-persister/index.d.ts +2 -0
- package/dist/hooks/rtk-bash-rewriter/constants.d.ts +3 -0
- package/dist/hooks/rtk-bash-rewriter/hook.d.ts +12 -0
- package/dist/hooks/rtk-bash-rewriter/hook.test.d.ts +1 -0
- package/dist/hooks/rtk-bash-rewriter/index.d.ts +1 -0
- package/dist/hooks/rtk-bash-rewriter/types.d.ts +11 -0
- package/dist/index.js +44995 -28387
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +2 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-transform-hooks.d.ts +2 -1
- package/dist/plugin-config.d.ts +1 -1
- package/dist/plugin-handlers/agent-config-handler.d.ts +2 -0
- package/dist/plugin-handlers/plugin-components-loader.d.ts +1 -1
- package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +1 -0
- package/dist/shared/index.d.ts +1 -1
- package/dist/shared/merge-categories.d.ts +4 -0
- package/dist/shared/model-resolution-types.d.ts +3 -0
- package/dist/shared/model-tiers.d.ts +31 -0
- package/dist/shared/tier-resolver.d.ts +26 -0
- package/dist/tools/bdd-create-contract/constants.d.ts +1 -0
- package/dist/tools/bdd-create-contract/index.d.ts +3 -0
- package/dist/tools/bdd-create-contract/tools.d.ts +3 -0
- package/dist/tools/bdd-create-contract/types.d.ts +12 -0
- package/dist/tools/bdd-parse-gherkin/constants.d.ts +1 -0
- package/dist/tools/bdd-parse-gherkin/index.d.ts +3 -0
- package/dist/tools/bdd-parse-gherkin/tools.d.ts +5 -0
- package/dist/tools/bdd-parse-gherkin/types.d.ts +9 -0
- package/dist/tools/bdd-pipeline/analysis-report-sections.d.ts +10 -0
- package/dist/tools/bdd-pipeline/analysis-report.d.ts +9 -0
- package/dist/tools/bdd-pipeline/constants.d.ts +4 -0
- package/dist/tools/bdd-pipeline/feature-resolver.d.ts +5 -0
- package/dist/tools/bdd-pipeline/index.d.ts +3 -0
- package/dist/tools/bdd-pipeline/pipeline-runner.d.ts +6 -0
- package/dist/tools/bdd-pipeline/subagent-runner.d.ts +14 -0
- package/dist/tools/bdd-pipeline/tools.d.ts +5 -0
- package/dist/tools/bdd-pipeline/types.d.ts +74 -0
- package/dist/tools/bdd-validate-contract/index.d.ts +1 -0
- package/dist/tools/bdd-validate-contract/tools.d.ts +21 -0
- package/dist/tools/delegate-task/categories.d.ts +7 -0
- package/dist/tools/delegate-task/category-resolver.d.ts +6 -0
- package/dist/tools/delegate-task/complexity-constants.d.ts +24 -0
- package/dist/tools/delegate-task/complexity-scorer.d.ts +31 -0
- package/dist/tools/delegate-task/complexity-types.d.ts +10 -0
- package/dist/tools/delegate-task/executor-types.d.ts +1 -0
- package/dist/tools/delegate-task/index.d.ts +3 -0
- package/dist/tools/delegate-task/types.d.ts +8 -0
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/task/todo-sync.d.ts +1 -1
- package/package.json +19 -4
- package/dist/agents/builtin-agents/environment-context.d.ts +0 -2
- package/dist/config/profiles.d.ts +0 -4
- package/dist/config/schema/claude-code.d.ts +0 -10
- package/dist/features/claude-code-mcp-loader/index.d.ts +0 -10
- package/dist/features/claude-code-mcp-loader/loader.d.ts +0 -3
- package/dist/features/claude-code-mcp-loader/transformer.d.ts +0 -2
- package/dist/features/claude-code-mcp-loader/types.d.ts +0 -39
- package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/command-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/discovery.d.ts +0 -2
- package/dist/features/claude-code-plugin-loader/hook-loader.d.ts +0 -2
- package/dist/features/claude-code-plugin-loader/index.d.ts +0 -10
- package/dist/features/claude-code-plugin-loader/loader.d.ts +0 -20
- package/dist/features/claude-code-plugin-loader/mcp-server-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/plugin-path-resolver.d.ts +0 -1
- package/dist/features/claude-code-plugin-loader/skill-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/types.d.ts +0 -187
- package/dist/shared/claude-config-dir.d.ts +0 -1
- /package/dist/features/{claude-code-agent-loader → agent-loader}/index.d.ts +0 -0
- /package/dist/features/{claude-code-agent-loader → agent-loader}/loader.d.ts +0 -0
- /package/dist/features/{claude-code-agent-loader → agent-loader}/types.d.ts +0 -0
- /package/dist/features/{claude-code-command-loader → command-loader}/index.d.ts +0 -0
- /package/dist/features/{claude-code-command-loader → command-loader}/types.d.ts +0 -0
- /package/dist/features/{claude-code-session-state → session-state}/index.d.ts +0 -0
- /package/dist/features/{claude-code-session-state → session-state}/state.d.ts +0 -0
- /package/dist/features/{claude-code-mcp-loader → skill-mcp-manager}/env-expander.d.ts +0 -0
- /package/dist/features/{claude-tasks → task-storage}/storage.d.ts +0 -0
- /package/dist/features/{claude-tasks → task-storage}/types.d.ts +0 -0
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const TierNameSchema: z.ZodEnum<{
|
|
3
|
+
free: "free";
|
|
4
|
+
fast: "fast";
|
|
5
|
+
standard: "standard";
|
|
6
|
+
premium: "premium";
|
|
7
|
+
frontier: "frontier";
|
|
8
|
+
}>;
|
|
2
9
|
export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
3
10
|
model: z.ZodOptional<z.ZodString>;
|
|
11
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
free: "free";
|
|
13
|
+
fast: "fast";
|
|
14
|
+
standard: "standard";
|
|
15
|
+
premium: "premium";
|
|
16
|
+
frontier: "frontier";
|
|
17
|
+
}>>;
|
|
4
18
|
variant: z.ZodOptional<z.ZodString>;
|
|
5
19
|
category: z.ZodOptional<z.ZodString>;
|
|
6
20
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -82,6 +96,13 @@ export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
|
82
96
|
export declare const AgentOverridesSchema: z.ZodObject<{
|
|
83
97
|
build: z.ZodOptional<z.ZodObject<{
|
|
84
98
|
model: z.ZodOptional<z.ZodString>;
|
|
99
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
free: "free";
|
|
101
|
+
fast: "fast";
|
|
102
|
+
standard: "standard";
|
|
103
|
+
premium: "premium";
|
|
104
|
+
frontier: "frontier";
|
|
105
|
+
}>>;
|
|
85
106
|
variant: z.ZodOptional<z.ZodString>;
|
|
86
107
|
category: z.ZodOptional<z.ZodString>;
|
|
87
108
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -162,6 +183,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
162
183
|
}, z.core.$strip>>;
|
|
163
184
|
plan: z.ZodOptional<z.ZodObject<{
|
|
164
185
|
model: z.ZodOptional<z.ZodString>;
|
|
186
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
187
|
+
free: "free";
|
|
188
|
+
fast: "fast";
|
|
189
|
+
standard: "standard";
|
|
190
|
+
premium: "premium";
|
|
191
|
+
frontier: "frontier";
|
|
192
|
+
}>>;
|
|
165
193
|
variant: z.ZodOptional<z.ZodString>;
|
|
166
194
|
category: z.ZodOptional<z.ZodString>;
|
|
167
195
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -242,6 +270,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
242
270
|
}, z.core.$strip>>;
|
|
243
271
|
morpheus: z.ZodOptional<z.ZodObject<{
|
|
244
272
|
model: z.ZodOptional<z.ZodString>;
|
|
273
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
274
|
+
free: "free";
|
|
275
|
+
fast: "fast";
|
|
276
|
+
standard: "standard";
|
|
277
|
+
premium: "premium";
|
|
278
|
+
frontier: "frontier";
|
|
279
|
+
}>>;
|
|
245
280
|
variant: z.ZodOptional<z.ZodString>;
|
|
246
281
|
category: z.ZodOptional<z.ZodString>;
|
|
247
282
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -322,6 +357,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
322
357
|
}, z.core.$strip>>;
|
|
323
358
|
keymaker: z.ZodOptional<z.ZodObject<{
|
|
324
359
|
model: z.ZodOptional<z.ZodString>;
|
|
360
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
free: "free";
|
|
362
|
+
fast: "fast";
|
|
363
|
+
standard: "standard";
|
|
364
|
+
premium: "premium";
|
|
365
|
+
frontier: "frontier";
|
|
366
|
+
}>>;
|
|
325
367
|
variant: z.ZodOptional<z.ZodString>;
|
|
326
368
|
category: z.ZodOptional<z.ZodString>;
|
|
327
369
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -402,6 +444,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
402
444
|
}, z.core.$strip>>;
|
|
403
445
|
mouse: z.ZodOptional<z.ZodObject<{
|
|
404
446
|
model: z.ZodOptional<z.ZodString>;
|
|
447
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
448
|
+
free: "free";
|
|
449
|
+
fast: "fast";
|
|
450
|
+
standard: "standard";
|
|
451
|
+
premium: "premium";
|
|
452
|
+
frontier: "frontier";
|
|
453
|
+
}>>;
|
|
405
454
|
variant: z.ZodOptional<z.ZodString>;
|
|
406
455
|
category: z.ZodOptional<z.ZodString>;
|
|
407
456
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -482,6 +531,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
482
531
|
}, z.core.$strip>>;
|
|
483
532
|
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
484
533
|
model: z.ZodOptional<z.ZodString>;
|
|
534
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
535
|
+
free: "free";
|
|
536
|
+
fast: "fast";
|
|
537
|
+
standard: "standard";
|
|
538
|
+
premium: "premium";
|
|
539
|
+
frontier: "frontier";
|
|
540
|
+
}>>;
|
|
485
541
|
variant: z.ZodOptional<z.ZodString>;
|
|
486
542
|
category: z.ZodOptional<z.ZodString>;
|
|
487
543
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -562,6 +618,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
562
618
|
}, z.core.$strip>>;
|
|
563
619
|
oracle: z.ZodOptional<z.ZodObject<{
|
|
564
620
|
model: z.ZodOptional<z.ZodString>;
|
|
621
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
622
|
+
free: "free";
|
|
623
|
+
fast: "fast";
|
|
624
|
+
standard: "standard";
|
|
625
|
+
premium: "premium";
|
|
626
|
+
frontier: "frontier";
|
|
627
|
+
}>>;
|
|
565
628
|
variant: z.ZodOptional<z.ZodString>;
|
|
566
629
|
category: z.ZodOptional<z.ZodString>;
|
|
567
630
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -642,6 +705,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
642
705
|
}, z.core.$strip>>;
|
|
643
706
|
seraph: z.ZodOptional<z.ZodObject<{
|
|
644
707
|
model: z.ZodOptional<z.ZodString>;
|
|
708
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
709
|
+
free: "free";
|
|
710
|
+
fast: "fast";
|
|
711
|
+
standard: "standard";
|
|
712
|
+
premium: "premium";
|
|
713
|
+
frontier: "frontier";
|
|
714
|
+
}>>;
|
|
645
715
|
variant: z.ZodOptional<z.ZodString>;
|
|
646
716
|
category: z.ZodOptional<z.ZodString>;
|
|
647
717
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -722,6 +792,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
722
792
|
}, z.core.$strip>>;
|
|
723
793
|
smith: z.ZodOptional<z.ZodObject<{
|
|
724
794
|
model: z.ZodOptional<z.ZodString>;
|
|
795
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
796
|
+
free: "free";
|
|
797
|
+
fast: "fast";
|
|
798
|
+
standard: "standard";
|
|
799
|
+
premium: "premium";
|
|
800
|
+
frontier: "frontier";
|
|
801
|
+
}>>;
|
|
725
802
|
variant: z.ZodOptional<z.ZodString>;
|
|
726
803
|
category: z.ZodOptional<z.ZodString>;
|
|
727
804
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -802,6 +879,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
802
879
|
}, z.core.$strip>>;
|
|
803
880
|
merovingian: z.ZodOptional<z.ZodObject<{
|
|
804
881
|
model: z.ZodOptional<z.ZodString>;
|
|
882
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
883
|
+
free: "free";
|
|
884
|
+
fast: "fast";
|
|
885
|
+
standard: "standard";
|
|
886
|
+
premium: "premium";
|
|
887
|
+
frontier: "frontier";
|
|
888
|
+
}>>;
|
|
805
889
|
variant: z.ZodOptional<z.ZodString>;
|
|
806
890
|
category: z.ZodOptional<z.ZodString>;
|
|
807
891
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -882,6 +966,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
882
966
|
}, z.core.$strip>>;
|
|
883
967
|
operator: z.ZodOptional<z.ZodObject<{
|
|
884
968
|
model: z.ZodOptional<z.ZodString>;
|
|
969
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
970
|
+
free: "free";
|
|
971
|
+
fast: "fast";
|
|
972
|
+
standard: "standard";
|
|
973
|
+
premium: "premium";
|
|
974
|
+
frontier: "frontier";
|
|
975
|
+
}>>;
|
|
885
976
|
variant: z.ZodOptional<z.ZodString>;
|
|
886
977
|
category: z.ZodOptional<z.ZodString>;
|
|
887
978
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -962,6 +1053,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
962
1053
|
}, z.core.$strip>>;
|
|
963
1054
|
trinity: z.ZodOptional<z.ZodObject<{
|
|
964
1055
|
model: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1057
|
+
free: "free";
|
|
1058
|
+
fast: "fast";
|
|
1059
|
+
standard: "standard";
|
|
1060
|
+
premium: "premium";
|
|
1061
|
+
frontier: "frontier";
|
|
1062
|
+
}>>;
|
|
965
1063
|
variant: z.ZodOptional<z.ZodString>;
|
|
966
1064
|
category: z.ZodOptional<z.ZodString>;
|
|
967
1065
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1042,6 +1140,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1042
1140
|
}, z.core.$strip>>;
|
|
1043
1141
|
construct: z.ZodOptional<z.ZodObject<{
|
|
1044
1142
|
model: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1144
|
+
free: "free";
|
|
1145
|
+
fast: "fast";
|
|
1146
|
+
standard: "standard";
|
|
1147
|
+
premium: "premium";
|
|
1148
|
+
frontier: "frontier";
|
|
1149
|
+
}>>;
|
|
1045
1150
|
variant: z.ZodOptional<z.ZodString>;
|
|
1046
1151
|
category: z.ZodOptional<z.ZodString>;
|
|
1047
1152
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1122,6 +1227,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1122
1227
|
}, z.core.$strip>>;
|
|
1123
1228
|
architect: z.ZodOptional<z.ZodObject<{
|
|
1124
1229
|
model: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1231
|
+
free: "free";
|
|
1232
|
+
fast: "fast";
|
|
1233
|
+
standard: "standard";
|
|
1234
|
+
premium: "premium";
|
|
1235
|
+
frontier: "frontier";
|
|
1236
|
+
}>>;
|
|
1125
1237
|
variant: z.ZodOptional<z.ZodString>;
|
|
1126
1238
|
category: z.ZodOptional<z.ZodString>;
|
|
1127
1239
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1202,6 +1314,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1202
1314
|
}, z.core.$strip>>;
|
|
1203
1315
|
cipher: z.ZodOptional<z.ZodObject<{
|
|
1204
1316
|
model: z.ZodOptional<z.ZodString>;
|
|
1317
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1318
|
+
free: "free";
|
|
1319
|
+
fast: "fast";
|
|
1320
|
+
standard: "standard";
|
|
1321
|
+
premium: "premium";
|
|
1322
|
+
frontier: "frontier";
|
|
1323
|
+
}>>;
|
|
1205
1324
|
variant: z.ZodOptional<z.ZodString>;
|
|
1206
1325
|
category: z.ZodOptional<z.ZodString>;
|
|
1207
1326
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1282,6 +1401,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1282
1401
|
}, z.core.$strip>>;
|
|
1283
1402
|
sentinel: z.ZodOptional<z.ZodObject<{
|
|
1284
1403
|
model: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
+
free: "free";
|
|
1406
|
+
fast: "fast";
|
|
1407
|
+
standard: "standard";
|
|
1408
|
+
premium: "premium";
|
|
1409
|
+
frontier: "frontier";
|
|
1410
|
+
}>>;
|
|
1285
1411
|
variant: z.ZodOptional<z.ZodString>;
|
|
1286
1412
|
category: z.ZodOptional<z.ZodString>;
|
|
1287
1413
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1362,6 +1488,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1362
1488
|
}, z.core.$strip>>;
|
|
1363
1489
|
sati: z.ZodOptional<z.ZodObject<{
|
|
1364
1490
|
model: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1492
|
+
free: "free";
|
|
1493
|
+
fast: "fast";
|
|
1494
|
+
standard: "standard";
|
|
1495
|
+
premium: "premium";
|
|
1496
|
+
frontier: "frontier";
|
|
1497
|
+
}>>;
|
|
1365
1498
|
variant: z.ZodOptional<z.ZodString>;
|
|
1366
1499
|
category: z.ZodOptional<z.ZodString>;
|
|
1367
1500
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2,6 +2,13 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CategoryConfigSchema: z.ZodObject<{
|
|
3
3
|
description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
model: z.ZodOptional<z.ZodString>;
|
|
5
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
free: "free";
|
|
7
|
+
fast: "fast";
|
|
8
|
+
standard: "standard";
|
|
9
|
+
premium: "premium";
|
|
10
|
+
frontier: "frontier";
|
|
11
|
+
}>>;
|
|
5
12
|
variant: z.ZodOptional<z.ZodString>;
|
|
6
13
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
7
14
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -29,6 +36,7 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
29
36
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
30
37
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
31
38
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
39
|
+
complexity_downgrades: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
32
40
|
}, z.core.$strip>;
|
|
33
41
|
export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
34
42
|
construct: "construct";
|
|
@@ -43,6 +51,13 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
|
43
51
|
export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
44
52
|
description: z.ZodOptional<z.ZodString>;
|
|
45
53
|
model: z.ZodOptional<z.ZodString>;
|
|
54
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
free: "free";
|
|
56
|
+
fast: "fast";
|
|
57
|
+
standard: "standard";
|
|
58
|
+
premium: "premium";
|
|
59
|
+
frontier: "frontier";
|
|
60
|
+
}>>;
|
|
46
61
|
variant: z.ZodOptional<z.ZodString>;
|
|
47
62
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
48
63
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -70,6 +85,7 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
70
85
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
71
86
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
72
87
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
88
|
+
complexity_downgrades: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
73
89
|
}, z.core.$strip>>;
|
|
74
90
|
export type CategoryConfig = z.infer<typeof CategoryConfigSchema>;
|
|
75
91
|
export type CategoriesConfig = z.infer<typeof CategoriesConfigSchema>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
3
|
+
"bdd-contract": "bdd-contract";
|
|
4
|
+
"bdd-backend": "bdd-backend";
|
|
5
|
+
"bdd-frontend": "bdd-frontend";
|
|
6
|
+
"bdd-tests": "bdd-tests";
|
|
3
7
|
"init-deep": "init-deep";
|
|
4
8
|
"matrix-loop": "matrix-loop";
|
|
5
9
|
"ulw-loop": "ulw-loop";
|
|
@@ -13,5 +17,7 @@ export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
|
13
17
|
research: "research";
|
|
14
18
|
assembly: "assembly";
|
|
15
19
|
ultrawork: "ultrawork";
|
|
20
|
+
"bdd-pipeline": "bdd-pipeline";
|
|
21
|
+
"dcp-profile": "dcp-profile";
|
|
16
22
|
}>;
|
|
17
23
|
export type BuiltinCommandName = z.infer<typeof BuiltinCommandNameSchema>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* DCP (Dynamic Context Pruning) configuration.
|
|
4
|
+
*
|
|
5
|
+
* Controls the optional `/dcp-profile` slash command for switching between
|
|
6
|
+
* predefined DCP profile tiers (economy/balanced/performance/ultimate).
|
|
7
|
+
*
|
|
8
|
+
* DCP must be installed as a plugin: `~/.config/opencode/node_modules/@tarquinen/opencode-dcp`
|
|
9
|
+
*/
|
|
10
|
+
export declare const DcpConfigSchema: z.ZodObject<{
|
|
11
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
switch_script: z.ZodOptional<z.ZodString>;
|
|
13
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
default_profile: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type DcpConfig = z.infer<typeof DcpConfigSchema>;
|
|
@@ -34,6 +34,7 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
34
34
|
"edit-error-recovery": "edit-error-recovery";
|
|
35
35
|
"delegate-task-retry": "delegate-task-retry";
|
|
36
36
|
"prometheus-md-only": "prometheus-md-only";
|
|
37
|
+
"plan-persister": "plan-persister";
|
|
37
38
|
"mouse-notepad": "mouse-notepad";
|
|
38
39
|
"unstable-agent-babysitter": "unstable-agent-babysitter";
|
|
39
40
|
"task-resume-info": "task-resume-info";
|
|
@@ -43,6 +44,7 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
43
44
|
"anthropic-effort": "anthropic-effort";
|
|
44
45
|
"hashline-read-enhancer": "hashline-read-enhancer";
|
|
45
46
|
"secret-leak-guard": "secret-leak-guard";
|
|
47
|
+
"env-context-injector": "env-context-injector";
|
|
46
48
|
"env-file-write-guard": "env-file-write-guard";
|
|
47
49
|
"json-error-recovery": "json-error-recovery";
|
|
48
50
|
"bash-file-read-guard": "bash-file-read-guard";
|
|
@@ -54,5 +56,6 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
54
56
|
"tool-pair-validator": "tool-pair-validator";
|
|
55
57
|
"task-notepad": "task-notepad";
|
|
56
58
|
"design-intent-preserver": "design-intent-preserver";
|
|
59
|
+
"rtk-bash-rewriter": "rtk-bash-rewriter";
|
|
57
60
|
}>;
|
|
58
61
|
export type HookName = z.infer<typeof HookNameSchema>;
|