opencode-athena 0.10.1 → 0.11.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/config/presets/copilot-only.json +16 -0
- package/config/presets/enterprise.json +16 -0
- package/config/presets/minimal.json +16 -0
- package/config/presets/solo-quick.json +16 -0
- package/config/presets/standard.json +16 -0
- package/config/schemas/athena.schema.json +84 -1
- package/dist/cli/index.js +426 -31
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +322 -0
- package/dist/index.js +47 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin/index.js +47 -2
- package/dist/plugin/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -36,5 +36,21 @@
|
|
|
36
36
|
"context7": true,
|
|
37
37
|
"exa": true,
|
|
38
38
|
"grepApp": true
|
|
39
|
+
},
|
|
40
|
+
"routing": {
|
|
41
|
+
"providerPriority": ["github-copilot"],
|
|
42
|
+
"modelFamilyPriority": {
|
|
43
|
+
"claude": ["github-copilot"],
|
|
44
|
+
"gpt": ["github-copilot"],
|
|
45
|
+
"gemini": ["github-copilot"]
|
|
46
|
+
},
|
|
47
|
+
"agentOverrides": {
|
|
48
|
+
"oracle": { "requiresThinking": false }
|
|
49
|
+
},
|
|
50
|
+
"fallbackBehavior": {
|
|
51
|
+
"autoFallback": false,
|
|
52
|
+
"retryPeriodMs": 300000,
|
|
53
|
+
"notifyOnRateLimit": true
|
|
54
|
+
}
|
|
39
55
|
}
|
|
40
56
|
}
|
|
@@ -45,5 +45,21 @@
|
|
|
45
45
|
"context7": true,
|
|
46
46
|
"exa": true,
|
|
47
47
|
"grepApp": true
|
|
48
|
+
},
|
|
49
|
+
"routing": {
|
|
50
|
+
"providerPriority": ["anthropic", "openai", "google"],
|
|
51
|
+
"modelFamilyPriority": {
|
|
52
|
+
"claude": ["anthropic"],
|
|
53
|
+
"gpt": ["openai"],
|
|
54
|
+
"gemini": ["google"]
|
|
55
|
+
},
|
|
56
|
+
"agentOverrides": {
|
|
57
|
+
"oracle": { "requiresThinking": true }
|
|
58
|
+
},
|
|
59
|
+
"fallbackBehavior": {
|
|
60
|
+
"autoFallback": true,
|
|
61
|
+
"retryPeriodMs": 300000,
|
|
62
|
+
"notifyOnRateLimit": true
|
|
63
|
+
}
|
|
48
64
|
}
|
|
49
65
|
}
|
|
@@ -39,5 +39,21 @@
|
|
|
39
39
|
"context7": true,
|
|
40
40
|
"exa": false,
|
|
41
41
|
"grepApp": false
|
|
42
|
+
},
|
|
43
|
+
"routing": {
|
|
44
|
+
"providerPriority": ["anthropic"],
|
|
45
|
+
"modelFamilyPriority": {
|
|
46
|
+
"claude": ["anthropic"],
|
|
47
|
+
"gpt": ["anthropic"],
|
|
48
|
+
"gemini": ["anthropic"]
|
|
49
|
+
},
|
|
50
|
+
"agentOverrides": {
|
|
51
|
+
"oracle": { "requiresThinking": true }
|
|
52
|
+
},
|
|
53
|
+
"fallbackBehavior": {
|
|
54
|
+
"autoFallback": false,
|
|
55
|
+
"retryPeriodMs": 300000,
|
|
56
|
+
"notifyOnRateLimit": true
|
|
57
|
+
}
|
|
42
58
|
}
|
|
43
59
|
}
|
|
@@ -39,5 +39,21 @@
|
|
|
39
39
|
"context7": true,
|
|
40
40
|
"exa": true,
|
|
41
41
|
"grepApp": false
|
|
42
|
+
},
|
|
43
|
+
"routing": {
|
|
44
|
+
"providerPriority": ["anthropic"],
|
|
45
|
+
"modelFamilyPriority": {
|
|
46
|
+
"claude": ["anthropic"],
|
|
47
|
+
"gpt": ["anthropic"],
|
|
48
|
+
"gemini": ["anthropic"]
|
|
49
|
+
},
|
|
50
|
+
"agentOverrides": {
|
|
51
|
+
"oracle": { "requiresThinking": true }
|
|
52
|
+
},
|
|
53
|
+
"fallbackBehavior": {
|
|
54
|
+
"autoFallback": false,
|
|
55
|
+
"retryPeriodMs": 300000,
|
|
56
|
+
"notifyOnRateLimit": true
|
|
57
|
+
}
|
|
42
58
|
}
|
|
43
59
|
}
|
|
@@ -45,5 +45,21 @@
|
|
|
45
45
|
"context7": true,
|
|
46
46
|
"exa": true,
|
|
47
47
|
"grepApp": true
|
|
48
|
+
},
|
|
49
|
+
"routing": {
|
|
50
|
+
"providerPriority": ["anthropic", "openai", "google"],
|
|
51
|
+
"modelFamilyPriority": {
|
|
52
|
+
"claude": ["anthropic"],
|
|
53
|
+
"gpt": ["openai"],
|
|
54
|
+
"gemini": ["google"]
|
|
55
|
+
},
|
|
56
|
+
"agentOverrides": {
|
|
57
|
+
"oracle": { "requiresThinking": true }
|
|
58
|
+
},
|
|
59
|
+
"fallbackBehavior": {
|
|
60
|
+
"autoFallback": false,
|
|
61
|
+
"retryPeriodMs": 300000,
|
|
62
|
+
"notifyOnRateLimit": true
|
|
63
|
+
}
|
|
48
64
|
}
|
|
49
65
|
}
|
|
@@ -197,9 +197,77 @@
|
|
|
197
197
|
"exa": { "type": "boolean", "default": true },
|
|
198
198
|
"grepApp": { "type": "boolean", "default": true }
|
|
199
199
|
}
|
|
200
|
+
},
|
|
201
|
+
"routing": {
|
|
202
|
+
"type": "object",
|
|
203
|
+
"description": "Provider routing and fallback configuration",
|
|
204
|
+
"properties": {
|
|
205
|
+
"providerPriority": {
|
|
206
|
+
"type": "array",
|
|
207
|
+
"description": "Global provider priority order",
|
|
208
|
+
"items": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"enum": ["anthropic", "openai", "google", "github-copilot"]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"modelFamilyPriority": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"description": "Per-model-family provider priority",
|
|
216
|
+
"properties": {
|
|
217
|
+
"claude": {
|
|
218
|
+
"type": "array",
|
|
219
|
+
"items": { "type": "string" }
|
|
220
|
+
},
|
|
221
|
+
"gpt": {
|
|
222
|
+
"type": "array",
|
|
223
|
+
"items": { "type": "string" }
|
|
224
|
+
},
|
|
225
|
+
"gemini": {
|
|
226
|
+
"type": "array",
|
|
227
|
+
"items": { "type": "string" }
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"agentOverrides": {
|
|
232
|
+
"type": "object",
|
|
233
|
+
"description": "Per-agent routing overrides",
|
|
234
|
+
"properties": {
|
|
235
|
+
"sisyphus": { "$ref": "#/definitions/agentRouting" },
|
|
236
|
+
"oracle": { "$ref": "#/definitions/agentRouting" },
|
|
237
|
+
"librarian": { "$ref": "#/definitions/agentRouting" },
|
|
238
|
+
"frontend": { "$ref": "#/definitions/agentRouting" },
|
|
239
|
+
"documentWriter": { "$ref": "#/definitions/agentRouting" },
|
|
240
|
+
"multimodalLooker": { "$ref": "#/definitions/agentRouting" }
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"fallbackBehavior": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"description": "Rate limit handling configuration",
|
|
246
|
+
"properties": {
|
|
247
|
+
"autoFallback": {
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"description": "Automatically fallback to next provider on rate limit",
|
|
250
|
+
"default": false
|
|
251
|
+
},
|
|
252
|
+
"retryPeriodMs": {
|
|
253
|
+
"type": "number",
|
|
254
|
+
"description": "How long to wait before retrying original provider (milliseconds)",
|
|
255
|
+
"default": 60000,
|
|
256
|
+
"minimum": 0
|
|
257
|
+
},
|
|
258
|
+
"notifyOnRateLimit": {
|
|
259
|
+
"type": "boolean",
|
|
260
|
+
"description": "Show notification when rate limit is hit",
|
|
261
|
+
"default": true
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": ["autoFallback", "retryPeriodMs", "notifyOnRateLimit"]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": ["providerPriority", "modelFamilyPriority", "agentOverrides", "fallbackBehavior"]
|
|
200
268
|
}
|
|
201
269
|
},
|
|
202
|
-
"required": ["version", "subscriptions", "models", "bmad", "features", "mcps"],
|
|
270
|
+
"required": ["version", "subscriptions", "models", "bmad", "features", "mcps", "routing"],
|
|
203
271
|
"definitions": {
|
|
204
272
|
"agentSettings": {
|
|
205
273
|
"type": "object",
|
|
@@ -250,6 +318,21 @@
|
|
|
250
318
|
}
|
|
251
319
|
},
|
|
252
320
|
"required": ["id", "name", "provider"]
|
|
321
|
+
},
|
|
322
|
+
"agentRouting": {
|
|
323
|
+
"type": "object",
|
|
324
|
+
"description": "Routing configuration for an agent",
|
|
325
|
+
"properties": {
|
|
326
|
+
"requiresThinking": {
|
|
327
|
+
"type": "boolean",
|
|
328
|
+
"description": "Filter to thinking-capable providers"
|
|
329
|
+
},
|
|
330
|
+
"preferProvider": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"enum": ["anthropic", "openai", "google", "github-copilot"],
|
|
333
|
+
"description": "Preferred provider for this agent"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
253
336
|
}
|
|
254
337
|
}
|
|
255
338
|
}
|