@oh-my-pi/pi-ai 14.5.2 → 14.5.3

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 CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [14.5.3] - 2026-04-27
6
+ ### Added
7
+
8
+ - Added `fireworks` as a supported provider with API key login flow and credential storage
9
+ - Added Fireworks model catalog support with `fireworks`-scoped openai-completions models `glm-5`, `glm-5.1`, `kimi-k2.5`, `kimi-k2.6`, and `minimax-m2.7`
10
+ - Added built-in discovery wiring so providers with base URL `api.fireworks.ai` are recognized as OpenAI-compatible and can use streaming token control
11
+
12
+ ### Changed
13
+
14
+ - Updated the built-in model catalog to use corrected `contextWindow` and `maxTokens` values for many existing models instead of placeholder limits
15
+ - Updated several model cost entries, including cache-read pricing, to corrected values
16
+
17
+ ### Fixed
18
+
19
+ - Fixed Fireworks request formatting by translating between public model IDs and API wire IDs when sending OpenAI-completions requests
20
+ - Fixed OpenAI-compatible model parameter handling for Fireworks by allowing `max_tokens` to be sent during requests
21
+
5
22
  ## [14.5.1] - 2026-04-26
6
23
 
7
24
  ### Fixed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-ai",
4
- "version": "14.5.2",
4
+ "version": "14.5.3",
5
5
  "description": "Unified LLM API with automatic model discovery and provider configuration",
6
6
  "homepage": "https://github.com/can1357/oh-my-pi",
7
7
  "author": "Can Boluk",
@@ -46,8 +46,8 @@
46
46
  "@aws-sdk/credential-provider-node": "^3.972.36",
47
47
  "@bufbuild/protobuf": "^2.12.0",
48
48
  "@google/genai": "^1.50.1",
49
- "@oh-my-pi/pi-natives": "14.5.2",
50
- "@oh-my-pi/pi-utils": "14.5.2",
49
+ "@oh-my-pi/pi-natives": "14.5.3",
50
+ "@oh-my-pi/pi-utils": "14.5.3",
51
51
  "@sinclair/typebox": "^0.34.49",
52
52
  "@smithy/node-http-handler": "^4.6.1",
53
53
  "ajv": "^8.20.0",
@@ -36,6 +36,7 @@ import { loginAnthropic } from "./utils/oauth/anthropic";
36
36
  import { loginCerebras } from "./utils/oauth/cerebras";
37
37
  import { loginCloudflareAiGateway } from "./utils/oauth/cloudflare-ai-gateway";
38
38
  import { loginCursor } from "./utils/oauth/cursor";
39
+ import { loginFireworks } from "./utils/oauth/fireworks";
39
40
  import { loginGitHubCopilot } from "./utils/oauth/github-copilot";
40
41
  import { loginGitLabDuo } from "./utils/oauth/gitlab-duo";
41
42
  import { loginAntigravity } from "./utils/oauth/google-antigravity";
@@ -849,6 +850,11 @@ export class AuthStorage {
849
850
  await saveApiKeyCredential(apiKey);
850
851
  return;
851
852
  }
853
+ case "fireworks": {
854
+ const apiKey = await loginFireworks(ctrl);
855
+ await saveApiKeyCredential(apiKey);
856
+ return;
857
+ }
852
858
  case "zai": {
853
859
  const apiKey = await loginZai(ctrl);
854
860
  await saveApiKeyCredential(apiKey);