omnius 1.0.591 → 1.0.592

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 (131) hide show
  1. package/.aiwg/addons/omnius-docs/README.md +15 -1
  2. package/.aiwg/addons/omnius-docs/manifest.json +28 -68
  3. package/.aiwg/addons/omnius-docs/skills/agent-failure-recovery/SKILL.md +2 -1
  4. package/.aiwg/addons/omnius-docs/skills/browser-interaction-validation/SKILL.md +2 -1
  5. package/.aiwg/addons/omnius-docs/skills/evidence-directed-delivery/SKILL.md +2 -1
  6. package/.aiwg/addons/omnius-docs/skills/hardware-evidence-audit/SKILL.md +2 -1
  7. package/.aiwg/addons/omnius-docs/skills/omnius-docs/SKILL.md +17 -7
  8. package/.aiwg/addons/omnius-docs/skills/omnius-inference-docs/SKILL.md +27 -0
  9. package/.aiwg/addons/omnius-docs/skills/omnius-integration-docs/SKILL.md +21 -0
  10. package/.aiwg/addons/omnius-docs/skills/omnius-ops-docs/SKILL.md +2 -0
  11. package/.aiwg/addons/omnius-docs/skills/omnius-realtime-docs/SKILL.md +2 -0
  12. package/.aiwg/addons/omnius-docs/skills/omnius-sponsor-docs/SKILL.md +2 -0
  13. package/.aiwg/addons/omnius-docs/skills/omnius-telegram-docs/SKILL.md +2 -0
  14. package/.aiwg/addons/omnius-docs/skills/omnius-tools-docs/SKILL.md +23 -0
  15. package/.aiwg/addons/omnius-docs/skills/omnius-version-compatibility-docs/SKILL.md +23 -0
  16. package/.aiwg/addons/omnius-docs/skills/runtime-provenance-audit/SKILL.md +2 -1
  17. package/.aiwg/addons/omnius-docs/skills/secrets-and-config-audit/SKILL.md +2 -1
  18. package/.aiwg/addons/omnius-docs/skills/test-surface-audit/SKILL.md +2 -1
  19. package/.aiwg/addons/omnius-docs/skills/workspace-reality-audit/SKILL.md +2 -1
  20. package/.aiwg/addons/omnius-rest-docs/README.md +3 -0
  21. package/.aiwg/addons/omnius-rest-docs/manifest.json +27 -20
  22. package/.aiwg/addons/omnius-rest-docs/skills/omnius-rest-docs/SKILL.md +9 -5
  23. package/README.md +36 -0
  24. package/dist/discovery.d.ts +50 -0
  25. package/dist/index.js +5975 -4021
  26. package/dist/library.d.ts +7 -0
  27. package/dist/library.js +950 -0
  28. package/dist/postinstall-daemon.cjs +18 -0
  29. package/dist/providerRegistry.d.ts +80 -0
  30. package/dist/service-version.d.ts +35 -0
  31. package/docs/.vitepress/config.mts +8 -0
  32. package/docs/DISCOVERY.json +20224 -0
  33. package/docs/DISCOVERY.md +648 -0
  34. package/docs/HANDOFF-crl-encoder-decoder-fix.md +129 -0
  35. package/docs/agent-memory/INDEX.md +9 -4
  36. package/docs/agent-memory/index.md +7 -0
  37. package/docs/concept-relational-language.md +869 -0
  38. package/docs/context-management-medium-models-proposal.md +449 -0
  39. package/docs/dedup-false-positive-meta-analysis.md +96 -0
  40. package/docs/discovery/catalog-overrides.json +724 -0
  41. package/docs/duplicate-calls-root-cause-analysis.md +91 -0
  42. package/docs/duplicate-calls-root-cause-deep.md +155 -0
  43. package/docs/ephemeral-skill-pack-small-context.md +57 -0
  44. package/docs/explorations/context-window-todo-association.md +156 -0
  45. package/docs/explorations/todo-association-verify.json +30 -0
  46. package/docs/explorations/verification-ledger.json +45 -0
  47. package/docs/explorations/verify-todo-association.sh +30 -0
  48. package/docs/flowstate.md +806 -0
  49. package/docs/getting-started/install.md +24 -0
  50. package/docs/getting-started/model-providers.md +13 -0
  51. package/docs/guides/agent-integration.md +87 -0
  52. package/docs/guides/bring-your-own-inference.md +126 -0
  53. package/docs/guides/tools-and-web-search.md +95 -0
  54. package/docs/index.md +14 -0
  55. package/docs/longhaul-35b-workorders.md +496 -0
  56. package/docs/memory-integration-analysis.md +303 -0
  57. package/docs/model-capability-awareness-and-multimodal-memory-root-fix.md +799 -0
  58. package/docs/multimodal-identity-memory-implementation.md +76 -0
  59. package/docs/omnius-self-edit-eval-2026-06-10.md +169 -0
  60. package/docs/opencode-agentic-loop-comparison.md +290 -0
  61. package/docs/operations/security-and-remote-access.md +2 -2
  62. package/docs/operations/version-compatibility.md +63 -0
  63. package/docs/proposals/git-progress-tracking-strategy.md +289 -0
  64. package/docs/proposals/opencode-modules/backendAdapter.ts +443 -0
  65. package/docs/proposals/opencode-modules/childSession.ts +288 -0
  66. package/docs/proposals/opencode-modules/compactionAgent.ts +101 -0
  67. package/docs/proposals/opencode-modules/orchestrator.ts +387 -0
  68. package/docs/proposals/opencode-modules/runner.ts +258 -0
  69. package/docs/reference/auth-map.md +87 -196
  70. package/docs/reference/configuration.md +27 -0
  71. package/docs/reference/rest-api.md +7 -0
  72. package/docs/reference/slash-commands.md +125 -2
  73. package/docs/research/_archived/README.md +18 -0
  74. package/docs/research/_archived/context_window_attention_model.py +418 -0
  75. package/docs/research/_archived/context_window_attention_spec.md +55 -0
  76. package/docs/research/_archived/context_window_attention_weights.json +68 -0
  77. package/docs/research/k-splanifolds.pdf +0 -0
  78. package/docs/research/personality-verbosity-control.md +293 -0
  79. package/docs/rest/INDEX.md +7 -0
  80. package/docs/rest/QUICKREF.md +18 -0
  81. package/docs/rest/REST-DOCS-MANIFEST.json +1 -0
  82. package/docs/rest/auth-and-scopes.md +7 -1
  83. package/docs/rest/endpoints/discovery.md +44 -0
  84. package/docs/rest/endpoints/events.md +5 -0
  85. package/docs/rest/endpoints/tools.md +9 -0
  86. package/docs/reviews/adversary-system-review.md +42 -0
  87. package/docs/sana-and-video-generation-integration-plan.md +712 -0
  88. package/docs/session-diary-llm-training-analysis.md +218 -0
  89. package/docs/telegram-dmn-curiosity-outreach-scaffold.md +91 -0
  90. package/docs/telegram-mid-horizon-download-loop-handoff.md +468 -0
  91. package/docs/telegram-reflection-corpus-integration-plan.md +306 -0
  92. package/docs/telegram-unified-tooling-architecture.md +332 -0
  93. package/docs/threat-model.md +868 -0
  94. package/docs/trajectory-grounding.md +160 -0
  95. package/docs/voice-flow-architecture.md +489 -0
  96. package/docs/work-orders/WO-AM-GAPS.md +638 -0
  97. package/docs/work-orders/daemon-hud-ui-overhaul.md +82 -0
  98. package/docs/work-orders/hermes-architecture-deltas/01-public-scrutiny-provenance-control/INDEX.md +21 -0
  99. package/docs/work-orders/hermes-architecture-deltas/01-public-scrutiny-provenance-control/WORKORDER.md +225 -0
  100. package/docs/work-orders/hermes-architecture-deltas/02-context-engine-plugin-boundary/INDEX.md +20 -0
  101. package/docs/work-orders/hermes-architecture-deltas/02-context-engine-plugin-boundary/WORKORDER.md +198 -0
  102. package/docs/work-orders/hermes-architecture-deltas/03-typed-gateway-event-stream/INDEX.md +19 -0
  103. package/docs/work-orders/hermes-architecture-deltas/03-typed-gateway-event-stream/WORKORDER.md +172 -0
  104. package/docs/work-orders/hermes-architecture-deltas/04-task-local-gateway-context/INDEX.md +19 -0
  105. package/docs/work-orders/hermes-architecture-deltas/04-task-local-gateway-context/WORKORDER.md +169 -0
  106. package/docs/work-orders/hermes-architecture-deltas/05-process-lifecycle-monitoring-notifications/INDEX.md +22 -0
  107. package/docs/work-orders/hermes-architecture-deltas/05-process-lifecycle-monitoring-notifications/WORKORDER.md +189 -0
  108. package/docs/work-orders/hermes-architecture-deltas/06-vision-evidence-routing-ladder/INDEX.md +22 -0
  109. package/docs/work-orders/hermes-architecture-deltas/06-vision-evidence-routing-ladder/WORKORDER.md +199 -0
  110. package/docs/work-orders/hermes-architecture-deltas/07-durable-multi-agent-kanban/INDEX.md +20 -0
  111. package/docs/work-orders/hermes-architecture-deltas/07-durable-multi-agent-kanban/WORKORDER.md +174 -0
  112. package/docs/work-orders/hermes-architecture-deltas/08-completion-critic-reconciliation-ledger/INDEX.md +22 -0
  113. package/docs/work-orders/hermes-architecture-deltas/08-completion-critic-reconciliation-ledger/WORKORDER.md +226 -0
  114. package/docs/work-orders/hermes-architecture-deltas/INDEX.md +38 -0
  115. package/docs/work-orders/omnius-context-engineering-behavior-fixes.md +281 -0
  116. package/docs/work-orders/telegram-dropbear-context-rca-workorder.md +202 -0
  117. package/docs/work-orders/world-class-memory-compiler/README.md +162 -0
  118. package/docs/work-orders/world-class-memory-compiler/TRACKER.md +179 -0
  119. package/docs/work-orders/world-class-memory-compiler/WO-01-exact-request-budget.md +79 -0
  120. package/docs/work-orders/world-class-memory-compiler/WO-02-typed-memory-fabric.md +65 -0
  121. package/docs/work-orders/world-class-memory-compiler/WO-03-dependency-working-set.md +55 -0
  122. package/docs/work-orders/world-class-memory-compiler/WO-04-inference-memory-compiler.md +67 -0
  123. package/docs/work-orders/world-class-memory-compiler/WO-05-artifact-fidelity-materialization.md +72 -0
  124. package/docs/work-orders/world-class-memory-compiler/WO-06-temporal-hybrid-retrieval.md +49 -0
  125. package/docs/work-orders/world-class-memory-compiler/WO-07-evaluation-harness.md +45 -0
  126. package/docs/work-orders/world-class-memory-compiler/WO-08-rollout-legacy-removal.md +45 -0
  127. package/docs/x402-remote-inference-plan.md +323 -0
  128. package/npm-shrinkwrap.json +108 -117
  129. package/package.json +7 -6
  130. package/templates/AGENTS.md +6 -0
  131. package/templates/OMNIUS.md +20 -0
@@ -2,6 +2,20 @@
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 about realtime, sponsors, Telegram, operations, or browser interaction validation.
5
+ Start with `omnius-docs`, then load a more specific skill when the task is
6
+ about inference providers, tools/web search, service integration, version
7
+ compatibility, realtime, sponsors, Telegram, operations, or browser
8
+ interaction validation.
9
+
10
+ Documentation-routing skills:
11
+
12
+ - `omnius-inference-docs`
13
+ - `omnius-tools-docs`
14
+ - `omnius-integration-docs`
15
+ - `omnius-version-compatibility-docs`
16
+ - `omnius-realtime-docs`
17
+ - `omnius-sponsor-docs`
18
+ - `omnius-telegram-docs`
19
+ - `omnius-ops-docs`
6
20
 
7
21
  For cross-cutting delivery work, the add-on also exposes `evidence-directed-delivery`, `workspace-reality-audit`, `test-surface-audit`, `runtime-provenance-audit`, `hardware-evidence-audit`, `secrets-and-config-audit`, and `agent-failure-recovery`. These skills are feedback-oriented: they help an agent discover evidence gaps and recover from actual failures without treating planning telemetry as a completion veto.
@@ -1,72 +1,32 @@
1
1
  {
2
- "name": "omnius-docs",
3
- "version": "1.0.0",
2
+ "id": "omnius-docs",
3
+ "type": "addon",
4
+ "name": "Omnius Documentation",
5
+ "version": "1.1.0",
4
6
  "description": "Project-local Omnius documentation bundle for discover-then-expand agent workflows.",
5
- "skills": [
6
- {
7
- "name": "omnius-docs",
8
- "description": "Find the right Omnius documentation page for setup, TUI, endpoints, realtime, sponsor, COHERE, Telegram, media, operations, architecture, and REST references.",
9
- "triggers": ["Omnius docs", "Omnius documentation", "how to use Omnius", "Omnius guide", "Omnius manual"]
10
- },
11
- {
12
- "name": "omnius-realtime-docs",
13
- "description": "Use Omnius realtime spoken conversation mode through /realtime or REST realtime=true.",
14
- "triggers": ["Omnius realtime", "/realtime", "realtime REST", "ASR TTS chat", "voice conversation mode"]
15
- },
16
- {
17
- "name": "omnius-sponsor-docs",
18
- "description": "Configure and consume sponsor inference, COHERE distributed inference, endpoint passthrough, media sponsorship, and peer telemetry.",
19
- "triggers": ["Omnius sponsor", "/sponsor", "/cohere", "sponsor endpoint", "COHERE mesh", "media sponsorship"]
20
- },
21
- {
22
- "name": "omnius-telegram-docs",
23
- "description": "Configure Telegram bridge behavior, scoped persona state, reply preferences, media intake, and raw failure feedback.",
24
- "triggers": ["Omnius Telegram", "/telegram", "Telegram persona", "Telegram reply preferences", "Telegram failure feedback"]
25
- },
26
- {
27
- "name": "omnius-ops-docs",
28
- "description": "Operate Omnius safely: .omnius hygiene, Ollama cleanup, broker, remote access, API keys, elevation prompts, and runtime failure capture.",
29
- "triggers": ["Omnius operations", "Ollama cleanup", "/broker", "remote access", "API keys", ".omnius"]
30
- },
31
- {
32
- "name": "browser-interaction-validation",
33
- "description": "Validate a user-facing browser flow with canonical Playwright interactions, postconditions, diagnostics, and honest blocked/not-applicable evidence.",
34
- "triggers": ["browser interaction validation", "UI interaction test", "Playwright validation", "browser flow", "dashboard validation", "form interaction"]
35
- },
36
- {
37
- "name": "evidence-directed-delivery",
38
- "description": "Use generic claim/evidence, anti-reward-hacking, bounded recovery, and feedback-only completion rules for non-trivial work.",
39
- "triggers": ["evidence based completion", "delivery audit", "completion evidence", "verify claims", "remaining gaps"]
40
- },
41
- {
42
- "name": "workspace-reality-audit",
43
- "description": "Audit repository truth, generated artifacts, documentation drift, and delivery ownership before claiming progress.",
44
- "triggers": ["workspace audit", "repository reality", "stale artifact", "untracked source", "documentation drift"]
45
- },
46
- {
47
- "name": "test-surface-audit",
48
- "description": "Map canonical tests to claims and expose placeholder, mock-only, copied-logic, and un-wired verification gaps.",
49
- "triggers": ["test audit", "test coverage", "test surface", "canonical test", "mock only"]
50
- },
51
- {
52
- "name": "runtime-provenance-audit",
53
- "description": "Prove active process, artifact, port, configuration, and restart/update ownership for runtime claims.",
54
- "triggers": ["runtime provenance", "deployed version", "process audit", "service ownership", "running artifact"]
55
- },
56
- {
57
- "name": "hardware-evidence-audit",
58
- "description": "Classify static, simulation, integration, and physical-device evidence without overstating hardware proof.",
59
- "triggers": ["hardware validation", "device evidence", "simulation versus hardware", "firmware test", "physical device"]
60
- },
61
- {
62
- "name": "secrets-and-config-audit",
63
- "description": "Audit credential and configuration provenance without exposing secret values.",
64
- "triggers": ["secret audit", "credential provenance", "endpoint credential", "configuration security"]
65
- },
66
- {
67
- "name": "agent-failure-recovery",
68
- "description": "Convert failed calls into bounded, evidence-backed recovery actions and stop blind retries.",
69
- "triggers": ["recover tool failure", "stale hash", "unknown tool", "retry loop", "agent recovery"]
7
+ "manifestVersion": "1",
8
+ "platforms": {
9
+ "claude": "full",
10
+ "codex": "full",
11
+ "factory": "full",
12
+ "cursor": "full",
13
+ "generic": "full"
14
+ },
15
+ "keywords": [
16
+ "omnius",
17
+ "documentation",
18
+ "discovery",
19
+ "inference",
20
+ "tools",
21
+ "operations",
22
+ "project-local"
23
+ ],
24
+ "deployment": {
25
+ "pathTemplate": ".{platform}/skills/{id}.md"
26
+ },
27
+ "addonConfig": {
28
+ "entry": {
29
+ "skills": "skills/"
70
30
  }
71
- ]
31
+ }
72
32
  }
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: agent-failure-recovery
3
+ description: Convert failed calls into bounded evidence-backed recovery actions and stop blind retries.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -20,4 +22,3 @@ timeout, or contradictory evidence.
20
22
  5. Resolve the failure only with evidence that addresses the same tool family,
21
23
  claim, and current state. Keep it as feedback; do not use it as a terminal
22
24
  completion gate.
23
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: browser-interaction-validation
3
+ description: Validate a user-facing browser flow with canonical Playwright interactions, explicit postconditions, and honest blocked or inconclusive evidence.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -78,4 +80,3 @@ browser flow: fleet control
78
80
  user gesture; no physical device is attached to this browser session.
79
81
  - static evidence: dashboard harness passed (does not prove the three flows).
80
82
  ```
81
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: evidence-directed-delivery
3
+ description: Use claim-and-evidence, anti-reward-hacking, bounded recovery, and feedback-only completion rules for non-trivial work.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -60,4 +62,3 @@ recovery: stale edit target
60
62
  - status: resolved
61
63
  - evidence: re-read current target, rebuilt the edit, then ran a fresh verifier
62
64
  ```
63
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: hardware-evidence-audit
3
+ description: Classify static, simulation, integration, and physical-device evidence without overstating hardware proof.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -22,4 +24,3 @@ Never promote an item to a higher level without a fresh observation at that
22
24
  level. Before live local inference or hardware work, follow the project’s
23
25
  hardware preflight rules. If the required device, endpoint, permission, or
24
26
  accelerator cannot be proven, report `blocked` or `not_applicable`.
25
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: omnius-docs
3
+ description: Find the smallest Omnius documentation artifact for setup, workflows, providers, tools, APIs, operations, or architecture.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -19,18 +21,24 @@ Find and use Omnius documentation without loading the whole docs tree.
19
21
  ## Workflow
20
22
 
21
23
  1. Start with `README.md` only for product overview and top-level docs map.
22
- 2. For setup questions, open `docs/getting-started/`.
23
- 3. For user workflows, open the relevant file under `docs/guides/`.
24
- 4. For commands, config, and API inventory, open `docs/reference/`.
25
- 5. For runtime and deployment questions, open `docs/operations/`.
26
- 6. For implementation shape, open `docs/architecture/overview.md`.
27
- 7. Read only the smallest relevant page before answering.
24
+ 2. Search `docs/DISCOVERY.json` by stable ID, alias, or intent.
25
+ 3. For setup questions, open `docs/getting-started/`.
26
+ 4. For user workflows, open the relevant file under `docs/guides/`.
27
+ 5. For commands, config, and API inventory, open `docs/reference/`.
28
+ 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.
28
31
 
29
32
  ## Map
30
33
 
31
34
  - Install: `docs/getting-started/install.md`
32
35
  - First run: `docs/getting-started/first-run.md`
33
36
  - Model providers: `docs/getting-started/model-providers.md`
37
+ - Discovery cascade: `docs/DISCOVERY.md`
38
+ - Bring your own inference: `docs/guides/bring-your-own-inference.md`
39
+ - Tools and web search: `docs/guides/tools-and-web-search.md`
40
+ - Agent integration: `docs/guides/agent-integration.md`
41
+ - Service compatibility: `docs/operations/version-compatibility.md`
34
42
  - Realtime: `docs/guides/realtime.md`
35
43
  - Sponsor and COHERE: `docs/guides/sponsor-and-cohere.md`
36
44
  - Telegram: `docs/guides/telegram.md`
@@ -45,4 +53,6 @@ Find and use Omnius documentation without loading the whole docs tree.
45
53
 
46
54
  ## Canonical Sources
47
55
 
48
- When documentation and code disagree, verify against the code or live daemon. REST machine contract lives in `packages/cli/src/api/openapi.ts`.
56
+ When documentation and code disagree, verify against the code or live daemon.
57
+ REST machine contract lives in `packages/cli/src/api/openapi.ts`; offline
58
+ discovery lives in `docs/DISCOVERY.json`.
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: omnius-inference-docs
3
+ description: Discover Omnius provider protocols, endpoints, credentials, Claude Messages translation, Gemini compatibility, and fail-closed custom endpoint behavior.
4
+ compaction_strategy: structured
5
+ ---
6
+
7
+ # omnius-inference-docs
8
+
9
+ Use this skill for bring-your-own inference, provider accounts, endpoint
10
+ protocols, provider keys, Claude, Gemini, and custom endpoints.
11
+
12
+ ## Workflow
13
+
14
+ 1. Read `docs/guides/bring-your-own-inference.md`.
15
+ 2. Expand the provider's stable entry in `docs/DISCOVERY.json`.
16
+ 3. Read `docs/reference/configuration.md` for key precedence.
17
+ 4. For REST adapters, also read
18
+ `docs/operations/version-compatibility.md`.
19
+ 5. Verify live provider and version metadata before execution.
20
+
21
+ ## Invariants
22
+
23
+ - Anthropic/Claude uses `anthropic-messages`, not a guessed OpenAI path.
24
+ - Gemini uses the official `/v1beta/openai` compatibility prefix.
25
+ - Unknown custom protocols fail closed without a network request.
26
+ - REST bearer keys and provider credentials are separate.
27
+ - Local inference requires the repository hardware preflight.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: omnius-integration-docs
3
+ description: Integrate an agent or service with Omnius through discovery, OpenAPI, provider descriptors, live tool metadata, scoped auth, and a version precondition.
4
+ compaction_strategy: structured
5
+ ---
6
+
7
+ # omnius-integration-docs
8
+
9
+ Use when another agent, account adapter, service, or SDK needs to call Omnius.
10
+
11
+ ## Workflow
12
+
13
+ 1. Read `docs/guides/agent-integration.md`.
14
+ 2. Inspect `/version` and select the minimum compatible package version.
15
+ 3. Discover a stable capability ID and expand its interfaces.
16
+ 4. Validate provider protocol or live tool invocation metadata.
17
+ 5. Send `X-Omnius-Min-Version` on every execution request.
18
+ 6. Keep provider credentials separate from scoped daemon bearer keys.
19
+
20
+ Discovery describes the available contract; live OpenAPI and policy state
21
+ remain authoritative for the running service.
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: omnius-ops-docs
3
+ description: Operate Omnius safely through runtime hygiene, remote access, scoped keys, model cleanup, and failure capture guidance.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: omnius-realtime-docs
3
+ description: Use Omnius realtime spoken conversation through the TUI or REST with bounded ASR, TTS, history, and persona context.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: omnius-sponsor-docs
3
+ description: Configure sponsor and COHERE inference, endpoint passthrough, media sponsorship, and peer telemetry.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: omnius-telegram-docs
3
+ description: Configure the Telegram bridge, scoped persona state, reply preferences, media intake, and failure feedback.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: omnius-tools-docs
3
+ description: Discover Omnius tools and select the correct direct, agent-loop, external HTTP, or MCP invocation interface.
4
+ compaction_strategy: structured
5
+ ---
6
+
7
+ # omnius-tools-docs
8
+
9
+ Use for built-in tools, web search, direct tool calls, external tools, MCP,
10
+ tool security, and tool profiles.
11
+
12
+ ## Workflow
13
+
14
+ 1. Read `docs/guides/tools-and-web-search.md`.
15
+ 2. Inspect the stable catalog entry and live `GET /v1/tools/{name}` metadata.
16
+ 3. Use a direct call only when `direct_callable` is true.
17
+ 4. Route agent-bound tools through `/v1/run`, `/v1/chat`, or
18
+ `/v1/chat/completions`.
19
+ 5. Preserve auth scope, profile, origin, network, and risk gates.
20
+
21
+ `web_search` is agent-bound. Its schema can be discovered, but it should be
22
+ offered to an Omnius agent loop instead of assumed callable at the direct tool
23
+ route.
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: omnius-version-compatibility-docs
3
+ description: Prevent a stale Omnius daemon from executing jobs by inspecting version metadata and sending the X-Omnius-Min-Version precondition.
4
+ compaction_strategy: structured
5
+ ---
6
+
7
+ # omnius-version-compatibility-docs
8
+
9
+ Use for client/daemon compatibility, stale services, package version checks,
10
+ and HTTP `400` / `412` version failures.
11
+
12
+ ## Workflow
13
+
14
+ 1. Read `docs/operations/version-compatibility.md`.
15
+ 2. Inspect `GET /version`.
16
+ 3. Compare `package_version` with the integration's required SemVer.
17
+ 4. Send `X-Omnius-Min-Version` on execution requests.
18
+ 5. Treat invalid SemVer `400` as a client defect.
19
+ 6. Treat stale-service `412` as non-retryable until the daemon is updated or
20
+ a verified compatible daemon is selected.
21
+
22
+ The precondition is checked before handler state creation and is separate from
23
+ bearer authentication.
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: runtime-provenance-audit
3
+ description: Prove active process, artifact, port, configuration, and restart ownership for runtime claims.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -17,4 +19,3 @@ port, endpoint, or update.
17
19
  and whether a process is project-supervised or ad hoc.
18
20
  4. Report unavailable access as `blocked` or `unverified`, never as a failed
19
21
  implementation claim.
20
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: secrets-and-config-audit
3
+ description: Audit credential and configuration provenance without exposing secret values.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -19,4 +21,3 @@ configuration provenance.
19
21
  source indicator, timestamp, and non-secret receipt only.
20
22
  5. Treat 401/403, unavailable models, or changed free/pricing status as a
21
23
  configuration outcome requiring action—not an invitation to retry blindly.
22
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: test-surface-audit
3
+ description: Map canonical tests to claims and expose placeholder, mock-only, copied-logic, and unwired verification gaps.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -19,4 +21,3 @@ Use when a task changes behavior, claims a fix, or asks for release readiness.
19
21
  passing execution from coverage of the requested behavior.
20
22
  5. On failure, retain the exact diagnostic and create a distinct recovery
21
23
  action; do not blanket-retry.
22
-
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: workspace-reality-audit
3
+ description: Audit repository truth, generated artifacts, documentation drift, and delivery ownership before claiming progress.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -21,4 +23,3 @@ completion claim.
21
23
 
22
24
  For each finding emit: `status`, `evidence`, `impact`, `counter-check`, and
23
25
  `smallest next action`. Keep workspace findings separate from runtime claims.
24
-
@@ -5,3 +5,6 @@ This project-local AIWG-shaped addon exposes the Omnius REST API reference throu
5
5
  Agents should discover it with `skill_list filter="rest"` or `/skills rest`, then load `omnius-rest-docs` only when the current task needs REST API guidance.
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
+
9
+ For intent-first lookup, use `omnius discover`, `GET /v1/discovery`, or the
10
+ bundled `docs/DISCOVERY.json` before opening a REST family page.
@@ -1,24 +1,31 @@
1
1
  {
2
- "name": "omnius-rest-docs",
3
- "version": "1.0.0",
2
+ "id": "omnius-rest-docs",
3
+ "type": "addon",
4
+ "name": "Omnius REST Documentation",
5
+ "version": "1.1.0",
4
6
  "description": "Project-local Omnius REST API documentation bundle for discover-then-expand agent workflows.",
5
- "skills": [
6
- {
7
- "name": "omnius-rest-docs",
8
- "description": "Explore Omnius REST API docs, OpenAPI source, auth scopes, realtime chat, tools, memory, AIWG, voice, sponsor, and governance endpoints.",
9
- "triggers": [
10
- "Omnius REST API",
11
- "/v1 endpoints",
12
- "OpenAPI",
13
- "Swagger UI",
14
- "/openapi.json",
15
- "API key scopes",
16
- "realtime REST",
17
- "memory REST endpoint",
18
- "skills REST endpoint",
19
- "AIWG cascade endpoint",
20
- "voicechat websocket"
21
- ]
7
+ "manifestVersion": "1",
8
+ "platforms": {
9
+ "claude": "full",
10
+ "codex": "full",
11
+ "factory": "full",
12
+ "cursor": "full",
13
+ "generic": "full"
14
+ },
15
+ "keywords": [
16
+ "omnius",
17
+ "rest",
18
+ "openapi",
19
+ "discovery",
20
+ "tools",
21
+ "project-local"
22
+ ],
23
+ "deployment": {
24
+ "pathTemplate": ".{platform}/skills/{id}.md"
25
+ },
26
+ "addonConfig": {
27
+ "entry": {
28
+ "skills": "skills/"
22
29
  }
23
- ]
30
+ }
24
31
  }
@@ -1,4 +1,6 @@
1
1
  ---
2
+ name: omnius-rest-docs
3
+ description: Route Omnius REST questions to the smallest endpoint-family guide, OpenAPI contract, auth reference, or example.
2
4
  compaction_strategy: structured
3
5
  ---
4
6
 
@@ -28,15 +30,17 @@ Explore Omnius REST API documentation without loading the whole API reference in
28
30
  ## Workflow
29
31
 
30
32
  1. Start with `docs/rest/INDEX.md`.
31
- 2. Identify the endpoint family that matches the user's question.
32
- 3. Open `docs/reference/rest-api.md` when the user needs endpoint inventory or method/path details.
33
- 4. Open only the relevant file under `docs/rest/endpoints/` or `docs/rest/examples/` for family-specific usage.
34
- 5. Treat `packages/cli/src/api/openapi.ts` and the live daemon `/openapi.json` as the canonical machine contract.
35
- 6. Prefer concise endpoint-specific guidance over copying long tables.
33
+ 2. For intent lookup, search `docs/DISCOVERY.json` or `GET /v1/discovery`.
34
+ 3. Identify the endpoint family that matches the user's question.
35
+ 4. Open `docs/reference/rest-api.md` when the user needs endpoint inventory or method/path details.
36
+ 5. Open only the relevant file under `docs/rest/endpoints/` or `docs/rest/examples/` for family-specific usage.
37
+ 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.
36
39
 
37
40
  ## Endpoint Family Map
38
41
 
39
42
  - Chat, realtime, OpenAI-compatible inference: `docs/rest/endpoints/chat.md`
43
+ - Capability discovery: `docs/rest/endpoints/discovery.md`
40
44
  - Full endpoint inventory: `docs/reference/rest-api.md`
41
45
  - Agent runs, jobs, todos, scheduled tasks: `docs/rest/endpoints/run.md`
42
46
  - Config, keys, profiles, projects: `docs/rest/endpoints/config.md`
package/README.md CHANGED
@@ -30,6 +30,31 @@ omnius serve
30
30
 
31
31
  The daemon defaults to `http://127.0.0.1:11435`. Open the interactive API docs at `http://127.0.0.1:11435/docs`.
32
32
 
33
+ ## Agent Discovery
34
+
35
+ The npm package ships its complete documentation and a machine-readable
36
+ capability catalog. An agent does not need to inspect Omnius source or guess
37
+ which endpoint owns a capability:
38
+
39
+ ```bash
40
+ omnius discover "bring your own inference"
41
+ omnius show provider.anthropic
42
+ omnius show provider.gemini
43
+ omnius show tool.web-search
44
+ omnius capabilities --json
45
+ ```
46
+
47
+ With the daemon running, the same discovery cascade is available at
48
+ `GET /v1/discovery`, with exact entry expansion at
49
+ `GET /v1/discovery/{id}`. The live API contract remains available at
50
+ `/openapi.json`, direct tool metadata at `/v1/tools`, and skills at
51
+ `/v1/skills`.
52
+
53
+ Start with [the discovery guide](docs/DISCOVERY.md) when integrating another
54
+ agent or service. Use [bring-your-own inference](docs/guides/bring-your-own-inference.md)
55
+ for provider protocols and keys, and [tools and web search](docs/guides/tools-and-web-search.md)
56
+ for the distinction between direct tools and agent-bound tools.
57
+
33
58
  ## What Omnius Does
34
59
 
35
60
  - Runs autonomous coding tasks, edits files, executes tools, tests changes, and iterates on failures.
@@ -67,6 +92,9 @@ omnius serve
67
92
  | Area | What to read |
68
93
  | --- | --- |
69
94
  | Install and setup | [Install](docs/getting-started/install.md), [First run](docs/getting-started/first-run.md), [Model providers](docs/getting-started/model-providers.md) |
95
+ | Agent discovery | [Discovery cascade](docs/DISCOVERY.md), [machine catalog](docs/DISCOVERY.json), [agent integration](docs/guides/agent-integration.md) |
96
+ | Bring your own inference | [Provider protocols and keys](docs/guides/bring-your-own-inference.md) |
97
+ | Tools and web search | [Tool discovery and invocation](docs/guides/tools-and-web-search.md) |
70
98
  | Terminal workflows | [TUI workflows](docs/guides/tui-workflows.md), [Slash commands](docs/reference/slash-commands.md) |
71
99
  | REST daemon | [REST reference](docs/reference/rest-api.md), [REST quickref](docs/rest/QUICKREF.md), [OpenAPI source](docs/rest/openapi-source.md) |
72
100
  | Realtime voice chat | [Realtime guide](docs/guides/realtime.md) |
@@ -74,6 +102,7 @@ omnius serve
74
102
  | Telegram bridge | [Telegram guide](docs/guides/telegram.md) |
75
103
  | Media generation | [Media guide](docs/guides/media-generation.md) |
76
104
  | Operations | [Runtime hygiene](docs/operations/runtime-hygiene.md), [Security and remote access](docs/operations/security-and-remote-access.md) |
105
+ | Service compatibility | [Runtime version gate](docs/operations/version-compatibility.md) |
77
106
  | Architecture | [Architecture overview](docs/architecture/overview.md) |
78
107
  | Agent-explorable docs | [Agent memory docs index](docs/agent-memory/INDEX.md) |
79
108
 
@@ -173,6 +202,13 @@ The complete endpoint inventory follows. It is kept in lockstep with the served
173
202
  | `GET` | `/v1/cost` | Cost tracker |
174
203
  | `GET` | `/v1/system` | CPU, RAM, GPU, and system snapshot |
175
204
 
205
+ ### Discovery
206
+
207
+ | Method | Path | Purpose |
208
+ | --- | --- | --- |
209
+ | `GET` | `/v1/discovery` | Search or list the bundled capability catalog |
210
+ | `GET` | `/v1/discovery/{id}` | Expand one stable capability entry |
211
+
176
212
  ### Inference and chat
177
213
 
178
214
  | Method | Path | Purpose |
@@ -0,0 +1,50 @@
1
+ export type DiscoveryKind = "capability" | "provider" | "tool" | "api" | "command" | "skill" | "guide" | "config" | "operation";
2
+ export interface DiscoveryInterface {
3
+ type: string;
4
+ target: string;
5
+ description?: string;
6
+ }
7
+ export interface DiscoveryReference {
8
+ type: string;
9
+ target: string;
10
+ relation?: string;
11
+ }
12
+ export interface DiscoveryEntry {
13
+ id: string;
14
+ kind: DiscoveryKind;
15
+ title: string;
16
+ summary: string;
17
+ aliases?: string[];
18
+ keywords?: string[];
19
+ maturity?: string;
20
+ prerequisites?: string[];
21
+ interfaces?: DiscoveryInterface[];
22
+ references?: DiscoveryReference[];
23
+ related?: string[];
24
+ [key: string]: unknown;
25
+ }
26
+ export interface DiscoveryCatalog {
27
+ schema_version: string;
28
+ generated_at?: string;
29
+ package_version?: string;
30
+ entries: DiscoveryEntry[];
31
+ [key: string]: unknown;
32
+ }
33
+ export interface DiscoveryQueryOptions {
34
+ kind?: DiscoveryKind;
35
+ limit?: number;
36
+ offset?: number;
37
+ }
38
+ export interface DiscoveryResult {
39
+ score: number;
40
+ entry: DiscoveryEntry;
41
+ }
42
+ export declare function findDiscoveryCatalogPath(): string | null;
43
+ export declare function loadDiscoveryCatalog(): DiscoveryCatalog;
44
+ export declare function discoverCapabilities(query?: string, options?: DiscoveryQueryOptions, catalog?: DiscoveryCatalog): DiscoveryResult[];
45
+ export declare function rankCapabilities(query?: string, kind?: DiscoveryKind, catalog?: DiscoveryCatalog): DiscoveryResult[];
46
+ export declare function showCapability(id: string, catalog?: DiscoveryCatalog): DiscoveryEntry | undefined;
47
+ export declare function renderDiscoveryEntry(entry: DiscoveryEntry): string;
48
+ export declare function discoverySchemaVersion(): string;
49
+ export declare function discoveryDocsRoot(): string | null;
50
+ //# sourceMappingURL=discovery.d.ts.map