omnius 1.0.729 → 1.0.730

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: 38125885 bytes
4
- sha256: 389fd56947773740b14ff60a2d67211d846b6d332df43bcbefb49c354341b54a
3
+ size: 38141493 bytes
4
+ sha256: 129ae1a628f2ee04d633a2a2829eb8b968652fd68b8d93fadf28e3fc72eb1284
@@ -5680,7 +5680,7 @@
5680
5680
  "id": "api.v1-chat",
5681
5681
  "kind": "api",
5682
5682
  "title": "/v1/chat",
5683
- "summary": "Stateful chat session with full agent tool access (OpenAI-compatible response shape)",
5683
+ "summary": "Stateful direct chat with explicit autonomous-agent opt-in",
5684
5684
  "aliases": [
5685
5685
  "/v1/chat"
5686
5686
  ],
@@ -5729,8 +5729,8 @@
5729
5729
  ],
5730
5730
  "operations": {
5731
5731
  "post": {
5732
- "summary": "Stateful chat session with full agent tool access (OpenAI-compatible response shape)",
5733
- "description": "Drop-in replacement for OpenAI /v1/chat/completions and Ollama /api/chat. By default the request runs the FULL Omnius agent stack (tools, multi-agent, memory, skills) under the hood and returns an OpenAI chat.completion shape on success. Set tools=false to bypass the agent and forward straight to the configured backend (fast path).",
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.",
5734
5734
  "tags": [
5735
5735
  "Chat"
5736
5736
  ],
@@ -5781,8 +5781,27 @@
5781
5781
  },
5782
5782
  "tools": {
5783
5783
  "type": "boolean",
5784
- "default": true,
5785
- "description": "true (default) = full agent. false = direct backend chat. realtime=true also uses direct backend chat."
5784
+ "default": false,
5785
+ "description": "Set true to explicitly launch the full autonomous agent. Omitted or false uses direct backend chat."
5786
+ },
5787
+ "use_tools": {
5788
+ "type": "boolean",
5789
+ "default": false,
5790
+ "description": "Omnius-native alias for tools=true; the built-in web UI uses this explicit opt-in."
5791
+ },
5792
+ "timeout_s": {
5793
+ "type": "number",
5794
+ "minimum": 0,
5795
+ "maximum": 3600,
5796
+ "default": 180,
5797
+ "description": "Per-backend-request liveness timeout passed to the agent CLI."
5798
+ },
5799
+ "agent_timeout_s": {
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."
5786
5805
  }
5787
5806
  }
5788
5807
  }
package/docs/DISCOVERY.md CHANGED
@@ -115,7 +115,7 @@ Daemon equivalents are `GET /v1/discovery/bootstrap`, `GET /v1/discovery?q=<inte
115
115
  | `api.v1-audio-speech` | /v1/audio/speech | OpenAI-compatible alias of /v1/voice/tts (input/voice/response_format names) |
116
116
  | `api.v1-audio-transcriptions` | /v1/audio/transcriptions | OpenAI-compatible alias of /v1/asr/transcriptions |
117
117
  | `api.v1-audit` | /v1/audit | Query audit log |
118
- | `api.v1-chat` | /v1/chat | Stateful chat session with full agent tool access (OpenAI-compatible response shape) |
118
+ | `api.v1-chat` | /v1/chat | Stateful direct chat with explicit autonomous-agent opt-in |
119
119
  | `api.v1-chat-attachments` | /v1/chat/attachments | Upload an attachment for a stateful chat |
120
120
  | `api.v1-chat-check-in` | /v1/chat/check-in | Send a steering check-in to the active chat session — returns model inference + queued steering_packet |
121
121
  | `api.v1-chat-completions` | /v1/chat/completions | OpenAI-compatible chat completion (with optional server-side agent loop) |
@@ -71,7 +71,7 @@ Realtime example:
71
71
 
72
72
  ## `/v1/chat`
73
73
 
74
- This is the Omnius stateful chat endpoint. By default it runs the full Omnius agent stack with tools, memory, skills, and multi-agent context. Set `tools: false` to use the fast direct backend path. `realtime: true` also uses the direct backend path.
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`.
75
75
 
76
76
  Body fields:
77
77
 
@@ -81,7 +81,10 @@ Body fields:
81
81
  | `model` | string | Optional model override |
82
82
  | `session_id` | string | Reuse or name a session |
83
83
  | `stream` | boolean | Stream when supported |
84
- | `tools` | boolean | Full agent stack by default |
84
+ | `tools` | boolean | Set true to explicitly launch the full agent stack |
85
+ | `use_tools` | boolean | Omnius-native alias for `tools: true` |
86
+ | `timeout_s` | number | Per-backend-request liveness timeout |
87
+ | `agent_timeout_s` | number | Whole-agent daemon deadline, default 180 seconds and maximum 3600 |
85
88
  | `realtime` | boolean | Short ASR/TTS conversation mode |
86
89
  | `realtime_options` | object | Realtime settings |
87
90
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "omnius",
3
- "version": "1.0.729",
3
+ "version": "1.0.730",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "omnius",
9
- "version": "1.0.729",
9
+ "version": "1.0.730",
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.729",
3
+ "version": "1.0.730",
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",