omnius 1.0.605 → 1.0.606
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 +3404 -3338
- package/dist/update-worker.js +18 -13
- package/docs/DISCOVERY.json +38 -0
- package/docs/DISCOVERY.md +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/update-worker.js
CHANGED
|
@@ -216904,7 +216904,7 @@ var require_path_browserify = __commonJS({
|
|
|
216904
216904
|
_makeLong: function _makeLong(path) {
|
|
216905
216905
|
return path;
|
|
216906
216906
|
},
|
|
216907
|
-
dirname: function
|
|
216907
|
+
dirname: function dirname11(path) {
|
|
216908
216908
|
assertPath(path);
|
|
216909
216909
|
if (path.length === 0) return ".";
|
|
216910
216910
|
var code = path.charCodeAt(0);
|
|
@@ -245063,7 +245063,7 @@ import { join as join14 } from "node:path";
|
|
|
245063
245063
|
import { homedir as homedir14 } from "node:os";
|
|
245064
245064
|
import { createServer as createNetServer } from "node:net";
|
|
245065
245065
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
245066
|
-
import { dirname as
|
|
245066
|
+
import { dirname as dirname8 } from "node:path";
|
|
245067
245067
|
|
|
245068
245068
|
// packages/execution/dist/index.js
|
|
245069
245069
|
init_model_broker();
|
|
@@ -291263,11 +291263,16 @@ init_hf_media_models();
|
|
|
291263
291263
|
|
|
291264
291264
|
// packages/execution/dist/tools/transcribe-tool.js
|
|
291265
291265
|
init_model_broker();
|
|
291266
|
-
import { join as join4, basename, extname, resolve as resolve4 } from "node:path";
|
|
291266
|
+
import { join as join4, basename, dirname as dirname3, extname, resolve as resolve4 } from "node:path";
|
|
291267
291267
|
import { homedir as homedir5, tmpdir as tmpdir2 } from "node:os";
|
|
291268
291268
|
init_cuda_device_filter();
|
|
291269
291269
|
init_process_async();
|
|
291270
291270
|
init_venv_paths();
|
|
291271
|
+
|
|
291272
|
+
// packages/execution/dist/transcribe-python-runtime.js
|
|
291273
|
+
init_process_async();
|
|
291274
|
+
|
|
291275
|
+
// packages/execution/dist/tools/transcribe-tool.js
|
|
291271
291276
|
var MAX_TRANSCRIBE_URL_BYTES = 100 * 1024 * 1024;
|
|
291272
291277
|
var MANAGED_ASR_VENV = join4(homedir5(), ".omnius", "runtimes", "asr", ".venv-whisper");
|
|
291273
291278
|
var MANAGED_TRANSCRIBE_CLI_DIR = join4(homedir5(), ".omnius", "runtimes", "asr", "transcribe-cli-node");
|
|
@@ -293014,7 +293019,7 @@ init_process_async();
|
|
|
293014
293019
|
var MAX_IMAGE_BYTES = 8 * 1024 * 1024;
|
|
293015
293020
|
|
|
293016
293021
|
// packages/execution/dist/tools/ocr-image-advanced.js
|
|
293017
|
-
import { resolve as resolve5, basename as basename2, dirname as
|
|
293022
|
+
import { resolve as resolve5, basename as basename2, dirname as dirname4, join as join5 } from "node:path";
|
|
293018
293023
|
init_system_deps();
|
|
293019
293024
|
init_venv_paths();
|
|
293020
293025
|
import { homedir as homedir6, tmpdir as tmpdir3 } from "node:os";
|
|
@@ -293023,10 +293028,10 @@ var OCR_VENV_DIR = join5(homedir6(), ".omnius", "venv");
|
|
|
293023
293028
|
// packages/execution/dist/tools/browser-action.js
|
|
293024
293029
|
init_process_lifecycle();
|
|
293025
293030
|
import { copyFileSync, existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
293026
|
-
import { basename as basename3, dirname as
|
|
293031
|
+
import { basename as basename3, dirname as dirname5, join as join6, resolve as resolve6 } from "node:path";
|
|
293027
293032
|
import { fileURLToPath } from "node:url";
|
|
293028
293033
|
init_model_store();
|
|
293029
|
-
var __dirname2 =
|
|
293034
|
+
var __dirname2 = dirname5(fileURLToPath(import.meta.url));
|
|
293030
293035
|
var DEFAULT_PORT = 8130;
|
|
293031
293036
|
function findScrapeScript() {
|
|
293032
293037
|
const candidates = [
|
|
@@ -293377,7 +293382,7 @@ init_venv_paths();
|
|
|
293377
293382
|
var YT_DLP_VENV2 = join10(homedir10(), ".omnius", "runtimes", "media-tools", ".venv-ytdlp");
|
|
293378
293383
|
|
|
293379
293384
|
// packages/execution/dist/tools/video-scan.js
|
|
293380
|
-
import { resolve as resolve9, dirname as
|
|
293385
|
+
import { resolve as resolve9, dirname as dirname6, join as join11, basename as basename6 } from "node:path";
|
|
293381
293386
|
import { homedir as homedir11 } from "node:os";
|
|
293382
293387
|
var CONFIG_PATH = join11(homedir11(), ".omnius", "video-scan.json");
|
|
293383
293388
|
|
|
@@ -293391,7 +293396,7 @@ var LIVE_MEDIA_ROOT = join12(homedir12(), ".omnius", "runtimes", "live-media");
|
|
|
293391
293396
|
var YOLO26_VENV = join12(LIVE_MEDIA_ROOT, ".venv-yolo26");
|
|
293392
293397
|
|
|
293393
293398
|
// packages/execution/dist/tools/lance.js
|
|
293394
|
-
import { resolve as resolve11, dirname as
|
|
293399
|
+
import { resolve as resolve11, dirname as dirname7, join as join13, basename as basename8 } from "node:path";
|
|
293395
293400
|
import { homedir as homedir13 } from "node:os";
|
|
293396
293401
|
var CONFIG_PATH2 = join13(homedir13(), ".omnius", "lance.json");
|
|
293397
293402
|
var RUN_TIMEOUT_MS = 30 * 60 * 1e3;
|
|
@@ -293874,7 +293879,7 @@ function commandForEntrypoint(path, nodeExe) {
|
|
|
293874
293879
|
}
|
|
293875
293880
|
async function resolveDaemonCommand(nodeExe) {
|
|
293876
293881
|
const candidates = [];
|
|
293877
|
-
const thisDir =
|
|
293882
|
+
const thisDir = dirname8(fileURLToPath2(import.meta.url));
|
|
293878
293883
|
candidates.push(join14(thisDir, "index.js"));
|
|
293879
293884
|
if (process.argv[1]) candidates.push(process.argv[1]);
|
|
293880
293885
|
try {
|
|
@@ -293981,7 +293986,7 @@ import {
|
|
|
293981
293986
|
writeSync as writeSync2
|
|
293982
293987
|
} from "node:fs";
|
|
293983
293988
|
import { homedir as homedir15 } from "node:os";
|
|
293984
|
-
import { dirname as
|
|
293989
|
+
import { dirname as dirname9, join as join15 } from "node:path";
|
|
293985
293990
|
|
|
293986
293991
|
// packages/cli/src/service-version.ts
|
|
293987
293992
|
var OmniusVersionError = class extends Error {
|
|
@@ -294115,7 +294120,7 @@ function assertExactUpdateTarget(targetVersion, fromVersion) {
|
|
|
294115
294120
|
return target;
|
|
294116
294121
|
}
|
|
294117
294122
|
function npmCandidates(execPath = process.execPath) {
|
|
294118
|
-
const nodeDir =
|
|
294123
|
+
const nodeDir = dirname9(execPath);
|
|
294119
294124
|
return process.platform === "win32" ? [join15(nodeDir, "npm.cmd"), join15(nodeDir, "npm.exe"), "npm.cmd", "npm"] : [join15(nodeDir, "npm"), "/usr/local/bin/npm", "/usr/bin/npm", "npm"];
|
|
294120
294125
|
}
|
|
294121
294126
|
function runnableCommand(candidate) {
|
|
@@ -294255,7 +294260,7 @@ async function runVerifiedUpdateTransaction(initial, dependencies, paths = resol
|
|
|
294255
294260
|
const npmPath = resolveNpmPath();
|
|
294256
294261
|
const env = {
|
|
294257
294262
|
...process.env,
|
|
294258
|
-
PATH: [
|
|
294263
|
+
PATH: [dirname9(process.execPath), process.env.PATH ?? ""].filter(Boolean).join(process.platform === "win32" ? ";" : ":"),
|
|
294259
294264
|
NPM_CONFIG_CACHE: paths.cacheDir,
|
|
294260
294265
|
npm_config_cache: paths.cacheDir,
|
|
294261
294266
|
npm_config_prefer_online: "true",
|
|
@@ -294349,7 +294354,7 @@ import {
|
|
|
294349
294354
|
writeSync as writeSync3
|
|
294350
294355
|
} from "node:fs";
|
|
294351
294356
|
import { homedir as homedir16, tmpdir as tmpdir8 } from "node:os";
|
|
294352
|
-
import { basename as basename9, dirname as
|
|
294357
|
+
import { basename as basename9, dirname as dirname10, join as join17 } from "node:path";
|
|
294353
294358
|
|
|
294354
294359
|
// packages/cli/src/updater.ts
|
|
294355
294360
|
import { join as join16 } from "node:path";
|
package/docs/DISCOVERY.json
CHANGED
|
@@ -5019,6 +5019,44 @@
|
|
|
5019
5019
|
}
|
|
5020
5020
|
]
|
|
5021
5021
|
},
|
|
5022
|
+
{
|
|
5023
|
+
"id": "api.v1-voice-asr",
|
|
5024
|
+
"kind": "api",
|
|
5025
|
+
"title": "/v1/voice/asr",
|
|
5026
|
+
"summary": "Omnius REST API route /v1/voice/asr. Inspect the live OpenAPI document for methods and wire schemas.",
|
|
5027
|
+
"aliases": [
|
|
5028
|
+
"/v1/voice/asr"
|
|
5029
|
+
],
|
|
5030
|
+
"keywords": [
|
|
5031
|
+
"rest",
|
|
5032
|
+
"openapi",
|
|
5033
|
+
"v1",
|
|
5034
|
+
"voice",
|
|
5035
|
+
"asr"
|
|
5036
|
+
],
|
|
5037
|
+
"interfaces": [
|
|
5038
|
+
{
|
|
5039
|
+
"type": "rest",
|
|
5040
|
+
"target": "/v1/voice/asr"
|
|
5041
|
+
},
|
|
5042
|
+
{
|
|
5043
|
+
"type": "openapi",
|
|
5044
|
+
"target": "/openapi.json"
|
|
5045
|
+
}
|
|
5046
|
+
],
|
|
5047
|
+
"references": [
|
|
5048
|
+
{
|
|
5049
|
+
"type": "source",
|
|
5050
|
+
"target": "packages/cli/src/api/openapi.ts",
|
|
5051
|
+
"relation": "openapi-source"
|
|
5052
|
+
},
|
|
5053
|
+
{
|
|
5054
|
+
"type": "documentation",
|
|
5055
|
+
"target": "docs/reference/rest-api.md",
|
|
5056
|
+
"relation": "endpoint-inventory"
|
|
5057
|
+
}
|
|
5058
|
+
]
|
|
5059
|
+
},
|
|
5022
5060
|
{
|
|
5023
5061
|
"id": "api.v1-voice-asr-models",
|
|
5024
5062
|
"kind": "api",
|
package/docs/DISCOVERY.md
CHANGED
|
@@ -153,6 +153,7 @@ Daemon equivalents are `GET /v1/discovery?q=<intent>` and `GET /v1/discovery/{id
|
|
|
153
153
|
| `api.v1-update` | /v1/update | Omnius REST API route /v1/update. Inspect the live OpenAPI document for methods and wire schemas. |
|
|
154
154
|
| `api.v1-usage` | /v1/usage | Omnius REST API route /v1/usage. Inspect the live OpenAPI document for methods and wire schemas. |
|
|
155
155
|
| `api.v1-vision-describe` | /v1/vision/describe | Omnius REST API route /v1/vision/describe. Inspect the live OpenAPI document for methods and wire schemas. |
|
|
156
|
+
| `api.v1-voice-asr` | /v1/voice/asr | Omnius REST API route /v1/voice/asr. Inspect the live OpenAPI document for methods and wire schemas. |
|
|
156
157
|
| `api.v1-voice-asr-models` | /v1/voice/asr-models | Omnius REST API route /v1/voice/asr-models. Inspect the live OpenAPI document for methods and wire schemas. |
|
|
157
158
|
| `api.v1-voice-asr-models-switch` | /v1/voice/asr-models/switch | Omnius REST API route /v1/voice/asr-models/switch. Inspect the live OpenAPI document for methods and wire schemas. |
|
|
158
159
|
| `api.v1-voice-clone-refs` | /v1/voice/clone-refs | Omnius REST API route /v1/voice/clone-refs. Inspect the live OpenAPI document for methods and wire schemas. |
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.606",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.606",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED