opencode-model-router 1.1.3 → 1.1.4

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 (2) hide show
  1. package/package.json +1 -1
  2. package/tiers.json +56 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-model-router",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "OpenCode plugin that routes tasks to tiered subagents (fast/medium/heavy) based on complexity",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/tiers.json CHANGED
@@ -17,7 +17,7 @@
17
17
  ]
18
18
  },
19
19
  "medium": {
20
- "model": "anthropic/claude-sonnet-4-5",
20
+ "model": "anthropic/claude-sonnet-4-6",
21
21
  "variant": "max",
22
22
  "costRatio": 5,
23
23
  "description": "Sonnet 4.5 max for implementation, refactoring, and tests",
@@ -102,7 +102,7 @@
102
102
  ]
103
103
  },
104
104
  "medium": {
105
- "model": "github-copilot/claude-sonnet-4-5",
105
+ "model": "github-copilot/claude-sonnet-4-6",
106
106
  "costRatio": 5,
107
107
  "description": "Claude Sonnet 4.5 via GitHub Copilot for implementation, refactoring, and tests",
108
108
  "steps": 50,
@@ -174,9 +174,40 @@
174
174
  }
175
175
  },
176
176
  "taskPatterns": {
177
- "fast": ["search", "grep", "read", "git-info", "ls", "lookup-docs/types", "count", "exists-check", "rename"],
178
- "medium": ["impl-feature", "refactor", "write-tests", "bugfix(≤2)", "edit-logic", "code-review", "build-fix", "create-file", "db-migrate", "api-endpoint", "config-update"],
179
- "heavy": ["arch-design", "debug(≥3fail)", "sec-audit", "perf-opt", "migrate-strategy", "multi-system-integration", "tradeoff-analysis", "rca"]
177
+ "fast": [
178
+ "search",
179
+ "grep",
180
+ "read",
181
+ "git-info",
182
+ "ls",
183
+ "lookup-docs/types",
184
+ "count",
185
+ "exists-check",
186
+ "rename"
187
+ ],
188
+ "medium": [
189
+ "impl-feature",
190
+ "refactor",
191
+ "write-tests",
192
+ "bugfix(≤2)",
193
+ "edit-logic",
194
+ "code-review",
195
+ "build-fix",
196
+ "create-file",
197
+ "db-migrate",
198
+ "api-endpoint",
199
+ "config-update"
200
+ ],
201
+ "heavy": [
202
+ "arch-design",
203
+ "debug(≥3fail)",
204
+ "sec-audit",
205
+ "perf-opt",
206
+ "migrate-strategy",
207
+ "multi-system-integration",
208
+ "tradeoff-analysis",
209
+ "rca"
210
+ ]
180
211
  },
181
212
  "modes": {
182
213
  "normal": {
@@ -208,10 +239,26 @@
208
239
  },
209
240
  "fallback": {
210
241
  "global": {
211
- "anthropic": ["openai", "google", "github-copilot"],
212
- "openai": ["anthropic", "google", "github-copilot"],
213
- "github-copilot": ["anthropic", "openai", "google"],
214
- "google": ["openai", "anthropic", "github-copilot"]
242
+ "anthropic": [
243
+ "openai",
244
+ "google",
245
+ "github-copilot"
246
+ ],
247
+ "openai": [
248
+ "anthropic",
249
+ "google",
250
+ "github-copilot"
251
+ ],
252
+ "github-copilot": [
253
+ "anthropic",
254
+ "openai",
255
+ "google"
256
+ ],
257
+ "google": [
258
+ "openai",
259
+ "anthropic",
260
+ "github-copilot"
261
+ ]
215
262
  }
216
263
  },
217
264
  "rules": [