agentgui 1.0.219 → 1.0.220

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 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.219",
3
+ "version": "1.0.220",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/server.js CHANGED
@@ -1438,11 +1438,6 @@ const server = http.createServer(async (req, res) => {
1438
1438
  }
1439
1439
 
1440
1440
  const speech = await getSpeech();
1441
- const status = speech.getStatus();
1442
- if (status.ttsError) {
1443
- sendJSON(req, res, 503, { error: status.ttsError, retryable: false });
1444
- return;
1445
- }
1446
1441
  const wavBuffer = await speech.synthesize(text, voiceId);
1447
1442
  res.writeHead(200, { 'Content-Type': 'audio/wav', 'Content-Length': wavBuffer.length });
1448
1443
  res.end(wavBuffer);
@@ -1465,11 +1460,6 @@ const server = http.createServer(async (req, res) => {
1465
1460
  return;
1466
1461
  }
1467
1462
  const speech = await getSpeech();
1468
- const status = speech.getStatus();
1469
- if (status.ttsError) {
1470
- sendJSON(req, res, 503, { error: status.ttsError, retryable: false });
1471
- return;
1472
- }
1473
1463
  res.writeHead(200, {
1474
1464
  'Content-Type': 'application/octet-stream',
1475
1465
  'Transfer-Encoding': 'chunked',