opencode-cursor-proxy 1.0.1 → 1.0.2
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 +4 -1
- package/README.zh-CN.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Add the plugin and provider to your `opencode.json`:
|
|
|
38
38
|
```json
|
|
39
39
|
{
|
|
40
40
|
"$schema": "https://opencode.ai/config.json",
|
|
41
|
-
"plugin": ["opencode-cursor-proxy@
|
|
41
|
+
"plugin": ["opencode-cursor-proxy@v1.0.2"],
|
|
42
42
|
"provider": {
|
|
43
43
|
"cursor": { "name": "Cursor" }
|
|
44
44
|
}
|
|
@@ -59,6 +59,9 @@ Then:
|
|
|
59
59
|
2. Enter **"cursor"** as the provider name
|
|
60
60
|
3. Select **"OAuth with Cursor"**
|
|
61
61
|
4. Complete the browser-based OAuth flow
|
|
62
|
+
5. Use `opencode models` to verify that the cursor provider is available. You should see output similar to:
|
|
63
|
+
|
|
64
|
+

|
|
62
65
|
|
|
63
66
|
## Standalone proxy server (optional, for development)
|
|
64
67
|
|
package/README.zh-CN.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
```json
|
|
39
39
|
{
|
|
40
40
|
"$schema": "https://opencode.ai/config.json",
|
|
41
|
-
"plugin": ["opencode-cursor-proxy@
|
|
41
|
+
"plugin": ["opencode-cursor-proxy@1.0.2"],
|
|
42
42
|
"provider": {
|
|
43
43
|
"cursor": { "name": "Cursor" }
|
|
44
44
|
}
|
|
@@ -59,6 +59,9 @@ opencode auth login
|
|
|
59
59
|
2. 输入 **"cursor"** 作为提供商名称
|
|
60
60
|
3. 选择 **"OAuth with Cursor"**
|
|
61
61
|
4. 完成基于浏览器的 OAuth 流程
|
|
62
|
+
5. 使用opencode models 查看当前支持的模型是否包含cursor, 你将会看到如下输出:
|
|
63
|
+
|
|
64
|
+

|
|
62
65
|
|
|
63
66
|
## 开发:独立代理服务器(可选)
|
|
64
67
|
|