@openagents-org/agent-launcher 0.2.83 → 0.2.84

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.2.83",
3
+ "version": "0.2.84",
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/cli.js CHANGED
@@ -122,7 +122,7 @@ async function cmdCreate(connector, flags, positional) {
122
122
  const role = flags.role || 'worker';
123
123
 
124
124
  try {
125
- connector.addAgent({ name, type, role, path: flags.path });
125
+ connector.addAgent({ name, type, role, path: flags.path || process.cwd() });
126
126
  print(`Agent '${name}' created (type: ${type})`);
127
127
 
128
128
  // Auto-install if not installed
package/src/tui.js CHANGED
@@ -371,9 +371,9 @@ function createTUI() {
371
371
  items.push(` ${r.name.padEnd(22)} ${r.type.padEnd(14)} ${state.padEnd(30)} ${ws}`);
372
372
  // Detail row: working dir + config warning
373
373
  const details = [];
374
- if (r.path) details.push(r.path);
374
+ details.push(r.path || process.env.HOME || '~');
375
375
  if (r.notReadyMsg) details.push(`{yellow-fg}⚠ ${r.notReadyMsg}{/yellow-fg}`);
376
- items.push(` {gray-fg} ${details.join(' · ') || ''}{/gray-fg}`);
376
+ items.push(` {gray-fg} ${details.join(' · ')}{/gray-fg}`);
377
377
  }
378
378
  agentList.setItems(items);
379
379
  }