@openagents-org/agent-launcher 0.2.39 → 0.2.41

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.39",
3
+ "version": "0.2.41",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -413,11 +413,11 @@ class ClaudeAdapter extends BaseAdapter {
413
413
  }
414
414
  lastResponseText.push(block.text.trim());
415
415
  postedThinking = true;
416
- await this.client.sendMessage(
417
- this.workspaceId, msgChannel, this.token,
418
- block.text.trim(),
419
- { senderType: 'agent', senderName: this.agentName, messageType: 'thinking', metadata: { agent_mode: this._mode } }
420
- );
416
+ // Only send status preview for longer responses (short ones arrive too quickly)
417
+ if (block.text.trim().length > 80) {
418
+ const preview = block.text.trim().slice(0, 60) + '...';
419
+ await this.sendStatus(msgChannel, preview);
420
+ }
421
421
  } else if (block.type === 'tool_use') {
422
422
  hasToolUseSinceLastText = true;
423
423
  postedThinking = false;