omnius 1.0.608 → 1.0.610

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.
Files changed (40) hide show
  1. package/.aiwg/addons/omnius-docs/README.md +3 -1
  2. package/.aiwg/addons/omnius-docs/manifest.json +4 -2
  3. package/.aiwg/addons/omnius-docs/skills/omnius-agent-onboarding/SKILL.md +70 -0
  4. package/.aiwg/addons/omnius-docs/skills/omnius-docs/SKILL.md +8 -4
  5. package/.aiwg/addons/omnius-rest-docs/README.md +2 -1
  6. package/.aiwg/addons/omnius-rest-docs/skills/omnius-rest-docs/SKILL.md +5 -3
  7. package/README.md +352 -108
  8. package/dist/discovery.d.ts +55 -2
  9. package/dist/index.js +8345 -6382
  10. package/dist/library.d.ts +2 -2
  11. package/dist/library.js +67 -7
  12. package/dist/scripts/vibevoice-asr-worker.py +195 -0
  13. package/dist/update-worker.js +211 -5
  14. package/docs/.vitepress/config.mts +3 -0
  15. package/docs/DISCOVERY.json +27446 -6695
  16. package/docs/DISCOVERY.md +437 -330
  17. package/docs/architecture/agent-system-map.md +176 -0
  18. package/docs/architecture/overview.md +5 -0
  19. package/docs/discovery/agent-map.json +119 -0
  20. package/docs/getting-started/install.md +1 -1
  21. package/docs/guides/agent-integration.md +69 -7
  22. package/docs/guides/dashboard.md +170 -0
  23. package/docs/guides/system-tray.md +28 -0
  24. package/docs/index.md +4 -1
  25. package/docs/reference/configuration.md +10 -0
  26. package/docs/reference/rest-api.md +161 -8
  27. package/docs/reference/slash-commands.md +31 -3
  28. package/docs/rest/INDEX.md +11 -10
  29. package/docs/rest/QUICKREF.md +39 -0
  30. package/docs/rest/endpoints/chat.md +24 -1
  31. package/docs/rest/endpoints/config.md +8 -1
  32. package/docs/rest/endpoints/discovery.md +21 -3
  33. package/docs/rest/endpoints/files.md +7 -2
  34. package/docs/rest/endpoints/memory.md +4 -0
  35. package/docs/rest/endpoints/run.md +17 -4
  36. package/docs/rest/endpoints/voice-vision.md +22 -5
  37. package/npm-shrinkwrap.json +2 -2
  38. package/package.json +6 -3
  39. package/templates/OMNIUS.md +29 -5
  40. package/voices/personaplex/quantize-weights.py +0 -167
@@ -2,13 +2,15 @@
2
2
 
3
3
  This project-local addon exposes Omnius documentation as small discoverable skills. It is for agents that need to answer questions about Omnius without loading the entire docs tree.
4
4
 
5
- Start with `omnius-docs`, then load a more specific skill when the task is
5
+ Start with `omnius-agent-onboarding` when the agent has no Omnius context, or
6
+ `omnius-docs` when it already knows the documentation domain. Then load a more specific skill when the task is
6
7
  about inference providers, tools/web search, service integration, version
7
8
  compatibility, realtime, sponsors, Telegram, operations, or browser
8
9
  interaction validation.
9
10
 
10
11
  Documentation-routing skills:
11
12
 
13
+ - `omnius-agent-onboarding`
12
14
  - `omnius-inference-docs`
13
15
  - `omnius-tools-docs`
14
16
  - `omnius-integration-docs`
@@ -2,8 +2,8 @@
2
2
  "id": "omnius-docs",
3
3
  "type": "addon",
4
4
  "name": "Omnius Documentation",
5
- "version": "1.1.0",
6
- "description": "Project-local Omnius documentation bundle for discover-then-expand agent workflows.",
5
+ "version": "1.2.0",
6
+ "description": "Project-local Omnius agent onboarding, system map, and discover-then-expand documentation bundle.",
7
7
  "manifestVersion": "1",
8
8
  "platforms": {
9
9
  "claude": "full",
@@ -16,6 +16,8 @@
16
16
  "omnius",
17
17
  "documentation",
18
18
  "discovery",
19
+ "agent-onboarding",
20
+ "system-map",
19
21
  "inference",
20
22
  "tools",
21
23
  "operations",
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: omnius-agent-onboarding
3
+ description: Bootstrap any agent into Omnius, choose the correct entrypoint, locate layer/module/state ownership, and verify live behavior without guessing.
4
+ compaction_strategy: structured
5
+ ---
6
+
7
+ # omnius-agent-onboarding
8
+
9
+ Use this skill when an agent is new to Omnius or unsure which command, REST
10
+ route, tool, runtime, state root, or source module owns a requested outcome.
11
+
12
+ ## Triggers
13
+
14
+ - how do I use Omnius
15
+ - integrate an agent with Omnius
16
+ - where is this implemented
17
+ - which Omnius endpoint or command
18
+ - Omnius architecture, runtime, state, or ownership
19
+ - debug Omnius without prior context
20
+
21
+ ## Minimal Bootstrap
22
+
23
+ 1. Run `omnius docs` or read `GET /v1/discovery/bootstrap`.
24
+ 2. Search the desired outcome with `omnius discover "<intent>"`.
25
+ 3. Expand one stable ID with `omnius show <id>`.
26
+ 4. Read `use_when`, `avoid_when`, interfaces, workflow, safety, state,
27
+ verification, failure recovery, and source-of-truth.
28
+ 5. For live work, compare `GET /version`, then inspect `/openapi.json` and the
29
+ relevant live registry before executing.
30
+ 6. Verify the requested terminal result; accepted/queued is not completion.
31
+
32
+ ## Route By Agent Size
33
+
34
+ - Small-context agent: bootstrap + one `workflow.*` entry + one referenced page.
35
+ - Coding agent: also expand the owning `layer.*` and `module.*` entries.
36
+ - Service integrator: also expand the exact `api.*`, tool, or provider entry
37
+ and validate the running OpenAPI/live registry.
38
+ - Operator: expand `layer.operations`, the affected `runtime.*`, and
39
+ `workflow.debug-runtime`.
40
+ - Maintainer: read `docs/architecture/agent-system-map.md`, then inspect the
41
+ canonical registry and targeted tests before editing.
42
+
43
+ ## Entrypoint Rules
44
+
45
+ - `omnius`: interactive TUI and human-only slash commands.
46
+ - `omnius "<task>"`: one foreground shell task.
47
+ - `POST /v1/chat`: stateful daemon conversation.
48
+ - `POST /v1/chat/completions`: OpenAI-compatible request, optionally an agent loop.
49
+ - `POST /v1/run`: long asynchronous task with an ID, events, and cancellation.
50
+ - `POST /v1/tools/{name}/call`: only when metadata declares direct-call exposure.
51
+
52
+ Never infer a REST command from a slash command or a direct route from a tool
53
+ name. Expand `workflow.choose-entrypoint` when uncertain.
54
+
55
+ ## State Rules
56
+
57
+ - `<project>/.omnius`: project conversations, tasks/runs, context, indexes,
58
+ memories, and project preferences.
59
+ - `~/.omnius`: daemon/update identity, global config and credentials, managed
60
+ runtimes, shared model/media storage, and workspace registry.
61
+
62
+ Resolve the active workspace before touching project state. Do not emit secrets.
63
+
64
+ ## Canonical References
65
+
66
+ - Generated bootstrap/catalog: `docs/DISCOVERY.md`, `docs/DISCOVERY.json`
67
+ - System ownership: `docs/architecture/agent-system-map.md`
68
+ - Service integration: `docs/guides/agent-integration.md`
69
+ - Live REST contract: `GET /openapi.json`
70
+ - Source discovery contract: `docs/discovery/agent-map.json`
@@ -21,13 +21,16 @@ Find and use Omnius documentation without loading the whole docs tree.
21
21
  ## Workflow
22
22
 
23
23
  1. Start with `README.md` only for product overview and top-level docs map.
24
- 2. Search `docs/DISCOVERY.json` by stable ID, alias, or intent.
24
+ 2. If the caller is new to Omnius, use the `omnius-agent-onboarding` skill and
25
+ read the bootstrap in `docs/DISCOVERY.md`.
26
+ 3. Search `docs/DISCOVERY.json` by stable ID, alias, or intent.
25
27
  3. For setup questions, open `docs/getting-started/`.
26
28
  4. For user workflows, open the relevant file under `docs/guides/`.
27
29
  5. For commands, config, and API inventory, open `docs/reference/`.
28
30
  6. For runtime and deployment questions, open `docs/operations/`.
29
- 7. For implementation shape, open `docs/architecture/overview.md`.
30
- 8. Read only the smallest relevant page before answering.
31
+ 8. For implementation shape and ownership, open
32
+ `docs/architecture/agent-system-map.md` before the shorter overview.
33
+ 9. Read only the smallest relevant page before answering.
31
34
 
32
35
  ## Map
33
36
 
@@ -38,6 +41,7 @@ Find and use Omnius documentation without loading the whole docs tree.
38
41
  - Bring your own inference: `docs/guides/bring-your-own-inference.md`
39
42
  - Tools and web search: `docs/guides/tools-and-web-search.md`
40
43
  - Agent integration: `docs/guides/agent-integration.md`
44
+ - Agent system map: `docs/architecture/agent-system-map.md`
41
45
  - Service compatibility: `docs/operations/version-compatibility.md`
42
46
  - Realtime: `docs/guides/realtime.md`
43
47
  - Sponsor and COHERE: `docs/guides/sponsor-and-cohere.md`
@@ -49,7 +53,7 @@ Find and use Omnius documentation without loading the whole docs tree.
49
53
  - Configuration: `docs/reference/configuration.md`
50
54
  - Runtime hygiene: `docs/operations/runtime-hygiene.md`
51
55
  - Security and remote access: `docs/operations/security-and-remote-access.md`
52
- - Architecture: `docs/architecture/overview.md`
56
+ - Architecture: `docs/architecture/agent-system-map.md`
53
57
 
54
58
  ## Canonical Sources
55
59
 
@@ -6,5 +6,6 @@ Agents should discover it with `skill_list filter="rest"` or `/skills rest`, the
6
6
 
7
7
  The human-readable docs live in `docs/rest/`. The machine-readable contract is generated by `packages/cli/src/api/openapi.ts` and served by the daemon at `/openapi.json`.
8
8
 
9
- For intent-first lookup, use `omnius discover`, `GET /v1/discovery`, or the
9
+ For a new agent, start with `GET /v1/discovery/bootstrap`. For intent-first
10
+ lookup, use `omnius discover`, `GET /v1/discovery`, or the
10
11
  bundled `docs/DISCOVERY.json` before opening a REST family page.
@@ -29,13 +29,15 @@ Explore Omnius REST API documentation without loading the whole API reference in
29
29
 
30
30
  ## Workflow
31
31
 
32
- 1. Start with `docs/rest/INDEX.md`.
33
- 2. For intent lookup, search `docs/DISCOVERY.json` or `GET /v1/discovery`.
32
+ 1. If the caller does not know which Omnius surface it needs, read
33
+ `GET /v1/discovery/bootstrap` and expand `workflow.choose-entrypoint`.
34
+ 2. Start with `docs/rest/INDEX.md`.
35
+ 3. For intent lookup, search `docs/DISCOVERY.json` or `GET /v1/discovery`.
34
36
  3. Identify the endpoint family that matches the user's question.
35
37
  4. Open `docs/reference/rest-api.md` when the user needs endpoint inventory or method/path details.
36
38
  5. Open only the relevant file under `docs/rest/endpoints/` or `docs/rest/examples/` for family-specific usage.
37
39
  6. Treat `packages/cli/src/api/openapi.ts` and the live daemon `/openapi.json` as the canonical machine contract.
38
- 7. Prefer concise endpoint-specific guidance over copying long tables.
40
+ 8. Prefer concise endpoint-specific guidance over copying long tables.
39
41
 
40
42
  ## Endpoint Family Map
41
43