@oh-my-pi/pi-catalog 17.3.8 → 17.4.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/types/build.d.ts +5 -0
  3. package/dist/types/discovery/cursor-proto.d.ts +5362 -0
  4. package/dist/types/discovery/devin-proto.d.ts +1549 -0
  5. package/dist/types/discovery/index.d.ts +1 -0
  6. package/dist/types/discovery/protobuf.d.ts +102 -0
  7. package/dist/types/identity/family.d.ts +10 -0
  8. package/dist/types/index.d.ts +1 -0
  9. package/dist/types/model-tokenizer.d.ts +8 -0
  10. package/dist/types/types.d.ts +15 -0
  11. package/package.json +5 -6
  12. package/src/build.ts +7 -0
  13. package/src/discovery/cursor-proto.ts +8322 -0
  14. package/src/discovery/cursor.ts +2 -2
  15. package/src/discovery/devin-proto.ts +2037 -0
  16. package/src/discovery/devin.ts +4 -3
  17. package/src/discovery/index.ts +1 -0
  18. package/src/discovery/protobuf.ts +1073 -0
  19. package/src/hosts.ts +22 -1
  20. package/src/identity/family.ts +21 -0
  21. package/src/index.ts +1 -0
  22. package/src/model-tokenizer.ts +75 -0
  23. package/src/models.json +185020 -2079
  24. package/src/models.ts +6 -5
  25. package/src/provider-models/bundled-references.ts +12 -2
  26. package/src/provider-models/openai-compat.ts +120 -50
  27. package/src/types.ts +24 -0
  28. package/dist/types/discovery/cursor-gen/agent_pb.d.ts +0 -16854
  29. package/dist/types/discovery/devin-gen/buf/validate/validate_pb.d.ts +0 -1715
  30. package/dist/types/discovery/devin-gen/exa/analytics_pb/analytics_pb.d.ts +0 -693
  31. package/dist/types/discovery/devin-gen/exa/api_server_pb/api_server_pb.d.ts +0 -9158
  32. package/dist/types/discovery/devin-gen/exa/auth_pb/auth_pb.d.ts +0 -52
  33. package/dist/types/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.d.ts +0 -276
  34. package/dist/types/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.d.ts +0 -78
  35. package/dist/types/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.d.ts +0 -999
  36. package/dist/types/discovery/devin-gen/exa/chat_pb/chat_pb.d.ts +0 -1704
  37. package/dist/types/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.d.ts +0 -656
  38. package/dist/types/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.d.ts +0 -15014
  39. package/dist/types/discovery/devin-gen/exa/context_module_pb/context_module_pb.d.ts +0 -607
  40. package/dist/types/discovery/devin-gen/exa/cortex_pb/cortex_pb.d.ts +0 -11830
  41. package/dist/types/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.d.ts +0 -248
  42. package/dist/types/discovery/devin-gen/exa/index_pb/index_pb.d.ts +0 -1747
  43. package/dist/types/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.d.ts +0 -509
  44. package/dist/types/discovery/devin-gen/exa/language_server_pb/language_server_pb.d.ts +0 -9048
  45. package/dist/types/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.d.ts +0 -1760
  46. package/dist/types/discovery/devin-gen/exa/prompt_pb/prompt_pb.d.ts +0 -286
  47. package/dist/types/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.d.ts +0 -405
  48. package/dist/types/discovery/devin-gen/exa/trust_pb/trust_pb.d.ts +0 -582
  49. package/src/discovery/cursor-gen/agent_pb.ts +0 -19608
  50. package/src/discovery/devin-gen/buf/validate/validate_pb.ts +0 -1862
  51. package/src/discovery/devin-gen/exa/analytics_pb/analytics_pb.ts +0 -871
  52. package/src/discovery/devin-gen/exa/api_server_pb/api_server_pb.ts +0 -11083
  53. package/src/discovery/devin-gen/exa/auth_pb/auth_pb.ts +0 -71
  54. package/src/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.ts +0 -348
  55. package/src/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.ts +0 -103
  56. package/src/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.ts +0 -1198
  57. package/src/discovery/devin-gen/exa/chat_pb/chat_pb.ts +0 -2063
  58. package/src/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.ts +0 -810
  59. package/src/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.ts +0 -18354
  60. package/src/discovery/devin-gen/exa/context_module_pb/context_module_pb.ts +0 -732
  61. package/src/discovery/devin-gen/exa/cortex_pb/cortex_pb.ts +0 -14277
  62. package/src/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.ts +0 -312
  63. package/src/discovery/devin-gen/exa/index_pb/index_pb.ts +0 -2106
  64. package/src/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.ts +0 -623
  65. package/src/discovery/devin-gen/exa/language_server_pb/language_server_pb.ts +0 -10918
  66. package/src/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.ts +0 -2125
  67. package/src/discovery/devin-gen/exa/prompt_pb/prompt_pb.ts +0 -361
  68. package/src/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.ts +0 -450
  69. package/src/discovery/devin-gen/exa/trust_pb/trust_pb.ts +0 -712
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.4.0] - 2026-08-20
6
+
7
+ ### Added
8
+
9
+ - 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.
10
+ - 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.
11
+
12
+ ### Changed
13
+
14
+ - Bundled model metadata is prebuilt during generation, reducing catalog startup work.
15
+
16
+ ### Fixed
17
+
18
+ - 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)).
19
+
5
20
  ## [17.3.8] - 2026-08-19
6
21
 
7
22
  ### Added
@@ -10,5 +10,10 @@
10
10
  * compat per request.
11
11
  */
12
12
  import type { Api, CompatOf, Model, ModelSpec } from "./types.js";
13
+ /**
14
+ * Build one model from an authored spec. Bundled models.json rows are fully
15
+ * materialized by the generator and consumed directly (see `models.ts`), so
16
+ * this only runs for discovered/custom/override specs.
17
+ */
13
18
  export declare function buildModel<TApi extends Api>(spec: ModelSpec<TApi>): Model<TApi>;
14
19
  export declare function buildCompat(spec: ModelSpec<Api>): CompatOf<Api>;