@diegopetrucci/pi-extensions 0.1.44 → 0.1.45

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.
@@ -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
 
@@ -75,6 +75,7 @@ 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",
78
79
  "claude-opus-4-8",
79
80
  "claude-opus-4-7",
80
81
  "claude-opus-4-6",
@@ -92,6 +93,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
92
93
  "zai.glm-5",
93
94
  ],
94
95
  anthropic: [
96
+ "claude-fable-5",
95
97
  "claude-opus-4-8",
96
98
  "claude-opus-4.8",
97
99
  "claude-opus-4-7",
@@ -132,6 +134,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
132
134
  ],
133
135
  cerebras: ["gpt-oss-120b", "zai-glm-4.7", "llama3.1-8b"],
134
136
  "cloudflare-ai-gateway": [
137
+ "claude-fable-5",
135
138
  "claude-opus-4-7",
136
139
  "claude-opus-4-6",
137
140
  "claude-opus-4-5",
@@ -159,6 +162,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
159
162
  "accounts/fireworks/models/gpt-oss-120b",
160
163
  ],
161
164
  "github-copilot": [
165
+ "claude-fable-5",
162
166
  "claude-opus-4.8",
163
167
  "claude-opus-4.7",
164
168
  "claude-opus-4.6",
@@ -257,6 +261,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
257
261
  "big-pickle",
258
262
  ],
259
263
  opencode: [
264
+ "claude-fable-5",
260
265
  "gpt-5.5-pro",
261
266
  "gpt-5.5",
262
267
  "gpt-5.4-pro",
@@ -289,6 +294,8 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
289
294
  "kimi-k2.5",
290
295
  ],
291
296
  openrouter: [
297
+ "anthropic/claude-fable-5",
298
+ "~anthropic/claude-fable-latest",
292
299
  "anthropic/claude-opus-4.8",
293
300
  "anthropic/claude-opus-4.8-fast",
294
301
  "anthropic/claude-opus-4.7",
@@ -327,6 +334,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
327
334
  "MiniMaxAI/MiniMax-M2.5",
328
335
  ],
329
336
  "vercel-ai-gateway": [
337
+ "anthropic/claude-fable-5",
330
338
  "anthropic/claude-opus-4.8",
331
339
  "anthropic/claude-opus-4.7",
332
340
  "anthropic/claude-opus-4.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-oracle",
3
- "version": "0.1.11",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopetrucci/pi-extensions",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "A collection of pi extensions and skills for annotation UIs, context management, workflow audits, review-comment triage, notifications, brrr push alerts, safety guards, GitHub research, repo-local knowledge, todos, tool rendering, model/provider helpers, and Xiaohei-style article illustrations.",
5
5
  "keywords": [
6
6
  "pi-package",