loom-agent 1.2.11 → 1.2.12
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/bin/loom-bun.js +1 -1
- package/bin/loom-tui.js +1 -1
- package/package.json +1 -1
- package/src/core/cli.js +1 -1
package/bin/loom-bun.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require("path");
|
|
|
5
5
|
const { spawnSync } = require("child_process");
|
|
6
6
|
|
|
7
7
|
if (!(typeof Bun !== "undefined" && process.versions.bun)) {
|
|
8
|
-
const result = spawnSync(process.platform === "win32" ? "bun.exe" : "bun", [__filename, ...process.argv.slice(2)], {
|
|
8
|
+
const result = spawnSync(process.platform === "win32" ? "bun.exe" : "bun", ["--conditions=browser", __filename, ...process.argv.slice(2)], {
|
|
9
9
|
stdio: "inherit",
|
|
10
10
|
cwd: process.cwd(),
|
|
11
11
|
env: process.env,
|
package/bin/loom-tui.js
CHANGED
|
@@ -5,7 +5,7 @@ const path = require("path");
|
|
|
5
5
|
const { spawnSync } = require("child_process");
|
|
6
6
|
|
|
7
7
|
if (!(typeof Bun !== "undefined" && process.versions.bun)) {
|
|
8
|
-
const result = spawnSync(process.platform === "win32" ? "bun.exe" : "bun", [__filename, ...process.argv.slice(2)], {
|
|
8
|
+
const result = spawnSync(process.platform === "win32" ? "bun.exe" : "bun", ["--conditions=browser", __filename, ...process.argv.slice(2)], {
|
|
9
9
|
stdio: "inherit",
|
|
10
10
|
cwd: process.cwd(),
|
|
11
11
|
env: process.env,
|
package/package.json
CHANGED
package/src/core/cli.js
CHANGED
|
@@ -582,7 +582,7 @@ if (args.includes('--help') || args.includes('-h')) {
|
|
|
582
582
|
// --conditions=browser pins Solid to its client build (see
|
|
583
583
|
// bin/loom-tui.js) — without it the SSR build loads and the TUI
|
|
584
584
|
// renders one static frame then never updates.
|
|
585
|
-
const tuiArgs = [tuiEntry];
|
|
585
|
+
const tuiArgs = ["--conditions=browser", tuiEntry];
|
|
586
586
|
if (sessionId) tuiArgs.push('-s', sessionId);
|
|
587
587
|
if (autoMode) tuiArgs.push('--auto');
|
|
588
588
|
const prompt = promptArgs.join(' ');
|