diff --git a/plugins/hanzijie/cq-viewer/.minimax-plugin/plugin.json b/plugins/hanzijie/cq-viewer/.minimax-plugin/plugin.json index 94d9142e..3494bea0 100644 --- a/plugins/hanzijie/cq-viewer/.minimax-plugin/plugin.json +++ b/plugins/hanzijie/cq-viewer/.minimax-plugin/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "name": "cq-viewer", "displayName": "CadQuery Viewer", - "version": "1.2.0", + "version": "1.2.1", "description": "本地 3D 模型查看器:浏览项目文件夹里的 STL / STEP(保留装配零件名称、颜色和真实边线),接收 CadQuery 脚本推送的模型,在模型上标注位置并一键发给 AI。AI 可以通过 MCP 工具登记模型文件夹、在查看器里打开模型;内置 flowful-ai 的 CadQuery 参数化建模 skill。", "author": "HanZijie, flowful-ai", "icon": "icon.png", @@ -10,9 +10,7 @@ "exampleQueries": [ "打开 CadQuery Viewer 看一下这个项目里的模型", "用 CadQuery Viewer 打开这个 STEP 装配", - "我在 Viewer 里标注了几个位置,读一下再改模型", - "用 CadQuery 设计一个带安装孔的支架,做好后在 Viewer 里打开", - "把这个项目文件夹添加到 CadQuery Viewer" + "我在 Viewer 里标注了几个位置,读一下再改模型" ], "apps": [], "mcpServers": [ diff --git a/plugins/hanzijie/cq-viewer/README.md b/plugins/hanzijie/cq-viewer/README.md index c05a6008..ac32b634 100644 --- a/plugins/hanzijie/cq-viewer/README.md +++ b/plugins/hanzijie/cq-viewer/README.md @@ -9,7 +9,7 @@ A local 3D viewer for MiniMax Code. Open STL and STEP models from your project folder — STEP assemblies keep their part names, colours, and real CAD edges — watch models pushed live from CadQuery scripts, then mark positions on the model and send them to the conversation in one click, so the AI knows exactly which face, hole, or edge you mean. The AI can register model folders and open models in the viewer through MCP tools, and the package bundles flowful-ai's CadQuery parametric-design skill. -Authors: [HanZijie](https://github.com/HanZijie) · [flowful-ai](https://github.com/flowful-ai) (bundled CadQuery skill) · Version: `1.2.0` +Authors: [HanZijie](https://github.com/HanZijie) · [flowful-ai](https://github.com/flowful-ai) (bundled CadQuery skill) · Version: `1.2.1` ![CadQuery Viewer: a STEP assembly with three annotations ready to send](docs/preview.jpg) diff --git a/plugins/hanzijie/cq-viewer/README.zh-CN.md b/plugins/hanzijie/cq-viewer/README.zh-CN.md index 2a98b352..8ca9fb51 100644 --- a/plugins/hanzijie/cq-viewer/README.zh-CN.md +++ b/plugins/hanzijie/cq-viewer/README.zh-CN.md @@ -9,7 +9,7 @@ MiniMax Code 里的本地 3D 模型查看器。打开项目文件夹里的 STL 和 STEP(STEP 装配保留零件名称、颜色和真实 CAD 边线),实时显示 CadQuery 脚本推送的模型,在模型上标出位置后一键发到对话里,让 AI 准确知道你说的是哪个面、哪个孔、哪条边。AI 可以通过 MCP 工具登记模型文件夹、在查看器里打开模型;包里还内置了 flowful-ai 的 CadQuery 参数化建模 skill。 -作者:[HanZijie](https://github.com/HanZijie) · [flowful-ai](https://github.com/flowful-ai)(内置的 CadQuery skill) · 版本:`1.2.0` +作者:[HanZijie](https://github.com/HanZijie) · [flowful-ai](https://github.com/flowful-ai)(内置的 CadQuery skill) · 版本:`1.2.1` ![CadQuery Viewer:一个 STEP 装配,已标注三个位置,准备发送](docs/preview.jpg) diff --git a/plugins/hanzijie/cq-viewer/icon.png b/plugins/hanzijie/cq-viewer/icon.png index f903cbc7..9e05f3e9 100644 Binary files a/plugins/hanzijie/cq-viewer/icon.png and b/plugins/hanzijie/cq-viewer/icon.png differ diff --git a/plugins/hanzijie/cq-viewer/miniapp/client/assets/host-bridge.js b/plugins/hanzijie/cq-viewer/miniapp/client/assets/host-bridge.js index 4b9d01f6..59c90bcd 100644 --- a/plugins/hanzijie/cq-viewer/miniapp/client/assets/host-bridge.js +++ b/plugins/hanzijie/cq-viewer/miniapp/client/assets/host-bridge.js @@ -9,7 +9,7 @@ // delivered to our listener; it is recognised by the "cqv-" id prefix and ignored. const PROTOCOL_VERSION = '2026-01-26'; -const APP_INFO = { name: 'cq-viewer', version: '1.2.0' }; // keep equal to plugin.json (tests check) +const APP_INFO = { name: 'cq-viewer', version: '1.2.1' }; // keep equal to plugin.json (tests check) const OWN_NOTIFICATIONS = new Set(['ui/notifications/initialized', 'ui/notifications/size-changed']); /** diff --git a/plugins/hanzijie/cq-viewer/miniapp/node/mcp.mjs b/plugins/hanzijie/cq-viewer/miniapp/node/mcp.mjs index 71282211..a338a305 100644 --- a/plugins/hanzijie/cq-viewer/miniapp/node/mcp.mjs +++ b/plugins/hanzijie/cq-viewer/miniapp/node/mcp.mjs @@ -6,7 +6,7 @@ export const MCP_PATH = '/mcp/cq-viewer'; -const SERVER_INFO = { name: 'cq-viewer', version: '1.2.0' }; // keep equal to plugin.json (tests check) +const SERVER_INFO = { name: 'cq-viewer', version: '1.2.1' }; // keep equal to plugin.json (tests check) const INSTRUCTIONS = [ 'CadQuery Viewer 是本机的 STL / STEP 查看器,页面在 MiniMax Code 的 Mini App 面板里打开。',