@openagents-org/agent-launcher 0.1.14 → 0.1.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/daemon.js CHANGED
@@ -161,7 +161,7 @@ class Daemon {
161
161
  const opts = {
162
162
  detached: true,
163
163
  stdio: ['ignore', logFd, logFd],
164
- env: { ...process.env },
164
+ env: getEnhancedEnv(),
165
165
  };
166
166
  if (IS_WINDOWS) opts.windowsHide = true;
167
167
 
@@ -260,7 +260,10 @@ class Daemon {
260
260
  if (network) {
261
261
  this._adapterLoop(name, agentCfg, info, network);
262
262
  } else {
263
- this._spawnLoop(name, agentCfg, info);
263
+ // No workspace connected — nothing to do, mark as idle
264
+ info.state = 'stopped';
265
+ this._writeStatus();
266
+ this._log(`${name} idle (no workspace connected)`);
264
267
  }
265
268
  }
266
269
 
package/src/installer.js CHANGED
@@ -429,7 +429,7 @@ class Installer {
429
429
  const { spawn: spawnProc } = require('child_process');
430
430
  const https = require('https');
431
431
  const os = require('os');
432
- const nodeVersion = 'v22.14.0';
432
+ const nodeVersion = 'v22.16.0';
433
433
  const plat = Installer.platform();
434
434
 
435
435
  if (onData) onData(`Node.js not found. Installing Node.js ${nodeVersion}...\n\n`);
package/src/tui.js CHANGED
@@ -639,14 +639,14 @@ function createTUI() {
639
639
  const nameInput = blessed.textbox({
640
640
  parent: dialog, top: 2, left: 2, width: 50, height: 3,
641
641
  border: { type: 'line' }, inputOnFocus: true,
642
- style: { focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
642
+ style: { fg: 'white', bg: COLORS.surface, focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
643
643
  });
644
644
 
645
- blessed.text({ parent: dialog, top: 5, left: 2, tags: true, content: `{bold}Working directory:{/bold} {gray-fg}(default: cwd){/gray-fg}` });
645
+ blessed.text({ parent: dialog, top: 5, left: 2, tags: true, content: `{bold}Working directory:{/bold} {gray-fg}(default: ${defaultPath}){/gray-fg}` });
646
646
  const pathInput = blessed.textbox({
647
647
  parent: dialog, top: 6, left: 2, width: 50, height: 3,
648
648
  border: { type: 'line' }, inputOnFocus: true,
649
- style: { focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
649
+ style: { fg: 'white', bg: COLORS.surface, focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
650
650
  });
651
651
 
652
652
  blessed.text({
@@ -724,7 +724,7 @@ function createTUI() {
724
724
  border: { type: 'line' }, inputOnFocus: true,
725
725
  value: current,
726
726
  censor: field.password || false,
727
- style: { focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
727
+ style: { fg: 'white', bg: COLORS.surface, focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
728
728
  });
729
729
  input._fieldName = field.name;
730
730
  inputs.push(input);
@@ -981,7 +981,7 @@ function createTUI() {
981
981
  top: 1, left: 2, width: '100%-6', height: 3,
982
982
  border: { type: 'line' }, inputOnFocus: true,
983
983
  value: defaultValue || '',
984
- style: { focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
984
+ style: { fg: 'white', bg: COLORS.surface, focus: { border: { fg: COLORS.accent } }, border: { fg: 'grey' } },
985
985
  });
986
986
 
987
987
  blessed.text({