jbai-cli 1.5.2 → 1.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/bin/jbai-opencode.js +3 -3
- package/package.json +7 -7
package/bin/jbai-opencode.js
CHANGED
|
@@ -73,14 +73,14 @@ opencodeConfig.provider[providerName] = {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
// Add OpenAI models
|
|
76
|
-
//
|
|
77
|
-
// For
|
|
76
|
+
// OpenCode requires an output limit in the config.
|
|
77
|
+
// For O-series models we keep a larger context window but still set output.
|
|
78
78
|
config.MODELS.openai.available.forEach(model => {
|
|
79
79
|
const isOSeries = /^o[1-9]/.test(model);
|
|
80
80
|
opencodeConfig.provider[providerName].models[model] = {
|
|
81
81
|
name: model,
|
|
82
82
|
limit: isOSeries
|
|
83
|
-
? { context: 200000
|
|
83
|
+
? { context: 200000, output: 8192 }
|
|
84
84
|
: { context: 128000, output: 8192 }
|
|
85
85
|
};
|
|
86
86
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jbai-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "CLI wrappers to use AI coding tools (Claude Code, Codex, Gemini CLI, OpenCode) with JetBrains AI Platform",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jetbrains",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "https://github.com/JetBrains/jbai-cli"
|
|
21
|
+
"url": "git+https://github.com/JetBrains/jbai-cli.git"
|
|
22
22
|
},
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/JetBrains/jbai-cli/issues"
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/JetBrains/jbai-cli#readme",
|
|
27
27
|
"bin": {
|
|
28
|
-
"jbai": "
|
|
29
|
-
"jbai-claude": "
|
|
30
|
-
"jbai-codex": "
|
|
31
|
-
"jbai-gemini": "
|
|
32
|
-
"jbai-opencode": "
|
|
28
|
+
"jbai": "bin/jbai.js",
|
|
29
|
+
"jbai-claude": "bin/jbai-claude.js",
|
|
30
|
+
"jbai-codex": "bin/jbai-codex.js",
|
|
31
|
+
"jbai-gemini": "bin/jbai-gemini.js",
|
|
32
|
+
"jbai-opencode": "bin/jbai-opencode.js"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"bin/",
|