@openagents-org/agent-launcher 0.2.83 → 0.2.85
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 +1 -1
- package/src/cli.js +1 -1
- package/src/tui.js +2 -2
package/package.json
CHANGED
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
|
-
|
|
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('
|
|
376
|
+
items.push(` {gray-fg} ${details.join(' | ')}{/gray-fg}`);
|
|
377
377
|
}
|
|
378
378
|
agentList.setItems(items);
|
|
379
379
|
}
|