@oh-my-pi/pi-catalog 17.3.8 → 17.4.1

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 (84) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/LICENSE +22 -0
  3. package/THIRD-PARTY-NOTICES.txt +22909 -0
  4. package/dist/types/build.d.ts +5 -0
  5. package/dist/types/discovery/cursor-proto.d.ts +5368 -0
  6. package/dist/types/discovery/devin-proto.d.ts +1549 -0
  7. package/dist/types/discovery/index.d.ts +1 -0
  8. package/dist/types/discovery/protobuf.d.ts +102 -0
  9. package/dist/types/identity/family.d.ts +17 -0
  10. package/dist/types/index.d.ts +1 -0
  11. package/dist/types/model-manager.d.ts +5 -5
  12. package/dist/types/model-tokenizer.d.ts +8 -0
  13. package/dist/types/provider-models/descriptors.d.ts +1 -1
  14. package/dist/types/provider-models/openai-compat.d.ts +3 -1
  15. package/dist/types/types.d.ts +18 -1
  16. package/dist/types/variant-collapse.d.ts +1 -1
  17. package/dist/types/wire/codex.d.ts +21 -0
  18. package/package.json +8 -7
  19. package/src/build.ts +7 -0
  20. package/src/compat/openai.ts +1 -1
  21. package/src/discovery/codex.ts +4 -0
  22. package/src/discovery/cursor-proto.ts +8329 -0
  23. package/src/discovery/cursor.ts +2 -2
  24. package/src/discovery/devin-proto.ts +2037 -0
  25. package/src/discovery/devin.ts +4 -3
  26. package/src/discovery/index.ts +1 -0
  27. package/src/discovery/protobuf.ts +1073 -0
  28. package/src/hosts.ts +22 -1
  29. package/src/identity/family.ts +31 -0
  30. package/src/index.ts +1 -0
  31. package/src/model-cache.ts +3 -3
  32. package/src/model-manager.ts +5 -5
  33. package/src/model-tokenizer.ts +75 -0
  34. package/src/models.json +185025 -2081
  35. package/src/models.ts +6 -5
  36. package/src/provider-models/bundled-references.ts +12 -2
  37. package/src/provider-models/cache-provider-id.ts +4 -2
  38. package/src/provider-models/google.ts +8 -6
  39. package/src/provider-models/openai-compat.ts +269 -96
  40. package/src/types.ts +27 -1
  41. package/src/variant-collapse.ts +37 -1
  42. package/src/wire/codex.ts +54 -0
  43. package/dist/types/discovery/cursor-gen/agent_pb.d.ts +0 -16854
  44. package/dist/types/discovery/devin-gen/buf/validate/validate_pb.d.ts +0 -1715
  45. package/dist/types/discovery/devin-gen/exa/analytics_pb/analytics_pb.d.ts +0 -693
  46. package/dist/types/discovery/devin-gen/exa/api_server_pb/api_server_pb.d.ts +0 -9158
  47. package/dist/types/discovery/devin-gen/exa/auth_pb/auth_pb.d.ts +0 -52
  48. package/dist/types/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.d.ts +0 -276
  49. package/dist/types/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.d.ts +0 -78
  50. package/dist/types/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.d.ts +0 -999
  51. package/dist/types/discovery/devin-gen/exa/chat_pb/chat_pb.d.ts +0 -1704
  52. package/dist/types/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.d.ts +0 -656
  53. package/dist/types/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.d.ts +0 -15014
  54. package/dist/types/discovery/devin-gen/exa/context_module_pb/context_module_pb.d.ts +0 -607
  55. package/dist/types/discovery/devin-gen/exa/cortex_pb/cortex_pb.d.ts +0 -11830
  56. package/dist/types/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.d.ts +0 -248
  57. package/dist/types/discovery/devin-gen/exa/index_pb/index_pb.d.ts +0 -1747
  58. package/dist/types/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.d.ts +0 -509
  59. package/dist/types/discovery/devin-gen/exa/language_server_pb/language_server_pb.d.ts +0 -9048
  60. package/dist/types/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.d.ts +0 -1760
  61. package/dist/types/discovery/devin-gen/exa/prompt_pb/prompt_pb.d.ts +0 -286
  62. package/dist/types/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.d.ts +0 -405
  63. package/dist/types/discovery/devin-gen/exa/trust_pb/trust_pb.d.ts +0 -582
  64. package/src/discovery/cursor-gen/agent_pb.ts +0 -19608
  65. package/src/discovery/devin-gen/buf/validate/validate_pb.ts +0 -1862
  66. package/src/discovery/devin-gen/exa/analytics_pb/analytics_pb.ts +0 -871
  67. package/src/discovery/devin-gen/exa/api_server_pb/api_server_pb.ts +0 -11083
  68. package/src/discovery/devin-gen/exa/auth_pb/auth_pb.ts +0 -71
  69. package/src/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.ts +0 -348
  70. package/src/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.ts +0 -103
  71. package/src/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.ts +0 -1198
  72. package/src/discovery/devin-gen/exa/chat_pb/chat_pb.ts +0 -2063
  73. package/src/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.ts +0 -810
  74. package/src/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.ts +0 -18354
  75. package/src/discovery/devin-gen/exa/context_module_pb/context_module_pb.ts +0 -732
  76. package/src/discovery/devin-gen/exa/cortex_pb/cortex_pb.ts +0 -14277
  77. package/src/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.ts +0 -312
  78. package/src/discovery/devin-gen/exa/index_pb/index_pb.ts +0 -2106
  79. package/src/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.ts +0 -623
  80. package/src/discovery/devin-gen/exa/language_server_pb/language_server_pb.ts +0 -10918
  81. package/src/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.ts +0 -2125
  82. package/src/discovery/devin-gen/exa/prompt_pb/prompt_pb.ts +0 -361
  83. package/src/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.ts +0 -450
  84. package/src/discovery/devin-gen/exa/trust_pb/trust_pb.ts +0 -712
package/CHANGELOG.md CHANGED
@@ -2,6 +2,43 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.4.1] - 2026-08-21
6
+
7
+ ### Added
8
+
9
+ - Added helper functions and constants for reading enterprise ChatGPT workspace data-residency regions from Codex OAuth access tokens and forwarding the residency header to Codex backend endpoints.
10
+
11
+ ### Changed
12
+
13
+ - Preserved API-advertised `tool_mode` metadata (such as `code_mode_only` for GPT-5.6 Code Mode models) on Codex catalog models and types ([#9069](https://github.com/can1357/oh-my-pi/pull/9069)).
14
+ - Added an optional `tokenizer` family field across bundled, discovered, and custom catalog models (`claude-v3`/`v47`/`v5`, Qwen 3.5+, DeepSeek V3/V4/R1, Kimi K2/K3, and GLM-5+), which can also be explicitly overridden in model configuration.
15
+ - Updated subscription Codex GPT-5.6 Sol, Terra, and Luna models to include first-party `cost.longContext` pricing tiers for token inputs exceeding 272K tokens.
16
+
17
+ ### Fixed
18
+
19
+ - Fixed Vercel AI Gateway Muse Spark 1.2 Contributor requests failing with HTTP 400 errors by capping advertised output allowances to the model's 131K limit.
20
+ - Fixed LiteLLM model discovery to route OpenAI models through the Responses API for reasoning summaries in thinking blocks ([#9085](https://github.com/can1357/oh-my-pi/pull/9085)).
21
+ - Fixed OpenCode Console Go and Zen Responses providers rejecting forced tool choices by automatically downgrading forced or named tool selections to `auto`.
22
+ - Fixed OpenCode Go Muse Spark 1.2 and Muse Spark 1.2 Contributor models failing during tool calls or missing reasoning effort levels, ensuring they correctly route to the Responses API with full thinking, context, and multimodal support ([#8957](https://github.com/can1357/oh-my-pi/issues/8957)).
23
+ - Improved OpenCode gateway model discovery to automatically infer the Responses API route for unlisted models from sibling gateways and billing base variants.
24
+ - Fixed Cursor GPT-5.6 (Luna, Sol, and Terra) model discovery creating duplicate rows for each thinking tier by collapsing tiers into unified models with configurable reasoning effort ([#9025](https://github.com/can1357/oh-my-pi/issues/9025)).
25
+ - Fixed Google Gemini CLI model discovery failing with `403 PERMISSION_DENIED` by directing catalog refresh requests to the appropriate Antigravity discovery endpoints ([#8885](https://github.com/can1357/oh-my-pi/issues/8885)).
26
+
27
+ ## [17.4.0] - 2026-08-20
28
+
29
+ ### Added
30
+
31
+ - Models now include an optional `tokenizer` family field across bundled, discovered, and custom models (supporting Claude, Qwen, DeepSeek, Kimi, and GLM families), with support for explicit overrides in model configuration.
32
+ - Added long-context cost tiers (`cost.longContext`) to subscription Codex GPT-5.6 models (Sol, Terra, Luna) matching first-party API pricing above 272K input tokens.
33
+
34
+ ### Changed
35
+
36
+ - Bundled model metadata is prebuilt during generation, reducing catalog startup work.
37
+
38
+ ### Fixed
39
+
40
+ - Fixed tool-call turn failures for `opencode-go/muse-spark-1.2` and related variants by ensuring API transport pins apply to live discovery and automatically inferring response routes for gateway-first OpenCode models ([#8957](https://github.com/can1357/oh-my-pi/issues/8957)).
41
+
5
42
  ## [17.3.8] - 2026-08-19
6
43
 
7
44
  ### Added
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-2026 Can Bölük
4
+ Copyright (c) 2026 Stencil Labs, Inc.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.