omnius 1.0.251 → 1.0.253

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.
package/dist/index.js CHANGED
@@ -579418,7 +579418,7 @@ ${description}`
579418
579418
  };
579419
579419
  const streamTimeoutMs = Number.isFinite(request.timeoutMs) && request.timeoutMs > 0 ? Math.max(request.timeoutMs, 1e4) : 3e5;
579420
579420
  const streamAbort = new AbortController();
579421
- const streamTimeoutHandle = setTimeout(() => {
579421
+ let streamTimeoutHandle = setTimeout(() => {
579422
579422
  streamAbort.abort(new Error(`stream timeout: no response or chunk within ${(streamTimeoutMs / 1e3).toFixed(0)}s`));
579423
579423
  }, streamTimeoutMs);
579424
579424
  if (typeof streamTimeoutHandle.unref === "function") {
@@ -579462,6 +579462,13 @@ ${description}`
579462
579462
  let accumulatedThinking = "";
579463
579463
  let sawReasoningTokens = false;
579464
579464
  for await (const rawChunk of resp.body) {
579465
+ clearTimeout(streamTimeoutHandle);
579466
+ streamTimeoutHandle = setTimeout(() => {
579467
+ streamAbort.abort(new Error(`stream timeout: no response or chunk within ${(streamTimeoutMs / 1e3).toFixed(0)}s`));
579468
+ }, streamTimeoutMs);
579469
+ if (typeof streamTimeoutHandle.unref === "function") {
579470
+ streamTimeoutHandle.unref();
579471
+ }
579465
579472
  sseBuffer += decoder.decode(rawChunk, { stream: true });
579466
579473
  const parts = sseBuffer.split("\n\n");
579467
579474
  sseBuffer = parts.pop();
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.251",
3
+ "version": "1.0.253",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.251",
9
+ "version": "1.0.253",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
@@ -3903,9 +3903,9 @@
3903
3903
  }
3904
3904
  },
3905
3905
  "node_modules/hono": {
3906
- "version": "4.12.23",
3907
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.23.tgz",
3908
- "integrity": "sha512-eIaZ9qDgu7XV0pxOCrg7/WhnQ6Ivm22UcxhXx/A3dcbqbbYgBEkc6e/J/s7j2tS96zoB0S9VBdLwQNCWwUo4LA==",
3906
+ "version": "4.12.24",
3907
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.24.tgz",
3908
+ "integrity": "sha512-I36D1s+HgQc55KbhEr4iybfxv/9o1zdpw+XEM6dJa91LqQD0HCoSGdxpRJCZE+aavs87j4V3Ls2OJzq8C/U4iw==",
3909
3909
  "license": "MIT",
3910
3910
  "engines": {
3911
3911
  "node": ">=16.9.0"
@@ -6337,9 +6337,9 @@
6337
6337
  "license": "MIT"
6338
6338
  },
6339
6339
  "node_modules/semver": {
6340
- "version": "7.8.2",
6341
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
6342
- "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
6340
+ "version": "7.8.3",
6341
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.3.tgz",
6342
+ "integrity": "sha512-wnilbGyMxzbY7dNOl7jpKbLSjcfeweJWU5j4+u5qW+6/wuGD9KzIGOyZnQVSBM9E7DtWaaH3CyHkppYrKYoxwg==",
6343
6343
  "license": "ISC",
6344
6344
  "bin": {
6345
6345
  "semver": "bin/semver.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.251",
3
+ "version": "1.0.253",
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",