@oh-my-pi/pi-catalog 18.2.6 → 18.2.7

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 (56) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/THIRD-PARTY-NOTICES.txt +0 -37
  3. package/dist/types/build.d.ts +7 -1
  4. package/dist/types/compat/auth-ids.d.ts +1 -1
  5. package/dist/types/compat/axes.d.ts +1 -1
  6. package/dist/types/compat/cascade.d.ts +3 -2
  7. package/dist/types/compat/provider-ids.d.ts +1 -1
  8. package/dist/types/compat/resolve.d.ts +2 -0
  9. package/dist/types/compat/taxonomy.d.ts +2 -2
  10. package/dist/types/compat/types.d.ts +18 -7
  11. package/dist/types/discovery/index.d.ts +1 -0
  12. package/dist/types/discovery/openai-compatible.d.ts +2 -0
  13. package/dist/types/discovery/typesafe.d.ts +26 -0
  14. package/dist/types/model-manager.d.ts +1 -1
  15. package/dist/types/provider-models/openai-compat.d.ts +6 -4
  16. package/dist/types/provider-models/special.d.ts +10 -0
  17. package/dist/types/types.d.ts +20 -0
  18. package/package.json +4 -4
  19. package/src/build.ts +27 -5
  20. package/src/compat/auth-ids.ts +2 -0
  21. package/src/compat/axes.ts +9 -1
  22. package/src/compat/cascade.ts +45 -23
  23. package/src/compat/provider-ids.ts +3 -0
  24. package/src/compat/resolve.ts +24 -14
  25. package/src/compat/rules/README.md +5 -3
  26. package/src/compat/rules/auth/local.kdl +4 -0
  27. package/src/compat/rules/auth/typesafe.kdl +3 -6
  28. package/src/compat/rules/auth/web.kdl +4 -0
  29. package/src/compat/rules/classes/qwen.kdl +6 -5
  30. package/src/compat/rules/providers/anthropic.kdl +1 -0
  31. package/src/compat/rules/providers/deepinfra.kdl +28 -0
  32. package/src/compat/rules/providers/google-antigravity.kdl +17 -0
  33. package/src/compat/rules/providers/google.kdl +9 -0
  34. package/src/compat/rules/providers/llama.cpp.kdl +23 -0
  35. package/src/compat/rules/providers/local.kdl +110 -0
  36. package/src/compat/rules/providers/openai-codex.kdl +18 -0
  37. package/src/compat/rules/providers/openai.kdl +3 -0
  38. package/src/compat/rules/providers/openrouter.kdl +24 -0
  39. package/src/compat/rules/providers/typesafe.kdl +21 -0
  40. package/src/compat/rules/providers/web.kdl +153 -0
  41. package/src/compat/rules/providers/xai-oauth.kdl +26 -0
  42. package/src/compat/rules/providers/xai.kdl +22 -0
  43. package/src/compat/rules/runtime/behavior.kdl +2 -1
  44. package/src/compat/rules/taxonomy/qwen.kdl +2 -0
  45. package/src/compat/rules.json +1 -1
  46. package/src/compat/taxonomy.ts +92 -31
  47. package/src/compat/types.ts +22 -7
  48. package/src/discovery/index.ts +1 -0
  49. package/src/discovery/openai-compatible.ts +4 -1
  50. package/src/discovery/typesafe.ts +118 -0
  51. package/src/model-manager.ts +44 -15
  52. package/src/models.json +1 -1
  53. package/src/provider-models/descriptors.ts +6 -0
  54. package/src/provider-models/openai-compat.ts +246 -79
  55. package/src/provider-models/special.ts +53 -0
  56. package/src/types.ts +33 -0
@@ -4,6 +4,11 @@ provider "xai-oauth" {
4
4
  default-model "grok-4.6"
5
5
  env "XAI_OAUTH_TOKEN" "XAI_API_KEY"
6
6
  discovery label="xAI Grok OAuth (SuperGrok)" oauth-provider="xai-oauth"
7
+ kind-apis {
8
+ image "openai-images"
9
+ tts "xai-tts"
10
+ }
11
+ web-search "xai"
7
12
 
8
13
  // Source of truth for the xai-oauth chat picker. Declaration order is headline order.
9
14
  // Context windows from hermes-agent/agent/model_metadata.py:205-220
@@ -82,6 +87,27 @@ provider "xai-oauth" {
82
87
  cost input=0 output=0 cache-read=0 cache-write=0
83
88
  limits context=200000 max-tokens=200000
84
89
  }
90
+ model "grok-tts" name="Grok TTS" api="xai-tts" {
91
+ reasoning #false
92
+ input "text"
93
+ cost input=0 output=0 cache-read=0 cache-write=0
94
+ limits
95
+ supports-tools #false
96
+ }
97
+ model "grok-imagine-image" name="Grok Imagine Image" api="openai-images" {
98
+ reasoning #false
99
+ input "text" "image"
100
+ cost input=0 output=0 cache-read=0 cache-write=0
101
+ limits
102
+ supports-tools #false
103
+ }
104
+ }
105
+
106
+ models "grok-imagine-image" {
107
+ kind "image"
108
+ }
109
+ models "grok-tts" {
110
+ kind "tts"
85
111
  }
86
112
 
87
113
  // Replaces the provider-keyed prompt-cache session-header baseline.
@@ -3,6 +3,28 @@
3
3
  provider "xai" {
4
4
  default-model "grok-4.6"
5
5
  env "XAI_API_KEY"
6
+ kind-apis {
7
+ image "openai-images"
8
+ tts "xai-tts"
9
+ }
10
+ web-search "xai"
11
+
12
+ seed api="xai-tts" base-url="https://api.x.ai/v1" bundle="always" {
13
+ model "grok-tts" name="Grok TTS" {
14
+ reasoning #false
15
+ input "text"
16
+ cost input=0 output=0 cache-read=0 cache-write=0
17
+ limits
18
+ supports-tools #false
19
+ }
20
+ }
21
+
22
+ models "grok-imagine-image" {
23
+ kind "image"
24
+ }
25
+ models "grok-tts" {
26
+ kind "tts"
27
+ }
6
28
 
7
29
  // Replaces the provider-keyed prompt-cache session-header baseline.
8
30
  prompt-cache-session-header "x-grok-conv-id"
@@ -140,7 +140,8 @@ behavior {
140
140
  exclude-models provider="xiaomi-token-plan-sgp" substring="-tts" substring="-asr"
141
141
  // SuperGrok's roster interleaves media models the chat picker cannot
142
142
  // serve; the dedicated tool surfaces route them instead.
143
- exclude-models provider="xai-oauth" prefix="grok-imagine-" prefix="grok-stt-" prefix="grok-voice-"
143
+ exclude-models provider="xai-oauth" exact="grok-imagine-image-quality" exact="grok-imagine-image-2.0" \
144
+ exact="grok-imagine-video" exact="grok-imagine-video-1.5" prefix="grok-stt-" prefix="grok-voice-"
144
145
  // Meta's /v1/models lists image generation and transcription SKUs beside
145
146
  // the Muse Spark chat models.
146
147
  exclude-models provider="meta" prefix="muse-image-" prefix="muse-voice-"
@@ -13,6 +13,8 @@ class "qwen" {
13
13
  revision prefix="qwen"
14
14
 
15
15
  override id="yolo-auto-yolo-flash-identity" provider="yolo-auto" model="yolo" class="qwen" revision="3.8" rationale="Yolo-Auto's paid yolo route is initially backed by the same Qwen3.8 Flash deployment as qwen3.8-flash; the opaque alias carries no lineage tokens" provenance="yolo-auto.com/models (2026-09)"
16
+ override id="prismml-bonsai-27b-qwen-3-6" glob="*bonsai-27b*" class="qwen" revision="3.6" rationale="Reviewed PrismML Bonsai and Ternary-Bonsai 27B lineage is Qwen3.6-27B; the wire basename may carry a prefix or GGUF quantization suffix" provenance="packages/coding-agent/src/config/model-discovery.ts; original reviewed alias e3aa6594e5"
17
+ override id="prismml-bonsai-2-27b-qwen-3-8" glob="*bonsai-2-27b*" class="qwen" revision="3.8" rationale="Reviewed PrismML Bonsai 2 27B lineage is Qwen3.8-27B; the wire basename may carry a prefix or GGUF quantization suffix" provenance="packages/coding-agent/src/config/model-discovery.ts"
16
18
  override id="kilo-qwq-32b-family" provider="kilo" model="qwq-32b" logical="qwen/qwq-32b" class="qwen" rationale="The reviewed Kilo QwQ deployment belongs to the Qwen family despite its opaque product spelling" provenance="fixtures/llm-oracle/catalog/models.normalized.json"
17
19
  override id="nanogpt-eva-qwen-2-5-family" provider="nanogpt" model="EVA-Qwen2.5-32B-v0.2" logical="EVA-UNIT-01/EVA-Qwen2.5-32B-v0.2" class="qwen" rationale="The reviewed EVA deployment is a Qwen 2.5 derivative despite its opaque product namespace" provenance="fixtures/llm-oracle/catalog/models.normalized.json"
18
20
  override id="nanogpt-eva-qwen-2-5-72b-family" provider="nanogpt" model="EVA-Qwen2.5-72B-v0.2" logical="EVA-UNIT-01/EVA-Qwen2.5-72B-v0.2" class="qwen" rationale="The reviewed EVA 72B deployment is a Qwen 2.5 derivative despite its opaque product namespace" provenance="fixtures/llm-oracle/catalog/models.normalized.json"