opencode-matrixx 2.6.4 → 2.6.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/dist/cli/setup/index.d.ts +1 -0
- package/dist/cli/setup/preset-wizard.d.ts +36 -0
- package/dist/cli/setup/types.d.ts +5 -0
- package/dist/cli.js +486 -59
- package/dist/config/index.d.ts +0 -1
- package/dist/config/migrations/model-migration.d.ts +1 -2
- package/dist/config/preset-applier.d.ts +17 -0
- package/dist/config/schema/agent-overrides.d.ts +0 -133
- package/dist/config/schema/categories.d.ts +0 -14
- package/dist/config/schema/commands.d.ts +1 -1
- package/dist/config/schema/matrixx-config.d.ts +28 -144
- package/dist/config/schema/model-config.d.ts +0 -22
- package/dist/config/schema/model-presets.d.ts +40 -0
- package/dist/config/schema/task.d.ts +6 -0
- package/dist/config/schema/tasks.d.ts +25 -0
- package/dist/config/schema.d.ts +3 -0
- package/dist/features/builtin-commands/templates/preset.d.ts +1 -0
- package/dist/features/builtin-commands/types.d.ts +1 -1
- package/dist/features/preset-state/index.d.ts +1 -0
- package/dist/features/preset-state/manager.d.ts +5 -0
- package/dist/features/session-state/state.d.ts +6 -0
- package/dist/features/task-storage/types.d.ts +2 -0
- package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
- package/dist/hooks/task-continuation-enforcer/continuation-injection.test.d.ts +1 -0
- package/dist/hooks/task-continuation-enforcer/staleness.d.ts +7 -1
- package/dist/hooks/task-continuation-enforcer/todo.d.ts +8 -0
- package/dist/hooks/task-continuation-enforcer/todo.test.d.ts +1 -0
- package/dist/hooks/tasks-todowrite-disabler/constants.d.ts +1 -1
- package/dist/index.js +673 -598
- package/dist/matrixx.schema.json +113 -244
- package/dist/mcp/types.d.ts +1 -1
- package/dist/mcp/{grep-app.d.ts → white-rabbit.d.ts} +1 -1
- package/dist/shared/config-errors.d.ts +3 -0
- package/dist/shared/merge-categories.d.ts +1 -16
- package/dist/shared/task-system-gating.d.ts +10 -0
- package/dist/tools/delegate-task/categories.d.ts +3 -18
- package/dist/tools/delegate-task/complexity-constants.d.ts +2 -7
- package/dist/tools/delegate-task/executor-types.d.ts +7 -2
- package/dist/tools/delegate-task/timing.d.ts +5 -0
- package/dist/tools/delegate-task/types.d.ts +5 -2
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/preset/index.d.ts +1 -0
- package/dist/tools/preset/tools.d.ts +7 -0
- package/dist/tools/task/constants.d.ts +1 -0
- package/package.json +1 -1
- package/dist/config/presets.d.ts +0 -4
- package/dist/config/resolve-tiers.d.ts +0 -32
- package/dist/features/builtin-commands/templates/profile.d.ts +0 -1
- package/dist/shared/model-tiers.d.ts +0 -44
- package/dist/shared/tier-resolver.d.ts +0 -26
package/dist/config/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export { expandPreset, PRESET_NAMES, type PresetName } from "./presets";
|
|
2
1
|
export type { AgentDefinitions, AgentName, AgentOverrideConfig, AgentOverrides, BuiltinCommandName, EnvFileGuardConfig, ExperimentalConfig, HookName, MatrixLoopConfig, MatrixxConfig, McpName, MorpheusAgentConfig, MorpheusConfig, MorpheusTasksConfig, RuntimeFallbackConfig, SecretScanningConfig, SecurityConfig, TmuxConfig, TmuxLayout, } from "./schema";
|
|
3
2
|
export { AgentOverrideConfigSchema, AgentOverridesSchema, BuiltinCommandNameSchema, ExperimentalConfigSchema, HookNameSchema, MatrixLoopConfigSchema, MatrixxConfigSchema, McpNameSchema, MorpheusAgentConfigSchema, RuntimeFallbackConfigSchema, SecurityConfigSchema, TmuxConfigSchema, TmuxLayoutSchema, } from "./schema";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { MatrixxConfig } from "../schema/matrixx-config";
|
|
2
2
|
/**
|
|
3
3
|
* Normalize a single model string input.
|
|
4
|
-
* - tier:<name> → unchanged, no warning
|
|
5
4
|
* - contains "/" (prefixed provider/model) → emit deprecation warning, keep value
|
|
6
5
|
* - bare model → unchanged, no warning
|
|
7
6
|
*
|
|
@@ -10,7 +9,7 @@ import type { MatrixxConfig } from "../schema/matrixx-config";
|
|
|
10
9
|
export declare function normalizeModelInput(value: string): string;
|
|
11
10
|
/**
|
|
12
11
|
* In-memory migration for MatrixxConfig model fields.
|
|
13
|
-
* Iterates global_model,
|
|
12
|
+
* Iterates global_model, modelRequirements fallbackChain models,
|
|
14
13
|
* and complexityDowngrades values. Normalizes each via normalizeModelInput.
|
|
15
14
|
* Only mutates in memory — never rewrites the user's config file on disk.
|
|
16
15
|
* Idempotent via _migrations guard.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { MatrixxConfig } from "./schema/matrixx-config";
|
|
2
|
+
import type { ModelPreset, ModelPresetEntry } from "./schema/model-presets";
|
|
3
|
+
/**
|
|
4
|
+
* Resolve the model entry a preset assigns to a key (agent or category name).
|
|
5
|
+
* Priority: `preset.agents[key]` → `preset.categories[key]` → `preset.default_model`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function resolvePresetModel(preset: ModelPreset, key: string): ModelPresetEntry | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Apply the active preset to a config with fill-in semantics (pure).
|
|
10
|
+
*
|
|
11
|
+
* Precedence per agent/category entry: explicit `model` wins over the preset
|
|
12
|
+
* entry, which wins over `preset.default_model`. Only missing `model` (and
|
|
13
|
+
* `variant`) values are filled; the input config is never mutated — a new
|
|
14
|
+
* config object is returned. An unknown `active_preset` is logged and the
|
|
15
|
+
* config is returned unchanged.
|
|
16
|
+
*/
|
|
17
|
+
export declare function applyActivePreset(config: MatrixxConfig, presetName?: string): MatrixxConfig;
|
|
@@ -1,20 +1,6 @@
|
|
|
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
|
-
}>;
|
|
9
2
|
export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
10
3
|
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
|
-
}>>;
|
|
18
4
|
variant: z.ZodOptional<z.ZodString>;
|
|
19
5
|
category: z.ZodOptional<z.ZodString>;
|
|
20
6
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -96,13 +82,6 @@ export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
|
96
82
|
export declare const AgentOverridesSchema: z.ZodObject<{
|
|
97
83
|
build: z.ZodOptional<z.ZodObject<{
|
|
98
84
|
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
|
-
}>>;
|
|
106
85
|
variant: z.ZodOptional<z.ZodString>;
|
|
107
86
|
category: z.ZodOptional<z.ZodString>;
|
|
108
87
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -183,13 +162,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
183
162
|
}, z.core.$strip>>;
|
|
184
163
|
plan: z.ZodOptional<z.ZodObject<{
|
|
185
164
|
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
|
-
}>>;
|
|
193
165
|
variant: z.ZodOptional<z.ZodString>;
|
|
194
166
|
category: z.ZodOptional<z.ZodString>;
|
|
195
167
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -270,13 +242,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
270
242
|
}, z.core.$strip>>;
|
|
271
243
|
morpheus: z.ZodOptional<z.ZodObject<{
|
|
272
244
|
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
|
-
}>>;
|
|
280
245
|
variant: z.ZodOptional<z.ZodString>;
|
|
281
246
|
category: z.ZodOptional<z.ZodString>;
|
|
282
247
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -357,13 +322,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
357
322
|
}, z.core.$strip>>;
|
|
358
323
|
keymaker: z.ZodOptional<z.ZodObject<{
|
|
359
324
|
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
|
-
}>>;
|
|
367
325
|
variant: z.ZodOptional<z.ZodString>;
|
|
368
326
|
category: z.ZodOptional<z.ZodString>;
|
|
369
327
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -444,13 +402,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
444
402
|
}, z.core.$strip>>;
|
|
445
403
|
mouse: z.ZodOptional<z.ZodObject<{
|
|
446
404
|
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
|
-
}>>;
|
|
454
405
|
variant: z.ZodOptional<z.ZodString>;
|
|
455
406
|
category: z.ZodOptional<z.ZodString>;
|
|
456
407
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -531,13 +482,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
531
482
|
}, z.core.$strip>>;
|
|
532
483
|
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
533
484
|
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
|
-
}>>;
|
|
541
485
|
variant: z.ZodOptional<z.ZodString>;
|
|
542
486
|
category: z.ZodOptional<z.ZodString>;
|
|
543
487
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -618,13 +562,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
618
562
|
}, z.core.$strip>>;
|
|
619
563
|
oracle: z.ZodOptional<z.ZodObject<{
|
|
620
564
|
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
|
-
}>>;
|
|
628
565
|
variant: z.ZodOptional<z.ZodString>;
|
|
629
566
|
category: z.ZodOptional<z.ZodString>;
|
|
630
567
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -705,13 +642,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
705
642
|
}, z.core.$strip>>;
|
|
706
643
|
seraph: z.ZodOptional<z.ZodObject<{
|
|
707
644
|
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
|
-
}>>;
|
|
715
645
|
variant: z.ZodOptional<z.ZodString>;
|
|
716
646
|
category: z.ZodOptional<z.ZodString>;
|
|
717
647
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -792,13 +722,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
792
722
|
}, z.core.$strip>>;
|
|
793
723
|
smith: z.ZodOptional<z.ZodObject<{
|
|
794
724
|
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
|
-
}>>;
|
|
802
725
|
variant: z.ZodOptional<z.ZodString>;
|
|
803
726
|
category: z.ZodOptional<z.ZodString>;
|
|
804
727
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -879,13 +802,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
879
802
|
}, z.core.$strip>>;
|
|
880
803
|
merovingian: z.ZodOptional<z.ZodObject<{
|
|
881
804
|
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
|
-
}>>;
|
|
889
805
|
variant: z.ZodOptional<z.ZodString>;
|
|
890
806
|
category: z.ZodOptional<z.ZodString>;
|
|
891
807
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -966,13 +882,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
966
882
|
}, z.core.$strip>>;
|
|
967
883
|
operator: z.ZodOptional<z.ZodObject<{
|
|
968
884
|
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
|
-
}>>;
|
|
976
885
|
variant: z.ZodOptional<z.ZodString>;
|
|
977
886
|
category: z.ZodOptional<z.ZodString>;
|
|
978
887
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1053,13 +962,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1053
962
|
}, z.core.$strip>>;
|
|
1054
963
|
trinity: z.ZodOptional<z.ZodObject<{
|
|
1055
964
|
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
|
-
}>>;
|
|
1063
965
|
variant: z.ZodOptional<z.ZodString>;
|
|
1064
966
|
category: z.ZodOptional<z.ZodString>;
|
|
1065
967
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1140,13 +1042,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1140
1042
|
}, z.core.$strip>>;
|
|
1141
1043
|
construct: z.ZodOptional<z.ZodObject<{
|
|
1142
1044
|
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
|
-
}>>;
|
|
1150
1045
|
variant: z.ZodOptional<z.ZodString>;
|
|
1151
1046
|
category: z.ZodOptional<z.ZodString>;
|
|
1152
1047
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1227,13 +1122,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1227
1122
|
}, z.core.$strip>>;
|
|
1228
1123
|
architect: z.ZodOptional<z.ZodObject<{
|
|
1229
1124
|
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
|
-
}>>;
|
|
1237
1125
|
variant: z.ZodOptional<z.ZodString>;
|
|
1238
1126
|
category: z.ZodOptional<z.ZodString>;
|
|
1239
1127
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1314,13 +1202,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1314
1202
|
}, z.core.$strip>>;
|
|
1315
1203
|
cipher: z.ZodOptional<z.ZodObject<{
|
|
1316
1204
|
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
|
-
}>>;
|
|
1324
1205
|
variant: z.ZodOptional<z.ZodString>;
|
|
1325
1206
|
category: z.ZodOptional<z.ZodString>;
|
|
1326
1207
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1401,13 +1282,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1401
1282
|
}, z.core.$strip>>;
|
|
1402
1283
|
sentinel: z.ZodOptional<z.ZodObject<{
|
|
1403
1284
|
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
|
-
}>>;
|
|
1411
1285
|
variant: z.ZodOptional<z.ZodString>;
|
|
1412
1286
|
category: z.ZodOptional<z.ZodString>;
|
|
1413
1287
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1488,13 +1362,6 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1488
1362
|
}, z.core.$strip>>;
|
|
1489
1363
|
sati: z.ZodOptional<z.ZodObject<{
|
|
1490
1364
|
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
|
-
}>>;
|
|
1498
1365
|
variant: z.ZodOptional<z.ZodString>;
|
|
1499
1366
|
category: z.ZodOptional<z.ZodString>;
|
|
1500
1367
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2,13 +2,6 @@ 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
|
-
}>>;
|
|
12
5
|
variant: z.ZodOptional<z.ZodString>;
|
|
13
6
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
14
7
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -51,13 +44,6 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
|
51
44
|
export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
52
45
|
description: z.ZodOptional<z.ZodString>;
|
|
53
46
|
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
|
-
}>>;
|
|
61
47
|
variant: z.ZodOptional<z.ZodString>;
|
|
62
48
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
63
49
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11,7 +11,7 @@ export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
|
11
11
|
refactor: "refactor";
|
|
12
12
|
"start-work": "start-work";
|
|
13
13
|
"stop-continuation": "stop-continuation";
|
|
14
|
-
|
|
14
|
+
preset: "preset";
|
|
15
15
|
"end-ultrawork": "end-ultrawork";
|
|
16
16
|
handoff: "handoff";
|
|
17
17
|
research: "research";
|
|
@@ -2,13 +2,18 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
3
3
|
$schema: z.ZodOptional<z.ZodString>;
|
|
4
4
|
global_model: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
model_presets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6
|
+
default_model: z.ZodOptional<z.ZodString>;
|
|
7
|
+
agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8
|
+
model: z.ZodString;
|
|
9
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12
|
+
model: z.ZodString;
|
|
13
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>>;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
active_preset: z.ZodOptional<z.ZodString>;
|
|
12
17
|
new_task_system_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13
18
|
default_run_agent: z.ZodOptional<z.ZodString>;
|
|
14
19
|
disabled_mcps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -142,7 +147,7 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
142
147
|
refactor: "refactor";
|
|
143
148
|
"start-work": "start-work";
|
|
144
149
|
"stop-continuation": "stop-continuation";
|
|
145
|
-
|
|
150
|
+
preset: "preset";
|
|
146
151
|
"end-ultrawork": "end-ultrawork";
|
|
147
152
|
handoff: "handoff";
|
|
148
153
|
research: "research";
|
|
@@ -155,13 +160,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
155
160
|
agents: z.ZodOptional<z.ZodObject<{
|
|
156
161
|
build: z.ZodOptional<z.ZodObject<{
|
|
157
162
|
model: z.ZodOptional<z.ZodString>;
|
|
158
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
159
|
-
free: "free";
|
|
160
|
-
fast: "fast";
|
|
161
|
-
standard: "standard";
|
|
162
|
-
premium: "premium";
|
|
163
|
-
frontier: "frontier";
|
|
164
|
-
}>>;
|
|
165
163
|
variant: z.ZodOptional<z.ZodString>;
|
|
166
164
|
category: z.ZodOptional<z.ZodString>;
|
|
167
165
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -242,13 +240,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
242
240
|
}, z.core.$strip>>;
|
|
243
241
|
plan: z.ZodOptional<z.ZodObject<{
|
|
244
242
|
model: z.ZodOptional<z.ZodString>;
|
|
245
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
246
|
-
free: "free";
|
|
247
|
-
fast: "fast";
|
|
248
|
-
standard: "standard";
|
|
249
|
-
premium: "premium";
|
|
250
|
-
frontier: "frontier";
|
|
251
|
-
}>>;
|
|
252
243
|
variant: z.ZodOptional<z.ZodString>;
|
|
253
244
|
category: z.ZodOptional<z.ZodString>;
|
|
254
245
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -329,13 +320,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
329
320
|
}, z.core.$strip>>;
|
|
330
321
|
morpheus: z.ZodOptional<z.ZodObject<{
|
|
331
322
|
model: z.ZodOptional<z.ZodString>;
|
|
332
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
333
|
-
free: "free";
|
|
334
|
-
fast: "fast";
|
|
335
|
-
standard: "standard";
|
|
336
|
-
premium: "premium";
|
|
337
|
-
frontier: "frontier";
|
|
338
|
-
}>>;
|
|
339
323
|
variant: z.ZodOptional<z.ZodString>;
|
|
340
324
|
category: z.ZodOptional<z.ZodString>;
|
|
341
325
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -416,13 +400,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
416
400
|
}, z.core.$strip>>;
|
|
417
401
|
keymaker: z.ZodOptional<z.ZodObject<{
|
|
418
402
|
model: z.ZodOptional<z.ZodString>;
|
|
419
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
420
|
-
free: "free";
|
|
421
|
-
fast: "fast";
|
|
422
|
-
standard: "standard";
|
|
423
|
-
premium: "premium";
|
|
424
|
-
frontier: "frontier";
|
|
425
|
-
}>>;
|
|
426
403
|
variant: z.ZodOptional<z.ZodString>;
|
|
427
404
|
category: z.ZodOptional<z.ZodString>;
|
|
428
405
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -503,13 +480,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
503
480
|
}, z.core.$strip>>;
|
|
504
481
|
mouse: z.ZodOptional<z.ZodObject<{
|
|
505
482
|
model: z.ZodOptional<z.ZodString>;
|
|
506
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
507
|
-
free: "free";
|
|
508
|
-
fast: "fast";
|
|
509
|
-
standard: "standard";
|
|
510
|
-
premium: "premium";
|
|
511
|
-
frontier: "frontier";
|
|
512
|
-
}>>;
|
|
513
483
|
variant: z.ZodOptional<z.ZodString>;
|
|
514
484
|
category: z.ZodOptional<z.ZodString>;
|
|
515
485
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -590,13 +560,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
590
560
|
}, z.core.$strip>>;
|
|
591
561
|
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
592
562
|
model: z.ZodOptional<z.ZodString>;
|
|
593
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
594
|
-
free: "free";
|
|
595
|
-
fast: "fast";
|
|
596
|
-
standard: "standard";
|
|
597
|
-
premium: "premium";
|
|
598
|
-
frontier: "frontier";
|
|
599
|
-
}>>;
|
|
600
563
|
variant: z.ZodOptional<z.ZodString>;
|
|
601
564
|
category: z.ZodOptional<z.ZodString>;
|
|
602
565
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -677,13 +640,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
677
640
|
}, z.core.$strip>>;
|
|
678
641
|
oracle: z.ZodOptional<z.ZodObject<{
|
|
679
642
|
model: z.ZodOptional<z.ZodString>;
|
|
680
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
681
|
-
free: "free";
|
|
682
|
-
fast: "fast";
|
|
683
|
-
standard: "standard";
|
|
684
|
-
premium: "premium";
|
|
685
|
-
frontier: "frontier";
|
|
686
|
-
}>>;
|
|
687
643
|
variant: z.ZodOptional<z.ZodString>;
|
|
688
644
|
category: z.ZodOptional<z.ZodString>;
|
|
689
645
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -764,13 +720,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
764
720
|
}, z.core.$strip>>;
|
|
765
721
|
seraph: z.ZodOptional<z.ZodObject<{
|
|
766
722
|
model: z.ZodOptional<z.ZodString>;
|
|
767
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
768
|
-
free: "free";
|
|
769
|
-
fast: "fast";
|
|
770
|
-
standard: "standard";
|
|
771
|
-
premium: "premium";
|
|
772
|
-
frontier: "frontier";
|
|
773
|
-
}>>;
|
|
774
723
|
variant: z.ZodOptional<z.ZodString>;
|
|
775
724
|
category: z.ZodOptional<z.ZodString>;
|
|
776
725
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -851,13 +800,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
851
800
|
}, z.core.$strip>>;
|
|
852
801
|
smith: z.ZodOptional<z.ZodObject<{
|
|
853
802
|
model: z.ZodOptional<z.ZodString>;
|
|
854
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
855
|
-
free: "free";
|
|
856
|
-
fast: "fast";
|
|
857
|
-
standard: "standard";
|
|
858
|
-
premium: "premium";
|
|
859
|
-
frontier: "frontier";
|
|
860
|
-
}>>;
|
|
861
803
|
variant: z.ZodOptional<z.ZodString>;
|
|
862
804
|
category: z.ZodOptional<z.ZodString>;
|
|
863
805
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -938,13 +880,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
938
880
|
}, z.core.$strip>>;
|
|
939
881
|
merovingian: z.ZodOptional<z.ZodObject<{
|
|
940
882
|
model: z.ZodOptional<z.ZodString>;
|
|
941
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
942
|
-
free: "free";
|
|
943
|
-
fast: "fast";
|
|
944
|
-
standard: "standard";
|
|
945
|
-
premium: "premium";
|
|
946
|
-
frontier: "frontier";
|
|
947
|
-
}>>;
|
|
948
883
|
variant: z.ZodOptional<z.ZodString>;
|
|
949
884
|
category: z.ZodOptional<z.ZodString>;
|
|
950
885
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1025,13 +960,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1025
960
|
}, z.core.$strip>>;
|
|
1026
961
|
operator: z.ZodOptional<z.ZodObject<{
|
|
1027
962
|
model: z.ZodOptional<z.ZodString>;
|
|
1028
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1029
|
-
free: "free";
|
|
1030
|
-
fast: "fast";
|
|
1031
|
-
standard: "standard";
|
|
1032
|
-
premium: "premium";
|
|
1033
|
-
frontier: "frontier";
|
|
1034
|
-
}>>;
|
|
1035
963
|
variant: z.ZodOptional<z.ZodString>;
|
|
1036
964
|
category: z.ZodOptional<z.ZodString>;
|
|
1037
965
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1112,13 +1040,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1112
1040
|
}, z.core.$strip>>;
|
|
1113
1041
|
trinity: z.ZodOptional<z.ZodObject<{
|
|
1114
1042
|
model: z.ZodOptional<z.ZodString>;
|
|
1115
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1116
|
-
free: "free";
|
|
1117
|
-
fast: "fast";
|
|
1118
|
-
standard: "standard";
|
|
1119
|
-
premium: "premium";
|
|
1120
|
-
frontier: "frontier";
|
|
1121
|
-
}>>;
|
|
1122
1043
|
variant: z.ZodOptional<z.ZodString>;
|
|
1123
1044
|
category: z.ZodOptional<z.ZodString>;
|
|
1124
1045
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1199,13 +1120,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1199
1120
|
}, z.core.$strip>>;
|
|
1200
1121
|
construct: z.ZodOptional<z.ZodObject<{
|
|
1201
1122
|
model: z.ZodOptional<z.ZodString>;
|
|
1202
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1203
|
-
free: "free";
|
|
1204
|
-
fast: "fast";
|
|
1205
|
-
standard: "standard";
|
|
1206
|
-
premium: "premium";
|
|
1207
|
-
frontier: "frontier";
|
|
1208
|
-
}>>;
|
|
1209
1123
|
variant: z.ZodOptional<z.ZodString>;
|
|
1210
1124
|
category: z.ZodOptional<z.ZodString>;
|
|
1211
1125
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1286,13 +1200,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1286
1200
|
}, z.core.$strip>>;
|
|
1287
1201
|
architect: z.ZodOptional<z.ZodObject<{
|
|
1288
1202
|
model: z.ZodOptional<z.ZodString>;
|
|
1289
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1290
|
-
free: "free";
|
|
1291
|
-
fast: "fast";
|
|
1292
|
-
standard: "standard";
|
|
1293
|
-
premium: "premium";
|
|
1294
|
-
frontier: "frontier";
|
|
1295
|
-
}>>;
|
|
1296
1203
|
variant: z.ZodOptional<z.ZodString>;
|
|
1297
1204
|
category: z.ZodOptional<z.ZodString>;
|
|
1298
1205
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1373,13 +1280,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1373
1280
|
}, z.core.$strip>>;
|
|
1374
1281
|
cipher: z.ZodOptional<z.ZodObject<{
|
|
1375
1282
|
model: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1377
|
-
free: "free";
|
|
1378
|
-
fast: "fast";
|
|
1379
|
-
standard: "standard";
|
|
1380
|
-
premium: "premium";
|
|
1381
|
-
frontier: "frontier";
|
|
1382
|
-
}>>;
|
|
1383
1283
|
variant: z.ZodOptional<z.ZodString>;
|
|
1384
1284
|
category: z.ZodOptional<z.ZodString>;
|
|
1385
1285
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1460,13 +1360,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1460
1360
|
}, z.core.$strip>>;
|
|
1461
1361
|
sentinel: z.ZodOptional<z.ZodObject<{
|
|
1462
1362
|
model: z.ZodOptional<z.ZodString>;
|
|
1463
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1464
|
-
free: "free";
|
|
1465
|
-
fast: "fast";
|
|
1466
|
-
standard: "standard";
|
|
1467
|
-
premium: "premium";
|
|
1468
|
-
frontier: "frontier";
|
|
1469
|
-
}>>;
|
|
1470
1363
|
variant: z.ZodOptional<z.ZodString>;
|
|
1471
1364
|
category: z.ZodOptional<z.ZodString>;
|
|
1472
1365
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1547,13 +1440,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1547
1440
|
}, z.core.$strip>>;
|
|
1548
1441
|
sati: z.ZodOptional<z.ZodObject<{
|
|
1549
1442
|
model: z.ZodOptional<z.ZodString>;
|
|
1550
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1551
|
-
free: "free";
|
|
1552
|
-
fast: "fast";
|
|
1553
|
-
standard: "standard";
|
|
1554
|
-
premium: "premium";
|
|
1555
|
-
frontier: "frontier";
|
|
1556
|
-
}>>;
|
|
1557
1443
|
variant: z.ZodOptional<z.ZodString>;
|
|
1558
1444
|
category: z.ZodOptional<z.ZodString>;
|
|
1559
1445
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1636,13 +1522,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1636
1522
|
categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1637
1523
|
description: z.ZodOptional<z.ZodString>;
|
|
1638
1524
|
model: z.ZodOptional<z.ZodString>;
|
|
1639
|
-
tier: z.ZodOptional<z.ZodEnum<{
|
|
1640
|
-
free: "free";
|
|
1641
|
-
fast: "fast";
|
|
1642
|
-
standard: "standard";
|
|
1643
|
-
premium: "premium";
|
|
1644
|
-
frontier: "frontier";
|
|
1645
|
-
}>>;
|
|
1646
1525
|
variant: z.ZodOptional<z.ZodString>;
|
|
1647
1526
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1648
1527
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1828,6 +1707,21 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1828
1707
|
babysitting: z.ZodOptional<z.ZodObject<{
|
|
1829
1708
|
timeout_ms: z.ZodDefault<z.ZodNumber>;
|
|
1830
1709
|
}, z.core.$strip>>;
|
|
1710
|
+
tasks: z.ZodOptional<z.ZodObject<{
|
|
1711
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1712
|
+
scope: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1713
|
+
project: "project";
|
|
1714
|
+
global: "global";
|
|
1715
|
+
}>>>;
|
|
1716
|
+
storage_path: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
task_list_id: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
stale_after_hours: z.ZodOptional<z.ZodNumber>;
|
|
1719
|
+
session_scoped: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1720
|
+
pollTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1721
|
+
}, z.core.$strip>>;
|
|
1722
|
+
task: z.ZodOptional<z.ZodObject<{
|
|
1723
|
+
pollTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1724
|
+
}, z.core.$strip>>;
|
|
1831
1725
|
tdd_enforcer: z.ZodOptional<z.ZodObject<{
|
|
1832
1726
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1833
1727
|
}, z.core.$strip>>;
|
|
@@ -1992,16 +1886,6 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
|
|
|
1992
1886
|
}, z.core.$strip>>;
|
|
1993
1887
|
}, z.core.$strip>>;
|
|
1994
1888
|
_migrations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1995
|
-
tiers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1996
|
-
providerPriority: z.ZodArray<z.ZodString>;
|
|
1997
|
-
modelPattern: z.ZodString;
|
|
1998
|
-
fallbackTier: z.ZodOptional<z.ZodString>;
|
|
1999
|
-
fallback: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2000
|
-
providers: z.ZodArray<z.ZodString>;
|
|
2001
|
-
model: z.ZodString;
|
|
2002
|
-
variant: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
}, z.core.$strip>>>;
|
|
2004
|
-
}, z.core.$strip>>>;
|
|
2005
1889
|
modelRequirements: z.ZodOptional<z.ZodObject<{
|
|
2006
1890
|
agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2007
1891
|
fallbackChain: z.ZodArray<z.ZodObject<{
|