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.
@@ -73,14 +73,14 @@ opencodeConfig.provider[providerName] = {
73
73
  };
74
74
 
75
75
  // Add OpenAI models
76
- // O-series models (o1, o3, o4) don't support max_tokens, they use max_completion_tokens
77
- // For these models, we omit the output limit to prevent the SDK from sending max_tokens
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 } // O-series have larger context, no output limit
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.2",
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/",