open-agents-ai 0.185.36 → 0.185.37

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36402,14 +36402,15 @@ var init_voice_session = __esm({
36402
36402
  }
36403
36403
  // ── HTTP handler ──────────────────────────────────────────────────────
36404
36404
  handleHTTP(req, res) {
36405
- if (req.url === "/" || req.url === "/index.html") {
36405
+ const pathname = (req.url ?? "/").split("?")[0];
36406
+ if (pathname === "/" || pathname === "/index.html") {
36406
36407
  res.writeHead(200, { "Content-Type": "text/html; charset=utf-8" });
36407
36408
  if (this.personaPlexWsUrl) {
36408
36409
  res.end(generatePersonaPlexHTML(this.personaPlexWsUrl, this.personaPlexTextPrompt, this.personaPlexVoicePrompt));
36409
36410
  } else {
36410
36411
  res.end(generateFrontendHTML());
36411
36412
  }
36412
- } else if (req.url === "/health") {
36413
+ } else if (pathname === "/health") {
36413
36414
  res.writeHead(200, { "Content-Type": "application/json" });
36414
36415
  res.end(JSON.stringify({
36415
36416
  active: this.state.active,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.36",
3
+ "version": "0.185.37",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",