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,850 @@
1
+ import { z } from "zod";
2
+ import { type NolArtifactRef, type NolRecipeRevision } from "../_types/schemas/nol.js";
3
+ import { type NolArtifactStore } from "../_types/execution/nol/artifacts.js";
4
+ import type { NolStore, NolJob } from "../_types/orchestrator/nol/store.js";
5
+ import { NolVllmHostSession, type NolVllmHostOptions, type NolVllmConformanceAuthority } from "./vllm-adapter.js";
6
+ export declare const NOL_VLLM_PROFILE_KIND = "nol_vllm_conformance", NOL_VLLM_ISSUED_KIND = "nol_vllm_conformance_issued";
7
+ export declare const NolVllmProfilePlanSchema: z.ZodObject<{
8
+ schema: z.ZodLiteral<"omnius.nol.vllm-profile-plan.v1">;
9
+ id: z.ZodString;
10
+ planDigest: z.ZodString;
11
+ model: z.ZodObject<{
12
+ schema: z.ZodLiteral<"omnius.nol.model.v1">;
13
+ id: z.ZodString;
14
+ modelDigest: z.ZodString;
15
+ format: z.ZodEnum<{
16
+ gguf: "gguf";
17
+ safetensors: "safetensors";
18
+ pytorch: "pytorch";
19
+ hf: "hf";
20
+ gguf_adapter: "gguf_adapter";
21
+ safetensors_adapter: "safetensors_adapter";
22
+ pytorch_adapter: "pytorch_adapter";
23
+ lora: "lora";
24
+ }>;
25
+ files: z.ZodArray<z.ZodObject<{
26
+ path: z.ZodString;
27
+ role: z.ZodEnum<{
28
+ weights: "weights";
29
+ other: "other";
30
+ tokenizer: "tokenizer";
31
+ config: "config";
32
+ chat_template: "chat_template";
33
+ adapter: "adapter";
34
+ }>;
35
+ artifact: z.ZodObject<{
36
+ uri: z.ZodString;
37
+ sha256: z.ZodString;
38
+ sizeBytes: z.ZodNumber;
39
+ mediaType: z.ZodString;
40
+ }, z.core.$strict>;
41
+ }, z.core.$strict>>;
42
+ parents: z.ZodArray<z.ZodObject<{
43
+ modelDigest: z.ZodString;
44
+ revision: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strict>>;
46
+ architecture: z.ZodObject<{
47
+ family: z.ZodString;
48
+ layers: z.ZodNumber;
49
+ hiddenSize: z.ZodNumber;
50
+ }, z.core.$strict>;
51
+ architectureMapDigest: z.ZodString;
52
+ tensorSites: z.ZodArray<z.ZodDiscriminatedUnion<[
53
+ z.ZodObject<{
54
+ id: z.ZodString;
55
+ kind: z.ZodLiteral<"mlp_intermediate">;
56
+ layer: z.ZodNumber;
57
+ width: z.ZodNumber;
58
+ }, z.core.$strict>,
59
+ z.ZodObject<{
60
+ id: z.ZodString;
61
+ kind: z.ZodLiteral<"residual">;
62
+ layer: z.ZodNumber;
63
+ width: z.ZodNumber;
64
+ }, z.core.$strict>,
65
+ z.ZodObject<{
66
+ id: z.ZodString;
67
+ kind: z.ZodLiteral<"attention_head">;
68
+ layer: z.ZodNumber;
69
+ headCount: z.ZodNumber;
70
+ width: z.ZodNumber;
71
+ }, z.core.$strict>,
72
+ z.ZodObject<{
73
+ id: z.ZodString;
74
+ kind: z.ZodLiteral<"expert_output">;
75
+ layer: z.ZodNumber;
76
+ expertCount: z.ZodNumber;
77
+ width: z.ZodNumber;
78
+ }, z.core.$strict>,
79
+ z.ZodObject<{
80
+ id: z.ZodString;
81
+ kind: z.ZodLiteral<"router_logits">;
82
+ layer: z.ZodNumber;
83
+ expertCount: z.ZodNumber;
84
+ }, z.core.$strict>,
85
+ z.ZodObject<{
86
+ id: z.ZodString;
87
+ kind: z.ZodLiteral<"parameter">;
88
+ name: z.ZodString;
89
+ layer: z.ZodOptional<z.ZodNumber>;
90
+ shape: z.ZodArray<z.ZodNumber>;
91
+ dtype: z.ZodEnum<{
92
+ f16: "f16";
93
+ bf16: "bf16";
94
+ f32: "f32";
95
+ f64: "f64";
96
+ i8: "i8";
97
+ i16: "i16";
98
+ i32: "i32";
99
+ i64: "i64";
100
+ u8: "u8";
101
+ bool: "bool";
102
+ quantized: "quantized";
103
+ }>;
104
+ role: z.ZodEnum<{
105
+ ffn: "ffn";
106
+ attention: "attention";
107
+ embedding: "embedding";
108
+ router: "router";
109
+ bias: "bias";
110
+ norm: "norm";
111
+ other: "other";
112
+ }>;
113
+ }, z.core.$strict>
114
+ ], "kind">>;
115
+ quantization: z.ZodObject<{
116
+ method: z.ZodString;
117
+ bits: z.ZodOptional<z.ZodNumber>;
118
+ groupSize: z.ZodOptional<z.ZodNumber>;
119
+ configDigest: z.ZodOptional<z.ZodString>;
120
+ }, z.core.$strict>;
121
+ tokenizerDigest: z.ZodString;
122
+ specialTokens: z.ZodRecord<z.ZodString, z.ZodNumber>;
123
+ chatTemplateDigest: z.ZodString;
124
+ contextLength: z.ZodNumber;
125
+ }, z.core.$strict>;
126
+ prompt: z.ZodObject<{
127
+ uri: z.ZodString;
128
+ sha256: z.ZodString;
129
+ sizeBytes: z.ZodNumber;
130
+ mediaType: z.ZodString;
131
+ }, z.core.$strict>;
132
+ cells: z.ZodArray<z.ZodObject<{
133
+ recipe: z.ZodObject<{
134
+ schema: z.ZodLiteral<"omnius.nol.recipe.v1">;
135
+ id: z.ZodString;
136
+ revision: z.ZodNumber;
137
+ recipeDigest: z.ZodString;
138
+ modelDigest: z.ZodString;
139
+ architectureMapDigest: z.ZodString;
140
+ approximateLoweringAcknowledged: z.ZodOptional<z.ZodLiteral<true>>;
141
+ parentModelDigests: z.ZodArray<z.ZodString>;
142
+ operations: z.ZodArray<z.ZodDiscriminatedUnion<[
143
+ z.ZodObject<{
144
+ units: z.ZodEnum<{
145
+ raw: "raw";
146
+ residual_norm: "residual_norm";
147
+ activation_std: "activation_std";
148
+ }>;
149
+ calibrationId: z.ZodOptional<z.ZodString>;
150
+ operation: z.ZodLiteral<"NEURON_ADD">;
151
+ neuron: z.ZodNumber;
152
+ amount: z.ZodNumber;
153
+ id: z.ZodString;
154
+ siteId: z.ZodString;
155
+ tokenScope: z.ZodDiscriminatedUnion<[
156
+ z.ZodObject<{
157
+ kind: z.ZodLiteral<"all">;
158
+ }, z.core.$strict>,
159
+ z.ZodObject<{
160
+ kind: z.ZodLiteral<"prompt">;
161
+ }, z.core.$strict>,
162
+ z.ZodObject<{
163
+ kind: z.ZodLiteral<"generated">;
164
+ }, z.core.$strict>,
165
+ z.ZodObject<{
166
+ kind: z.ZodLiteral<"positions">;
167
+ positions: z.ZodArray<z.ZodNumber>;
168
+ }, z.core.$strict>
169
+ ], "kind">;
170
+ }, z.core.$strict>,
171
+ z.ZodObject<{
172
+ operation: z.ZodLiteral<"NEURON_GAIN">;
173
+ neuron: z.ZodNumber;
174
+ factor: z.ZodNumber;
175
+ id: z.ZodString;
176
+ siteId: z.ZodString;
177
+ tokenScope: z.ZodDiscriminatedUnion<[
178
+ z.ZodObject<{
179
+ kind: z.ZodLiteral<"all">;
180
+ }, z.core.$strict>,
181
+ z.ZodObject<{
182
+ kind: z.ZodLiteral<"prompt">;
183
+ }, z.core.$strict>,
184
+ z.ZodObject<{
185
+ kind: z.ZodLiteral<"generated">;
186
+ }, z.core.$strict>,
187
+ z.ZodObject<{
188
+ kind: z.ZodLiteral<"positions">;
189
+ positions: z.ZodArray<z.ZodNumber>;
190
+ }, z.core.$strict>
191
+ ], "kind">;
192
+ }, z.core.$strict>,
193
+ z.ZodObject<{
194
+ units: z.ZodEnum<{
195
+ raw: "raw";
196
+ residual_norm: "residual_norm";
197
+ activation_std: "activation_std";
198
+ }>;
199
+ calibrationId: z.ZodOptional<z.ZodString>;
200
+ operation: z.ZodLiteral<"NEURON_REPLACE">;
201
+ neuron: z.ZodNumber;
202
+ replacement: z.ZodDiscriminatedUnion<[
203
+ z.ZodObject<{
204
+ kind: z.ZodLiteral<"scalar">;
205
+ value: z.ZodNumber;
206
+ }, z.core.$strict>,
207
+ z.ZodObject<{
208
+ kind: z.ZodLiteral<"tensor">;
209
+ tensor: z.ZodObject<{
210
+ artifact: z.ZodObject<{
211
+ uri: z.ZodString;
212
+ sha256: z.ZodString;
213
+ sizeBytes: z.ZodNumber;
214
+ mediaType: z.ZodString;
215
+ }, z.core.$strict>;
216
+ shape: z.ZodArray<z.ZodNumber>;
217
+ dtype: z.ZodEnum<{
218
+ f16: "f16";
219
+ bf16: "bf16";
220
+ f32: "f32";
221
+ f64: "f64";
222
+ i8: "i8";
223
+ i16: "i16";
224
+ i32: "i32";
225
+ i64: "i64";
226
+ u8: "u8";
227
+ bool: "bool";
228
+ quantized: "quantized";
229
+ }>;
230
+ }, z.core.$strict>;
231
+ }, z.core.$strict>
232
+ ], "kind">;
233
+ id: z.ZodString;
234
+ siteId: z.ZodString;
235
+ tokenScope: z.ZodDiscriminatedUnion<[
236
+ z.ZodObject<{
237
+ kind: z.ZodLiteral<"all">;
238
+ }, z.core.$strict>,
239
+ z.ZodObject<{
240
+ kind: z.ZodLiteral<"prompt">;
241
+ }, z.core.$strict>,
242
+ z.ZodObject<{
243
+ kind: z.ZodLiteral<"generated">;
244
+ }, z.core.$strict>,
245
+ z.ZodObject<{
246
+ kind: z.ZodLiteral<"positions">;
247
+ positions: z.ZodArray<z.ZodNumber>;
248
+ }, z.core.$strict>
249
+ ], "kind">;
250
+ }, z.core.$strict>,
251
+ z.ZodObject<{
252
+ units: z.ZodEnum<{
253
+ raw: "raw";
254
+ residual_norm: "residual_norm";
255
+ activation_std: "activation_std";
256
+ }>;
257
+ calibrationId: z.ZodOptional<z.ZodString>;
258
+ operation: z.ZodLiteral<"RESIDUAL_ADD">;
259
+ vector: z.ZodObject<{
260
+ artifact: z.ZodObject<{
261
+ uri: z.ZodString;
262
+ sha256: z.ZodString;
263
+ sizeBytes: z.ZodNumber;
264
+ mediaType: z.ZodString;
265
+ }, z.core.$strict>;
266
+ shape: z.ZodArray<z.ZodNumber>;
267
+ dtype: z.ZodEnum<{
268
+ f16: "f16";
269
+ bf16: "bf16";
270
+ f32: "f32";
271
+ f64: "f64";
272
+ i8: "i8";
273
+ i16: "i16";
274
+ i32: "i32";
275
+ i64: "i64";
276
+ u8: "u8";
277
+ bool: "bool";
278
+ quantized: "quantized";
279
+ }>;
280
+ }, z.core.$strict>;
281
+ scale: z.ZodNumber;
282
+ id: z.ZodString;
283
+ siteId: z.ZodString;
284
+ tokenScope: z.ZodDiscriminatedUnion<[
285
+ z.ZodObject<{
286
+ kind: z.ZodLiteral<"all">;
287
+ }, z.core.$strict>,
288
+ z.ZodObject<{
289
+ kind: z.ZodLiteral<"prompt">;
290
+ }, z.core.$strict>,
291
+ z.ZodObject<{
292
+ kind: z.ZodLiteral<"generated">;
293
+ }, z.core.$strict>,
294
+ z.ZodObject<{
295
+ kind: z.ZodLiteral<"positions">;
296
+ positions: z.ZodArray<z.ZodNumber>;
297
+ }, z.core.$strict>
298
+ ], "kind">;
299
+ }, z.core.$strict>,
300
+ z.ZodObject<{
301
+ operation: z.ZodLiteral<"DIRECTION_PROJECT">;
302
+ basis: z.ZodObject<{
303
+ artifact: z.ZodObject<{
304
+ uri: z.ZodString;
305
+ sha256: z.ZodString;
306
+ sizeBytes: z.ZodNumber;
307
+ mediaType: z.ZodString;
308
+ }, z.core.$strict>;
309
+ shape: z.ZodArray<z.ZodNumber>;
310
+ dtype: z.ZodEnum<{
311
+ f16: "f16";
312
+ bf16: "bf16";
313
+ f32: "f32";
314
+ f64: "f64";
315
+ i8: "i8";
316
+ i16: "i16";
317
+ i32: "i32";
318
+ i64: "i64";
319
+ u8: "u8";
320
+ bool: "bool";
321
+ quantized: "quantized";
322
+ }>;
323
+ }, z.core.$strict>;
324
+ strength: z.ZodNumber;
325
+ normalization: z.ZodLiteral<"orthonormal">;
326
+ id: z.ZodString;
327
+ siteId: z.ZodString;
328
+ tokenScope: z.ZodDiscriminatedUnion<[
329
+ z.ZodObject<{
330
+ kind: z.ZodLiteral<"all">;
331
+ }, z.core.$strict>,
332
+ z.ZodObject<{
333
+ kind: z.ZodLiteral<"prompt">;
334
+ }, z.core.$strict>,
335
+ z.ZodObject<{
336
+ kind: z.ZodLiteral<"generated">;
337
+ }, z.core.$strict>,
338
+ z.ZodObject<{
339
+ kind: z.ZodLiteral<"positions">;
340
+ positions: z.ZodArray<z.ZodNumber>;
341
+ }, z.core.$strict>
342
+ ], "kind">;
343
+ }, z.core.$strict>,
344
+ z.ZodObject<{
345
+ operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">;
346
+ head: z.ZodNumber;
347
+ factor: z.ZodNumber;
348
+ id: z.ZodString;
349
+ siteId: z.ZodString;
350
+ tokenScope: z.ZodDiscriminatedUnion<[
351
+ z.ZodObject<{
352
+ kind: z.ZodLiteral<"all">;
353
+ }, z.core.$strict>,
354
+ z.ZodObject<{
355
+ kind: z.ZodLiteral<"prompt">;
356
+ }, z.core.$strict>,
357
+ z.ZodObject<{
358
+ kind: z.ZodLiteral<"generated">;
359
+ }, z.core.$strict>,
360
+ z.ZodObject<{
361
+ kind: z.ZodLiteral<"positions">;
362
+ positions: z.ZodArray<z.ZodNumber>;
363
+ }, z.core.$strict>
364
+ ], "kind">;
365
+ }, z.core.$strict>,
366
+ z.ZodObject<{
367
+ operation: z.ZodLiteral<"EXPERT_GAIN">;
368
+ expert: z.ZodNumber;
369
+ factor: z.ZodNumber;
370
+ id: z.ZodString;
371
+ siteId: z.ZodString;
372
+ tokenScope: z.ZodDiscriminatedUnion<[
373
+ z.ZodObject<{
374
+ kind: z.ZodLiteral<"all">;
375
+ }, z.core.$strict>,
376
+ z.ZodObject<{
377
+ kind: z.ZodLiteral<"prompt">;
378
+ }, z.core.$strict>,
379
+ z.ZodObject<{
380
+ kind: z.ZodLiteral<"generated">;
381
+ }, z.core.$strict>,
382
+ z.ZodObject<{
383
+ kind: z.ZodLiteral<"positions">;
384
+ positions: z.ZodArray<z.ZodNumber>;
385
+ }, z.core.$strict>
386
+ ], "kind">;
387
+ }, z.core.$strict>,
388
+ z.ZodObject<{
389
+ units: z.ZodEnum<{
390
+ raw: "raw";
391
+ residual_norm: "residual_norm";
392
+ activation_std: "activation_std";
393
+ }>;
394
+ calibrationId: z.ZodOptional<z.ZodString>;
395
+ operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">;
396
+ expert: z.ZodNumber;
397
+ amount: z.ZodNumber;
398
+ id: z.ZodString;
399
+ siteId: z.ZodString;
400
+ tokenScope: z.ZodDiscriminatedUnion<[
401
+ z.ZodObject<{
402
+ kind: z.ZodLiteral<"all">;
403
+ }, z.core.$strict>,
404
+ z.ZodObject<{
405
+ kind: z.ZodLiteral<"prompt">;
406
+ }, z.core.$strict>,
407
+ z.ZodObject<{
408
+ kind: z.ZodLiteral<"generated">;
409
+ }, z.core.$strict>,
410
+ z.ZodObject<{
411
+ kind: z.ZodLiteral<"positions">;
412
+ positions: z.ZodArray<z.ZodNumber>;
413
+ }, z.core.$strict>
414
+ ], "kind">;
415
+ }, z.core.$strict>,
416
+ z.ZodObject<{
417
+ operation: z.ZodLiteral<"WEIGHT_ADD">;
418
+ delta: z.ZodDiscriminatedUnion<[
419
+ z.ZodObject<{
420
+ kind: z.ZodLiteral<"scalar">;
421
+ value: z.ZodNumber;
422
+ }, z.core.$strict>,
423
+ z.ZodObject<{
424
+ kind: z.ZodLiteral<"tensor">;
425
+ tensor: z.ZodObject<{
426
+ artifact: z.ZodObject<{
427
+ uri: z.ZodString;
428
+ sha256: z.ZodString;
429
+ sizeBytes: z.ZodNumber;
430
+ mediaType: z.ZodString;
431
+ }, z.core.$strict>;
432
+ shape: z.ZodArray<z.ZodNumber>;
433
+ dtype: z.ZodEnum<{
434
+ f16: "f16";
435
+ bf16: "bf16";
436
+ f32: "f32";
437
+ f64: "f64";
438
+ i8: "i8";
439
+ i16: "i16";
440
+ i32: "i32";
441
+ i64: "i64";
442
+ u8: "u8";
443
+ bool: "bool";
444
+ quantized: "quantized";
445
+ }>;
446
+ }, z.core.$strict>;
447
+ }, z.core.$strict>
448
+ ], "kind">;
449
+ id: z.ZodString;
450
+ siteId: z.ZodString;
451
+ tokenScope: z.ZodDiscriminatedUnion<[
452
+ z.ZodObject<{
453
+ kind: z.ZodLiteral<"all">;
454
+ }, z.core.$strict>,
455
+ z.ZodObject<{
456
+ kind: z.ZodLiteral<"prompt">;
457
+ }, z.core.$strict>,
458
+ z.ZodObject<{
459
+ kind: z.ZodLiteral<"generated">;
460
+ }, z.core.$strict>,
461
+ z.ZodObject<{
462
+ kind: z.ZodLiteral<"positions">;
463
+ positions: z.ZodArray<z.ZodNumber>;
464
+ }, z.core.$strict>
465
+ ], "kind">;
466
+ }, z.core.$strict>,
467
+ z.ZodObject<{
468
+ operation: z.ZodLiteral<"WEIGHT_GAIN">;
469
+ gain: z.ZodDiscriminatedUnion<[
470
+ z.ZodObject<{
471
+ kind: z.ZodLiteral<"scalar">;
472
+ factor: z.ZodNumber;
473
+ }, z.core.$strict>,
474
+ z.ZodObject<{
475
+ kind: z.ZodLiteral<"axis">;
476
+ axis: z.ZodNumber;
477
+ factors: z.ZodObject<{
478
+ artifact: z.ZodObject<{
479
+ uri: z.ZodString;
480
+ sha256: z.ZodString;
481
+ sizeBytes: z.ZodNumber;
482
+ mediaType: z.ZodString;
483
+ }, z.core.$strict>;
484
+ shape: z.ZodArray<z.ZodNumber>;
485
+ dtype: z.ZodEnum<{
486
+ f16: "f16";
487
+ bf16: "bf16";
488
+ f32: "f32";
489
+ f64: "f64";
490
+ i8: "i8";
491
+ i16: "i16";
492
+ i32: "i32";
493
+ i64: "i64";
494
+ u8: "u8";
495
+ bool: "bool";
496
+ quantized: "quantized";
497
+ }>;
498
+ }, z.core.$strict>;
499
+ }, z.core.$strict>
500
+ ], "kind">;
501
+ id: z.ZodString;
502
+ siteId: z.ZodString;
503
+ tokenScope: z.ZodDiscriminatedUnion<[
504
+ z.ZodObject<{
505
+ kind: z.ZodLiteral<"all">;
506
+ }, z.core.$strict>,
507
+ z.ZodObject<{
508
+ kind: z.ZodLiteral<"prompt">;
509
+ }, z.core.$strict>,
510
+ z.ZodObject<{
511
+ kind: z.ZodLiteral<"generated">;
512
+ }, z.core.$strict>,
513
+ z.ZodObject<{
514
+ kind: z.ZodLiteral<"positions">;
515
+ positions: z.ZodArray<z.ZodNumber>;
516
+ }, z.core.$strict>
517
+ ], "kind">;
518
+ }, z.core.$strict>,
519
+ z.ZodObject<{
520
+ operation: z.ZodLiteral<"WEIGHT_REPLACE">;
521
+ replacement: z.ZodObject<{
522
+ artifact: z.ZodObject<{
523
+ uri: z.ZodString;
524
+ sha256: z.ZodString;
525
+ sizeBytes: z.ZodNumber;
526
+ mediaType: z.ZodString;
527
+ }, z.core.$strict>;
528
+ shape: z.ZodArray<z.ZodNumber>;
529
+ dtype: z.ZodEnum<{
530
+ f16: "f16";
531
+ bf16: "bf16";
532
+ f32: "f32";
533
+ f64: "f64";
534
+ i8: "i8";
535
+ i16: "i16";
536
+ i32: "i32";
537
+ i64: "i64";
538
+ u8: "u8";
539
+ bool: "bool";
540
+ quantized: "quantized";
541
+ }>;
542
+ }, z.core.$strict>;
543
+ id: z.ZodString;
544
+ siteId: z.ZodString;
545
+ tokenScope: z.ZodDiscriminatedUnion<[
546
+ z.ZodObject<{
547
+ kind: z.ZodLiteral<"all">;
548
+ }, z.core.$strict>,
549
+ z.ZodObject<{
550
+ kind: z.ZodLiteral<"prompt">;
551
+ }, z.core.$strict>,
552
+ z.ZodObject<{
553
+ kind: z.ZodLiteral<"generated">;
554
+ }, z.core.$strict>,
555
+ z.ZodObject<{
556
+ kind: z.ZodLiteral<"positions">;
557
+ positions: z.ZodArray<z.ZodNumber>;
558
+ }, z.core.$strict>
559
+ ], "kind">;
560
+ }, z.core.$strict>,
561
+ z.ZodObject<{
562
+ operation: z.ZodLiteral<"WEIGHT_PROJECT">;
563
+ side: z.ZodEnum<{
564
+ left: "left";
565
+ right: "right";
566
+ }>;
567
+ basis: z.ZodObject<{
568
+ artifact: z.ZodObject<{
569
+ uri: z.ZodString;
570
+ sha256: z.ZodString;
571
+ sizeBytes: z.ZodNumber;
572
+ mediaType: z.ZodString;
573
+ }, z.core.$strict>;
574
+ shape: z.ZodArray<z.ZodNumber>;
575
+ dtype: z.ZodEnum<{
576
+ f16: "f16";
577
+ bf16: "bf16";
578
+ f32: "f32";
579
+ f64: "f64";
580
+ i8: "i8";
581
+ i16: "i16";
582
+ i32: "i32";
583
+ i64: "i64";
584
+ u8: "u8";
585
+ bool: "bool";
586
+ quantized: "quantized";
587
+ }>;
588
+ }, z.core.$strict>;
589
+ strength: z.ZodNumber;
590
+ normalization: z.ZodLiteral<"orthonormal">;
591
+ id: z.ZodString;
592
+ siteId: z.ZodString;
593
+ tokenScope: z.ZodDiscriminatedUnion<[
594
+ z.ZodObject<{
595
+ kind: z.ZodLiteral<"all">;
596
+ }, z.core.$strict>,
597
+ z.ZodObject<{
598
+ kind: z.ZodLiteral<"prompt">;
599
+ }, z.core.$strict>,
600
+ z.ZodObject<{
601
+ kind: z.ZodLiteral<"generated">;
602
+ }, z.core.$strict>,
603
+ z.ZodObject<{
604
+ kind: z.ZodLiteral<"positions">;
605
+ positions: z.ZodArray<z.ZodNumber>;
606
+ }, z.core.$strict>
607
+ ], "kind">;
608
+ }, z.core.$strict>,
609
+ z.ZodObject<{
610
+ operation: z.ZodLiteral<"LOW_RANK_UPDATE">;
611
+ a: z.ZodObject<{
612
+ artifact: z.ZodObject<{
613
+ uri: z.ZodString;
614
+ sha256: z.ZodString;
615
+ sizeBytes: z.ZodNumber;
616
+ mediaType: z.ZodString;
617
+ }, z.core.$strict>;
618
+ shape: z.ZodArray<z.ZodNumber>;
619
+ dtype: z.ZodEnum<{
620
+ f16: "f16";
621
+ bf16: "bf16";
622
+ f32: "f32";
623
+ f64: "f64";
624
+ i8: "i8";
625
+ i16: "i16";
626
+ i32: "i32";
627
+ i64: "i64";
628
+ u8: "u8";
629
+ bool: "bool";
630
+ quantized: "quantized";
631
+ }>;
632
+ }, z.core.$strict>;
633
+ b: z.ZodObject<{
634
+ artifact: z.ZodObject<{
635
+ uri: z.ZodString;
636
+ sha256: z.ZodString;
637
+ sizeBytes: z.ZodNumber;
638
+ mediaType: z.ZodString;
639
+ }, z.core.$strict>;
640
+ shape: z.ZodArray<z.ZodNumber>;
641
+ dtype: z.ZodEnum<{
642
+ f16: "f16";
643
+ bf16: "bf16";
644
+ f32: "f32";
645
+ f64: "f64";
646
+ i8: "i8";
647
+ i16: "i16";
648
+ i32: "i32";
649
+ i64: "i64";
650
+ u8: "u8";
651
+ bool: "bool";
652
+ quantized: "quantized";
653
+ }>;
654
+ }, z.core.$strict>;
655
+ rank: z.ZodNumber;
656
+ alpha: z.ZodNumber;
657
+ scale: z.ZodNumber;
658
+ scaling: z.ZodLiteral<"alpha_over_rank">;
659
+ id: z.ZodString;
660
+ siteId: z.ZodString;
661
+ tokenScope: z.ZodDiscriminatedUnion<[
662
+ z.ZodObject<{
663
+ kind: z.ZodLiteral<"all">;
664
+ }, z.core.$strict>,
665
+ z.ZodObject<{
666
+ kind: z.ZodLiteral<"prompt">;
667
+ }, z.core.$strict>,
668
+ z.ZodObject<{
669
+ kind: z.ZodLiteral<"generated">;
670
+ }, z.core.$strict>,
671
+ z.ZodObject<{
672
+ kind: z.ZodLiteral<"positions">;
673
+ positions: z.ZodArray<z.ZodNumber>;
674
+ }, z.core.$strict>
675
+ ], "kind">;
676
+ }, z.core.$strict>,
677
+ z.ZodObject<{
678
+ operation: z.ZodLiteral<"WEIGHT_MERGE">;
679
+ sources: z.ZodArray<z.ZodObject<{
680
+ modelDigest: z.ZodString;
681
+ siteId: z.ZodString;
682
+ weight: z.ZodNumber;
683
+ }, z.core.$strict>>;
684
+ id: z.ZodString;
685
+ siteId: z.ZodString;
686
+ tokenScope: z.ZodDiscriminatedUnion<[
687
+ z.ZodObject<{
688
+ kind: z.ZodLiteral<"all">;
689
+ }, z.core.$strict>,
690
+ z.ZodObject<{
691
+ kind: z.ZodLiteral<"prompt">;
692
+ }, z.core.$strict>,
693
+ z.ZodObject<{
694
+ kind: z.ZodLiteral<"generated">;
695
+ }, z.core.$strict>,
696
+ z.ZodObject<{
697
+ kind: z.ZodLiteral<"positions">;
698
+ positions: z.ZodArray<z.ZodNumber>;
699
+ }, z.core.$strict>
700
+ ], "kind">;
701
+ }, z.core.$strict>
702
+ ], "operation">>;
703
+ calibrations: z.ZodArray<z.ZodObject<{
704
+ schema: z.ZodLiteral<"omnius.nol.calibration.v1">;
705
+ id: z.ZodString;
706
+ modelDigest: z.ZodString;
707
+ architectureMapDigest: z.ZodString;
708
+ units: z.ZodEnum<{
709
+ raw: "raw";
710
+ residual_norm: "residual_norm";
711
+ activation_std: "activation_std";
712
+ }>;
713
+ definitionDigest: z.ZodString;
714
+ corpusDigest: z.ZodOptional<z.ZodString>;
715
+ tokenPositionsDigest: z.ZodOptional<z.ZodString>;
716
+ statistics: z.ZodOptional<z.ZodObject<{
717
+ uri: z.ZodString;
718
+ sha256: z.ZodString;
719
+ sizeBytes: z.ZodNumber;
720
+ mediaType: z.ZodString;
721
+ }, z.core.$strict>>;
722
+ siteScales: z.ZodArray<z.ZodObject<{
723
+ siteId: z.ZodString;
724
+ scale: z.ZodNumber;
725
+ }, z.core.$strict>>;
726
+ }, z.core.$strict>>;
727
+ createdAt: z.ZodString;
728
+ provenance: z.ZodArray<z.ZodObject<{
729
+ source: z.ZodString;
730
+ uri: z.ZodOptional<z.ZodString>;
731
+ sourceDigest: z.ZodOptional<z.ZodString>;
732
+ license: z.ZodOptional<z.ZodString>;
733
+ artifact: z.ZodOptional<z.ZodObject<{
734
+ uri: z.ZodString;
735
+ sha256: z.ZodString;
736
+ sizeBytes: z.ZodNumber;
737
+ mediaType: z.ZodString;
738
+ }, z.core.$strict>>;
739
+ }, z.core.$strict>>;
740
+ }, z.core.$strict>;
741
+ randomSeed: z.ZodNumber;
742
+ }, z.core.$strict>>;
743
+ seed: z.ZodNumber;
744
+ maxTokens: z.ZodNumber;
745
+ budgets: z.ZodObject<{
746
+ maxDurationMs: z.ZodNumber;
747
+ maxPromptTokens: z.ZodNumber;
748
+ maxGeneratedTokens: z.ZodNumber;
749
+ maxSyntheticSamplerRows: z.ZodNumber;
750
+ maxStartupForwardPositions: z.ZodNumber;
751
+ maxCaptureBytesPerRequest: z.ZodNumber;
752
+ maxArtifactBytes: z.ZodNumber;
753
+ }, z.core.$strict>;
754
+ }, z.core.$strict>;
755
+ export type NolVllmProfilePlan = z.infer<typeof NolVllmProfilePlanSchema>;
756
+ export interface NolVllmProfileContext {
757
+ actorId: string;
758
+ assertAuthorized(): void;
759
+ signal?: AbortSignal;
760
+ }
761
+ export interface NolVllmProfileOptions extends NolVllmHostOptions {
762
+ id: string;
763
+ projectRoot: string;
764
+ store: NolStore;
765
+ ownerId: string;
766
+ artifacts: Pick<NolArtifactStore, "root" | "readBytes" | "verify" | "putBytes" | "putJson" | "importFile">;
767
+ limits: {
768
+ maxJobs: number;
769
+ maxRequestsPerJob: number;
770
+ maxCaptureBytesPerRequest: number;
771
+ maxArtifactBytesPerJob: number;
772
+ maxMetadataBytes: number;
773
+ maxTotalStorageBytes: number;
774
+ minimumFreeBytes: number;
775
+ };
776
+ leaseMs?: number;
777
+ /** Host-only CPU custody fixture; production always constructs the real session. */
778
+ createHostSession?: (...args: ConstructorParameters<typeof NolVllmHostSession>) => NolVllmHostSession;
779
+ }
780
+ type TrialRecord = {
781
+ cell: number;
782
+ phase: string;
783
+ recipe: NolRecipeRevision | null;
784
+ raw: NolArtifactRef;
785
+ capture: NolArtifactRef;
786
+ verification: NolArtifactRef;
787
+ tokenization: NolArtifactRef;
788
+ independentTokenization: NolArtifactRef;
789
+ placementProof: NolArtifactRef;
790
+ requestId: string;
791
+ reset: NolArtifactRef;
792
+ };
793
+ export interface NolVllmIssuedConformance {
794
+ schema: "omnius.nol.vllm-conformance-issued.v1";
795
+ projectId: string;
796
+ scopeDigest: string;
797
+ jobId: string;
798
+ generation: number;
799
+ ownerId: string;
800
+ manifestDigest: string;
801
+ planDigest: string;
802
+ evidence: NolArtifactRef;
803
+ settlements: NolArtifactRef[];
804
+ trials: TrialRecord[];
805
+ }
806
+ /** Host owns SQLite and the immutable issued namespace; API/CAS documents are
807
+ * data. Local OS owners able to rewrite this private database are trusted.
808
+ * Failed and unknown outputs retain their durable storage slot and quota. */
809
+ export declare class NolVllmProfileService {
810
+ readonly projectId: string;
811
+ readonly scopeDigest: string;
812
+ private readonly active;
813
+ private closing;
814
+ private readonly options;
815
+ private readonly implementationDigest;
816
+ private readonly journal;
817
+ constructor(options: NolVllmProfileOptions);
818
+ private validated;
819
+ submit(input: unknown, context: NolVllmProfileContext): NolJob;
820
+ private manifest;
821
+ show(jobId: string, context: NolVllmProfileContext): NolJob;
822
+ private assert;
823
+ private hostImplementation;
824
+ private publisher;
825
+ run(jobId: string, context: NolVllmProfileContext): Promise<{
826
+ job: NolJob;
827
+ issuedRecordId?: string;
828
+ }>;
829
+ private session;
830
+ private trial;
831
+ private settle;
832
+ private custody;
833
+ private usage;
834
+ private execute;
835
+ cancel(jobId: string, context: NolVllmProfileContext, reason?: string): NolJob;
836
+ private inlineNoDispatch;
837
+ /** Read-only custody recovery for the genuine prior claim, never requeue or
838
+ * reconstruct a model. Unknown acquire/worker history stays quarantined. */
839
+ recoverCleanup(jobId: string, context: NolVllmProfileContext): Promise<NolJob>;
840
+ stopOwned(reason?: string): Promise<void>;
841
+ get ownedJobIds(): string[];
842
+ shutdown(): Promise<void>;
843
+ recoverIssuance(jobId: string, context: NolVllmProfileContext): Promise<{
844
+ job: NolJob;
845
+ issuedRecordId: string;
846
+ }>;
847
+ private verifyIssued;
848
+ resolveIssued(recordId: string, signal?: AbortSignal): Promise<NolVllmConformanceAuthority>;
849
+ }
850
+ export {};