omnius 1.0.882 → 1.0.883

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.
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __omnius_createRequire } from "node:module"; import { fileURLToPath as __omnius_fileURLToPath } from "node:url"; import { dirname as __omnius_dirname } from "node:path"; const require = __omnius_createRequire(import.meta.url); const __filename = __omnius_fileURLToPath(import.meta.url); const __dirname = __omnius_dirname(__filename);
2
2
 
3
3
  // packages/cli/src/update-worker.ts
4
- import { join as join2, resolve } from "node:path";
4
+ import { join as join2, resolve as resolve2 } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
6
6
  import { stripVTControlCharacters } from "node:util";
7
7
  import { realpathSync } from "node:fs";
@@ -28,7 +28,7 @@ import {
28
28
  writeSync
29
29
  } from "node:fs";
30
30
  import { homedir } from "node:os";
31
- import { dirname, join } from "node:path";
31
+ import { dirname, isAbsolute, join, resolve } from "node:path";
32
32
 
33
33
  // packages/cli/src/service-version.ts
34
34
  var OmniusVersionError = class extends Error {
@@ -215,7 +215,7 @@ async function retryUpdateOwnership(attempt, timeoutMs = 2e3) {
215
215
  } catch {
216
216
  }
217
217
  if (!live) throw error;
218
- await new Promise((resolve2) => setTimeout(resolve2, 25));
218
+ await new Promise((resolve3) => setTimeout(resolve3, 25));
219
219
  }
220
220
  }
221
221
  }
@@ -438,7 +438,7 @@ async function runUpdateWorkerBootstrap(args = process.argv.slice(2)) {
438
438
  }
439
439
  function isWorkerEntry() {
440
440
  if (!process.argv[1]) return false;
441
- const entry = fileURLToPath(import.meta.url), invoked = resolve(process.argv[1]);
441
+ const entry = fileURLToPath(import.meta.url), invoked = resolve2(process.argv[1]);
442
442
  try {
443
443
  return realpathSync(invoked) === realpathSync(entry);
444
444
  } catch {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.882",
3
+ "version": "1.0.883",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.882",
9
+ "version": "1.0.883",
10
10
  "bundleDependencies": [
11
11
  "image-to-ascii"
12
12
  ],
@@ -8173,9 +8173,9 @@
8173
8173
  }
8174
8174
  },
8175
8175
  "node_modules/strtok3": {
8176
- "version": "10.6.1",
8177
- "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.6.1.tgz",
8178
- "integrity": "sha512-p8ynRS8lXnvA3tsdcUYFjbzwh2MsdBZgxrFT2G+Yb7vNvUfPF+GgHCt/0jkayfsRXA1TwtZstf+JA0V+iQXdHA==",
8176
+ "version": "10.6.2",
8177
+ "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-10.6.2.tgz",
8178
+ "integrity": "sha512-BkdixFFUt7r7LsX6aGNPVyYMLjW+M1USLlKPNbZsrZEmLFh5tGqhdfckKo6xgsZIJqdDD0CZGkeCJJwNWQIKQA==",
8179
8179
  "license": "MIT",
8180
8180
  "dependencies": {
8181
8181
  "@tokenizer/token": "^0.3.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.882",
3
+ "version": "1.0.883",
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/library.js",