@jochenyang/opencode-vision 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -103,18 +103,18 @@ MiniMax 的 VLM 接口属于 **Token Plan** 服务,需要使用具备 Token Pl
103
103
  **Windows 系统级配置:**
104
104
  ```powershell
105
105
  [System.Environment]::SetEnvironmentVariable('VISION_API_KEY', 'your-minimax-group-api-key', 'User')
106
- [System.Environment]::SetEnvironmentVariable('VISION_API_URL', 'https://api.minimaxi.com', 'User')
106
+ [System.Environment]::SetEnvironmentVariable('VISION_API_URL', 'https://api.minimax.chat', 'User')
107
107
  REM VISION_MODEL 不需要设置,MiniMax 自动识别
108
108
  ```
109
109
 
110
110
  **macOS / Linux:**
111
111
  ```bash
112
112
  export VISION_API_KEY="your-minimax-group-api-key"
113
- export VISION_API_URL="https://api.minimaxi.com"
113
+ export VISION_API_URL="https://api.minimax.chat"
114
114
  # VISION_MODEL 不需要设置,MiniMax 自动识别
115
115
  ```
116
116
 
117
- > 提示:国内站使用 `https://api.minimaxi.com`,国际站使用 `https://api.minimax.io`。
117
+ > 提示:MiniMax VLM 接口地址与 Chat 模型接口不同,请使用 `https://api.minimax.chat`。
118
118
 
119
119
  设置后**重启终端**生效。
120
120
 
@@ -221,7 +221,7 @@ $env:VISION_MODEL = 'your-vision-model'
221
221
 
222
222
  ```powershell
223
223
  $env:VISION_API_KEY = 'your-minimax-group-api-key'
224
- $env:VISION_API_URL = 'https://api.minimaxi.com'
224
+ $env:VISION_API_URL = 'https://api.minimax.chat'
225
225
  # VISION_MODEL 不需要
226
226
  ```
227
227
 
package/README_en.md CHANGED
@@ -119,18 +119,18 @@ MiniMax's VLM endpoint is part of the **Token Plan** service and requires a Grou
119
119
  **Windows:**
120
120
  ```powershell
121
121
  [System.Environment]::SetEnvironmentVariable('VISION_API_KEY', 'your-minimax-group-api-key', 'User')
122
- [System.Environment]::SetEnvironmentVariable('VISION_API_URL', 'https://api.minimaxi.com', 'User')
122
+ [System.Environment]::SetEnvironmentVariable('VISION_API_URL', 'https://api.minimax.chat', 'User')
123
123
  REM VISION_MODEL is not needed — MiniMax auto-detected
124
124
  ```
125
125
 
126
126
  **macOS / Linux:**
127
127
  ```bash
128
128
  export VISION_API_KEY="your-minimax-group-api-key"
129
- export VISION_API_URL="https://api.minimaxi.com"
129
+ export VISION_API_URL="https://api.minimax.chat"
130
130
  # VISION_MODEL is not needed — MiniMax auto-detected
131
131
  ```
132
132
 
133
- > Note: Use `https://api.minimaxi.com` for China region, `https://api.minimax.io` for global.
133
+ > Note: The MiniMax VLM endpoint uses a different base URL from the Chat API. Use `https://api.minimax.chat`.
134
134
 
135
135
  **Restart your terminal** after setting.
136
136
 
@@ -242,7 +242,7 @@ Auto-detected when the URL contains `minimax`/`minimaxi`. Can also be forced wit
242
242
 
243
243
  ```bash
244
244
  export VISION_API_KEY="your-minimax-group-api-key"
245
- export VISION_API_URL="https://api.minimaxi.com"
245
+ export VISION_API_URL="https://api.minimax.chat"
246
246
  # VISION_MODEL is not needed
247
247
  ```
248
248
 
package/bin/install.js CHANGED
@@ -14,7 +14,7 @@ const FILES = [
14
14
 
15
15
  const ENV_VARS = [
16
16
  { name: "VISION_API_KEY", desc: "视觉 API 密钥 / Vision API key", example: "sk-your-api-key" },
17
- { name: "VISION_API_URL", desc: "视觉 API 地址 / Vision API base URL(MiniMax 也可用)", example: "https://api.minimax.chat" },
17
+ { name: "VISION_API_URL", desc: "视觉 API 地址 / Vision API base URL(MiniMax 也可用)", example: "https://api.minimax.chat(MiniMax 官方)" },
18
18
  { name: "VISION_MODEL", desc: "视觉模型名称 / Vision model name(MiniMax 无需此项)", example: "your-vision-model" },
19
19
  ]
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jochenyang/opencode-vision",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Vision plugin + tool for OpenCode — automatically handles pasted images for non-vision models",
5
5
  "keywords": [
6
6
  "opencode",