@runweave/server-linux-x64 0.1.6 → 0.1.7
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/manifest.json +514 -14
- package/native.tar.gz +0 -0
- package/package.json +1 -1
- package/payload/app-server/build-info.json +3 -3
- package/payload/app-server/index.cjs +1 -1
- package/payload/backend/build-info.json +4 -4
- package/payload/backend/dev-resources/control.cjs +280 -239
- package/payload/backend/index.cjs +2742 -2217
- package/payload/frontend/dist/build-info.json +3 -3
- package/payload/frontend/dist/companion.html +1 -1
- package/payload/frontend/dist/index.html +1 -1
- package/payload/pty-host/index.cjs +20125 -0
- package/payload/server/index.cjs +8 -0
package/payload/server/index.cjs
CHANGED
|
@@ -8718,6 +8718,14 @@ async function waitForAppServer() {
|
|
|
8718
8718
|
}
|
|
8719
8719
|
async function runComponent(ctx, name) {
|
|
8720
8720
|
if (process.platform === "win32") {
|
|
8721
|
+
let owner;
|
|
8722
|
+
try {
|
|
8723
|
+
owner = readJson(import_node_path8.default.join(ctx.home, "foreground.json"));
|
|
8724
|
+
} catch {
|
|
8725
|
+
throw new Error("SERVER_CLI_INCOMPATIBLE: start this Windows Server with @runweave/cli >=0.10.8");
|
|
8726
|
+
}
|
|
8727
|
+
if (owner.foregroundProtocolVersion !== 1 || owner.pid !== process.ppid || processStartIdentity(owner.pid) !== owner.startedAt)
|
|
8728
|
+
throw new Error("SERVER_CLI_INCOMPATIBLE: start this Windows Server with @runweave/cli >=0.10.8");
|
|
8721
8729
|
const shutdown = () => {
|
|
8722
8730
|
if (process.listenerCount("SIGTERM") === 0) process.exit(0);
|
|
8723
8731
|
process.emit("SIGTERM");
|