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.
- package/.aiwg/addons/omnius-docs/README.md +15 -1
- package/.aiwg/addons/omnius-docs/manifest.json +28 -68
- package/.aiwg/addons/omnius-docs/skills/agent-failure-recovery/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/browser-interaction-validation/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/evidence-directed-delivery/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/hardware-evidence-audit/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/omnius-docs/SKILL.md +17 -7
- package/.aiwg/addons/omnius-docs/skills/omnius-inference-docs/SKILL.md +27 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-integration-docs/SKILL.md +21 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-ops-docs/SKILL.md +2 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-realtime-docs/SKILL.md +2 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-sponsor-docs/SKILL.md +2 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-telegram-docs/SKILL.md +2 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-tools-docs/SKILL.md +23 -0
- package/.aiwg/addons/omnius-docs/skills/omnius-version-compatibility-docs/SKILL.md +23 -0
- package/.aiwg/addons/omnius-docs/skills/runtime-provenance-audit/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/secrets-and-config-audit/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/test-surface-audit/SKILL.md +2 -1
- package/.aiwg/addons/omnius-docs/skills/workspace-reality-audit/SKILL.md +2 -1
- package/.aiwg/addons/omnius-rest-docs/README.md +3 -0
- package/.aiwg/addons/omnius-rest-docs/manifest.json +27 -20
- package/.aiwg/addons/omnius-rest-docs/skills/omnius-rest-docs/SKILL.md +9 -5
- package/README.md +36 -0
- package/dist/discovery.d.ts +50 -0
- package/dist/index.js +5975 -4021
- package/dist/library.d.ts +7 -0
- package/dist/library.js +950 -0
- package/dist/postinstall-daemon.cjs +18 -0
- package/dist/providerRegistry.d.ts +80 -0
- package/dist/service-version.d.ts +35 -0
- package/docs/.vitepress/config.mts +8 -0
- package/docs/DISCOVERY.json +20224 -0
- package/docs/DISCOVERY.md +648 -0
- package/docs/HANDOFF-crl-encoder-decoder-fix.md +129 -0
- package/docs/agent-memory/INDEX.md +9 -4
- package/docs/agent-memory/index.md +7 -0
- package/docs/concept-relational-language.md +869 -0
- package/docs/context-management-medium-models-proposal.md +449 -0
- package/docs/dedup-false-positive-meta-analysis.md +96 -0
- package/docs/discovery/catalog-overrides.json +724 -0
- package/docs/duplicate-calls-root-cause-analysis.md +91 -0
- package/docs/duplicate-calls-root-cause-deep.md +155 -0
- package/docs/ephemeral-skill-pack-small-context.md +57 -0
- package/docs/explorations/context-window-todo-association.md +156 -0
- package/docs/explorations/todo-association-verify.json +30 -0
- package/docs/explorations/verification-ledger.json +45 -0
- package/docs/explorations/verify-todo-association.sh +30 -0
- package/docs/flowstate.md +806 -0
- package/docs/getting-started/install.md +24 -0
- package/docs/getting-started/model-providers.md +13 -0
- package/docs/guides/agent-integration.md +87 -0
- package/docs/guides/bring-your-own-inference.md +126 -0
- package/docs/guides/tools-and-web-search.md +95 -0
- package/docs/index.md +14 -0
- package/docs/longhaul-35b-workorders.md +496 -0
- package/docs/memory-integration-analysis.md +303 -0
- package/docs/model-capability-awareness-and-multimodal-memory-root-fix.md +799 -0
- package/docs/multimodal-identity-memory-implementation.md +76 -0
- package/docs/omnius-self-edit-eval-2026-06-10.md +169 -0
- package/docs/opencode-agentic-loop-comparison.md +290 -0
- package/docs/operations/security-and-remote-access.md +2 -2
- package/docs/operations/version-compatibility.md +63 -0
- package/docs/proposals/git-progress-tracking-strategy.md +289 -0
- package/docs/proposals/opencode-modules/backendAdapter.ts +443 -0
- package/docs/proposals/opencode-modules/childSession.ts +288 -0
- package/docs/proposals/opencode-modules/compactionAgent.ts +101 -0
- package/docs/proposals/opencode-modules/orchestrator.ts +387 -0
- package/docs/proposals/opencode-modules/runner.ts +258 -0
- package/docs/reference/auth-map.md +87 -196
- package/docs/reference/configuration.md +27 -0
- package/docs/reference/rest-api.md +7 -0
- package/docs/reference/slash-commands.md +125 -2
- package/docs/research/_archived/README.md +18 -0
- package/docs/research/_archived/context_window_attention_model.py +418 -0
- package/docs/research/_archived/context_window_attention_spec.md +55 -0
- package/docs/research/_archived/context_window_attention_weights.json +68 -0
- package/docs/research/k-splanifolds.pdf +0 -0
- package/docs/research/personality-verbosity-control.md +293 -0
- package/docs/rest/INDEX.md +7 -0
- package/docs/rest/QUICKREF.md +18 -0
- package/docs/rest/REST-DOCS-MANIFEST.json +1 -0
- package/docs/rest/auth-and-scopes.md +7 -1
- package/docs/rest/endpoints/discovery.md +44 -0
- package/docs/rest/endpoints/events.md +5 -0
- package/docs/rest/endpoints/tools.md +9 -0
- package/docs/reviews/adversary-system-review.md +42 -0
- package/docs/sana-and-video-generation-integration-plan.md +712 -0
- package/docs/session-diary-llm-training-analysis.md +218 -0
- package/docs/telegram-dmn-curiosity-outreach-scaffold.md +91 -0
- package/docs/telegram-mid-horizon-download-loop-handoff.md +468 -0
- package/docs/telegram-reflection-corpus-integration-plan.md +306 -0
- package/docs/telegram-unified-tooling-architecture.md +332 -0
- package/docs/threat-model.md +868 -0
- package/docs/trajectory-grounding.md +160 -0
- package/docs/voice-flow-architecture.md +489 -0
- package/docs/work-orders/WO-AM-GAPS.md +638 -0
- package/docs/work-orders/daemon-hud-ui-overhaul.md +82 -0
- package/docs/work-orders/hermes-architecture-deltas/01-public-scrutiny-provenance-control/INDEX.md +21 -0
- package/docs/work-orders/hermes-architecture-deltas/01-public-scrutiny-provenance-control/WORKORDER.md +225 -0
- package/docs/work-orders/hermes-architecture-deltas/02-context-engine-plugin-boundary/INDEX.md +20 -0
- package/docs/work-orders/hermes-architecture-deltas/02-context-engine-plugin-boundary/WORKORDER.md +198 -0
- package/docs/work-orders/hermes-architecture-deltas/03-typed-gateway-event-stream/INDEX.md +19 -0
- package/docs/work-orders/hermes-architecture-deltas/03-typed-gateway-event-stream/WORKORDER.md +172 -0
- package/docs/work-orders/hermes-architecture-deltas/04-task-local-gateway-context/INDEX.md +19 -0
- package/docs/work-orders/hermes-architecture-deltas/04-task-local-gateway-context/WORKORDER.md +169 -0
- package/docs/work-orders/hermes-architecture-deltas/05-process-lifecycle-monitoring-notifications/INDEX.md +22 -0
- package/docs/work-orders/hermes-architecture-deltas/05-process-lifecycle-monitoring-notifications/WORKORDER.md +189 -0
- package/docs/work-orders/hermes-architecture-deltas/06-vision-evidence-routing-ladder/INDEX.md +22 -0
- package/docs/work-orders/hermes-architecture-deltas/06-vision-evidence-routing-ladder/WORKORDER.md +199 -0
- package/docs/work-orders/hermes-architecture-deltas/07-durable-multi-agent-kanban/INDEX.md +20 -0
- package/docs/work-orders/hermes-architecture-deltas/07-durable-multi-agent-kanban/WORKORDER.md +174 -0
- package/docs/work-orders/hermes-architecture-deltas/08-completion-critic-reconciliation-ledger/INDEX.md +22 -0
- package/docs/work-orders/hermes-architecture-deltas/08-completion-critic-reconciliation-ledger/WORKORDER.md +226 -0
- package/docs/work-orders/hermes-architecture-deltas/INDEX.md +38 -0
- package/docs/work-orders/omnius-context-engineering-behavior-fixes.md +281 -0
- package/docs/work-orders/telegram-dropbear-context-rca-workorder.md +202 -0
- package/docs/work-orders/world-class-memory-compiler/README.md +162 -0
- package/docs/work-orders/world-class-memory-compiler/TRACKER.md +179 -0
- package/docs/work-orders/world-class-memory-compiler/WO-01-exact-request-budget.md +79 -0
- package/docs/work-orders/world-class-memory-compiler/WO-02-typed-memory-fabric.md +65 -0
- package/docs/work-orders/world-class-memory-compiler/WO-03-dependency-working-set.md +55 -0
- package/docs/work-orders/world-class-memory-compiler/WO-04-inference-memory-compiler.md +67 -0
- package/docs/work-orders/world-class-memory-compiler/WO-05-artifact-fidelity-materialization.md +72 -0
- package/docs/work-orders/world-class-memory-compiler/WO-06-temporal-hybrid-retrieval.md +49 -0
- package/docs/work-orders/world-class-memory-compiler/WO-07-evaluation-harness.md +45 -0
- package/docs/work-orders/world-class-memory-compiler/WO-08-rollout-legacy-removal.md +45 -0
- package/docs/x402-remote-inference-plan.md +323 -0
- package/npm-shrinkwrap.json +108 -117
- package/package.json +7 -6
- package/templates/AGENTS.md +6 -0
- package/templates/OMNIUS.md +20 -0
|
@@ -39,6 +39,7 @@ var LAUNCHD_LABEL = "ai.omnius.daemon";
|
|
|
39
39
|
var WIN_TASK_NAME = "OmniusDaemon";
|
|
40
40
|
var REQUIRED_AIWG_VERSION = "2026.5.11";
|
|
41
41
|
var INSTALL_STEPS = 7;
|
|
42
|
+
var DISCOVERY_NOTICE_PRINTED = false;
|
|
42
43
|
|
|
43
44
|
// ─── Helpers ────────────────────────────────────────────────────────────────
|
|
44
45
|
|
|
@@ -60,6 +61,22 @@ function progress(step, total, msg) {
|
|
|
60
61
|
process.stdout.write(" [" + "#".repeat(filled) + ".".repeat(width - filled) + "] " + step + "/" + total + " " + msg + "\n");
|
|
61
62
|
}
|
|
62
63
|
|
|
64
|
+
function printDiscoveryPrimer() {
|
|
65
|
+
if (DISCOVERY_NOTICE_PRINTED || quietInstall()) return;
|
|
66
|
+
DISCOVERY_NOTICE_PRINTED = true;
|
|
67
|
+
process.stdout.write(
|
|
68
|
+
"\n" +
|
|
69
|
+
" Omnius discovery:\n" +
|
|
70
|
+
" omnius discover \"bring your own inference\"\n" +
|
|
71
|
+
" omnius show tool.web-search\n" +
|
|
72
|
+
" omnius docs\n" +
|
|
73
|
+
" omnius init\n" +
|
|
74
|
+
" http://127.0.0.1:" + PORT + "/help\n" +
|
|
75
|
+
" http://127.0.0.1:" + PORT + "/docs\n" +
|
|
76
|
+
" http://127.0.0.1:" + PORT + "/openapi.json\n"
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
63
80
|
function runQuiet(cmd, opts) {
|
|
64
81
|
try {
|
|
65
82
|
cp.execSync(cmd, Object.assign({ stdio: "pipe", timeout: 15000 }, opts || {}));
|
|
@@ -1003,6 +1020,7 @@ function runMainAfterKill() {
|
|
|
1003
1020
|
|
|
1004
1021
|
function safeExit(code) {
|
|
1005
1022
|
// Never exit non-zero from postinstall — it breaks `npm i -g`.
|
|
1023
|
+
printDiscoveryPrimer();
|
|
1006
1024
|
process.exit(typeof code === "number" ? 0 : 0);
|
|
1007
1025
|
}
|
|
1008
1026
|
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical inference-provider registry.
|
|
3
|
+
*
|
|
4
|
+
* Provider selection is deliberately fail-closed. A URL is usable only when
|
|
5
|
+
* it matches a known provider, names a provider explicitly, supplies a
|
|
6
|
+
* protocol explicitly, or carries an unambiguous legacy backend type.
|
|
7
|
+
*/
|
|
8
|
+
export type ProviderProtocol = "ollama" | "openai-chat" | "anthropic-messages";
|
|
9
|
+
export type ProviderAuthStrategy = "none" | "bearer" | "anthropic-api-key";
|
|
10
|
+
export type ProviderCapability = "chat" | "streaming" | "models" | "embeddings" | "tools" | "structured-output";
|
|
11
|
+
export type ProviderPathKind = "chat" | "models" | "embeddings" | "health" | "nativeChat";
|
|
12
|
+
export interface ProviderAuthDescriptor {
|
|
13
|
+
strategy: ProviderAuthStrategy;
|
|
14
|
+
required: boolean;
|
|
15
|
+
keyPrefix?: string;
|
|
16
|
+
staticHeaders?: Readonly<Record<string, string>>;
|
|
17
|
+
}
|
|
18
|
+
export interface ProviderDescriptor {
|
|
19
|
+
id: string;
|
|
20
|
+
aliases: readonly string[];
|
|
21
|
+
label: string;
|
|
22
|
+
protocol: ProviderProtocol;
|
|
23
|
+
local: boolean;
|
|
24
|
+
apiPrefix: string;
|
|
25
|
+
paths: Readonly<Partial<Record<ProviderPathKind, string>>>;
|
|
26
|
+
auth: Readonly<ProviderAuthDescriptor>;
|
|
27
|
+
capabilities: readonly ProviderCapability[];
|
|
28
|
+
defaultUrl?: string;
|
|
29
|
+
apiKeyUrl?: string;
|
|
30
|
+
docsUrl?: string;
|
|
31
|
+
description: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ResolveProviderOptions {
|
|
34
|
+
baseUrl?: string;
|
|
35
|
+
providerId?: string;
|
|
36
|
+
protocol?: ProviderProtocol;
|
|
37
|
+
/**
|
|
38
|
+
* Compatibility bridge for persisted configurations written before
|
|
39
|
+
* protocols were first-class. Only deterministic values are accepted.
|
|
40
|
+
*/
|
|
41
|
+
legacyBackendType?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ResolvedProviderTransport {
|
|
44
|
+
descriptor: ProviderDescriptor;
|
|
45
|
+
providerId: string;
|
|
46
|
+
protocol: ProviderProtocol;
|
|
47
|
+
/** Service root before the provider's API prefix. */
|
|
48
|
+
serviceBaseUrl: string;
|
|
49
|
+
/** Service root plus the provider's API prefix. */
|
|
50
|
+
endpointBaseUrl: string;
|
|
51
|
+
urls: Readonly<Partial<Record<ProviderPathKind, string>>>;
|
|
52
|
+
source: "known-url" | "provider-id" | "explicit-protocol" | "legacy-backend-type";
|
|
53
|
+
}
|
|
54
|
+
export declare class UnknownProviderProtocolError extends Error {
|
|
55
|
+
readonly code = "OMNIUS_PROVIDER_PROTOCOL_REQUIRED";
|
|
56
|
+
constructor(message: string);
|
|
57
|
+
}
|
|
58
|
+
/** Return immutable copies of all known, directly selectable providers. */
|
|
59
|
+
export declare function listProviderDescriptors(): ProviderDescriptor[];
|
|
60
|
+
/** Detect a known provider. Unknown URLs return undefined, never a fallback. */
|
|
61
|
+
export declare function detectProviderDescriptor(rawUrl: string): ProviderDescriptor | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Resolve only the provider metadata. Unknown endpoints require an explicit
|
|
64
|
+
* protocol (or an unambiguous legacy backend type) and otherwise throw.
|
|
65
|
+
*/
|
|
66
|
+
export declare function resolveProviderDescriptor(options: ResolveProviderOptions): ProviderDescriptor;
|
|
67
|
+
/**
|
|
68
|
+
* Resolve provider metadata and concrete URLs. This function performs no
|
|
69
|
+
* network requests, so callers can fail before fetch on ambiguous endpoints.
|
|
70
|
+
*/
|
|
71
|
+
export declare function resolveProviderTransport(options: ResolveProviderOptions): ResolvedProviderTransport;
|
|
72
|
+
export interface ProviderHeaderOptions {
|
|
73
|
+
apiKey?: string;
|
|
74
|
+
clientVersion?: string;
|
|
75
|
+
includeJsonContentType?: boolean;
|
|
76
|
+
}
|
|
77
|
+
/** Build provider-correct authentication and client headers. */
|
|
78
|
+
export declare function buildProviderHeaders(provider: ProviderDescriptor | ResolvedProviderTransport, options?: ProviderHeaderOptions): Record<string, string>;
|
|
79
|
+
export declare function providerUrl(provider: ResolvedProviderTransport, kind: ProviderPathKind): string;
|
|
80
|
+
//# sourceMappingURL=providerRegistry.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface ServiceVersionInfo {
|
|
2
|
+
version: string;
|
|
3
|
+
package_version: string;
|
|
4
|
+
boot_version?: string;
|
|
5
|
+
boot_package_hash?: string | null;
|
|
6
|
+
api_version?: string;
|
|
7
|
+
discovery_schema_version?: string;
|
|
8
|
+
node?: string;
|
|
9
|
+
platform?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class OmniusVersionError extends Error {
|
|
12
|
+
readonly code: "invalid_version" | "stale_runtime" | "invalid_response";
|
|
13
|
+
readonly installedVersion?: string;
|
|
14
|
+
readonly minimumVersion?: string;
|
|
15
|
+
constructor(code: OmniusVersionError["code"], message: string, details?: {
|
|
16
|
+
installedVersion?: string;
|
|
17
|
+
minimumVersion?: string;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export declare function isVersionGatedExecutionRequest(method: string, pathname: string): boolean;
|
|
21
|
+
interface ParsedVersion {
|
|
22
|
+
major: number;
|
|
23
|
+
minor: number;
|
|
24
|
+
patch: number;
|
|
25
|
+
prerelease: string[];
|
|
26
|
+
}
|
|
27
|
+
export declare function parseOmniusVersion(value: string): ParsedVersion | null;
|
|
28
|
+
export declare function compareOmniusVersions(left: string, right: string): number;
|
|
29
|
+
export declare function assertServiceVersion(info: Pick<ServiceVersionInfo, "version" | "package_version">, minimumVersion: string): void;
|
|
30
|
+
export declare function getServiceVersion(baseUrl: string, options?: {
|
|
31
|
+
apiKey?: string;
|
|
32
|
+
signal?: AbortSignal;
|
|
33
|
+
}): Promise<ServiceVersionInfo>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=service-version.d.ts.map
|
|
@@ -32,6 +32,7 @@ export default defineConfig({
|
|
|
32
32
|
],
|
|
33
33
|
themeConfig: {
|
|
34
34
|
nav: [
|
|
35
|
+
{ text: "Discover", link: "/DISCOVERY" },
|
|
35
36
|
{ text: "Guide", link: "/getting-started/install" },
|
|
36
37
|
{ text: "REST", link: "/reference/rest-api" },
|
|
37
38
|
{ text: "Commands", link: "/reference/slash-commands" },
|
|
@@ -41,6 +42,7 @@ export default defineConfig({
|
|
|
41
42
|
{
|
|
42
43
|
text: "Getting Started",
|
|
43
44
|
items: [
|
|
45
|
+
{ text: "Discovery Cascade", link: "/DISCOVERY" },
|
|
44
46
|
{ text: "Install", link: "/getting-started/install" },
|
|
45
47
|
{ text: "First Run", link: "/getting-started/first-run" },
|
|
46
48
|
{ text: "Model Providers", link: "/getting-started/model-providers" },
|
|
@@ -49,6 +51,9 @@ export default defineConfig({
|
|
|
49
51
|
{
|
|
50
52
|
text: "Guides",
|
|
51
53
|
items: [
|
|
54
|
+
{ text: "Bring Your Own Inference", link: "/guides/bring-your-own-inference" },
|
|
55
|
+
{ text: "Tools And Web Search", link: "/guides/tools-and-web-search" },
|
|
56
|
+
{ text: "Agent Integration", link: "/guides/agent-integration" },
|
|
52
57
|
{ text: "TUI Workflows", link: "/guides/tui-workflows" },
|
|
53
58
|
{ text: "Sponsor And COHERE", link: "/guides/sponsor-and-cohere" },
|
|
54
59
|
{ text: "Realtime Conversation", link: "/guides/realtime" },
|
|
@@ -63,6 +68,7 @@ export default defineConfig({
|
|
|
63
68
|
{ text: "Quick Reference", link: "/rest/QUICKREF" },
|
|
64
69
|
{ text: "Auth And Scopes", link: "/rest/auth-and-scopes" },
|
|
65
70
|
{ text: "Errors, Pagination, ETags", link: "/rest/errors-pagination-etags" },
|
|
71
|
+
{ text: "Discovery", link: "/rest/endpoints/discovery" },
|
|
66
72
|
{ text: "Chat", link: "/rest/endpoints/chat" },
|
|
67
73
|
{ text: "Runs", link: "/rest/endpoints/run" },
|
|
68
74
|
{ text: "Config", link: "/rest/endpoints/config" },
|
|
@@ -84,6 +90,7 @@ export default defineConfig({
|
|
|
84
90
|
{ text: "REST Inventory", link: "/reference/rest-api" },
|
|
85
91
|
{ text: "Slash Commands", link: "/reference/slash-commands" },
|
|
86
92
|
{ text: "Configuration", link: "/reference/configuration" },
|
|
93
|
+
{ text: "Authentication Map", link: "/reference/auth-map" },
|
|
87
94
|
{ text: "Agent Memory", link: "/agent-memory/" },
|
|
88
95
|
],
|
|
89
96
|
},
|
|
@@ -92,6 +99,7 @@ export default defineConfig({
|
|
|
92
99
|
items: [
|
|
93
100
|
{ text: "Security And Remote Access", link: "/operations/security-and-remote-access" },
|
|
94
101
|
{ text: "Runtime Hygiene", link: "/operations/runtime-hygiene" },
|
|
102
|
+
{ text: "Version Compatibility", link: "/operations/version-compatibility" },
|
|
95
103
|
],
|
|
96
104
|
},
|
|
97
105
|
{
|