open-agents-ai 0.184.41 → 0.184.42

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 +6 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -61880,6 +61880,9 @@ function ollamaRequest(ollamaUrl, path, method, body) {
61880
61880
  });
61881
61881
  });
61882
61882
  });
61883
+ proxyReq.setTimeout(1e4, () => {
61884
+ proxyReq.destroy(new Error("Backend request timeout (10s)"));
61885
+ });
61883
61886
  proxyReq.on("error", reject);
61884
61887
  if (body)
61885
61888
  proxyReq.write(body);
@@ -61903,6 +61906,9 @@ function ollamaStream(ollamaUrl, path, method, body, onData, onEnd, onError) {
61903
61906
  proxyRes.on("data", onData);
61904
61907
  proxyRes.on("end", onEnd);
61905
61908
  });
61909
+ proxyReq.setTimeout(3e4, () => {
61910
+ proxyReq.destroy(new Error("Backend stream timeout (30s)"));
61911
+ });
61906
61912
  proxyReq.on("error", onError);
61907
61913
  if (body)
61908
61914
  proxyReq.write(body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.41",
3
+ "version": "0.184.42",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) \u2014 interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",