wot-ui-cli 1.1.0 发布:支持 OpenCode、Antigravity,wot-ui 图标迁移不再靠猜

📅 2026/8/21 22:21:44
wot-ui-cli 1.1.0 发布:支持 OpenCode、Antigravity,wot-ui 图标迁移不再靠猜
大家好我是不如摸鱼去wot-ui 的发起人欢迎来到我的 AI Coding 分享专栏。wot-ui/cli1.1.0 已于 2026 年 8 月 19 日正式发布。这次新增 OpenCode 和 Antigravity 接入支持的 AI 编程客户端增至 6 个open-wot 仓库 skills 补齐 295 个 v1 图标的人工审核数据离线组件知识也同步到了 wot-ui 2.3.2。本次没有明确的 breaking changes已经在使用 1.0.6 的项目可以直接升级。AI 客户端从 4 个增加到 6 个1.1.0 新增 OpenCode 和 Antigravity目前支持客户端client id项目配置Claude Codeclaude.mcp.jsonCursorcursor.cursor/mcp.jsonVS Codevscode.vscode/mcp.jsonCodexcodex.codex/config.tomlOpenCodeopencodeopencode.json/opencode.jsoncAntigravityantigravity.agents/mcp_config.json接入方式还是熟悉的两条命令wot agent init--clientopencode wot agent doctor--clientopencode wot agent init--clientantigravity wot agent doctor--clientantigravity多个客户端也可以一次处理wot agent init--clientall wot agent doctor--clientall--timeout30000OpenCode 支持项目级和用户级配置。CLI 会识别opencode.json[c]、.opencode/opencode.json[c]和~/.config/opencode/opencode.json保留原有配置与 JSONC 注释并检查 MCP 注册、审批状态和工具权限过滤。Antigravity 的项目配置是.agents/mcp_config.json用户配置是~/.gemini/config/mcp_config.json。CLI 会检查disabled和disabledTools由于客户端没有稳定的非交互式状态命令doctor会提示你在 Antigravity 内运行/mcp做最后确认。Agent 接入仍由 MCP Server、wot-ui-v2Skill 和 Instructions 组成。OpenCode 与 Antigravity 都会复用.agents/skills/wot-ui-v2和根目录AGENTS.mdAntigravity 1.20.5 及以上版本可以读取项目规则。MCP Server 提供 8 个工具wot_status、wot_list、wot_info、wot_doc、wot_demo、wot_token、wot_changelog和wot_lint。295 个 v1 图标完成逐项审核v1 升 v2 时图标不能只看名字猜。比如add可以换成plus但还有不少图标在新版中没有合适的直接对应项。这次 open-wot 仓库内的migrate-v1-to-v2Skill 新增icons.json和完整迁移流程审核范围为 wot-ui v1.14.0 到 v2.3.2审核结果数量v1 图标总数295有推荐映射194其中同名50其中改名144没有合适的直接对应项101待审核0常见改名包括v1v2v1v2addplusadd-circleplus-circledecreaseminusarrow-leftleftsearchsearch-linemoremore-verticalpictureimageeye-closeeye-invisiblesettingsettingshelpquestionfullsreenfullscreen映射表不是全局替换脚本。迁移时还要检查wd-icon的nameicon、iconClass、activeIcon、inactiveIconprefixIcon、suffixIcon对象配置和动态绑定中的图标值有推荐映射的静态图标可以按表处理noMatch、动态值和自定义图标需要人工判断。替换后也要回归大小写、业务语义和视觉效果。migrate-v1-to-v2是 open-wot 仓库内的迁移 Skill 和配套资产不在wot-ui/cli1.1.0 的 npm 默认发布文件中。wot agent init默认安装的仍然是wot-ui-v2Skill。离线知识同步到 wot-ui 2.3.21.1.0 新增data/v2.3.1.json和data/v2.3.2.json每份包含 90 个组件。2.3alias 从 2.3.0 更新到 2.3.2data/v2.json也同步到了最新版。wot info Button--version2.3.2 wot demo Button--version2.3.2 wot token Button--version2.3.2 wot changelog--version2.3.2这些数据随 npm 包安装。CLI 和 MCP 无需在线文档 API 或密钥也能查询与版本匹配的组件 API、Demo、Token 和 Changelog。其他更新官网更换了 Logo支持恢复默认主题色和锚点平滑滚动并接入百度统计。beta 版本现在使用 npmbetadist-tag不会占用latest。仓库还新增了 Bug、Feature Issue 模板和 PR 模板并补充 npm keywords 与 funding 信息。从 v1.0.6 到 v1.1.0 共 14 个 commits、45 个文件发生变化。对比中的 42,781 行新增主要来自离线数据快照不代表功能代码膨胀了四万多行。升级与接入需要 Node.js 20 或更高版本。npminstall-gwot-ui/clilatest wot agent init--clientclientwot agent doctor--clientclientclient支持claude、cursor、vscode、codex、opencode、antigravity和all。想先确认会修改哪些文件可以使用wot agent init--clientopencode --dry-run完整文档已经更新到官网https://cli.wot-ui.cn/少猜一个 API少错一个图标省下来的时间就可以安心摸鱼了。相关资源Open Wot 官网https://cli.wot-ui.cn/wot-ui/cli1.1.0https://www.npmjs.com/package/wot-ui/cli/v/1.1.0GitHub Releasehttps://github.com/wot-ui/open-wot/releases/tag/v1.1.0版本对比https://github.com/wot-ui/open-wot/compare/v1.0.6…v1.1.0Open Wot GitHubhttps://github.com/wot-ui/open-wot