omnius 1.0.923 → 1.0.925

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 (239) hide show
  1. package/dist/{providerRegistry.d.ts → _types/backend-vllm/providerRegistry.d.ts} +0 -1
  2. package/dist/_types/backend-vllm/types.d.ts +209 -0
  3. package/dist/_types/execution/av/media-capability.d.ts +94 -0
  4. package/dist/_types/execution/delegation-contract.d.ts +102 -0
  5. package/dist/_types/execution/evidence.d.ts +68 -0
  6. package/dist/_types/execution/html-source-evidence.d.ts +65 -0
  7. package/dist/_types/execution/mcp/types.d.ts +169 -0
  8. package/dist/_types/execution/mutation-contract.d.ts +102 -0
  9. package/dist/_types/execution/nol/artifacts.d.ts +39 -0
  10. package/dist/_types/execution/nol/checkpoint-edits.d.ts +98 -0
  11. package/dist/_types/execution/nol/distributions.d.ts +128 -0
  12. package/dist/_types/execution/nol/gguf-checkpoint-edits.d.ts +194 -0
  13. package/dist/_types/execution/nol/gguf-control-reader.d.ts +224 -0
  14. package/dist/_types/execution/nol/lora-exports.d.ts +129 -0
  15. package/dist/_types/execution/nol/neuronary.d.ts +212 -0
  16. package/dist/_types/execution/nol/pytorch-control-reader.d.ts +143 -0
  17. package/dist/_types/execution/nol/qwen35-head-sites.d.ts +61 -0
  18. package/dist/_types/execution/nol/worker-assets.d.ts +82 -0
  19. package/dist/_types/execution/nol/worker-protocol.d.ts +94 -0
  20. package/dist/_types/execution/page-content-source.d.ts +40 -0
  21. package/dist/_types/execution/rapid-computer-use/artifact-store.d.ts +21 -0
  22. package/dist/_types/execution/rapid-computer-use/contracts.d.ts +320 -0
  23. package/dist/_types/execution/rapid-computer-use/decision.d.ts +70 -0
  24. package/dist/_types/execution/rapid-computer-use/desktop-verification.d.ts +23 -0
  25. package/dist/_types/execution/rapid-computer-use/geometry.d.ts +57 -0
  26. package/dist/_types/execution/rapid-computer-use/planner.d.ts +78 -0
  27. package/dist/_types/execution/rapid-computer-use/trace.d.ts +80 -0
  28. package/dist/_types/execution/rapid-computer-use/visual.d.ts +48 -0
  29. package/dist/_types/execution/shell-runs.d.ts +78 -0
  30. package/dist/_types/execution/streamed-web-source.d.ts +64 -0
  31. package/dist/_types/execution/tools/browser-page-fallback.d.ts +25 -0
  32. package/dist/_types/execution/tools/network-egress-policy.d.ts +30 -0
  33. package/dist/_types/execution/tools/pdf-native-tables.d.ts +46 -0
  34. package/dist/_types/execution/tools/todo-store.d.ts +133 -0
  35. package/dist/_types/execution/tools/web-fetch.d.ts +57 -0
  36. package/dist/_types/execution/tools/workboard.d.ts +1223 -0
  37. package/dist/_types/execution/types.d.ts +549 -0
  38. package/dist/_types/execution/web-source.d.ts +14 -0
  39. package/dist/_types/memory/artifactReviewSourceIndex.d.ts +133 -0
  40. package/dist/_types/memory/contextMemoryLedger.d.ts +213 -0
  41. package/dist/_types/memory/db.d.ts +12 -0
  42. package/dist/_types/memory/embeddings.d.ts +36 -0
  43. package/dist/_types/memory/immutableEvidenceStore.d.ts +165 -0
  44. package/dist/_types/memory/memoryIngestion.d.ts +65 -0
  45. package/dist/_types/memory/memoryTypes.d.ts +312 -0
  46. package/dist/_types/memory/sourceCorpusStore.d.ts +331 -0
  47. package/dist/_types/memory/structuredMemoryStore.d.ts +105 -0
  48. package/dist/_types/memory/unifiedMemoryStore.d.ts +127 -0
  49. package/dist/_types/memory/virtualMemory.d.ts +187 -0
  50. package/dist/_types/orchestrator/agentic-page-content-receipt.d.ts +20 -0
  51. package/dist/_types/orchestrator/agentic-web-fetch-receipt.d.ts +20 -0
  52. package/dist/_types/orchestrator/agenticRunner.d.ts +5219 -0
  53. package/dist/_types/orchestrator/app-state.d.ts +171 -0
  54. package/dist/_types/orchestrator/artifactClaimCritic.d.ts +63 -0
  55. package/dist/_types/orchestrator/artifactQuality.d.ts +15 -0
  56. package/dist/_types/orchestrator/artifactSemanticIntegrity.d.ts +203 -0
  57. package/dist/_types/orchestrator/canonical-context-projection.d.ts +254 -0
  58. package/dist/_types/orchestrator/canonical-source-body-projection.d.ts +51 -0
  59. package/dist/_types/orchestrator/completion-review-pending.d.ts +24 -0
  60. package/dist/_types/orchestrator/completionContract.d.ts +103 -0
  61. package/dist/_types/orchestrator/completionFinalization.d.ts +224 -0
  62. package/dist/_types/orchestrator/completionLedger.d.ts +429 -0
  63. package/dist/_types/orchestrator/completionReadiness.d.ts +234 -0
  64. package/dist/_types/orchestrator/context-admission.d.ts +93 -0
  65. package/dist/_types/orchestrator/context-dump-retention.d.ts +25 -0
  66. package/dist/_types/orchestrator/context-fabric.d.ts +133 -0
  67. package/dist/_types/orchestrator/contextEngine.d.ts +68 -0
  68. package/dist/_types/orchestrator/contextWindowDump.d.ts +327 -0
  69. package/dist/_types/orchestrator/convergence-breaker.d.ts +225 -0
  70. package/dist/_types/orchestrator/convergence-progress.d.ts +66 -0
  71. package/dist/_types/orchestrator/deliveryCoverage.d.ts +181 -0
  72. package/dist/_types/orchestrator/document-persistence-goal-binding.d.ts +106 -0
  73. package/dist/_types/orchestrator/durable-document-worker.d.ts +85 -0
  74. package/dist/_types/orchestrator/evidenceBranch.d.ts +291 -0
  75. package/dist/_types/orchestrator/expected-inference-response.d.ts +55 -0
  76. package/dist/_types/orchestrator/expectedOutcomeContract.d.ts +58 -0
  77. package/dist/_types/orchestrator/failure-taxonomy.d.ts +36 -0
  78. package/dist/_types/orchestrator/focusSupervisor.d.ts +436 -0
  79. package/dist/_types/orchestrator/forced-update-requirement-recovery.d.ts +105 -0
  80. package/dist/_types/orchestrator/hooks.d.ts +100 -0
  81. package/dist/_types/orchestrator/inference-pressure.d.ts +61 -0
  82. package/dist/_types/orchestrator/integrationClosure.d.ts +89 -0
  83. package/dist/_types/orchestrator/interruption-lifecycle.d.ts +154 -0
  84. package/dist/_types/orchestrator/live-memory-passages.d.ts +51 -0
  85. package/dist/_types/orchestrator/liveVirtualContext.d.ts +84 -0
  86. package/dist/_types/orchestrator/memory-compiler.d.ts +254 -0
  87. package/dist/_types/orchestrator/memory-consolidation.d.ts +134 -0
  88. package/dist/_types/orchestrator/model-router.d.ts +17 -0
  89. package/dist/_types/orchestrator/modelResponseDiagnostics.d.ts +71 -0
  90. package/dist/_types/orchestrator/nativeRequirementAmendment.d.ts +63 -0
  91. package/dist/_types/orchestrator/nol/coordinator.d.ts +204 -0
  92. package/dist/_types/orchestrator/nol/datasets.d.ts +58 -0
  93. package/dist/_types/orchestrator/nol/discovery.d.ts +286 -0
  94. package/dist/_types/orchestrator/nol/evaluation.d.ts +59 -0
  95. package/dist/_types/orchestrator/nol/model-validation.d.ts +198 -0
  96. package/dist/_types/orchestrator/nol/statistics.d.ts +142 -0
  97. package/dist/_types/orchestrator/nol/store.d.ts +133 -0
  98. package/dist/_types/orchestrator/nol/variant-registry.d.ts +292 -0
  99. package/dist/_types/orchestrator/ollama-context-policy.d.ts +34 -0
  100. package/dist/_types/orchestrator/personality.d.ts +66 -0
  101. package/dist/_types/orchestrator/prompt-cache.d.ts +24 -0
  102. package/dist/_types/orchestrator/remote-inference-fallback.d.ts +224 -0
  103. package/dist/_types/orchestrator/remote-inference-policy.d.ts +58 -0
  104. package/dist/_types/orchestrator/request-budget.d.ts +75 -0
  105. package/dist/_types/orchestrator/requirementCoverage.d.ts +69 -0
  106. package/dist/_types/orchestrator/reviewedInterpretation.d.ts +111 -0
  107. package/dist/_types/orchestrator/runEvents.d.ts +115 -0
  108. package/dist/_types/orchestrator/runtime-rollout.d.ts +63 -0
  109. package/dist/_types/orchestrator/semanticVerification.d.ts +135 -0
  110. package/dist/_types/orchestrator/source-wide-extraction.d.ts +202 -0
  111. package/dist/_types/orchestrator/steeringIntake.d.ts +123 -0
  112. package/dist/_types/orchestrator/structured-memory-extraction-worker.d.ts +89 -0
  113. package/dist/_types/orchestrator/structuredMemoryInference.d.ts +62 -0
  114. package/dist/_types/orchestrator/successful-procedure-memory.d.ts +127 -0
  115. package/dist/_types/orchestrator/supportedAnswer.d.ts +68 -0
  116. package/dist/_types/orchestrator/taskEffectEvidence.d.ts +38 -0
  117. package/dist/_types/orchestrator/taskExecutionSnapshot.d.ts +67 -0
  118. package/dist/_types/orchestrator/taskObjective.d.ts +310 -0
  119. package/dist/_types/orchestrator/taskObjectiveContinuation.d.ts +134 -0
  120. package/dist/_types/orchestrator/taskRequirementReview.d.ts +246 -0
  121. package/dist/_types/orchestrator/taskRequirements.d.ts +80 -0
  122. package/dist/_types/orchestrator/taskSemanticAdmission.d.ts +159 -0
  123. package/dist/_types/orchestrator/taskWorkDelegation.d.ts +147 -0
  124. package/dist/_types/orchestrator/taskWorkPlan.d.ts +177 -0
  125. package/dist/_types/orchestrator/telegram-passive-history.d.ts +42 -0
  126. package/dist/_types/orchestrator/terminalTaskReport.d.ts +91 -0
  127. package/dist/_types/orchestrator/todoObservability.d.ts +147 -0
  128. package/dist/_types/orchestrator/tool-exposure-policy.d.ts +100 -0
  129. package/dist/_types/orchestrator/trajectory-checkpoint.d.ts +159 -0
  130. package/dist/_types/orchestrator/types.d.ts +185 -0
  131. package/dist/_types/schemas/dispatch.d.ts +53 -0
  132. package/dist/_types/schemas/feature-workflow.d.ts +362 -0
  133. package/dist/_types/schemas/messages.d.ts +15 -0
  134. package/dist/_types/schemas/nol-assets.d.ts +955 -0
  135. package/dist/_types/schemas/nol-json.d.ts +2 -0
  136. package/dist/_types/schemas/nol.d.ts +3995 -0
  137. package/dist/_types/schemas/patch.d.ts +47 -0
  138. package/dist/_types/schemas/plan.d.ts +47 -0
  139. package/dist/_types/schemas/repoProfile.d.ts +116 -0
  140. package/dist/_types/schemas/retrieval.d.ts +44 -0
  141. package/dist/_types/schemas/task.d.ts +57 -0
  142. package/dist/_types/schemas/tools.d.ts +16 -0
  143. package/dist/_types/schemas/verification.d.ts +31 -0
  144. package/dist/api/py-embed.js +3353 -1829
  145. package/dist/assets/nol-checkpoint-editor.py +701 -0
  146. package/dist/assets/nol-gguf-checkpoint-editor.py +785 -0
  147. package/dist/assets/nol-gguf-control-reader.py +428 -0
  148. package/dist/assets/nol-gne-tools-worker.py +425 -0
  149. package/dist/assets/nol-gne-worker.py +1081 -0
  150. package/dist/assets/nol-lora-exporter.py +349 -0
  151. package/dist/assets/nol-pytorch-control-reader.py +470 -0
  152. package/dist/assets/nol-transformers-nnsight-worker.py +512 -0
  153. package/dist/assets/nol-transformers-peft-validation-worker.py +385 -0
  154. package/dist/assets/nol-transformers-peft-worker.py +488 -0
  155. package/dist/assets/nol-transformers-research-worker.py +472 -0
  156. package/dist/assets/nol-transformers-worker.py +920 -0
  157. package/dist/assets/nol-vllm-owned-worker.py +803 -0
  158. package/dist/assets/nol-vllm-runtime.py +695 -0
  159. package/dist/assets/nol-vllm-tokenizer.py +93 -0
  160. package/dist/assets/nol-vllm-worker.py +201 -0
  161. package/dist/computer-use/configured-planner.d.ts +37 -0
  162. package/dist/computer-use/configured-point.d.ts +35 -0
  163. package/dist/computer-use/host-session.d.ts +60 -0
  164. package/dist/computer-use/runner-ui-port.d.ts +37 -0
  165. package/dist/computer-use/session-review.d.ts +14 -0
  166. package/dist/computer-use/task-spec.d.ts +84 -0
  167. package/dist/discovery.d.ts +16 -2
  168. package/dist/index.js +2 -2
  169. package/dist/library.d.ts +94 -10
  170. package/dist/library.js +144003 -87414
  171. package/dist/memory-maintenance-worker.js +1676 -511
  172. package/dist/nol/cpu-control-reader-profile.d.ts +93 -0
  173. package/dist/nol/cpu-control-reader-service.d.ts +87 -0
  174. package/dist/nol/cuda-lease.d.ts +111 -0
  175. package/dist/nol/cuda-mutations.d.ts +34 -0
  176. package/dist/nol/export-runtime-config.d.ts +114 -0
  177. package/dist/nol/export-service.d.ts +143 -0
  178. package/dist/nol/facade.d.ts +147 -0
  179. package/dist/nol/gguf-cpu-control-reader-profile.d.ts +106 -0
  180. package/dist/nol/gguf-cpu-control-reader-service.d.ts +91 -0
  181. package/dist/nol/gguf-model-control-verifier.d.ts +120 -0
  182. package/dist/nol/gguf-parameter-inventory.d.ts +28 -0
  183. package/dist/nol/gne-adapter.d.ts +134 -0
  184. package/dist/nol/gne-agent-evaluation.d.ts +84 -0
  185. package/dist/nol/gne-profile.d.ts +124 -0
  186. package/dist/nol/gne-tools-profile.d.ts +148 -0
  187. package/dist/nol/gne-tools-transport.d.ts +194 -0
  188. package/dist/nol/model-actions.d.ts +662 -0
  189. package/dist/nol/model-control-verifier.d.ts +135 -0
  190. package/dist/nol/model-json-scorer.d.ts +13 -0
  191. package/dist/nol/model-runtime-config.d.ts +830 -0
  192. package/dist/nol/model-serving.d.ts +130 -0
  193. package/dist/nol/model-subject-adapter.d.ts +72 -0
  194. package/dist/nol/model-validation-factory.d.ts +113 -0
  195. package/dist/nol/neuronary-catalog.d.ts +130 -0
  196. package/dist/nol/orphan-custody.d.ts +72 -0
  197. package/dist/nol/peft-conformance.d.ts +48 -0
  198. package/dist/nol/peft-control-types.d.ts +137 -0
  199. package/dist/nol/peft-control-verifier.d.ts +8 -0
  200. package/dist/nol/peft-model-actions.d.ts +41 -0
  201. package/dist/nol/peft-model-authority.d.ts +146 -0
  202. package/dist/nol/peft-model-controls.d.ts +20 -0
  203. package/dist/nol/peft-model-host.d.ts +47 -0
  204. package/dist/nol/peft-model-profile.d.ts +161 -0
  205. package/dist/nol/peft-model-runtime-config.d.ts +174 -0
  206. package/dist/nol/peft-model-subject-adapter.d.ts +36 -0
  207. package/dist/nol/peft-validation.d.ts +105 -0
  208. package/dist/nol/persistent-parameter-inventory.d.ts +32 -0
  209. package/dist/nol/runtime.d.ts +100 -0
  210. package/dist/nol/sqlite-store.d.ts +80 -0
  211. package/dist/nol/transformers-adapter.d.ts +119 -0
  212. package/dist/nol/transformers-nnsight.d.ts +87 -0
  213. package/dist/nol/transformers-peft.d.ts +107 -0
  214. package/dist/nol/transformers-research.d.ts +114 -0
  215. package/dist/nol/variant-service.d.ts +143 -0
  216. package/dist/nol/variant-store.d.ts +51 -0
  217. package/dist/nol/vllm-actions.d.ts +774 -0
  218. package/dist/nol/vllm-adapter.d.ts +1473 -0
  219. package/dist/nol/vllm-authority.d.ts +55 -0
  220. package/dist/nol/vllm-conformance.d.ts +662 -0
  221. package/dist/nol/vllm-profile.d.ts +850 -0
  222. package/dist/nol/vllm-protocol.d.ts +1505 -0
  223. package/dist/nol/vllm-runtime-config.d.ts +120 -0
  224. package/dist/nol/vllm-runtime.d.ts +34 -0
  225. package/dist/nol/vllm-startup.d.ts +235 -0
  226. package/dist/omni-setup-worker.js +3433 -1909
  227. package/dist/service-version.d.ts +0 -1
  228. package/dist/tui/async-process.d.ts +27 -0
  229. package/dist/tui/native/worker.js +3 -1
  230. package/dist/tui/telegram-action-session-registry.d.ts +136 -0
  231. package/dist/tui/telegram-cognition-queue.d.ts +154 -0
  232. package/dist/tui/telegram-context-packet-v2.d.ts +99 -0
  233. package/dist/tui/telegram-input-ownership.d.ts +78 -0
  234. package/dist/tui/telegram-turn-contract-v2.d.ts +62 -0
  235. package/dist/update-worker-runtime.js +4216 -2603
  236. package/docs/DISCOVERY.json +389 -0
  237. package/docs/DISCOVERY.md +4 -0
  238. package/npm-shrinkwrap.json +28 -12
  239. package/package.json +3 -2
@@ -0,0 +1,3995 @@
1
+ import { z } from "zod";
2
+ /** Runtime-validated NOL records. Parsing establishes structure, never issuer authority. */
3
+ export declare const NolSha256Schema: z.ZodString;
4
+ export type NolSha256 = z.infer<typeof NolSha256Schema>;
5
+ export declare const NolIdSchema: z.ZodString;
6
+ export declare const NolArtifactRefSchema: z.ZodObject<{
7
+ uri: z.ZodString;
8
+ sha256: z.ZodString;
9
+ sizeBytes: z.ZodNumber;
10
+ mediaType: z.ZodString;
11
+ }, z.core.$strict>;
12
+ export type NolArtifactRef = z.infer<typeof NolArtifactRefSchema>;
13
+ export declare const NolTensorArtifactSchema: z.ZodObject<{
14
+ artifact: z.ZodObject<{
15
+ uri: z.ZodString;
16
+ sha256: z.ZodString;
17
+ sizeBytes: z.ZodNumber;
18
+ mediaType: z.ZodString;
19
+ }, z.core.$strict>;
20
+ shape: z.ZodArray<z.ZodNumber>;
21
+ dtype: z.ZodEnum<{
22
+ f16: "f16";
23
+ bf16: "bf16";
24
+ f32: "f32";
25
+ f64: "f64";
26
+ i8: "i8";
27
+ i16: "i16";
28
+ i32: "i32";
29
+ i64: "i64";
30
+ u8: "u8";
31
+ bool: "bool";
32
+ quantized: "quantized";
33
+ }>;
34
+ }, z.core.$strict>;
35
+ export type NolTensorArtifact = z.infer<typeof NolTensorArtifactSchema>;
36
+ export declare const NolModelFormatSchema: z.ZodEnum<{
37
+ gguf: "gguf";
38
+ safetensors: "safetensors";
39
+ pytorch: "pytorch";
40
+ hf: "hf";
41
+ gguf_adapter: "gguf_adapter";
42
+ safetensors_adapter: "safetensors_adapter";
43
+ pytorch_adapter: "pytorch_adapter";
44
+ lora: "lora";
45
+ }>;
46
+ export type NolModelFormat = z.infer<typeof NolModelFormatSchema>;
47
+ export declare const NolTensorSiteKindSchema: z.ZodEnum<{
48
+ mlp_intermediate: "mlp_intermediate";
49
+ residual: "residual";
50
+ attention_head: "attention_head";
51
+ expert_output: "expert_output";
52
+ router_logits: "router_logits";
53
+ parameter: "parameter";
54
+ }>;
55
+ export declare const NolTensorSiteSchema: z.ZodDiscriminatedUnion<[
56
+ z.ZodObject<{
57
+ id: z.ZodString;
58
+ kind: z.ZodLiteral<"mlp_intermediate">;
59
+ layer: z.ZodNumber;
60
+ width: z.ZodNumber;
61
+ }, z.core.$strict>,
62
+ z.ZodObject<{
63
+ id: z.ZodString;
64
+ kind: z.ZodLiteral<"residual">;
65
+ layer: z.ZodNumber;
66
+ width: z.ZodNumber;
67
+ }, z.core.$strict>,
68
+ z.ZodObject<{
69
+ id: z.ZodString;
70
+ kind: z.ZodLiteral<"attention_head">;
71
+ layer: z.ZodNumber;
72
+ headCount: z.ZodNumber;
73
+ width: z.ZodNumber;
74
+ }, z.core.$strict>,
75
+ z.ZodObject<{
76
+ id: z.ZodString;
77
+ kind: z.ZodLiteral<"expert_output">;
78
+ layer: z.ZodNumber;
79
+ expertCount: z.ZodNumber;
80
+ width: z.ZodNumber;
81
+ }, z.core.$strict>,
82
+ z.ZodObject<{
83
+ id: z.ZodString;
84
+ kind: z.ZodLiteral<"router_logits">;
85
+ layer: z.ZodNumber;
86
+ expertCount: z.ZodNumber;
87
+ }, z.core.$strict>,
88
+ z.ZodObject<{
89
+ id: z.ZodString;
90
+ kind: z.ZodLiteral<"parameter">;
91
+ name: z.ZodString;
92
+ layer: z.ZodOptional<z.ZodNumber>;
93
+ shape: z.ZodArray<z.ZodNumber>;
94
+ dtype: z.ZodEnum<{
95
+ f16: "f16";
96
+ bf16: "bf16";
97
+ f32: "f32";
98
+ f64: "f64";
99
+ i8: "i8";
100
+ i16: "i16";
101
+ i32: "i32";
102
+ i64: "i64";
103
+ u8: "u8";
104
+ bool: "bool";
105
+ quantized: "quantized";
106
+ }>;
107
+ role: z.ZodEnum<{
108
+ ffn: "ffn";
109
+ attention: "attention";
110
+ embedding: "embedding";
111
+ router: "router";
112
+ bias: "bias";
113
+ norm: "norm";
114
+ other: "other";
115
+ }>;
116
+ }, z.core.$strict>
117
+ ], "kind">;
118
+ export type NolTensorSite = z.infer<typeof NolTensorSiteSchema>;
119
+ export declare const NolModelManifestSchema: z.ZodObject<{
120
+ schema: z.ZodLiteral<"omnius.nol.model.v1">;
121
+ id: z.ZodString;
122
+ modelDigest: z.ZodString;
123
+ format: z.ZodEnum<{
124
+ gguf: "gguf";
125
+ safetensors: "safetensors";
126
+ pytorch: "pytorch";
127
+ hf: "hf";
128
+ gguf_adapter: "gguf_adapter";
129
+ safetensors_adapter: "safetensors_adapter";
130
+ pytorch_adapter: "pytorch_adapter";
131
+ lora: "lora";
132
+ }>;
133
+ files: z.ZodArray<z.ZodObject<{
134
+ path: z.ZodString;
135
+ role: z.ZodEnum<{
136
+ weights: "weights";
137
+ other: "other";
138
+ tokenizer: "tokenizer";
139
+ config: "config";
140
+ chat_template: "chat_template";
141
+ adapter: "adapter";
142
+ }>;
143
+ artifact: z.ZodObject<{
144
+ uri: z.ZodString;
145
+ sha256: z.ZodString;
146
+ sizeBytes: z.ZodNumber;
147
+ mediaType: z.ZodString;
148
+ }, z.core.$strict>;
149
+ }, z.core.$strict>>;
150
+ parents: z.ZodArray<z.ZodObject<{
151
+ modelDigest: z.ZodString;
152
+ revision: z.ZodOptional<z.ZodString>;
153
+ }, z.core.$strict>>;
154
+ architecture: z.ZodObject<{
155
+ family: z.ZodString;
156
+ layers: z.ZodNumber;
157
+ hiddenSize: z.ZodNumber;
158
+ }, z.core.$strict>;
159
+ architectureMapDigest: z.ZodString;
160
+ tensorSites: z.ZodArray<z.ZodDiscriminatedUnion<[
161
+ z.ZodObject<{
162
+ id: z.ZodString;
163
+ kind: z.ZodLiteral<"mlp_intermediate">;
164
+ layer: z.ZodNumber;
165
+ width: z.ZodNumber;
166
+ }, z.core.$strict>,
167
+ z.ZodObject<{
168
+ id: z.ZodString;
169
+ kind: z.ZodLiteral<"residual">;
170
+ layer: z.ZodNumber;
171
+ width: z.ZodNumber;
172
+ }, z.core.$strict>,
173
+ z.ZodObject<{
174
+ id: z.ZodString;
175
+ kind: z.ZodLiteral<"attention_head">;
176
+ layer: z.ZodNumber;
177
+ headCount: z.ZodNumber;
178
+ width: z.ZodNumber;
179
+ }, z.core.$strict>,
180
+ z.ZodObject<{
181
+ id: z.ZodString;
182
+ kind: z.ZodLiteral<"expert_output">;
183
+ layer: z.ZodNumber;
184
+ expertCount: z.ZodNumber;
185
+ width: z.ZodNumber;
186
+ }, z.core.$strict>,
187
+ z.ZodObject<{
188
+ id: z.ZodString;
189
+ kind: z.ZodLiteral<"router_logits">;
190
+ layer: z.ZodNumber;
191
+ expertCount: z.ZodNumber;
192
+ }, z.core.$strict>,
193
+ z.ZodObject<{
194
+ id: z.ZodString;
195
+ kind: z.ZodLiteral<"parameter">;
196
+ name: z.ZodString;
197
+ layer: z.ZodOptional<z.ZodNumber>;
198
+ shape: z.ZodArray<z.ZodNumber>;
199
+ dtype: z.ZodEnum<{
200
+ f16: "f16";
201
+ bf16: "bf16";
202
+ f32: "f32";
203
+ f64: "f64";
204
+ i8: "i8";
205
+ i16: "i16";
206
+ i32: "i32";
207
+ i64: "i64";
208
+ u8: "u8";
209
+ bool: "bool";
210
+ quantized: "quantized";
211
+ }>;
212
+ role: z.ZodEnum<{
213
+ ffn: "ffn";
214
+ attention: "attention";
215
+ embedding: "embedding";
216
+ router: "router";
217
+ bias: "bias";
218
+ norm: "norm";
219
+ other: "other";
220
+ }>;
221
+ }, z.core.$strict>
222
+ ], "kind">>;
223
+ quantization: z.ZodObject<{
224
+ method: z.ZodString;
225
+ bits: z.ZodOptional<z.ZodNumber>;
226
+ groupSize: z.ZodOptional<z.ZodNumber>;
227
+ configDigest: z.ZodOptional<z.ZodString>;
228
+ }, z.core.$strict>;
229
+ tokenizerDigest: z.ZodString;
230
+ specialTokens: z.ZodRecord<z.ZodString, z.ZodNumber>;
231
+ chatTemplateDigest: z.ZodString;
232
+ contextLength: z.ZodNumber;
233
+ }, z.core.$strict>;
234
+ export type NolModelManifest = z.infer<typeof NolModelManifestSchema>;
235
+ export declare const NolRuntimeBindingSchema: z.ZodObject<{
236
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
237
+ id: z.ZodString;
238
+ backend: z.ZodEnum<{
239
+ other: "other";
240
+ gne: "gne";
241
+ llama_cpp: "llama_cpp";
242
+ transformers: "transformers";
243
+ nnsight: "nnsight";
244
+ ollama: "ollama";
245
+ vllm: "vllm";
246
+ }>;
247
+ modelDigest: z.ZodString;
248
+ architectureMapDigest: z.ZodString;
249
+ runtimeBuildDigest: z.ZodString;
250
+ dependencyLockDigest: z.ZodString;
251
+ tokenizerDigest: z.ZodString;
252
+ chatTemplateDigest: z.ZodString;
253
+ contextLimit: z.ZodNumber;
254
+ }, z.core.$strict>;
255
+ export type NolRuntimeBinding = z.infer<typeof NolRuntimeBindingSchema>;
256
+ export declare const NolCalibrationSchema: z.ZodObject<{
257
+ schema: z.ZodLiteral<"omnius.nol.calibration.v1">;
258
+ id: z.ZodString;
259
+ modelDigest: z.ZodString;
260
+ architectureMapDigest: z.ZodString;
261
+ units: z.ZodEnum<{
262
+ raw: "raw";
263
+ residual_norm: "residual_norm";
264
+ activation_std: "activation_std";
265
+ }>;
266
+ definitionDigest: z.ZodString;
267
+ corpusDigest: z.ZodOptional<z.ZodString>;
268
+ tokenPositionsDigest: z.ZodOptional<z.ZodString>;
269
+ statistics: z.ZodOptional<z.ZodObject<{
270
+ uri: z.ZodString;
271
+ sha256: z.ZodString;
272
+ sizeBytes: z.ZodNumber;
273
+ mediaType: z.ZodString;
274
+ }, z.core.$strict>>;
275
+ siteScales: z.ZodArray<z.ZodObject<{
276
+ siteId: z.ZodString;
277
+ scale: z.ZodNumber;
278
+ }, z.core.$strict>>;
279
+ }, z.core.$strict>;
280
+ export type NolCalibration = z.infer<typeof NolCalibrationSchema>;
281
+ /** Indices name edited model-computation positions, not sampled output-token indices. */
282
+ export declare const NolTokenScopeSchema: z.ZodDiscriminatedUnion<[
283
+ z.ZodObject<{
284
+ kind: z.ZodLiteral<"all">;
285
+ }, z.core.$strict>,
286
+ z.ZodObject<{
287
+ kind: z.ZodLiteral<"prompt">;
288
+ }, z.core.$strict>,
289
+ z.ZodObject<{
290
+ kind: z.ZodLiteral<"generated">;
291
+ }, z.core.$strict>,
292
+ z.ZodObject<{
293
+ kind: z.ZodLiteral<"positions">;
294
+ positions: z.ZodArray<z.ZodNumber>;
295
+ }, z.core.$strict>
296
+ ], "kind">;
297
+ export type NolTokenScope = z.infer<typeof NolTokenScopeSchema>;
298
+ export declare const NOL_OPERATIONS: readonly [
299
+ "NEURON_ADD",
300
+ "NEURON_GAIN",
301
+ "NEURON_REPLACE",
302
+ "RESIDUAL_ADD",
303
+ "DIRECTION_PROJECT",
304
+ "ATTENTION_HEAD_GAIN",
305
+ "EXPERT_GAIN",
306
+ "EXPERT_ROUTING_BIAS",
307
+ "WEIGHT_ADD",
308
+ "WEIGHT_GAIN",
309
+ "WEIGHT_REPLACE",
310
+ "WEIGHT_PROJECT",
311
+ "LOW_RANK_UPDATE",
312
+ "WEIGHT_MERGE"
313
+ ];
314
+ export declare const NolOperationKindSchema: z.ZodEnum<{
315
+ NEURON_ADD: "NEURON_ADD";
316
+ NEURON_GAIN: "NEURON_GAIN";
317
+ NEURON_REPLACE: "NEURON_REPLACE";
318
+ RESIDUAL_ADD: "RESIDUAL_ADD";
319
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
320
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
321
+ EXPERT_GAIN: "EXPERT_GAIN";
322
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
323
+ WEIGHT_ADD: "WEIGHT_ADD";
324
+ WEIGHT_GAIN: "WEIGHT_GAIN";
325
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
326
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
327
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
328
+ WEIGHT_MERGE: "WEIGHT_MERGE";
329
+ }>;
330
+ export type NolOperationKind = z.infer<typeof NolOperationKindSchema>;
331
+ export declare const NolOperationSchema: z.ZodDiscriminatedUnion<[
332
+ z.ZodObject<{
333
+ units: z.ZodEnum<{
334
+ raw: "raw";
335
+ residual_norm: "residual_norm";
336
+ activation_std: "activation_std";
337
+ }>;
338
+ calibrationId: z.ZodOptional<z.ZodString>;
339
+ operation: z.ZodLiteral<"NEURON_ADD">;
340
+ neuron: z.ZodNumber;
341
+ amount: z.ZodNumber;
342
+ id: z.ZodString;
343
+ siteId: z.ZodString;
344
+ tokenScope: z.ZodDiscriminatedUnion<[
345
+ z.ZodObject<{
346
+ kind: z.ZodLiteral<"all">;
347
+ }, z.core.$strict>,
348
+ z.ZodObject<{
349
+ kind: z.ZodLiteral<"prompt">;
350
+ }, z.core.$strict>,
351
+ z.ZodObject<{
352
+ kind: z.ZodLiteral<"generated">;
353
+ }, z.core.$strict>,
354
+ z.ZodObject<{
355
+ kind: z.ZodLiteral<"positions">;
356
+ positions: z.ZodArray<z.ZodNumber>;
357
+ }, z.core.$strict>
358
+ ], "kind">;
359
+ }, z.core.$strict>,
360
+ z.ZodObject<{
361
+ operation: z.ZodLiteral<"NEURON_GAIN">;
362
+ neuron: z.ZodNumber;
363
+ factor: z.ZodNumber;
364
+ id: z.ZodString;
365
+ siteId: z.ZodString;
366
+ tokenScope: z.ZodDiscriminatedUnion<[
367
+ z.ZodObject<{
368
+ kind: z.ZodLiteral<"all">;
369
+ }, z.core.$strict>,
370
+ z.ZodObject<{
371
+ kind: z.ZodLiteral<"prompt">;
372
+ }, z.core.$strict>,
373
+ z.ZodObject<{
374
+ kind: z.ZodLiteral<"generated">;
375
+ }, z.core.$strict>,
376
+ z.ZodObject<{
377
+ kind: z.ZodLiteral<"positions">;
378
+ positions: z.ZodArray<z.ZodNumber>;
379
+ }, z.core.$strict>
380
+ ], "kind">;
381
+ }, z.core.$strict>,
382
+ z.ZodObject<{
383
+ units: z.ZodEnum<{
384
+ raw: "raw";
385
+ residual_norm: "residual_norm";
386
+ activation_std: "activation_std";
387
+ }>;
388
+ calibrationId: z.ZodOptional<z.ZodString>;
389
+ operation: z.ZodLiteral<"NEURON_REPLACE">;
390
+ neuron: z.ZodNumber;
391
+ replacement: z.ZodDiscriminatedUnion<[
392
+ z.ZodObject<{
393
+ kind: z.ZodLiteral<"scalar">;
394
+ value: z.ZodNumber;
395
+ }, z.core.$strict>,
396
+ z.ZodObject<{
397
+ kind: z.ZodLiteral<"tensor">;
398
+ tensor: z.ZodObject<{
399
+ artifact: z.ZodObject<{
400
+ uri: z.ZodString;
401
+ sha256: z.ZodString;
402
+ sizeBytes: z.ZodNumber;
403
+ mediaType: z.ZodString;
404
+ }, z.core.$strict>;
405
+ shape: z.ZodArray<z.ZodNumber>;
406
+ dtype: z.ZodEnum<{
407
+ f16: "f16";
408
+ bf16: "bf16";
409
+ f32: "f32";
410
+ f64: "f64";
411
+ i8: "i8";
412
+ i16: "i16";
413
+ i32: "i32";
414
+ i64: "i64";
415
+ u8: "u8";
416
+ bool: "bool";
417
+ quantized: "quantized";
418
+ }>;
419
+ }, z.core.$strict>;
420
+ }, z.core.$strict>
421
+ ], "kind">;
422
+ id: z.ZodString;
423
+ siteId: z.ZodString;
424
+ tokenScope: z.ZodDiscriminatedUnion<[
425
+ z.ZodObject<{
426
+ kind: z.ZodLiteral<"all">;
427
+ }, z.core.$strict>,
428
+ z.ZodObject<{
429
+ kind: z.ZodLiteral<"prompt">;
430
+ }, z.core.$strict>,
431
+ z.ZodObject<{
432
+ kind: z.ZodLiteral<"generated">;
433
+ }, z.core.$strict>,
434
+ z.ZodObject<{
435
+ kind: z.ZodLiteral<"positions">;
436
+ positions: z.ZodArray<z.ZodNumber>;
437
+ }, z.core.$strict>
438
+ ], "kind">;
439
+ }, z.core.$strict>,
440
+ z.ZodObject<{
441
+ units: z.ZodEnum<{
442
+ raw: "raw";
443
+ residual_norm: "residual_norm";
444
+ activation_std: "activation_std";
445
+ }>;
446
+ calibrationId: z.ZodOptional<z.ZodString>;
447
+ operation: z.ZodLiteral<"RESIDUAL_ADD">;
448
+ vector: z.ZodObject<{
449
+ artifact: z.ZodObject<{
450
+ uri: z.ZodString;
451
+ sha256: z.ZodString;
452
+ sizeBytes: z.ZodNumber;
453
+ mediaType: z.ZodString;
454
+ }, z.core.$strict>;
455
+ shape: z.ZodArray<z.ZodNumber>;
456
+ dtype: z.ZodEnum<{
457
+ f16: "f16";
458
+ bf16: "bf16";
459
+ f32: "f32";
460
+ f64: "f64";
461
+ i8: "i8";
462
+ i16: "i16";
463
+ i32: "i32";
464
+ i64: "i64";
465
+ u8: "u8";
466
+ bool: "bool";
467
+ quantized: "quantized";
468
+ }>;
469
+ }, z.core.$strict>;
470
+ scale: z.ZodNumber;
471
+ id: z.ZodString;
472
+ siteId: z.ZodString;
473
+ tokenScope: z.ZodDiscriminatedUnion<[
474
+ z.ZodObject<{
475
+ kind: z.ZodLiteral<"all">;
476
+ }, z.core.$strict>,
477
+ z.ZodObject<{
478
+ kind: z.ZodLiteral<"prompt">;
479
+ }, z.core.$strict>,
480
+ z.ZodObject<{
481
+ kind: z.ZodLiteral<"generated">;
482
+ }, z.core.$strict>,
483
+ z.ZodObject<{
484
+ kind: z.ZodLiteral<"positions">;
485
+ positions: z.ZodArray<z.ZodNumber>;
486
+ }, z.core.$strict>
487
+ ], "kind">;
488
+ }, z.core.$strict>,
489
+ z.ZodObject<{
490
+ operation: z.ZodLiteral<"DIRECTION_PROJECT">;
491
+ basis: z.ZodObject<{
492
+ artifact: z.ZodObject<{
493
+ uri: z.ZodString;
494
+ sha256: z.ZodString;
495
+ sizeBytes: z.ZodNumber;
496
+ mediaType: z.ZodString;
497
+ }, z.core.$strict>;
498
+ shape: z.ZodArray<z.ZodNumber>;
499
+ dtype: z.ZodEnum<{
500
+ f16: "f16";
501
+ bf16: "bf16";
502
+ f32: "f32";
503
+ f64: "f64";
504
+ i8: "i8";
505
+ i16: "i16";
506
+ i32: "i32";
507
+ i64: "i64";
508
+ u8: "u8";
509
+ bool: "bool";
510
+ quantized: "quantized";
511
+ }>;
512
+ }, z.core.$strict>;
513
+ strength: z.ZodNumber;
514
+ normalization: z.ZodLiteral<"orthonormal">;
515
+ id: z.ZodString;
516
+ siteId: z.ZodString;
517
+ tokenScope: z.ZodDiscriminatedUnion<[
518
+ z.ZodObject<{
519
+ kind: z.ZodLiteral<"all">;
520
+ }, z.core.$strict>,
521
+ z.ZodObject<{
522
+ kind: z.ZodLiteral<"prompt">;
523
+ }, z.core.$strict>,
524
+ z.ZodObject<{
525
+ kind: z.ZodLiteral<"generated">;
526
+ }, z.core.$strict>,
527
+ z.ZodObject<{
528
+ kind: z.ZodLiteral<"positions">;
529
+ positions: z.ZodArray<z.ZodNumber>;
530
+ }, z.core.$strict>
531
+ ], "kind">;
532
+ }, z.core.$strict>,
533
+ z.ZodObject<{
534
+ operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">;
535
+ head: z.ZodNumber;
536
+ factor: z.ZodNumber;
537
+ id: z.ZodString;
538
+ siteId: z.ZodString;
539
+ tokenScope: z.ZodDiscriminatedUnion<[
540
+ z.ZodObject<{
541
+ kind: z.ZodLiteral<"all">;
542
+ }, z.core.$strict>,
543
+ z.ZodObject<{
544
+ kind: z.ZodLiteral<"prompt">;
545
+ }, z.core.$strict>,
546
+ z.ZodObject<{
547
+ kind: z.ZodLiteral<"generated">;
548
+ }, z.core.$strict>,
549
+ z.ZodObject<{
550
+ kind: z.ZodLiteral<"positions">;
551
+ positions: z.ZodArray<z.ZodNumber>;
552
+ }, z.core.$strict>
553
+ ], "kind">;
554
+ }, z.core.$strict>,
555
+ z.ZodObject<{
556
+ operation: z.ZodLiteral<"EXPERT_GAIN">;
557
+ expert: z.ZodNumber;
558
+ factor: z.ZodNumber;
559
+ id: z.ZodString;
560
+ siteId: z.ZodString;
561
+ tokenScope: z.ZodDiscriminatedUnion<[
562
+ z.ZodObject<{
563
+ kind: z.ZodLiteral<"all">;
564
+ }, z.core.$strict>,
565
+ z.ZodObject<{
566
+ kind: z.ZodLiteral<"prompt">;
567
+ }, z.core.$strict>,
568
+ z.ZodObject<{
569
+ kind: z.ZodLiteral<"generated">;
570
+ }, z.core.$strict>,
571
+ z.ZodObject<{
572
+ kind: z.ZodLiteral<"positions">;
573
+ positions: z.ZodArray<z.ZodNumber>;
574
+ }, z.core.$strict>
575
+ ], "kind">;
576
+ }, z.core.$strict>,
577
+ z.ZodObject<{
578
+ units: z.ZodEnum<{
579
+ raw: "raw";
580
+ residual_norm: "residual_norm";
581
+ activation_std: "activation_std";
582
+ }>;
583
+ calibrationId: z.ZodOptional<z.ZodString>;
584
+ operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">;
585
+ expert: z.ZodNumber;
586
+ amount: z.ZodNumber;
587
+ id: z.ZodString;
588
+ siteId: z.ZodString;
589
+ tokenScope: z.ZodDiscriminatedUnion<[
590
+ z.ZodObject<{
591
+ kind: z.ZodLiteral<"all">;
592
+ }, z.core.$strict>,
593
+ z.ZodObject<{
594
+ kind: z.ZodLiteral<"prompt">;
595
+ }, z.core.$strict>,
596
+ z.ZodObject<{
597
+ kind: z.ZodLiteral<"generated">;
598
+ }, z.core.$strict>,
599
+ z.ZodObject<{
600
+ kind: z.ZodLiteral<"positions">;
601
+ positions: z.ZodArray<z.ZodNumber>;
602
+ }, z.core.$strict>
603
+ ], "kind">;
604
+ }, z.core.$strict>,
605
+ z.ZodObject<{
606
+ operation: z.ZodLiteral<"WEIGHT_ADD">;
607
+ delta: z.ZodDiscriminatedUnion<[
608
+ z.ZodObject<{
609
+ kind: z.ZodLiteral<"scalar">;
610
+ value: z.ZodNumber;
611
+ }, z.core.$strict>,
612
+ z.ZodObject<{
613
+ kind: z.ZodLiteral<"tensor">;
614
+ tensor: z.ZodObject<{
615
+ artifact: z.ZodObject<{
616
+ uri: z.ZodString;
617
+ sha256: z.ZodString;
618
+ sizeBytes: z.ZodNumber;
619
+ mediaType: z.ZodString;
620
+ }, z.core.$strict>;
621
+ shape: z.ZodArray<z.ZodNumber>;
622
+ dtype: z.ZodEnum<{
623
+ f16: "f16";
624
+ bf16: "bf16";
625
+ f32: "f32";
626
+ f64: "f64";
627
+ i8: "i8";
628
+ i16: "i16";
629
+ i32: "i32";
630
+ i64: "i64";
631
+ u8: "u8";
632
+ bool: "bool";
633
+ quantized: "quantized";
634
+ }>;
635
+ }, z.core.$strict>;
636
+ }, z.core.$strict>
637
+ ], "kind">;
638
+ id: z.ZodString;
639
+ siteId: z.ZodString;
640
+ tokenScope: z.ZodDiscriminatedUnion<[
641
+ z.ZodObject<{
642
+ kind: z.ZodLiteral<"all">;
643
+ }, z.core.$strict>,
644
+ z.ZodObject<{
645
+ kind: z.ZodLiteral<"prompt">;
646
+ }, z.core.$strict>,
647
+ z.ZodObject<{
648
+ kind: z.ZodLiteral<"generated">;
649
+ }, z.core.$strict>,
650
+ z.ZodObject<{
651
+ kind: z.ZodLiteral<"positions">;
652
+ positions: z.ZodArray<z.ZodNumber>;
653
+ }, z.core.$strict>
654
+ ], "kind">;
655
+ }, z.core.$strict>,
656
+ z.ZodObject<{
657
+ operation: z.ZodLiteral<"WEIGHT_GAIN">;
658
+ gain: z.ZodDiscriminatedUnion<[
659
+ z.ZodObject<{
660
+ kind: z.ZodLiteral<"scalar">;
661
+ factor: z.ZodNumber;
662
+ }, z.core.$strict>,
663
+ z.ZodObject<{
664
+ kind: z.ZodLiteral<"axis">;
665
+ axis: z.ZodNumber;
666
+ factors: z.ZodObject<{
667
+ artifact: z.ZodObject<{
668
+ uri: z.ZodString;
669
+ sha256: z.ZodString;
670
+ sizeBytes: z.ZodNumber;
671
+ mediaType: z.ZodString;
672
+ }, z.core.$strict>;
673
+ shape: z.ZodArray<z.ZodNumber>;
674
+ dtype: z.ZodEnum<{
675
+ f16: "f16";
676
+ bf16: "bf16";
677
+ f32: "f32";
678
+ f64: "f64";
679
+ i8: "i8";
680
+ i16: "i16";
681
+ i32: "i32";
682
+ i64: "i64";
683
+ u8: "u8";
684
+ bool: "bool";
685
+ quantized: "quantized";
686
+ }>;
687
+ }, z.core.$strict>;
688
+ }, z.core.$strict>
689
+ ], "kind">;
690
+ id: z.ZodString;
691
+ siteId: z.ZodString;
692
+ tokenScope: z.ZodDiscriminatedUnion<[
693
+ z.ZodObject<{
694
+ kind: z.ZodLiteral<"all">;
695
+ }, z.core.$strict>,
696
+ z.ZodObject<{
697
+ kind: z.ZodLiteral<"prompt">;
698
+ }, z.core.$strict>,
699
+ z.ZodObject<{
700
+ kind: z.ZodLiteral<"generated">;
701
+ }, z.core.$strict>,
702
+ z.ZodObject<{
703
+ kind: z.ZodLiteral<"positions">;
704
+ positions: z.ZodArray<z.ZodNumber>;
705
+ }, z.core.$strict>
706
+ ], "kind">;
707
+ }, z.core.$strict>,
708
+ z.ZodObject<{
709
+ operation: z.ZodLiteral<"WEIGHT_REPLACE">;
710
+ replacement: z.ZodObject<{
711
+ artifact: z.ZodObject<{
712
+ uri: z.ZodString;
713
+ sha256: z.ZodString;
714
+ sizeBytes: z.ZodNumber;
715
+ mediaType: z.ZodString;
716
+ }, z.core.$strict>;
717
+ shape: z.ZodArray<z.ZodNumber>;
718
+ dtype: z.ZodEnum<{
719
+ f16: "f16";
720
+ bf16: "bf16";
721
+ f32: "f32";
722
+ f64: "f64";
723
+ i8: "i8";
724
+ i16: "i16";
725
+ i32: "i32";
726
+ i64: "i64";
727
+ u8: "u8";
728
+ bool: "bool";
729
+ quantized: "quantized";
730
+ }>;
731
+ }, z.core.$strict>;
732
+ id: z.ZodString;
733
+ siteId: z.ZodString;
734
+ tokenScope: z.ZodDiscriminatedUnion<[
735
+ z.ZodObject<{
736
+ kind: z.ZodLiteral<"all">;
737
+ }, z.core.$strict>,
738
+ z.ZodObject<{
739
+ kind: z.ZodLiteral<"prompt">;
740
+ }, z.core.$strict>,
741
+ z.ZodObject<{
742
+ kind: z.ZodLiteral<"generated">;
743
+ }, z.core.$strict>,
744
+ z.ZodObject<{
745
+ kind: z.ZodLiteral<"positions">;
746
+ positions: z.ZodArray<z.ZodNumber>;
747
+ }, z.core.$strict>
748
+ ], "kind">;
749
+ }, z.core.$strict>,
750
+ z.ZodObject<{
751
+ operation: z.ZodLiteral<"WEIGHT_PROJECT">;
752
+ side: z.ZodEnum<{
753
+ left: "left";
754
+ right: "right";
755
+ }>;
756
+ basis: z.ZodObject<{
757
+ artifact: z.ZodObject<{
758
+ uri: z.ZodString;
759
+ sha256: z.ZodString;
760
+ sizeBytes: z.ZodNumber;
761
+ mediaType: z.ZodString;
762
+ }, z.core.$strict>;
763
+ shape: z.ZodArray<z.ZodNumber>;
764
+ dtype: z.ZodEnum<{
765
+ f16: "f16";
766
+ bf16: "bf16";
767
+ f32: "f32";
768
+ f64: "f64";
769
+ i8: "i8";
770
+ i16: "i16";
771
+ i32: "i32";
772
+ i64: "i64";
773
+ u8: "u8";
774
+ bool: "bool";
775
+ quantized: "quantized";
776
+ }>;
777
+ }, z.core.$strict>;
778
+ strength: z.ZodNumber;
779
+ normalization: z.ZodLiteral<"orthonormal">;
780
+ id: z.ZodString;
781
+ siteId: z.ZodString;
782
+ tokenScope: z.ZodDiscriminatedUnion<[
783
+ z.ZodObject<{
784
+ kind: z.ZodLiteral<"all">;
785
+ }, z.core.$strict>,
786
+ z.ZodObject<{
787
+ kind: z.ZodLiteral<"prompt">;
788
+ }, z.core.$strict>,
789
+ z.ZodObject<{
790
+ kind: z.ZodLiteral<"generated">;
791
+ }, z.core.$strict>,
792
+ z.ZodObject<{
793
+ kind: z.ZodLiteral<"positions">;
794
+ positions: z.ZodArray<z.ZodNumber>;
795
+ }, z.core.$strict>
796
+ ], "kind">;
797
+ }, z.core.$strict>,
798
+ z.ZodObject<{
799
+ operation: z.ZodLiteral<"LOW_RANK_UPDATE">;
800
+ a: z.ZodObject<{
801
+ artifact: z.ZodObject<{
802
+ uri: z.ZodString;
803
+ sha256: z.ZodString;
804
+ sizeBytes: z.ZodNumber;
805
+ mediaType: z.ZodString;
806
+ }, z.core.$strict>;
807
+ shape: z.ZodArray<z.ZodNumber>;
808
+ dtype: z.ZodEnum<{
809
+ f16: "f16";
810
+ bf16: "bf16";
811
+ f32: "f32";
812
+ f64: "f64";
813
+ i8: "i8";
814
+ i16: "i16";
815
+ i32: "i32";
816
+ i64: "i64";
817
+ u8: "u8";
818
+ bool: "bool";
819
+ quantized: "quantized";
820
+ }>;
821
+ }, z.core.$strict>;
822
+ b: z.ZodObject<{
823
+ artifact: z.ZodObject<{
824
+ uri: z.ZodString;
825
+ sha256: z.ZodString;
826
+ sizeBytes: z.ZodNumber;
827
+ mediaType: z.ZodString;
828
+ }, z.core.$strict>;
829
+ shape: z.ZodArray<z.ZodNumber>;
830
+ dtype: z.ZodEnum<{
831
+ f16: "f16";
832
+ bf16: "bf16";
833
+ f32: "f32";
834
+ f64: "f64";
835
+ i8: "i8";
836
+ i16: "i16";
837
+ i32: "i32";
838
+ i64: "i64";
839
+ u8: "u8";
840
+ bool: "bool";
841
+ quantized: "quantized";
842
+ }>;
843
+ }, z.core.$strict>;
844
+ rank: z.ZodNumber;
845
+ alpha: z.ZodNumber;
846
+ scale: z.ZodNumber;
847
+ scaling: z.ZodLiteral<"alpha_over_rank">;
848
+ id: z.ZodString;
849
+ siteId: z.ZodString;
850
+ tokenScope: z.ZodDiscriminatedUnion<[
851
+ z.ZodObject<{
852
+ kind: z.ZodLiteral<"all">;
853
+ }, z.core.$strict>,
854
+ z.ZodObject<{
855
+ kind: z.ZodLiteral<"prompt">;
856
+ }, z.core.$strict>,
857
+ z.ZodObject<{
858
+ kind: z.ZodLiteral<"generated">;
859
+ }, z.core.$strict>,
860
+ z.ZodObject<{
861
+ kind: z.ZodLiteral<"positions">;
862
+ positions: z.ZodArray<z.ZodNumber>;
863
+ }, z.core.$strict>
864
+ ], "kind">;
865
+ }, z.core.$strict>,
866
+ z.ZodObject<{
867
+ operation: z.ZodLiteral<"WEIGHT_MERGE">;
868
+ sources: z.ZodArray<z.ZodObject<{
869
+ modelDigest: z.ZodString;
870
+ siteId: z.ZodString;
871
+ weight: z.ZodNumber;
872
+ }, z.core.$strict>>;
873
+ id: z.ZodString;
874
+ siteId: z.ZodString;
875
+ tokenScope: z.ZodDiscriminatedUnion<[
876
+ z.ZodObject<{
877
+ kind: z.ZodLiteral<"all">;
878
+ }, z.core.$strict>,
879
+ z.ZodObject<{
880
+ kind: z.ZodLiteral<"prompt">;
881
+ }, z.core.$strict>,
882
+ z.ZodObject<{
883
+ kind: z.ZodLiteral<"generated">;
884
+ }, z.core.$strict>,
885
+ z.ZodObject<{
886
+ kind: z.ZodLiteral<"positions">;
887
+ positions: z.ZodArray<z.ZodNumber>;
888
+ }, z.core.$strict>
889
+ ], "kind">;
890
+ }, z.core.$strict>
891
+ ], "operation">;
892
+ export type NolOperation = z.infer<typeof NolOperationSchema>;
893
+ export declare const NolRecipeRevisionSchema: z.ZodObject<{
894
+ schema: z.ZodLiteral<"omnius.nol.recipe.v1">;
895
+ id: z.ZodString;
896
+ revision: z.ZodNumber;
897
+ recipeDigest: z.ZodString;
898
+ modelDigest: z.ZodString;
899
+ architectureMapDigest: z.ZodString;
900
+ approximateLoweringAcknowledged: z.ZodOptional<z.ZodLiteral<true>>;
901
+ parentModelDigests: z.ZodArray<z.ZodString>;
902
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[
903
+ z.ZodObject<{
904
+ units: z.ZodEnum<{
905
+ raw: "raw";
906
+ residual_norm: "residual_norm";
907
+ activation_std: "activation_std";
908
+ }>;
909
+ calibrationId: z.ZodOptional<z.ZodString>;
910
+ operation: z.ZodLiteral<"NEURON_ADD">;
911
+ neuron: z.ZodNumber;
912
+ amount: z.ZodNumber;
913
+ id: z.ZodString;
914
+ siteId: z.ZodString;
915
+ tokenScope: z.ZodDiscriminatedUnion<[
916
+ z.ZodObject<{
917
+ kind: z.ZodLiteral<"all">;
918
+ }, z.core.$strict>,
919
+ z.ZodObject<{
920
+ kind: z.ZodLiteral<"prompt">;
921
+ }, z.core.$strict>,
922
+ z.ZodObject<{
923
+ kind: z.ZodLiteral<"generated">;
924
+ }, z.core.$strict>,
925
+ z.ZodObject<{
926
+ kind: z.ZodLiteral<"positions">;
927
+ positions: z.ZodArray<z.ZodNumber>;
928
+ }, z.core.$strict>
929
+ ], "kind">;
930
+ }, z.core.$strict>,
931
+ z.ZodObject<{
932
+ operation: z.ZodLiteral<"NEURON_GAIN">;
933
+ neuron: z.ZodNumber;
934
+ factor: z.ZodNumber;
935
+ id: z.ZodString;
936
+ siteId: z.ZodString;
937
+ tokenScope: z.ZodDiscriminatedUnion<[
938
+ z.ZodObject<{
939
+ kind: z.ZodLiteral<"all">;
940
+ }, z.core.$strict>,
941
+ z.ZodObject<{
942
+ kind: z.ZodLiteral<"prompt">;
943
+ }, z.core.$strict>,
944
+ z.ZodObject<{
945
+ kind: z.ZodLiteral<"generated">;
946
+ }, z.core.$strict>,
947
+ z.ZodObject<{
948
+ kind: z.ZodLiteral<"positions">;
949
+ positions: z.ZodArray<z.ZodNumber>;
950
+ }, z.core.$strict>
951
+ ], "kind">;
952
+ }, z.core.$strict>,
953
+ z.ZodObject<{
954
+ units: z.ZodEnum<{
955
+ raw: "raw";
956
+ residual_norm: "residual_norm";
957
+ activation_std: "activation_std";
958
+ }>;
959
+ calibrationId: z.ZodOptional<z.ZodString>;
960
+ operation: z.ZodLiteral<"NEURON_REPLACE">;
961
+ neuron: z.ZodNumber;
962
+ replacement: z.ZodDiscriminatedUnion<[
963
+ z.ZodObject<{
964
+ kind: z.ZodLiteral<"scalar">;
965
+ value: z.ZodNumber;
966
+ }, z.core.$strict>,
967
+ z.ZodObject<{
968
+ kind: z.ZodLiteral<"tensor">;
969
+ tensor: z.ZodObject<{
970
+ artifact: z.ZodObject<{
971
+ uri: z.ZodString;
972
+ sha256: z.ZodString;
973
+ sizeBytes: z.ZodNumber;
974
+ mediaType: z.ZodString;
975
+ }, z.core.$strict>;
976
+ shape: z.ZodArray<z.ZodNumber>;
977
+ dtype: z.ZodEnum<{
978
+ f16: "f16";
979
+ bf16: "bf16";
980
+ f32: "f32";
981
+ f64: "f64";
982
+ i8: "i8";
983
+ i16: "i16";
984
+ i32: "i32";
985
+ i64: "i64";
986
+ u8: "u8";
987
+ bool: "bool";
988
+ quantized: "quantized";
989
+ }>;
990
+ }, z.core.$strict>;
991
+ }, z.core.$strict>
992
+ ], "kind">;
993
+ id: z.ZodString;
994
+ siteId: z.ZodString;
995
+ tokenScope: z.ZodDiscriminatedUnion<[
996
+ z.ZodObject<{
997
+ kind: z.ZodLiteral<"all">;
998
+ }, z.core.$strict>,
999
+ z.ZodObject<{
1000
+ kind: z.ZodLiteral<"prompt">;
1001
+ }, z.core.$strict>,
1002
+ z.ZodObject<{
1003
+ kind: z.ZodLiteral<"generated">;
1004
+ }, z.core.$strict>,
1005
+ z.ZodObject<{
1006
+ kind: z.ZodLiteral<"positions">;
1007
+ positions: z.ZodArray<z.ZodNumber>;
1008
+ }, z.core.$strict>
1009
+ ], "kind">;
1010
+ }, z.core.$strict>,
1011
+ z.ZodObject<{
1012
+ units: z.ZodEnum<{
1013
+ raw: "raw";
1014
+ residual_norm: "residual_norm";
1015
+ activation_std: "activation_std";
1016
+ }>;
1017
+ calibrationId: z.ZodOptional<z.ZodString>;
1018
+ operation: z.ZodLiteral<"RESIDUAL_ADD">;
1019
+ vector: z.ZodObject<{
1020
+ artifact: z.ZodObject<{
1021
+ uri: z.ZodString;
1022
+ sha256: z.ZodString;
1023
+ sizeBytes: z.ZodNumber;
1024
+ mediaType: z.ZodString;
1025
+ }, z.core.$strict>;
1026
+ shape: z.ZodArray<z.ZodNumber>;
1027
+ dtype: z.ZodEnum<{
1028
+ f16: "f16";
1029
+ bf16: "bf16";
1030
+ f32: "f32";
1031
+ f64: "f64";
1032
+ i8: "i8";
1033
+ i16: "i16";
1034
+ i32: "i32";
1035
+ i64: "i64";
1036
+ u8: "u8";
1037
+ bool: "bool";
1038
+ quantized: "quantized";
1039
+ }>;
1040
+ }, z.core.$strict>;
1041
+ scale: z.ZodNumber;
1042
+ id: z.ZodString;
1043
+ siteId: z.ZodString;
1044
+ tokenScope: z.ZodDiscriminatedUnion<[
1045
+ z.ZodObject<{
1046
+ kind: z.ZodLiteral<"all">;
1047
+ }, z.core.$strict>,
1048
+ z.ZodObject<{
1049
+ kind: z.ZodLiteral<"prompt">;
1050
+ }, z.core.$strict>,
1051
+ z.ZodObject<{
1052
+ kind: z.ZodLiteral<"generated">;
1053
+ }, z.core.$strict>,
1054
+ z.ZodObject<{
1055
+ kind: z.ZodLiteral<"positions">;
1056
+ positions: z.ZodArray<z.ZodNumber>;
1057
+ }, z.core.$strict>
1058
+ ], "kind">;
1059
+ }, z.core.$strict>,
1060
+ z.ZodObject<{
1061
+ operation: z.ZodLiteral<"DIRECTION_PROJECT">;
1062
+ basis: z.ZodObject<{
1063
+ artifact: z.ZodObject<{
1064
+ uri: z.ZodString;
1065
+ sha256: z.ZodString;
1066
+ sizeBytes: z.ZodNumber;
1067
+ mediaType: z.ZodString;
1068
+ }, z.core.$strict>;
1069
+ shape: z.ZodArray<z.ZodNumber>;
1070
+ dtype: z.ZodEnum<{
1071
+ f16: "f16";
1072
+ bf16: "bf16";
1073
+ f32: "f32";
1074
+ f64: "f64";
1075
+ i8: "i8";
1076
+ i16: "i16";
1077
+ i32: "i32";
1078
+ i64: "i64";
1079
+ u8: "u8";
1080
+ bool: "bool";
1081
+ quantized: "quantized";
1082
+ }>;
1083
+ }, z.core.$strict>;
1084
+ strength: z.ZodNumber;
1085
+ normalization: z.ZodLiteral<"orthonormal">;
1086
+ id: z.ZodString;
1087
+ siteId: z.ZodString;
1088
+ tokenScope: z.ZodDiscriminatedUnion<[
1089
+ z.ZodObject<{
1090
+ kind: z.ZodLiteral<"all">;
1091
+ }, z.core.$strict>,
1092
+ z.ZodObject<{
1093
+ kind: z.ZodLiteral<"prompt">;
1094
+ }, z.core.$strict>,
1095
+ z.ZodObject<{
1096
+ kind: z.ZodLiteral<"generated">;
1097
+ }, z.core.$strict>,
1098
+ z.ZodObject<{
1099
+ kind: z.ZodLiteral<"positions">;
1100
+ positions: z.ZodArray<z.ZodNumber>;
1101
+ }, z.core.$strict>
1102
+ ], "kind">;
1103
+ }, z.core.$strict>,
1104
+ z.ZodObject<{
1105
+ operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">;
1106
+ head: z.ZodNumber;
1107
+ factor: z.ZodNumber;
1108
+ id: z.ZodString;
1109
+ siteId: z.ZodString;
1110
+ tokenScope: z.ZodDiscriminatedUnion<[
1111
+ z.ZodObject<{
1112
+ kind: z.ZodLiteral<"all">;
1113
+ }, z.core.$strict>,
1114
+ z.ZodObject<{
1115
+ kind: z.ZodLiteral<"prompt">;
1116
+ }, z.core.$strict>,
1117
+ z.ZodObject<{
1118
+ kind: z.ZodLiteral<"generated">;
1119
+ }, z.core.$strict>,
1120
+ z.ZodObject<{
1121
+ kind: z.ZodLiteral<"positions">;
1122
+ positions: z.ZodArray<z.ZodNumber>;
1123
+ }, z.core.$strict>
1124
+ ], "kind">;
1125
+ }, z.core.$strict>,
1126
+ z.ZodObject<{
1127
+ operation: z.ZodLiteral<"EXPERT_GAIN">;
1128
+ expert: z.ZodNumber;
1129
+ factor: z.ZodNumber;
1130
+ id: z.ZodString;
1131
+ siteId: z.ZodString;
1132
+ tokenScope: z.ZodDiscriminatedUnion<[
1133
+ z.ZodObject<{
1134
+ kind: z.ZodLiteral<"all">;
1135
+ }, z.core.$strict>,
1136
+ z.ZodObject<{
1137
+ kind: z.ZodLiteral<"prompt">;
1138
+ }, z.core.$strict>,
1139
+ z.ZodObject<{
1140
+ kind: z.ZodLiteral<"generated">;
1141
+ }, z.core.$strict>,
1142
+ z.ZodObject<{
1143
+ kind: z.ZodLiteral<"positions">;
1144
+ positions: z.ZodArray<z.ZodNumber>;
1145
+ }, z.core.$strict>
1146
+ ], "kind">;
1147
+ }, z.core.$strict>,
1148
+ z.ZodObject<{
1149
+ units: z.ZodEnum<{
1150
+ raw: "raw";
1151
+ residual_norm: "residual_norm";
1152
+ activation_std: "activation_std";
1153
+ }>;
1154
+ calibrationId: z.ZodOptional<z.ZodString>;
1155
+ operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">;
1156
+ expert: z.ZodNumber;
1157
+ amount: z.ZodNumber;
1158
+ id: z.ZodString;
1159
+ siteId: z.ZodString;
1160
+ tokenScope: z.ZodDiscriminatedUnion<[
1161
+ z.ZodObject<{
1162
+ kind: z.ZodLiteral<"all">;
1163
+ }, z.core.$strict>,
1164
+ z.ZodObject<{
1165
+ kind: z.ZodLiteral<"prompt">;
1166
+ }, z.core.$strict>,
1167
+ z.ZodObject<{
1168
+ kind: z.ZodLiteral<"generated">;
1169
+ }, z.core.$strict>,
1170
+ z.ZodObject<{
1171
+ kind: z.ZodLiteral<"positions">;
1172
+ positions: z.ZodArray<z.ZodNumber>;
1173
+ }, z.core.$strict>
1174
+ ], "kind">;
1175
+ }, z.core.$strict>,
1176
+ z.ZodObject<{
1177
+ operation: z.ZodLiteral<"WEIGHT_ADD">;
1178
+ delta: z.ZodDiscriminatedUnion<[
1179
+ z.ZodObject<{
1180
+ kind: z.ZodLiteral<"scalar">;
1181
+ value: z.ZodNumber;
1182
+ }, z.core.$strict>,
1183
+ z.ZodObject<{
1184
+ kind: z.ZodLiteral<"tensor">;
1185
+ tensor: z.ZodObject<{
1186
+ artifact: z.ZodObject<{
1187
+ uri: z.ZodString;
1188
+ sha256: z.ZodString;
1189
+ sizeBytes: z.ZodNumber;
1190
+ mediaType: z.ZodString;
1191
+ }, z.core.$strict>;
1192
+ shape: z.ZodArray<z.ZodNumber>;
1193
+ dtype: z.ZodEnum<{
1194
+ f16: "f16";
1195
+ bf16: "bf16";
1196
+ f32: "f32";
1197
+ f64: "f64";
1198
+ i8: "i8";
1199
+ i16: "i16";
1200
+ i32: "i32";
1201
+ i64: "i64";
1202
+ u8: "u8";
1203
+ bool: "bool";
1204
+ quantized: "quantized";
1205
+ }>;
1206
+ }, z.core.$strict>;
1207
+ }, z.core.$strict>
1208
+ ], "kind">;
1209
+ id: z.ZodString;
1210
+ siteId: z.ZodString;
1211
+ tokenScope: z.ZodDiscriminatedUnion<[
1212
+ z.ZodObject<{
1213
+ kind: z.ZodLiteral<"all">;
1214
+ }, z.core.$strict>,
1215
+ z.ZodObject<{
1216
+ kind: z.ZodLiteral<"prompt">;
1217
+ }, z.core.$strict>,
1218
+ z.ZodObject<{
1219
+ kind: z.ZodLiteral<"generated">;
1220
+ }, z.core.$strict>,
1221
+ z.ZodObject<{
1222
+ kind: z.ZodLiteral<"positions">;
1223
+ positions: z.ZodArray<z.ZodNumber>;
1224
+ }, z.core.$strict>
1225
+ ], "kind">;
1226
+ }, z.core.$strict>,
1227
+ z.ZodObject<{
1228
+ operation: z.ZodLiteral<"WEIGHT_GAIN">;
1229
+ gain: z.ZodDiscriminatedUnion<[
1230
+ z.ZodObject<{
1231
+ kind: z.ZodLiteral<"scalar">;
1232
+ factor: z.ZodNumber;
1233
+ }, z.core.$strict>,
1234
+ z.ZodObject<{
1235
+ kind: z.ZodLiteral<"axis">;
1236
+ axis: z.ZodNumber;
1237
+ factors: z.ZodObject<{
1238
+ artifact: z.ZodObject<{
1239
+ uri: z.ZodString;
1240
+ sha256: z.ZodString;
1241
+ sizeBytes: z.ZodNumber;
1242
+ mediaType: z.ZodString;
1243
+ }, z.core.$strict>;
1244
+ shape: z.ZodArray<z.ZodNumber>;
1245
+ dtype: z.ZodEnum<{
1246
+ f16: "f16";
1247
+ bf16: "bf16";
1248
+ f32: "f32";
1249
+ f64: "f64";
1250
+ i8: "i8";
1251
+ i16: "i16";
1252
+ i32: "i32";
1253
+ i64: "i64";
1254
+ u8: "u8";
1255
+ bool: "bool";
1256
+ quantized: "quantized";
1257
+ }>;
1258
+ }, z.core.$strict>;
1259
+ }, z.core.$strict>
1260
+ ], "kind">;
1261
+ id: z.ZodString;
1262
+ siteId: z.ZodString;
1263
+ tokenScope: z.ZodDiscriminatedUnion<[
1264
+ z.ZodObject<{
1265
+ kind: z.ZodLiteral<"all">;
1266
+ }, z.core.$strict>,
1267
+ z.ZodObject<{
1268
+ kind: z.ZodLiteral<"prompt">;
1269
+ }, z.core.$strict>,
1270
+ z.ZodObject<{
1271
+ kind: z.ZodLiteral<"generated">;
1272
+ }, z.core.$strict>,
1273
+ z.ZodObject<{
1274
+ kind: z.ZodLiteral<"positions">;
1275
+ positions: z.ZodArray<z.ZodNumber>;
1276
+ }, z.core.$strict>
1277
+ ], "kind">;
1278
+ }, z.core.$strict>,
1279
+ z.ZodObject<{
1280
+ operation: z.ZodLiteral<"WEIGHT_REPLACE">;
1281
+ replacement: z.ZodObject<{
1282
+ artifact: z.ZodObject<{
1283
+ uri: z.ZodString;
1284
+ sha256: z.ZodString;
1285
+ sizeBytes: z.ZodNumber;
1286
+ mediaType: z.ZodString;
1287
+ }, z.core.$strict>;
1288
+ shape: z.ZodArray<z.ZodNumber>;
1289
+ dtype: z.ZodEnum<{
1290
+ f16: "f16";
1291
+ bf16: "bf16";
1292
+ f32: "f32";
1293
+ f64: "f64";
1294
+ i8: "i8";
1295
+ i16: "i16";
1296
+ i32: "i32";
1297
+ i64: "i64";
1298
+ u8: "u8";
1299
+ bool: "bool";
1300
+ quantized: "quantized";
1301
+ }>;
1302
+ }, z.core.$strict>;
1303
+ id: z.ZodString;
1304
+ siteId: z.ZodString;
1305
+ tokenScope: z.ZodDiscriminatedUnion<[
1306
+ z.ZodObject<{
1307
+ kind: z.ZodLiteral<"all">;
1308
+ }, z.core.$strict>,
1309
+ z.ZodObject<{
1310
+ kind: z.ZodLiteral<"prompt">;
1311
+ }, z.core.$strict>,
1312
+ z.ZodObject<{
1313
+ kind: z.ZodLiteral<"generated">;
1314
+ }, z.core.$strict>,
1315
+ z.ZodObject<{
1316
+ kind: z.ZodLiteral<"positions">;
1317
+ positions: z.ZodArray<z.ZodNumber>;
1318
+ }, z.core.$strict>
1319
+ ], "kind">;
1320
+ }, z.core.$strict>,
1321
+ z.ZodObject<{
1322
+ operation: z.ZodLiteral<"WEIGHT_PROJECT">;
1323
+ side: z.ZodEnum<{
1324
+ left: "left";
1325
+ right: "right";
1326
+ }>;
1327
+ basis: z.ZodObject<{
1328
+ artifact: z.ZodObject<{
1329
+ uri: z.ZodString;
1330
+ sha256: z.ZodString;
1331
+ sizeBytes: z.ZodNumber;
1332
+ mediaType: z.ZodString;
1333
+ }, z.core.$strict>;
1334
+ shape: z.ZodArray<z.ZodNumber>;
1335
+ dtype: z.ZodEnum<{
1336
+ f16: "f16";
1337
+ bf16: "bf16";
1338
+ f32: "f32";
1339
+ f64: "f64";
1340
+ i8: "i8";
1341
+ i16: "i16";
1342
+ i32: "i32";
1343
+ i64: "i64";
1344
+ u8: "u8";
1345
+ bool: "bool";
1346
+ quantized: "quantized";
1347
+ }>;
1348
+ }, z.core.$strict>;
1349
+ strength: z.ZodNumber;
1350
+ normalization: z.ZodLiteral<"orthonormal">;
1351
+ id: z.ZodString;
1352
+ siteId: z.ZodString;
1353
+ tokenScope: z.ZodDiscriminatedUnion<[
1354
+ z.ZodObject<{
1355
+ kind: z.ZodLiteral<"all">;
1356
+ }, z.core.$strict>,
1357
+ z.ZodObject<{
1358
+ kind: z.ZodLiteral<"prompt">;
1359
+ }, z.core.$strict>,
1360
+ z.ZodObject<{
1361
+ kind: z.ZodLiteral<"generated">;
1362
+ }, z.core.$strict>,
1363
+ z.ZodObject<{
1364
+ kind: z.ZodLiteral<"positions">;
1365
+ positions: z.ZodArray<z.ZodNumber>;
1366
+ }, z.core.$strict>
1367
+ ], "kind">;
1368
+ }, z.core.$strict>,
1369
+ z.ZodObject<{
1370
+ operation: z.ZodLiteral<"LOW_RANK_UPDATE">;
1371
+ a: z.ZodObject<{
1372
+ artifact: z.ZodObject<{
1373
+ uri: z.ZodString;
1374
+ sha256: z.ZodString;
1375
+ sizeBytes: z.ZodNumber;
1376
+ mediaType: z.ZodString;
1377
+ }, z.core.$strict>;
1378
+ shape: z.ZodArray<z.ZodNumber>;
1379
+ dtype: z.ZodEnum<{
1380
+ f16: "f16";
1381
+ bf16: "bf16";
1382
+ f32: "f32";
1383
+ f64: "f64";
1384
+ i8: "i8";
1385
+ i16: "i16";
1386
+ i32: "i32";
1387
+ i64: "i64";
1388
+ u8: "u8";
1389
+ bool: "bool";
1390
+ quantized: "quantized";
1391
+ }>;
1392
+ }, z.core.$strict>;
1393
+ b: z.ZodObject<{
1394
+ artifact: z.ZodObject<{
1395
+ uri: z.ZodString;
1396
+ sha256: z.ZodString;
1397
+ sizeBytes: z.ZodNumber;
1398
+ mediaType: z.ZodString;
1399
+ }, z.core.$strict>;
1400
+ shape: z.ZodArray<z.ZodNumber>;
1401
+ dtype: z.ZodEnum<{
1402
+ f16: "f16";
1403
+ bf16: "bf16";
1404
+ f32: "f32";
1405
+ f64: "f64";
1406
+ i8: "i8";
1407
+ i16: "i16";
1408
+ i32: "i32";
1409
+ i64: "i64";
1410
+ u8: "u8";
1411
+ bool: "bool";
1412
+ quantized: "quantized";
1413
+ }>;
1414
+ }, z.core.$strict>;
1415
+ rank: z.ZodNumber;
1416
+ alpha: z.ZodNumber;
1417
+ scale: z.ZodNumber;
1418
+ scaling: z.ZodLiteral<"alpha_over_rank">;
1419
+ id: z.ZodString;
1420
+ siteId: z.ZodString;
1421
+ tokenScope: z.ZodDiscriminatedUnion<[
1422
+ z.ZodObject<{
1423
+ kind: z.ZodLiteral<"all">;
1424
+ }, z.core.$strict>,
1425
+ z.ZodObject<{
1426
+ kind: z.ZodLiteral<"prompt">;
1427
+ }, z.core.$strict>,
1428
+ z.ZodObject<{
1429
+ kind: z.ZodLiteral<"generated">;
1430
+ }, z.core.$strict>,
1431
+ z.ZodObject<{
1432
+ kind: z.ZodLiteral<"positions">;
1433
+ positions: z.ZodArray<z.ZodNumber>;
1434
+ }, z.core.$strict>
1435
+ ], "kind">;
1436
+ }, z.core.$strict>,
1437
+ z.ZodObject<{
1438
+ operation: z.ZodLiteral<"WEIGHT_MERGE">;
1439
+ sources: z.ZodArray<z.ZodObject<{
1440
+ modelDigest: z.ZodString;
1441
+ siteId: z.ZodString;
1442
+ weight: z.ZodNumber;
1443
+ }, z.core.$strict>>;
1444
+ id: z.ZodString;
1445
+ siteId: z.ZodString;
1446
+ tokenScope: z.ZodDiscriminatedUnion<[
1447
+ z.ZodObject<{
1448
+ kind: z.ZodLiteral<"all">;
1449
+ }, z.core.$strict>,
1450
+ z.ZodObject<{
1451
+ kind: z.ZodLiteral<"prompt">;
1452
+ }, z.core.$strict>,
1453
+ z.ZodObject<{
1454
+ kind: z.ZodLiteral<"generated">;
1455
+ }, z.core.$strict>,
1456
+ z.ZodObject<{
1457
+ kind: z.ZodLiteral<"positions">;
1458
+ positions: z.ZodArray<z.ZodNumber>;
1459
+ }, z.core.$strict>
1460
+ ], "kind">;
1461
+ }, z.core.$strict>
1462
+ ], "operation">>;
1463
+ calibrations: z.ZodArray<z.ZodObject<{
1464
+ schema: z.ZodLiteral<"omnius.nol.calibration.v1">;
1465
+ id: z.ZodString;
1466
+ modelDigest: z.ZodString;
1467
+ architectureMapDigest: z.ZodString;
1468
+ units: z.ZodEnum<{
1469
+ raw: "raw";
1470
+ residual_norm: "residual_norm";
1471
+ activation_std: "activation_std";
1472
+ }>;
1473
+ definitionDigest: z.ZodString;
1474
+ corpusDigest: z.ZodOptional<z.ZodString>;
1475
+ tokenPositionsDigest: z.ZodOptional<z.ZodString>;
1476
+ statistics: z.ZodOptional<z.ZodObject<{
1477
+ uri: z.ZodString;
1478
+ sha256: z.ZodString;
1479
+ sizeBytes: z.ZodNumber;
1480
+ mediaType: z.ZodString;
1481
+ }, z.core.$strict>>;
1482
+ siteScales: z.ZodArray<z.ZodObject<{
1483
+ siteId: z.ZodString;
1484
+ scale: z.ZodNumber;
1485
+ }, z.core.$strict>>;
1486
+ }, z.core.$strict>>;
1487
+ createdAt: z.ZodString;
1488
+ provenance: z.ZodArray<z.ZodObject<{
1489
+ source: z.ZodString;
1490
+ uri: z.ZodOptional<z.ZodString>;
1491
+ sourceDigest: z.ZodOptional<z.ZodString>;
1492
+ license: z.ZodOptional<z.ZodString>;
1493
+ artifact: z.ZodOptional<z.ZodObject<{
1494
+ uri: z.ZodString;
1495
+ sha256: z.ZodString;
1496
+ sizeBytes: z.ZodNumber;
1497
+ mediaType: z.ZodString;
1498
+ }, z.core.$strict>>;
1499
+ }, z.core.$strict>>;
1500
+ }, z.core.$strict>;
1501
+ export type NolRecipeRevision = z.infer<typeof NolRecipeRevisionSchema>;
1502
+ export declare const NolVariantManifestSchema: z.ZodObject<{
1503
+ schema: z.ZodLiteral<"omnius.nol.variant.v1">;
1504
+ id: z.ZodString;
1505
+ variantDigest: z.ZodString;
1506
+ modelDigest: z.ZodString;
1507
+ parentModelDigests: z.ZodArray<z.ZodString>;
1508
+ recipeDigest: z.ZodOptional<z.ZodString>;
1509
+ runtimeBuildDigest: z.ZodString;
1510
+ architectureMapDigest: z.ZodString;
1511
+ implementationDigest: z.ZodString;
1512
+ calibrationDigests: z.ZodArray<z.ZodString>;
1513
+ adapterArtifacts: z.ZodArray<z.ZodObject<{
1514
+ uri: z.ZodString;
1515
+ sha256: z.ZodString;
1516
+ sizeBytes: z.ZodNumber;
1517
+ mediaType: z.ZodString;
1518
+ }, z.core.$strict>>;
1519
+ checkpointArtifacts: z.ZodArray<z.ZodObject<{
1520
+ uri: z.ZodString;
1521
+ sha256: z.ZodString;
1522
+ sizeBytes: z.ZodNumber;
1523
+ mediaType: z.ZodString;
1524
+ }, z.core.$strict>>;
1525
+ createdAt: z.ZodString;
1526
+ }, z.core.$strict>;
1527
+ export type NolVariantManifest = z.infer<typeof NolVariantManifestSchema>;
1528
+ export declare const NolBackendCapabilitiesSchema: z.ZodObject<{
1529
+ schema: z.ZodLiteral<"omnius.nol.capabilities.v1">;
1530
+ capabilitiesDigest: z.ZodString;
1531
+ binding: z.ZodObject<{
1532
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
1533
+ id: z.ZodString;
1534
+ backend: z.ZodEnum<{
1535
+ other: "other";
1536
+ gne: "gne";
1537
+ llama_cpp: "llama_cpp";
1538
+ transformers: "transformers";
1539
+ nnsight: "nnsight";
1540
+ ollama: "ollama";
1541
+ vllm: "vllm";
1542
+ }>;
1543
+ modelDigest: z.ZodString;
1544
+ architectureMapDigest: z.ZodString;
1545
+ runtimeBuildDigest: z.ZodString;
1546
+ dependencyLockDigest: z.ZodString;
1547
+ tokenizerDigest: z.ZodString;
1548
+ chatTemplateDigest: z.ZodString;
1549
+ contextLimit: z.ZodNumber;
1550
+ }, z.core.$strict>;
1551
+ operations: z.ZodArray<z.ZodObject<{
1552
+ operation: z.ZodEnum<{
1553
+ NEURON_ADD: "NEURON_ADD";
1554
+ NEURON_GAIN: "NEURON_GAIN";
1555
+ NEURON_REPLACE: "NEURON_REPLACE";
1556
+ RESIDUAL_ADD: "RESIDUAL_ADD";
1557
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
1558
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
1559
+ EXPERT_GAIN: "EXPERT_GAIN";
1560
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
1561
+ WEIGHT_ADD: "WEIGHT_ADD";
1562
+ WEIGHT_GAIN: "WEIGHT_GAIN";
1563
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
1564
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
1565
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
1566
+ WEIGHT_MERGE: "WEIGHT_MERGE";
1567
+ }>;
1568
+ siteKinds: z.ZodArray<z.ZodEnum<{
1569
+ mlp_intermediate: "mlp_intermediate";
1570
+ residual: "residual";
1571
+ attention_head: "attention_head";
1572
+ expert_output: "expert_output";
1573
+ router_logits: "router_logits";
1574
+ parameter: "parameter";
1575
+ }>>;
1576
+ tokenScopes: z.ZodArray<z.ZodEnum<{
1577
+ all: "all";
1578
+ prompt: "prompt";
1579
+ generated: "generated";
1580
+ positions: "positions";
1581
+ }>>;
1582
+ implementation: z.ZodString;
1583
+ implementationDigest: z.ZodString;
1584
+ equivalence: z.ZodEnum<{
1585
+ exact: "exact";
1586
+ validated_equivalent: "validated_equivalent";
1587
+ approximate: "approximate";
1588
+ }>;
1589
+ validationReceiptDigest: z.ZodOptional<z.ZodString>;
1590
+ }, z.core.$strict>>;
1591
+ orderedOperations: z.ZodBoolean;
1592
+ observations: z.ZodArray<z.ZodEnum<{
1593
+ activation_summary: "activation_summary";
1594
+ activations: "activations";
1595
+ logits: "logits";
1596
+ full_distribution: "full_distribution";
1597
+ gradients: "gradients";
1598
+ }>>;
1599
+ generation: z.ZodObject<{
1600
+ text: z.ZodBoolean;
1601
+ nativeTools: z.ZodBoolean;
1602
+ structuredOutput: z.ZodBoolean;
1603
+ streaming: z.ZodBoolean;
1604
+ cancellation: z.ZodBoolean;
1605
+ reset: z.ZodBoolean;
1606
+ }, z.core.$strict>;
1607
+ exports: z.ZodArray<z.ZodObject<{
1608
+ format: z.ZodEnum<{
1609
+ gguf: "gguf";
1610
+ safetensors: "safetensors";
1611
+ pytorch: "pytorch";
1612
+ hf: "hf";
1613
+ gguf_adapter: "gguf_adapter";
1614
+ safetensors_adapter: "safetensors_adapter";
1615
+ pytorch_adapter: "pytorch_adapter";
1616
+ lora: "lora";
1617
+ }>;
1618
+ operations: z.ZodArray<z.ZodEnum<{
1619
+ NEURON_ADD: "NEURON_ADD";
1620
+ NEURON_GAIN: "NEURON_GAIN";
1621
+ NEURON_REPLACE: "NEURON_REPLACE";
1622
+ RESIDUAL_ADD: "RESIDUAL_ADD";
1623
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
1624
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
1625
+ EXPERT_GAIN: "EXPERT_GAIN";
1626
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
1627
+ WEIGHT_ADD: "WEIGHT_ADD";
1628
+ WEIGHT_GAIN: "WEIGHT_GAIN";
1629
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
1630
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
1631
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
1632
+ WEIGHT_MERGE: "WEIGHT_MERGE";
1633
+ }>>;
1634
+ tokenScopes: z.ZodArray<z.ZodLiteral<"all">>;
1635
+ }, z.core.$strict>>;
1636
+ }, z.core.$strict>;
1637
+ export type NolBackendCapabilities = z.infer<typeof NolBackendCapabilitiesSchema>;
1638
+ export declare const NolImplementationReceiptSchema: z.ZodObject<{
1639
+ schema: z.ZodLiteral<"omnius.nol.implementation.v1">;
1640
+ id: z.ZodString;
1641
+ binding: z.ZodObject<{
1642
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
1643
+ id: z.ZodString;
1644
+ backend: z.ZodEnum<{
1645
+ other: "other";
1646
+ gne: "gne";
1647
+ llama_cpp: "llama_cpp";
1648
+ transformers: "transformers";
1649
+ nnsight: "nnsight";
1650
+ ollama: "ollama";
1651
+ vllm: "vllm";
1652
+ }>;
1653
+ modelDigest: z.ZodString;
1654
+ architectureMapDigest: z.ZodString;
1655
+ runtimeBuildDigest: z.ZodString;
1656
+ dependencyLockDigest: z.ZodString;
1657
+ tokenizerDigest: z.ZodString;
1658
+ chatTemplateDigest: z.ZodString;
1659
+ contextLimit: z.ZodNumber;
1660
+ }, z.core.$strict>;
1661
+ capabilitiesDigest: z.ZodString;
1662
+ recipeDigest: z.ZodOptional<z.ZodString>;
1663
+ operations: z.ZodArray<z.ZodObject<{
1664
+ operationId: z.ZodString;
1665
+ operation: z.ZodEnum<{
1666
+ NEURON_ADD: "NEURON_ADD";
1667
+ NEURON_GAIN: "NEURON_GAIN";
1668
+ NEURON_REPLACE: "NEURON_REPLACE";
1669
+ RESIDUAL_ADD: "RESIDUAL_ADD";
1670
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
1671
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
1672
+ EXPERT_GAIN: "EXPERT_GAIN";
1673
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
1674
+ WEIGHT_ADD: "WEIGHT_ADD";
1675
+ WEIGHT_GAIN: "WEIGHT_GAIN";
1676
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
1677
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
1678
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
1679
+ WEIGHT_MERGE: "WEIGHT_MERGE";
1680
+ }>;
1681
+ siteId: z.ZodString;
1682
+ implementation: z.ZodString;
1683
+ implementationDigest: z.ZodString;
1684
+ equivalence: z.ZodEnum<{
1685
+ exact: "exact";
1686
+ validated_equivalent: "validated_equivalent";
1687
+ approximate: "approximate";
1688
+ }>;
1689
+ validationReceiptDigest: z.ZodOptional<z.ZodString>;
1690
+ calibrationId: z.ZodOptional<z.ZodString>;
1691
+ tokenScope: z.ZodDiscriminatedUnion<[
1692
+ z.ZodObject<{
1693
+ kind: z.ZodLiteral<"all">;
1694
+ }, z.core.$strict>,
1695
+ z.ZodObject<{
1696
+ kind: z.ZodLiteral<"prompt">;
1697
+ }, z.core.$strict>,
1698
+ z.ZodObject<{
1699
+ kind: z.ZodLiteral<"generated">;
1700
+ }, z.core.$strict>,
1701
+ z.ZodObject<{
1702
+ kind: z.ZodLiteral<"positions">;
1703
+ positions: z.ZodArray<z.ZodNumber>;
1704
+ }, z.core.$strict>
1705
+ ], "kind">;
1706
+ editedPositions: z.ZodObject<{
1707
+ uri: z.ZodString;
1708
+ sha256: z.ZodString;
1709
+ sizeBytes: z.ZodNumber;
1710
+ mediaType: z.ZodString;
1711
+ }, z.core.$strict>;
1712
+ }, z.core.$strict>>;
1713
+ activeAdapters: z.ZodArray<z.ZodObject<{
1714
+ artifact: z.ZodObject<{
1715
+ uri: z.ZodString;
1716
+ sha256: z.ZodString;
1717
+ sizeBytes: z.ZodNumber;
1718
+ mediaType: z.ZodString;
1719
+ }, z.core.$strict>;
1720
+ scale: z.ZodNumber;
1721
+ }, z.core.$strict>>;
1722
+ cache: z.ZodObject<{
1723
+ mode: z.ZodEnum<{
1724
+ cold: "cold";
1725
+ isolated: "isolated";
1726
+ }>;
1727
+ keyDigest: z.ZodString;
1728
+ }, z.core.$strict>;
1729
+ reset: z.ZodDiscriminatedUnion<[
1730
+ z.ZodObject<{
1731
+ status: z.ZodLiteral<"verified">;
1732
+ proof: z.ZodObject<{
1733
+ uri: z.ZodString;
1734
+ sha256: z.ZodString;
1735
+ sizeBytes: z.ZodNumber;
1736
+ mediaType: z.ZodString;
1737
+ }, z.core.$strict>;
1738
+ }, z.core.$strict>,
1739
+ z.ZodObject<{
1740
+ status: z.ZodLiteral<"failed">;
1741
+ reason: z.ZodString;
1742
+ }, z.core.$strict>,
1743
+ z.ZodObject<{
1744
+ status: z.ZodLiteral<"not_attempted">;
1745
+ reason: z.ZodString;
1746
+ }, z.core.$strict>
1747
+ ], "status">;
1748
+ observedArtifacts: z.ZodArray<z.ZodObject<{
1749
+ artifact: z.ZodObject<{
1750
+ uri: z.ZodString;
1751
+ sha256: z.ZodString;
1752
+ sizeBytes: z.ZodNumber;
1753
+ mediaType: z.ZodString;
1754
+ }, z.core.$strict>;
1755
+ shape: z.ZodArray<z.ZodNumber>;
1756
+ dtype: z.ZodEnum<{
1757
+ f16: "f16";
1758
+ bf16: "bf16";
1759
+ f32: "f32";
1760
+ f64: "f64";
1761
+ i8: "i8";
1762
+ i16: "i16";
1763
+ i32: "i32";
1764
+ i64: "i64";
1765
+ u8: "u8";
1766
+ bool: "bool";
1767
+ quantized: "quantized";
1768
+ }>;
1769
+ }, z.core.$strict>>;
1770
+ recordedAt: z.ZodString;
1771
+ }, z.core.$strict>;
1772
+ export type NolImplementationReceipt = z.infer<typeof NolImplementationReceiptSchema>;
1773
+ export declare const NolDatasetSplitManifestSchema: z.ZodObject<{
1774
+ schema: z.ZodLiteral<"omnius.nol.dataset.v1">;
1775
+ id: z.ZodString;
1776
+ datasetDigest: z.ZodString;
1777
+ createdAt: z.ZodString;
1778
+ tasks: z.ZodArray<z.ZodObject<{
1779
+ taskId: z.ZodString;
1780
+ sourceIds: z.ZodArray<z.ZodString>;
1781
+ templateId: z.ZodOptional<z.ZodString>;
1782
+ nearDuplicateGroupIds: z.ZodArray<z.ZodString>;
1783
+ familyId: z.ZodString;
1784
+ leakageGroupId: z.ZodString;
1785
+ clusterId: z.ZodString;
1786
+ split: z.ZodEnum<{
1787
+ discovery: "discovery";
1788
+ development: "development";
1789
+ final_test: "final_test";
1790
+ }>;
1791
+ prompt: z.ZodObject<{
1792
+ uri: z.ZodString;
1793
+ sha256: z.ZodString;
1794
+ sizeBytes: z.ZodNumber;
1795
+ mediaType: z.ZodString;
1796
+ }, z.core.$strict>;
1797
+ expected: z.ZodObject<{
1798
+ uri: z.ZodString;
1799
+ sha256: z.ZodString;
1800
+ sizeBytes: z.ZodNumber;
1801
+ mediaType: z.ZodString;
1802
+ }, z.core.$strict>;
1803
+ graderId: z.ZodString;
1804
+ derivedFromTaskIds: z.ZodArray<z.ZodString>;
1805
+ }, z.core.$strict>>;
1806
+ }, z.core.$strict>;
1807
+ export type NolDatasetSplitManifest = z.infer<typeof NolDatasetSplitManifestSchema>;
1808
+ export declare const NolBudgetSchema: z.ZodObject<{
1809
+ maxTrials: z.ZodNumber;
1810
+ maxTasks: z.ZodNumber;
1811
+ maxSeeds: z.ZodNumber;
1812
+ maxControls: z.ZodNumber;
1813
+ maxTokens: z.ZodNumber;
1814
+ maxTokensPerTrial: z.ZodNumber;
1815
+ maxDurationMs: z.ZodNumber;
1816
+ maxTensorBytes: z.ZodNumber;
1817
+ maxArtifactBytes: z.ZodNumber;
1818
+ maxParallelWorkers: z.ZodNumber;
1819
+ maxRetries: z.ZodNumber;
1820
+ }, z.core.$strict>;
1821
+ export type NolBudget = z.infer<typeof NolBudgetSchema>;
1822
+ export declare const NolObjectiveSchema: z.ZodObject<{
1823
+ primaryMetricId: z.ZodString;
1824
+ minimumUsefulEffect: z.ZodNumber;
1825
+ absoluteTarget: z.ZodOptional<z.ZodObject<{
1826
+ direction: z.ZodEnum<{
1827
+ at_least: "at_least";
1828
+ at_most: "at_most";
1829
+ }>;
1830
+ value: z.ZodNumber;
1831
+ }, z.core.$strict>>;
1832
+ metrics: z.ZodArray<z.ZodObject<{
1833
+ id: z.ZodString;
1834
+ direction: z.ZodEnum<{
1835
+ maximize: "maximize";
1836
+ minimize: "minimize";
1837
+ }>;
1838
+ unit: z.ZodString;
1839
+ grader: z.ZodObject<{
1840
+ id: z.ZodString;
1841
+ digest: z.ZodString;
1842
+ }, z.core.$strict>;
1843
+ weight: z.ZodNumber;
1844
+ }, z.core.$strict>>;
1845
+ guards: z.ZodArray<z.ZodObject<{
1846
+ id: z.ZodString;
1847
+ metricId: z.ZodString;
1848
+ kind: z.ZodEnum<{
1849
+ minimum: "minimum";
1850
+ maximum: "maximum";
1851
+ non_inferiority: "non_inferiority";
1852
+ }>;
1853
+ threshold: z.ZodNumber;
1854
+ }, z.core.$strict>>;
1855
+ }, z.core.$strict>;
1856
+ export type NolObjective = z.infer<typeof NolObjectiveSchema>;
1857
+ export declare const NolExperimentManifestSchema: z.ZodObject<{
1858
+ schema: z.ZodLiteral<"omnius.nol.experiment.v1">;
1859
+ id: z.ZodString;
1860
+ experimentDigest: z.ZodString;
1861
+ createdAt: z.ZodString;
1862
+ modelDigest: z.ZodString;
1863
+ baselineBinding: z.ZodObject<{
1864
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
1865
+ id: z.ZodString;
1866
+ backend: z.ZodEnum<{
1867
+ other: "other";
1868
+ gne: "gne";
1869
+ llama_cpp: "llama_cpp";
1870
+ transformers: "transformers";
1871
+ nnsight: "nnsight";
1872
+ ollama: "ollama";
1873
+ vllm: "vllm";
1874
+ }>;
1875
+ modelDigest: z.ZodString;
1876
+ architectureMapDigest: z.ZodString;
1877
+ runtimeBuildDigest: z.ZodString;
1878
+ dependencyLockDigest: z.ZodString;
1879
+ tokenizerDigest: z.ZodString;
1880
+ chatTemplateDigest: z.ZodString;
1881
+ contextLimit: z.ZodNumber;
1882
+ }, z.core.$strict>;
1883
+ recipeDigests: z.ZodArray<z.ZodString>;
1884
+ datasetDigest: z.ZodString;
1885
+ harnessDigest: z.ZodString;
1886
+ objective: z.ZodObject<{
1887
+ primaryMetricId: z.ZodString;
1888
+ minimumUsefulEffect: z.ZodNumber;
1889
+ absoluteTarget: z.ZodOptional<z.ZodObject<{
1890
+ direction: z.ZodEnum<{
1891
+ at_least: "at_least";
1892
+ at_most: "at_most";
1893
+ }>;
1894
+ value: z.ZodNumber;
1895
+ }, z.core.$strict>>;
1896
+ metrics: z.ZodArray<z.ZodObject<{
1897
+ id: z.ZodString;
1898
+ direction: z.ZodEnum<{
1899
+ maximize: "maximize";
1900
+ minimize: "minimize";
1901
+ }>;
1902
+ unit: z.ZodString;
1903
+ grader: z.ZodObject<{
1904
+ id: z.ZodString;
1905
+ digest: z.ZodString;
1906
+ }, z.core.$strict>;
1907
+ weight: z.ZodNumber;
1908
+ }, z.core.$strict>>;
1909
+ guards: z.ZodArray<z.ZodObject<{
1910
+ id: z.ZodString;
1911
+ metricId: z.ZodString;
1912
+ kind: z.ZodEnum<{
1913
+ minimum: "minimum";
1914
+ maximum: "maximum";
1915
+ non_inferiority: "non_inferiority";
1916
+ }>;
1917
+ threshold: z.ZodNumber;
1918
+ }, z.core.$strict>>;
1919
+ }, z.core.$strict>;
1920
+ budgets: z.ZodObject<{
1921
+ maxTrials: z.ZodNumber;
1922
+ maxTasks: z.ZodNumber;
1923
+ maxSeeds: z.ZodNumber;
1924
+ maxControls: z.ZodNumber;
1925
+ maxTokens: z.ZodNumber;
1926
+ maxTokensPerTrial: z.ZodNumber;
1927
+ maxDurationMs: z.ZodNumber;
1928
+ maxTensorBytes: z.ZodNumber;
1929
+ maxArtifactBytes: z.ZodNumber;
1930
+ maxParallelWorkers: z.ZodNumber;
1931
+ maxRetries: z.ZodNumber;
1932
+ }, z.core.$strict>;
1933
+ seeds: z.ZodArray<z.ZodNumber>;
1934
+ allowedOperations: z.ZodArray<z.ZodEnum<{
1935
+ NEURON_ADD: "NEURON_ADD";
1936
+ NEURON_GAIN: "NEURON_GAIN";
1937
+ NEURON_REPLACE: "NEURON_REPLACE";
1938
+ RESIDUAL_ADD: "RESIDUAL_ADD";
1939
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
1940
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
1941
+ EXPERT_GAIN: "EXPERT_GAIN";
1942
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
1943
+ WEIGHT_ADD: "WEIGHT_ADD";
1944
+ WEIGHT_GAIN: "WEIGHT_GAIN";
1945
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
1946
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
1947
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
1948
+ WEIGHT_MERGE: "WEIGHT_MERGE";
1949
+ }>>;
1950
+ searchConstraints: z.ZodObject<{
1951
+ allowedSiteIds: z.ZodArray<z.ZodString>;
1952
+ maxAbsScalar: z.ZodNumber;
1953
+ maxVectorNorm: z.ZodNumber;
1954
+ maxOperationsPerRecipe: z.ZodNumber;
1955
+ maxCandidates: z.ZodNumber;
1956
+ maxCombinations: z.ZodNumber;
1957
+ }, z.core.$strict>;
1958
+ controls: z.ZodObject<{
1959
+ sham: z.ZodLiteral<true>;
1960
+ randomSeeds: z.ZodArray<z.ZodNumber>;
1961
+ normalization: z.ZodLiteral<"norm_matched">;
1962
+ }, z.core.$strict>;
1963
+ decoding: z.ZodObject<{
1964
+ temperature: z.ZodNumber;
1965
+ topP: z.ZodNumber;
1966
+ topK: z.ZodNumber;
1967
+ maxTokens: z.ZodNumber;
1968
+ constrainedDecoding: z.ZodEnum<{
1969
+ schema: "schema";
1970
+ none: "none";
1971
+ json: "json";
1972
+ }>;
1973
+ schemaDigest: z.ZodOptional<z.ZodString>;
1974
+ }, z.core.$strict>;
1975
+ statistics: z.ZodObject<{
1976
+ method: z.ZodLiteral<"paired_cluster_bootstrap">;
1977
+ clusterUnit: z.ZodLiteral<"source_family">;
1978
+ confidenceLevel: z.ZodNumber;
1979
+ bootstrapIterations: z.ZodNumber;
1980
+ bootstrapSeed: z.ZodNumber;
1981
+ missingPairPolicy: z.ZodEnum<{
1982
+ inconclusive: "inconclusive";
1983
+ fail: "fail";
1984
+ }>;
1985
+ minTasks: z.ZodNumber;
1986
+ minClusters: z.ZodNumber;
1987
+ decisionPoint: z.ZodEnum<{
1988
+ development: "development";
1989
+ final_test: "final_test";
1990
+ }>;
1991
+ weighting: z.ZodEnum<{
1992
+ equal_tasks: "equal_tasks";
1993
+ equal_clusters: "equal_clusters";
1994
+ }>;
1995
+ maxIntervalWidth: z.ZodOptional<z.ZodNumber>;
1996
+ jointErrorPolicy: z.ZodLiteral<"bonferroni">;
1997
+ multiplicity: z.ZodObject<{
1998
+ method: z.ZodEnum<{
1999
+ none: "none";
2000
+ bonferroni: "bonferroni";
2001
+ }>;
2002
+ comparisons: z.ZodNumber;
2003
+ }, z.core.$strict>;
2004
+ analysisSchedule: z.ZodArray<z.ZodNumber>;
2005
+ pairOrder: z.ZodEnum<{
2006
+ randomized: "randomized";
2007
+ counterbalanced: "counterbalanced";
2008
+ }>;
2009
+ }, z.core.$strict>;
2010
+ }, z.core.$strict>;
2011
+ export type NolExperimentManifest = z.infer<typeof NolExperimentManifestSchema>;
2012
+ export declare const NolTrialResultSchema: z.ZodObject<{
2013
+ schema: z.ZodLiteral<"omnius.nol.trial.v1">;
2014
+ id: z.ZodString;
2015
+ experimentDigest: z.ZodString;
2016
+ taskId: z.ZodString;
2017
+ clusterId: z.ZodString;
2018
+ seed: z.ZodNumber;
2019
+ variantDigest: z.ZodString;
2020
+ arm: z.ZodEnum<{
2021
+ sham: "sham";
2022
+ baseline: "baseline";
2023
+ candidate: "candidate";
2024
+ random: "random";
2025
+ }>;
2026
+ attempt: z.ZodNumber;
2027
+ status: z.ZodEnum<{
2028
+ completed: "completed";
2029
+ failed: "failed";
2030
+ inconclusive: "inconclusive";
2031
+ interrupted: "interrupted";
2032
+ }>;
2033
+ failureClass: z.ZodOptional<z.ZodEnum<{
2034
+ cancelled: "cancelled";
2035
+ malformed_output: "malformed_output";
2036
+ schema_invalid: "schema_invalid";
2037
+ semantic_failure: "semantic_failure";
2038
+ tool_selection: "tool_selection";
2039
+ tool_execution: "tool_execution";
2040
+ infrastructure: "infrastructure";
2041
+ capacity: "capacity";
2042
+ identity: "identity";
2043
+ unsupported: "unsupported";
2044
+ }>>;
2045
+ finishReason: z.ZodString;
2046
+ rawArtifacts: z.ZodArray<z.ZodObject<{
2047
+ uri: z.ZodString;
2048
+ sha256: z.ZodString;
2049
+ sizeBytes: z.ZodNumber;
2050
+ mediaType: z.ZodString;
2051
+ }, z.core.$strict>>;
2052
+ scores: z.ZodArray<z.ZodObject<{
2053
+ metricId: z.ZodString;
2054
+ value: z.ZodNumber;
2055
+ }, z.core.$strict>>;
2056
+ timing: z.ZodObject<{
2057
+ startedAt: z.ZodString;
2058
+ finishedAt: z.ZodString;
2059
+ durationMs: z.ZodNumber;
2060
+ }, z.core.$strict>;
2061
+ usage: z.ZodObject<{
2062
+ promptTokens: z.ZodNumber;
2063
+ completionTokens: z.ZodNumber;
2064
+ }, z.core.$strict>;
2065
+ hardware: z.ZodOptional<z.ZodObject<{
2066
+ gpuUuids: z.ZodArray<z.ZodString>;
2067
+ driver: z.ZodString;
2068
+ placementProof: z.ZodObject<{
2069
+ uri: z.ZodString;
2070
+ sha256: z.ZodString;
2071
+ sizeBytes: z.ZodNumber;
2072
+ mediaType: z.ZodString;
2073
+ }, z.core.$strict>;
2074
+ }, z.core.$strict>>;
2075
+ implementationReceipt: z.ZodOptional<z.ZodObject<{
2076
+ schema: z.ZodLiteral<"omnius.nol.implementation.v1">;
2077
+ id: z.ZodString;
2078
+ binding: z.ZodObject<{
2079
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
2080
+ id: z.ZodString;
2081
+ backend: z.ZodEnum<{
2082
+ other: "other";
2083
+ gne: "gne";
2084
+ llama_cpp: "llama_cpp";
2085
+ transformers: "transformers";
2086
+ nnsight: "nnsight";
2087
+ ollama: "ollama";
2088
+ vllm: "vllm";
2089
+ }>;
2090
+ modelDigest: z.ZodString;
2091
+ architectureMapDigest: z.ZodString;
2092
+ runtimeBuildDigest: z.ZodString;
2093
+ dependencyLockDigest: z.ZodString;
2094
+ tokenizerDigest: z.ZodString;
2095
+ chatTemplateDigest: z.ZodString;
2096
+ contextLimit: z.ZodNumber;
2097
+ }, z.core.$strict>;
2098
+ capabilitiesDigest: z.ZodString;
2099
+ recipeDigest: z.ZodOptional<z.ZodString>;
2100
+ operations: z.ZodArray<z.ZodObject<{
2101
+ operationId: z.ZodString;
2102
+ operation: z.ZodEnum<{
2103
+ NEURON_ADD: "NEURON_ADD";
2104
+ NEURON_GAIN: "NEURON_GAIN";
2105
+ NEURON_REPLACE: "NEURON_REPLACE";
2106
+ RESIDUAL_ADD: "RESIDUAL_ADD";
2107
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
2108
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
2109
+ EXPERT_GAIN: "EXPERT_GAIN";
2110
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
2111
+ WEIGHT_ADD: "WEIGHT_ADD";
2112
+ WEIGHT_GAIN: "WEIGHT_GAIN";
2113
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
2114
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
2115
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
2116
+ WEIGHT_MERGE: "WEIGHT_MERGE";
2117
+ }>;
2118
+ siteId: z.ZodString;
2119
+ implementation: z.ZodString;
2120
+ implementationDigest: z.ZodString;
2121
+ equivalence: z.ZodEnum<{
2122
+ exact: "exact";
2123
+ validated_equivalent: "validated_equivalent";
2124
+ approximate: "approximate";
2125
+ }>;
2126
+ validationReceiptDigest: z.ZodOptional<z.ZodString>;
2127
+ calibrationId: z.ZodOptional<z.ZodString>;
2128
+ tokenScope: z.ZodDiscriminatedUnion<[
2129
+ z.ZodObject<{
2130
+ kind: z.ZodLiteral<"all">;
2131
+ }, z.core.$strict>,
2132
+ z.ZodObject<{
2133
+ kind: z.ZodLiteral<"prompt">;
2134
+ }, z.core.$strict>,
2135
+ z.ZodObject<{
2136
+ kind: z.ZodLiteral<"generated">;
2137
+ }, z.core.$strict>,
2138
+ z.ZodObject<{
2139
+ kind: z.ZodLiteral<"positions">;
2140
+ positions: z.ZodArray<z.ZodNumber>;
2141
+ }, z.core.$strict>
2142
+ ], "kind">;
2143
+ editedPositions: z.ZodObject<{
2144
+ uri: z.ZodString;
2145
+ sha256: z.ZodString;
2146
+ sizeBytes: z.ZodNumber;
2147
+ mediaType: z.ZodString;
2148
+ }, z.core.$strict>;
2149
+ }, z.core.$strict>>;
2150
+ activeAdapters: z.ZodArray<z.ZodObject<{
2151
+ artifact: z.ZodObject<{
2152
+ uri: z.ZodString;
2153
+ sha256: z.ZodString;
2154
+ sizeBytes: z.ZodNumber;
2155
+ mediaType: z.ZodString;
2156
+ }, z.core.$strict>;
2157
+ scale: z.ZodNumber;
2158
+ }, z.core.$strict>>;
2159
+ cache: z.ZodObject<{
2160
+ mode: z.ZodEnum<{
2161
+ cold: "cold";
2162
+ isolated: "isolated";
2163
+ }>;
2164
+ keyDigest: z.ZodString;
2165
+ }, z.core.$strict>;
2166
+ reset: z.ZodDiscriminatedUnion<[
2167
+ z.ZodObject<{
2168
+ status: z.ZodLiteral<"verified">;
2169
+ proof: z.ZodObject<{
2170
+ uri: z.ZodString;
2171
+ sha256: z.ZodString;
2172
+ sizeBytes: z.ZodNumber;
2173
+ mediaType: z.ZodString;
2174
+ }, z.core.$strict>;
2175
+ }, z.core.$strict>,
2176
+ z.ZodObject<{
2177
+ status: z.ZodLiteral<"failed">;
2178
+ reason: z.ZodString;
2179
+ }, z.core.$strict>,
2180
+ z.ZodObject<{
2181
+ status: z.ZodLiteral<"not_attempted">;
2182
+ reason: z.ZodString;
2183
+ }, z.core.$strict>
2184
+ ], "status">;
2185
+ observedArtifacts: z.ZodArray<z.ZodObject<{
2186
+ artifact: z.ZodObject<{
2187
+ uri: z.ZodString;
2188
+ sha256: z.ZodString;
2189
+ sizeBytes: z.ZodNumber;
2190
+ mediaType: z.ZodString;
2191
+ }, z.core.$strict>;
2192
+ shape: z.ZodArray<z.ZodNumber>;
2193
+ dtype: z.ZodEnum<{
2194
+ f16: "f16";
2195
+ bf16: "bf16";
2196
+ f32: "f32";
2197
+ f64: "f64";
2198
+ i8: "i8";
2199
+ i16: "i16";
2200
+ i32: "i32";
2201
+ i64: "i64";
2202
+ u8: "u8";
2203
+ bool: "bool";
2204
+ quantized: "quantized";
2205
+ }>;
2206
+ }, z.core.$strict>>;
2207
+ recordedAt: z.ZodString;
2208
+ }, z.core.$strict>>;
2209
+ performance: z.ZodOptional<z.ZodObject<{
2210
+ uri: z.ZodString;
2211
+ sha256: z.ZodString;
2212
+ sizeBytes: z.ZodNumber;
2213
+ mediaType: z.ZodString;
2214
+ }, z.core.$strict>>;
2215
+ }, z.core.$strict>;
2216
+ export type NolTrialResult = z.infer<typeof NolTrialResultSchema>;
2217
+ export declare const NolComparisonReportSchema: z.ZodObject<{
2218
+ schema: z.ZodLiteral<"omnius.nol.comparison.v1">;
2219
+ id: z.ZodString;
2220
+ comparisonDigest: z.ZodString;
2221
+ experimentDigest: z.ZodString;
2222
+ baselineVariantDigest: z.ZodString;
2223
+ candidateVariantDigest: z.ZodString;
2224
+ counts: z.ZodObject<{
2225
+ pairs: z.ZodNumber;
2226
+ tasks: z.ZodNumber;
2227
+ clusters: z.ZodNumber;
2228
+ repetitions: z.ZodNumber;
2229
+ invalidPairs: z.ZodNumber;
2230
+ }, z.core.$strict>;
2231
+ metricEffects: z.ZodArray<z.ZodObject<{
2232
+ metricId: z.ZodString;
2233
+ baselineMean: z.ZodNumber;
2234
+ candidateMean: z.ZodNumber;
2235
+ effect: z.ZodNumber;
2236
+ interval: z.ZodObject<{
2237
+ lower: z.ZodNumber;
2238
+ upper: z.ZodNumber;
2239
+ level: z.ZodNumber;
2240
+ }, z.core.$strict>;
2241
+ }, z.core.$strict>>;
2242
+ guardResults: z.ZodArray<z.ZodObject<{
2243
+ guardId: z.ZodString;
2244
+ verdict: z.ZodEnum<{
2245
+ failed: "failed";
2246
+ inconclusive: "inconclusive";
2247
+ passed: "passed";
2248
+ }>;
2249
+ evidence: z.ZodObject<{
2250
+ uri: z.ZodString;
2251
+ sha256: z.ZodString;
2252
+ sizeBytes: z.ZodNumber;
2253
+ mediaType: z.ZodString;
2254
+ }, z.core.$strict>;
2255
+ }, z.core.$strict>>;
2256
+ tails: z.ZodArray<z.ZodObject<{
2257
+ metricId: z.ZodString;
2258
+ quantile: z.ZodNumber;
2259
+ baseline: z.ZodNumber;
2260
+ candidate: z.ZodNumber;
2261
+ }, z.core.$strict>>;
2262
+ frontierVariantDigests: z.ZodArray<z.ZodString>;
2263
+ rawResults: z.ZodObject<{
2264
+ uri: z.ZodString;
2265
+ sha256: z.ZodString;
2266
+ sizeBytes: z.ZodNumber;
2267
+ mediaType: z.ZodString;
2268
+ }, z.core.$strict>;
2269
+ verdict: z.ZodEnum<{
2270
+ failed: "failed";
2271
+ inconclusive: "inconclusive";
2272
+ passed: "passed";
2273
+ }>;
2274
+ recordedAt: z.ZodString;
2275
+ }, z.core.$strict>;
2276
+ export type NolComparisonReport = z.infer<typeof NolComparisonReportSchema>;
2277
+ export declare const NolValidationReceiptSchema: z.ZodObject<{
2278
+ schema: z.ZodLiteral<"omnius.nol.validation.v1">;
2279
+ id: z.ZodString;
2280
+ validationDigest: z.ZodString;
2281
+ experimentDigest: z.ZodString;
2282
+ variantDigest: z.ZodString;
2283
+ comparisonDigest: z.ZodString;
2284
+ finalTestDatasetDigest: z.ZodString;
2285
+ binding: z.ZodObject<{
2286
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
2287
+ id: z.ZodString;
2288
+ backend: z.ZodEnum<{
2289
+ other: "other";
2290
+ gne: "gne";
2291
+ llama_cpp: "llama_cpp";
2292
+ transformers: "transformers";
2293
+ nnsight: "nnsight";
2294
+ ollama: "ollama";
2295
+ vllm: "vllm";
2296
+ }>;
2297
+ modelDigest: z.ZodString;
2298
+ architectureMapDigest: z.ZodString;
2299
+ runtimeBuildDigest: z.ZodString;
2300
+ dependencyLockDigest: z.ZodString;
2301
+ tokenizerDigest: z.ZodString;
2302
+ chatTemplateDigest: z.ZodString;
2303
+ contextLimit: z.ZodNumber;
2304
+ }, z.core.$strict>;
2305
+ capabilitiesDigest: z.ZodString;
2306
+ gateResults: z.ZodArray<z.ZodObject<{
2307
+ id: z.ZodString;
2308
+ verdict: z.ZodEnum<{
2309
+ failed: "failed";
2310
+ inconclusive: "inconclusive";
2311
+ passed: "passed";
2312
+ }>;
2313
+ evidence: z.ZodArray<z.ZodObject<{
2314
+ uri: z.ZodString;
2315
+ sha256: z.ZodString;
2316
+ sizeBytes: z.ZodNumber;
2317
+ mediaType: z.ZodString;
2318
+ }, z.core.$strict>>;
2319
+ }, z.core.$strict>>;
2320
+ verdict: z.ZodEnum<{
2321
+ failed: "failed";
2322
+ inconclusive: "inconclusive";
2323
+ passed: "passed";
2324
+ }>;
2325
+ limitations: z.ZodArray<z.ZodString>;
2326
+ recordedAt: z.ZodString;
2327
+ }, z.core.$strict>;
2328
+ export type NolValidationReceipt = z.infer<typeof NolValidationReceiptSchema>;
2329
+ export declare const NolPromotionRecordSchema: z.ZodObject<{
2330
+ schema: z.ZodLiteral<"omnius.nol.promotion.v1">;
2331
+ id: z.ZodString;
2332
+ promotionDigest: z.ZodString;
2333
+ candidateVariantDigest: z.ZodString;
2334
+ validationDigest: z.ZodString;
2335
+ level: z.ZodEnum<{
2336
+ retain_recipe: "retain_recipe";
2337
+ export: "export";
2338
+ register: "register";
2339
+ activate: "activate";
2340
+ }>;
2341
+ targetBindingId: z.ZodString;
2342
+ previousVariantDigest: z.ZodString;
2343
+ transactionId: z.ZodString;
2344
+ authorization: z.ZodObject<{
2345
+ id: z.ZodString;
2346
+ actor: z.ZodString;
2347
+ scope: z.ZodEnum<{
2348
+ retain_recipe: "retain_recipe";
2349
+ export: "export";
2350
+ register: "register";
2351
+ activate: "activate";
2352
+ }>;
2353
+ variantDigest: z.ZodString;
2354
+ validationDigest: z.ZodString;
2355
+ authorizedAt: z.ZodString;
2356
+ expiresAt: z.ZodString;
2357
+ }, z.core.$strict>;
2358
+ status: z.ZodEnum<{
2359
+ failed: "failed";
2360
+ authorized: "authorized";
2361
+ activating: "activating";
2362
+ active: "active";
2363
+ rolled_back: "rolled_back";
2364
+ }>;
2365
+ rollback: z.ZodObject<{
2366
+ parentVariantDigest: z.ZodString;
2367
+ verified: z.ZodBoolean;
2368
+ proof: z.ZodOptional<z.ZodObject<{
2369
+ uri: z.ZodString;
2370
+ sha256: z.ZodString;
2371
+ sizeBytes: z.ZodNumber;
2372
+ mediaType: z.ZodString;
2373
+ }, z.core.$strict>>;
2374
+ }, z.core.$strict>;
2375
+ createdAt: z.ZodString;
2376
+ updatedAt: z.ZodString;
2377
+ }, z.core.$strict>;
2378
+ export type NolPromotionRecord = z.infer<typeof NolPromotionRecordSchema>;
2379
+ export declare const NolRecordSchema: z.ZodUnion<readonly [
2380
+ z.ZodObject<{
2381
+ schema: z.ZodLiteral<"omnius.nol.model.v1">;
2382
+ id: z.ZodString;
2383
+ modelDigest: z.ZodString;
2384
+ format: z.ZodEnum<{
2385
+ gguf: "gguf";
2386
+ safetensors: "safetensors";
2387
+ pytorch: "pytorch";
2388
+ hf: "hf";
2389
+ gguf_adapter: "gguf_adapter";
2390
+ safetensors_adapter: "safetensors_adapter";
2391
+ pytorch_adapter: "pytorch_adapter";
2392
+ lora: "lora";
2393
+ }>;
2394
+ files: z.ZodArray<z.ZodObject<{
2395
+ path: z.ZodString;
2396
+ role: z.ZodEnum<{
2397
+ weights: "weights";
2398
+ other: "other";
2399
+ tokenizer: "tokenizer";
2400
+ config: "config";
2401
+ chat_template: "chat_template";
2402
+ adapter: "adapter";
2403
+ }>;
2404
+ artifact: z.ZodObject<{
2405
+ uri: z.ZodString;
2406
+ sha256: z.ZodString;
2407
+ sizeBytes: z.ZodNumber;
2408
+ mediaType: z.ZodString;
2409
+ }, z.core.$strict>;
2410
+ }, z.core.$strict>>;
2411
+ parents: z.ZodArray<z.ZodObject<{
2412
+ modelDigest: z.ZodString;
2413
+ revision: z.ZodOptional<z.ZodString>;
2414
+ }, z.core.$strict>>;
2415
+ architecture: z.ZodObject<{
2416
+ family: z.ZodString;
2417
+ layers: z.ZodNumber;
2418
+ hiddenSize: z.ZodNumber;
2419
+ }, z.core.$strict>;
2420
+ architectureMapDigest: z.ZodString;
2421
+ tensorSites: z.ZodArray<z.ZodDiscriminatedUnion<[
2422
+ z.ZodObject<{
2423
+ id: z.ZodString;
2424
+ kind: z.ZodLiteral<"mlp_intermediate">;
2425
+ layer: z.ZodNumber;
2426
+ width: z.ZodNumber;
2427
+ }, z.core.$strict>,
2428
+ z.ZodObject<{
2429
+ id: z.ZodString;
2430
+ kind: z.ZodLiteral<"residual">;
2431
+ layer: z.ZodNumber;
2432
+ width: z.ZodNumber;
2433
+ }, z.core.$strict>,
2434
+ z.ZodObject<{
2435
+ id: z.ZodString;
2436
+ kind: z.ZodLiteral<"attention_head">;
2437
+ layer: z.ZodNumber;
2438
+ headCount: z.ZodNumber;
2439
+ width: z.ZodNumber;
2440
+ }, z.core.$strict>,
2441
+ z.ZodObject<{
2442
+ id: z.ZodString;
2443
+ kind: z.ZodLiteral<"expert_output">;
2444
+ layer: z.ZodNumber;
2445
+ expertCount: z.ZodNumber;
2446
+ width: z.ZodNumber;
2447
+ }, z.core.$strict>,
2448
+ z.ZodObject<{
2449
+ id: z.ZodString;
2450
+ kind: z.ZodLiteral<"router_logits">;
2451
+ layer: z.ZodNumber;
2452
+ expertCount: z.ZodNumber;
2453
+ }, z.core.$strict>,
2454
+ z.ZodObject<{
2455
+ id: z.ZodString;
2456
+ kind: z.ZodLiteral<"parameter">;
2457
+ name: z.ZodString;
2458
+ layer: z.ZodOptional<z.ZodNumber>;
2459
+ shape: z.ZodArray<z.ZodNumber>;
2460
+ dtype: z.ZodEnum<{
2461
+ f16: "f16";
2462
+ bf16: "bf16";
2463
+ f32: "f32";
2464
+ f64: "f64";
2465
+ i8: "i8";
2466
+ i16: "i16";
2467
+ i32: "i32";
2468
+ i64: "i64";
2469
+ u8: "u8";
2470
+ bool: "bool";
2471
+ quantized: "quantized";
2472
+ }>;
2473
+ role: z.ZodEnum<{
2474
+ ffn: "ffn";
2475
+ attention: "attention";
2476
+ embedding: "embedding";
2477
+ router: "router";
2478
+ bias: "bias";
2479
+ norm: "norm";
2480
+ other: "other";
2481
+ }>;
2482
+ }, z.core.$strict>
2483
+ ], "kind">>;
2484
+ quantization: z.ZodObject<{
2485
+ method: z.ZodString;
2486
+ bits: z.ZodOptional<z.ZodNumber>;
2487
+ groupSize: z.ZodOptional<z.ZodNumber>;
2488
+ configDigest: z.ZodOptional<z.ZodString>;
2489
+ }, z.core.$strict>;
2490
+ tokenizerDigest: z.ZodString;
2491
+ specialTokens: z.ZodRecord<z.ZodString, z.ZodNumber>;
2492
+ chatTemplateDigest: z.ZodString;
2493
+ contextLength: z.ZodNumber;
2494
+ }, z.core.$strict>,
2495
+ z.ZodObject<{
2496
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
2497
+ id: z.ZodString;
2498
+ backend: z.ZodEnum<{
2499
+ other: "other";
2500
+ gne: "gne";
2501
+ llama_cpp: "llama_cpp";
2502
+ transformers: "transformers";
2503
+ nnsight: "nnsight";
2504
+ ollama: "ollama";
2505
+ vllm: "vllm";
2506
+ }>;
2507
+ modelDigest: z.ZodString;
2508
+ architectureMapDigest: z.ZodString;
2509
+ runtimeBuildDigest: z.ZodString;
2510
+ dependencyLockDigest: z.ZodString;
2511
+ tokenizerDigest: z.ZodString;
2512
+ chatTemplateDigest: z.ZodString;
2513
+ contextLimit: z.ZodNumber;
2514
+ }, z.core.$strict>,
2515
+ z.ZodObject<{
2516
+ schema: z.ZodLiteral<"omnius.nol.calibration.v1">;
2517
+ id: z.ZodString;
2518
+ modelDigest: z.ZodString;
2519
+ architectureMapDigest: z.ZodString;
2520
+ units: z.ZodEnum<{
2521
+ raw: "raw";
2522
+ residual_norm: "residual_norm";
2523
+ activation_std: "activation_std";
2524
+ }>;
2525
+ definitionDigest: z.ZodString;
2526
+ corpusDigest: z.ZodOptional<z.ZodString>;
2527
+ tokenPositionsDigest: z.ZodOptional<z.ZodString>;
2528
+ statistics: z.ZodOptional<z.ZodObject<{
2529
+ uri: z.ZodString;
2530
+ sha256: z.ZodString;
2531
+ sizeBytes: z.ZodNumber;
2532
+ mediaType: z.ZodString;
2533
+ }, z.core.$strict>>;
2534
+ siteScales: z.ZodArray<z.ZodObject<{
2535
+ siteId: z.ZodString;
2536
+ scale: z.ZodNumber;
2537
+ }, z.core.$strict>>;
2538
+ }, z.core.$strict>,
2539
+ z.ZodObject<{
2540
+ schema: z.ZodLiteral<"omnius.nol.recipe.v1">;
2541
+ id: z.ZodString;
2542
+ revision: z.ZodNumber;
2543
+ recipeDigest: z.ZodString;
2544
+ modelDigest: z.ZodString;
2545
+ architectureMapDigest: z.ZodString;
2546
+ approximateLoweringAcknowledged: z.ZodOptional<z.ZodLiteral<true>>;
2547
+ parentModelDigests: z.ZodArray<z.ZodString>;
2548
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[
2549
+ z.ZodObject<{
2550
+ units: z.ZodEnum<{
2551
+ raw: "raw";
2552
+ residual_norm: "residual_norm";
2553
+ activation_std: "activation_std";
2554
+ }>;
2555
+ calibrationId: z.ZodOptional<z.ZodString>;
2556
+ operation: z.ZodLiteral<"NEURON_ADD">;
2557
+ neuron: z.ZodNumber;
2558
+ amount: z.ZodNumber;
2559
+ id: z.ZodString;
2560
+ siteId: z.ZodString;
2561
+ tokenScope: z.ZodDiscriminatedUnion<[
2562
+ z.ZodObject<{
2563
+ kind: z.ZodLiteral<"all">;
2564
+ }, z.core.$strict>,
2565
+ z.ZodObject<{
2566
+ kind: z.ZodLiteral<"prompt">;
2567
+ }, z.core.$strict>,
2568
+ z.ZodObject<{
2569
+ kind: z.ZodLiteral<"generated">;
2570
+ }, z.core.$strict>,
2571
+ z.ZodObject<{
2572
+ kind: z.ZodLiteral<"positions">;
2573
+ positions: z.ZodArray<z.ZodNumber>;
2574
+ }, z.core.$strict>
2575
+ ], "kind">;
2576
+ }, z.core.$strict>,
2577
+ z.ZodObject<{
2578
+ operation: z.ZodLiteral<"NEURON_GAIN">;
2579
+ neuron: z.ZodNumber;
2580
+ factor: z.ZodNumber;
2581
+ id: z.ZodString;
2582
+ siteId: z.ZodString;
2583
+ tokenScope: z.ZodDiscriminatedUnion<[
2584
+ z.ZodObject<{
2585
+ kind: z.ZodLiteral<"all">;
2586
+ }, z.core.$strict>,
2587
+ z.ZodObject<{
2588
+ kind: z.ZodLiteral<"prompt">;
2589
+ }, z.core.$strict>,
2590
+ z.ZodObject<{
2591
+ kind: z.ZodLiteral<"generated">;
2592
+ }, z.core.$strict>,
2593
+ z.ZodObject<{
2594
+ kind: z.ZodLiteral<"positions">;
2595
+ positions: z.ZodArray<z.ZodNumber>;
2596
+ }, z.core.$strict>
2597
+ ], "kind">;
2598
+ }, z.core.$strict>,
2599
+ z.ZodObject<{
2600
+ units: z.ZodEnum<{
2601
+ raw: "raw";
2602
+ residual_norm: "residual_norm";
2603
+ activation_std: "activation_std";
2604
+ }>;
2605
+ calibrationId: z.ZodOptional<z.ZodString>;
2606
+ operation: z.ZodLiteral<"NEURON_REPLACE">;
2607
+ neuron: z.ZodNumber;
2608
+ replacement: z.ZodDiscriminatedUnion<[
2609
+ z.ZodObject<{
2610
+ kind: z.ZodLiteral<"scalar">;
2611
+ value: z.ZodNumber;
2612
+ }, z.core.$strict>,
2613
+ z.ZodObject<{
2614
+ kind: z.ZodLiteral<"tensor">;
2615
+ tensor: z.ZodObject<{
2616
+ artifact: z.ZodObject<{
2617
+ uri: z.ZodString;
2618
+ sha256: z.ZodString;
2619
+ sizeBytes: z.ZodNumber;
2620
+ mediaType: z.ZodString;
2621
+ }, z.core.$strict>;
2622
+ shape: z.ZodArray<z.ZodNumber>;
2623
+ dtype: z.ZodEnum<{
2624
+ f16: "f16";
2625
+ bf16: "bf16";
2626
+ f32: "f32";
2627
+ f64: "f64";
2628
+ i8: "i8";
2629
+ i16: "i16";
2630
+ i32: "i32";
2631
+ i64: "i64";
2632
+ u8: "u8";
2633
+ bool: "bool";
2634
+ quantized: "quantized";
2635
+ }>;
2636
+ }, z.core.$strict>;
2637
+ }, z.core.$strict>
2638
+ ], "kind">;
2639
+ id: z.ZodString;
2640
+ siteId: z.ZodString;
2641
+ tokenScope: z.ZodDiscriminatedUnion<[
2642
+ z.ZodObject<{
2643
+ kind: z.ZodLiteral<"all">;
2644
+ }, z.core.$strict>,
2645
+ z.ZodObject<{
2646
+ kind: z.ZodLiteral<"prompt">;
2647
+ }, z.core.$strict>,
2648
+ z.ZodObject<{
2649
+ kind: z.ZodLiteral<"generated">;
2650
+ }, z.core.$strict>,
2651
+ z.ZodObject<{
2652
+ kind: z.ZodLiteral<"positions">;
2653
+ positions: z.ZodArray<z.ZodNumber>;
2654
+ }, z.core.$strict>
2655
+ ], "kind">;
2656
+ }, z.core.$strict>,
2657
+ z.ZodObject<{
2658
+ units: z.ZodEnum<{
2659
+ raw: "raw";
2660
+ residual_norm: "residual_norm";
2661
+ activation_std: "activation_std";
2662
+ }>;
2663
+ calibrationId: z.ZodOptional<z.ZodString>;
2664
+ operation: z.ZodLiteral<"RESIDUAL_ADD">;
2665
+ vector: z.ZodObject<{
2666
+ artifact: z.ZodObject<{
2667
+ uri: z.ZodString;
2668
+ sha256: z.ZodString;
2669
+ sizeBytes: z.ZodNumber;
2670
+ mediaType: z.ZodString;
2671
+ }, z.core.$strict>;
2672
+ shape: z.ZodArray<z.ZodNumber>;
2673
+ dtype: z.ZodEnum<{
2674
+ f16: "f16";
2675
+ bf16: "bf16";
2676
+ f32: "f32";
2677
+ f64: "f64";
2678
+ i8: "i8";
2679
+ i16: "i16";
2680
+ i32: "i32";
2681
+ i64: "i64";
2682
+ u8: "u8";
2683
+ bool: "bool";
2684
+ quantized: "quantized";
2685
+ }>;
2686
+ }, z.core.$strict>;
2687
+ scale: z.ZodNumber;
2688
+ id: z.ZodString;
2689
+ siteId: z.ZodString;
2690
+ tokenScope: z.ZodDiscriminatedUnion<[
2691
+ z.ZodObject<{
2692
+ kind: z.ZodLiteral<"all">;
2693
+ }, z.core.$strict>,
2694
+ z.ZodObject<{
2695
+ kind: z.ZodLiteral<"prompt">;
2696
+ }, z.core.$strict>,
2697
+ z.ZodObject<{
2698
+ kind: z.ZodLiteral<"generated">;
2699
+ }, z.core.$strict>,
2700
+ z.ZodObject<{
2701
+ kind: z.ZodLiteral<"positions">;
2702
+ positions: z.ZodArray<z.ZodNumber>;
2703
+ }, z.core.$strict>
2704
+ ], "kind">;
2705
+ }, z.core.$strict>,
2706
+ z.ZodObject<{
2707
+ operation: z.ZodLiteral<"DIRECTION_PROJECT">;
2708
+ basis: z.ZodObject<{
2709
+ artifact: z.ZodObject<{
2710
+ uri: z.ZodString;
2711
+ sha256: z.ZodString;
2712
+ sizeBytes: z.ZodNumber;
2713
+ mediaType: z.ZodString;
2714
+ }, z.core.$strict>;
2715
+ shape: z.ZodArray<z.ZodNumber>;
2716
+ dtype: z.ZodEnum<{
2717
+ f16: "f16";
2718
+ bf16: "bf16";
2719
+ f32: "f32";
2720
+ f64: "f64";
2721
+ i8: "i8";
2722
+ i16: "i16";
2723
+ i32: "i32";
2724
+ i64: "i64";
2725
+ u8: "u8";
2726
+ bool: "bool";
2727
+ quantized: "quantized";
2728
+ }>;
2729
+ }, z.core.$strict>;
2730
+ strength: z.ZodNumber;
2731
+ normalization: z.ZodLiteral<"orthonormal">;
2732
+ id: z.ZodString;
2733
+ siteId: z.ZodString;
2734
+ tokenScope: z.ZodDiscriminatedUnion<[
2735
+ z.ZodObject<{
2736
+ kind: z.ZodLiteral<"all">;
2737
+ }, z.core.$strict>,
2738
+ z.ZodObject<{
2739
+ kind: z.ZodLiteral<"prompt">;
2740
+ }, z.core.$strict>,
2741
+ z.ZodObject<{
2742
+ kind: z.ZodLiteral<"generated">;
2743
+ }, z.core.$strict>,
2744
+ z.ZodObject<{
2745
+ kind: z.ZodLiteral<"positions">;
2746
+ positions: z.ZodArray<z.ZodNumber>;
2747
+ }, z.core.$strict>
2748
+ ], "kind">;
2749
+ }, z.core.$strict>,
2750
+ z.ZodObject<{
2751
+ operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">;
2752
+ head: z.ZodNumber;
2753
+ factor: z.ZodNumber;
2754
+ id: z.ZodString;
2755
+ siteId: z.ZodString;
2756
+ tokenScope: z.ZodDiscriminatedUnion<[
2757
+ z.ZodObject<{
2758
+ kind: z.ZodLiteral<"all">;
2759
+ }, z.core.$strict>,
2760
+ z.ZodObject<{
2761
+ kind: z.ZodLiteral<"prompt">;
2762
+ }, z.core.$strict>,
2763
+ z.ZodObject<{
2764
+ kind: z.ZodLiteral<"generated">;
2765
+ }, z.core.$strict>,
2766
+ z.ZodObject<{
2767
+ kind: z.ZodLiteral<"positions">;
2768
+ positions: z.ZodArray<z.ZodNumber>;
2769
+ }, z.core.$strict>
2770
+ ], "kind">;
2771
+ }, z.core.$strict>,
2772
+ z.ZodObject<{
2773
+ operation: z.ZodLiteral<"EXPERT_GAIN">;
2774
+ expert: z.ZodNumber;
2775
+ factor: z.ZodNumber;
2776
+ id: z.ZodString;
2777
+ siteId: z.ZodString;
2778
+ tokenScope: z.ZodDiscriminatedUnion<[
2779
+ z.ZodObject<{
2780
+ kind: z.ZodLiteral<"all">;
2781
+ }, z.core.$strict>,
2782
+ z.ZodObject<{
2783
+ kind: z.ZodLiteral<"prompt">;
2784
+ }, z.core.$strict>,
2785
+ z.ZodObject<{
2786
+ kind: z.ZodLiteral<"generated">;
2787
+ }, z.core.$strict>,
2788
+ z.ZodObject<{
2789
+ kind: z.ZodLiteral<"positions">;
2790
+ positions: z.ZodArray<z.ZodNumber>;
2791
+ }, z.core.$strict>
2792
+ ], "kind">;
2793
+ }, z.core.$strict>,
2794
+ z.ZodObject<{
2795
+ units: z.ZodEnum<{
2796
+ raw: "raw";
2797
+ residual_norm: "residual_norm";
2798
+ activation_std: "activation_std";
2799
+ }>;
2800
+ calibrationId: z.ZodOptional<z.ZodString>;
2801
+ operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">;
2802
+ expert: z.ZodNumber;
2803
+ amount: z.ZodNumber;
2804
+ id: z.ZodString;
2805
+ siteId: z.ZodString;
2806
+ tokenScope: z.ZodDiscriminatedUnion<[
2807
+ z.ZodObject<{
2808
+ kind: z.ZodLiteral<"all">;
2809
+ }, z.core.$strict>,
2810
+ z.ZodObject<{
2811
+ kind: z.ZodLiteral<"prompt">;
2812
+ }, z.core.$strict>,
2813
+ z.ZodObject<{
2814
+ kind: z.ZodLiteral<"generated">;
2815
+ }, z.core.$strict>,
2816
+ z.ZodObject<{
2817
+ kind: z.ZodLiteral<"positions">;
2818
+ positions: z.ZodArray<z.ZodNumber>;
2819
+ }, z.core.$strict>
2820
+ ], "kind">;
2821
+ }, z.core.$strict>,
2822
+ z.ZodObject<{
2823
+ operation: z.ZodLiteral<"WEIGHT_ADD">;
2824
+ delta: z.ZodDiscriminatedUnion<[
2825
+ z.ZodObject<{
2826
+ kind: z.ZodLiteral<"scalar">;
2827
+ value: z.ZodNumber;
2828
+ }, z.core.$strict>,
2829
+ z.ZodObject<{
2830
+ kind: z.ZodLiteral<"tensor">;
2831
+ tensor: z.ZodObject<{
2832
+ artifact: z.ZodObject<{
2833
+ uri: z.ZodString;
2834
+ sha256: z.ZodString;
2835
+ sizeBytes: z.ZodNumber;
2836
+ mediaType: z.ZodString;
2837
+ }, z.core.$strict>;
2838
+ shape: z.ZodArray<z.ZodNumber>;
2839
+ dtype: z.ZodEnum<{
2840
+ f16: "f16";
2841
+ bf16: "bf16";
2842
+ f32: "f32";
2843
+ f64: "f64";
2844
+ i8: "i8";
2845
+ i16: "i16";
2846
+ i32: "i32";
2847
+ i64: "i64";
2848
+ u8: "u8";
2849
+ bool: "bool";
2850
+ quantized: "quantized";
2851
+ }>;
2852
+ }, z.core.$strict>;
2853
+ }, z.core.$strict>
2854
+ ], "kind">;
2855
+ id: z.ZodString;
2856
+ siteId: z.ZodString;
2857
+ tokenScope: z.ZodDiscriminatedUnion<[
2858
+ z.ZodObject<{
2859
+ kind: z.ZodLiteral<"all">;
2860
+ }, z.core.$strict>,
2861
+ z.ZodObject<{
2862
+ kind: z.ZodLiteral<"prompt">;
2863
+ }, z.core.$strict>,
2864
+ z.ZodObject<{
2865
+ kind: z.ZodLiteral<"generated">;
2866
+ }, z.core.$strict>,
2867
+ z.ZodObject<{
2868
+ kind: z.ZodLiteral<"positions">;
2869
+ positions: z.ZodArray<z.ZodNumber>;
2870
+ }, z.core.$strict>
2871
+ ], "kind">;
2872
+ }, z.core.$strict>,
2873
+ z.ZodObject<{
2874
+ operation: z.ZodLiteral<"WEIGHT_GAIN">;
2875
+ gain: z.ZodDiscriminatedUnion<[
2876
+ z.ZodObject<{
2877
+ kind: z.ZodLiteral<"scalar">;
2878
+ factor: z.ZodNumber;
2879
+ }, z.core.$strict>,
2880
+ z.ZodObject<{
2881
+ kind: z.ZodLiteral<"axis">;
2882
+ axis: z.ZodNumber;
2883
+ factors: z.ZodObject<{
2884
+ artifact: z.ZodObject<{
2885
+ uri: z.ZodString;
2886
+ sha256: z.ZodString;
2887
+ sizeBytes: z.ZodNumber;
2888
+ mediaType: z.ZodString;
2889
+ }, z.core.$strict>;
2890
+ shape: z.ZodArray<z.ZodNumber>;
2891
+ dtype: z.ZodEnum<{
2892
+ f16: "f16";
2893
+ bf16: "bf16";
2894
+ f32: "f32";
2895
+ f64: "f64";
2896
+ i8: "i8";
2897
+ i16: "i16";
2898
+ i32: "i32";
2899
+ i64: "i64";
2900
+ u8: "u8";
2901
+ bool: "bool";
2902
+ quantized: "quantized";
2903
+ }>;
2904
+ }, z.core.$strict>;
2905
+ }, z.core.$strict>
2906
+ ], "kind">;
2907
+ id: z.ZodString;
2908
+ siteId: z.ZodString;
2909
+ tokenScope: z.ZodDiscriminatedUnion<[
2910
+ z.ZodObject<{
2911
+ kind: z.ZodLiteral<"all">;
2912
+ }, z.core.$strict>,
2913
+ z.ZodObject<{
2914
+ kind: z.ZodLiteral<"prompt">;
2915
+ }, z.core.$strict>,
2916
+ z.ZodObject<{
2917
+ kind: z.ZodLiteral<"generated">;
2918
+ }, z.core.$strict>,
2919
+ z.ZodObject<{
2920
+ kind: z.ZodLiteral<"positions">;
2921
+ positions: z.ZodArray<z.ZodNumber>;
2922
+ }, z.core.$strict>
2923
+ ], "kind">;
2924
+ }, z.core.$strict>,
2925
+ z.ZodObject<{
2926
+ operation: z.ZodLiteral<"WEIGHT_REPLACE">;
2927
+ replacement: z.ZodObject<{
2928
+ artifact: z.ZodObject<{
2929
+ uri: z.ZodString;
2930
+ sha256: z.ZodString;
2931
+ sizeBytes: z.ZodNumber;
2932
+ mediaType: z.ZodString;
2933
+ }, z.core.$strict>;
2934
+ shape: z.ZodArray<z.ZodNumber>;
2935
+ dtype: z.ZodEnum<{
2936
+ f16: "f16";
2937
+ bf16: "bf16";
2938
+ f32: "f32";
2939
+ f64: "f64";
2940
+ i8: "i8";
2941
+ i16: "i16";
2942
+ i32: "i32";
2943
+ i64: "i64";
2944
+ u8: "u8";
2945
+ bool: "bool";
2946
+ quantized: "quantized";
2947
+ }>;
2948
+ }, z.core.$strict>;
2949
+ id: z.ZodString;
2950
+ siteId: z.ZodString;
2951
+ tokenScope: z.ZodDiscriminatedUnion<[
2952
+ z.ZodObject<{
2953
+ kind: z.ZodLiteral<"all">;
2954
+ }, z.core.$strict>,
2955
+ z.ZodObject<{
2956
+ kind: z.ZodLiteral<"prompt">;
2957
+ }, z.core.$strict>,
2958
+ z.ZodObject<{
2959
+ kind: z.ZodLiteral<"generated">;
2960
+ }, z.core.$strict>,
2961
+ z.ZodObject<{
2962
+ kind: z.ZodLiteral<"positions">;
2963
+ positions: z.ZodArray<z.ZodNumber>;
2964
+ }, z.core.$strict>
2965
+ ], "kind">;
2966
+ }, z.core.$strict>,
2967
+ z.ZodObject<{
2968
+ operation: z.ZodLiteral<"WEIGHT_PROJECT">;
2969
+ side: z.ZodEnum<{
2970
+ left: "left";
2971
+ right: "right";
2972
+ }>;
2973
+ basis: z.ZodObject<{
2974
+ artifact: z.ZodObject<{
2975
+ uri: z.ZodString;
2976
+ sha256: z.ZodString;
2977
+ sizeBytes: z.ZodNumber;
2978
+ mediaType: z.ZodString;
2979
+ }, z.core.$strict>;
2980
+ shape: z.ZodArray<z.ZodNumber>;
2981
+ dtype: z.ZodEnum<{
2982
+ f16: "f16";
2983
+ bf16: "bf16";
2984
+ f32: "f32";
2985
+ f64: "f64";
2986
+ i8: "i8";
2987
+ i16: "i16";
2988
+ i32: "i32";
2989
+ i64: "i64";
2990
+ u8: "u8";
2991
+ bool: "bool";
2992
+ quantized: "quantized";
2993
+ }>;
2994
+ }, z.core.$strict>;
2995
+ strength: z.ZodNumber;
2996
+ normalization: z.ZodLiteral<"orthonormal">;
2997
+ id: z.ZodString;
2998
+ siteId: z.ZodString;
2999
+ tokenScope: z.ZodDiscriminatedUnion<[
3000
+ z.ZodObject<{
3001
+ kind: z.ZodLiteral<"all">;
3002
+ }, z.core.$strict>,
3003
+ z.ZodObject<{
3004
+ kind: z.ZodLiteral<"prompt">;
3005
+ }, z.core.$strict>,
3006
+ z.ZodObject<{
3007
+ kind: z.ZodLiteral<"generated">;
3008
+ }, z.core.$strict>,
3009
+ z.ZodObject<{
3010
+ kind: z.ZodLiteral<"positions">;
3011
+ positions: z.ZodArray<z.ZodNumber>;
3012
+ }, z.core.$strict>
3013
+ ], "kind">;
3014
+ }, z.core.$strict>,
3015
+ z.ZodObject<{
3016
+ operation: z.ZodLiteral<"LOW_RANK_UPDATE">;
3017
+ a: z.ZodObject<{
3018
+ artifact: z.ZodObject<{
3019
+ uri: z.ZodString;
3020
+ sha256: z.ZodString;
3021
+ sizeBytes: z.ZodNumber;
3022
+ mediaType: z.ZodString;
3023
+ }, z.core.$strict>;
3024
+ shape: z.ZodArray<z.ZodNumber>;
3025
+ dtype: z.ZodEnum<{
3026
+ f16: "f16";
3027
+ bf16: "bf16";
3028
+ f32: "f32";
3029
+ f64: "f64";
3030
+ i8: "i8";
3031
+ i16: "i16";
3032
+ i32: "i32";
3033
+ i64: "i64";
3034
+ u8: "u8";
3035
+ bool: "bool";
3036
+ quantized: "quantized";
3037
+ }>;
3038
+ }, z.core.$strict>;
3039
+ b: z.ZodObject<{
3040
+ artifact: z.ZodObject<{
3041
+ uri: z.ZodString;
3042
+ sha256: z.ZodString;
3043
+ sizeBytes: z.ZodNumber;
3044
+ mediaType: z.ZodString;
3045
+ }, z.core.$strict>;
3046
+ shape: z.ZodArray<z.ZodNumber>;
3047
+ dtype: z.ZodEnum<{
3048
+ f16: "f16";
3049
+ bf16: "bf16";
3050
+ f32: "f32";
3051
+ f64: "f64";
3052
+ i8: "i8";
3053
+ i16: "i16";
3054
+ i32: "i32";
3055
+ i64: "i64";
3056
+ u8: "u8";
3057
+ bool: "bool";
3058
+ quantized: "quantized";
3059
+ }>;
3060
+ }, z.core.$strict>;
3061
+ rank: z.ZodNumber;
3062
+ alpha: z.ZodNumber;
3063
+ scale: z.ZodNumber;
3064
+ scaling: z.ZodLiteral<"alpha_over_rank">;
3065
+ id: z.ZodString;
3066
+ siteId: z.ZodString;
3067
+ tokenScope: z.ZodDiscriminatedUnion<[
3068
+ z.ZodObject<{
3069
+ kind: z.ZodLiteral<"all">;
3070
+ }, z.core.$strict>,
3071
+ z.ZodObject<{
3072
+ kind: z.ZodLiteral<"prompt">;
3073
+ }, z.core.$strict>,
3074
+ z.ZodObject<{
3075
+ kind: z.ZodLiteral<"generated">;
3076
+ }, z.core.$strict>,
3077
+ z.ZodObject<{
3078
+ kind: z.ZodLiteral<"positions">;
3079
+ positions: z.ZodArray<z.ZodNumber>;
3080
+ }, z.core.$strict>
3081
+ ], "kind">;
3082
+ }, z.core.$strict>,
3083
+ z.ZodObject<{
3084
+ operation: z.ZodLiteral<"WEIGHT_MERGE">;
3085
+ sources: z.ZodArray<z.ZodObject<{
3086
+ modelDigest: z.ZodString;
3087
+ siteId: z.ZodString;
3088
+ weight: z.ZodNumber;
3089
+ }, z.core.$strict>>;
3090
+ id: z.ZodString;
3091
+ siteId: z.ZodString;
3092
+ tokenScope: z.ZodDiscriminatedUnion<[
3093
+ z.ZodObject<{
3094
+ kind: z.ZodLiteral<"all">;
3095
+ }, z.core.$strict>,
3096
+ z.ZodObject<{
3097
+ kind: z.ZodLiteral<"prompt">;
3098
+ }, z.core.$strict>,
3099
+ z.ZodObject<{
3100
+ kind: z.ZodLiteral<"generated">;
3101
+ }, z.core.$strict>,
3102
+ z.ZodObject<{
3103
+ kind: z.ZodLiteral<"positions">;
3104
+ positions: z.ZodArray<z.ZodNumber>;
3105
+ }, z.core.$strict>
3106
+ ], "kind">;
3107
+ }, z.core.$strict>
3108
+ ], "operation">>;
3109
+ calibrations: z.ZodArray<z.ZodObject<{
3110
+ schema: z.ZodLiteral<"omnius.nol.calibration.v1">;
3111
+ id: z.ZodString;
3112
+ modelDigest: z.ZodString;
3113
+ architectureMapDigest: z.ZodString;
3114
+ units: z.ZodEnum<{
3115
+ raw: "raw";
3116
+ residual_norm: "residual_norm";
3117
+ activation_std: "activation_std";
3118
+ }>;
3119
+ definitionDigest: z.ZodString;
3120
+ corpusDigest: z.ZodOptional<z.ZodString>;
3121
+ tokenPositionsDigest: z.ZodOptional<z.ZodString>;
3122
+ statistics: z.ZodOptional<z.ZodObject<{
3123
+ uri: z.ZodString;
3124
+ sha256: z.ZodString;
3125
+ sizeBytes: z.ZodNumber;
3126
+ mediaType: z.ZodString;
3127
+ }, z.core.$strict>>;
3128
+ siteScales: z.ZodArray<z.ZodObject<{
3129
+ siteId: z.ZodString;
3130
+ scale: z.ZodNumber;
3131
+ }, z.core.$strict>>;
3132
+ }, z.core.$strict>>;
3133
+ createdAt: z.ZodString;
3134
+ provenance: z.ZodArray<z.ZodObject<{
3135
+ source: z.ZodString;
3136
+ uri: z.ZodOptional<z.ZodString>;
3137
+ sourceDigest: z.ZodOptional<z.ZodString>;
3138
+ license: z.ZodOptional<z.ZodString>;
3139
+ artifact: z.ZodOptional<z.ZodObject<{
3140
+ uri: z.ZodString;
3141
+ sha256: z.ZodString;
3142
+ sizeBytes: z.ZodNumber;
3143
+ mediaType: z.ZodString;
3144
+ }, z.core.$strict>>;
3145
+ }, z.core.$strict>>;
3146
+ }, z.core.$strict>,
3147
+ z.ZodObject<{
3148
+ schema: z.ZodLiteral<"omnius.nol.variant.v1">;
3149
+ id: z.ZodString;
3150
+ variantDigest: z.ZodString;
3151
+ modelDigest: z.ZodString;
3152
+ parentModelDigests: z.ZodArray<z.ZodString>;
3153
+ recipeDigest: z.ZodOptional<z.ZodString>;
3154
+ runtimeBuildDigest: z.ZodString;
3155
+ architectureMapDigest: z.ZodString;
3156
+ implementationDigest: z.ZodString;
3157
+ calibrationDigests: z.ZodArray<z.ZodString>;
3158
+ adapterArtifacts: z.ZodArray<z.ZodObject<{
3159
+ uri: z.ZodString;
3160
+ sha256: z.ZodString;
3161
+ sizeBytes: z.ZodNumber;
3162
+ mediaType: z.ZodString;
3163
+ }, z.core.$strict>>;
3164
+ checkpointArtifacts: z.ZodArray<z.ZodObject<{
3165
+ uri: z.ZodString;
3166
+ sha256: z.ZodString;
3167
+ sizeBytes: z.ZodNumber;
3168
+ mediaType: z.ZodString;
3169
+ }, z.core.$strict>>;
3170
+ createdAt: z.ZodString;
3171
+ }, z.core.$strict>,
3172
+ z.ZodObject<{
3173
+ schema: z.ZodLiteral<"omnius.nol.capabilities.v1">;
3174
+ capabilitiesDigest: z.ZodString;
3175
+ binding: z.ZodObject<{
3176
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
3177
+ id: z.ZodString;
3178
+ backend: z.ZodEnum<{
3179
+ other: "other";
3180
+ gne: "gne";
3181
+ llama_cpp: "llama_cpp";
3182
+ transformers: "transformers";
3183
+ nnsight: "nnsight";
3184
+ ollama: "ollama";
3185
+ vllm: "vllm";
3186
+ }>;
3187
+ modelDigest: z.ZodString;
3188
+ architectureMapDigest: z.ZodString;
3189
+ runtimeBuildDigest: z.ZodString;
3190
+ dependencyLockDigest: z.ZodString;
3191
+ tokenizerDigest: z.ZodString;
3192
+ chatTemplateDigest: z.ZodString;
3193
+ contextLimit: z.ZodNumber;
3194
+ }, z.core.$strict>;
3195
+ operations: z.ZodArray<z.ZodObject<{
3196
+ operation: z.ZodEnum<{
3197
+ NEURON_ADD: "NEURON_ADD";
3198
+ NEURON_GAIN: "NEURON_GAIN";
3199
+ NEURON_REPLACE: "NEURON_REPLACE";
3200
+ RESIDUAL_ADD: "RESIDUAL_ADD";
3201
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
3202
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
3203
+ EXPERT_GAIN: "EXPERT_GAIN";
3204
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
3205
+ WEIGHT_ADD: "WEIGHT_ADD";
3206
+ WEIGHT_GAIN: "WEIGHT_GAIN";
3207
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
3208
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
3209
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
3210
+ WEIGHT_MERGE: "WEIGHT_MERGE";
3211
+ }>;
3212
+ siteKinds: z.ZodArray<z.ZodEnum<{
3213
+ mlp_intermediate: "mlp_intermediate";
3214
+ residual: "residual";
3215
+ attention_head: "attention_head";
3216
+ expert_output: "expert_output";
3217
+ router_logits: "router_logits";
3218
+ parameter: "parameter";
3219
+ }>>;
3220
+ tokenScopes: z.ZodArray<z.ZodEnum<{
3221
+ all: "all";
3222
+ prompt: "prompt";
3223
+ generated: "generated";
3224
+ positions: "positions";
3225
+ }>>;
3226
+ implementation: z.ZodString;
3227
+ implementationDigest: z.ZodString;
3228
+ equivalence: z.ZodEnum<{
3229
+ exact: "exact";
3230
+ validated_equivalent: "validated_equivalent";
3231
+ approximate: "approximate";
3232
+ }>;
3233
+ validationReceiptDigest: z.ZodOptional<z.ZodString>;
3234
+ }, z.core.$strict>>;
3235
+ orderedOperations: z.ZodBoolean;
3236
+ observations: z.ZodArray<z.ZodEnum<{
3237
+ activation_summary: "activation_summary";
3238
+ activations: "activations";
3239
+ logits: "logits";
3240
+ full_distribution: "full_distribution";
3241
+ gradients: "gradients";
3242
+ }>>;
3243
+ generation: z.ZodObject<{
3244
+ text: z.ZodBoolean;
3245
+ nativeTools: z.ZodBoolean;
3246
+ structuredOutput: z.ZodBoolean;
3247
+ streaming: z.ZodBoolean;
3248
+ cancellation: z.ZodBoolean;
3249
+ reset: z.ZodBoolean;
3250
+ }, z.core.$strict>;
3251
+ exports: z.ZodArray<z.ZodObject<{
3252
+ format: z.ZodEnum<{
3253
+ gguf: "gguf";
3254
+ safetensors: "safetensors";
3255
+ pytorch: "pytorch";
3256
+ hf: "hf";
3257
+ gguf_adapter: "gguf_adapter";
3258
+ safetensors_adapter: "safetensors_adapter";
3259
+ pytorch_adapter: "pytorch_adapter";
3260
+ lora: "lora";
3261
+ }>;
3262
+ operations: z.ZodArray<z.ZodEnum<{
3263
+ NEURON_ADD: "NEURON_ADD";
3264
+ NEURON_GAIN: "NEURON_GAIN";
3265
+ NEURON_REPLACE: "NEURON_REPLACE";
3266
+ RESIDUAL_ADD: "RESIDUAL_ADD";
3267
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
3268
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
3269
+ EXPERT_GAIN: "EXPERT_GAIN";
3270
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
3271
+ WEIGHT_ADD: "WEIGHT_ADD";
3272
+ WEIGHT_GAIN: "WEIGHT_GAIN";
3273
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
3274
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
3275
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
3276
+ WEIGHT_MERGE: "WEIGHT_MERGE";
3277
+ }>>;
3278
+ tokenScopes: z.ZodArray<z.ZodLiteral<"all">>;
3279
+ }, z.core.$strict>>;
3280
+ }, z.core.$strict>,
3281
+ z.ZodObject<{
3282
+ schema: z.ZodLiteral<"omnius.nol.implementation.v1">;
3283
+ id: z.ZodString;
3284
+ binding: z.ZodObject<{
3285
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
3286
+ id: z.ZodString;
3287
+ backend: z.ZodEnum<{
3288
+ other: "other";
3289
+ gne: "gne";
3290
+ llama_cpp: "llama_cpp";
3291
+ transformers: "transformers";
3292
+ nnsight: "nnsight";
3293
+ ollama: "ollama";
3294
+ vllm: "vllm";
3295
+ }>;
3296
+ modelDigest: z.ZodString;
3297
+ architectureMapDigest: z.ZodString;
3298
+ runtimeBuildDigest: z.ZodString;
3299
+ dependencyLockDigest: z.ZodString;
3300
+ tokenizerDigest: z.ZodString;
3301
+ chatTemplateDigest: z.ZodString;
3302
+ contextLimit: z.ZodNumber;
3303
+ }, z.core.$strict>;
3304
+ capabilitiesDigest: z.ZodString;
3305
+ recipeDigest: z.ZodOptional<z.ZodString>;
3306
+ operations: z.ZodArray<z.ZodObject<{
3307
+ operationId: z.ZodString;
3308
+ operation: z.ZodEnum<{
3309
+ NEURON_ADD: "NEURON_ADD";
3310
+ NEURON_GAIN: "NEURON_GAIN";
3311
+ NEURON_REPLACE: "NEURON_REPLACE";
3312
+ RESIDUAL_ADD: "RESIDUAL_ADD";
3313
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
3314
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
3315
+ EXPERT_GAIN: "EXPERT_GAIN";
3316
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
3317
+ WEIGHT_ADD: "WEIGHT_ADD";
3318
+ WEIGHT_GAIN: "WEIGHT_GAIN";
3319
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
3320
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
3321
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
3322
+ WEIGHT_MERGE: "WEIGHT_MERGE";
3323
+ }>;
3324
+ siteId: z.ZodString;
3325
+ implementation: z.ZodString;
3326
+ implementationDigest: z.ZodString;
3327
+ equivalence: z.ZodEnum<{
3328
+ exact: "exact";
3329
+ validated_equivalent: "validated_equivalent";
3330
+ approximate: "approximate";
3331
+ }>;
3332
+ validationReceiptDigest: z.ZodOptional<z.ZodString>;
3333
+ calibrationId: z.ZodOptional<z.ZodString>;
3334
+ tokenScope: z.ZodDiscriminatedUnion<[
3335
+ z.ZodObject<{
3336
+ kind: z.ZodLiteral<"all">;
3337
+ }, z.core.$strict>,
3338
+ z.ZodObject<{
3339
+ kind: z.ZodLiteral<"prompt">;
3340
+ }, z.core.$strict>,
3341
+ z.ZodObject<{
3342
+ kind: z.ZodLiteral<"generated">;
3343
+ }, z.core.$strict>,
3344
+ z.ZodObject<{
3345
+ kind: z.ZodLiteral<"positions">;
3346
+ positions: z.ZodArray<z.ZodNumber>;
3347
+ }, z.core.$strict>
3348
+ ], "kind">;
3349
+ editedPositions: z.ZodObject<{
3350
+ uri: z.ZodString;
3351
+ sha256: z.ZodString;
3352
+ sizeBytes: z.ZodNumber;
3353
+ mediaType: z.ZodString;
3354
+ }, z.core.$strict>;
3355
+ }, z.core.$strict>>;
3356
+ activeAdapters: z.ZodArray<z.ZodObject<{
3357
+ artifact: z.ZodObject<{
3358
+ uri: z.ZodString;
3359
+ sha256: z.ZodString;
3360
+ sizeBytes: z.ZodNumber;
3361
+ mediaType: z.ZodString;
3362
+ }, z.core.$strict>;
3363
+ scale: z.ZodNumber;
3364
+ }, z.core.$strict>>;
3365
+ cache: z.ZodObject<{
3366
+ mode: z.ZodEnum<{
3367
+ cold: "cold";
3368
+ isolated: "isolated";
3369
+ }>;
3370
+ keyDigest: z.ZodString;
3371
+ }, z.core.$strict>;
3372
+ reset: z.ZodDiscriminatedUnion<[
3373
+ z.ZodObject<{
3374
+ status: z.ZodLiteral<"verified">;
3375
+ proof: z.ZodObject<{
3376
+ uri: z.ZodString;
3377
+ sha256: z.ZodString;
3378
+ sizeBytes: z.ZodNumber;
3379
+ mediaType: z.ZodString;
3380
+ }, z.core.$strict>;
3381
+ }, z.core.$strict>,
3382
+ z.ZodObject<{
3383
+ status: z.ZodLiteral<"failed">;
3384
+ reason: z.ZodString;
3385
+ }, z.core.$strict>,
3386
+ z.ZodObject<{
3387
+ status: z.ZodLiteral<"not_attempted">;
3388
+ reason: z.ZodString;
3389
+ }, z.core.$strict>
3390
+ ], "status">;
3391
+ observedArtifacts: z.ZodArray<z.ZodObject<{
3392
+ artifact: z.ZodObject<{
3393
+ uri: z.ZodString;
3394
+ sha256: z.ZodString;
3395
+ sizeBytes: z.ZodNumber;
3396
+ mediaType: z.ZodString;
3397
+ }, z.core.$strict>;
3398
+ shape: z.ZodArray<z.ZodNumber>;
3399
+ dtype: z.ZodEnum<{
3400
+ f16: "f16";
3401
+ bf16: "bf16";
3402
+ f32: "f32";
3403
+ f64: "f64";
3404
+ i8: "i8";
3405
+ i16: "i16";
3406
+ i32: "i32";
3407
+ i64: "i64";
3408
+ u8: "u8";
3409
+ bool: "bool";
3410
+ quantized: "quantized";
3411
+ }>;
3412
+ }, z.core.$strict>>;
3413
+ recordedAt: z.ZodString;
3414
+ }, z.core.$strict>,
3415
+ z.ZodObject<{
3416
+ schema: z.ZodLiteral<"omnius.nol.dataset.v1">;
3417
+ id: z.ZodString;
3418
+ datasetDigest: z.ZodString;
3419
+ createdAt: z.ZodString;
3420
+ tasks: z.ZodArray<z.ZodObject<{
3421
+ taskId: z.ZodString;
3422
+ sourceIds: z.ZodArray<z.ZodString>;
3423
+ templateId: z.ZodOptional<z.ZodString>;
3424
+ nearDuplicateGroupIds: z.ZodArray<z.ZodString>;
3425
+ familyId: z.ZodString;
3426
+ leakageGroupId: z.ZodString;
3427
+ clusterId: z.ZodString;
3428
+ split: z.ZodEnum<{
3429
+ discovery: "discovery";
3430
+ development: "development";
3431
+ final_test: "final_test";
3432
+ }>;
3433
+ prompt: z.ZodObject<{
3434
+ uri: z.ZodString;
3435
+ sha256: z.ZodString;
3436
+ sizeBytes: z.ZodNumber;
3437
+ mediaType: z.ZodString;
3438
+ }, z.core.$strict>;
3439
+ expected: z.ZodObject<{
3440
+ uri: z.ZodString;
3441
+ sha256: z.ZodString;
3442
+ sizeBytes: z.ZodNumber;
3443
+ mediaType: z.ZodString;
3444
+ }, z.core.$strict>;
3445
+ graderId: z.ZodString;
3446
+ derivedFromTaskIds: z.ZodArray<z.ZodString>;
3447
+ }, z.core.$strict>>;
3448
+ }, z.core.$strict>,
3449
+ z.ZodObject<{
3450
+ schema: z.ZodLiteral<"omnius.nol.experiment.v1">;
3451
+ id: z.ZodString;
3452
+ experimentDigest: z.ZodString;
3453
+ createdAt: z.ZodString;
3454
+ modelDigest: z.ZodString;
3455
+ baselineBinding: z.ZodObject<{
3456
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
3457
+ id: z.ZodString;
3458
+ backend: z.ZodEnum<{
3459
+ other: "other";
3460
+ gne: "gne";
3461
+ llama_cpp: "llama_cpp";
3462
+ transformers: "transformers";
3463
+ nnsight: "nnsight";
3464
+ ollama: "ollama";
3465
+ vllm: "vllm";
3466
+ }>;
3467
+ modelDigest: z.ZodString;
3468
+ architectureMapDigest: z.ZodString;
3469
+ runtimeBuildDigest: z.ZodString;
3470
+ dependencyLockDigest: z.ZodString;
3471
+ tokenizerDigest: z.ZodString;
3472
+ chatTemplateDigest: z.ZodString;
3473
+ contextLimit: z.ZodNumber;
3474
+ }, z.core.$strict>;
3475
+ recipeDigests: z.ZodArray<z.ZodString>;
3476
+ datasetDigest: z.ZodString;
3477
+ harnessDigest: z.ZodString;
3478
+ objective: z.ZodObject<{
3479
+ primaryMetricId: z.ZodString;
3480
+ minimumUsefulEffect: z.ZodNumber;
3481
+ absoluteTarget: z.ZodOptional<z.ZodObject<{
3482
+ direction: z.ZodEnum<{
3483
+ at_least: "at_least";
3484
+ at_most: "at_most";
3485
+ }>;
3486
+ value: z.ZodNumber;
3487
+ }, z.core.$strict>>;
3488
+ metrics: z.ZodArray<z.ZodObject<{
3489
+ id: z.ZodString;
3490
+ direction: z.ZodEnum<{
3491
+ maximize: "maximize";
3492
+ minimize: "minimize";
3493
+ }>;
3494
+ unit: z.ZodString;
3495
+ grader: z.ZodObject<{
3496
+ id: z.ZodString;
3497
+ digest: z.ZodString;
3498
+ }, z.core.$strict>;
3499
+ weight: z.ZodNumber;
3500
+ }, z.core.$strict>>;
3501
+ guards: z.ZodArray<z.ZodObject<{
3502
+ id: z.ZodString;
3503
+ metricId: z.ZodString;
3504
+ kind: z.ZodEnum<{
3505
+ minimum: "minimum";
3506
+ maximum: "maximum";
3507
+ non_inferiority: "non_inferiority";
3508
+ }>;
3509
+ threshold: z.ZodNumber;
3510
+ }, z.core.$strict>>;
3511
+ }, z.core.$strict>;
3512
+ budgets: z.ZodObject<{
3513
+ maxTrials: z.ZodNumber;
3514
+ maxTasks: z.ZodNumber;
3515
+ maxSeeds: z.ZodNumber;
3516
+ maxControls: z.ZodNumber;
3517
+ maxTokens: z.ZodNumber;
3518
+ maxTokensPerTrial: z.ZodNumber;
3519
+ maxDurationMs: z.ZodNumber;
3520
+ maxTensorBytes: z.ZodNumber;
3521
+ maxArtifactBytes: z.ZodNumber;
3522
+ maxParallelWorkers: z.ZodNumber;
3523
+ maxRetries: z.ZodNumber;
3524
+ }, z.core.$strict>;
3525
+ seeds: z.ZodArray<z.ZodNumber>;
3526
+ allowedOperations: z.ZodArray<z.ZodEnum<{
3527
+ NEURON_ADD: "NEURON_ADD";
3528
+ NEURON_GAIN: "NEURON_GAIN";
3529
+ NEURON_REPLACE: "NEURON_REPLACE";
3530
+ RESIDUAL_ADD: "RESIDUAL_ADD";
3531
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
3532
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
3533
+ EXPERT_GAIN: "EXPERT_GAIN";
3534
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
3535
+ WEIGHT_ADD: "WEIGHT_ADD";
3536
+ WEIGHT_GAIN: "WEIGHT_GAIN";
3537
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
3538
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
3539
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
3540
+ WEIGHT_MERGE: "WEIGHT_MERGE";
3541
+ }>>;
3542
+ searchConstraints: z.ZodObject<{
3543
+ allowedSiteIds: z.ZodArray<z.ZodString>;
3544
+ maxAbsScalar: z.ZodNumber;
3545
+ maxVectorNorm: z.ZodNumber;
3546
+ maxOperationsPerRecipe: z.ZodNumber;
3547
+ maxCandidates: z.ZodNumber;
3548
+ maxCombinations: z.ZodNumber;
3549
+ }, z.core.$strict>;
3550
+ controls: z.ZodObject<{
3551
+ sham: z.ZodLiteral<true>;
3552
+ randomSeeds: z.ZodArray<z.ZodNumber>;
3553
+ normalization: z.ZodLiteral<"norm_matched">;
3554
+ }, z.core.$strict>;
3555
+ decoding: z.ZodObject<{
3556
+ temperature: z.ZodNumber;
3557
+ topP: z.ZodNumber;
3558
+ topK: z.ZodNumber;
3559
+ maxTokens: z.ZodNumber;
3560
+ constrainedDecoding: z.ZodEnum<{
3561
+ schema: "schema";
3562
+ none: "none";
3563
+ json: "json";
3564
+ }>;
3565
+ schemaDigest: z.ZodOptional<z.ZodString>;
3566
+ }, z.core.$strict>;
3567
+ statistics: z.ZodObject<{
3568
+ method: z.ZodLiteral<"paired_cluster_bootstrap">;
3569
+ clusterUnit: z.ZodLiteral<"source_family">;
3570
+ confidenceLevel: z.ZodNumber;
3571
+ bootstrapIterations: z.ZodNumber;
3572
+ bootstrapSeed: z.ZodNumber;
3573
+ missingPairPolicy: z.ZodEnum<{
3574
+ inconclusive: "inconclusive";
3575
+ fail: "fail";
3576
+ }>;
3577
+ minTasks: z.ZodNumber;
3578
+ minClusters: z.ZodNumber;
3579
+ decisionPoint: z.ZodEnum<{
3580
+ development: "development";
3581
+ final_test: "final_test";
3582
+ }>;
3583
+ weighting: z.ZodEnum<{
3584
+ equal_tasks: "equal_tasks";
3585
+ equal_clusters: "equal_clusters";
3586
+ }>;
3587
+ maxIntervalWidth: z.ZodOptional<z.ZodNumber>;
3588
+ jointErrorPolicy: z.ZodLiteral<"bonferroni">;
3589
+ multiplicity: z.ZodObject<{
3590
+ method: z.ZodEnum<{
3591
+ none: "none";
3592
+ bonferroni: "bonferroni";
3593
+ }>;
3594
+ comparisons: z.ZodNumber;
3595
+ }, z.core.$strict>;
3596
+ analysisSchedule: z.ZodArray<z.ZodNumber>;
3597
+ pairOrder: z.ZodEnum<{
3598
+ randomized: "randomized";
3599
+ counterbalanced: "counterbalanced";
3600
+ }>;
3601
+ }, z.core.$strict>;
3602
+ }, z.core.$strict>,
3603
+ z.ZodObject<{
3604
+ schema: z.ZodLiteral<"omnius.nol.trial.v1">;
3605
+ id: z.ZodString;
3606
+ experimentDigest: z.ZodString;
3607
+ taskId: z.ZodString;
3608
+ clusterId: z.ZodString;
3609
+ seed: z.ZodNumber;
3610
+ variantDigest: z.ZodString;
3611
+ arm: z.ZodEnum<{
3612
+ sham: "sham";
3613
+ baseline: "baseline";
3614
+ candidate: "candidate";
3615
+ random: "random";
3616
+ }>;
3617
+ attempt: z.ZodNumber;
3618
+ status: z.ZodEnum<{
3619
+ completed: "completed";
3620
+ failed: "failed";
3621
+ inconclusive: "inconclusive";
3622
+ interrupted: "interrupted";
3623
+ }>;
3624
+ failureClass: z.ZodOptional<z.ZodEnum<{
3625
+ cancelled: "cancelled";
3626
+ malformed_output: "malformed_output";
3627
+ schema_invalid: "schema_invalid";
3628
+ semantic_failure: "semantic_failure";
3629
+ tool_selection: "tool_selection";
3630
+ tool_execution: "tool_execution";
3631
+ infrastructure: "infrastructure";
3632
+ capacity: "capacity";
3633
+ identity: "identity";
3634
+ unsupported: "unsupported";
3635
+ }>>;
3636
+ finishReason: z.ZodString;
3637
+ rawArtifacts: z.ZodArray<z.ZodObject<{
3638
+ uri: z.ZodString;
3639
+ sha256: z.ZodString;
3640
+ sizeBytes: z.ZodNumber;
3641
+ mediaType: z.ZodString;
3642
+ }, z.core.$strict>>;
3643
+ scores: z.ZodArray<z.ZodObject<{
3644
+ metricId: z.ZodString;
3645
+ value: z.ZodNumber;
3646
+ }, z.core.$strict>>;
3647
+ timing: z.ZodObject<{
3648
+ startedAt: z.ZodString;
3649
+ finishedAt: z.ZodString;
3650
+ durationMs: z.ZodNumber;
3651
+ }, z.core.$strict>;
3652
+ usage: z.ZodObject<{
3653
+ promptTokens: z.ZodNumber;
3654
+ completionTokens: z.ZodNumber;
3655
+ }, z.core.$strict>;
3656
+ hardware: z.ZodOptional<z.ZodObject<{
3657
+ gpuUuids: z.ZodArray<z.ZodString>;
3658
+ driver: z.ZodString;
3659
+ placementProof: z.ZodObject<{
3660
+ uri: z.ZodString;
3661
+ sha256: z.ZodString;
3662
+ sizeBytes: z.ZodNumber;
3663
+ mediaType: z.ZodString;
3664
+ }, z.core.$strict>;
3665
+ }, z.core.$strict>>;
3666
+ implementationReceipt: z.ZodOptional<z.ZodObject<{
3667
+ schema: z.ZodLiteral<"omnius.nol.implementation.v1">;
3668
+ id: z.ZodString;
3669
+ binding: z.ZodObject<{
3670
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
3671
+ id: z.ZodString;
3672
+ backend: z.ZodEnum<{
3673
+ other: "other";
3674
+ gne: "gne";
3675
+ llama_cpp: "llama_cpp";
3676
+ transformers: "transformers";
3677
+ nnsight: "nnsight";
3678
+ ollama: "ollama";
3679
+ vllm: "vllm";
3680
+ }>;
3681
+ modelDigest: z.ZodString;
3682
+ architectureMapDigest: z.ZodString;
3683
+ runtimeBuildDigest: z.ZodString;
3684
+ dependencyLockDigest: z.ZodString;
3685
+ tokenizerDigest: z.ZodString;
3686
+ chatTemplateDigest: z.ZodString;
3687
+ contextLimit: z.ZodNumber;
3688
+ }, z.core.$strict>;
3689
+ capabilitiesDigest: z.ZodString;
3690
+ recipeDigest: z.ZodOptional<z.ZodString>;
3691
+ operations: z.ZodArray<z.ZodObject<{
3692
+ operationId: z.ZodString;
3693
+ operation: z.ZodEnum<{
3694
+ NEURON_ADD: "NEURON_ADD";
3695
+ NEURON_GAIN: "NEURON_GAIN";
3696
+ NEURON_REPLACE: "NEURON_REPLACE";
3697
+ RESIDUAL_ADD: "RESIDUAL_ADD";
3698
+ DIRECTION_PROJECT: "DIRECTION_PROJECT";
3699
+ ATTENTION_HEAD_GAIN: "ATTENTION_HEAD_GAIN";
3700
+ EXPERT_GAIN: "EXPERT_GAIN";
3701
+ EXPERT_ROUTING_BIAS: "EXPERT_ROUTING_BIAS";
3702
+ WEIGHT_ADD: "WEIGHT_ADD";
3703
+ WEIGHT_GAIN: "WEIGHT_GAIN";
3704
+ WEIGHT_REPLACE: "WEIGHT_REPLACE";
3705
+ WEIGHT_PROJECT: "WEIGHT_PROJECT";
3706
+ LOW_RANK_UPDATE: "LOW_RANK_UPDATE";
3707
+ WEIGHT_MERGE: "WEIGHT_MERGE";
3708
+ }>;
3709
+ siteId: z.ZodString;
3710
+ implementation: z.ZodString;
3711
+ implementationDigest: z.ZodString;
3712
+ equivalence: z.ZodEnum<{
3713
+ exact: "exact";
3714
+ validated_equivalent: "validated_equivalent";
3715
+ approximate: "approximate";
3716
+ }>;
3717
+ validationReceiptDigest: z.ZodOptional<z.ZodString>;
3718
+ calibrationId: z.ZodOptional<z.ZodString>;
3719
+ tokenScope: z.ZodDiscriminatedUnion<[
3720
+ z.ZodObject<{
3721
+ kind: z.ZodLiteral<"all">;
3722
+ }, z.core.$strict>,
3723
+ z.ZodObject<{
3724
+ kind: z.ZodLiteral<"prompt">;
3725
+ }, z.core.$strict>,
3726
+ z.ZodObject<{
3727
+ kind: z.ZodLiteral<"generated">;
3728
+ }, z.core.$strict>,
3729
+ z.ZodObject<{
3730
+ kind: z.ZodLiteral<"positions">;
3731
+ positions: z.ZodArray<z.ZodNumber>;
3732
+ }, z.core.$strict>
3733
+ ], "kind">;
3734
+ editedPositions: z.ZodObject<{
3735
+ uri: z.ZodString;
3736
+ sha256: z.ZodString;
3737
+ sizeBytes: z.ZodNumber;
3738
+ mediaType: z.ZodString;
3739
+ }, z.core.$strict>;
3740
+ }, z.core.$strict>>;
3741
+ activeAdapters: z.ZodArray<z.ZodObject<{
3742
+ artifact: z.ZodObject<{
3743
+ uri: z.ZodString;
3744
+ sha256: z.ZodString;
3745
+ sizeBytes: z.ZodNumber;
3746
+ mediaType: z.ZodString;
3747
+ }, z.core.$strict>;
3748
+ scale: z.ZodNumber;
3749
+ }, z.core.$strict>>;
3750
+ cache: z.ZodObject<{
3751
+ mode: z.ZodEnum<{
3752
+ cold: "cold";
3753
+ isolated: "isolated";
3754
+ }>;
3755
+ keyDigest: z.ZodString;
3756
+ }, z.core.$strict>;
3757
+ reset: z.ZodDiscriminatedUnion<[
3758
+ z.ZodObject<{
3759
+ status: z.ZodLiteral<"verified">;
3760
+ proof: z.ZodObject<{
3761
+ uri: z.ZodString;
3762
+ sha256: z.ZodString;
3763
+ sizeBytes: z.ZodNumber;
3764
+ mediaType: z.ZodString;
3765
+ }, z.core.$strict>;
3766
+ }, z.core.$strict>,
3767
+ z.ZodObject<{
3768
+ status: z.ZodLiteral<"failed">;
3769
+ reason: z.ZodString;
3770
+ }, z.core.$strict>,
3771
+ z.ZodObject<{
3772
+ status: z.ZodLiteral<"not_attempted">;
3773
+ reason: z.ZodString;
3774
+ }, z.core.$strict>
3775
+ ], "status">;
3776
+ observedArtifacts: z.ZodArray<z.ZodObject<{
3777
+ artifact: z.ZodObject<{
3778
+ uri: z.ZodString;
3779
+ sha256: z.ZodString;
3780
+ sizeBytes: z.ZodNumber;
3781
+ mediaType: z.ZodString;
3782
+ }, z.core.$strict>;
3783
+ shape: z.ZodArray<z.ZodNumber>;
3784
+ dtype: z.ZodEnum<{
3785
+ f16: "f16";
3786
+ bf16: "bf16";
3787
+ f32: "f32";
3788
+ f64: "f64";
3789
+ i8: "i8";
3790
+ i16: "i16";
3791
+ i32: "i32";
3792
+ i64: "i64";
3793
+ u8: "u8";
3794
+ bool: "bool";
3795
+ quantized: "quantized";
3796
+ }>;
3797
+ }, z.core.$strict>>;
3798
+ recordedAt: z.ZodString;
3799
+ }, z.core.$strict>>;
3800
+ performance: z.ZodOptional<z.ZodObject<{
3801
+ uri: z.ZodString;
3802
+ sha256: z.ZodString;
3803
+ sizeBytes: z.ZodNumber;
3804
+ mediaType: z.ZodString;
3805
+ }, z.core.$strict>>;
3806
+ }, z.core.$strict>,
3807
+ z.ZodObject<{
3808
+ schema: z.ZodLiteral<"omnius.nol.comparison.v1">;
3809
+ id: z.ZodString;
3810
+ comparisonDigest: z.ZodString;
3811
+ experimentDigest: z.ZodString;
3812
+ baselineVariantDigest: z.ZodString;
3813
+ candidateVariantDigest: z.ZodString;
3814
+ counts: z.ZodObject<{
3815
+ pairs: z.ZodNumber;
3816
+ tasks: z.ZodNumber;
3817
+ clusters: z.ZodNumber;
3818
+ repetitions: z.ZodNumber;
3819
+ invalidPairs: z.ZodNumber;
3820
+ }, z.core.$strict>;
3821
+ metricEffects: z.ZodArray<z.ZodObject<{
3822
+ metricId: z.ZodString;
3823
+ baselineMean: z.ZodNumber;
3824
+ candidateMean: z.ZodNumber;
3825
+ effect: z.ZodNumber;
3826
+ interval: z.ZodObject<{
3827
+ lower: z.ZodNumber;
3828
+ upper: z.ZodNumber;
3829
+ level: z.ZodNumber;
3830
+ }, z.core.$strict>;
3831
+ }, z.core.$strict>>;
3832
+ guardResults: z.ZodArray<z.ZodObject<{
3833
+ guardId: z.ZodString;
3834
+ verdict: z.ZodEnum<{
3835
+ failed: "failed";
3836
+ inconclusive: "inconclusive";
3837
+ passed: "passed";
3838
+ }>;
3839
+ evidence: z.ZodObject<{
3840
+ uri: z.ZodString;
3841
+ sha256: z.ZodString;
3842
+ sizeBytes: z.ZodNumber;
3843
+ mediaType: z.ZodString;
3844
+ }, z.core.$strict>;
3845
+ }, z.core.$strict>>;
3846
+ tails: z.ZodArray<z.ZodObject<{
3847
+ metricId: z.ZodString;
3848
+ quantile: z.ZodNumber;
3849
+ baseline: z.ZodNumber;
3850
+ candidate: z.ZodNumber;
3851
+ }, z.core.$strict>>;
3852
+ frontierVariantDigests: z.ZodArray<z.ZodString>;
3853
+ rawResults: z.ZodObject<{
3854
+ uri: z.ZodString;
3855
+ sha256: z.ZodString;
3856
+ sizeBytes: z.ZodNumber;
3857
+ mediaType: z.ZodString;
3858
+ }, z.core.$strict>;
3859
+ verdict: z.ZodEnum<{
3860
+ failed: "failed";
3861
+ inconclusive: "inconclusive";
3862
+ passed: "passed";
3863
+ }>;
3864
+ recordedAt: z.ZodString;
3865
+ }, z.core.$strict>,
3866
+ z.ZodObject<{
3867
+ schema: z.ZodLiteral<"omnius.nol.validation.v1">;
3868
+ id: z.ZodString;
3869
+ validationDigest: z.ZodString;
3870
+ experimentDigest: z.ZodString;
3871
+ variantDigest: z.ZodString;
3872
+ comparisonDigest: z.ZodString;
3873
+ finalTestDatasetDigest: z.ZodString;
3874
+ binding: z.ZodObject<{
3875
+ schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
3876
+ id: z.ZodString;
3877
+ backend: z.ZodEnum<{
3878
+ other: "other";
3879
+ gne: "gne";
3880
+ llama_cpp: "llama_cpp";
3881
+ transformers: "transformers";
3882
+ nnsight: "nnsight";
3883
+ ollama: "ollama";
3884
+ vllm: "vllm";
3885
+ }>;
3886
+ modelDigest: z.ZodString;
3887
+ architectureMapDigest: z.ZodString;
3888
+ runtimeBuildDigest: z.ZodString;
3889
+ dependencyLockDigest: z.ZodString;
3890
+ tokenizerDigest: z.ZodString;
3891
+ chatTemplateDigest: z.ZodString;
3892
+ contextLimit: z.ZodNumber;
3893
+ }, z.core.$strict>;
3894
+ capabilitiesDigest: z.ZodString;
3895
+ gateResults: z.ZodArray<z.ZodObject<{
3896
+ id: z.ZodString;
3897
+ verdict: z.ZodEnum<{
3898
+ failed: "failed";
3899
+ inconclusive: "inconclusive";
3900
+ passed: "passed";
3901
+ }>;
3902
+ evidence: z.ZodArray<z.ZodObject<{
3903
+ uri: z.ZodString;
3904
+ sha256: z.ZodString;
3905
+ sizeBytes: z.ZodNumber;
3906
+ mediaType: z.ZodString;
3907
+ }, z.core.$strict>>;
3908
+ }, z.core.$strict>>;
3909
+ verdict: z.ZodEnum<{
3910
+ failed: "failed";
3911
+ inconclusive: "inconclusive";
3912
+ passed: "passed";
3913
+ }>;
3914
+ limitations: z.ZodArray<z.ZodString>;
3915
+ recordedAt: z.ZodString;
3916
+ }, z.core.$strict>,
3917
+ z.ZodObject<{
3918
+ schema: z.ZodLiteral<"omnius.nol.promotion.v1">;
3919
+ id: z.ZodString;
3920
+ promotionDigest: z.ZodString;
3921
+ candidateVariantDigest: z.ZodString;
3922
+ validationDigest: z.ZodString;
3923
+ level: z.ZodEnum<{
3924
+ retain_recipe: "retain_recipe";
3925
+ export: "export";
3926
+ register: "register";
3927
+ activate: "activate";
3928
+ }>;
3929
+ targetBindingId: z.ZodString;
3930
+ previousVariantDigest: z.ZodString;
3931
+ transactionId: z.ZodString;
3932
+ authorization: z.ZodObject<{
3933
+ id: z.ZodString;
3934
+ actor: z.ZodString;
3935
+ scope: z.ZodEnum<{
3936
+ retain_recipe: "retain_recipe";
3937
+ export: "export";
3938
+ register: "register";
3939
+ activate: "activate";
3940
+ }>;
3941
+ variantDigest: z.ZodString;
3942
+ validationDigest: z.ZodString;
3943
+ authorizedAt: z.ZodString;
3944
+ expiresAt: z.ZodString;
3945
+ }, z.core.$strict>;
3946
+ status: z.ZodEnum<{
3947
+ failed: "failed";
3948
+ authorized: "authorized";
3949
+ activating: "activating";
3950
+ active: "active";
3951
+ rolled_back: "rolled_back";
3952
+ }>;
3953
+ rollback: z.ZodObject<{
3954
+ parentVariantDigest: z.ZodString;
3955
+ verified: z.ZodBoolean;
3956
+ proof: z.ZodOptional<z.ZodObject<{
3957
+ uri: z.ZodString;
3958
+ sha256: z.ZodString;
3959
+ sizeBytes: z.ZodNumber;
3960
+ mediaType: z.ZodString;
3961
+ }, z.core.$strict>>;
3962
+ }, z.core.$strict>;
3963
+ createdAt: z.ZodString;
3964
+ updatedAt: z.ZodString;
3965
+ }, z.core.$strict>
3966
+ ]>;
3967
+ export type NolRecord = z.infer<typeof NolRecordSchema>;
3968
+ export declare function isWeightOperation(operation: NolOperationKind): boolean;
3969
+ /** Cross-document admission; hashes must additionally be checked against actual stored bytes by the host. */
3970
+ export declare function validateNolRecipeBinding(recipeInput: unknown, modelInput: unknown, capabilitiesInput: unknown, options?: {
3971
+ allowApproximate?: boolean;
3972
+ sourceModels?: readonly unknown[];
3973
+ }): {
3974
+ valid: boolean;
3975
+ issues: string[];
3976
+ };
3977
+ /** Verify a worker's declared lowering against its frozen request; actual proofs remain host-owned. */
3978
+ export declare function validateNolImplementationBinding(receiptInput: unknown, recipeInput: unknown | null, modelInput: unknown, capabilitiesInput: unknown, options?: {
3979
+ allowApproximate?: boolean;
3980
+ sourceModels?: readonly unknown[];
3981
+ }): {
3982
+ valid: boolean;
3983
+ issues: string[];
3984
+ };
3985
+ export declare function validateNolExperimentBinding(experimentInput: unknown, modelInput: unknown, recipesInput: readonly unknown[], datasetInput: unknown, capabilitiesInput: unknown, options?: {
3986
+ allowApproximate?: boolean;
3987
+ sourceModels?: readonly unknown[];
3988
+ }): {
3989
+ valid: boolean;
3990
+ issues: string[];
3991
+ };
3992
+ export declare function assertNolRecipeBinding(recipe: unknown, model: unknown, capabilities: unknown, options?: {
3993
+ allowApproximate?: boolean;
3994
+ sourceModels?: readonly unknown[];
3995
+ }): void;