omnius 1.0.313 → 1.0.315

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
@@ -25970,7 +25970,12 @@ var init_file_patch = __esm({
25970
25970
  durationMs: performance.now() - start2
25971
25971
  };
25972
25972
  }
25973
- const fullPath = resolve17(this.workingDir, filePath);
25973
+ let normalizedPath = filePath;
25974
+ if (typeof normalizedPath === "string") {
25975
+ normalizedPath = normalizedPath.replace(/^([A-Za-z]):[\\/]/, "/$1/");
25976
+ normalizedPath = normalizedPath.replace(/\\/g, "/");
25977
+ }
25978
+ const fullPath = resolve17(this.workingDir, normalizedPath);
25974
25979
  const content = await readFile8(fullPath, "utf-8");
25975
25980
  const beforeHash = contentHash(content);
25976
25981
  const lines = content.split("\n");
@@ -580791,6 +580796,8 @@ ${result}`
580791
580796
  return true;
580792
580797
  if (/NATS.*timeout|relay.*timeout|invoke.*timeout/i.test(msg))
580793
580798
  return true;
580799
+ if (/maximum context length|context length|Please reduce/i.test(msg))
580800
+ return true;
580794
580801
  return false;
580795
580802
  }
580796
580803
  isGpuSlotUnavailableError(err) {
@@ -583018,6 +583025,8 @@ var init_cascadeBackend = __esm({
583018
583025
  return true;
583019
583026
  if (/remote inference failed|timed out/i.test(msg))
583020
583027
  return true;
583028
+ if (/maximum context length|context length|Please reduce/i.test(msg))
583029
+ return true;
583021
583030
  return false;
583022
583031
  }
583023
583032
  /**
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.313",
3
+ "version": "1.0.315",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.313",
9
+ "version": "1.0.315",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.313",
3
+ "version": "1.0.315",
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",