reasonix 0.44.2-rc.1 → 0.44.2-rc.2
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/dist/cli/{chat-X2WVADEO.js → chat-YHRGJEPE.js} +2 -2
- package/dist/cli/{chunk-WF6BGFJH.js → chunk-5KU3SHDP.js} +17 -2
- package/dist/cli/{chunk-WF6BGFJH.js.map → chunk-5KU3SHDP.js.map} +1 -1
- package/dist/cli/{code-XLW74VSJ.js → code-ZOLONNDE.js} +2 -2
- package/dist/cli/index.js +3 -3
- package/package.json +6 -6
- /package/dist/cli/{chat-X2WVADEO.js.map → chat-YHRGJEPE.js.map} +0 -0
- /package/dist/cli/{code-XLW74VSJ.js.map → code-ZOLONNDE.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __cr } from 'node:module'; if (typeof globalThis.require === 'undefined') { globalThis.require = __cr(import.meta.url); }
|
|
3
3
|
import {
|
|
4
4
|
chatCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5KU3SHDP.js";
|
|
6
6
|
import "./chunk-TKVXTQ3T.js";
|
|
7
7
|
import "./chunk-JMBMLOBP.js";
|
|
8
8
|
import "./chunk-2V6EAEUW.js";
|
|
@@ -48,4 +48,4 @@ import "./chunk-TUK7OWJA.js";
|
|
|
48
48
|
export {
|
|
49
49
|
chatCommand
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chat-
|
|
51
|
+
//# sourceMappingURL=chat-YHRGJEPE.js.map
|
|
@@ -44813,6 +44813,12 @@ function spawnRenderer(opts) {
|
|
|
44813
44813
|
child.once("exit", (code) => {
|
|
44814
44814
|
exited = true;
|
|
44815
44815
|
resolve3(code);
|
|
44816
|
+
if (opts.integrated && opts.onEvent) {
|
|
44817
|
+
try {
|
|
44818
|
+
opts.onEvent({ event: "exit" });
|
|
44819
|
+
} catch {
|
|
44820
|
+
}
|
|
44821
|
+
}
|
|
44816
44822
|
});
|
|
44817
44823
|
});
|
|
44818
44824
|
child.stdin?.on("error", () => {
|
|
@@ -44987,6 +44993,9 @@ function emitSceneMessage(message) {
|
|
|
44987
44993
|
return;
|
|
44988
44994
|
}
|
|
44989
44995
|
}
|
|
44996
|
+
function ensureSceneTraceReady() {
|
|
44997
|
+
ensureInitialized();
|
|
44998
|
+
}
|
|
44990
44999
|
function ensureInitialized() {
|
|
44991
45000
|
if (state.opened) return;
|
|
44992
45001
|
state.opened = true;
|
|
@@ -44999,7 +45008,12 @@ function ensureInitialized() {
|
|
|
44999
45008
|
}
|
|
45000
45009
|
if (process.env[RENDERER_VAR] === "node") return;
|
|
45001
45010
|
const { command, source } = resolveRenderer();
|
|
45002
|
-
if (source === null || command.length === 0)
|
|
45011
|
+
if (source === null || command.length === 0) {
|
|
45012
|
+
process.stderr.write(
|
|
45013
|
+
"\u25B2 trace.ts: resolveRenderer() returned no usable command \u2014 scene trace stays off. Check optional-dep install (`ls node_modules/@reasonix/render-*`) or set REASONIX_RENDER_BIN.\n"
|
|
45014
|
+
);
|
|
45015
|
+
return;
|
|
45016
|
+
}
|
|
45003
45017
|
const integrated = process.env[INTEGRATED_VAR] !== "0";
|
|
45004
45018
|
state.mode = "child";
|
|
45005
45019
|
state.child = spawnRenderer({
|
|
@@ -63755,6 +63769,7 @@ async function chatCommand(opts) {
|
|
|
63755
63769
|
resolveListPicker(event.id, event.cancelled ? null : event.key ?? null);
|
|
63756
63770
|
}
|
|
63757
63771
|
});
|
|
63772
|
+
ensureSceneTraceReady();
|
|
63758
63773
|
}
|
|
63759
63774
|
const { waitUntilExit } = render_default(
|
|
63760
63775
|
/* @__PURE__ */ import_react92.default.createElement(
|
|
@@ -63813,4 +63828,4 @@ async function chatCommand(opts) {
|
|
|
63813
63828
|
export {
|
|
63814
63829
|
chatCommand
|
|
63815
63830
|
};
|
|
63816
|
-
//# sourceMappingURL=chunk-
|
|
63831
|
+
//# sourceMappingURL=chunk-5KU3SHDP.js.map
|