@oh-my-pi/pi-catalog 18.14.2 → 18.16.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/CHANGELOG.md +30 -0
- package/dist/types/compat/auth-ids.d.ts +2 -2
- package/dist/types/compat/catalog-policy.d.ts +6 -4
- package/dist/types/compat/factory-droid.d.ts +7 -1
- package/dist/types/compat/provider-ids.d.ts +1 -1
- package/dist/types/compat/resolve.d.ts +1 -1
- package/dist/types/compat/revision.d.ts +2 -0
- package/dist/types/compat/server-side-fallback.d.ts +6 -4
- package/dist/types/compat/types.d.ts +3 -1
- package/dist/types/discovery/openai-compatible.d.ts +6 -0
- package/dist/types/models.d.ts +16 -0
- package/dist/types/pricing.d.ts +66 -6
- package/dist/types/provider-models/openai-compat.d.ts +18 -0
- package/dist/types/types.d.ts +11 -5
- package/dist/types/utils.d.ts +8 -0
- package/package.json +4 -4
- package/src/compat/auth-ids.ts +5 -0
- package/src/compat/axes.ts +5 -2
- package/src/compat/catalog-policy.ts +14 -10
- package/src/compat/collapse.ts +1 -1
- package/src/compat/factory-droid.ts +9 -1
- package/src/compat/provider-ids.ts +2 -0
- package/src/compat/resolve.ts +4 -2
- package/src/compat/revision.ts +10 -0
- package/src/compat/rules/README.md +2 -0
- package/src/compat/rules/auth/_order.kdl +1 -1
- package/src/compat/rules/auth/mistral.kdl +4 -0
- package/src/compat/rules/auth/modular.kdl +9 -0
- package/src/compat/rules/auth/scaleway.kdl +17 -0
- package/src/compat/rules/providers/factory-droid.kdl +219 -13
- package/src/compat/rules/providers/modular.kdl +35 -0
- package/src/compat/rules/providers/sambanova.kdl +2 -0
- package/src/compat/rules/providers/scaleway.kdl +179 -0
- package/src/compat/rules/runtime/behavior.kdl +13 -0
- package/src/compat/rules.json +1 -1
- package/src/compat/server-side-fallback.ts +7 -5
- package/src/compat/types.ts +3 -1
- package/src/discovery/codex.ts +2 -9
- package/src/discovery/factory-droid.ts +35 -11
- package/src/discovery/openai-compatible.ts +1 -1
- package/src/model-cache.ts +32 -58
- package/src/model-catalog-format.ts +5 -8
- package/src/model-manager.ts +27 -121
- package/src/model-tokenizer.ts +13 -12
- package/src/models.json +1 -1
- package/src/models.ts +32 -1
- package/src/pricing.ts +59 -94
- package/src/provider-models/descriptors.ts +2 -0
- package/src/provider-models/openai-compat.ts +60 -59
- package/src/types.ts +11 -4
- package/src/utils.ts +18 -0
- package/src/wire/factory-droid.ts +4 -3
|
@@ -101,12 +101,15 @@ behavior {
|
|
|
101
101
|
quota-tiers provider="factory-droid" {
|
|
102
102
|
tier "core" "inkling" "mistral-large-4" "mistral-medium-3.5" "glm-5.3-flash" "glm-5.3" "glm-5.2" "glm-5.2-fast" \
|
|
103
103
|
"kimi-k3" "qwen3.8-max" "nemotron-3-ultra" "deepseek-v4.1-flash" "deepseek-v4.1-flash-1017" \
|
|
104
|
+
"nemotron-3.5-super" "beam-1.0" \
|
|
104
105
|
"deepseek-v4-flash-0731" "deepseek-v4-pro" "minimax-m3" "minimax-m2.7"
|
|
105
106
|
tier "standard" "claude-fable-5.1" "claude-fable-5" "claude-opus-5-5" "claude-opus-5-5-fast" \
|
|
106
107
|
"claude-opus-5" "claude-opus-5-fast" "claude-opus-4-8" "claude-opus-4-8-fast" "claude-opus-4-7" \
|
|
107
108
|
"claude-opus-4-6" "claude-opus-4-5-20251101" "claude-sonnet-5-5" "claude-sonnet-5" \
|
|
108
109
|
"claude-sonnet-4-6" "claude-sonnet-4-5-20250929" "claude-haiku-5-5" "claude-haiku-4-5-20251001" "gpt-6-astra" \
|
|
109
110
|
"gpt-6.1-sol" "gpt-6-sol" "gpt-6-luna" "gpt-5.6-sol" "gpt-5.6-sol-fast" "gpt-5.6-terra" \
|
|
111
|
+
"gpt-6-astra-ultrafast" "gpt-6.1-sol-ultrafast" "gpt-6.1-terra" "gpt-6-sol-fast" "gpt-6-luna-fast" \
|
|
112
|
+
"muse-spark-open" "muse-spark-1.2" \
|
|
110
113
|
"gpt-5.6-luna" "gpt-5.5" "gpt-5.5-fast" "gpt-5.5-pro" "gpt-5.4" "gpt-5.4-fast" "gpt-5.4-mini" \
|
|
111
114
|
"gpt-5.4-mini-fast" "gpt-5.3-codex" "gpt-5.3-codex-fast" "gpt-5.2" "garnet-07-15" \
|
|
112
115
|
"gemini-3.1-pro-preview" "gemini-3.8-flash" "gemini-3.7-flash" "gemini-3.6-flash" \
|
|
@@ -181,6 +184,13 @@ behavior {
|
|
|
181
184
|
// Helmcode's /v1/models roster lists embedding, rerank, TTS, and STT models
|
|
182
185
|
// beside the chat models (helmcode.com/docs/models).
|
|
183
186
|
exclude-models provider="helmcode" exact="qwen3-embedding" exact="rerank" exact="kokoro" exact="whisper"
|
|
187
|
+
// Scaleway's /v1/models roster lists transcription, embedding, and OCR
|
|
188
|
+
// models beside the chat models (scaleway.com/docs/generative-apis/
|
|
189
|
+
// reference-content/supported-models). gpt-oss-120b is listed as chat, but
|
|
190
|
+
// Scaleway's Chat Completions route does not support its tool calling
|
|
191
|
+
// (reference-content/openai-compatibility recommends the Responses API).
|
|
192
|
+
exclude-models provider="scaleway" prefix="whisper-" prefix="qwen3-embedding-" prefix="bge-" prefix="lightonocr-" \
|
|
193
|
+
exact="gpt-oss-120b"
|
|
184
194
|
// SuperGrok's roster interleaves media models the chat picker cannot
|
|
185
195
|
// serve; the dedicated tool surfaces route them instead.
|
|
186
196
|
exclude-models provider="xai-oauth" exact="grok-imagine-image-quality" exact="grok-imagine-image-2.0" \
|
|
@@ -305,6 +315,8 @@ behavior {
|
|
|
305
315
|
exact="claude-haiku-5-5" exact="claude-haiku-4-5-20251001" exact="atlas-07-21" exact="aster-07-15" \
|
|
306
316
|
exact="minimax-m2.7"
|
|
307
317
|
route "openai-responses" exact="gpt-6-astra" exact="gpt-6.1-sol" exact="gpt-6-sol" exact="gpt-6-luna" \
|
|
318
|
+
exact="gpt-6-astra-ultrafast" exact="gpt-6.1-sol-ultrafast" exact="gpt-6.1-terra" exact="gpt-6-sol-fast" \
|
|
319
|
+
exact="gpt-6-luna-fast" \
|
|
308
320
|
exact="gpt-5.6-sol" exact="gpt-5.6-sol-fast" exact="gpt-5.6-terra" exact="gpt-5.6-luna" \
|
|
309
321
|
exact="gpt-5.5" exact="gpt-5.5-fast" exact="gpt-5.5-pro" exact="gpt-5.4" exact="gpt-5.4-fast" \
|
|
310
322
|
exact="gpt-5.4-mini" exact="gpt-5.4-mini-fast" exact="gpt-5.3-codex" exact="gpt-5.3-codex-fast" \
|
|
@@ -316,6 +328,7 @@ behavior {
|
|
|
316
328
|
route "openai-completions" exact="inkling" exact="mistral-large-4" exact="mistral-medium-3.5" exact="glm-5.3-flash" \
|
|
317
329
|
exact="glm-5.3" exact="glm-5.2" exact="glm-5.2-fast" exact="kimi-k3" exact="qwen3.8-max" \
|
|
318
330
|
exact="nemotron-3-ultra" exact="deepseek-v4.1-flash" exact="deepseek-v4.1-flash-1017" \
|
|
331
|
+
exact="nemotron-3.5-super" exact="muse-spark-open" exact="muse-spark-1.2" exact="beam-1.0" \
|
|
319
332
|
exact="deepseek-v4-flash-0731" exact="deepseek-v4-pro" exact="minimax-m3"
|
|
320
333
|
}
|
|
321
334
|
|