opencode-matrixx 2.6.3 → 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.
Files changed (112) hide show
  1. package/dist/agents/dynamic-agent-prompt-builder.d.ts +5 -3
  2. package/dist/agents/mouse/agent.d.ts +1 -1
  3. package/dist/agents/oracle/behavioral-summary.d.ts +1 -1
  4. package/dist/agents/oracle/identity-constraints.d.ts +1 -1
  5. package/dist/agents/oracle/plan-generation.d.ts +1 -1
  6. package/dist/agents/oracle/plan-template.d.ts +1 -1
  7. package/dist/agents/oracle/system-prompt.d.ts +4 -3
  8. package/dist/agents/smith.d.ts +1 -1
  9. package/dist/agents/types.d.ts +1 -1
  10. package/dist/cli/setup/index.d.ts +1 -0
  11. package/dist/cli/setup/preset-wizard.d.ts +36 -0
  12. package/dist/cli/setup/types.d.ts +5 -0
  13. package/dist/cli.js +581 -49
  14. package/dist/config/index.d.ts +0 -1
  15. package/dist/config/migrations/index.d.ts +1 -0
  16. package/dist/config/migrations/model-migration.d.ts +17 -0
  17. package/dist/config/preset-applier.d.ts +17 -0
  18. package/dist/config/schema/agent-overrides.d.ts +0 -133
  19. package/dist/config/schema/categories.d.ts +0 -14
  20. package/dist/config/schema/commands.d.ts +1 -1
  21. package/dist/config/schema/failure-counter.d.ts +7 -0
  22. package/dist/config/schema/hooks.d.ts +1 -0
  23. package/dist/config/schema/matrixx-config.d.ts +61 -134
  24. package/dist/config/schema/model-config.d.ts +59 -0
  25. package/dist/config/schema/model-presets.d.ts +40 -0
  26. package/dist/config/schema/morpheus.d.ts +4 -0
  27. package/dist/config/schema/task.d.ts +6 -0
  28. package/dist/config/schema/tasks.d.ts +25 -0
  29. package/dist/config/schema.d.ts +5 -0
  30. package/dist/create-hooks.d.ts +1 -0
  31. package/dist/features/background-agent/manager.d.ts +8 -0
  32. package/dist/features/builtin-commands/templates/preset.d.ts +1 -0
  33. package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
  34. package/dist/features/builtin-commands/types.d.ts +1 -1
  35. package/dist/features/mission-state/plan-storage.d.ts +1 -0
  36. package/dist/features/mission-state/plan-storage.test.d.ts +1 -0
  37. package/dist/features/preset-state/index.d.ts +1 -0
  38. package/dist/features/preset-state/manager.d.ts +5 -0
  39. package/dist/features/session-state/state.d.ts +32 -0
  40. package/dist/features/session-state/state.test.d.ts +1 -0
  41. package/dist/features/task-storage/types.d.ts +3 -0
  42. package/dist/hooks/context-mode-enforcer/constants.d.ts +1 -1
  43. package/dist/hooks/failure-counter/counter.d.ts +7 -0
  44. package/dist/hooks/failure-counter/counter.test.d.ts +1 -0
  45. package/dist/hooks/failure-counter/hook.d.ts +18 -0
  46. package/dist/hooks/failure-counter/index.d.ts +3 -0
  47. package/dist/hooks/failure-counter/patterns.d.ts +6 -0
  48. package/dist/hooks/failure-counter/patterns.test.d.ts +1 -0
  49. package/dist/hooks/index.d.ts +1 -0
  50. package/dist/hooks/interactive-bash-session/hook.test.d.ts +1 -0
  51. package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
  52. package/dist/hooks/keyword-detector/analyze/default.d.ts +1 -1
  53. package/dist/hooks/keyword-detector/search/default.d.ts +1 -1
  54. package/dist/hooks/keyword-detector/ultrawork/deepseek.d.ts +1 -1
  55. package/dist/hooks/keyword-detector/ultrawork/default.d.ts +1 -1
  56. package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +1 -1
  57. package/dist/hooks/keyword-detector/ultrawork/glm.d.ts +1 -1
  58. package/dist/hooks/keyword-detector/ultrawork/mimo.d.ts +1 -1
  59. package/dist/hooks/stop-continuation-guard/hook.d.ts +3 -2
  60. package/dist/hooks/stop-continuation-guard/repro.test.d.ts +1 -0
  61. package/dist/hooks/task-continuation-enforcer/awaiting-user.test.d.ts +1 -0
  62. package/dist/hooks/task-continuation-enforcer/continuation-injection.d.ts +2 -0
  63. package/dist/hooks/task-continuation-enforcer/continuation-injection.test.d.ts +1 -0
  64. package/dist/hooks/task-continuation-enforcer/countdown.d.ts +2 -0
  65. package/dist/hooks/task-continuation-enforcer/handler.d.ts +2 -0
  66. package/dist/hooks/task-continuation-enforcer/idle-event.d.ts +2 -0
  67. package/dist/hooks/task-continuation-enforcer/staleness.d.ts +22 -0
  68. package/dist/hooks/task-continuation-enforcer/staleness.test.d.ts +1 -0
  69. package/dist/hooks/task-continuation-enforcer/todo.d.ts +23 -0
  70. package/dist/hooks/task-continuation-enforcer/todo.test.d.ts +1 -0
  71. package/dist/hooks/task-continuation-enforcer/types.d.ts +6 -0
  72. package/dist/hooks/task-edit-guard/constants.d.ts +2 -0
  73. package/dist/hooks/tasks-todowrite-disabler/constants.d.ts +1 -1
  74. package/dist/hooks/todo-continuation-enforcer/awaiting-user.test.d.ts +1 -0
  75. package/dist/hooks/todo-continuation-enforcer/types.d.ts +3 -0
  76. package/dist/index.js +30326 -29061
  77. package/dist/matrixx.schema.json +286 -190
  78. package/dist/mcp/types.d.ts +1 -1
  79. package/dist/mcp/{grep-app.d.ts → white-rabbit.d.ts} +1 -1
  80. package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
  81. package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
  82. package/dist/plugin-handlers/oracle-agent-config-builder.d.ts +2 -1
  83. package/dist/shared/awaiting-user.d.ts +12 -0
  84. package/dist/shared/config-errors.d.ts +3 -0
  85. package/dist/shared/merge-categories.d.ts +0 -4
  86. package/dist/shared/model-requirements.d.ts +9 -0
  87. package/dist/shared/task-system-gating.d.ts +10 -0
  88. package/dist/tools/delegate-task/categories.d.ts +4 -8
  89. package/dist/tools/delegate-task/complexity-constants.d.ts +10 -11
  90. package/dist/tools/delegate-task/executor-types.d.ts +9 -1
  91. package/dist/tools/delegate-task/index.d.ts +1 -1
  92. package/dist/tools/delegate-task/timing.d.ts +5 -0
  93. package/dist/tools/delegate-task/types.d.ts +7 -1
  94. package/dist/tools/index.d.ts +6 -0
  95. package/dist/tools/plan/constants.d.ts +10 -0
  96. package/dist/tools/plan/index.d.ts +6 -0
  97. package/dist/tools/plan/plan-create.d.ts +3 -0
  98. package/dist/tools/plan/plan-delete.d.ts +3 -0
  99. package/dist/tools/plan/plan-list.d.ts +3 -0
  100. package/dist/tools/plan/plan-read.d.ts +3 -0
  101. package/dist/tools/plan/plan-update.d.ts +3 -0
  102. package/dist/tools/plan/types.d.ts +28 -0
  103. package/dist/tools/preset/index.d.ts +1 -0
  104. package/dist/tools/preset/tools.d.ts +7 -0
  105. package/dist/tools/task/constants.d.ts +6 -0
  106. package/dist/tools/task/types.d.ts +2 -0
  107. package/package.json +1 -1
  108. package/dist/config/presets.d.ts +0 -4
  109. package/dist/config/resolve-tiers.d.ts +0 -32
  110. package/dist/features/builtin-commands/templates/profile.d.ts +0 -1
  111. package/dist/shared/model-tiers.d.ts +0 -31
  112. package/dist/shared/tier-resolver.d.ts +0 -26
@@ -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";
@@ -0,0 +1 @@
1
+ export { migrateMatrixxConfig, normalizeModelInput } from "./model-migration";
@@ -0,0 +1,17 @@
1
+ import type { MatrixxConfig } from "../schema/matrixx-config";
2
+ /**
3
+ * Normalize a single model string input.
4
+ * - contains "/" (prefixed provider/model) → emit deprecation warning, keep value
5
+ * - bare model → unchanged, no warning
6
+ *
7
+ * Provider names are opaque strings — no hardcoded allow-list.
8
+ */
9
+ export declare function normalizeModelInput(value: string): string;
10
+ /**
11
+ * In-memory migration for MatrixxConfig model fields.
12
+ * Iterates global_model, modelRequirements fallbackChain models,
13
+ * and complexityDowngrades values. Normalizes each via normalizeModelInput.
14
+ * Only mutates in memory — never rewrites the user's config file on disk.
15
+ * Idempotent via _migrations guard.
16
+ */
17
+ export declare function migrateMatrixxConfig(raw: MatrixxConfig): MatrixxConfig;
@@ -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
- profile: "profile";
14
+ preset: "preset";
15
15
  "end-ultrawork": "end-ultrawork";
16
16
  handoff: "handoff";
17
17
  research: "research";
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ export declare const FailureCounterConfigSchema: z.ZodObject<{
3
+ enabled: z.ZodDefault<z.ZodBoolean>;
4
+ threshold: z.ZodDefault<z.ZodNumber>;
5
+ resetOnSuccess: z.ZodDefault<z.ZodBoolean>;
6
+ }, z.core.$strip>;
7
+ export type FailureCounterConfig = z.infer<typeof FailureCounterConfigSchema>;
@@ -60,5 +60,6 @@ export declare const HookNameSchema: z.ZodUnion<readonly [z.ZodEnum<{
60
60
  "evolution-hitl": "evolution-hitl";
61
61
  "context-mode-enforcer": "context-mode-enforcer";
62
62
  "task-edit-guard": "task-edit-guard";
63
+ "failure-counter": "failure-counter";
63
64
  }>, z.ZodPipe<z.ZodLiteral<"anthropic-context-window-limit-recovery">, z.ZodTransform<"context-window-limit-recovery", "anthropic-context-window-limit-recovery">>]>;
64
65
  export type HookName = z.infer<typeof HookNameSchema>;