jbai-cli 1.5.1 → 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.
@@ -73,10 +73,15 @@ opencodeConfig.provider[providerName] = {
73
73
  };
74
74
 
75
75
  // Add OpenAI models
76
+ // OpenCode requires an output limit in the config.
77
+ // For O-series models we keep a larger context window but still set output.
76
78
  config.MODELS.openai.available.forEach(model => {
79
+ const isOSeries = /^o[1-9]/.test(model);
77
80
  opencodeConfig.provider[providerName].models[model] = {
78
81
  name: model,
79
- limit: { context: 128000, output: 8192 }
82
+ limit: isOSeries
83
+ ? { context: 200000, output: 8192 }
84
+ : { context: 128000, output: 8192 }
80
85
  };
81
86
  });
82
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jbai-cli",
3
- "version": "1.5.1",
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": "./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"
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/",