@metamesh/cli 0.16.0 → 0.17.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.
- package/CHANGELOG.md +13 -0
- package/dist/docs/guides/agent-authoring.md +17 -15
- package/dist/docs/manifest.json +1 -1
- package/dist/docs/reference/authoring/AUTHORING_PROTOCOL_VERSION.md +1 -1
- package/dist/docs/reference/authoring/AuthoringDiagnostic.md +1 -1
- package/dist/docs/reference/authoring/AuthoringEnvironment.md +1 -1
- package/dist/docs/reference/authoring/AuthoringError.md +1 -1
- package/dist/docs/reference/authoring/AuthoringFailure-type.md +1 -1
- package/dist/docs/reference/authoring/AuthoringKind.md +1 -1
- package/dist/docs/reference/authoring/AuthoringPhase.md +1 -1
- package/dist/docs/reference/authoring/CapturedBuffer.md +1 -1
- package/dist/docs/reference/authoring/CapturedGeometry.md +1 -1
- package/dist/docs/reference/authoring/CapturedPart.md +1 -1
- package/dist/docs/reference/authoring/CapturedResource.md +1 -1
- package/dist/docs/reference/authoring/CapturedRun.md +1 -1
- package/dist/docs/reference/authoring/CapturedRunManifest.md +1 -1
- package/dist/docs/reference/authoring/CheckOptions.md +1 -1
- package/dist/docs/reference/authoring/CheckSuccess.md +1 -1
- package/dist/docs/reference/authoring/DocumentationEntry.md +1 -1
- package/dist/docs/reference/authoring/DocumentationManifest.md +1 -1
- package/dist/docs/reference/authoring/DocumentationSearchResult.md +1 -1
- package/dist/docs/reference/authoring/InstalledAuthoringPackage.md +1 -1
- package/dist/docs/reference/authoring/RenderCamera.md +1 -1
- package/dist/docs/reference/authoring/RenderFormat.md +1 -1
- package/dist/docs/reference/authoring/RenderOptions.md +1 -1
- package/dist/docs/reference/authoring/RenderResult.md +1 -1
- package/dist/docs/reference/authoring/RenderView.md +1 -1
- package/dist/docs/reference/authoring/RenderedImage.md +1 -1
- package/dist/docs/reference/authoring/RunOptions.md +1 -1
- package/dist/docs/reference/authoring/RunSuccess.md +1 -1
- package/dist/docs/reference/authoring/authoringFailure-value.md +1 -1
- package/dist/docs/reference/authoring/checkAuthoringSource.md +1 -1
- package/dist/docs/reference/authoring/discoverAuthoringEnvironment.md +1 -1
- package/dist/docs/reference/authoring/inspectCapturedRun.md +1 -1
- package/dist/docs/reference/authoring/installAuthoringBrowser.md +1 -1
- package/dist/docs/reference/authoring/readCapturedRun.md +1 -1
- package/dist/docs/reference/authoring/renderCapturedRun.md +1 -1
- package/dist/docs/reference/authoring/runAuthoringSource.md +1 -1
- package/dist/docs/reference/authoring/searchAuthoringDocumentation.md +1 -1
- package/dist/docs/reference/authoring/showAuthoringDocumentation.md +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @metamesh/cli
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- Updated dependencies [d0cc194]
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @metamesh/modeling@0.17.0
|
|
13
|
+
- @metamesh/generator-sdk@0.17.0
|
|
14
|
+
- @metamesh/testkit@0.17.0
|
|
15
|
+
|
|
3
16
|
## 0.16.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -123,12 +123,9 @@ A Generator entry named-exports `definition` and default-exports its module enve
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
```ts
|
|
126
|
-
import {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
type GeneratorParams,
|
|
130
|
-
} from "@metamesh/generator-sdk";
|
|
131
|
-
import { box, generate } from "@metamesh/modeling";
|
|
126
|
+
import { defineGenerator } from "@metamesh/generator-sdk";
|
|
127
|
+
import { defineGeneratorModel } from "@metamesh/generator-sdk/modeling";
|
|
128
|
+
import { box } from "@metamesh/modeling";
|
|
132
129
|
|
|
133
130
|
export const definition = defineGenerator({
|
|
134
131
|
id: "plate",
|
|
@@ -138,15 +135,17 @@ export const definition = defineGenerator({
|
|
|
138
135
|
parameters: [{ id: "width", label: "Width", type: "number", default: 30, min: 1 }],
|
|
139
136
|
});
|
|
140
137
|
|
|
141
|
-
|
|
138
|
+
export default defineGeneratorModel(definition, ({ params, part }) =>
|
|
142
139
|
part("plate", box({ size: [params.width, 20, 6] }))
|
|
143
140
|
);
|
|
144
|
-
|
|
145
|
-
export default defineGeneratorModule({ definition, generate: model });
|
|
146
141
|
```
|
|
147
142
|
|
|
148
143
|
|
|
149
144
|
|
|
145
|
+
`defineGeneratorModel` from the optional SDK `/modeling` adapter infers controls, prepared services,
|
|
146
|
+
and assertion parameter IDs. It declares the ordinary Modeling program and package identity;
|
|
147
|
+
the host still owns normalization, asset preparation, execution, and cleanup.
|
|
148
|
+
|
|
150
149
|
```bash
|
|
151
150
|
pnpm exec metamesh check generator.ts --kind generator
|
|
152
151
|
pnpm exec metamesh run generator.ts --kind generator --params values.json
|
|
@@ -197,12 +196,15 @@ pnpm add -D @metamesh/testkit
|
|
|
197
196
|
```
|
|
198
197
|
|
|
199
198
|
Use `createGeneratorTestRunner(definition, runtime)` for a Generator's persistent generation
|
|
200
|
-
session.
|
|
201
|
-
|
|
202
|
-
separately
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
199
|
+
session. `runner.withModel(parameters, callback)` awaits assertions and disposes its snapshot in
|
|
200
|
+
`finally`; invalid output throws structured `GenerationError` diagnostics. Dispose the runner
|
|
201
|
+
separately to release its session and caches. Testkit's `withModel(program, parameters, callback)`
|
|
202
|
+
does the same for an ordinary `ModelProgram` and also disposes its temporary session; its optional
|
|
203
|
+
fourth argument accepts session policy, prepared services, and a test-owned engine.
|
|
204
|
+
|
|
205
|
+
Use `runner.execute` when a test needs explicit snapshot ownership or the discriminated invalid
|
|
206
|
+
result. Handle `type: "invalid"` before reading a generated `model`, and dispose each successful
|
|
207
|
+
snapshot separately. Unexpected execution or malformed-output errors reject in either path.
|
|
206
208
|
|
|
207
209
|
The runner normalizes saved values. To probe deliberately invalid typed inputs without that
|
|
208
210
|
recovery, call `runner.validate(parameters, { normalize: false })`. Validation checks declarations
|
package/dist/docs/manifest.json
CHANGED
|
@@ -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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Selects a standalone ModelProgram entry or an SDK Generator module with a definition. */
|
|
@@ -2,7 +2,7 @@
|
|
|
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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** The workflow stage that rejected an invocation, source, asset, or captured artifact. */
|
|
@@ -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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.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.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** A validated successful capture with its manifest and shared local geometry buffers. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A completed attempt's provenance, effective inputs, diagnostics, and captured geometry.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** A completed attempt's provenance, effective inputs, diagnostics, and captured geometry. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Source entry contract and project-local resolution settings for semantic checking.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Source entry contract and project-local resolution settings for semantic checking. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A successful semantic check; source has not been evaluated and no geometry is captured.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** A successful semantic check; source has not been evaluated and no geometry is captured. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Metadata for one installed Markdown guide or public API symbol.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Metadata for one installed Markdown guide or public API symbol. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Exact-package-version index exposed through the package's docs/manifest.json export.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Exact-package-version index exposed through the package's docs/manifest.json export. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
An installed documentation match carrying the exact package identity that owns it.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** An installed documentation match carrying the exact package identity that owns it. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A project-local MetaMesh package and its verified documentation index.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** A project-local MetaMesh package and its verified documentation index. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Recorded orthographic camera, expressed in millimetres and world coordinates.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Recorded orthographic camera, expressed in millimetres and world coordinates. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Options for rendering a previously captured model, without executing author code.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Options for rendering a previously captured model, without executing author code. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Images always belong to one captured run and one unique output directory.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Images always belong to one captured run and one unique output directory. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Standard orthographic views in MetaMesh's Z-up coordinate system.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Standard orthographic views in MetaMesh's Z-up coordinate system. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A view and its provenance, also written beside the image as JSON.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** A view and its provenance, also written beside the image as JSON. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Inputs and bounded execution policy for one checked, trusted local source attempt.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Inputs and bounded execution policy for one checked, trusted local source attempt. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A successful checked execution; use this exact directory for subsequent inspection and rendering.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** A successful checked execution; use this exact directory for subsequent inspection and rendering. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Converts a thrown value to a failure envelope, preserving classified authoring diagnostics.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Converts a thrown value to a failure envelope, preserving classified authoring diagnostics. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Checks strict TypeScript and the selected entry-module contract without evaluating author source.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Checks strict TypeScript and the selected entry-module contract without evaluating author source. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Discovers project-local Modeling, CLI, and optional SDK/Testkit documentation. Rejects missing required packages, stale manifests, and mixed exact package versions.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Validates a completed capture and returns its manifest with an optional semantic part selection. Original source is never evaluated; incomplete captures and unknown part IDs reject.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Explicit installation of this package's pinned Chromium. Never called by render.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Explicit installation of this package's pinned Chromium. Never called by render. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reads only immutable captured files. It never imports or executes original author source.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Reads only immutable captured files. It never imports or executes original author source. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Render validated persisted local geometry and placements. Source code is never imported, and a fresh capture directory prevents overlapping calls from overwriting evidence.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Checks and executes trusted local source in a disposable child, then captures its finalized geometry. Returns a success or failure envelope for this fresh attempt; failed attempts cannot be rendered.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Ranks distinct intent tokens in installed titles, keywords, and summaries without loading bodies. Exact symbol/topic/import lookup takes priority; equally complete matches favor guides. Returns up to limit matches, defaulting to 10; supported limits are 1 through 50.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Reads one exact-version installed Markdown topic by its discovered ID, without executing source.
|
|
4
4
|
|
|
5
|
-
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.
|
|
5
|
+
Import from `@metamesh/cli/authoring` (@metamesh/cli@0.17.0).
|
|
6
6
|
|
|
7
7
|
```ts
|
|
8
8
|
/** Reads one exact-version installed Markdown topic by its discovered ID, without executing source. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamesh/cli",
|
|
3
3
|
"description": "Local MetaMesh authoring CLI and reusable Node tools for checking, captured generation, inspection, and rendering.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"./docs/manifest.json": "./dist/docs/manifest.json"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@metamesh/testkit": "0.
|
|
36
|
+
"@metamesh/testkit": "0.17.0",
|
|
37
37
|
"commander": "15.0.0",
|
|
38
38
|
"esbuild": "^0.28.2",
|
|
39
39
|
"playwright": "1.64.1",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"typescript": "6.0.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@metamesh/generator-sdk": "0.
|
|
45
|
-
"@metamesh/modeling": "0.
|
|
44
|
+
"@metamesh/generator-sdk": "0.17.0",
|
|
45
|
+
"@metamesh/modeling": "0.17.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@metamesh/generator-sdk": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@metamesh/config": "0.0.0",
|
|
54
|
-
"@metamesh/generator-sdk": "0.
|
|
55
|
-
"@metamesh/modeling": "0.
|
|
54
|
+
"@metamesh/generator-sdk": "0.17.0",
|
|
55
|
+
"@metamesh/modeling": "0.17.0",
|
|
56
56
|
"vitest": "^5.0.5",
|
|
57
57
|
"@types/node": "^24.19.2",
|
|
58
58
|
"@types/three": "0.186.0"
|