@polka-codes/cli 0.9.8 → 0.9.9
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 +6 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -39731,7 +39731,7 @@ var {
|
|
|
39731
39731
|
Help
|
|
39732
39732
|
} = import__.default;
|
|
39733
39733
|
// package.json
|
|
39734
|
-
var version = "0.9.
|
|
39734
|
+
var version = "0.9.9";
|
|
39735
39735
|
|
|
39736
39736
|
// ../../node_modules/@inquirer/core/dist/esm/lib/key.js
|
|
39737
39737
|
var isUpKey = (key) => key.name === "up" || key.name === "k" || key.ctrl && key.name === "p";
|
|
@@ -103987,7 +103987,11 @@ var getModel = (config5, debugLogging = false) => {
|
|
|
103987
103987
|
const openrouter2 = createOpenRouter({
|
|
103988
103988
|
apiKey: config5.apiKey,
|
|
103989
103989
|
baseURL: config5.baseUrl,
|
|
103990
|
-
fetch: fetchOverride
|
|
103990
|
+
fetch: fetchOverride,
|
|
103991
|
+
headers: {
|
|
103992
|
+
"HTTP-Referer": "https://polka.codes",
|
|
103993
|
+
"X-Title": "Polka Codes"
|
|
103994
|
+
}
|
|
103991
103995
|
});
|
|
103992
103996
|
return openrouter2.chat(config5.model, {
|
|
103993
103997
|
usage: { include: true }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polka-codes/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"author": "github@polka.codes",
|
|
6
6
|
"type": "module",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"@ai-sdk/provider-utils": "3.0.0-beta.5",
|
|
26
26
|
"@inquirer/prompts": "^7.8.0",
|
|
27
27
|
"@openrouter/ai-sdk-provider": "^1.0.0-beta.6",
|
|
28
|
-
"@polka-codes/cli-shared": "0.9.
|
|
29
|
-
"@polka-codes/core": "0.9.
|
|
28
|
+
"@polka-codes/cli-shared": "0.9.8",
|
|
29
|
+
"@polka-codes/core": "0.9.8",
|
|
30
30
|
"ai": "5.0.0-beta.24",
|
|
31
|
-
"commander": "^
|
|
31
|
+
"commander": "^14.0.0",
|
|
32
32
|
"dotenv": "^16.4.7",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"ollama-ai-provider-v2": "1.0.0-alpha.3",
|