meshy-dsh 0.4.0 → 0.4.1

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/lib/compose.js CHANGED
@@ -69,7 +69,7 @@ export function buildComposeText(ctx, { scope, toolSet, fallbackCtx } = {}) {
69
69
  '- Commands that spend credits, and `wait`/`stream`, run as background jobs: a notice with the envelope arrives when they end. Meanwhile keep talking or do other work; do not poll, and never rerun a command whose task is still running. If the CLI\'s wait times out, resume with the `wait` command the envelope names.',
70
70
  '- A command that submits a task already follows it to its result in that background job, so let the one call carry the task from submission to its files; submitting it and then waiting on it in a second call only adds a call. Give that call a `title` naming what it makes (for example "oak chest"), not the step.',
71
71
  '- Images the user picks from a Meshy entry are saved under `meshy_input/` and named in the message; pass those paths to the CLI.',
72
- '- Saved .glb and .3mf models and images open in the Meshy Studio on their own; call `meshy_preview_model` to show another workspace file or task there.',
72
+ '- Saved .glb and .3mf models and images open in the Meshy Studio on their own; call `meshy_preview_model` to show another workspace file or task there. The Studio is the 3D viewer here: skip `meshy view` from the skills, and do not suggest it to the user.',
73
73
  '- If Meshy reports that nobody is signed in, call `meshy_sign_in`; never run `auth login`.',
74
74
  ]
75
75
 
package/lib/tools.js CHANGED
@@ -124,6 +124,9 @@ export function prepareArgs(args) {
124
124
  if (argv[0] === 'auth' && argv[1] !== 'status') {
125
125
  throw new Error('The plugin keeps the Meshy sign-in: call meshy_sign_in instead of `meshy auth`. Only `auth status` runs here.')
126
126
  }
127
+ if (argv[0] === 'view') {
128
+ throw new Error('The Meshy Studio is the 3D viewer here: call meshy_preview_model to open a workspace model in it. `meshy view` does not run here.')
129
+ }
127
130
  const kept = []
128
131
  let literal = false
129
132
  for (let i = 0; i < argv.length; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meshy-dsh",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Meshy for DeepSeek Harness: native 3D generation tools with inline chat cards and credit approval, a live right-sidebar 3D Studio and model library, GLB preview, Cordis services, and CLI skills for rigging, animation and 3D printing.",
5
5
  "keywords": [
6
6
  "dsh-plugin",
@@ -50,7 +50,7 @@
50
50
  "smoke": "node scripts/smoke.mjs"
51
51
  },
52
52
  "meshy": {
53
- "skills": "meshy-dev/meshy-3d-agent#v0.9.6"
53
+ "skills": "meshy-dev/meshy-3d-agent#v0.9.8"
54
54
  },
55
55
  "dsh": {
56
56
  "bundle": {
@@ -66,6 +66,6 @@
66
66
  "tsdown": "^0.23.4"
67
67
  },
68
68
  "dependencies": {
69
- "meshy-cli": "0.8.5"
69
+ "meshy-cli": "0.8.8"
70
70
  }
71
71
  }
@@ -2,12 +2,12 @@
2
2
  name: meshy-3d-generation
3
3
  description: "Generates and edits digital 3D assets with the Meshy CLI: text-to-3D and image-to-3D models, texturing, remeshing and LODs, UV unwrapping, format conversion (GLB, FBX, OBJ, USDZ, STL, 3MF, Blender), rigging, animation, motion clips from text and reference images. Use when the user asks to make, texture, rig, animate or convert a 3D model or game asset. For physical 3D printing use meshy-3d-printing."
4
4
  license: MIT
5
- compatibility: "Needs Node.js 22.12+ and the Meshy CLI 0.8.x, 0.8.5 or later (npm install -g meshy-cli@0.8); network access to the Meshy API."
5
+ compatibility: "Needs Node.js 22.12+ and the Meshy CLI 0.8.x, 0.8.6 or later (npm install -g meshy-cli@0.8); network access to the Meshy API."
6
6
  ---
7
7
 
8
8
  # Meshy 3D Generation
9
9
 
10
- Use Meshy CLI **0.8** (0.8.5 or later) to turn the user's request into a delivered asset. Completion means
10
+ Use Meshy CLI **0.8** (0.8.6 or later) to turn the user's request into a delivered asset. Completion means
11
11
  saving the requested files in the requested location and inspecting an available preview.
12
12
  Login or task submission alone is not completion. Choose the shortest suitable pipeline and
13
13
  reuse existing assets for follow-ups.
@@ -20,6 +20,7 @@ reuse existing assets for follow-ups.
20
20
  | Generation and the models to pair for a project, texturing, remeshing, conversion, scale, or 2D images | [Pipelines](references/pipelines.md) |
21
21
  | Rigging, animation, or generated motion | [Animation](references/animation.md) |
22
22
  | Cost, waiting, preview, delivery, or finding a previous model | [Delivery](references/delivery.md) |
23
+ | A chat that shows images or web pages (desktop or IDE agent apps), at delivery or when the user asks to see the model | [Visual hosts](references/visual-hosts.md) |
23
24
  | Failed or uncertain operation | [Troubleshooting](references/troubleshooting.md) |
24
25
 
25
26
  Read the relevant section when needed; recipes are examples to adapt to the requested result,
@@ -31,7 +32,7 @@ existing GLB needs no extra format conversion. Use command help when parameters
31
32
  In DeepSeek Harness with the Meshy plugin (`DSH_MESHY_CLI` is set) run every command as
32
33
  `"$DSH_MESHY_NODE" "$DSH_MESHY_CLI" …`, never a `meshy` on PATH, install nothing, and sign in with
33
34
  the `meshy_sign_in` tool. Everywhere else run `meshy --version` before the first command, without
34
- asking; when it is missing or older than 0.8.5, install it with `npm install -g meshy-cli@0.8`
35
+ asking; when it is missing or older than 0.8.6, install it with `npm install -g meshy-cli@0.8`
35
36
  and say so in one line ([Setup](references/setup.md), section 1).
36
37
 
37
38
  Reuse a verified session. If login is needed, run `auth login --device` (with `--region cn` for a
@@ -67,3 +68,5 @@ Download only needed assets. Inspect and show a preview when available; a missin
67
68
  must not prevent delivery or be described as inspected. Delivery covers earlier-stage preview
68
69
  lookup and actual charges. Report the result and any concrete
69
70
  limitation; a rendered image does not establish topology quality or provide a 3D viewer.
71
+ Where your chat shows images or web pages, [Visual hosts](references/visual-hosts.md) covers
72
+ showing the preview and the model there.
@@ -51,10 +51,11 @@ meshy balance --format json --no-update-check
51
51
 
52
52
  Spend rules: work already authorized by the user proceeds without asking again, stage by stage,
53
53
  to the end of the agreed plan. Ask only for a **new** cost the user has not agreed to — an extra
54
- stage, a second variant, a rerun after a disappointing result. Exit 9 (`insufficient_credit`)
55
- stops new paid submissions immediately: keep everything already produced, report what is
56
- missing and the cause the message gives (balance, plan or a key's credit limit; see
57
- Troubleshooting), and point at the account page rather than retrying.
54
+ stage, a second variant, a rerun after a disappointing result. One pause stays inside an agreed
55
+ plan, and it is not about cost: a reference image is shown, and the model waits until the user
56
+ approves it. Exit 9 (`insufficient_credit`) stops new paid submissions immediately: keep everything
57
+ already produced, report what is missing and the cause the message gives (balance, plan or a key's
58
+ credit limit; see Troubleshooting), and point at the account page rather than retrying.
58
59
 
59
60
  ## Waiting: the CLI polls, you narrate
60
61
 
@@ -101,8 +102,12 @@ Deliver four things, every time:
101
102
 
102
103
  1. **The model file**, at the path the user asked for.
103
104
  2. **The preview**, shown inline when one exists, or an explicit note that none does.
104
- A PNG render is not an interactive 3D viewer; this CLI has no local viewer command, so say
105
- "rendered preview", never "3D preview".
105
+ A PNG render is not an interactive 3D viewer, so say "rendered preview", never "3D preview".
106
+ For a GLB or glTF, add that `meshy view PATH` opens it in a 3D viewer in the user's browser,
107
+ served from their computer. If you start it yourself, add `--detach`: without it the command does
108
+ not return while the viewer runs, and sending it to the background with `&` does not help,
109
+ because the viewer is stopped when your shell call ends. Where your chat shows images or web
110
+ pages, see [visual-hosts.md](visual-hosts.md).
106
111
  3. **The task trail**: the producing task ID(s) and the resource each belongs to. That is what
107
112
  makes the next request cheap. A delivery made with `-o` also leaves a sidecar beside the model
108
113
  (`chest_meta.json` next to `chest.glb`, or `meta.json` in a directory; `download` and
@@ -43,17 +43,18 @@ A 3D model follows its reference image closely, so an image is the best place fo
43
43
  steer the result. When the request has no usable photo, recommend making one first:
44
44
 
45
45
  1. **Propose the plan once**, before any paid create: the image route, with text-to-3d named as
46
- the quicker alternative with nothing to review. The user's yes covers every stage of the route
47
- they pick; the image review below is not a second cost question.
46
+ the quicker alternative with nothing to review. The user's yes covers the cost of every stage
47
+ of the route they pick, not the image itself: they still see it before the model (step 3).
48
48
  2. **Make the image** with text-to-image, or with image-to-image when the user gave a sketch,
49
49
  silhouette, line drawing or logo: those are outlines, not photos, and image-to-3d reads them
50
50
  as flat shapes. Describe the subject as one object, whole and unobstructed, on a plain
51
51
  background in soft studio light, with the shape requirements the user stated (depth,
52
52
  proportions, what must not be thin). For a model whose exact shape matters, add
53
53
  `--generate-multi-view true` to get front, side and back views of the same object.
54
- 3. **Show the image and wait for approval.** Adjust it with image-to-image from that task
55
- (`--input-task-id`) until the user is satisfied: a new image costs less than a new model.
56
- Skip the review only when the user said not to stop for it.
54
+ 3. **Show the image and end your turn.** Make the model only after the user approves it; your own
55
+ look at the image is not approval. Adjust it with image-to-image from that task
56
+ (`--input-task-id`) until the user is satisfied: a new image costs less than a new model. Skip
57
+ the review only when the user said not to stop for it.
57
58
  4. **Make the model from that task** by `--input-task-id`: image-to-3d from a single image,
58
59
  multi-image-to-3d from multi-view output. A multi-view task can return fewer than three views;
59
60
  look at them before the 3D create.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Shared by the generation and print workflows. Three things are settled before any job
4
4
  starts: **how to run the CLI**, **whether a session already exists**, and **where files go**.
5
- The supported CLI is **0.8.x, from 0.8.5,** on **Node.js 22.12 or newer**.
5
+ The supported CLI is **0.8.x, from 0.8.6,** on **Node.js 22.12 or newer**.
6
6
 
7
7
  Contents: 1 runner · 2 reuse a session · 3 first login · 4 where files go · 5 one session
8
8
  everywhere · 6 API keys · 7 the China site.
@@ -32,8 +32,8 @@ meshy --version
32
32
 
33
33
  | Observation | What to do |
34
34
  |---|---|
35
- | `meshy --version` prints 0.8.5 or a later 0.8.x | run `meshy` |
36
- | no `meshy` command, or a version older than 0.8.5 | install the newest 0.8.x (below), then run `meshy` |
35
+ | `meshy --version` prints 0.8.6 or a later 0.8.x | run `meshy` |
36
+ | no `meshy` command, or a version older than 0.8.6 | install the newest 0.8.x (below), then run `meshy` |
37
37
  | 0.9 or newer | keep it, since something else may rely on it, and run the temporary package |
38
38
  | no Node.js, or Node older than 22.12 | stop and report it: the user installs Node.js 22.12+ |
39
39
 
@@ -42,15 +42,15 @@ npm install -g meshy-cli@0.8
42
42
  ```
43
43
 
44
44
  Check and install without asking first; say in one line that you are installing it. Install at
45
- most once: when `meshy --version` still reports a version older than 0.8.5 afterwards, the
45
+ most once: when `meshy --version` still reports a version older than 0.8.6 afterwards, the
46
46
  registry this machine uses lags npm, so report that instead of installing again. Never use `sudo`
47
47
  or change system policy: when the install is refused (permissions, a managed machine, a sandbox), use the temporary package
48
48
  instead. It runs the same CLI without installing anything: put `npm exec --yes
49
- --package=meshy-cli@0.8.5 --` in front of the same arguments, and the exit code and the JSON on
49
+ --package=meshy-cli@0.8.6 --` in front of the same arguments, and the exit code and the JSON on
50
50
  stdout are forwarded unchanged. Recipes are written as `meshy …`; example:
51
51
 
52
52
  ```bash
53
- npm exec --yes --package=meshy-cli@0.8.5 -- meshy auth status --format json --no-update-check
53
+ npm exec --yes --package=meshy-cli@0.8.6 -- meshy auth status --format json --no-update-check
54
54
  ```
55
55
 
56
56
  The first such call downloads the package into the npm cache; later calls reuse it. It names an
@@ -10,9 +10,9 @@ timeout · deleting a task · local files.
10
10
 
11
11
  ## Runner problems
12
12
 
13
- - **`meshy: command not found`** or **a version older than 0.8.5**: install the newest 0.8.x as
13
+ - **`meshy: command not found`** or **a version older than 0.8.6**: install the newest 0.8.x as
14
14
  Setup describes. If the install is refused, use the temporary package
15
- (`npm exec --yes --package=meshy-cli@0.8.5 -- meshy …`) and carry on with the same job.
15
+ (`npm exec --yes --package=meshy-cli@0.8.6 -- meshy …`) and carry on with the same job.
16
16
  - **A global 0.9 or newer** answers `--version`. Do not uninstall or downgrade it; use the
17
17
  temporary package for this work and mention the mismatch once.
18
18
  - **Node older than 22.12** fails the CLI's own runtime gate. Report the required version and the
@@ -0,0 +1,34 @@
1
+ # Chats that show images or web pages
2
+
3
+ Shared by the generation and print workflows. Read this only when your chat can show more than
4
+ text: images inline in your messages, or a web page in a panel you can open beside the chat
5
+ (desktop and IDE agent apps). In a terminal, skip it; the handover in
6
+ [delivery.md](delivery.md) is complete without it.
7
+
8
+ ## Images inline
9
+
10
+ Where your messages render Markdown images from local files, show a rendered preview, or a
11
+ reference image the user has to approve, as an image: a Markdown image whose target is the
12
+ file's absolute path. A path in backticks or a plain link shows the user nothing. Where images
13
+ do not render, name the path instead.
14
+
15
+ ## The model, in a viewer beside the chat
16
+
17
+ `meshy view` shows a local GLB or glTF in an interactive viewer page. It is free and
18
+ uploads nothing:
19
+
20
+ ```bash
21
+ meshy view "OUTPUT_FILE" --detach --no-open --format json --no-update-check
22
+ ```
23
+
24
+ It returns at once with `result.url` (`http://127.0.0.1:PORT/`). A background process serves
25
+ that one model, and for a glTF the buffers and textures in its folder, on 127.0.0.1 only, and
26
+ stops after 30 minutes without a request.
27
+
28
+ - When you have a browser tool that opens a page in a panel beside the chat, run it after the
29
+ handover and open `result.url` there. Tell the user they can orbit and zoom the model.
30
+ - Without such a panel, do not open a browser yourself: `--no-open` keeps the user's own browser
31
+ closed. The handover already says `meshy view` can open the model on their computer.
32
+ - It shows GLB and glTF only. For an FBX, OBJ, STL, 3MF or USDZ delivery, view a GLB from the same
33
+ job when one was delivered, and never download or convert a file just to view it.
34
+ - Run it once per model. Opening the same `result.url` again reuses the running server.
@@ -2,12 +2,12 @@
2
2
  name: meshy-3d-printing
3
3
  description: "Generates and prepares models for physical 3D printing with the Meshy CLI: white and multicolor prints (3MF, STL, OBJ), printability analysis and repair, splitting into parts, Creative Lab products such as figures, lamps and keychains, sizing, and slicer handoff (Bambu Studio, OrcaSlicer, PrusaSlicer, Cura). Use when the user wants something 3D-printed or asks for print or slicer files."
4
4
  license: MIT
5
- compatibility: "Needs Node.js 22.12+ and the Meshy CLI 0.8.x, 0.8.5 or later (npm install -g meshy-cli@0.8); network access to the Meshy API."
5
+ compatibility: "Needs Node.js 22.12+ and the Meshy CLI 0.8.x, 0.8.6 or later (npm install -g meshy-cli@0.8); network access to the Meshy API."
6
6
  ---
7
7
 
8
8
  # Meshy 3D Printing
9
9
 
10
- Use Meshy CLI **0.8** (0.8.5 or later) to deliver the requested print files at the intended size, with
10
+ Use Meshy CLI **0.8** (0.8.6 or later) to deliver the requested print files at the intended size, with
11
11
  analysis/repair results where applicable and a slicer handoff when requested. This skill is
12
12
  self-contained. Ordinary digital assets belong to meshy-3d-generation.
13
13
 
@@ -17,6 +17,7 @@ self-contained. Ordinary digital assets belong to meshy-3d-generation.
17
17
  | Local preparation, white or multicolor prints, analysis/repair, or splitting into parts | [Printing recipes](references/printing.md) |
18
18
  | Creative Lab products (figures, lamps, keychains, magnets, keycaps, fidgets) | [Creative Lab](references/creative-lab.md) |
19
19
  | Cost, waiting, preview, delivery, or finding a previous model | [Delivery](references/delivery.md) |
20
+ | A chat that shows images or web pages (desktop or IDE agent apps), at delivery or when the user asks to see the model | [Visual hosts](references/visual-hosts.md) |
20
21
  | Failed or uncertain operation | [Troubleshooting](references/troubleshooting.md) |
21
22
 
22
23
  Read relevant sections as needed. Recipes illustrate valid commands; select only the stages
@@ -50,7 +51,7 @@ local dimension check cannot establish full printability.
50
51
  In DeepSeek Harness with the Meshy plugin (`DSH_MESHY_CLI` is set) run every command as
51
52
  `"$DSH_MESHY_NODE" "$DSH_MESHY_CLI" …`, never a `meshy` on PATH, install nothing, and sign in with
52
53
  the `meshy_sign_in` tool. Everywhere else run `meshy --version` before the first command, without
53
- asking; when it is missing or older than 0.8.5, install it with `npm install -g meshy-cli@0.8`
54
+ asking; when it is missing or older than 0.8.6, install it with `npm install -g meshy-cli@0.8`
54
55
  and say so in one line ([Setup](references/setup.md), section 1). Local-only work stops there.
55
56
 
56
57
  Cloud work reuses a verified session. If login is needed, run `auth login --device` (with
@@ -80,6 +81,8 @@ touches its config directory.
80
81
  downloads are recovery cases, not permission to generate again.
81
82
  - Work within the approved scope and budget; propose additional paid stages before spending.
82
83
  Delivery describes applicable estimates. Local preparation and printability analysis are free.
84
+ - On the reference-image route, show the image and end your turn; make the model only once the
85
+ user approves it. Picking the route is not approval of the image, and neither is your own look.
83
86
 
84
87
  ## Finish the handoff
85
88
 
@@ -87,4 +90,5 @@ Show an available rendered preview and deliver file paths, dimensions, analysis/
87
90
  and reported charges. Launch a detected slicer only when requested or already authorized;
88
91
  `launch_requested` does not prove successful import or start a physical printer. If no suitable
89
92
  slicer is installed, still deliver the files. Explain relevant remaining checks, such as supports
90
- and wall thickness, without describing an untested model as guaranteed printable.
93
+ and wall thickness, without describing an untested model as guaranteed printable. Where your chat
94
+ shows images or web pages, [Visual hosts](references/visual-hosts.md) covers showing them there.
@@ -51,10 +51,11 @@ meshy balance --format json --no-update-check
51
51
 
52
52
  Spend rules: work already authorized by the user proceeds without asking again, stage by stage,
53
53
  to the end of the agreed plan. Ask only for a **new** cost the user has not agreed to — an extra
54
- stage, a second variant, a rerun after a disappointing result. Exit 9 (`insufficient_credit`)
55
- stops new paid submissions immediately: keep everything already produced, report what is
56
- missing and the cause the message gives (balance, plan or a key's credit limit; see
57
- Troubleshooting), and point at the account page rather than retrying.
54
+ stage, a second variant, a rerun after a disappointing result. One pause stays inside an agreed
55
+ plan, and it is not about cost: a reference image is shown, and the model waits until the user
56
+ approves it. Exit 9 (`insufficient_credit`) stops new paid submissions immediately: keep everything
57
+ already produced, report what is missing and the cause the message gives (balance, plan or a key's
58
+ credit limit; see Troubleshooting), and point at the account page rather than retrying.
58
59
 
59
60
  ## Waiting: the CLI polls, you narrate
60
61
 
@@ -101,8 +102,12 @@ Deliver four things, every time:
101
102
 
102
103
  1. **The model file**, at the path the user asked for.
103
104
  2. **The preview**, shown inline when one exists, or an explicit note that none does.
104
- A PNG render is not an interactive 3D viewer; this CLI has no local viewer command, so say
105
- "rendered preview", never "3D preview".
105
+ A PNG render is not an interactive 3D viewer, so say "rendered preview", never "3D preview".
106
+ For a GLB or glTF, add that `meshy view PATH` opens it in a 3D viewer in the user's browser,
107
+ served from their computer. If you start it yourself, add `--detach`: without it the command does
108
+ not return while the viewer runs, and sending it to the background with `&` does not help,
109
+ because the viewer is stopped when your shell call ends. Where your chat shows images or web
110
+ pages, see [visual-hosts.md](visual-hosts.md).
106
111
  3. **The task trail**: the producing task ID(s) and the resource each belongs to. That is what
107
112
  makes the next request cheap. A delivery made with `-o` also leaves a sidecar beside the model
108
113
  (`chest_meta.json` next to `chest.glb`, or `meta.json` in a directory; `download` and
@@ -2,7 +2,7 @@
2
2
 
3
3
  Use [Setup](setup.md) for the runner, login and path rules, [Delivery](delivery.md) for cost,
4
4
  previews and hand-over, and [Troubleshooting](troubleshooting.md) for recovery. These recipes
5
- target **Meshy CLI 0.8** (0.8.5 or later) on Node.js 22.12+. Parameter details come from each command's `--help`;
5
+ target **Meshy CLI 0.8** (0.8.6 or later) on Node.js 22.12+. Parameter details come from each command's `--help`;
6
6
  the skill carries no API client.
7
7
 
8
8
  Contents: 0 local-only work · state · print size · 1 white prints · 2 analysis and repair · 3 multicolor ·
@@ -71,11 +71,11 @@ Without a usable photo — a description, or a sketch, silhouette, line drawing
71
71
  image-to-3d reads as a flat shape — recommend making a reference image first: the model follows
72
72
  its image closely, and a print is judged on exactly the shape the image fixes. Propose this route
73
73
  once, with text-to-3d (below) named as the quicker alternative with nothing to review; the user's
74
- yes covers every stage of the route they pick. Describe one solid object, whole and unobstructed,
75
- on a plain background in soft studio light, with the shape requirements the user stated (depth,
76
- proportions, what must not be thin). From a sketch, use image-to-image on it instead; wait on
77
- that resource the same way. When depth, sides or back matter, add `--generate-multi-view true`
78
- for front, side and back views:
74
+ yes covers the cost of every stage of the route they pick, not the image, which they still approve
75
+ before the model. Describe one solid object, whole and unobstructed, on a plain background in soft
76
+ studio light, with the shape requirements the user stated (depth, proportions, what must not be
77
+ thin). From a sketch, use image-to-image on it instead; wait on that resource the same way. When
78
+ depth, sides or back matter, add `--generate-multi-view true` for front, side and back views:
79
79
 
80
80
  ```bash
81
81
  meshy text-to-image create --ai-model gpt-image-2-5-flare --prompt "A single solid owl figurine on a broad flat base, whole object in view, plain background, soft studio light" --async --format json --no-update-check
@@ -84,10 +84,11 @@ meshy text-to-image create --ai-model gpt-image-2-5-flare --prompt "A single sol
84
84
  meshy text-to-image wait DESIGN_ID --timeout 600 --format json --no-update-check
85
85
  ```
86
86
 
87
- Download the image with `download --kind image` and show it; continue once the user approves it,
88
- adjusting it with image-to-image `--input-task-id DESIGN_ID` until they do (unless they said not
89
- to stop for review). A multi-view task can return fewer than three views; look at them. Then make
90
- the model from that task: one image feeds image-to-3d, multi-view output feeds multi-image-to-3d.
87
+ Download the image with `download --kind image`, show it and end your turn; your own look at it is
88
+ not approval. Continue once the user approves it, adjusting it with image-to-image
89
+ `--input-task-id DESIGN_ID` until they do (unless they said not to stop for review). A multi-view
90
+ task can return fewer than three views; look at them. Then make the model from that task: one
91
+ image feeds image-to-3d, multi-view output feeds multi-image-to-3d.
91
92
 
92
93
  ```bash
93
94
  meshy image-to-3d create --input-task-id DESIGN_ID --should-texture false --target-formats glb,obj --async --format json --no-update-check
@@ -2,7 +2,7 @@
2
2
 
3
3
  Shared by the generation and print workflows. Three things are settled before any job
4
4
  starts: **how to run the CLI**, **whether a session already exists**, and **where files go**.
5
- The supported CLI is **0.8.x, from 0.8.5,** on **Node.js 22.12 or newer**.
5
+ The supported CLI is **0.8.x, from 0.8.6,** on **Node.js 22.12 or newer**.
6
6
 
7
7
  Contents: 1 runner · 2 reuse a session · 3 first login · 4 where files go · 5 one session
8
8
  everywhere · 6 API keys · 7 the China site.
@@ -32,8 +32,8 @@ meshy --version
32
32
 
33
33
  | Observation | What to do |
34
34
  |---|---|
35
- | `meshy --version` prints 0.8.5 or a later 0.8.x | run `meshy` |
36
- | no `meshy` command, or a version older than 0.8.5 | install the newest 0.8.x (below), then run `meshy` |
35
+ | `meshy --version` prints 0.8.6 or a later 0.8.x | run `meshy` |
36
+ | no `meshy` command, or a version older than 0.8.6 | install the newest 0.8.x (below), then run `meshy` |
37
37
  | 0.9 or newer | keep it, since something else may rely on it, and run the temporary package |
38
38
  | no Node.js, or Node older than 22.12 | stop and report it: the user installs Node.js 22.12+ |
39
39
 
@@ -42,15 +42,15 @@ npm install -g meshy-cli@0.8
42
42
  ```
43
43
 
44
44
  Check and install without asking first; say in one line that you are installing it. Install at
45
- most once: when `meshy --version` still reports a version older than 0.8.5 afterwards, the
45
+ most once: when `meshy --version` still reports a version older than 0.8.6 afterwards, the
46
46
  registry this machine uses lags npm, so report that instead of installing again. Never use `sudo`
47
47
  or change system policy: when the install is refused (permissions, a managed machine, a sandbox), use the temporary package
48
48
  instead. It runs the same CLI without installing anything: put `npm exec --yes
49
- --package=meshy-cli@0.8.5 --` in front of the same arguments, and the exit code and the JSON on
49
+ --package=meshy-cli@0.8.6 --` in front of the same arguments, and the exit code and the JSON on
50
50
  stdout are forwarded unchanged. Recipes are written as `meshy …`; example:
51
51
 
52
52
  ```bash
53
- npm exec --yes --package=meshy-cli@0.8.5 -- meshy auth status --format json --no-update-check
53
+ npm exec --yes --package=meshy-cli@0.8.6 -- meshy auth status --format json --no-update-check
54
54
  ```
55
55
 
56
56
  The first such call downloads the package into the npm cache; later calls reuse it. It names an
@@ -10,9 +10,9 @@ timeout · deleting a task · local files.
10
10
 
11
11
  ## Runner problems
12
12
 
13
- - **`meshy: command not found`** or **a version older than 0.8.5**: install the newest 0.8.x as
13
+ - **`meshy: command not found`** or **a version older than 0.8.6**: install the newest 0.8.x as
14
14
  Setup describes. If the install is refused, use the temporary package
15
- (`npm exec --yes --package=meshy-cli@0.8.5 -- meshy …`) and carry on with the same job.
15
+ (`npm exec --yes --package=meshy-cli@0.8.6 -- meshy …`) and carry on with the same job.
16
16
  - **A global 0.9 or newer** answers `--version`. Do not uninstall or downgrade it; use the
17
17
  temporary package for this work and mention the mismatch once.
18
18
  - **Node older than 22.12** fails the CLI's own runtime gate. Report the required version and the
@@ -0,0 +1,34 @@
1
+ # Chats that show images or web pages
2
+
3
+ Shared by the generation and print workflows. Read this only when your chat can show more than
4
+ text: images inline in your messages, or a web page in a panel you can open beside the chat
5
+ (desktop and IDE agent apps). In a terminal, skip it; the handover in
6
+ [delivery.md](delivery.md) is complete without it.
7
+
8
+ ## Images inline
9
+
10
+ Where your messages render Markdown images from local files, show a rendered preview, or a
11
+ reference image the user has to approve, as an image: a Markdown image whose target is the
12
+ file's absolute path. A path in backticks or a plain link shows the user nothing. Where images
13
+ do not render, name the path instead.
14
+
15
+ ## The model, in a viewer beside the chat
16
+
17
+ `meshy view` shows a local GLB or glTF in an interactive viewer page. It is free and
18
+ uploads nothing:
19
+
20
+ ```bash
21
+ meshy view "OUTPUT_FILE" --detach --no-open --format json --no-update-check
22
+ ```
23
+
24
+ It returns at once with `result.url` (`http://127.0.0.1:PORT/`). A background process serves
25
+ that one model, and for a glTF the buffers and textures in its folder, on 127.0.0.1 only, and
26
+ stops after 30 minutes without a request.
27
+
28
+ - When you have a browser tool that opens a page in a panel beside the chat, run it after the
29
+ handover and open `result.url` there. Tell the user they can orbit and zoom the model.
30
+ - Without such a panel, do not open a browser yourself: `--no-open` keeps the user's own browser
31
+ closed. The handover already says `meshy view` can open the model on their computer.
32
+ - It shows GLB and glTF only. For an FBX, OBJ, STL, 3MF or USDZ delivery, view a GLB from the same
33
+ job when one was delivered, and never download or convert a file just to view it.
34
+ - Run it once per model. Opening the same `result.url` again reuses the running server.