@flowdular/sandbox 0.2.0 → 0.2.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.
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// ../sandbox/bin/flowdular-sandbox.mjs
|
|
4
4
|
import "./register-types.mjs";
|
|
5
5
|
import process2 from "node:process";
|
|
6
|
+
import { realpathSync } from "node:fs";
|
|
6
7
|
import { dirname, resolve } from "node:path";
|
|
7
8
|
import { fileURLToPath } from "node:url";
|
|
8
9
|
import { createServer } from "vite";
|
|
@@ -373,7 +374,7 @@ ${formatDevEvent("process", "Sandbox stopped.", useColor)}`);
|
|
|
373
374
|
process2.once("SIGTERM", () => void close());
|
|
374
375
|
return server;
|
|
375
376
|
}
|
|
376
|
-
if (process2.argv[1] && resolve(process2.argv[1]) === fileURLToPath(import.meta.url)) {
|
|
377
|
+
if (process2.argv[1] && realpathSync(resolve(process2.argv[1])) === fileURLToPath(import.meta.url)) {
|
|
377
378
|
startSandbox().catch((error) => {
|
|
378
379
|
console.error(
|
|
379
380
|
formatDevEvent(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowdular/sandbox",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "The Flowdular sandbox: chat a change, build it behind the gates, preview it in the real application, deliver it as code.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/flowdular/flowdular/tree/main/packages/sandbox#readme",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"octane": "0.1.51",
|
|
58
58
|
"segment-state": "0.2.0",
|
|
59
59
|
"vite": "8.2.2",
|
|
60
|
-
"@flowdular/sdk": "0.2.
|
|
60
|
+
"@flowdular/sdk": "0.2.1"
|
|
61
61
|
},
|
|
62
62
|
"imports": {
|
|
63
63
|
"#coding-agent": "./internal/coding-agent/src/index.ts"
|