agentgui 1.0.342 → 1.0.343

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 +0 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.342",
3
+ "version": "1.0.343",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/server.js CHANGED
@@ -306,22 +306,6 @@ const AGENT_MODEL_COMMANDS = {
306
306
  'kilo': 'kilo models',
307
307
  };
308
308
 
309
- const AGENT_FALLBACK_MODELS = {
310
- 'claude-code': [
311
- { id: '', label: 'Default' },
312
- { id: 'claude-opus-4-6', label: 'Claude Opus 4.6' },
313
- { id: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6' },
314
- { id: 'claude-haiku-4-5', label: 'Claude Haiku 4.5' },
315
- { id: 'claude-haiku-4-5-20251001', label: 'Claude Haiku 4.5 (2025-10-01)' },
316
- { id: 'claude-opus-4-5', label: 'Claude Opus 4.5' },
317
- { id: 'claude-opus-4-5-20251101', label: 'Claude Opus 4.5 (2025-11-01)' },
318
- { id: 'claude-sonnet-4-5', label: 'Claude Sonnet 4.5' },
319
- { id: 'claude-sonnet-4-5-20250929', label: 'Claude Sonnet 4.5 (2025-09-29)' },
320
- { id: 'claude-opus-4-1', label: 'Claude Opus 4.1' },
321
- { id: 'claude-sonnet-4-0', label: 'Claude Sonnet 4' },
322
- { id: 'claude-opus-4-0', label: 'Claude Opus 4' },
323
- ],
324
- };
325
309
 
326
310
  async function fetchClaudeModelsFromAPI() {
327
311
  const apiKey = process.env.ANTHROPIC_API_KEY;
@@ -447,10 +431,6 @@ async function getModelsForAgent(agentId) {
447
431
  } catch (_) {}
448
432
  }
449
433
 
450
- if (AGENT_FALLBACK_MODELS[agentId]) {
451
- return AGENT_FALLBACK_MODELS[agentId];
452
- }
453
-
454
434
  return [];
455
435
  }
456
436