@openagents-org/agent-launcher 0.2.35 → 0.2.37

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.35",
3
+ "version": "0.2.37",
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/registry.json CHANGED
@@ -74,7 +74,8 @@
74
74
  "keychain_service": "Claude Code-credentials",
75
75
  "not_ready_message": "Not logged in. Run: claude login",
76
76
  "login_command": "claude login"
77
- }
77
+ },
78
+ "env_config": []
78
79
  },
79
80
  {
80
81
  "name": "cline",
@@ -137,7 +138,7 @@
137
138
  "OPENAI_API_KEY"
138
139
  ],
139
140
  "saved_env_key": "OPENAI_API_KEY",
140
- "not_ready_message": "No API key press e to configure"
141
+ "not_ready_message": "No API key \u2014 press e to configure"
141
142
  },
142
143
  "resolve_env": {
143
144
  "rules": [
@@ -220,7 +221,7 @@
220
221
  "OPENAI_API_KEY"
221
222
  ],
222
223
  "saved_env_key": "OPENAI_API_KEY",
223
- "not_ready_message": "No API key press e to configure"
224
+ "not_ready_message": "No API key \u2014 press e to configure"
224
225
  },
225
226
  "resolve_env": {
226
227
  "rules": [
@@ -296,9 +297,9 @@
296
297
  "nodejs",
297
298
  "git"
298
299
  ],
299
- "macos": "echo 'NanoClaw uses direct API mode no binary install needed'",
300
- "linux": "echo 'NanoClaw uses direct API mode no binary install needed'",
301
- "windows": "echo 'NanoClaw uses direct API mode no binary install needed'"
300
+ "macos": "echo 'NanoClaw uses direct API mode \u2014 no binary install needed'",
301
+ "linux": "echo 'NanoClaw uses direct API mode \u2014 no binary install needed'",
302
+ "windows": "echo 'NanoClaw uses direct API mode \u2014 no binary install needed'"
302
303
  },
303
304
  "adapter": {
304
305
  "module": "openagents.adapters.nanoclaw",
@@ -322,7 +323,7 @@
322
323
  "OPENAI_API_KEY"
323
324
  ],
324
325
  "saved_env_key": "OPENAI_API_KEY",
325
- "not_ready_message": "No API key press e to configure"
326
+ "not_ready_message": "No API key \u2014 press e to configure"
326
327
  },
327
328
  "resolve_env": {
328
329
  "rules": [
@@ -419,7 +420,7 @@
419
420
  "OPENAI_API_KEY"
420
421
  ],
421
422
  "saved_env_key": "LLM_API_KEY",
422
- "not_ready_message": "Not configured press e to configure"
423
+ "not_ready_message": "Not configured \u2014 press e to configure"
423
424
  }
424
425
  },
425
426
  {
@@ -490,7 +491,7 @@
490
491
  "ANTHROPIC_API_KEY"
491
492
  ],
492
493
  "saved_env_key": "LLM_API_KEY",
493
- "not_ready_message": "Not configured press e to configure"
494
+ "not_ready_message": "Not configured \u2014 press e to configure"
494
495
  }
495
496
  },
496
497
  {
@@ -510,4 +511,4 @@
510
511
  "windows": "pip install sweagent"
511
512
  }
512
513
  }
513
- ]
514
+ ]
@@ -423,8 +423,22 @@ class ClaudeAdapter extends BaseAdapter {
423
423
  postedThinking = false;
424
424
  lastResponseText.length = 0;
425
425
  const toolName = block.name || '';
426
- const toolInput = String(block.input || '').slice(0, 200);
427
- await this.sendStatus(msgChannel, `**Using tool:** \`${toolName}\`\n\`\`\`\n${toolInput}\n\`\`\``);
426
+ // Format tool input as readable text
427
+ let inputPreview = '';
428
+ if (block.input && typeof block.input === 'object') {
429
+ // Extract key fields for common tools
430
+ const inp = block.input;
431
+ if (inp.command) inputPreview = inp.command;
432
+ else if (inp.file_path || inp.path) inputPreview = inp.file_path || inp.path;
433
+ else if (inp.pattern) inputPreview = inp.pattern;
434
+ else if (inp.query) inputPreview = inp.query;
435
+ else if (inp.url) inputPreview = inp.url;
436
+ else if (inp.content) inputPreview = inp.content.slice(0, 100);
437
+ else inputPreview = JSON.stringify(inp).slice(0, 150);
438
+ } else {
439
+ inputPreview = String(block.input || '').slice(0, 150);
440
+ }
441
+ await this.sendStatus(msgChannel, `${toolName} › ${inputPreview}`);
428
442
  }
429
443
  }
430
444
  } else if (eventType === 'result') {
package/src/registry.js CHANGED
@@ -73,6 +73,8 @@ class Registry {
73
73
  if ((!entry.env_config || entry.env_config.length === 0) && b.env_config && b.env_config.length > 0) entry.env_config = b.env_config;
74
74
  if (!entry.resolve_env && b.resolve_env) entry.resolve_env = b.resolve_env;
75
75
  if (!entry.install && b.install) entry.install = b.install;
76
+ if (!entry.check_ready && b.check_ready) entry.check_ready = b.check_ready;
77
+ if (!entry.launch && b.launch) entry.launch = b.launch;
76
78
  }
77
79
  }
78
80
  // Add bundled entries not in catalog