omnius 1.0.808 → 1.0.809

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
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 41387219 bytes
4
- sha256: 2ab731ca98384df639ae734c17d520296d44e53de1f181b94719d3755b39acf1
3
+ size: 41434427 bytes
4
+ sha256: 19cfa3387615fd7148ce7841a0c4aed39284bab0e7018dfeacdf47de97e59a16
@@ -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 have a daemon-enforced whole-run deadline and duplicate-work suppression.",
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
- "minimum": 0.05,
5802
- "maximum": 3600,
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 bounded 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_timeout_s bounds the whole loop (default 45s, max 600s). 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.",
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": "Q1 — per-request timeout in seconds (1-3600). Overrides OMNIUS_BACKEND_TIMEOUT_S."
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
- "minimum": 5,
6181
- "maximum": 600,
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": "Backend round or total agent-loop deadline expired"
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 | Whole-loop deadline, default 45 seconds and maximum 600 |
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 default to a 180-second daemon-owned wall-clock deadline and reject equivalent concurrent work even when callers omit `session_id`.
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 | Whole-agent daemon deadline, default 180 seconds and maximum 3600 |
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, while `agent_timeout_s` bounds the complete loop and defaults to 45 seconds. 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`. Omnius returns typed HTTP 504/508 failures, caps tool evidence at 6,000 characters, and limits the implicit catalog unless `daemon_tool_names` requests exact additions.
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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.808",
3
+ "version": "1.0.809",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.808",
9
+ "version": "1.0.809",
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.808",
3
+ "version": "1.0.809",
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",