omnius 1.0.578 → 1.0.580

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
@@ -547948,7 +547948,7 @@ function pythonCanImportLuxTts(venvPy) {
547948
547948
  try {
547949
547949
  execFileSync2(venvPy, [
547950
547950
  "-c",
547951
- "import sys, os, warnings; warnings.filterwarnings('ignore', message=r'Using `TRANSFORMERS_CACHE` is deprecated.*', category=FutureWarning); sys.path.insert(0, os.environ['LUXTTS_REPO_PATH']); from zipvoice.luxvoice import LuxTTS; print('ok')"
547951
+ "import sys, os, warnings; warnings.filterwarnings('ignore', message=r'.*TRANSFORMERS_CACHE.*deprecated.*', category=FutureWarning); sys.path.insert(0, os.environ['LUXTTS_REPO_PATH']); from zipvoice.luxvoice import LuxTTS; print('ok')"
547952
547952
  ], {
547953
547953
  stdio: "pipe",
547954
547954
  // A cold PyTorch/CUDA import can legitimately take longer than 30 s.
@@ -548257,15 +548257,20 @@ function ensureLuxttsInstalled() {
548257
548257
  timeout: 12e5
548258
548258
  },
548259
548259
  {
548260
- label: "piper-phonemize (optional)",
548260
+ label: "piper-phonemize",
548261
548261
  args: [
548262
548262
  "piper-phonemize",
548263
548263
  "--find-links",
548264
548264
  "https://k2-fsa.github.io/icefall/piper_phonemize.html"
548265
548265
  ],
548266
- fatal: false,
548266
+ fatal: true,
548267
548267
  timeout: 6e5
548268
548268
  },
548269
+ ...process.platform === "linux" && process.arch === "x64" ? [{
548270
+ label: "piper-phonemize CPython extension",
548271
+ args: ["piper-phonemize-fix"],
548272
+ fatal: true
548273
+ }] : [],
548269
548274
  {
548270
548275
  label: "Chinese text processing",
548271
548276
  args: ["jieba", "pypinyin", "cn2an"],
@@ -548305,15 +548310,20 @@ function ensureLuxttsInstalled() {
548305
548310
  timeout: 12e5
548306
548311
  },
548307
548312
  {
548308
- label: "piper-phonemize (optional)",
548313
+ label: "piper-phonemize",
548309
548314
  args: [
548310
548315
  "piper-phonemize",
548311
548316
  "--find-links",
548312
548317
  "https://k2-fsa.github.io/icefall/piper_phonemize.html"
548313
548318
  ],
548314
- fatal: false,
548319
+ fatal: true,
548315
548320
  timeout: 6e5
548316
548321
  },
548322
+ ...process.platform === "linux" && process.arch === "x64" ? [{
548323
+ label: "piper-phonemize CPython extension",
548324
+ args: ["piper-phonemize-fix"],
548325
+ fatal: true
548326
+ }] : [],
548317
548327
  {
548318
548328
  label: "Chinese text processing",
548319
548329
  args: ["jieba", "pypinyin", "cn2an"],
@@ -675149,7 +675159,7 @@ function luxttsImportProbeCommand(venvPy, repoDir) {
675149
675159
  const script = [
675150
675160
  "import sys",
675151
675161
  "import warnings",
675152
- "warnings.filterwarnings('ignore', message=r'Using `TRANSFORMERS_CACHE` is deprecated.*', category=FutureWarning)",
675162
+ "warnings.filterwarnings('ignore', message=r'.*TRANSFORMERS_CACHE.*deprecated.*', category=FutureWarning)",
675153
675163
  `sys.path.insert(0, ${JSON.stringify(repoDir)})`,
675154
675164
  "from zipvoice.luxvoice import LuxTTS",
675155
675165
  "print('ok')"
@@ -678096,7 +678106,8 @@ Error: ${err instanceof Error ? err.message : String(err)}`
678096
678106
  return;
678097
678107
  } catch (err) {
678098
678108
  existingRuntimeNeedsRepair = true;
678099
- const detail = err instanceof Error ? err.message.replace(/\s+/g, " ").slice(0, 220) : String(err).slice(0, 220);
678109
+ const compactDetail = (err instanceof Error ? err.message : String(err)).replace(/\s+/g, " ").trim();
678110
+ const detail = compactDetail.length <= 460 ? compactDetail : `${compactDetail.slice(0, 180)} … ${compactDetail.slice(-260)}`;
678100
678111
  renderWarning(
678101
678112
  `LuxTTS runtime health check needs repair; preserving ${venvDir}. ${detail}`
678102
678113
  );
@@ -678377,12 +678388,20 @@ Error: ${err instanceof Error ? err.message : String(err)}`
678377
678388
  fatal: true,
678378
678389
  label: "LinaCodec (voice cloning codec)"
678379
678390
  },
678380
- // Non-fatal (not hard-imported by LuxTTS):
678381
678391
  {
678382
678392
  cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`,
678383
- fatal: false,
678384
- label: "piper-phonemize (optional)"
678393
+ fatal: true,
678394
+ label: "piper-phonemize"
678385
678395
  },
678396
+ // The upstream cp312 Linux wheel ships its Python wrapper without
678397
+ // piper_phonemize_cpp. This companion wheel supplies that extension
678398
+ // while the upstream package above continues to satisfy ZipVoice's
678399
+ // declared dependency metadata.
678400
+ ...process.platform === "linux" && process.arch === "x64" ? [{
678401
+ cmd: `${pipCmd} -m pip install --quiet piper-phonemize-fix`,
678402
+ fatal: true,
678403
+ label: "piper-phonemize CPython extension"
678404
+ }] : [],
678386
678405
  {
678387
678406
  cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`,
678388
678407
  fatal: true,
@@ -678405,9 +678424,14 @@ Error: ${err instanceof Error ? err.message : String(err)}`
678405
678424
  },
678406
678425
  {
678407
678426
  cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`,
678408
- fatal: false,
678427
+ fatal: true,
678409
678428
  label: "piper-phonemize"
678410
678429
  },
678430
+ ...process.platform === "linux" && process.arch === "x64" ? [{
678431
+ cmd: `${pipCmd} -m pip install --quiet piper-phonemize-fix`,
678432
+ fatal: true,
678433
+ label: "piper-phonemize CPython extension"
678434
+ }] : [],
678411
678435
  {
678412
678436
  cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`,
678413
678437
  fatal: true,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.578",
3
+ "version": "1.0.580",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.578",
9
+ "version": "1.0.580",
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.578",
3
+ "version": "1.0.580",
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",