meshy-dsh 0.3.6 → 0.3.7

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
@@ -7,6 +7,8 @@ Meshy's 3D generation and 3D printing skills for [DeepSeek Harness](https://gith
7
7
  tool and saves the results into your project: text or image to 3D, textures, remeshing, rigging
8
8
  and animation, format conversion, and print-ready files with slicer handoff.
9
9
 
10
+ ![A Meshy model delivered in a DeepSeek Harness chat, with the GLB open in the 3D preview](assets/screenshots/chat-and-3d-preview.png)
11
+
10
12
  ## Install
11
13
 
12
14
  ```bash
@@ -54,6 +56,8 @@ open, past dsh's 32 MB limit for previewing a whole file, because the preview re
54
56
  pieces. tui and headless have
55
57
  neither; the skills work the same everywhere.
56
58
 
59
+ ![The Meshy page in DeepSeek Harness: account, credits and example requests](assets/screenshots/meshy-page.png)
60
+
57
61
  ## How it works
58
62
 
59
63
  [`cordis.patch.yml`](cordis.patch.yml) mounts one more instance of dsh's built-in filesystem
package/README.zh.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(dsh)提供 Meshy 的 3D 生成与 3D 打印 skill。agent 通过 shell 调用 [`meshy-cli`](https://www.npmjs.com/package/meshy-cli),结果直接保存到你的项目里:文字或图片生成 3D、贴图、重拓扑、绑骨与动画、格式转换,以及可直接打印的文件和切片软件对接。
6
6
 
7
+ ![DeepSeek Harness 对话里交付的 Meshy 模型,右侧是 GLB 的 3D 预览](assets/screenshots/chat-and-3d-preview.png)
8
+
7
9
  ## 安装
8
10
 
9
11
  ```bash
@@ -24,6 +26,8 @@ dsh 不会自动更新已安装的插件,重新安装之前一直是你当初
24
26
 
25
27
  在 Web 和 Desktop 里,左侧栏会出现 **Meshy** 入口,打开后是 Meshy 页面:显示账号,并给出几个示例需求,点一个就会新开会话并填好需求,改一改再发送。**设置 → Meshy**(插件页里也有)会显示插件和 Meshy CLI 的版本、是否已登录及登录方式(浏览器或 API key)、登录的账号、所在站点(meshy.ai 或 meshy.cn)和积分。账号(名字和邮箱)要用这个版本登录后才会显示,中国站暂时还不提供。点**登录 Meshy**会显示批准链接、二维码和核对用的验证码,可以用手机扫码批准,页面会自动发现批准完成。在右侧栏点一个 `.glb` 文件,或点 agent 交付的模型卡片,会打开可交互的 3D 预览(拖动旋转,滚轮缩放,可复位视角或自动旋转),并显示文件大小和三角面数。预览会按 2 MB 分块读取模型,所以不受 dsh 整文件预览 32 MB 的上限限制,最大可预览 256 MB。tui 和 headless 没有这些界面,skill 在任何界面都一样能用。
26
28
 
29
+ ![DeepSeek Harness 里的 Meshy 页面:账号、积分和示例需求](assets/screenshots/meshy-page.png)
30
+
27
31
  ## 工作方式
28
32
 
29
33
  [`cordis.patch.yml`](cordis.patch.yml) 再挂一个 dsh 内置的文件系统 skill provider,只扫描本包的 `skills/` 目录,所以这些 skill 和本地 skill 的加载方式完全一样;同时加载本包自身:`lib/index.js` 负责刷新登录态,并给每次 shell 调用提供本包依赖的 CLI(`DSH_MESHY_NODE`、`DSH_MESHY_CLI`)、登录态(`DSH_MESHY_CREDENTIAL`、`DSH_MESHY_REGION`、`DSH_MESHY_SUBJECT`,从不包含 refresh token),以及会话 workspace 里给 CLI 操作日志用的 `.meshy` 目录(`DSH_MESHY_STATE_DIR`);它还注册 `meshy_sign_in` 工具,并在 Web 和 Desktop 里提供四个需要鉴权的接口,用固定参数调用 Meshy CLI;`lib/client.js`(由 `src/client/` 构建)是浏览器端,three.js 单独放在首次使用时才加载的 `lib/client.viewer.js` 里。项目里 `.dsh/skills` 或 `.agents/skills` 下的同名 skill 优先。`locale/` 和 `icon.svg` 是 dsh 插件管理页显示的名称、简介和图标。
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Meshy",
4
- "description": "Generate textured, rigged and animated 3D models, or print-ready files, from text or images with Meshy. The agent drives meshy-cli and saves the files into your project."
4
+ "description": "Text or image to 3D: textured, rigged and animated models, and print-ready files."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Meshy",
4
- "description": "用 Meshy 从文字或图片生成带贴图、绑骨和动画的 3D 模型,或可直接打印的文件。agent 通过 meshy-cli 完成,文件直接保存到你的项目里。"
4
+ "description": "用文字或图片生成 3D 模型,支持贴图、绑骨动画与 3D 打印"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meshy-dsh",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Meshy skills for DeepSeek Harness: textured, rigged and animated 3D models or print-ready files from text or images, through meshy-cli, with a Meshy settings page and a 3D preview for GLB files.",
5
5
  "keywords": [
6
6
  "dsh-plugin",