@polka-codes/cli 0.9.60 → 0.9.61
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/dist/index.js +20 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35579,7 +35579,7 @@ var {
|
|
|
35579
35579
|
Help
|
|
35580
35580
|
} = import__.default;
|
|
35581
35581
|
// package.json
|
|
35582
|
-
var version = "0.9.
|
|
35582
|
+
var version = "0.9.61";
|
|
35583
35583
|
|
|
35584
35584
|
// src/commands/code.ts
|
|
35585
35585
|
import { readFile as readFile3 } from "node:fs/promises";
|
|
@@ -77808,7 +77808,8 @@ var prices_default = {
|
|
|
77808
77808
|
"claude-sonnet-4-20250514": { inputPrice: 3, outputPrice: 15, cacheWritesPrice: 3.75, cacheReadsPrice: 0.3, supportsThinking: true },
|
|
77809
77809
|
"claude-3-7-sonnet-20250219": { inputPrice: 3, outputPrice: 15, cacheWritesPrice: 3.75, cacheReadsPrice: 0.3, supportsThinking: true },
|
|
77810
77810
|
"claude-3-5-sonnet-20241022": { inputPrice: 3, outputPrice: 15, cacheWritesPrice: 3.75, cacheReadsPrice: 0.3, supportsThinking: false },
|
|
77811
|
-
"claude-3-5-haiku-20241022": { inputPrice: 0.8, outputPrice: 4, cacheWritesPrice: 1, cacheReadsPrice: 0.08, supportsThinking: false }
|
|
77811
|
+
"claude-3-5-haiku-20241022": { inputPrice: 0.8, outputPrice: 4, cacheWritesPrice: 1, cacheReadsPrice: 0.08, supportsThinking: false },
|
|
77812
|
+
"claude-haiku-4-5-20250929": { inputPrice: 1, outputPrice: 5, cacheWritesPrice: 1.25, cacheReadsPrice: 0.1, supportsThinking: false }
|
|
77812
77813
|
},
|
|
77813
77814
|
["ollama" /* Ollama */]: {},
|
|
77814
77815
|
["deepseek" /* DeepSeek */]: {
|
|
@@ -77817,19 +77818,28 @@ var prices_default = {
|
|
|
77817
77818
|
},
|
|
77818
77819
|
["openrouter" /* OpenRouter */]: {},
|
|
77819
77820
|
["openai" /* OpenAI */]: {
|
|
77820
|
-
"gpt-5-2025-08-07": { inputPrice: 1.25, outputPrice: 10, cacheWritesPrice: 0, cacheReadsPrice: 0.125, supportsThinking:
|
|
77821
|
+
"gpt-5-2025-08-07": { inputPrice: 1.25, outputPrice: 10, cacheWritesPrice: 0, cacheReadsPrice: 0.125, supportsThinking: true },
|
|
77821
77822
|
"gpt-5-mini-2025-08-07": { inputPrice: 0.25, outputPrice: 2, cacheWritesPrice: 0, cacheReadsPrice: 0.025, supportsThinking: false },
|
|
77822
|
-
"gpt-5-nano-2025-08-07": { inputPrice: 0.05, outputPrice: 0.4, cacheWritesPrice: 0, cacheReadsPrice: 0.005, supportsThinking: false }
|
|
77823
|
+
"gpt-5-nano-2025-08-07": { inputPrice: 0.05, outputPrice: 0.4, cacheWritesPrice: 0, cacheReadsPrice: 0.005, supportsThinking: false },
|
|
77824
|
+
"gpt-5.1-2025-11-13": { inputPrice: 1.25, outputPrice: 10, cacheWritesPrice: 0, cacheReadsPrice: 0.125, supportsThinking: true },
|
|
77825
|
+
"gpt-5.1-codex": { inputPrice: 1.25, outputPrice: 10, cacheWritesPrice: 0, cacheReadsPrice: 0.125, supportsThinking: true }
|
|
77823
77826
|
},
|
|
77824
77827
|
["google-vertex" /* GoogleVertex */]: {
|
|
77825
|
-
"gemini-2.5-pro": { inputPrice: 1.25, outputPrice: 10, cacheWritesPrice:
|
|
77828
|
+
"gemini-2.5-pro": { inputPrice: 1.25, outputPrice: 10, cacheWritesPrice: 1.625, cacheReadsPrice: 0.125, supportsThinking: true },
|
|
77826
77829
|
"gemini-2.5-flash": { inputPrice: 0.3, outputPrice: 2.5, cacheWritesPrice: 0, cacheReadsPrice: 0.075, supportsThinking: true },
|
|
77827
77830
|
"gemini-2.5-flash-lite": { inputPrice: 0.1, outputPrice: 0.4, cacheWritesPrice: 0, cacheReadsPrice: 0.025, supportsThinking: false },
|
|
77828
|
-
"gemini-
|
|
77829
|
-
inputPrice:
|
|
77830
|
-
outputPrice:
|
|
77831
|
-
cacheWritesPrice:
|
|
77832
|
-
cacheReadsPrice: 0.
|
|
77831
|
+
"gemini-3-pro-preview": {
|
|
77832
|
+
inputPrice: 2,
|
|
77833
|
+
outputPrice: 12,
|
|
77834
|
+
cacheWritesPrice: 2.375,
|
|
77835
|
+
cacheReadsPrice: 0.2,
|
|
77836
|
+
supportsThinking: true
|
|
77837
|
+
},
|
|
77838
|
+
"gemini-3-pro": {
|
|
77839
|
+
inputPrice: 2,
|
|
77840
|
+
outputPrice: 12,
|
|
77841
|
+
cacheWritesPrice: 2.375,
|
|
77842
|
+
cacheReadsPrice: 0.2,
|
|
77833
77843
|
supportsThinking: true
|
|
77834
77844
|
}
|
|
77835
77845
|
}
|