agentgui 1.0.411 → 1.0.412

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.
@@ -70,7 +70,7 @@ class ClientQueue {
70
70
  this.windowStart = now;
71
71
  this.rateLimitWarned = false;
72
72
  }
73
- const batch = [...this.highPriority.splice(0), ...this.normalPriority.splice(0, 10), ...this.lowPriority.splice(0, 5)];
73
+ const batch = [...this.highPriority.splice(0), ...this.normalPriority.splice(0), ...this.lowPriority.splice(0, 5)];
74
74
  if (batch.length === 0) return;
75
75
  const messagesThisSecond = this.messageCount + batch.length;
76
76
  if (messagesThisSecond > 100) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.411",
3
+ "version": "1.0.412",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/server.js CHANGED
@@ -504,10 +504,9 @@ async function getModelsForAgent(agentId) {
504
504
 
505
505
  if (agentId === 'claude-code') {
506
506
  const hardcodedModels = [
507
- { id: '', label: 'Default' },
507
+ { id: 'haiku', label: 'Haiku (Default)' },
508
508
  { id: 'sonnet', label: 'Sonnet' },
509
509
  { id: 'opus', label: 'Opus' },
510
- { id: 'haiku', label: 'Haiku' },
511
510
  ];
512
511
 
513
512
  const apiModels = await fetchClaudeModelsFromAPI();