agentgui 1.0.461 → 1.0.462

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.
@@ -28,7 +28,7 @@ const cmpVer = (v1, v2) => { const [a,b] = [v1?.split('.')?.map(Number) || [], v
28
28
  export function checkToolStatus(toolId) {
29
29
  const tool = getTool(toolId);
30
30
  if (!tool) return null;
31
- const installed = isInstalled(tool) && fs.existsSync(tool.marker);
31
+ const installed = isInstalled(tool) || fs.existsSync(tool.marker);
32
32
  const version = installed ? detectVersion(tool.binary) : null;
33
33
  return { toolId, installed, version, timestamp: Date.now() };
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.461",
3
+ "version": "1.0.462",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -1576,7 +1576,11 @@ class AgentGUIClient {
1576
1576
  this.wsManager.sendMessage({ type: 'subscribe', conversationId });
1577
1577
  }
1578
1578
 
1579
- const streamBody = { id: conversationId, content: prompt, agentId };
1579
+ let finalPrompt = prompt;
1580
+ if (subAgent && agentId === 'claude-code') {
1581
+ finalPrompt = `use ${subAgent} subagent to ${prompt}`;
1582
+ }
1583
+ const streamBody = { id: conversationId, content: finalPrompt, agentId };
1580
1584
  if (model) streamBody.model = model;
1581
1585
  if (subAgent) streamBody.subAgent = subAgent;
1582
1586
  let result;
@@ -26,7 +26,7 @@
26
26
  cursor: '#e6edf3',
27
27
  selectionBackground: '#3b4455'
28
28
  },
29
- convertEol: false,
29
+ convertEol: true,
30
30
  scrollback: 5000
31
31
  });
32
32
  fitAddon = new FitAddon.FitAddon();