Skip to content

模型列表改用 desktop 身份,agent 运行仍用 cli - #3

Merged
spancerxing merged 1 commit into
spancerxing:mainfrom
dovela:catalog-client-identity
Nov 12, 2026
Merged

spancerxing merged 1 commit into
spancerxing:mainfrom
dovela:catalog-client-identity

Conversation

@dovela

@dovela dovela commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

某些 Cursor team 账号上,cli 身份的模型列表不包含 claude-opus-5-5,desktop 身份下列得出来。若把 agent 运行也改成 desktop,Grok 会调用 Cursor 自己的 Write,参数是 contents 和 path。这个插件只翻译 MCP 工具,OpenCode 的 write 要的是 content。客户端返回 Invalid arguments for tool "write": content: Missing key。下一轮模型不再发起工具调用,而是用文字叙述写入。因此目录接口用 desktop,agent 运行、鉴权和额度仍用 cli,请求里的 client type 也保持 cli。go test ./... 已通过。

Made with Cursor

Desktop is required for the model list, while agent runs stay on the cli client so tool calls keep the protocol this plugin translates.

Co-authored-by: Cursor <cursoragent@cursor.com>
@spancerxing
spancerxing merged commit 3212617 into spancerxing:main Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants