@diegopetrucci/pi-oracle 0.1.10 → 0.1.12

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.
@@ -1 +1 @@
1
- 0.76.0
1
+ 0.78.0
package/README.md CHANGED
@@ -27,7 +27,7 @@ By default, the extension:
27
27
  4. tries a provider-specific hardcoded priority list first
28
28
  5. falls back to a heuristic that favors stronger tiers like `opus`, `pro`, newer versions, and penalizes `mini`, `flash`, `haiku`, `spark`, etc.
29
29
 
30
- The hardcoded rankings now cover pi's built-in provider set, including Together; see the provider matrix for the current provider-by-provider top picks.
30
+ The hardcoded rankings now cover pi's built-in provider set, including Claude Fable on Anthropic-compatible providers and Together; see the provider matrix for the current provider-by-provider top picks.
31
31
 
32
32
  If no reasoning model exists on the current provider, it falls back to the best available model on that provider.
33
33
 
package/index.ts CHANGED
@@ -75,6 +75,8 @@ const ORACLE_CONFIG_FILE = "oracle.json";
75
75
 
76
76
  const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
77
77
  "amazon-bedrock": [
78
+ "claude-fable-5",
79
+ "claude-opus-4-8",
78
80
  "claude-opus-4-7",
79
81
  "claude-opus-4-6",
80
82
  "claude-opus-4-5",
@@ -91,6 +93,9 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
91
93
  "zai.glm-5",
92
94
  ],
93
95
  anthropic: [
96
+ "claude-fable-5",
97
+ "claude-opus-4-8",
98
+ "claude-opus-4.8",
94
99
  "claude-opus-4-7",
95
100
  "claude-opus-4.7",
96
101
  "claude-opus-4-6",
@@ -129,6 +134,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
129
134
  ],
130
135
  cerebras: ["gpt-oss-120b", "zai-glm-4.7", "llama3.1-8b"],
131
136
  "cloudflare-ai-gateway": [
137
+ "claude-fable-5",
132
138
  "claude-opus-4-7",
133
139
  "claude-opus-4-6",
134
140
  "claude-opus-4-5",
@@ -156,6 +162,8 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
156
162
  "accounts/fireworks/models/gpt-oss-120b",
157
163
  ],
158
164
  "github-copilot": [
165
+ "claude-fable-5",
166
+ "claude-opus-4.8",
159
167
  "claude-opus-4.7",
160
168
  "claude-opus-4.6",
161
169
  "claude-opus-4.5",
@@ -253,10 +261,12 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
253
261
  "big-pickle",
254
262
  ],
255
263
  opencode: [
264
+ "claude-fable-5",
256
265
  "gpt-5.5-pro",
257
266
  "gpt-5.5",
258
267
  "gpt-5.4-pro",
259
268
  "gpt-5.4",
269
+ "claude-opus-4-8",
260
270
  "claude-opus-4-7",
261
271
  "claude-opus-4-6",
262
272
  "claude-opus-4-5",
@@ -284,6 +294,10 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
284
294
  "kimi-k2.5",
285
295
  ],
286
296
  openrouter: [
297
+ "anthropic/claude-fable-5",
298
+ "~anthropic/claude-fable-latest",
299
+ "anthropic/claude-opus-4.8",
300
+ "anthropic/claude-opus-4.8-fast",
287
301
  "anthropic/claude-opus-4.7",
288
302
  "anthropic/claude-opus-4.6-fast",
289
303
  "anthropic/claude-opus-4.6",
@@ -320,6 +334,8 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
320
334
  "MiniMaxAI/MiniMax-M2.5",
321
335
  ],
322
336
  "vercel-ai-gateway": [
337
+ "anthropic/claude-fable-5",
338
+ "anthropic/claude-opus-4.8",
323
339
  "anthropic/claude-opus-4.7",
324
340
  "anthropic/claude-opus-4.6",
325
341
  "anthropic/claude-opus-4.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-oracle",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "An Amp-style oracle extension for pi that consults the strongest reasoning model on your current provider.",
5
5
  "keywords": [
6
6
  "pi-package",