agentgui 1.0.444 → 1.0.445

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.
@@ -114,9 +114,9 @@ export function register(router, deps) {
114
114
  const port = await ensureRunning(p.id);
115
115
  if (!port) return { subAgents: [] };
116
116
  try {
117
- const data = await acpFetch(port, '/agents/search', {});
117
+ const data = await acpFetch(port, '/agent');
118
118
  const list = Array.isArray(data) ? data : (data?.agents || []);
119
- return { subAgents: list.map(a => ({ id: a.agent_id || a.id, name: a.metadata?.ref?.name || a.name || a.agent_id || a.id })) };
119
+ return { subAgents: list.map(a => ({ id: a.name || a.agent_id || a.id, name: a.name || a.agent_id || a.id })) };
120
120
  } catch (_) { return { subAgents: [] }; }
121
121
  });
122
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.444",
3
+ "version": "1.0.445",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",