omnius 1.0.198 → 1.0.200
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 +974 -31
- package/docs/rest/QUICKREF.md +2 -2
- package/docs/rest/auth-and-scopes.md +1 -1
- package/docs/rest/endpoints/run.md +2 -2
- package/docs/rest/endpoints/tools.md +5 -5
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/docs/rest/QUICKREF.md
CHANGED
|
@@ -110,8 +110,8 @@ Deterministic bookkeeping without an agent run:
|
|
|
110
110
|
```bash
|
|
111
111
|
curl -s -X POST http://127.0.0.1:11435/v1/tools/todo_write/call \
|
|
112
112
|
-H 'content-type: application/json' \
|
|
113
|
-
-H 'x-omnius-session-id:
|
|
114
|
-
-d '{"profile":"
|
|
113
|
+
-H 'x-omnius-session-id: tracking-turn-123' \
|
|
114
|
+
-d '{"profile":"bookkeeping-tracking","args":{"todos":[{"content":"Create report","status":"in_progress"}]}}'
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
## Voice TTS
|
|
@@ -88,7 +88,7 @@ Mint body:
|
|
|
88
88
|
|
|
89
89
|
Tool calls are additionally gated by each tool's security metadata. Scope alone is not the only control.
|
|
90
90
|
|
|
91
|
-
Runtime keys may bind a tool profile. A run-scope key with profile `
|
|
91
|
+
Runtime keys may bind a tool profile. A run-scope key with profile `bookkeeping-tracking` can update todos and notes but cannot expose or execute filesystem/search/shell tools.
|
|
92
92
|
|
|
93
93
|
## Request Header
|
|
94
94
|
|
|
@@ -47,8 +47,8 @@ For bookkeeping integrations, prefer direct calls instead of `/v1/run`:
|
|
|
47
47
|
```bash
|
|
48
48
|
curl -s -X POST "$OMNIUS/v1/tools/todo_write/call" \
|
|
49
49
|
-H 'content-type: application/json' \
|
|
50
|
-
-H 'x-omnius-session-id:
|
|
51
|
-
-d '{"profile":"
|
|
50
|
+
-H 'x-omnius-session-id: tracking-turn-123' \
|
|
51
|
+
-d '{"profile":"bookkeeping-tracking","args":{"todos":[{"content":"Create report","status":"in_progress"}]}}'
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
## Abort
|
|
@@ -39,7 +39,7 @@ Filters include:
|
|
|
39
39
|
?scope=read|run|admin
|
|
40
40
|
?risk=low|medium|high|critical
|
|
41
41
|
?limit=200&offset=0
|
|
42
|
-
?profile=
|
|
42
|
+
?profile=bookkeeping-tracking
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Profiles can also be selected with `X-Tool-Profile`. Named profiles resolve in this order: built-in preset, `{working_dir}/.omnius/profiles/{name}.json`, then `~/.omnius/profiles/{name}.json`. Missing profiles fail closed.
|
|
@@ -50,10 +50,10 @@ Profiles can also be selected with `X-Tool-Profile`. Named profiles resolve in t
|
|
|
50
50
|
|
|
51
51
|
```json
|
|
52
52
|
{
|
|
53
|
-
"session_id": "
|
|
53
|
+
"session_id": "tracking-turn-123",
|
|
54
54
|
"args": {},
|
|
55
55
|
"working_dir": "/path/to/repo",
|
|
56
|
-
"profile": "
|
|
56
|
+
"profile": "bookkeeping-tracking"
|
|
57
57
|
}
|
|
58
58
|
```
|
|
59
59
|
|
|
@@ -66,8 +66,8 @@ Bookkeeping tools are direct-callable and do not require a model run:
|
|
|
66
66
|
```bash
|
|
67
67
|
curl -s -X POST "$OMNIUS/v1/tools/todo_write/call" \
|
|
68
68
|
-H 'content-type: application/json' \
|
|
69
|
-
-H 'x-omnius-session-id:
|
|
70
|
-
-d '{"profile":"
|
|
69
|
+
-H 'x-omnius-session-id: tracking-turn-123' \
|
|
70
|
+
-d '{"profile":"bookkeeping-tracking","args":{"todos":[{"content":"Create report","status":"in_progress"}]}}'
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
Use `todo_write`, `todo_read`, `working_notes`, and `task_complete` this way for deterministic tracking. `task_complete` on this endpoint is only a bookkeeping boundary; `/v1/runs/{id}` remains the canonical run terminal state.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.200",
|
|
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.200",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED