@volter/editor-live 0.5.69 → 0.5.70
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/BUNDLED_NOTICES +4 -4
- package/dist/editor-document.d.ts +1 -1
- package/dist/editor.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +2 -2
- package/package.json +3 -3
- package/src/editor-document.ts +1 -1
- package/src/editor.ts +1 -1
package/BUNDLED_NOTICES
CHANGED
|
@@ -3,9 +3,9 @@ Bundled license notices
|
|
|
3
3
|
These notices accompany code incorporated into this package. Separate npm dependencies retain their own licenses.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
@volter/editor-project@0.5.
|
|
6
|
+
@volter/editor-project@0.5.70
|
|
7
7
|
Declared license: Apache-2.0
|
|
8
|
-
Source: the unmodified npm package @volter/editor-project@0.5.
|
|
8
|
+
Source: the unmodified npm package @volter/editor-project@0.5.70, from https://github.com/volter-ai/editor.git
|
|
9
9
|
|
|
10
10
|
--- packages/editor-project/LICENSE ---
|
|
11
11
|
|
|
@@ -213,9 +213,9 @@ Source: the unmodified npm package @volter/editor-project@0.5.69, from https://g
|
|
|
213
213
|
limitations under the License.
|
|
214
214
|
|
|
215
215
|
|
|
216
|
-
@volter/editor-sdk@0.5.
|
|
216
|
+
@volter/editor-sdk@0.5.70
|
|
217
217
|
Declared license: Apache-2.0
|
|
218
|
-
Source: the unmodified npm package @volter/editor-sdk@0.5.
|
|
218
|
+
Source: the unmodified npm package @volter/editor-sdk@0.5.70, from https://github.com/volter-ai/editor.git
|
|
219
219
|
|
|
220
220
|
--- packages/editor-sdk/LICENSE ---
|
|
221
221
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* WHY IT IS A SEPARATE OBJECT, and why the verbs are these, is recorded once
|
|
5
5
|
* in the implementation's header
|
|
6
|
-
* (`packages/editor/src/editor-document-probe.ts`); the short version is that
|
|
6
|
+
* (`packages/editor-sdk/src/kit/editor-document-probe.ts`); the short version is that
|
|
7
7
|
* `game.page()` is play-mode-gated and rooted at the GAME container, so an
|
|
8
8
|
* editor surface that is not a running game could be neither read nor driven
|
|
9
9
|
* through the product.
|
package/dist/editor.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class LiveEditor {
|
|
|
21
21
|
* The ACTIVE center document's own DOM: read it, click it, key it, paste
|
|
22
22
|
* into it. The one door onto editor chrome that is not play-mode gated, and
|
|
23
23
|
* deliberately scoped to that document alone —
|
|
24
|
-
* `packages/editor/src/editor-document-probe.ts` carries the design and the
|
|
24
|
+
* `packages/editor-sdk/src/kit/editor-document-probe.ts` carries the design and the
|
|
25
25
|
* refusal contract. Screenshotting the same subject is
|
|
26
26
|
* {@link LiveEditor.captureActiveDocument}, not a fifth verb here.
|
|
27
27
|
*/
|
package/dist/index.js
CHANGED
|
@@ -218,7 +218,7 @@ var EditorClient = class {
|
|
|
218
218
|
* query engine. Omitted, the filename keeps its exact unnamed shape. */
|
|
219
219
|
/* `opts.record` (the editor's `play --record <name>` command) — NAMES this run's recording
|
|
220
220
|
* file. It does not ENABLE recording: every relayed play records, with no
|
|
221
|
-
* flag (see `@volter/game`'s `src/play/play-recording.ts`). Omitted, the clip is named for
|
|
221
|
+
* flag (see `@volter/editor-game`'s `src/play/play-recording.ts`). Omitted, the clip is named for
|
|
222
222
|
* the durable Gameplay Session; named, it becomes an explicit keepsake in
|
|
223
223
|
* `.volter/recordings/<name>.webm`. */
|
|
224
224
|
async play(opts) {
|
|
@@ -323,7 +323,7 @@ var EditorClient = class {
|
|
|
323
323
|
/**
|
|
324
324
|
* Unit 4 (live-front-door wave) — capture the RUNNING GAME (the editor's
|
|
325
325
|
* `screenshot`'s wire leg). Sends the SAME `bridge-screenshot` relay op
|
|
326
|
-
* `@volter/live`'s `RelayTransport.screenshot` (and therefore
|
|
326
|
+
* `@volter/game-live`'s `RelayTransport.screenshot` (and therefore
|
|
327
327
|
* `game.screenshot()` on the relay path) already sends, so all three
|
|
328
328
|
* surfaces composite the identical full game stack — canvas(es) plus the
|
|
329
329
|
* HUD/react DOM layers — rather than any of them inventing a second,
|
|
@@ -341,7 +341,7 @@ var EditorClient = class {
|
|
|
341
341
|
* refuses it with `BRIDGE_SCREENSHOT_STALE` rather than pass it off as
|
|
342
342
|
* current. Setting this asks the relay to render exactly ONE deterministic
|
|
343
343
|
* tick (`runTicks(1, {render:'last'})`) first — the same escape
|
|
344
|
-
* `@volter/live`'s `RelayTransport.screenshot` has always used, which is why
|
|
344
|
+
* `@volter/game-live`'s `RelayTransport.screenshot` has always used, which is why
|
|
345
345
|
* the editor's `eval` command could recover these frames while the editor's `screenshot` command could not.
|
|
346
346
|
* Off by default: a caller who does not ask must never be handed a frame
|
|
347
347
|
* that only exists because the capture drove the game.
|
|
@@ -446,7 +446,7 @@ var EditorClient = class {
|
|
|
446
446
|
* the DEFINITION travels with the command (project data — see
|
|
447
447
|
* `AssetPreviewShotSetDefinition`; the CLI resolves it from the registered
|
|
448
448
|
* `project.<set>.previewShots` tool), and the editor's generic
|
|
449
|
-
* capture engine renders it — see `packages/editor/src/asset-preview.ts`'s
|
|
449
|
+
* capture engine renders it — see `packages/editor-threejs/src/kit/asset-preview.ts`'s
|
|
450
450
|
* `captureShotSetAssetPreview`. Throws (via `command`'s `{ok:false}`
|
|
451
451
|
* unwrap) with a clear message naming the missing joint(s) when the asset
|
|
452
452
|
* lacks a bone the definition requires.
|
|
@@ -803,14 +803,14 @@ var EditorClient = class {
|
|
|
803
803
|
* {@link captureActiveDocument} photographs. NOT play-mode gated, and NOT
|
|
804
804
|
* page automation: a target outside the active document's container is
|
|
805
805
|
* refused by name. Design and scope contract:
|
|
806
|
-
* `packages/editor/src/editor-document-probe.ts`.
|
|
806
|
+
* `packages/editor-sdk/src/kit/editor-document-probe.ts`.
|
|
807
807
|
*/
|
|
808
808
|
async documentProbe(step) {
|
|
809
809
|
return this.command({ type: "document-probe", step });
|
|
810
810
|
}
|
|
811
811
|
/**
|
|
812
812
|
* Run a wire-carried step against the ACTIVE document's published context
|
|
813
|
-
* (`packages/editor/src/document-context-registry.ts`) — the REPL door over
|
|
813
|
+
* (`packages/editor-sdk/src/kit/document-context-registry.ts`) — the REPL door over
|
|
814
814
|
* an open document, in Edit mode. `src` is the step's own `toString()`;
|
|
815
815
|
* same serialization contract as `page-script` (no closures survive).
|
|
816
816
|
*/
|
|
@@ -1326,7 +1326,7 @@ var LiveEditor = class {
|
|
|
1326
1326
|
* The ACTIVE center document's own DOM: read it, click it, key it, paste
|
|
1327
1327
|
* into it. The one door onto editor chrome that is not play-mode gated, and
|
|
1328
1328
|
* deliberately scoped to that document alone —
|
|
1329
|
-
* `packages/editor/src/editor-document-probe.ts` carries the design and the
|
|
1329
|
+
* `packages/editor-sdk/src/kit/editor-document-probe.ts` carries the design and the
|
|
1330
1330
|
* refusal contract. Screenshotting the same subject is
|
|
1331
1331
|
* {@link LiveEditor.captureActiveDocument}, not a fifth verb here.
|
|
1332
1332
|
*/
|
|
@@ -1906,7 +1906,7 @@ var PRODUCT_INSTALL_LINES = [
|
|
|
1906
1906
|
" npm install --save-dev @volter/model-editor",
|
|
1907
1907
|
" npm install --save-dev @volter/game-editor"
|
|
1908
1908
|
];
|
|
1909
|
-
var PRODUCT_CREATE_LINES = [" npx @volter/editor create <name>"];
|
|
1909
|
+
var PRODUCT_CREATE_LINES = [" npx @volter/editor-core create <name>"];
|
|
1910
1910
|
var PRODUCT_COLOR_THEMES = ["dark", "light"];
|
|
1911
1911
|
function readProductManifest(packageDir) {
|
|
1912
1912
|
const manifestPath = join2(packageDir, "package.json");
|