agentgui 1.0.442 → 1.0.444

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.
@@ -209,8 +209,10 @@ export async function queryModels(agentId) {
209
209
  });
210
210
  if (!res.ok) return [];
211
211
  const data = await res.json();
212
+ const connected = new Set(data.connected || []);
213
+ const providers = (data.all || []).filter(p => connected.has(p.id));
212
214
  const seen = new Map();
213
- for (const prov of (data.all || [])) {
215
+ for (const prov of providers) {
214
216
  for (const m of Object.values(prov.models || {})) {
215
217
  if (!seen.has(m.id)) {
216
218
  seen.set(m.id, { id: m.id, label: m.name || m.id, provider: prov.name || prov.id });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.442",
3
+ "version": "1.0.444",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",