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.
- package/dist/{providerRegistry.d.ts → _types/backend-vllm/providerRegistry.d.ts} +0 -1
- package/dist/_types/backend-vllm/types.d.ts +209 -0
- package/dist/_types/execution/av/media-capability.d.ts +94 -0
- package/dist/_types/execution/delegation-contract.d.ts +102 -0
- package/dist/_types/execution/evidence.d.ts +68 -0
- package/dist/_types/execution/html-source-evidence.d.ts +65 -0
- package/dist/_types/execution/mcp/types.d.ts +169 -0
- package/dist/_types/execution/mutation-contract.d.ts +102 -0
- package/dist/_types/execution/nol/artifacts.d.ts +39 -0
- package/dist/_types/execution/nol/checkpoint-edits.d.ts +98 -0
- package/dist/_types/execution/nol/distributions.d.ts +128 -0
- package/dist/_types/execution/nol/gguf-checkpoint-edits.d.ts +194 -0
- package/dist/_types/execution/nol/gguf-control-reader.d.ts +224 -0
- package/dist/_types/execution/nol/lora-exports.d.ts +129 -0
- package/dist/_types/execution/nol/neuronary.d.ts +212 -0
- package/dist/_types/execution/nol/pytorch-control-reader.d.ts +143 -0
- package/dist/_types/execution/nol/qwen35-head-sites.d.ts +61 -0
- package/dist/_types/execution/nol/worker-assets.d.ts +82 -0
- package/dist/_types/execution/nol/worker-protocol.d.ts +94 -0
- package/dist/_types/execution/page-content-source.d.ts +40 -0
- package/dist/_types/execution/rapid-computer-use/artifact-store.d.ts +21 -0
- package/dist/_types/execution/rapid-computer-use/contracts.d.ts +320 -0
- package/dist/_types/execution/rapid-computer-use/decision.d.ts +70 -0
- package/dist/_types/execution/rapid-computer-use/desktop-verification.d.ts +23 -0
- package/dist/_types/execution/rapid-computer-use/geometry.d.ts +57 -0
- package/dist/_types/execution/rapid-computer-use/planner.d.ts +78 -0
- package/dist/_types/execution/rapid-computer-use/trace.d.ts +80 -0
- package/dist/_types/execution/rapid-computer-use/visual.d.ts +48 -0
- package/dist/_types/execution/shell-runs.d.ts +78 -0
- package/dist/_types/execution/streamed-web-source.d.ts +64 -0
- package/dist/_types/execution/tools/browser-page-fallback.d.ts +25 -0
- package/dist/_types/execution/tools/network-egress-policy.d.ts +30 -0
- package/dist/_types/execution/tools/pdf-native-tables.d.ts +46 -0
- package/dist/_types/execution/tools/todo-store.d.ts +133 -0
- package/dist/_types/execution/tools/web-fetch.d.ts +57 -0
- package/dist/_types/execution/tools/workboard.d.ts +1223 -0
- package/dist/_types/execution/types.d.ts +549 -0
- package/dist/_types/execution/web-source.d.ts +14 -0
- package/dist/_types/memory/artifactReviewSourceIndex.d.ts +133 -0
- package/dist/_types/memory/contextMemoryLedger.d.ts +213 -0
- package/dist/_types/memory/db.d.ts +12 -0
- package/dist/_types/memory/embeddings.d.ts +36 -0
- package/dist/_types/memory/immutableEvidenceStore.d.ts +165 -0
- package/dist/_types/memory/memoryIngestion.d.ts +65 -0
- package/dist/_types/memory/memoryTypes.d.ts +312 -0
- package/dist/_types/memory/sourceCorpusStore.d.ts +331 -0
- package/dist/_types/memory/structuredMemoryStore.d.ts +105 -0
- package/dist/_types/memory/unifiedMemoryStore.d.ts +127 -0
- package/dist/_types/memory/virtualMemory.d.ts +187 -0
- package/dist/_types/orchestrator/agentic-page-content-receipt.d.ts +20 -0
- package/dist/_types/orchestrator/agentic-web-fetch-receipt.d.ts +20 -0
- package/dist/_types/orchestrator/agenticRunner.d.ts +5219 -0
- package/dist/_types/orchestrator/app-state.d.ts +171 -0
- package/dist/_types/orchestrator/artifactClaimCritic.d.ts +63 -0
- package/dist/_types/orchestrator/artifactQuality.d.ts +15 -0
- package/dist/_types/orchestrator/artifactSemanticIntegrity.d.ts +203 -0
- package/dist/_types/orchestrator/canonical-context-projection.d.ts +254 -0
- package/dist/_types/orchestrator/canonical-source-body-projection.d.ts +51 -0
- package/dist/_types/orchestrator/completion-review-pending.d.ts +24 -0
- package/dist/_types/orchestrator/completionContract.d.ts +103 -0
- package/dist/_types/orchestrator/completionFinalization.d.ts +224 -0
- package/dist/_types/orchestrator/completionLedger.d.ts +429 -0
- package/dist/_types/orchestrator/completionReadiness.d.ts +234 -0
- package/dist/_types/orchestrator/context-admission.d.ts +93 -0
- package/dist/_types/orchestrator/context-dump-retention.d.ts +25 -0
- package/dist/_types/orchestrator/context-fabric.d.ts +133 -0
- package/dist/_types/orchestrator/contextEngine.d.ts +68 -0
- package/dist/_types/orchestrator/contextWindowDump.d.ts +327 -0
- package/dist/_types/orchestrator/convergence-breaker.d.ts +225 -0
- package/dist/_types/orchestrator/convergence-progress.d.ts +66 -0
- package/dist/_types/orchestrator/deliveryCoverage.d.ts +181 -0
- package/dist/_types/orchestrator/document-persistence-goal-binding.d.ts +106 -0
- package/dist/_types/orchestrator/durable-document-worker.d.ts +85 -0
- package/dist/_types/orchestrator/evidenceBranch.d.ts +291 -0
- package/dist/_types/orchestrator/expected-inference-response.d.ts +55 -0
- package/dist/_types/orchestrator/expectedOutcomeContract.d.ts +58 -0
- package/dist/_types/orchestrator/failure-taxonomy.d.ts +36 -0
- package/dist/_types/orchestrator/focusSupervisor.d.ts +436 -0
- package/dist/_types/orchestrator/forced-update-requirement-recovery.d.ts +105 -0
- package/dist/_types/orchestrator/hooks.d.ts +100 -0
- package/dist/_types/orchestrator/inference-pressure.d.ts +61 -0
- package/dist/_types/orchestrator/integrationClosure.d.ts +89 -0
- package/dist/_types/orchestrator/interruption-lifecycle.d.ts +154 -0
- package/dist/_types/orchestrator/live-memory-passages.d.ts +51 -0
- package/dist/_types/orchestrator/liveVirtualContext.d.ts +84 -0
- package/dist/_types/orchestrator/memory-compiler.d.ts +254 -0
- package/dist/_types/orchestrator/memory-consolidation.d.ts +134 -0
- package/dist/_types/orchestrator/model-router.d.ts +17 -0
- package/dist/_types/orchestrator/modelResponseDiagnostics.d.ts +71 -0
- package/dist/_types/orchestrator/nativeRequirementAmendment.d.ts +63 -0
- package/dist/_types/orchestrator/nol/coordinator.d.ts +204 -0
- package/dist/_types/orchestrator/nol/datasets.d.ts +58 -0
- package/dist/_types/orchestrator/nol/discovery.d.ts +286 -0
- package/dist/_types/orchestrator/nol/evaluation.d.ts +59 -0
- package/dist/_types/orchestrator/nol/model-validation.d.ts +198 -0
- package/dist/_types/orchestrator/nol/statistics.d.ts +142 -0
- package/dist/_types/orchestrator/nol/store.d.ts +133 -0
- package/dist/_types/orchestrator/nol/variant-registry.d.ts +292 -0
- package/dist/_types/orchestrator/ollama-context-policy.d.ts +34 -0
- package/dist/_types/orchestrator/personality.d.ts +66 -0
- package/dist/_types/orchestrator/prompt-cache.d.ts +24 -0
- package/dist/_types/orchestrator/remote-inference-fallback.d.ts +224 -0
- package/dist/_types/orchestrator/remote-inference-policy.d.ts +58 -0
- package/dist/_types/orchestrator/request-budget.d.ts +75 -0
- package/dist/_types/orchestrator/requirementCoverage.d.ts +69 -0
- package/dist/_types/orchestrator/reviewedInterpretation.d.ts +111 -0
- package/dist/_types/orchestrator/runEvents.d.ts +115 -0
- package/dist/_types/orchestrator/runtime-rollout.d.ts +63 -0
- package/dist/_types/orchestrator/semanticVerification.d.ts +135 -0
- package/dist/_types/orchestrator/source-wide-extraction.d.ts +202 -0
- package/dist/_types/orchestrator/steeringIntake.d.ts +123 -0
- package/dist/_types/orchestrator/structured-memory-extraction-worker.d.ts +89 -0
- package/dist/_types/orchestrator/structuredMemoryInference.d.ts +62 -0
- package/dist/_types/orchestrator/successful-procedure-memory.d.ts +127 -0
- package/dist/_types/orchestrator/supportedAnswer.d.ts +68 -0
- package/dist/_types/orchestrator/taskEffectEvidence.d.ts +38 -0
- package/dist/_types/orchestrator/taskExecutionSnapshot.d.ts +67 -0
- package/dist/_types/orchestrator/taskObjective.d.ts +310 -0
- package/dist/_types/orchestrator/taskObjectiveContinuation.d.ts +134 -0
- package/dist/_types/orchestrator/taskRequirementReview.d.ts +246 -0
- package/dist/_types/orchestrator/taskRequirements.d.ts +80 -0
- package/dist/_types/orchestrator/taskSemanticAdmission.d.ts +159 -0
- package/dist/_types/orchestrator/taskWorkDelegation.d.ts +147 -0
- package/dist/_types/orchestrator/taskWorkPlan.d.ts +177 -0
- package/dist/_types/orchestrator/telegram-passive-history.d.ts +42 -0
- package/dist/_types/orchestrator/terminalTaskReport.d.ts +91 -0
- package/dist/_types/orchestrator/todoObservability.d.ts +147 -0
- package/dist/_types/orchestrator/tool-exposure-policy.d.ts +100 -0
- package/dist/_types/orchestrator/trajectory-checkpoint.d.ts +159 -0
- package/dist/_types/orchestrator/types.d.ts +185 -0
- package/dist/_types/schemas/dispatch.d.ts +53 -0
- package/dist/_types/schemas/feature-workflow.d.ts +362 -0
- package/dist/_types/schemas/messages.d.ts +15 -0
- package/dist/_types/schemas/nol-assets.d.ts +955 -0
- package/dist/_types/schemas/nol-json.d.ts +2 -0
- package/dist/_types/schemas/nol.d.ts +3995 -0
- package/dist/_types/schemas/patch.d.ts +47 -0
- package/dist/_types/schemas/plan.d.ts +47 -0
- package/dist/_types/schemas/repoProfile.d.ts +116 -0
- package/dist/_types/schemas/retrieval.d.ts +44 -0
- package/dist/_types/schemas/task.d.ts +57 -0
- package/dist/_types/schemas/tools.d.ts +16 -0
- package/dist/_types/schemas/verification.d.ts +31 -0
- package/dist/api/py-embed.js +3353 -1829
- package/dist/assets/nol-checkpoint-editor.py +701 -0
- package/dist/assets/nol-gguf-checkpoint-editor.py +785 -0
- package/dist/assets/nol-gguf-control-reader.py +428 -0
- package/dist/assets/nol-gne-tools-worker.py +425 -0
- package/dist/assets/nol-gne-worker.py +1081 -0
- package/dist/assets/nol-lora-exporter.py +349 -0
- package/dist/assets/nol-pytorch-control-reader.py +470 -0
- package/dist/assets/nol-transformers-nnsight-worker.py +512 -0
- package/dist/assets/nol-transformers-peft-validation-worker.py +385 -0
- package/dist/assets/nol-transformers-peft-worker.py +488 -0
- package/dist/assets/nol-transformers-research-worker.py +472 -0
- package/dist/assets/nol-transformers-worker.py +920 -0
- package/dist/assets/nol-vllm-owned-worker.py +803 -0
- package/dist/assets/nol-vllm-runtime.py +695 -0
- package/dist/assets/nol-vllm-tokenizer.py +93 -0
- package/dist/assets/nol-vllm-worker.py +201 -0
- package/dist/computer-use/configured-planner.d.ts +37 -0
- package/dist/computer-use/configured-point.d.ts +35 -0
- package/dist/computer-use/host-session.d.ts +60 -0
- package/dist/computer-use/runner-ui-port.d.ts +37 -0
- package/dist/computer-use/session-review.d.ts +14 -0
- package/dist/computer-use/task-spec.d.ts +84 -0
- package/dist/discovery.d.ts +16 -2
- package/dist/index.js +2 -2
- package/dist/library.d.ts +94 -10
- package/dist/library.js +144003 -87414
- package/dist/memory-maintenance-worker.js +1676 -511
- package/dist/nol/cpu-control-reader-profile.d.ts +93 -0
- package/dist/nol/cpu-control-reader-service.d.ts +87 -0
- package/dist/nol/cuda-lease.d.ts +111 -0
- package/dist/nol/cuda-mutations.d.ts +34 -0
- package/dist/nol/export-runtime-config.d.ts +114 -0
- package/dist/nol/export-service.d.ts +143 -0
- package/dist/nol/facade.d.ts +147 -0
- package/dist/nol/gguf-cpu-control-reader-profile.d.ts +106 -0
- package/dist/nol/gguf-cpu-control-reader-service.d.ts +91 -0
- package/dist/nol/gguf-model-control-verifier.d.ts +120 -0
- package/dist/nol/gguf-parameter-inventory.d.ts +28 -0
- package/dist/nol/gne-adapter.d.ts +134 -0
- package/dist/nol/gne-agent-evaluation.d.ts +84 -0
- package/dist/nol/gne-profile.d.ts +124 -0
- package/dist/nol/gne-tools-profile.d.ts +148 -0
- package/dist/nol/gne-tools-transport.d.ts +194 -0
- package/dist/nol/model-actions.d.ts +662 -0
- package/dist/nol/model-control-verifier.d.ts +135 -0
- package/dist/nol/model-json-scorer.d.ts +13 -0
- package/dist/nol/model-runtime-config.d.ts +830 -0
- package/dist/nol/model-serving.d.ts +130 -0
- package/dist/nol/model-subject-adapter.d.ts +72 -0
- package/dist/nol/model-validation-factory.d.ts +113 -0
- package/dist/nol/neuronary-catalog.d.ts +130 -0
- package/dist/nol/orphan-custody.d.ts +72 -0
- package/dist/nol/peft-conformance.d.ts +48 -0
- package/dist/nol/peft-control-types.d.ts +137 -0
- package/dist/nol/peft-control-verifier.d.ts +8 -0
- package/dist/nol/peft-model-actions.d.ts +41 -0
- package/dist/nol/peft-model-authority.d.ts +146 -0
- package/dist/nol/peft-model-controls.d.ts +20 -0
- package/dist/nol/peft-model-host.d.ts +47 -0
- package/dist/nol/peft-model-profile.d.ts +161 -0
- package/dist/nol/peft-model-runtime-config.d.ts +174 -0
- package/dist/nol/peft-model-subject-adapter.d.ts +36 -0
- package/dist/nol/peft-validation.d.ts +105 -0
- package/dist/nol/persistent-parameter-inventory.d.ts +32 -0
- package/dist/nol/runtime.d.ts +100 -0
- package/dist/nol/sqlite-store.d.ts +80 -0
- package/dist/nol/transformers-adapter.d.ts +119 -0
- package/dist/nol/transformers-nnsight.d.ts +87 -0
- package/dist/nol/transformers-peft.d.ts +107 -0
- package/dist/nol/transformers-research.d.ts +114 -0
- package/dist/nol/variant-service.d.ts +143 -0
- package/dist/nol/variant-store.d.ts +51 -0
- package/dist/nol/vllm-actions.d.ts +774 -0
- package/dist/nol/vllm-adapter.d.ts +1473 -0
- package/dist/nol/vllm-authority.d.ts +55 -0
- package/dist/nol/vllm-conformance.d.ts +662 -0
- package/dist/nol/vllm-profile.d.ts +850 -0
- package/dist/nol/vllm-protocol.d.ts +1505 -0
- package/dist/nol/vllm-runtime-config.d.ts +120 -0
- package/dist/nol/vllm-runtime.d.ts +34 -0
- package/dist/nol/vllm-startup.d.ts +235 -0
- package/dist/omni-setup-worker.js +3433 -1909
- package/dist/service-version.d.ts +0 -1
- package/dist/tui/async-process.d.ts +27 -0
- package/dist/tui/native/worker.js +3 -1
- package/dist/tui/telegram-action-session-registry.d.ts +136 -0
- package/dist/tui/telegram-cognition-queue.d.ts +154 -0
- package/dist/tui/telegram-context-packet-v2.d.ts +99 -0
- package/dist/tui/telegram-input-ownership.d.ts +78 -0
- package/dist/tui/telegram-turn-contract-v2.d.ts +62 -0
- package/dist/update-worker-runtime.js +4216 -2603
- package/docs/DISCOVERY.json +389 -0
- package/docs/DISCOVERY.md +4 -0
- package/npm-shrinkwrap.json +28 -12
- package/package.json +3 -2
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type NolOperation, type NolRuntimeBinding } from "../_types/schemas/nol.js";
|
|
3
|
+
import { type NolVllmSource } from "./vllm-protocol.js";
|
|
4
|
+
export declare const nolVllmConformanceDigest: () => string;
|
|
5
|
+
/** Pure numeric verification. A successful return is data, never issuance. */
|
|
6
|
+
export declare const NOL_VLLM_CAPTURE_MAGIC: Buffer<ArrayBuffer>;
|
|
7
|
+
export declare const NOL_VLLM_CAPTURE_MEDIA_TYPE = "application/x-omnius-vllm-capture";
|
|
8
|
+
declare const headerSchema: z.ZodObject<{
|
|
9
|
+
schema: z.ZodLiteral<"omnius.nol.vllm-capture.v1">;
|
|
10
|
+
binding: z.ZodObject<{
|
|
11
|
+
schema: z.ZodLiteral<"omnius.nol.runtime.v1">;
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
backend: z.ZodEnum<{
|
|
14
|
+
other: "other";
|
|
15
|
+
gne: "gne";
|
|
16
|
+
llama_cpp: "llama_cpp";
|
|
17
|
+
transformers: "transformers";
|
|
18
|
+
nnsight: "nnsight";
|
|
19
|
+
ollama: "ollama";
|
|
20
|
+
vllm: "vllm";
|
|
21
|
+
}>;
|
|
22
|
+
modelDigest: z.ZodString;
|
|
23
|
+
architectureMapDigest: z.ZodString;
|
|
24
|
+
runtimeBuildDigest: z.ZodString;
|
|
25
|
+
dependencyLockDigest: z.ZodString;
|
|
26
|
+
tokenizerDigest: z.ZodString;
|
|
27
|
+
chatTemplateDigest: z.ZodString;
|
|
28
|
+
contextLimit: z.ZodNumber;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
source: z.ZodObject<{
|
|
31
|
+
workerSha256: z.ZodString;
|
|
32
|
+
companionSha256: z.ZodString;
|
|
33
|
+
runtimeSha256: z.ZodString;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
requestId: z.ZodString;
|
|
36
|
+
siteId: z.ZodString;
|
|
37
|
+
recipeDigest: z.ZodNullable<z.ZodString>;
|
|
38
|
+
promptTokenIds: z.ZodArray<z.ZodNumber>;
|
|
39
|
+
operations: z.ZodArray<z.ZodDiscriminatedUnion<[
|
|
40
|
+
z.ZodObject<{
|
|
41
|
+
units: z.ZodEnum<{
|
|
42
|
+
raw: "raw";
|
|
43
|
+
residual_norm: "residual_norm";
|
|
44
|
+
activation_std: "activation_std";
|
|
45
|
+
}>;
|
|
46
|
+
calibrationId: z.ZodOptional<z.ZodString>;
|
|
47
|
+
operation: z.ZodLiteral<"NEURON_ADD">;
|
|
48
|
+
neuron: z.ZodNumber;
|
|
49
|
+
amount: z.ZodNumber;
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
siteId: z.ZodString;
|
|
52
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
53
|
+
z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"all">;
|
|
55
|
+
}, z.core.$strict>,
|
|
56
|
+
z.ZodObject<{
|
|
57
|
+
kind: z.ZodLiteral<"prompt">;
|
|
58
|
+
}, z.core.$strict>,
|
|
59
|
+
z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"generated">;
|
|
61
|
+
}, z.core.$strict>,
|
|
62
|
+
z.ZodObject<{
|
|
63
|
+
kind: z.ZodLiteral<"positions">;
|
|
64
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
65
|
+
}, z.core.$strict>
|
|
66
|
+
], "kind">;
|
|
67
|
+
}, z.core.$strict>,
|
|
68
|
+
z.ZodObject<{
|
|
69
|
+
operation: z.ZodLiteral<"NEURON_GAIN">;
|
|
70
|
+
neuron: z.ZodNumber;
|
|
71
|
+
factor: z.ZodNumber;
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
siteId: z.ZodString;
|
|
74
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
75
|
+
z.ZodObject<{
|
|
76
|
+
kind: z.ZodLiteral<"all">;
|
|
77
|
+
}, z.core.$strict>,
|
|
78
|
+
z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"prompt">;
|
|
80
|
+
}, z.core.$strict>,
|
|
81
|
+
z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"generated">;
|
|
83
|
+
}, z.core.$strict>,
|
|
84
|
+
z.ZodObject<{
|
|
85
|
+
kind: z.ZodLiteral<"positions">;
|
|
86
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
87
|
+
}, z.core.$strict>
|
|
88
|
+
], "kind">;
|
|
89
|
+
}, z.core.$strict>,
|
|
90
|
+
z.ZodObject<{
|
|
91
|
+
units: z.ZodEnum<{
|
|
92
|
+
raw: "raw";
|
|
93
|
+
residual_norm: "residual_norm";
|
|
94
|
+
activation_std: "activation_std";
|
|
95
|
+
}>;
|
|
96
|
+
calibrationId: z.ZodOptional<z.ZodString>;
|
|
97
|
+
operation: z.ZodLiteral<"NEURON_REPLACE">;
|
|
98
|
+
neuron: z.ZodNumber;
|
|
99
|
+
replacement: z.ZodDiscriminatedUnion<[
|
|
100
|
+
z.ZodObject<{
|
|
101
|
+
kind: z.ZodLiteral<"scalar">;
|
|
102
|
+
value: z.ZodNumber;
|
|
103
|
+
}, z.core.$strict>,
|
|
104
|
+
z.ZodObject<{
|
|
105
|
+
kind: z.ZodLiteral<"tensor">;
|
|
106
|
+
tensor: z.ZodObject<{
|
|
107
|
+
artifact: z.ZodObject<{
|
|
108
|
+
uri: z.ZodString;
|
|
109
|
+
sha256: z.ZodString;
|
|
110
|
+
sizeBytes: z.ZodNumber;
|
|
111
|
+
mediaType: z.ZodString;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
114
|
+
dtype: z.ZodEnum<{
|
|
115
|
+
f16: "f16";
|
|
116
|
+
bf16: "bf16";
|
|
117
|
+
f32: "f32";
|
|
118
|
+
f64: "f64";
|
|
119
|
+
i8: "i8";
|
|
120
|
+
i16: "i16";
|
|
121
|
+
i32: "i32";
|
|
122
|
+
i64: "i64";
|
|
123
|
+
u8: "u8";
|
|
124
|
+
bool: "bool";
|
|
125
|
+
quantized: "quantized";
|
|
126
|
+
}>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
}, z.core.$strict>
|
|
129
|
+
], "kind">;
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
siteId: z.ZodString;
|
|
132
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
133
|
+
z.ZodObject<{
|
|
134
|
+
kind: z.ZodLiteral<"all">;
|
|
135
|
+
}, z.core.$strict>,
|
|
136
|
+
z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"prompt">;
|
|
138
|
+
}, z.core.$strict>,
|
|
139
|
+
z.ZodObject<{
|
|
140
|
+
kind: z.ZodLiteral<"generated">;
|
|
141
|
+
}, z.core.$strict>,
|
|
142
|
+
z.ZodObject<{
|
|
143
|
+
kind: z.ZodLiteral<"positions">;
|
|
144
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
145
|
+
}, z.core.$strict>
|
|
146
|
+
], "kind">;
|
|
147
|
+
}, z.core.$strict>,
|
|
148
|
+
z.ZodObject<{
|
|
149
|
+
units: z.ZodEnum<{
|
|
150
|
+
raw: "raw";
|
|
151
|
+
residual_norm: "residual_norm";
|
|
152
|
+
activation_std: "activation_std";
|
|
153
|
+
}>;
|
|
154
|
+
calibrationId: z.ZodOptional<z.ZodString>;
|
|
155
|
+
operation: z.ZodLiteral<"RESIDUAL_ADD">;
|
|
156
|
+
vector: z.ZodObject<{
|
|
157
|
+
artifact: z.ZodObject<{
|
|
158
|
+
uri: z.ZodString;
|
|
159
|
+
sha256: z.ZodString;
|
|
160
|
+
sizeBytes: z.ZodNumber;
|
|
161
|
+
mediaType: z.ZodString;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
164
|
+
dtype: z.ZodEnum<{
|
|
165
|
+
f16: "f16";
|
|
166
|
+
bf16: "bf16";
|
|
167
|
+
f32: "f32";
|
|
168
|
+
f64: "f64";
|
|
169
|
+
i8: "i8";
|
|
170
|
+
i16: "i16";
|
|
171
|
+
i32: "i32";
|
|
172
|
+
i64: "i64";
|
|
173
|
+
u8: "u8";
|
|
174
|
+
bool: "bool";
|
|
175
|
+
quantized: "quantized";
|
|
176
|
+
}>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
scale: z.ZodNumber;
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
siteId: z.ZodString;
|
|
181
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
182
|
+
z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"all">;
|
|
184
|
+
}, z.core.$strict>,
|
|
185
|
+
z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"prompt">;
|
|
187
|
+
}, z.core.$strict>,
|
|
188
|
+
z.ZodObject<{
|
|
189
|
+
kind: z.ZodLiteral<"generated">;
|
|
190
|
+
}, z.core.$strict>,
|
|
191
|
+
z.ZodObject<{
|
|
192
|
+
kind: z.ZodLiteral<"positions">;
|
|
193
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
194
|
+
}, z.core.$strict>
|
|
195
|
+
], "kind">;
|
|
196
|
+
}, z.core.$strict>,
|
|
197
|
+
z.ZodObject<{
|
|
198
|
+
operation: z.ZodLiteral<"DIRECTION_PROJECT">;
|
|
199
|
+
basis: z.ZodObject<{
|
|
200
|
+
artifact: z.ZodObject<{
|
|
201
|
+
uri: z.ZodString;
|
|
202
|
+
sha256: z.ZodString;
|
|
203
|
+
sizeBytes: z.ZodNumber;
|
|
204
|
+
mediaType: z.ZodString;
|
|
205
|
+
}, z.core.$strict>;
|
|
206
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
207
|
+
dtype: z.ZodEnum<{
|
|
208
|
+
f16: "f16";
|
|
209
|
+
bf16: "bf16";
|
|
210
|
+
f32: "f32";
|
|
211
|
+
f64: "f64";
|
|
212
|
+
i8: "i8";
|
|
213
|
+
i16: "i16";
|
|
214
|
+
i32: "i32";
|
|
215
|
+
i64: "i64";
|
|
216
|
+
u8: "u8";
|
|
217
|
+
bool: "bool";
|
|
218
|
+
quantized: "quantized";
|
|
219
|
+
}>;
|
|
220
|
+
}, z.core.$strict>;
|
|
221
|
+
strength: z.ZodNumber;
|
|
222
|
+
normalization: z.ZodLiteral<"orthonormal">;
|
|
223
|
+
id: z.ZodString;
|
|
224
|
+
siteId: z.ZodString;
|
|
225
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
226
|
+
z.ZodObject<{
|
|
227
|
+
kind: z.ZodLiteral<"all">;
|
|
228
|
+
}, z.core.$strict>,
|
|
229
|
+
z.ZodObject<{
|
|
230
|
+
kind: z.ZodLiteral<"prompt">;
|
|
231
|
+
}, z.core.$strict>,
|
|
232
|
+
z.ZodObject<{
|
|
233
|
+
kind: z.ZodLiteral<"generated">;
|
|
234
|
+
}, z.core.$strict>,
|
|
235
|
+
z.ZodObject<{
|
|
236
|
+
kind: z.ZodLiteral<"positions">;
|
|
237
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
238
|
+
}, z.core.$strict>
|
|
239
|
+
], "kind">;
|
|
240
|
+
}, z.core.$strict>,
|
|
241
|
+
z.ZodObject<{
|
|
242
|
+
operation: z.ZodLiteral<"ATTENTION_HEAD_GAIN">;
|
|
243
|
+
head: z.ZodNumber;
|
|
244
|
+
factor: z.ZodNumber;
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
siteId: z.ZodString;
|
|
247
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
248
|
+
z.ZodObject<{
|
|
249
|
+
kind: z.ZodLiteral<"all">;
|
|
250
|
+
}, z.core.$strict>,
|
|
251
|
+
z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"prompt">;
|
|
253
|
+
}, z.core.$strict>,
|
|
254
|
+
z.ZodObject<{
|
|
255
|
+
kind: z.ZodLiteral<"generated">;
|
|
256
|
+
}, z.core.$strict>,
|
|
257
|
+
z.ZodObject<{
|
|
258
|
+
kind: z.ZodLiteral<"positions">;
|
|
259
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
260
|
+
}, z.core.$strict>
|
|
261
|
+
], "kind">;
|
|
262
|
+
}, z.core.$strict>,
|
|
263
|
+
z.ZodObject<{
|
|
264
|
+
operation: z.ZodLiteral<"EXPERT_GAIN">;
|
|
265
|
+
expert: z.ZodNumber;
|
|
266
|
+
factor: z.ZodNumber;
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
siteId: z.ZodString;
|
|
269
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
270
|
+
z.ZodObject<{
|
|
271
|
+
kind: z.ZodLiteral<"all">;
|
|
272
|
+
}, z.core.$strict>,
|
|
273
|
+
z.ZodObject<{
|
|
274
|
+
kind: z.ZodLiteral<"prompt">;
|
|
275
|
+
}, z.core.$strict>,
|
|
276
|
+
z.ZodObject<{
|
|
277
|
+
kind: z.ZodLiteral<"generated">;
|
|
278
|
+
}, z.core.$strict>,
|
|
279
|
+
z.ZodObject<{
|
|
280
|
+
kind: z.ZodLiteral<"positions">;
|
|
281
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
282
|
+
}, z.core.$strict>
|
|
283
|
+
], "kind">;
|
|
284
|
+
}, z.core.$strict>,
|
|
285
|
+
z.ZodObject<{
|
|
286
|
+
units: z.ZodEnum<{
|
|
287
|
+
raw: "raw";
|
|
288
|
+
residual_norm: "residual_norm";
|
|
289
|
+
activation_std: "activation_std";
|
|
290
|
+
}>;
|
|
291
|
+
calibrationId: z.ZodOptional<z.ZodString>;
|
|
292
|
+
operation: z.ZodLiteral<"EXPERT_ROUTING_BIAS">;
|
|
293
|
+
expert: z.ZodNumber;
|
|
294
|
+
amount: z.ZodNumber;
|
|
295
|
+
id: z.ZodString;
|
|
296
|
+
siteId: z.ZodString;
|
|
297
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
298
|
+
z.ZodObject<{
|
|
299
|
+
kind: z.ZodLiteral<"all">;
|
|
300
|
+
}, z.core.$strict>,
|
|
301
|
+
z.ZodObject<{
|
|
302
|
+
kind: z.ZodLiteral<"prompt">;
|
|
303
|
+
}, z.core.$strict>,
|
|
304
|
+
z.ZodObject<{
|
|
305
|
+
kind: z.ZodLiteral<"generated">;
|
|
306
|
+
}, z.core.$strict>,
|
|
307
|
+
z.ZodObject<{
|
|
308
|
+
kind: z.ZodLiteral<"positions">;
|
|
309
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
310
|
+
}, z.core.$strict>
|
|
311
|
+
], "kind">;
|
|
312
|
+
}, z.core.$strict>,
|
|
313
|
+
z.ZodObject<{
|
|
314
|
+
operation: z.ZodLiteral<"WEIGHT_ADD">;
|
|
315
|
+
delta: z.ZodDiscriminatedUnion<[
|
|
316
|
+
z.ZodObject<{
|
|
317
|
+
kind: z.ZodLiteral<"scalar">;
|
|
318
|
+
value: z.ZodNumber;
|
|
319
|
+
}, z.core.$strict>,
|
|
320
|
+
z.ZodObject<{
|
|
321
|
+
kind: z.ZodLiteral<"tensor">;
|
|
322
|
+
tensor: z.ZodObject<{
|
|
323
|
+
artifact: z.ZodObject<{
|
|
324
|
+
uri: z.ZodString;
|
|
325
|
+
sha256: z.ZodString;
|
|
326
|
+
sizeBytes: z.ZodNumber;
|
|
327
|
+
mediaType: z.ZodString;
|
|
328
|
+
}, z.core.$strict>;
|
|
329
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
330
|
+
dtype: z.ZodEnum<{
|
|
331
|
+
f16: "f16";
|
|
332
|
+
bf16: "bf16";
|
|
333
|
+
f32: "f32";
|
|
334
|
+
f64: "f64";
|
|
335
|
+
i8: "i8";
|
|
336
|
+
i16: "i16";
|
|
337
|
+
i32: "i32";
|
|
338
|
+
i64: "i64";
|
|
339
|
+
u8: "u8";
|
|
340
|
+
bool: "bool";
|
|
341
|
+
quantized: "quantized";
|
|
342
|
+
}>;
|
|
343
|
+
}, z.core.$strict>;
|
|
344
|
+
}, z.core.$strict>
|
|
345
|
+
], "kind">;
|
|
346
|
+
id: z.ZodString;
|
|
347
|
+
siteId: z.ZodString;
|
|
348
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
349
|
+
z.ZodObject<{
|
|
350
|
+
kind: z.ZodLiteral<"all">;
|
|
351
|
+
}, z.core.$strict>,
|
|
352
|
+
z.ZodObject<{
|
|
353
|
+
kind: z.ZodLiteral<"prompt">;
|
|
354
|
+
}, z.core.$strict>,
|
|
355
|
+
z.ZodObject<{
|
|
356
|
+
kind: z.ZodLiteral<"generated">;
|
|
357
|
+
}, z.core.$strict>,
|
|
358
|
+
z.ZodObject<{
|
|
359
|
+
kind: z.ZodLiteral<"positions">;
|
|
360
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
361
|
+
}, z.core.$strict>
|
|
362
|
+
], "kind">;
|
|
363
|
+
}, z.core.$strict>,
|
|
364
|
+
z.ZodObject<{
|
|
365
|
+
operation: z.ZodLiteral<"WEIGHT_GAIN">;
|
|
366
|
+
gain: z.ZodDiscriminatedUnion<[
|
|
367
|
+
z.ZodObject<{
|
|
368
|
+
kind: z.ZodLiteral<"scalar">;
|
|
369
|
+
factor: z.ZodNumber;
|
|
370
|
+
}, z.core.$strict>,
|
|
371
|
+
z.ZodObject<{
|
|
372
|
+
kind: z.ZodLiteral<"axis">;
|
|
373
|
+
axis: z.ZodNumber;
|
|
374
|
+
factors: z.ZodObject<{
|
|
375
|
+
artifact: z.ZodObject<{
|
|
376
|
+
uri: z.ZodString;
|
|
377
|
+
sha256: z.ZodString;
|
|
378
|
+
sizeBytes: z.ZodNumber;
|
|
379
|
+
mediaType: z.ZodString;
|
|
380
|
+
}, z.core.$strict>;
|
|
381
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
382
|
+
dtype: z.ZodEnum<{
|
|
383
|
+
f16: "f16";
|
|
384
|
+
bf16: "bf16";
|
|
385
|
+
f32: "f32";
|
|
386
|
+
f64: "f64";
|
|
387
|
+
i8: "i8";
|
|
388
|
+
i16: "i16";
|
|
389
|
+
i32: "i32";
|
|
390
|
+
i64: "i64";
|
|
391
|
+
u8: "u8";
|
|
392
|
+
bool: "bool";
|
|
393
|
+
quantized: "quantized";
|
|
394
|
+
}>;
|
|
395
|
+
}, z.core.$strict>;
|
|
396
|
+
}, z.core.$strict>
|
|
397
|
+
], "kind">;
|
|
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_REPLACE">;
|
|
418
|
+
replacement: z.ZodObject<{
|
|
419
|
+
artifact: z.ZodObject<{
|
|
420
|
+
uri: z.ZodString;
|
|
421
|
+
sha256: z.ZodString;
|
|
422
|
+
sizeBytes: z.ZodNumber;
|
|
423
|
+
mediaType: z.ZodString;
|
|
424
|
+
}, z.core.$strict>;
|
|
425
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
426
|
+
dtype: z.ZodEnum<{
|
|
427
|
+
f16: "f16";
|
|
428
|
+
bf16: "bf16";
|
|
429
|
+
f32: "f32";
|
|
430
|
+
f64: "f64";
|
|
431
|
+
i8: "i8";
|
|
432
|
+
i16: "i16";
|
|
433
|
+
i32: "i32";
|
|
434
|
+
i64: "i64";
|
|
435
|
+
u8: "u8";
|
|
436
|
+
bool: "bool";
|
|
437
|
+
quantized: "quantized";
|
|
438
|
+
}>;
|
|
439
|
+
}, z.core.$strict>;
|
|
440
|
+
id: z.ZodString;
|
|
441
|
+
siteId: z.ZodString;
|
|
442
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
443
|
+
z.ZodObject<{
|
|
444
|
+
kind: z.ZodLiteral<"all">;
|
|
445
|
+
}, z.core.$strict>,
|
|
446
|
+
z.ZodObject<{
|
|
447
|
+
kind: z.ZodLiteral<"prompt">;
|
|
448
|
+
}, z.core.$strict>,
|
|
449
|
+
z.ZodObject<{
|
|
450
|
+
kind: z.ZodLiteral<"generated">;
|
|
451
|
+
}, z.core.$strict>,
|
|
452
|
+
z.ZodObject<{
|
|
453
|
+
kind: z.ZodLiteral<"positions">;
|
|
454
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
455
|
+
}, z.core.$strict>
|
|
456
|
+
], "kind">;
|
|
457
|
+
}, z.core.$strict>,
|
|
458
|
+
z.ZodObject<{
|
|
459
|
+
operation: z.ZodLiteral<"WEIGHT_PROJECT">;
|
|
460
|
+
side: z.ZodEnum<{
|
|
461
|
+
left: "left";
|
|
462
|
+
right: "right";
|
|
463
|
+
}>;
|
|
464
|
+
basis: z.ZodObject<{
|
|
465
|
+
artifact: z.ZodObject<{
|
|
466
|
+
uri: z.ZodString;
|
|
467
|
+
sha256: z.ZodString;
|
|
468
|
+
sizeBytes: z.ZodNumber;
|
|
469
|
+
mediaType: z.ZodString;
|
|
470
|
+
}, z.core.$strict>;
|
|
471
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
472
|
+
dtype: z.ZodEnum<{
|
|
473
|
+
f16: "f16";
|
|
474
|
+
bf16: "bf16";
|
|
475
|
+
f32: "f32";
|
|
476
|
+
f64: "f64";
|
|
477
|
+
i8: "i8";
|
|
478
|
+
i16: "i16";
|
|
479
|
+
i32: "i32";
|
|
480
|
+
i64: "i64";
|
|
481
|
+
u8: "u8";
|
|
482
|
+
bool: "bool";
|
|
483
|
+
quantized: "quantized";
|
|
484
|
+
}>;
|
|
485
|
+
}, z.core.$strict>;
|
|
486
|
+
strength: z.ZodNumber;
|
|
487
|
+
normalization: z.ZodLiteral<"orthonormal">;
|
|
488
|
+
id: z.ZodString;
|
|
489
|
+
siteId: z.ZodString;
|
|
490
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
491
|
+
z.ZodObject<{
|
|
492
|
+
kind: z.ZodLiteral<"all">;
|
|
493
|
+
}, z.core.$strict>,
|
|
494
|
+
z.ZodObject<{
|
|
495
|
+
kind: z.ZodLiteral<"prompt">;
|
|
496
|
+
}, z.core.$strict>,
|
|
497
|
+
z.ZodObject<{
|
|
498
|
+
kind: z.ZodLiteral<"generated">;
|
|
499
|
+
}, z.core.$strict>,
|
|
500
|
+
z.ZodObject<{
|
|
501
|
+
kind: z.ZodLiteral<"positions">;
|
|
502
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
503
|
+
}, z.core.$strict>
|
|
504
|
+
], "kind">;
|
|
505
|
+
}, z.core.$strict>,
|
|
506
|
+
z.ZodObject<{
|
|
507
|
+
operation: z.ZodLiteral<"LOW_RANK_UPDATE">;
|
|
508
|
+
a: z.ZodObject<{
|
|
509
|
+
artifact: z.ZodObject<{
|
|
510
|
+
uri: z.ZodString;
|
|
511
|
+
sha256: z.ZodString;
|
|
512
|
+
sizeBytes: z.ZodNumber;
|
|
513
|
+
mediaType: z.ZodString;
|
|
514
|
+
}, z.core.$strict>;
|
|
515
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
516
|
+
dtype: z.ZodEnum<{
|
|
517
|
+
f16: "f16";
|
|
518
|
+
bf16: "bf16";
|
|
519
|
+
f32: "f32";
|
|
520
|
+
f64: "f64";
|
|
521
|
+
i8: "i8";
|
|
522
|
+
i16: "i16";
|
|
523
|
+
i32: "i32";
|
|
524
|
+
i64: "i64";
|
|
525
|
+
u8: "u8";
|
|
526
|
+
bool: "bool";
|
|
527
|
+
quantized: "quantized";
|
|
528
|
+
}>;
|
|
529
|
+
}, z.core.$strict>;
|
|
530
|
+
b: z.ZodObject<{
|
|
531
|
+
artifact: z.ZodObject<{
|
|
532
|
+
uri: z.ZodString;
|
|
533
|
+
sha256: z.ZodString;
|
|
534
|
+
sizeBytes: z.ZodNumber;
|
|
535
|
+
mediaType: z.ZodString;
|
|
536
|
+
}, z.core.$strict>;
|
|
537
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
538
|
+
dtype: z.ZodEnum<{
|
|
539
|
+
f16: "f16";
|
|
540
|
+
bf16: "bf16";
|
|
541
|
+
f32: "f32";
|
|
542
|
+
f64: "f64";
|
|
543
|
+
i8: "i8";
|
|
544
|
+
i16: "i16";
|
|
545
|
+
i32: "i32";
|
|
546
|
+
i64: "i64";
|
|
547
|
+
u8: "u8";
|
|
548
|
+
bool: "bool";
|
|
549
|
+
quantized: "quantized";
|
|
550
|
+
}>;
|
|
551
|
+
}, z.core.$strict>;
|
|
552
|
+
rank: z.ZodNumber;
|
|
553
|
+
alpha: z.ZodNumber;
|
|
554
|
+
scale: z.ZodNumber;
|
|
555
|
+
scaling: z.ZodLiteral<"alpha_over_rank">;
|
|
556
|
+
id: z.ZodString;
|
|
557
|
+
siteId: z.ZodString;
|
|
558
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
559
|
+
z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"all">;
|
|
561
|
+
}, z.core.$strict>,
|
|
562
|
+
z.ZodObject<{
|
|
563
|
+
kind: z.ZodLiteral<"prompt">;
|
|
564
|
+
}, z.core.$strict>,
|
|
565
|
+
z.ZodObject<{
|
|
566
|
+
kind: z.ZodLiteral<"generated">;
|
|
567
|
+
}, z.core.$strict>,
|
|
568
|
+
z.ZodObject<{
|
|
569
|
+
kind: z.ZodLiteral<"positions">;
|
|
570
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
571
|
+
}, z.core.$strict>
|
|
572
|
+
], "kind">;
|
|
573
|
+
}, z.core.$strict>,
|
|
574
|
+
z.ZodObject<{
|
|
575
|
+
operation: z.ZodLiteral<"WEIGHT_MERGE">;
|
|
576
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
577
|
+
modelDigest: z.ZodString;
|
|
578
|
+
siteId: z.ZodString;
|
|
579
|
+
weight: z.ZodNumber;
|
|
580
|
+
}, z.core.$strict>>;
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
siteId: z.ZodString;
|
|
583
|
+
tokenScope: z.ZodDiscriminatedUnion<[
|
|
584
|
+
z.ZodObject<{
|
|
585
|
+
kind: z.ZodLiteral<"all">;
|
|
586
|
+
}, z.core.$strict>,
|
|
587
|
+
z.ZodObject<{
|
|
588
|
+
kind: z.ZodLiteral<"prompt">;
|
|
589
|
+
}, z.core.$strict>,
|
|
590
|
+
z.ZodObject<{
|
|
591
|
+
kind: z.ZodLiteral<"generated">;
|
|
592
|
+
}, z.core.$strict>,
|
|
593
|
+
z.ZodObject<{
|
|
594
|
+
kind: z.ZodLiteral<"positions">;
|
|
595
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
596
|
+
}, z.core.$strict>
|
|
597
|
+
], "kind">;
|
|
598
|
+
}, z.core.$strict>
|
|
599
|
+
], "operation">>;
|
|
600
|
+
arrays: z.ZodArray<z.ZodObject<{
|
|
601
|
+
name: z.ZodString;
|
|
602
|
+
shape: z.ZodTuple<[
|
|
603
|
+
z.ZodNumber,
|
|
604
|
+
z.ZodNumber
|
|
605
|
+
], null>;
|
|
606
|
+
dtype: z.ZodLiteral<"bf16">;
|
|
607
|
+
offset: z.ZodNumber;
|
|
608
|
+
sizeBytes: z.ZodNumber;
|
|
609
|
+
sha256: z.ZodString;
|
|
610
|
+
}, z.core.$strict>>;
|
|
611
|
+
forwards: z.ZodArray<z.ZodObject<{
|
|
612
|
+
index: z.ZodNumber;
|
|
613
|
+
positions: z.ZodArray<z.ZodNumber>;
|
|
614
|
+
paddedRows: z.ZodNumber;
|
|
615
|
+
paddingBeforeSha256: z.ZodString;
|
|
616
|
+
paddingAfterSha256: z.ZodString;
|
|
617
|
+
}, z.core.$strict>>;
|
|
618
|
+
}, z.core.$strict>;
|
|
619
|
+
type Header = z.infer<typeof headerSchema>;
|
|
620
|
+
export declare function nolVllmBf16Bits(value: number): number;
|
|
621
|
+
export declare function nolVllmBf16Value(bits: number): number;
|
|
622
|
+
export interface NolVllmCaptureVerification {
|
|
623
|
+
schema: "omnius.nol.vllm-capture-verification.v1";
|
|
624
|
+
captureSha256: string;
|
|
625
|
+
captureBytes: number;
|
|
626
|
+
binding: NolRuntimeBinding;
|
|
627
|
+
source: NolVllmSource;
|
|
628
|
+
requestId: string;
|
|
629
|
+
siteId: string;
|
|
630
|
+
recipeDigest: string | null;
|
|
631
|
+
positions: number[];
|
|
632
|
+
arrays: number;
|
|
633
|
+
idealOperandL2: number;
|
|
634
|
+
actualOperandDeltaL2: number;
|
|
635
|
+
roundingErrorL2: number;
|
|
636
|
+
validRows: number;
|
|
637
|
+
paddingBitPreserved: true;
|
|
638
|
+
consumptionBitExact: true;
|
|
639
|
+
nativeAuthority: "none";
|
|
640
|
+
}
|
|
641
|
+
export interface NolVllmVerifiedCapture {
|
|
642
|
+
verification: NolVllmCaptureVerification;
|
|
643
|
+
header: Header;
|
|
644
|
+
before: Uint8Array[];
|
|
645
|
+
after: Uint8Array[];
|
|
646
|
+
}
|
|
647
|
+
export declare function verifyNolVllmConformanceCapture(input: {
|
|
648
|
+
captureBytes: Uint8Array;
|
|
649
|
+
binding: NolRuntimeBinding;
|
|
650
|
+
source: NolVllmSource;
|
|
651
|
+
requestId: string;
|
|
652
|
+
siteId: string;
|
|
653
|
+
siteWidth: number;
|
|
654
|
+
recipeDigest: string | null;
|
|
655
|
+
operations: readonly NolOperation[];
|
|
656
|
+
promptTokenIds: readonly number[];
|
|
657
|
+
outputTokenCount: number;
|
|
658
|
+
maxCaptureBytes: number;
|
|
659
|
+
signal?: AbortSignal;
|
|
660
|
+
}): NolVllmVerifiedCapture;
|
|
661
|
+
export declare function assertNolVllmColdRestoration(baseline: NolVllmVerifiedCapture, restored: NolVllmVerifiedCapture): void;
|
|
662
|
+
export {};
|