agentgui 1.0.802 → 1.0.803

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.802",
3
+ "version": "1.0.803",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "electron/main.js",
package/server.js CHANGED
@@ -247,6 +247,9 @@ async function getModelsForAgent(agentId) {
247
247
  if (agent?.protocol === 'acp') {
248
248
  await ensureRunning(agentId);
249
249
  try { models = await queryACPModels(agentId); } catch (_) {}
250
+ } else if (agent?.protocol === 'cli-wrapper' && agent.acpId) {
251
+ await ensureRunning(agent.acpId);
252
+ try { models = await queryACPModels(agent.acpId); } catch (_) {}
250
253
  }
251
254
  }
252
255
  modelCache.set(agentId, { models, timestamp: Date.now() });