omnius 1.0.808 → 1.0.810
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/api/py-embed.js +5 -1
- package/dist/index.js +2 -2
- package/dist/library.js +5 -2
- package/dist/update-worker.js +5 -1
- package/docs/DISCOVERY.json +8 -12
- package/docs/rest/endpoints/chat.md +5 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/api/py-embed.js
CHANGED
|
@@ -294932,13 +294932,17 @@ except Exception as exc:
|
|
|
294932
294932
|
`;
|
|
294933
294933
|
var LUXTTS_DAEMON_PY = String.raw`
|
|
294934
294934
|
import json, os, sys, traceback, wave
|
|
294935
|
+
# OMNIUS_LUXTTS_CPU_ONLY_V1
|
|
294936
|
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
294937
|
+
os.environ["HIP_VISIBLE_DEVICES"] = "-1"
|
|
294938
|
+
os.environ["ROCR_VISIBLE_DEVICES"] = "-1"
|
|
294935
294939
|
import numpy as np
|
|
294936
294940
|
import torch
|
|
294937
294941
|
repo = os.environ.get("LUXTTS_REPO_PATH") or ""
|
|
294938
294942
|
if repo:
|
|
294939
294943
|
sys.path.insert(0, repo)
|
|
294940
294944
|
from zipvoice.luxvoice import LuxTTS
|
|
294941
|
-
device = "
|
|
294945
|
+
device = "cpu"
|
|
294942
294946
|
tts = LuxTTS(model_path="YatharthS/LuxTTS", device=device, threads=4)
|
|
294943
294947
|
print(json.dumps({"type": "ready", "device": device}), flush=True)
|
|
294944
294948
|
for line in sys.stdin:
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/dist/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 41440515 bytes
|
|
4
|
+
sha256: 9640eabe6501fbee41cb81f68bfc7d1df8f5adc8e7ccabcb95ea1964421ef4d0
|
package/dist/library.js
CHANGED
|
@@ -296557,7 +296557,6 @@ var init_audio_playback = __esm({
|
|
|
296557
296557
|
init_model_store();
|
|
296558
296558
|
init_luxtts_runtime_contract();
|
|
296559
296559
|
init_python_cuda_runtime();
|
|
296560
|
-
init_python_cuda_runtime_async();
|
|
296561
296560
|
SUPERTONIC_INFER_PY = String.raw`
|
|
296562
296561
|
import json, sys, traceback
|
|
296563
296562
|
try:
|
|
@@ -296591,13 +296590,17 @@ except Exception as exc:
|
|
|
296591
296590
|
`;
|
|
296592
296591
|
LUXTTS_DAEMON_PY = String.raw`
|
|
296593
296592
|
import json, os, sys, traceback, wave
|
|
296593
|
+
# OMNIUS_LUXTTS_CPU_ONLY_V1
|
|
296594
|
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
296595
|
+
os.environ["HIP_VISIBLE_DEVICES"] = "-1"
|
|
296596
|
+
os.environ["ROCR_VISIBLE_DEVICES"] = "-1"
|
|
296594
296597
|
import numpy as np
|
|
296595
296598
|
import torch
|
|
296596
296599
|
repo = os.environ.get("LUXTTS_REPO_PATH") or ""
|
|
296597
296600
|
if repo:
|
|
296598
296601
|
sys.path.insert(0, repo)
|
|
296599
296602
|
from zipvoice.luxvoice import LuxTTS
|
|
296600
|
-
device = "
|
|
296603
|
+
device = "cpu"
|
|
296601
296604
|
tts = LuxTTS(model_path="YatharthS/LuxTTS", device=device, threads=4)
|
|
296602
296605
|
print(json.dumps({"type": "ready", "device": device}), flush=True)
|
|
296603
296606
|
for line in sys.stdin:
|
package/dist/update-worker.js
CHANGED
|
@@ -295366,13 +295366,17 @@ except Exception as exc:
|
|
|
295366
295366
|
`;
|
|
295367
295367
|
var LUXTTS_DAEMON_PY = String.raw`
|
|
295368
295368
|
import json, os, sys, traceback, wave
|
|
295369
|
+
# OMNIUS_LUXTTS_CPU_ONLY_V1
|
|
295370
|
+
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
|
295371
|
+
os.environ["HIP_VISIBLE_DEVICES"] = "-1"
|
|
295372
|
+
os.environ["ROCR_VISIBLE_DEVICES"] = "-1"
|
|
295369
295373
|
import numpy as np
|
|
295370
295374
|
import torch
|
|
295371
295375
|
repo = os.environ.get("LUXTTS_REPO_PATH") or ""
|
|
295372
295376
|
if repo:
|
|
295373
295377
|
sys.path.insert(0, repo)
|
|
295374
295378
|
from zipvoice.luxvoice import LuxTTS
|
|
295375
|
-
device = "
|
|
295379
|
+
device = "cpu"
|
|
295376
295380
|
tts = LuxTTS(model_path="YatharthS/LuxTTS", device=device, threads=4)
|
|
295377
295381
|
print(json.dumps({"type": "ready", "device": device}), flush=True)
|
|
295378
295382
|
for line in sys.stdin:
|
package/docs/DISCOVERY.json
CHANGED
|
@@ -5730,7 +5730,7 @@
|
|
|
5730
5730
|
"operations": {
|
|
5731
5731
|
"post": {
|
|
5732
5732
|
"summary": "Stateful direct chat with explicit autonomous-agent opt-in",
|
|
5733
|
-
"description": "Drop-in replacement for OpenAI /v1/chat/completions and Ollama /api/chat. Requests use direct backend inference by default. Set tools=true or use_tools=true to explicitly run the full Omnius autonomous-agent stack. Explicit agent runs
|
|
5733
|
+
"description": "Drop-in replacement for OpenAI /v1/chat/completions and Ollama /api/chat. Requests use direct backend inference by default. Set tools=true or use_tools=true to explicitly run the full Omnius autonomous-agent stack. Explicit agent runs reject duplicate concurrent work and continue until completion, failure, explicit Stop, or daemon shutdown. They have no whole-run wall-clock deadline; legacy agent_timeout_s and OMNIUS_CHAT_AGENT_TIMEOUT_S are ignored.",
|
|
5734
5734
|
"tags": [
|
|
5735
5735
|
"Chat"
|
|
5736
5736
|
],
|
|
@@ -5798,10 +5798,8 @@
|
|
|
5798
5798
|
},
|
|
5799
5799
|
"agent_timeout_s": {
|
|
5800
5800
|
"type": "number",
|
|
5801
|
-
"
|
|
5802
|
-
"
|
|
5803
|
-
"default": 180,
|
|
5804
|
-
"description": "Daemon-enforced whole-agent wall-clock deadline. Distinct from timeout_s."
|
|
5801
|
+
"deprecated": true,
|
|
5802
|
+
"description": "Ignored compatibility field. Agent runs have no whole-run wall-clock deadline."
|
|
5805
5803
|
}
|
|
5806
5804
|
}
|
|
5807
5805
|
}
|
|
@@ -6096,7 +6094,7 @@
|
|
|
6096
6094
|
"$ref": "#/components/parameters/MinimumOmniusVersion"
|
|
6097
6095
|
}
|
|
6098
6096
|
],
|
|
6099
|
-
"description": "Standard OpenAI chat-completion proxy by default. Set agent_loop=true to enter a
|
|
6097
|
+
"description": "Standard OpenAI chat-completion proxy by default. Set agent_loop=true to enter a synchronous server-side loop that auto-executes selected daemon tools and re-prompts the model. Ollama targets use native /api/chat tool messages. timeout_s bounds each backend call; agent loops have no whole-run wall-clock deadline. Legacy agent_timeout_s and OMNIUS_AGENT_LOOP_TOTAL_TIMEOUT_MS are ignored. daemon_tool_names explicitly limits the offered catalog; factual-first implicitly limits it to web_search/web_fetch when no names are supplied. Identical repeated calls fail with HTTP 508 instead of looping. SSE streaming outside agent_loop honors OpenAI tool_calls deltas.",
|
|
6100
6098
|
"requestBody": {
|
|
6101
6099
|
"required": true,
|
|
6102
6100
|
"content": {
|
|
@@ -6150,7 +6148,7 @@
|
|
|
6150
6148
|
},
|
|
6151
6149
|
"timeout_s": {
|
|
6152
6150
|
"type": "number",
|
|
6153
|
-
"description": "
|
|
6151
|
+
"description": "Per-backend-request liveness timeout in seconds, capped at 3600. Overrides OMNIUS_BACKEND_TIMEOUT_S."
|
|
6154
6152
|
},
|
|
6155
6153
|
"agent_loop": {
|
|
6156
6154
|
"type": "boolean",
|
|
@@ -6177,10 +6175,8 @@
|
|
|
6177
6175
|
},
|
|
6178
6176
|
"agent_timeout_s": {
|
|
6179
6177
|
"type": "number",
|
|
6180
|
-
"
|
|
6181
|
-
"
|
|
6182
|
-
"default": 45,
|
|
6183
|
-
"description": "Total server-side agent-loop deadline. Distinct from per-backend timeout_s."
|
|
6178
|
+
"deprecated": true,
|
|
6179
|
+
"description": "Ignored compatibility field. Agent loops have no whole-run wall-clock deadline."
|
|
6184
6180
|
},
|
|
6185
6181
|
"agent_max_tool_rounds": {
|
|
6186
6182
|
"type": "integer",
|
|
@@ -6285,7 +6281,7 @@
|
|
|
6285
6281
|
}
|
|
6286
6282
|
},
|
|
6287
6283
|
"504": {
|
|
6288
|
-
"description": "
|
|
6284
|
+
"description": "A backend request exceeded its liveness timeout"
|
|
6289
6285
|
},
|
|
6290
6286
|
"508": {
|
|
6291
6287
|
"description": "The model repeated an identical daemon tool call"
|
|
@@ -43,11 +43,11 @@ Important body fields:
|
|
|
43
43
|
| `tools` | array | OpenAI-shape tools array |
|
|
44
44
|
| `tool_choice` | any | OpenAI-shape tool choice |
|
|
45
45
|
| `parallel_tool_calls` | boolean | Forwarded to backend |
|
|
46
|
-
| `timeout_s` | number | Per-request timeout |
|
|
46
|
+
| `timeout_s` | number | Per-backend-request liveness timeout |
|
|
47
47
|
| `agent_loop` | boolean | Run server-side tool loop |
|
|
48
48
|
| `include_daemon_tools` | array | Permit the bounded core daemon-tool catalog by scope: `read`, `run`, `admin` |
|
|
49
49
|
| `daemon_tool_names` | array | Exact daemon-tool allowlist; recommended for local models |
|
|
50
|
-
| `agent_timeout_s` | number |
|
|
50
|
+
| `agent_timeout_s` | number | Deprecated compatibility field; ignored |
|
|
51
51
|
| `agent_max_tool_rounds` | integer | Daemon tool rounds before forced final synthesis; default 1 |
|
|
52
52
|
| `agent_prefetch_web_search` | boolean | Explicit one-generation web-search prefetch; factual-first enables it automatically |
|
|
53
53
|
| `max_turns` | integer | Server-side agent loop turn cap |
|
|
@@ -71,7 +71,7 @@ Realtime example:
|
|
|
71
71
|
|
|
72
72
|
## `/v1/chat`
|
|
73
73
|
|
|
74
|
-
This is the Omnius stateful chat endpoint. It uses direct backend inference by default. Set `tools: true` or `use_tools: true` to explicitly launch the full Omnius agent stack with tools, memory, skills, and multi-agent context. `realtime: true` always uses the direct backend path. Explicit agent runs
|
|
74
|
+
This is the Omnius stateful chat endpoint. It uses direct backend inference by default. Set `tools: true` or `use_tools: true` to explicitly launch the full Omnius agent stack with tools, memory, skills, and multi-agent context. `realtime: true` always uses the direct backend path. Explicit agent runs reject equivalent concurrent work even when callers omit `session_id` and continue until completion, failure, explicit Stop, or daemon shutdown. Agent runs have no whole-run wall-clock deadline; legacy `agent_timeout_s` and `OMNIUS_CHAT_AGENT_TIMEOUT_S` are ignored.
|
|
75
75
|
|
|
76
76
|
Body fields:
|
|
77
77
|
|
|
@@ -84,7 +84,7 @@ Body fields:
|
|
|
84
84
|
| `tools` | boolean | Set true to explicitly launch the full agent stack |
|
|
85
85
|
| `use_tools` | boolean | Omnius-native alias for `tools: true` |
|
|
86
86
|
| `timeout_s` | number | Per-backend-request liveness timeout |
|
|
87
|
-
| `agent_timeout_s` | number |
|
|
87
|
+
| `agent_timeout_s` | number | Deprecated compatibility field; ignored |
|
|
88
88
|
| `realtime` | boolean | Short ASR/TTS conversation mode |
|
|
89
89
|
| `realtime_options` | object | Realtime settings |
|
|
90
90
|
|
|
@@ -144,4 +144,4 @@ For ASR/TTS systems that only need the text brain, use `/realtime` or `/v1/realt
|
|
|
144
144
|
|
|
145
145
|
`/v1/chat/completions` can run an internal tool loop when `agent_loop: true`. This lets clients collapse multiple model/tool round trips into one daemon request. Daemon tool calls execute inline; client-owned tool calls can still be yielded in OpenAI-compatible shape.
|
|
146
146
|
|
|
147
|
-
Ollama-backed loops use its native `/api/chat` tool protocol. `timeout_s` applies to each backend round
|
|
147
|
+
Ollama-backed loops use its native `/api/chat` tool protocol. `timeout_s` applies to each backend round. There is no whole-loop wall-clock deadline; legacy `agent_timeout_s` and `OMNIUS_AGENT_LOOP_TOTAL_TIMEOUT_MS` are ignored. Each daemon tool retains its own execution timeout and cancellation handling, and the loop still respects client disconnects, `max_turns`, and repeated-call guards. For a normal loop, the planning turn is capped at 96 output tokens; one daemon-tool round is the default, after which Omnius removes daemon schemas for final synthesis. `prompt_template: "factual-first"` skips that model-planning round entirely: Omnius executes the already-mandated, authorized `web_search` using the latest user turn, inserts the protocol-correct tool evidence, and performs one grounded synthesis generation. `agent_prefetch_web_search: true` opts into the same path directly. Generic/deeper tool workflows remain available through `agent_max_tool_rounds`. Backend liveness timeouts return typed HTTP 504 failures, and identical repeated tool calls return HTTP 508. Omnius caps tool evidence at 6,000 characters and limits the implicit catalog unless `daemon_tool_names` requests exact additions.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.810",
|
|
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.810",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED