@metamesh/cli 0.18.0 → 0.20.0

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +66 -45
  3. package/dist/authoring/artifacts.d.ts +1 -1
  4. package/dist/authoring/artifacts.d.ts.map +1 -1
  5. package/dist/authoring/artifacts.js +5 -10
  6. package/dist/authoring/artifacts.js.map +1 -1
  7. package/dist/authoring/environment.d.ts.map +1 -1
  8. package/dist/authoring/environment.js +2 -0
  9. package/dist/authoring/environment.js.map +1 -1
  10. package/dist/authoring/execution-process.d.ts +1 -2
  11. package/dist/authoring/execution-process.d.ts.map +1 -1
  12. package/dist/authoring/execution-process.js +6 -5
  13. package/dist/authoring/execution-process.js.map +1 -1
  14. package/dist/authoring/export-capture.d.ts +22 -0
  15. package/dist/authoring/export-capture.d.ts.map +1 -0
  16. package/dist/authoring/export-capture.js +76 -0
  17. package/dist/authoring/export-capture.js.map +1 -0
  18. package/dist/authoring/render/client-bundle.js +172 -172
  19. package/dist/authoring/render/client-bundle.js.map +4 -4
  20. package/dist/authoring/render/scene.d.ts.map +1 -1
  21. package/dist/authoring/render/scene.js +2 -1
  22. package/dist/authoring/render/scene.js.map +1 -1
  23. package/dist/authoring/run.d.ts.map +1 -1
  24. package/dist/authoring/run.js +1 -2
  25. package/dist/authoring/run.js.map +1 -1
  26. package/dist/authoring/types.d.ts +4 -6
  27. package/dist/authoring/types.d.ts.map +1 -1
  28. package/dist/authoring/types.js.map +1 -1
  29. package/dist/authoring.d.ts +2 -0
  30. package/dist/authoring.d.ts.map +1 -1
  31. package/dist/authoring.js +1 -0
  32. package/dist/authoring.js.map +1 -1
  33. package/dist/docs/guides/agent-authoring.md +45 -243
  34. package/dist/docs/guides/local-authoring.md +216 -0
  35. package/dist/docs/guides/package.md +66 -45
  36. package/dist/docs/manifest.json +126 -52
  37. package/dist/docs/reference/authoring/AUTHORING_PROTOCOL_VERSION.md +1 -1
  38. package/dist/docs/reference/authoring/AuthoringDiagnostic.md +1 -1
  39. package/dist/docs/reference/authoring/AuthoringEnvironment.md +1 -1
  40. package/dist/docs/reference/authoring/AuthoringError.md +1 -1
  41. package/dist/docs/reference/authoring/AuthoringFailure-type.md +1 -1
  42. package/dist/docs/reference/authoring/AuthoringKind.md +1 -1
  43. package/dist/docs/reference/authoring/AuthoringPhase.md +2 -2
  44. package/dist/docs/reference/authoring/CaptureExportFormat.md +10 -0
  45. package/dist/docs/reference/authoring/CaptureExportOptions.md +17 -0
  46. package/dist/docs/reference/authoring/CaptureExportResult.md +15 -0
  47. package/dist/docs/reference/authoring/CapturedBuffer.md +1 -1
  48. package/dist/docs/reference/authoring/CapturedGeometry.md +1 -1
  49. package/dist/docs/reference/authoring/CapturedPart.md +1 -1
  50. package/dist/docs/reference/authoring/CapturedResource.md +1 -1
  51. package/dist/docs/reference/authoring/CapturedRun.md +1 -1
  52. package/dist/docs/reference/authoring/CapturedRunManifest.md +2 -3
  53. package/dist/docs/reference/authoring/CheckOptions.md +1 -1
  54. package/dist/docs/reference/authoring/CheckSuccess.md +1 -1
  55. package/dist/docs/reference/authoring/DocumentationEntry.md +1 -1
  56. package/dist/docs/reference/authoring/DocumentationManifest.md +1 -1
  57. package/dist/docs/reference/authoring/DocumentationSearchResult.md +1 -1
  58. package/dist/docs/reference/authoring/InstalledAuthoringPackage.md +1 -1
  59. package/dist/docs/reference/authoring/RenderCamera.md +1 -1
  60. package/dist/docs/reference/authoring/RenderFormat.md +1 -1
  61. package/dist/docs/reference/authoring/RenderOptions.md +1 -1
  62. package/dist/docs/reference/authoring/RenderResult.md +1 -1
  63. package/dist/docs/reference/authoring/RenderView.md +1 -1
  64. package/dist/docs/reference/authoring/RenderedImage.md +1 -1
  65. package/dist/docs/reference/authoring/RunOptions.md +1 -3
  66. package/dist/docs/reference/authoring/RunSuccess.md +1 -1
  67. package/dist/docs/reference/authoring/authoringFailure-value.md +1 -1
  68. package/dist/docs/reference/authoring/checkAuthoringSource.md +1 -1
  69. package/dist/docs/reference/authoring/discoverAuthoringEnvironment.md +1 -1
  70. package/dist/docs/reference/authoring/exportCapturedRun.md +10 -0
  71. package/dist/docs/reference/authoring/inspectCapturedRun.md +1 -1
  72. package/dist/docs/reference/authoring/installAuthoringBrowser.md +1 -1
  73. package/dist/docs/reference/authoring/readCapturedRun.md +1 -1
  74. package/dist/docs/reference/authoring/renderCapturedRun.md +1 -1
  75. package/dist/docs/reference/authoring/runAuthoringSource.md +1 -1
  76. package/dist/docs/reference/authoring/searchAuthoringDocumentation.md +1 -1
  77. package/dist/docs/reference/authoring/showAuthoringDocumentation.md +1 -1
  78. package/dist/metamesh.js +13 -4
  79. package/dist/metamesh.js.map +1 -1
  80. package/package.json +6 -6
@@ -1,29 +1,25 @@
1
1
  {
2
2
  "formatVersion": 1,
3
3
  "packageName": "@metamesh/cli",
4
- "packageVersion": "0.18.0",
4
+ "packageVersion": "0.20.0",
5
5
  "documents": [
6
6
  {
7
7
  "id": "cli/guide/agent-authoring",
8
- "title": "Author and inspect models with an agent",
9
- "summary": "Use the CLI to find installed docs, check TypeScript, capture a model, and inspect measurements and rendered views.",
8
+ "title": "Work with a coding agent",
9
+ "summary": "Combine portable skills, installed API knowledge, and CLI tools in your own modeling workflow.",
10
10
  "path": "guides/agent-authoring.md",
11
11
  "importPath": "@metamesh/cli/authoring",
12
- "availability": "Local Node authoring",
12
+ "availability": "Optional agent guidance",
13
13
  "canonical": "https://metamesh.studio/docs/develop/agent-authoring",
14
14
  "keywords": [
15
15
  "guide",
16
16
  "agent-authoring",
17
- "engine",
18
- "how-to",
19
- "author-and-inspect-models-with-an-agent",
20
- "install-and-discover-the-environment",
21
- "give-an-agent-the-same-workflow",
22
- "model-entries",
23
- "generator-entries",
24
- "inspect-the-captured-result",
25
- "test-models",
26
- "command-results"
17
+ "modeling",
18
+ "explanation",
19
+ "work-with-a-coding-agent",
20
+ "two-pieces-that-work-together",
21
+ "set-up-your-agent",
22
+ "give-the-agent-a-result-to-verify"
27
23
  ]
28
24
  },
29
25
  {
@@ -33,13 +29,35 @@
33
29
  "path": "guides/package.md",
34
30
  "importPath": "@metamesh/cli/authoring",
35
31
  "availability": "Local Node authoring",
36
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
32
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
37
33
  "keywords": [
38
34
  "guide",
39
35
  "installation",
40
36
  "cli"
41
37
  ]
42
38
  },
39
+ {
40
+ "id": "cli/guide/local-authoring",
41
+ "title": "Check and render with the CLI",
42
+ "summary": "Look up installed APIs, check TypeScript, run local models, and inspect, render, or export the captured result.",
43
+ "path": "guides/local-authoring.md",
44
+ "importPath": "@metamesh/cli/authoring",
45
+ "availability": "Local Node authoring",
46
+ "canonical": "https://metamesh.studio/docs/develop/cli",
47
+ "keywords": [
48
+ "guide",
49
+ "local-authoring",
50
+ "modeling",
51
+ "how-to",
52
+ "check-and-render-with-the-cli",
53
+ "install-and-discover-the-environment",
54
+ "model-entries",
55
+ "generator-entries",
56
+ "inspect-the-captured-result",
57
+ "test-models",
58
+ "command-results"
59
+ ]
60
+ },
43
61
  {
44
62
  "id": "cli/reference/authoring/AUTHORING_PROTOCOL_VERSION",
45
63
  "title": "AUTHORING_PROTOCOL_VERSION",
@@ -47,7 +65,7 @@
47
65
  "path": "reference/authoring/AUTHORING_PROTOCOL_VERSION.md",
48
66
  "importPath": "@metamesh/cli/authoring",
49
67
  "availability": "Local Node authoring",
50
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
68
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
51
69
  "keywords": [
52
70
  "reference",
53
71
  "authoring",
@@ -61,7 +79,7 @@
61
79
  "path": "reference/authoring/AuthoringDiagnostic.md",
62
80
  "importPath": "@metamesh/cli/authoring",
63
81
  "availability": "Local Node authoring",
64
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
82
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
65
83
  "keywords": [
66
84
  "reference",
67
85
  "authoring",
@@ -75,7 +93,7 @@
75
93
  "path": "reference/authoring/AuthoringEnvironment.md",
76
94
  "importPath": "@metamesh/cli/authoring",
77
95
  "availability": "Local Node authoring",
78
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
96
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
79
97
  "keywords": [
80
98
  "reference",
81
99
  "authoring",
@@ -89,7 +107,7 @@
89
107
  "path": "reference/authoring/AuthoringError.md",
90
108
  "importPath": "@metamesh/cli/authoring",
91
109
  "availability": "Local Node authoring",
92
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
110
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
93
111
  "keywords": [
94
112
  "reference",
95
113
  "authoring",
@@ -103,7 +121,7 @@
103
121
  "path": "reference/authoring/authoringFailure-value.md",
104
122
  "importPath": "@metamesh/cli/authoring",
105
123
  "availability": "Local Node authoring",
106
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
124
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
107
125
  "keywords": [
108
126
  "reference",
109
127
  "authoring",
@@ -117,7 +135,7 @@
117
135
  "path": "reference/authoring/AuthoringFailure-type.md",
118
136
  "importPath": "@metamesh/cli/authoring",
119
137
  "availability": "Local Node authoring",
120
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
138
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
121
139
  "keywords": [
122
140
  "reference",
123
141
  "authoring",
@@ -131,7 +149,7 @@
131
149
  "path": "reference/authoring/AuthoringKind.md",
132
150
  "importPath": "@metamesh/cli/authoring",
133
151
  "availability": "Local Node authoring",
134
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
152
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
135
153
  "keywords": [
136
154
  "reference",
137
155
  "authoring",
@@ -145,7 +163,7 @@
145
163
  "path": "reference/authoring/AuthoringPhase.md",
146
164
  "importPath": "@metamesh/cli/authoring",
147
165
  "availability": "Local Node authoring",
148
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
166
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
149
167
  "keywords": [
150
168
  "reference",
151
169
  "authoring",
@@ -159,7 +177,7 @@
159
177
  "path": "reference/authoring/CapturedBuffer.md",
160
178
  "importPath": "@metamesh/cli/authoring",
161
179
  "availability": "Local Node authoring",
162
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
180
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
163
181
  "keywords": [
164
182
  "reference",
165
183
  "authoring",
@@ -173,7 +191,7 @@
173
191
  "path": "reference/authoring/CapturedGeometry.md",
174
192
  "importPath": "@metamesh/cli/authoring",
175
193
  "availability": "Local Node authoring",
176
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
194
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
177
195
  "keywords": [
178
196
  "reference",
179
197
  "authoring",
@@ -187,7 +205,7 @@
187
205
  "path": "reference/authoring/CapturedPart.md",
188
206
  "importPath": "@metamesh/cli/authoring",
189
207
  "availability": "Local Node authoring",
190
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
208
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
191
209
  "keywords": [
192
210
  "reference",
193
211
  "authoring",
@@ -201,7 +219,7 @@
201
219
  "path": "reference/authoring/CapturedResource.md",
202
220
  "importPath": "@metamesh/cli/authoring",
203
221
  "availability": "Local Node authoring",
204
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
222
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
205
223
  "keywords": [
206
224
  "reference",
207
225
  "authoring",
@@ -215,7 +233,7 @@
215
233
  "path": "reference/authoring/CapturedRun.md",
216
234
  "importPath": "@metamesh/cli/authoring",
217
235
  "availability": "Local Node authoring",
218
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
236
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
219
237
  "keywords": [
220
238
  "reference",
221
239
  "authoring",
@@ -229,13 +247,55 @@
229
247
  "path": "reference/authoring/CapturedRunManifest.md",
230
248
  "importPath": "@metamesh/cli/authoring",
231
249
  "availability": "Local Node authoring",
232
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
250
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
233
251
  "keywords": [
234
252
  "reference",
235
253
  "authoring",
236
254
  "CapturedRunManifest"
237
255
  ]
238
256
  },
257
+ {
258
+ "id": "cli/reference/authoring/CaptureExportFormat",
259
+ "title": "CaptureExportFormat",
260
+ "summary": "Supported completed-model file formats.",
261
+ "path": "reference/authoring/CaptureExportFormat.md",
262
+ "importPath": "@metamesh/cli/authoring",
263
+ "availability": "Local Node authoring",
264
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
265
+ "keywords": [
266
+ "reference",
267
+ "authoring",
268
+ "CaptureExportFormat"
269
+ ]
270
+ },
271
+ {
272
+ "id": "cli/reference/authoring/CaptureExportOptions",
273
+ "title": "CaptureExportOptions",
274
+ "summary": "File delivery for one validated captured run; original author source is never executed.",
275
+ "path": "reference/authoring/CaptureExportOptions.md",
276
+ "importPath": "@metamesh/cli/authoring",
277
+ "availability": "Local Node authoring",
278
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
279
+ "keywords": [
280
+ "reference",
281
+ "authoring",
282
+ "CaptureExportOptions"
283
+ ]
284
+ },
285
+ {
286
+ "id": "cli/reference/authoring/CaptureExportResult",
287
+ "title": "CaptureExportResult",
288
+ "summary": "Completed file plus source identity and structured serializer diagnostics.",
289
+ "path": "reference/authoring/CaptureExportResult.md",
290
+ "importPath": "@metamesh/cli/authoring",
291
+ "availability": "Local Node authoring",
292
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
293
+ "keywords": [
294
+ "reference",
295
+ "authoring",
296
+ "CaptureExportResult"
297
+ ]
298
+ },
239
299
  {
240
300
  "id": "cli/reference/authoring/checkAuthoringSource",
241
301
  "title": "checkAuthoringSource",
@@ -243,7 +303,7 @@
243
303
  "path": "reference/authoring/checkAuthoringSource.md",
244
304
  "importPath": "@metamesh/cli/authoring",
245
305
  "availability": "Local Node authoring",
246
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
306
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
247
307
  "keywords": [
248
308
  "reference",
249
309
  "authoring",
@@ -257,7 +317,7 @@
257
317
  "path": "reference/authoring/CheckOptions.md",
258
318
  "importPath": "@metamesh/cli/authoring",
259
319
  "availability": "Local Node authoring",
260
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
320
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
261
321
  "keywords": [
262
322
  "reference",
263
323
  "authoring",
@@ -271,7 +331,7 @@
271
331
  "path": "reference/authoring/CheckSuccess.md",
272
332
  "importPath": "@metamesh/cli/authoring",
273
333
  "availability": "Local Node authoring",
274
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
334
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
275
335
  "keywords": [
276
336
  "reference",
277
337
  "authoring",
@@ -285,7 +345,7 @@
285
345
  "path": "reference/authoring/discoverAuthoringEnvironment.md",
286
346
  "importPath": "@metamesh/cli/authoring",
287
347
  "availability": "Local Node authoring",
288
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
348
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
289
349
  "keywords": [
290
350
  "reference",
291
351
  "authoring",
@@ -299,7 +359,7 @@
299
359
  "path": "reference/authoring/DocumentationEntry.md",
300
360
  "importPath": "@metamesh/cli/authoring",
301
361
  "availability": "Local Node authoring",
302
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
362
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
303
363
  "keywords": [
304
364
  "reference",
305
365
  "authoring",
@@ -313,7 +373,7 @@
313
373
  "path": "reference/authoring/DocumentationManifest.md",
314
374
  "importPath": "@metamesh/cli/authoring",
315
375
  "availability": "Local Node authoring",
316
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
376
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
317
377
  "keywords": [
318
378
  "reference",
319
379
  "authoring",
@@ -327,13 +387,27 @@
327
387
  "path": "reference/authoring/DocumentationSearchResult.md",
328
388
  "importPath": "@metamesh/cli/authoring",
329
389
  "availability": "Local Node authoring",
330
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
390
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
331
391
  "keywords": [
332
392
  "reference",
333
393
  "authoring",
334
394
  "DocumentationSearchResult"
335
395
  ]
336
396
  },
397
+ {
398
+ "id": "cli/reference/authoring/exportCapturedRun",
399
+ "title": "exportCapturedRun",
400
+ "summary": "Streams a captured model to an atomically published file using the public mesh writers.",
401
+ "path": "reference/authoring/exportCapturedRun.md",
402
+ "importPath": "@metamesh/cli/authoring",
403
+ "availability": "Local Node authoring",
404
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
405
+ "keywords": [
406
+ "reference",
407
+ "authoring",
408
+ "exportCapturedRun"
409
+ ]
410
+ },
337
411
  {
338
412
  "id": "cli/reference/authoring/inspectCapturedRun",
339
413
  "title": "inspectCapturedRun",
@@ -341,7 +415,7 @@
341
415
  "path": "reference/authoring/inspectCapturedRun.md",
342
416
  "importPath": "@metamesh/cli/authoring",
343
417
  "availability": "Local Node authoring",
344
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
418
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
345
419
  "keywords": [
346
420
  "reference",
347
421
  "authoring",
@@ -355,7 +429,7 @@
355
429
  "path": "reference/authoring/installAuthoringBrowser.md",
356
430
  "importPath": "@metamesh/cli/authoring",
357
431
  "availability": "Local Node authoring",
358
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
432
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
359
433
  "keywords": [
360
434
  "reference",
361
435
  "authoring",
@@ -369,7 +443,7 @@
369
443
  "path": "reference/authoring/InstalledAuthoringPackage.md",
370
444
  "importPath": "@metamesh/cli/authoring",
371
445
  "availability": "Local Node authoring",
372
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
446
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
373
447
  "keywords": [
374
448
  "reference",
375
449
  "authoring",
@@ -383,7 +457,7 @@
383
457
  "path": "reference/authoring/readCapturedRun.md",
384
458
  "importPath": "@metamesh/cli/authoring",
385
459
  "availability": "Local Node authoring",
386
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
460
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
387
461
  "keywords": [
388
462
  "reference",
389
463
  "authoring",
@@ -397,7 +471,7 @@
397
471
  "path": "reference/authoring/RenderCamera.md",
398
472
  "importPath": "@metamesh/cli/authoring",
399
473
  "availability": "Local Node authoring",
400
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
474
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
401
475
  "keywords": [
402
476
  "reference",
403
477
  "authoring",
@@ -411,7 +485,7 @@
411
485
  "path": "reference/authoring/renderCapturedRun.md",
412
486
  "importPath": "@metamesh/cli/authoring",
413
487
  "availability": "Local Node authoring",
414
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
488
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
415
489
  "keywords": [
416
490
  "reference",
417
491
  "authoring",
@@ -425,7 +499,7 @@
425
499
  "path": "reference/authoring/RenderedImage.md",
426
500
  "importPath": "@metamesh/cli/authoring",
427
501
  "availability": "Local Node authoring",
428
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
502
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
429
503
  "keywords": [
430
504
  "reference",
431
505
  "authoring",
@@ -439,7 +513,7 @@
439
513
  "path": "reference/authoring/RenderFormat.md",
440
514
  "importPath": "@metamesh/cli/authoring",
441
515
  "availability": "Local Node authoring",
442
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
516
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
443
517
  "keywords": [
444
518
  "reference",
445
519
  "authoring",
@@ -453,7 +527,7 @@
453
527
  "path": "reference/authoring/RenderOptions.md",
454
528
  "importPath": "@metamesh/cli/authoring",
455
529
  "availability": "Local Node authoring",
456
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
530
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
457
531
  "keywords": [
458
532
  "reference",
459
533
  "authoring",
@@ -467,7 +541,7 @@
467
541
  "path": "reference/authoring/RenderResult.md",
468
542
  "importPath": "@metamesh/cli/authoring",
469
543
  "availability": "Local Node authoring",
470
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
544
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
471
545
  "keywords": [
472
546
  "reference",
473
547
  "authoring",
@@ -481,7 +555,7 @@
481
555
  "path": "reference/authoring/RenderView.md",
482
556
  "importPath": "@metamesh/cli/authoring",
483
557
  "availability": "Local Node authoring",
484
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
558
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
485
559
  "keywords": [
486
560
  "reference",
487
561
  "authoring",
@@ -495,7 +569,7 @@
495
569
  "path": "reference/authoring/runAuthoringSource.md",
496
570
  "importPath": "@metamesh/cli/authoring",
497
571
  "availability": "Local Node authoring",
498
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
572
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
499
573
  "keywords": [
500
574
  "reference",
501
575
  "authoring",
@@ -509,7 +583,7 @@
509
583
  "path": "reference/authoring/RunOptions.md",
510
584
  "importPath": "@metamesh/cli/authoring",
511
585
  "availability": "Local Node authoring",
512
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
586
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
513
587
  "keywords": [
514
588
  "reference",
515
589
  "authoring",
@@ -523,7 +597,7 @@
523
597
  "path": "reference/authoring/RunSuccess.md",
524
598
  "importPath": "@metamesh/cli/authoring",
525
599
  "availability": "Local Node authoring",
526
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
600
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
527
601
  "keywords": [
528
602
  "reference",
529
603
  "authoring",
@@ -537,7 +611,7 @@
537
611
  "path": "reference/authoring/searchAuthoringDocumentation.md",
538
612
  "importPath": "@metamesh/cli/authoring",
539
613
  "availability": "Local Node authoring",
540
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
614
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
541
615
  "keywords": [
542
616
  "reference",
543
617
  "authoring",
@@ -551,7 +625,7 @@
551
625
  "path": "reference/authoring/showAuthoringDocumentation.md",
552
626
  "importPath": "@metamesh/cli/authoring",
553
627
  "availability": "Local Node authoring",
554
- "canonical": "https://metamesh.studio/docs/develop/agent-authoring#install-and-discover-the-environment",
628
+ "canonical": "https://metamesh.studio/docs/develop/cli#install-and-discover-the-environment",
555
629
  "keywords": [
556
630
  "reference",
557
631
  "authoring",
@@ -2,7 +2,7 @@
2
2
 
3
3
  Version of the CLI authoring protocol, independent of package SemVer and engine compatibility.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  AUTHORING_PROTOCOL_VERSION = 1
@@ -2,7 +2,7 @@
2
2
 
3
3
  A structured issue with optional source location, parameter association, and geometry context.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** A structured issue with optional source location, parameter association, and geometry context. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  The selected project's supported protocol, matching package releases, and available workflows.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** The selected project's supported protocol, matching package releases, and available workflows. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  A classified authoring exception retaining its workflow phase, stable code, and exit status.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** A classified authoring exception retaining its workflow phase, stable code, and exit status. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  An unsuccessful command outcome; a failure directory does not establish a complete capture.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** An unsuccessful command outcome; a failure directory does not establish a complete capture. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Selects a standalone ModelProgram entry or an SDK Generator module with a definition.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** Selects a standalone ModelProgram entry or an SDK Generator module with a definition. */
@@ -2,9 +2,9 @@
2
2
 
3
3
  The workflow stage that rejected an invocation, source, asset, or captured artifact.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** The workflow stage that rejected an invocation, source, asset, or captured artifact. */
9
- export type AuthoringPhase = "invocation" | "environment" | "check" | "parameters" | "assets" | "bundle" | "execute" | "artifact" | "render";
9
+ export type AuthoringPhase = "invocation" | "environment" | "check" | "parameters" | "assets" | "bundle" | "execute" | "artifact" | "render" | "export";
10
10
  ```
@@ -0,0 +1,10 @@
1
+ # CaptureExportFormat
2
+
3
+ Supported completed-model file formats.
4
+
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
+
7
+ ```ts
8
+ /** Supported completed-model file formats. */
9
+ export type CaptureExportFormat = ExportFormat;
10
+ ```
@@ -0,0 +1,17 @@
1
+ # CaptureExportOptions
2
+
3
+ File delivery for one validated captured run; original author source is never executed.
4
+
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
+
7
+ ```ts
8
+ /** File delivery for one validated captured run; original author source is never executed. */
9
+ export interface CaptureExportOptions {
10
+ readonly format: CaptureExportFormat;
11
+ /** Destination with the selected format's extension; its parent directory must already exist. */
12
+ readonly output: string;
13
+ /** Optional document title; defaults to the output filename without its extension. */
14
+ readonly name?: string;
15
+ readonly signal?: AbortSignal;
16
+ }
17
+ ```
@@ -0,0 +1,15 @@
1
+ # CaptureExportResult
2
+
3
+ Completed file plus source identity and structured serializer diagnostics.
4
+
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
+
7
+ ```ts
8
+ /** Completed file plus source identity and structured serializer diagnostics. */
9
+ export interface CaptureExportResult extends ExportReport {
10
+ readonly path: string;
11
+ readonly format: CaptureExportFormat;
12
+ readonly runId: string;
13
+ readonly sourceFingerprint: string;
14
+ }
15
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  A captured file's relative path, byte length, and SHA-256 integrity digest.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** A captured file's relative path, byte length, and SHA-256 integrity digest. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Validated local-space mesh buffers loaded from a completed captured resource.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** Validated local-space mesh buffers loaded from a completed captured resource. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Semantic part identity and appearance referencing a shared mesh with separate placement.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** Semantic part identity and appearance referencing a shared mesh with separate placement. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  A shared local-space mesh resource and its measurements, before per-part placement.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** A shared local-space mesh resource and its measurements, before per-part placement. */
@@ -2,7 +2,7 @@
2
2
 
3
3
  A validated successful capture with its manifest and shared local geometry buffers.
4
4
 
5
- Import from `@metamesh/cli/authoring` (@metamesh/cli@0.18.0).
5
+ Import from `@metamesh/cli/authoring` (@metamesh/cli@0.20.0).
6
6
 
7
7
  ```ts
8
8
  /** A validated successful capture with its manifest and shared local geometry buffers. */