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
@@ -11,15 +11,66 @@
11
11
  "global_model": {
12
12
  "type": "string"
13
13
  },
14
- "default_tier": {
14
+ "model_presets": {
15
+ "type": "object",
16
+ "propertyNames": {
17
+ "type": "string"
18
+ },
19
+ "additionalProperties": {
20
+ "type": "object",
21
+ "properties": {
22
+ "default_model": {
23
+ "type": "string"
24
+ },
25
+ "agents": {
26
+ "type": "object",
27
+ "propertyNames": {
28
+ "type": "string"
29
+ },
30
+ "additionalProperties": {
31
+ "type": "object",
32
+ "properties": {
33
+ "model": {
34
+ "type": "string"
35
+ },
36
+ "variant": {
37
+ "type": "string"
38
+ }
39
+ },
40
+ "required": [
41
+ "model"
42
+ ],
43
+ "additionalProperties": false
44
+ }
45
+ },
46
+ "categories": {
47
+ "type": "object",
48
+ "propertyNames": {
49
+ "type": "string"
50
+ },
51
+ "additionalProperties": {
52
+ "type": "object",
53
+ "properties": {
54
+ "model": {
55
+ "type": "string"
56
+ },
57
+ "variant": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ "required": [
62
+ "model"
63
+ ],
64
+ "additionalProperties": false
65
+ }
66
+ }
67
+ },
68
+ "additionalProperties": false
69
+ }
70
+ },
71
+ "active_preset": {
15
72
  "type": "string",
16
- "enum": [
17
- "free",
18
- "fast",
19
- "standard",
20
- "premium",
21
- "frontier"
22
- ]
73
+ "minLength": 1
23
74
  },
24
75
  "new_task_system_enabled": {
25
76
  "type": "boolean"
@@ -167,7 +218,8 @@
167
218
  "evolution-compressor",
168
219
  "evolution-hitl",
169
220
  "context-mode-enforcer",
170
- "task-edit-guard"
221
+ "task-edit-guard",
222
+ "failure-counter"
171
223
  ]
172
224
  },
173
225
  {}
@@ -186,7 +238,7 @@
186
238
  "refactor",
187
239
  "start-work",
188
240
  "stop-continuation",
189
- "profile",
241
+ "preset",
190
242
  "end-ultrawork",
191
243
  "handoff",
192
244
  "research",
@@ -216,16 +268,6 @@
216
268
  "model": {
217
269
  "type": "string"
218
270
  },
219
- "tier": {
220
- "type": "string",
221
- "enum": [
222
- "free",
223
- "fast",
224
- "standard",
225
- "premium",
226
- "frontier"
227
- ]
228
- },
229
271
  "variant": {
230
272
  "type": "string"
231
273
  },
@@ -433,16 +475,6 @@
433
475
  "model": {
434
476
  "type": "string"
435
477
  },
436
- "tier": {
437
- "type": "string",
438
- "enum": [
439
- "free",
440
- "fast",
441
- "standard",
442
- "premium",
443
- "frontier"
444
- ]
445
- },
446
478
  "variant": {
447
479
  "type": "string"
448
480
  },
@@ -650,16 +682,6 @@
650
682
  "model": {
651
683
  "type": "string"
652
684
  },
653
- "tier": {
654
- "type": "string",
655
- "enum": [
656
- "free",
657
- "fast",
658
- "standard",
659
- "premium",
660
- "frontier"
661
- ]
662
- },
663
685
  "variant": {
664
686
  "type": "string"
665
687
  },
@@ -867,16 +889,6 @@
867
889
  "model": {
868
890
  "type": "string"
869
891
  },
870
- "tier": {
871
- "type": "string",
872
- "enum": [
873
- "free",
874
- "fast",
875
- "standard",
876
- "premium",
877
- "frontier"
878
- ]
879
- },
880
892
  "variant": {
881
893
  "type": "string"
882
894
  },
@@ -1084,16 +1096,6 @@
1084
1096
  "model": {
1085
1097
  "type": "string"
1086
1098
  },
1087
- "tier": {
1088
- "type": "string",
1089
- "enum": [
1090
- "free",
1091
- "fast",
1092
- "standard",
1093
- "premium",
1094
- "frontier"
1095
- ]
1096
- },
1097
1099
  "variant": {
1098
1100
  "type": "string"
1099
1101
  },
@@ -1301,16 +1303,6 @@
1301
1303
  "model": {
1302
1304
  "type": "string"
1303
1305
  },
1304
- "tier": {
1305
- "type": "string",
1306
- "enum": [
1307
- "free",
1308
- "fast",
1309
- "standard",
1310
- "premium",
1311
- "frontier"
1312
- ]
1313
- },
1314
1306
  "variant": {
1315
1307
  "type": "string"
1316
1308
  },
@@ -1518,16 +1510,6 @@
1518
1510
  "model": {
1519
1511
  "type": "string"
1520
1512
  },
1521
- "tier": {
1522
- "type": "string",
1523
- "enum": [
1524
- "free",
1525
- "fast",
1526
- "standard",
1527
- "premium",
1528
- "frontier"
1529
- ]
1530
- },
1531
1513
  "variant": {
1532
1514
  "type": "string"
1533
1515
  },
@@ -1735,16 +1717,6 @@
1735
1717
  "model": {
1736
1718
  "type": "string"
1737
1719
  },
1738
- "tier": {
1739
- "type": "string",
1740
- "enum": [
1741
- "free",
1742
- "fast",
1743
- "standard",
1744
- "premium",
1745
- "frontier"
1746
- ]
1747
- },
1748
1720
  "variant": {
1749
1721
  "type": "string"
1750
1722
  },
@@ -1952,16 +1924,6 @@
1952
1924
  "model": {
1953
1925
  "type": "string"
1954
1926
  },
1955
- "tier": {
1956
- "type": "string",
1957
- "enum": [
1958
- "free",
1959
- "fast",
1960
- "standard",
1961
- "premium",
1962
- "frontier"
1963
- ]
1964
- },
1965
1927
  "variant": {
1966
1928
  "type": "string"
1967
1929
  },
@@ -2169,16 +2131,6 @@
2169
2131
  "model": {
2170
2132
  "type": "string"
2171
2133
  },
2172
- "tier": {
2173
- "type": "string",
2174
- "enum": [
2175
- "free",
2176
- "fast",
2177
- "standard",
2178
- "premium",
2179
- "frontier"
2180
- ]
2181
- },
2182
2134
  "variant": {
2183
2135
  "type": "string"
2184
2136
  },
@@ -2386,16 +2338,6 @@
2386
2338
  "model": {
2387
2339
  "type": "string"
2388
2340
  },
2389
- "tier": {
2390
- "type": "string",
2391
- "enum": [
2392
- "free",
2393
- "fast",
2394
- "standard",
2395
- "premium",
2396
- "frontier"
2397
- ]
2398
- },
2399
2341
  "variant": {
2400
2342
  "type": "string"
2401
2343
  },
@@ -2603,16 +2545,6 @@
2603
2545
  "model": {
2604
2546
  "type": "string"
2605
2547
  },
2606
- "tier": {
2607
- "type": "string",
2608
- "enum": [
2609
- "free",
2610
- "fast",
2611
- "standard",
2612
- "premium",
2613
- "frontier"
2614
- ]
2615
- },
2616
2548
  "variant": {
2617
2549
  "type": "string"
2618
2550
  },
@@ -2820,16 +2752,6 @@
2820
2752
  "model": {
2821
2753
  "type": "string"
2822
2754
  },
2823
- "tier": {
2824
- "type": "string",
2825
- "enum": [
2826
- "free",
2827
- "fast",
2828
- "standard",
2829
- "premium",
2830
- "frontier"
2831
- ]
2832
- },
2833
2755
  "variant": {
2834
2756
  "type": "string"
2835
2757
  },
@@ -3037,16 +2959,6 @@
3037
2959
  "model": {
3038
2960
  "type": "string"
3039
2961
  },
3040
- "tier": {
3041
- "type": "string",
3042
- "enum": [
3043
- "free",
3044
- "fast",
3045
- "standard",
3046
- "premium",
3047
- "frontier"
3048
- ]
3049
- },
3050
2962
  "variant": {
3051
2963
  "type": "string"
3052
2964
  },
@@ -3254,16 +3166,6 @@
3254
3166
  "model": {
3255
3167
  "type": "string"
3256
3168
  },
3257
- "tier": {
3258
- "type": "string",
3259
- "enum": [
3260
- "free",
3261
- "fast",
3262
- "standard",
3263
- "premium",
3264
- "frontier"
3265
- ]
3266
- },
3267
3169
  "variant": {
3268
3170
  "type": "string"
3269
3171
  },
@@ -3471,16 +3373,6 @@
3471
3373
  "model": {
3472
3374
  "type": "string"
3473
3375
  },
3474
- "tier": {
3475
- "type": "string",
3476
- "enum": [
3477
- "free",
3478
- "fast",
3479
- "standard",
3480
- "premium",
3481
- "frontier"
3482
- ]
3483
- },
3484
3376
  "variant": {
3485
3377
  "type": "string"
3486
3378
  },
@@ -3688,16 +3580,6 @@
3688
3580
  "model": {
3689
3581
  "type": "string"
3690
3582
  },
3691
- "tier": {
3692
- "type": "string",
3693
- "enum": [
3694
- "free",
3695
- "fast",
3696
- "standard",
3697
- "premium",
3698
- "frontier"
3699
- ]
3700
- },
3701
3583
  "variant": {
3702
3584
  "type": "string"
3703
3585
  },
@@ -3916,16 +3798,6 @@
3916
3798
  "model": {
3917
3799
  "type": "string"
3918
3800
  },
3919
- "tier": {
3920
- "type": "string",
3921
- "enum": [
3922
- "free",
3923
- "fast",
3924
- "standard",
3925
- "premium",
3926
- "frontier"
3927
- ]
3928
- },
3929
3801
  "variant": {
3930
3802
  "type": "string"
3931
3803
  },
@@ -4722,6 +4594,31 @@
4722
4594
  ],
4723
4595
  "additionalProperties": false
4724
4596
  },
4597
+ "failure_counter": {
4598
+ "type": "object",
4599
+ "properties": {
4600
+ "enabled": {
4601
+ "default": true,
4602
+ "type": "boolean"
4603
+ },
4604
+ "threshold": {
4605
+ "default": 2,
4606
+ "type": "number",
4607
+ "minimum": 1,
4608
+ "maximum": 10
4609
+ },
4610
+ "resetOnSuccess": {
4611
+ "default": true,
4612
+ "type": "boolean"
4613
+ }
4614
+ },
4615
+ "required": [
4616
+ "enabled",
4617
+ "threshold",
4618
+ "resetOnSuccess"
4619
+ ],
4620
+ "additionalProperties": false
4621
+ },
4725
4622
  "background_task": {
4726
4623
  "type": "object",
4727
4624
  "properties": {
@@ -4806,6 +4703,59 @@
4806
4703
  ],
4807
4704
  "additionalProperties": false
4808
4705
  },
4706
+ "tasks": {
4707
+ "type": "object",
4708
+ "properties": {
4709
+ "enabled": {
4710
+ "default": true,
4711
+ "type": "boolean"
4712
+ },
4713
+ "scope": {
4714
+ "description": "Task storage scope: project → .matrixx/tasks per project (default), global → <opencode-config>/tasks/{listId}",
4715
+ "default": "project",
4716
+ "type": "string",
4717
+ "enum": [
4718
+ "global",
4719
+ "project"
4720
+ ]
4721
+ },
4722
+ "storage_path": {
4723
+ "type": "string"
4724
+ },
4725
+ "task_list_id": {
4726
+ "type": "string"
4727
+ },
4728
+ "stale_after_hours": {
4729
+ "description": "Pending tasks with no file activity for this many hours are considered stale (default: 24). Stale tasks are excluded from task-continuation directives.",
4730
+ "type": "integer",
4731
+ "minimum": 1,
4732
+ "maximum": 9007199254740991
4733
+ },
4734
+ "session_scoped": {
4735
+ "description": "When true, the task-continuation-enforcer only considers tasks created by the current session (or its subagent sessions). When false, all project tasks are considered regardless of session origin.",
4736
+ "default": true,
4737
+ "type": "boolean"
4738
+ },
4739
+ "pollTimeoutMs": {
4740
+ "type": "number",
4741
+ "minimum": 60000
4742
+ }
4743
+ },
4744
+ "required": [
4745
+ "enabled"
4746
+ ],
4747
+ "additionalProperties": false
4748
+ },
4749
+ "task": {
4750
+ "type": "object",
4751
+ "properties": {
4752
+ "pollTimeoutMs": {
4753
+ "type": "number",
4754
+ "minimum": 60000
4755
+ }
4756
+ },
4757
+ "additionalProperties": false
4758
+ },
4809
4759
  "tdd_enforcer": {
4810
4760
  "type": "object",
4811
4761
  "properties": {
@@ -4915,6 +4865,17 @@
4915
4865
  "global",
4916
4866
  "project"
4917
4867
  ]
4868
+ },
4869
+ "stale_after_hours": {
4870
+ "description": "Pending tasks with no file activity for this many hours are considered stale (default: 24). Stale tasks are excluded from task-continuation directives.",
4871
+ "type": "integer",
4872
+ "minimum": 1,
4873
+ "maximum": 9007199254740991
4874
+ },
4875
+ "session_scoped": {
4876
+ "description": "When true, the task-continuation-enforcer only considers tasks created by the current session (or its subagent sessions). When false, all project tasks are considered regardless of session origin.",
4877
+ "default": true,
4878
+ "type": "boolean"
4918
4879
  }
4919
4880
  },
4920
4881
  "additionalProperties": false
@@ -5523,6 +5484,141 @@
5523
5484
  "items": {
5524
5485
  "type": "string"
5525
5486
  }
5487
+ },
5488
+ "modelRequirements": {
5489
+ "type": "object",
5490
+ "properties": {
5491
+ "agents": {
5492
+ "type": "object",
5493
+ "propertyNames": {
5494
+ "type": "string"
5495
+ },
5496
+ "additionalProperties": {
5497
+ "type": "object",
5498
+ "properties": {
5499
+ "fallbackChain": {
5500
+ "type": "array",
5501
+ "items": {
5502
+ "type": "object",
5503
+ "properties": {
5504
+ "providers": {
5505
+ "type": "array",
5506
+ "items": {
5507
+ "type": "string",
5508
+ "minLength": 1
5509
+ }
5510
+ },
5511
+ "model": {
5512
+ "type": "string",
5513
+ "minLength": 1
5514
+ },
5515
+ "variant": {
5516
+ "type": "string"
5517
+ }
5518
+ },
5519
+ "required": [
5520
+ "providers",
5521
+ "model"
5522
+ ],
5523
+ "additionalProperties": false
5524
+ }
5525
+ },
5526
+ "requiresModel": {
5527
+ "type": "string"
5528
+ },
5529
+ "requiresAnyModel": {
5530
+ "type": "boolean"
5531
+ },
5532
+ "requiresProvider": {
5533
+ "type": "array",
5534
+ "items": {
5535
+ "type": "string"
5536
+ }
5537
+ },
5538
+ "variant": {
5539
+ "type": "string"
5540
+ }
5541
+ },
5542
+ "required": [
5543
+ "fallbackChain"
5544
+ ],
5545
+ "additionalProperties": false
5546
+ }
5547
+ },
5548
+ "categories": {
5549
+ "type": "object",
5550
+ "propertyNames": {
5551
+ "type": "string"
5552
+ },
5553
+ "additionalProperties": {
5554
+ "type": "object",
5555
+ "properties": {
5556
+ "fallbackChain": {
5557
+ "type": "array",
5558
+ "items": {
5559
+ "type": "object",
5560
+ "properties": {
5561
+ "providers": {
5562
+ "type": "array",
5563
+ "items": {
5564
+ "type": "string",
5565
+ "minLength": 1
5566
+ }
5567
+ },
5568
+ "model": {
5569
+ "type": "string",
5570
+ "minLength": 1
5571
+ },
5572
+ "variant": {
5573
+ "type": "string"
5574
+ }
5575
+ },
5576
+ "required": [
5577
+ "providers",
5578
+ "model"
5579
+ ],
5580
+ "additionalProperties": false
5581
+ }
5582
+ },
5583
+ "requiresModel": {
5584
+ "type": "string"
5585
+ },
5586
+ "requiresAnyModel": {
5587
+ "type": "boolean"
5588
+ },
5589
+ "requiresProvider": {
5590
+ "type": "array",
5591
+ "items": {
5592
+ "type": "string"
5593
+ }
5594
+ },
5595
+ "variant": {
5596
+ "type": "string"
5597
+ }
5598
+ },
5599
+ "required": [
5600
+ "fallbackChain"
5601
+ ],
5602
+ "additionalProperties": false
5603
+ }
5604
+ }
5605
+ },
5606
+ "additionalProperties": false
5607
+ },
5608
+ "complexityDowngrades": {
5609
+ "type": "object",
5610
+ "propertyNames": {
5611
+ "type": "string"
5612
+ },
5613
+ "additionalProperties": {
5614
+ "type": "object",
5615
+ "propertyNames": {
5616
+ "type": "string"
5617
+ },
5618
+ "additionalProperties": {
5619
+ "type": "string"
5620
+ }
5621
+ }
5526
5622
  }
5527
5623
  },
5528
5624
  "additionalProperties": false
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export declare const McpNameSchema: z.ZodEnum<{
3
3
  websearch: "websearch";
4
4
  context7: "context7";
5
- grep_app: "grep_app";
5
+ white_rabbit: "white_rabbit";
6
6
  document_reader: "document_reader";
7
7
  }>;
8
8
  export type McpName = z.infer<typeof McpNameSchema>;
@@ -1,4 +1,4 @@
1
- export declare const grep_app: {
1
+ export declare const white_rabbit: {
2
2
  type: "remote";
3
3
  url: string;
4
4
  enabled: boolean;
@@ -46,6 +46,7 @@ export declare function createCoreHooks(args: {
46
46
  matrixLoop: ReturnType<typeof import("../../hooks").createMatrixLoopHook> | null;
47
47
  editErrorRecovery: ReturnType<typeof import("../../hooks").createEditErrorRecoveryHook> | null;
48
48
  delegateTaskRetry: ReturnType<typeof import("../../hooks").createDelegateTaskRetryHook> | null;
49
+ failureCounter: ReturnType<typeof import("../../hooks").createFailureCounterHook> | null;
49
50
  startWork: ReturnType<typeof import("../../hooks").createStartWorkHook> | null;
50
51
  oracleMdOnly: ReturnType<typeof import("../../hooks").createOracleMdOnlyHook> | null;
51
52
  mouseNotepad: ReturnType<typeof import("../../hooks").createMouseNotepadHook> | null;
@@ -1,5 +1,5 @@
1
1
  import type { HookName, MatrixxConfig } from "../../config";
2
- import { createAgentUsageReminderHook, createAutoUpdateCheckerHook, createContextWindowLimitRecoveryHook, createContextWindowMonitorHook, createDelegateTaskRetryHook, createEditErrorRecoveryHook, createInteractiveBashSessionHook, createMatrixLoopHook, createMouseNotepadHook, createNonInteractiveEnvHook, createOracleMdOnlyHook, createPreemptiveCompactionHook, createRtkBashRewriterHook, createRuntimeFallbackHook, createSessionNotification, createSessionRecoveryHook, createStartWorkHook, createTaskResumeInfoHook, createThinkModeHook } from "../../hooks";
2
+ import { createAgentUsageReminderHook, createAutoUpdateCheckerHook, createContextWindowLimitRecoveryHook, createContextWindowMonitorHook, createDelegateTaskRetryHook, createEditErrorRecoveryHook, createFailureCounterHook, createInteractiveBashSessionHook, createMatrixLoopHook, createMouseNotepadHook, createNonInteractiveEnvHook, createOracleMdOnlyHook, createPreemptiveCompactionHook, createRtkBashRewriterHook, createRuntimeFallbackHook, createSessionNotification, createSessionRecoveryHook, createStartWorkHook, createTaskResumeInfoHook, createThinkModeHook } from "../../hooks";
3
3
  import { createAnthropicEffortHook } from "../../hooks/anthropic-effort";
4
4
  import type { PluginContext } from "../types";
5
5
  export type SessionHooks = {
@@ -16,6 +16,7 @@ export type SessionHooks = {
16
16
  matrixLoop: ReturnType<typeof createMatrixLoopHook> | null;
17
17
  editErrorRecovery: ReturnType<typeof createEditErrorRecoveryHook> | null;
18
18
  delegateTaskRetry: ReturnType<typeof createDelegateTaskRetryHook> | null;
19
+ failureCounter: ReturnType<typeof createFailureCounterHook> | null;
19
20
  startWork: ReturnType<typeof createStartWorkHook> | null;
20
21
  oracleMdOnly: ReturnType<typeof createOracleMdOnlyHook> | null;
21
22
  mouseNotepad: ReturnType<typeof createMouseNotepadHook> | null;
@@ -1,4 +1,4 @@
1
- import type { CategoryConfig } from "../config/schema";
1
+ import type { CategoryConfig, ModelRequirements } from "../config/schema";
2
2
  type OracleOverride = Record<string, unknown> & {
3
3
  category?: string;
4
4
  model?: string;
@@ -20,5 +20,6 @@ export declare function buildOracleAgentConfig(params: {
20
20
  userCategories: Record<string, CategoryConfig> | undefined;
21
21
  currentModel: string | undefined;
22
22
  globalOverrideModel?: string;
23
+ modelRequirements?: ModelRequirements;
23
24
  }): Promise<Record<string, unknown>>;
24
25
  export {};