loom-agent 1.2.16 → 1.2.17
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 -4
package/bin/loom-bun.js
CHANGED
|
@@ -14,7 +14,7 @@ const inPkgRoot = path.resolve(process.cwd()) === path.resolve(pkgRoot);
|
|
|
14
14
|
if (!underBun || !inPkgRoot) {
|
|
15
15
|
const result = spawnSync(
|
|
16
16
|
process.platform === "win32" ? "bun.exe" : "bun",
|
|
17
|
-
[
|
|
17
|
+
[__filename, ...process.argv.slice(2)],
|
|
18
18
|
{
|
|
19
19
|
stdio: "inherit",
|
|
20
20
|
cwd: pkgRoot,
|
package/bin/loom-tui.js
CHANGED
|
@@ -11,7 +11,7 @@ const inPkgRoot = path.resolve(process.cwd()) === path.resolve(pkgRoot);
|
|
|
11
11
|
if (!underBun || !inPkgRoot) {
|
|
12
12
|
const result = spawnSync(
|
|
13
13
|
process.platform === "win32" ? "bun.exe" : "bun",
|
|
14
|
-
[
|
|
14
|
+
[__filename, ...process.argv.slice(2)],
|
|
15
15
|
{
|
|
16
16
|
stdio: "inherit",
|
|
17
17
|
cwd: pkgRoot,
|
package/package.json
CHANGED
package/src/core/cli.js
CHANGED
|
@@ -579,10 +579,7 @@ if (args.includes('--help') || args.includes('-h')) {
|
|
|
579
579
|
process.env.LOOM_START_CWD = process.cwd();
|
|
580
580
|
process.env.LOOM_BIN_NAME = "loom";
|
|
581
581
|
process.env.BUN_CONFIG = path.join(pkgRoot, "bunfig.toml");
|
|
582
|
-
|
|
583
|
-
// bin/loom-tui.js) — without it the SSR build loads and the TUI
|
|
584
|
-
// renders one static frame then never updates.
|
|
585
|
-
const tuiArgs = ["--conditions=browser", tuiEntry];
|
|
582
|
+
const tuiArgs = [tuiEntry];
|
|
586
583
|
if (sessionId) tuiArgs.push('-s', sessionId);
|
|
587
584
|
if (autoMode) tuiArgs.push('--auto');
|
|
588
585
|
const prompt = promptArgs.join(' ');
|