loom-agent 1.2.7 → 1.2.8

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-tui.js CHANGED
@@ -36,7 +36,10 @@ process.env.LOOM_BIN_NAME = "loom";
36
36
  const bun = findBun();
37
37
 
38
38
  if (bun) {
39
- const result = spawnSync(bun, ['run', entry, ...process.argv.slice(2)], {
39
+ // Pin Solid to its CLIENT build: from this spawn context bun can resolve
40
+ // solid-js under the "node" export condition (= SSR build, renders one
41
+ // static frame then ignores all signal updates -> frozen splash).
42
+ const result = spawnSync(bun, ['--conditions=browser', 'run', entry, ...process.argv.slice(2)], {
40
43
  stdio: 'inherit',
41
44
  cwd: pkgRoot,
42
45
  env: process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loom-agent",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/toshalkumbhar8979-design/loomcode.git"
package/src/core/cli.js CHANGED
@@ -566,7 +566,10 @@ if (args.includes('--help') || args.includes('-h')) {
566
566
  const pkgRoot = path.join(__dirname, '..', '..');
567
567
  process.env.LOOM_START_CWD = process.cwd();
568
568
  process.env.LOOM_BIN_NAME = "loom";
569
- const tuiArgs = [tuiEntry];
569
+ // --conditions=browser pins Solid to its client build (see
570
+ // bin/loom-tui.js) — without it the SSR build loads and the TUI
571
+ // renders one static frame then never updates.
572
+ const tuiArgs = ['--conditions=browser', tuiEntry];
570
573
  if (sessionId) tuiArgs.push('-s', sessionId);
571
574
  if (autoMode) tuiArgs.push('--auto');
572
575
  const prompt = promptArgs.join(' ');