@githolon/runtime 0.110.0
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/LICENSE.md +45 -0
- package/dist/RUNTIME-SOURCES.sha256 +289 -0
- package/dist/application-reception.js +206 -0
- package/dist/nomos-native-runtime.js +22519 -0
- package/dist/nomos-runner.html +13 -0
- package/dist/nomos-runner.js +34769 -0
- package/dist/remote-reception.cjs +582 -0
- package/dist/remote-reception.js +555 -0
- package/dist/typescript-application-desk.js +796 -0
- package/package.json +71 -0
- package/runner/README.md +75 -0
- package/runner/build.ts +225 -0
- package/runner/node-entry.mjs +31858 -0
- package/runner/nomos-runner.html +13 -0
- package/runner/shims.js +17 -0
- package/src/admission_decision.ts +60 -0
- package/src/application_reception.ts +134 -0
- package/src/nominal_value.ts +122 -0
- package/src/protocol/nomos/custody/v1/snapshot_pb.d.ts +67 -0
- package/src/protocol/nomos/custody/v1/snapshot_pb.js +18 -0
- package/src/protocol/nomos/discovery/v1/workspace_placement_pb.d.ts +56 -0
- package/src/protocol/nomos/discovery/v1/workspace_placement_pb.js +18 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +11183 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.js +2217 -0
- package/src/protocol/nomos/kernel/v1/progress_pb.d.ts +250 -0
- package/src/protocol/nomos/kernel/v1/progress_pb.js +66 -0
- package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +162 -0
- package/src/protocol/nomos/runtime/v2/application_desk_pb.js +60 -0
- package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.d.ts +202 -0
- package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.js +67 -0
- package/src/protocol/nomos/runtime/v2/authentication_desk_pb.d.ts +158 -0
- package/src/protocol/nomos/runtime/v2/authentication_desk_pb.js +50 -0
- package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.d.ts +204 -0
- package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.js +68 -0
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +3661 -0
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +735 -0
- package/src/protocol/nomos/runtime/v2/credentials_desk_pb.d.ts +122 -0
- package/src/protocol/nomos/runtime/v2/credentials_desk_pb.js +41 -0
- package/src/protocol/nomos/runtime/v2/custody_desk_pb.d.ts +611 -0
- package/src/protocol/nomos/runtime/v2/custody_desk_pb.js +123 -0
- package/src/protocol/nomos/runtime/v2/framework_pb.d.ts +211 -0
- package/src/protocol/nomos/runtime/v2/framework_pb.js +29 -0
- package/src/protocol/nomos/runtime/v2/identity_desk_pb.d.ts +305 -0
- package/src/protocol/nomos/runtime/v2/identity_desk_pb.js +61 -0
- package/src/protocol/nomos/runtime/v2/interaction_desk_pb.d.ts +73 -0
- package/src/protocol/nomos/runtime/v2/interaction_desk_pb.js +25 -0
- package/src/protocol/nomos/runtime/v2/law_desk_pb.d.ts +133 -0
- package/src/protocol/nomos/runtime/v2/law_desk_pb.js +39 -0
- package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.d.ts +267 -0
- package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.js +84 -0
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +233 -0
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +57 -0
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +1015 -0
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +230 -0
- package/src/protocol/nomos/runtime/v2/placement_desk_pb.d.ts +431 -0
- package/src/protocol/nomos/runtime/v2/placement_desk_pb.js +125 -0
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +336 -0
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +78 -0
- package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +716 -0
- package/src/protocol/nomos/runtime/v2/records_desk_pb.js +200 -0
- package/src/protocol/nomos/runtime/v2/recovery_desk_pb.d.ts +535 -0
- package/src/protocol/nomos/runtime/v2/recovery_desk_pb.js +160 -0
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +1162 -0
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +212 -0
- package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +796 -0
- package/src/protocol/nomos/runtime/v2/runtime_pb.js +72 -0
- package/src/protocol/nomos/runtime/v2/sealing_desk_pb.d.ts +581 -0
- package/src/protocol/nomos/runtime/v2/sealing_desk_pb.js +149 -0
- package/src/remote_reception.public.d.ts +97 -0
- package/src/remote_reception.ts +446 -0
- package/src/typescript_application_desk.public.d.ts +62 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/application_readiness_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { InterfaceCompatibilityResponse } from "../../kernel/v1/kernel_pb.js";
|
|
8
|
+
import type { InterfaceCompatibilityVerdict } from "./compatibility_desk_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file nomos/runtime/v2/application_readiness_desk.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_nomos_runtime_v2_application_readiness_desk: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Immutable requirements supplied while a generated application facade is
|
|
17
|
+
* composed. The shared Peer Office prepares them in declaration order.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message nomos.runtime.v2.ApplicationDomainRequirement
|
|
20
|
+
*/
|
|
21
|
+
export declare type ApplicationDomainRequirement = Message<"nomos.runtime.v2.ApplicationDomainRequirement"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string domain = 1;
|
|
24
|
+
*/
|
|
25
|
+
domain: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string package_sha256 = 2;
|
|
29
|
+
*/
|
|
30
|
+
packageSha256: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message nomos.runtime.v2.ApplicationDomainRequirement.
|
|
35
|
+
* Use `create(ApplicationDomainRequirementSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const ApplicationDomainRequirementSchema: GenMessage<ApplicationDomainRequirement>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* One application-readiness procedure. Reception only transports this paper;
|
|
41
|
+
* it does not sequence domain preparation or interpret compatibility.
|
|
42
|
+
*
|
|
43
|
+
* @generated from message nomos.runtime.v2.PrepareApplicationRequest
|
|
44
|
+
*/
|
|
45
|
+
export declare type PrepareApplicationRequest = Message<"nomos.runtime.v2.PrepareApplicationRequest"> & {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: string session = 1;
|
|
48
|
+
*/
|
|
49
|
+
session: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: repeated nomos.runtime.v2.ApplicationDomainRequirement domains = 2;
|
|
53
|
+
*/
|
|
54
|
+
domains: ApplicationDomainRequirement[];
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: bytes application_matrix_usda = 3;
|
|
58
|
+
*/
|
|
59
|
+
applicationMatrixUsda: Uint8Array;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message nomos.runtime.v2.PrepareApplicationRequest.
|
|
64
|
+
* Use `create(PrepareApplicationRequestSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export declare const PrepareApplicationRequestSchema: GenMessage<PrepareApplicationRequest>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message nomos.runtime.v2.ApplicationPrepared
|
|
70
|
+
*/
|
|
71
|
+
export declare type ApplicationPrepared = Message<"nomos.runtime.v2.ApplicationPrepared"> & {
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: string session = 1;
|
|
74
|
+
*/
|
|
75
|
+
session: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Retained for older Runtime-v2 consumers. New consumers use `verdict`, which
|
|
79
|
+
* also carries the Peer Office's independently observed custody currency.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: optional nomos.kernel.v1.InterfaceCompatibilityResponse compatibility = 2;
|
|
82
|
+
*/
|
|
83
|
+
compatibility?: InterfaceCompatibilityResponse | undefined;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: optional nomos.runtime.v2.InterfaceCompatibilityVerdict verdict = 3;
|
|
87
|
+
*/
|
|
88
|
+
verdict?: InterfaceCompatibilityVerdict | undefined;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: nomos.runtime.v2.ApplicationCompatibilityPosture posture = 4;
|
|
92
|
+
*/
|
|
93
|
+
posture: ApplicationCompatibilityPosture;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: nomos.runtime.v2.ApplicationCompatibilityGuidance guidance = 5;
|
|
97
|
+
*/
|
|
98
|
+
guidance: ApplicationCompatibilityGuidance;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message nomos.runtime.v2.ApplicationPrepared.
|
|
103
|
+
* Use `create(ApplicationPreparedSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export declare const ApplicationPreparedSchema: GenMessage<ApplicationPrepared>;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Structural posture of this generated client against the law installed at
|
|
109
|
+
* the workspace's current local frontier. Partial is a useful operating mode:
|
|
110
|
+
* available members remain callable while only the exact unsafe members are
|
|
111
|
+
* refused before dispatch.
|
|
112
|
+
*
|
|
113
|
+
* @generated from enum nomos.runtime.v2.ApplicationCompatibilityPosture
|
|
114
|
+
*/
|
|
115
|
+
export enum ApplicationCompatibilityPosture {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_POSTURE_UNSPECIFIED = 0;
|
|
118
|
+
*/
|
|
119
|
+
UNSPECIFIED = 0,
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* This client declared no compatibility matrix. Legacy clients may still be
|
|
123
|
+
* admitted member-by-member by the kernel, but no proactive statement exists.
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_POSTURE_UNDECLARED = 1;
|
|
126
|
+
*/
|
|
127
|
+
UNDECLARED = 1,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Every declared member is exact or structurally compatible.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_POSTURE_FULL = 2;
|
|
133
|
+
*/
|
|
134
|
+
FULL = 2,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* At least one declared member is usable and at least one is unavailable or
|
|
138
|
+
* incompatible. This must never become a whole-application readiness error.
|
|
139
|
+
*
|
|
140
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_POSTURE_PARTIAL = 3;
|
|
141
|
+
*/
|
|
142
|
+
PARTIAL = 3,
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* None of the declared members can safely be used at this frontier.
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_POSTURE_UNAVAILABLE = 4;
|
|
148
|
+
*/
|
|
149
|
+
UNAVAILABLE = 4,
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the enum nomos.runtime.v2.ApplicationCompatibilityPosture.
|
|
154
|
+
*/
|
|
155
|
+
export declare const ApplicationCompatibilityPostureSchema: GenEnum<ApplicationCompatibilityPosture>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* The strongest next-step statement the local peer can prove. Fleet policy
|
|
159
|
+
* (including whether a client patch or workspace rollout is preferred) belongs
|
|
160
|
+
* to the tenant control plane and is not guessed from structural differences.
|
|
161
|
+
*
|
|
162
|
+
* @generated from enum nomos.runtime.v2.ApplicationCompatibilityGuidance
|
|
163
|
+
*/
|
|
164
|
+
export enum ApplicationCompatibilityGuidance {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_GUIDANCE_UNSPECIFIED = 0;
|
|
167
|
+
*/
|
|
168
|
+
UNSPECIFIED = 0,
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_GUIDANCE_NONE = 1;
|
|
172
|
+
*/
|
|
173
|
+
NONE = 1,
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* A remote replica exists but its frontier has not yet been observed.
|
|
177
|
+
*
|
|
178
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_GUIDANCE_OBSERVE_REMOTE = 2;
|
|
179
|
+
*/
|
|
180
|
+
OBSERVE_REMOTE = 2,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The peer has proved that local custody trails an observed remote frontier.
|
|
184
|
+
*
|
|
185
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_GUIDANCE_WORKSPACE_UPDATE_PENDING = 3;
|
|
186
|
+
*/
|
|
187
|
+
WORKSPACE_UPDATE_PENDING = 3,
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Local custody is current but structural differences remain. Console must
|
|
191
|
+
* combine this proof with release/client inventory before choosing workspace
|
|
192
|
+
* rollout, client update, or patch.
|
|
193
|
+
*
|
|
194
|
+
* @generated from enum value: APPLICATION_COMPATIBILITY_GUIDANCE_CONTROL_PLANE_DECISION_REQUIRED = 4;
|
|
195
|
+
*/
|
|
196
|
+
CONTROL_PLANE_DECISION_REQUIRED = 4,
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Describes the enum nomos.runtime.v2.ApplicationCompatibilityGuidance.
|
|
201
|
+
*/
|
|
202
|
+
export declare const ApplicationCompatibilityGuidanceSchema: GenEnum<ApplicationCompatibilityGuidance>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/application_readiness_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_nomos_kernel_v1_kernel } from "../../kernel/v1/kernel_pb.js";
|
|
7
|
+
import { file_nomos_runtime_v2_compatibility_desk } from "./compatibility_desk_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file nomos/runtime/v2/application_readiness_desk.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_nomos_runtime_v2_application_readiness_desk = /*@__PURE__*/
|
|
13
|
+
fileDesc("CjFub21vcy9ydW50aW1lL3YyL2FwcGxpY2F0aW9uX3JlYWRpbmVzc19kZXNrLnByb3RvEhBub21vcy5ydW50aW1lLnYyIkYKHEFwcGxpY2F0aW9uRG9tYWluUmVxdWlyZW1lbnQSDgoGZG9tYWluGAEgASgJEhYKDnBhY2thZ2Vfc2hhMjU2GAIgASgJIo4BChlQcmVwYXJlQXBwbGljYXRpb25SZXF1ZXN0Eg8KB3Nlc3Npb24YASABKAkSPwoHZG9tYWlucxgCIAMoCzIuLm5vbW9zLnJ1bnRpbWUudjIuQXBwbGljYXRpb25Eb21haW5SZXF1aXJlbWVudBIfChdhcHBsaWNhdGlvbl9tYXRyaXhfdXNkYRgDIAEoDCLiAgoTQXBwbGljYXRpb25QcmVwYXJlZBIPCgdzZXNzaW9uGAEgASgJEksKDWNvbXBhdGliaWxpdHkYAiABKAsyLy5ub21vcy5rZXJuZWwudjEuSW50ZXJmYWNlQ29tcGF0aWJpbGl0eVJlc3BvbnNlSACIAQESRQoHdmVyZGljdBgDIAEoCzIvLm5vbW9zLnJ1bnRpbWUudjIuSW50ZXJmYWNlQ29tcGF0aWJpbGl0eVZlcmRpY3RIAYgBARJCCgdwb3N0dXJlGAQgASgOMjEubm9tb3MucnVudGltZS52Mi5BcHBsaWNhdGlvbkNvbXBhdGliaWxpdHlQb3N0dXJlEkQKCGd1aWRhbmNlGAUgASgOMjIubm9tb3MucnVudGltZS52Mi5BcHBsaWNhdGlvbkNvbXBhdGliaWxpdHlHdWlkYW5jZUIQCg5fY29tcGF0aWJpbGl0eUIKCghfdmVyZGljdCqUAgofQXBwbGljYXRpb25Db21wYXRpYmlsaXR5UG9zdHVyZRIxCi1BUFBMSUNBVElPTl9DT01QQVRJQklMSVRZX1BPU1RVUkVfVU5TUEVDSUZJRUQQABIwCixBUFBMSUNBVElPTl9DT01QQVRJQklMSVRZX1BPU1RVUkVfVU5ERUNMQVJFRBABEioKJkFQUExJQ0FUSU9OX0NPTVBBVElCSUxJVFlfUE9TVFVSRV9GVUxMEAISLQopQVBQTElDQVRJT05fQ09NUEFUSUJJTElUWV9QT1NUVVJFX1BBUlRJQUwQAxIxCi1BUFBMSUNBVElPTl9DT01QQVRJQklMSVRZX1BPU1RVUkVfVU5BVkFJTEFCTEUQBCrDAgogQXBwbGljYXRpb25Db21wYXRpYmlsaXR5R3VpZGFuY2USMgouQVBQTElDQVRJT05fQ09NUEFUSUJJTElUWV9HVUlEQU5DRV9VTlNQRUNJRklFRBAAEisKJ0FQUExJQ0FUSU9OX0NPTVBBVElCSUxJVFlfR1VJREFOQ0VfTk9ORRABEjUKMUFQUExJQ0FUSU9OX0NPTVBBVElCSUxJVFlfR1VJREFOQ0VfT0JTRVJWRV9SRU1PVEUQAhI/CjtBUFBMSUNBVElPTl9DT01QQVRJQklMSVRZX0dVSURBTkNFX1dPUktTUEFDRV9VUERBVEVfUEVORElORxADEkYKQkFQUExJQ0FUSU9OX0NPTVBBVElCSUxJVFlfR1VJREFOQ0VfQ09OVFJPTF9QTEFORV9ERUNJU0lPTl9SRVFVSVJFRBAEYgZwcm90bzM", [file_nomos_kernel_v1_kernel, file_nomos_runtime_v2_compatibility_desk]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message nomos.runtime.v2.ApplicationDomainRequirement.
|
|
17
|
+
* Use `create(ApplicationDomainRequirementSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const ApplicationDomainRequirementSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_nomos_runtime_v2_application_readiness_desk, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message nomos.runtime.v2.PrepareApplicationRequest.
|
|
24
|
+
* Use `create(PrepareApplicationRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const PrepareApplicationRequestSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_nomos_runtime_v2_application_readiness_desk, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message nomos.runtime.v2.ApplicationPrepared.
|
|
31
|
+
* Use `create(ApplicationPreparedSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const ApplicationPreparedSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_nomos_runtime_v2_application_readiness_desk, 2);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the enum nomos.runtime.v2.ApplicationCompatibilityPosture.
|
|
38
|
+
*/
|
|
39
|
+
export const ApplicationCompatibilityPostureSchema = /*@__PURE__*/
|
|
40
|
+
enumDesc(file_nomos_runtime_v2_application_readiness_desk, 0);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Structural posture of this generated client against the law installed at
|
|
44
|
+
* the workspace's current local frontier. Partial is a useful operating mode:
|
|
45
|
+
* available members remain callable while only the exact unsafe members are
|
|
46
|
+
* refused before dispatch.
|
|
47
|
+
*
|
|
48
|
+
* @generated from enum nomos.runtime.v2.ApplicationCompatibilityPosture
|
|
49
|
+
*/
|
|
50
|
+
export const ApplicationCompatibilityPosture = /*@__PURE__*/
|
|
51
|
+
tsEnum(ApplicationCompatibilityPostureSchema);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the enum nomos.runtime.v2.ApplicationCompatibilityGuidance.
|
|
55
|
+
*/
|
|
56
|
+
export const ApplicationCompatibilityGuidanceSchema = /*@__PURE__*/
|
|
57
|
+
enumDesc(file_nomos_runtime_v2_application_readiness_desk, 1);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The strongest next-step statement the local peer can prove. Fleet policy
|
|
61
|
+
* (including whether a client patch or workspace rollout is preferred) belongs
|
|
62
|
+
* to the tenant control plane and is not guessed from structural differences.
|
|
63
|
+
*
|
|
64
|
+
* @generated from enum nomos.runtime.v2.ApplicationCompatibilityGuidance
|
|
65
|
+
*/
|
|
66
|
+
export const ApplicationCompatibilityGuidance = /*@__PURE__*/
|
|
67
|
+
tsEnum(ApplicationCompatibilityGuidanceSchema);
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/authentication_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { AuthenticationPostureResponse } from "../../kernel/v1/kernel_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file nomos/runtime/v2/authentication_desk.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_nomos_runtime_v2_authentication_desk: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A desired kernel postcondition. Peer Office owns repeated local
|
|
16
|
+
* observations, deadline and backoff; Replica Follow independently owns any
|
|
17
|
+
* remote convergence which may make a later observation ready.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message nomos.runtime.v2.AwaitAuthenticationRequest
|
|
20
|
+
*/
|
|
21
|
+
export declare type AwaitAuthenticationRequest = Message<"nomos.runtime.v2.AwaitAuthenticationRequest"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string session = 1;
|
|
24
|
+
*/
|
|
25
|
+
session: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string principal = 2;
|
|
29
|
+
*/
|
|
30
|
+
principal: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: nomos.runtime.v2.AuthenticationReadinessCriterion criterion = 3;
|
|
34
|
+
*/
|
|
35
|
+
criterion: AuthenticationReadinessCriterion;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: uint32 patience_millis = 4;
|
|
39
|
+
*/
|
|
40
|
+
patienceMillis: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: uint32 initial_backoff_millis = 5;
|
|
44
|
+
*/
|
|
45
|
+
initialBackoffMillis: number;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: uint32 maximum_backoff_millis = 6;
|
|
49
|
+
*/
|
|
50
|
+
maximumBackoffMillis: number;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Zero means the patience deadline is the only bound.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: uint32 maximum_observation_rounds = 7;
|
|
56
|
+
*/
|
|
57
|
+
maximumObservationRounds: number;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Compatibility with existing operator calls; ordinary applications select
|
|
61
|
+
* the session's credential capability and leave this absent.
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: optional bytes author_secret = 8;
|
|
64
|
+
*/
|
|
65
|
+
authorSecret?: Uint8Array | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message nomos.runtime.v2.AwaitAuthenticationRequest.
|
|
70
|
+
* Use `create(AwaitAuthenticationRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const AwaitAuthenticationRequestSchema: GenMessage<AwaitAuthenticationRequest>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message nomos.runtime.v2.AuthenticationReadiness
|
|
76
|
+
*/
|
|
77
|
+
export declare type AuthenticationReadiness = Message<"nomos.runtime.v2.AuthenticationReadiness"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: nomos.kernel.v1.AuthenticationPostureResponse posture = 1;
|
|
80
|
+
*/
|
|
81
|
+
posture?: AuthenticationPostureResponse | undefined;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: nomos.runtime.v2.AuthenticationReadinessOutcome outcome = 2;
|
|
85
|
+
*/
|
|
86
|
+
outcome: AuthenticationReadinessOutcome;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: uint32 observation_rounds = 3;
|
|
90
|
+
*/
|
|
91
|
+
observationRounds: number;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message nomos.runtime.v2.AuthenticationReadiness.
|
|
96
|
+
* Use `create(AuthenticationReadinessSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export declare const AuthenticationReadinessSchema: GenMessage<AuthenticationReadiness>;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum nomos.runtime.v2.AuthenticationReadinessCriterion
|
|
102
|
+
*/
|
|
103
|
+
export enum AuthenticationReadinessCriterion {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: AUTHENTICATION_READINESS_CRITERION_UNSPECIFIED = 0;
|
|
106
|
+
*/
|
|
107
|
+
UNSPECIFIED = 0,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: AUTHENTICATION_READINESS_CRITERION_ENROLLED_DEVICE = 1;
|
|
111
|
+
*/
|
|
112
|
+
ENROLLED_DEVICE = 1,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: AUTHENTICATION_READINESS_CRITERION_PROVIDER_TOKEN = 2;
|
|
116
|
+
*/
|
|
117
|
+
PROVIDER_TOKEN = 2,
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: AUTHENTICATION_READINESS_CRITERION_BIRTH_EVIDENCE = 3;
|
|
121
|
+
*/
|
|
122
|
+
BIRTH_EVIDENCE = 3,
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Describes the enum nomos.runtime.v2.AuthenticationReadinessCriterion.
|
|
127
|
+
*/
|
|
128
|
+
export declare const AuthenticationReadinessCriterionSchema: GenEnum<AuthenticationReadinessCriterion>;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from enum nomos.runtime.v2.AuthenticationReadinessOutcome
|
|
132
|
+
*/
|
|
133
|
+
export enum AuthenticationReadinessOutcome {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum value: AUTHENTICATION_READINESS_OUTCOME_UNSPECIFIED = 0;
|
|
136
|
+
*/
|
|
137
|
+
UNSPECIFIED = 0,
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum value: AUTHENTICATION_READINESS_OUTCOME_READY = 1;
|
|
141
|
+
*/
|
|
142
|
+
READY = 1,
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from enum value: AUTHENTICATION_READINESS_OUTCOME_PATIENCE_EXHAUSTED = 2;
|
|
146
|
+
*/
|
|
147
|
+
PATIENCE_EXHAUSTED = 2,
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from enum value: AUTHENTICATION_READINESS_OUTCOME_OBSERVATION_ROUNDS_EXHAUSTED = 3;
|
|
151
|
+
*/
|
|
152
|
+
OBSERVATION_ROUNDS_EXHAUSTED = 3,
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the enum nomos.runtime.v2.AuthenticationReadinessOutcome.
|
|
157
|
+
*/
|
|
158
|
+
export declare const AuthenticationReadinessOutcomeSchema: GenEnum<AuthenticationReadinessOutcome>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/authentication_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_nomos_kernel_v1_kernel } from "../../kernel/v1/kernel_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file nomos/runtime/v2/authentication_desk.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_nomos_runtime_v2_authentication_desk = /*@__PURE__*/
|
|
12
|
+
fileDesc("Cipub21vcy9ydW50aW1lL3YyL2F1dGhlbnRpY2F0aW9uX2Rlc2sucHJvdG8SEG5vbW9zLnJ1bnRpbWUudjIisgIKGkF3YWl0QXV0aGVudGljYXRpb25SZXF1ZXN0Eg8KB3Nlc3Npb24YASABKAkSEQoJcHJpbmNpcGFsGAIgASgJEkUKCWNyaXRlcmlvbhgDIAEoDjIyLm5vbW9zLnJ1bnRpbWUudjIuQXV0aGVudGljYXRpb25SZWFkaW5lc3NDcml0ZXJpb24SFwoPcGF0aWVuY2VfbWlsbGlzGAQgASgNEh4KFmluaXRpYWxfYmFja29mZl9taWxsaXMYBSABKA0SHgoWbWF4aW11bV9iYWNrb2ZmX21pbGxpcxgGIAEoDRIiChptYXhpbXVtX29ic2VydmF0aW9uX3JvdW5kcxgHIAEoDRIaCg1hdXRob3Jfc2VjcmV0GAggASgMSACIAQFCEAoOX2F1dGhvcl9zZWNyZXQi0gEKF0F1dGhlbnRpY2F0aW9uUmVhZGluZXNzEj8KB3Bvc3R1cmUYASABKAsyLi5ub21vcy5rZXJuZWwudjEuQXV0aGVudGljYXRpb25Qb3N0dXJlUmVzcG9uc2USQQoHb3V0Y29tZRgCIAEoDjIwLm5vbW9zLnJ1bnRpbWUudjIuQXV0aGVudGljYXRpb25SZWFkaW5lc3NPdXRjb21lEhoKEm9ic2VydmF0aW9uX3JvdW5kcxgDIAEoDUoECAQQBVIRdHJhbnNwb3J0X2ZhaWx1cmUq/AEKIEF1dGhlbnRpY2F0aW9uUmVhZGluZXNzQ3JpdGVyaW9uEjIKLkFVVEhFTlRJQ0FUSU9OX1JFQURJTkVTU19DUklURVJJT05fVU5TUEVDSUZJRUQQABI2CjJBVVRIRU5USUNBVElPTl9SRUFESU5FU1NfQ1JJVEVSSU9OX0VOUk9MTEVEX0RFVklDRRABEjUKMUFVVEhFTlRJQ0FUSU9OX1JFQURJTkVTU19DUklURVJJT05fUFJPVklERVJfVE9LRU4QAhI1CjFBVVRIRU5USUNBVElPTl9SRUFESU5FU1NfQ1JJVEVSSU9OX0JJUlRIX0VWSURFTkNFEAMqswIKHkF1dGhlbnRpY2F0aW9uUmVhZGluZXNzT3V0Y29tZRIwCixBVVRIRU5USUNBVElPTl9SRUFESU5FU1NfT1VUQ09NRV9VTlNQRUNJRklFRBAAEioKJkFVVEhFTlRJQ0FUSU9OX1JFQURJTkVTU19PVVRDT01FX1JFQURZEAESNwozQVVUSEVOVElDQVRJT05fUkVBRElORVNTX09VVENPTUVfUEFUSUVOQ0VfRVhIQVVTVEVEEAISQQo9QVVUSEVOVElDQVRJT05fUkVBRElORVNTX09VVENPTUVfT0JTRVJWQVRJT05fUk9VTkRTX0VYSEFVU1RFRBADIgQIBBAEKjFBVVRIRU5USUNBVElPTl9SRUFESU5FU1NfT1VUQ09NRV9TWU5DX1VOQVZBSUxBQkxFYgZwcm90bzM", [file_nomos_kernel_v1_kernel]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message nomos.runtime.v2.AwaitAuthenticationRequest.
|
|
16
|
+
* Use `create(AwaitAuthenticationRequestSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const AwaitAuthenticationRequestSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_nomos_runtime_v2_authentication_desk, 0);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message nomos.runtime.v2.AuthenticationReadiness.
|
|
23
|
+
* Use `create(AuthenticationReadinessSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const AuthenticationReadinessSchema = /*@__PURE__*/
|
|
26
|
+
messageDesc(file_nomos_runtime_v2_authentication_desk, 1);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the enum nomos.runtime.v2.AuthenticationReadinessCriterion.
|
|
30
|
+
*/
|
|
31
|
+
export const AuthenticationReadinessCriterionSchema = /*@__PURE__*/
|
|
32
|
+
enumDesc(file_nomos_runtime_v2_authentication_desk, 0);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from enum nomos.runtime.v2.AuthenticationReadinessCriterion
|
|
36
|
+
*/
|
|
37
|
+
export const AuthenticationReadinessCriterion = /*@__PURE__*/
|
|
38
|
+
tsEnum(AuthenticationReadinessCriterionSchema);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the enum nomos.runtime.v2.AuthenticationReadinessOutcome.
|
|
42
|
+
*/
|
|
43
|
+
export const AuthenticationReadinessOutcomeSchema = /*@__PURE__*/
|
|
44
|
+
enumDesc(file_nomos_runtime_v2_authentication_desk, 1);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum nomos.runtime.v2.AuthenticationReadinessOutcome
|
|
48
|
+
*/
|
|
49
|
+
export const AuthenticationReadinessOutcome = /*@__PURE__*/
|
|
50
|
+
tsEnum(AuthenticationReadinessOutcomeSchema);
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/compatibility_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { InterfaceCompatibilityResponse } from "../../kernel/v1/kernel_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file nomos/runtime/v2/compatibility_desk.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_nomos_runtime_v2_compatibility_desk: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The Compatibility Desk transports one compiler-authored USDA matrix to the
|
|
16
|
+
* kernel. It does not duplicate the law schema in Protobuf and never parses or
|
|
17
|
+
* authors USDA itself.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message nomos.runtime.v2.CheckInterfaceCompatibilityRequest
|
|
20
|
+
*/
|
|
21
|
+
export declare type CheckInterfaceCompatibilityRequest = Message<"nomos.runtime.v2.CheckInterfaceCompatibilityRequest"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: bytes application_matrix_usda = 1;
|
|
24
|
+
*/
|
|
25
|
+
applicationMatrixUsda: Uint8Array;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message nomos.runtime.v2.CheckInterfaceCompatibilityRequest.
|
|
30
|
+
* Use `create(CheckInterfaceCompatibilityRequestSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export declare const CheckInterfaceCompatibilityRequestSchema: GenMessage<CheckInterfaceCompatibilityRequest>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The desk's complete answer: the kernel's per-member examination, plus the one
|
|
36
|
+
* correspondence fact a client would otherwise be tempted to infer.
|
|
37
|
+
*
|
|
38
|
+
* @generated from message nomos.runtime.v2.InterfaceCompatibilityVerdict
|
|
39
|
+
*/
|
|
40
|
+
export declare type InterfaceCompatibilityVerdict = Message<"nomos.runtime.v2.InterfaceCompatibilityVerdict"> & {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: nomos.kernel.v1.InterfaceCompatibilityResponse examined = 1;
|
|
43
|
+
*/
|
|
44
|
+
examined?: InterfaceCompatibilityResponse | undefined;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: nomos.runtime.v2.LocalLawCurrency local_law_currency = 2;
|
|
48
|
+
*/
|
|
49
|
+
localLawCurrency: LocalLawCurrency;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message nomos.runtime.v2.InterfaceCompatibilityVerdict.
|
|
54
|
+
* Use `create(InterfaceCompatibilityVerdictSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export declare const InterfaceCompatibilityVerdictSchema: GenMessage<InterfaceCompatibilityVerdict>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* THE COARSE AXIS OF THE SAME JUDGEMENT: OSGi Contract Namespace requirements.
|
|
60
|
+
*
|
|
61
|
+
* Generated law declares the kernel contracts it needs (`osgi.contract`,
|
|
62
|
+
* `nomos.kernel.v1` at some version). Whether the kernel provides them is a
|
|
63
|
+
* COMPATIBILITY judgement, and compatibility has one owner. Until 2026-09-12 the
|
|
64
|
+
* Dart client compared the requirements against the kernel's `OsgiResourceResponse`
|
|
65
|
+
* attribute by attribute while the TypeScript application desk's equivalent was an
|
|
66
|
+
* empty method — two clients disagreeing about the same law. The desk now answers
|
|
67
|
+
* both, and the clients carry the verdict.
|
|
68
|
+
*
|
|
69
|
+
* @generated from message nomos.runtime.v2.CheckKernelContractsRequest
|
|
70
|
+
*/
|
|
71
|
+
export declare type CheckKernelContractsRequest = Message<"nomos.runtime.v2.CheckKernelContractsRequest"> & {
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: string session = 1;
|
|
74
|
+
*/
|
|
75
|
+
session: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: repeated nomos.runtime.v2.KernelContractRequirement requirements = 2;
|
|
79
|
+
*/
|
|
80
|
+
requirements: KernelContractRequirement[];
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The law that declares them, named only so a refusal can say whose it is.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: optional string law_hash = 3;
|
|
86
|
+
*/
|
|
87
|
+
lawHash?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message nomos.runtime.v2.CheckKernelContractsRequest.
|
|
92
|
+
* Use `create(CheckKernelContractsRequestSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export declare const CheckKernelContractsRequestSchema: GenMessage<CheckKernelContractsRequest>;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from message nomos.runtime.v2.KernelContractRequirement
|
|
98
|
+
*/
|
|
99
|
+
export declare type KernelContractRequirement = Message<"nomos.runtime.v2.KernelContractRequirement"> & {
|
|
100
|
+
/**
|
|
101
|
+
* The OSGi capability namespace, e.g. `osgi.contract`.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string namespace = 1;
|
|
104
|
+
*/
|
|
105
|
+
namespace: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* The contract name carried as the namespace's own attribute, e.g. `nomos.kernel.v1`.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: string name = 2;
|
|
111
|
+
*/
|
|
112
|
+
name: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* One exact version that must appear in the capability's `version` attribute.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: string version = 3;
|
|
118
|
+
*/
|
|
119
|
+
version: string;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message nomos.runtime.v2.KernelContractRequirement.
|
|
124
|
+
* Use `create(KernelContractRequirementSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const KernelContractRequirementSchema: GenMessage<KernelContractRequirement>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from message nomos.runtime.v2.KernelContractVerdict
|
|
130
|
+
*/
|
|
131
|
+
export declare type KernelContractVerdict = Message<"nomos.runtime.v2.KernelContractVerdict"> & {
|
|
132
|
+
/**
|
|
133
|
+
* True only when the kernel provides every requirement.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: bool coherent = 1;
|
|
136
|
+
*/
|
|
137
|
+
coherent: boolean;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Exactly the requirements this kernel does not provide, in the order asked.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: repeated nomos.runtime.v2.KernelContractRequirement missing = 2;
|
|
143
|
+
*/
|
|
144
|
+
missing: KernelContractRequirement[];
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: optional string law_hash = 3;
|
|
148
|
+
*/
|
|
149
|
+
lawHash?: string | undefined;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message nomos.runtime.v2.KernelContractVerdict.
|
|
154
|
+
* Use `create(KernelContractVerdictSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const KernelContractVerdictSchema: GenMessage<KernelContractVerdict>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* WHETHER MISSING LAW MIGHT STILL ARRIVE IS THE OFFICE'S TO STATE.
|
|
160
|
+
*
|
|
161
|
+
* A client that finds its domain absent wants to know whether to say "sync and
|
|
162
|
+
* try again" or "this was never deployed". Reception used to guess, by reading a
|
|
163
|
+
* `SyncStatus.behind` count that the reducer only ever sets to 0 or null — so the
|
|
164
|
+
* "local custody is stale" arm was unreachable and the answer was always "never
|
|
165
|
+
* deployed". Whether local custody trails a remote frontier is a correspondence
|
|
166
|
+
* fact; the desk says what it knows, including that it knows nothing yet.
|
|
167
|
+
*
|
|
168
|
+
* @generated from enum nomos.runtime.v2.LocalLawCurrency
|
|
169
|
+
*/
|
|
170
|
+
export enum LocalLawCurrency {
|
|
171
|
+
/**
|
|
172
|
+
* @generated from enum value: LOCAL_LAW_CURRENCY_UNSPECIFIED = 0;
|
|
173
|
+
*/
|
|
174
|
+
UNSPECIFIED = 0,
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Local custody is level with the remote frontier the office has observed:
|
|
178
|
+
* law missing here is missing there, so it was never deployed.
|
|
179
|
+
*
|
|
180
|
+
* @generated from enum value: LOCAL_LAW_CURRENCY_CURRENT = 1;
|
|
181
|
+
*/
|
|
182
|
+
CURRENT = 1,
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Local custody trails an observed remote frontier: missing law may still
|
|
186
|
+
* arrive. A client presents "sync, then re-bind"; it counts no commits.
|
|
187
|
+
*
|
|
188
|
+
* @generated from enum value: LOCAL_LAW_CURRENCY_BEHIND = 2;
|
|
189
|
+
*/
|
|
190
|
+
BEHIND = 2,
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* No remote frontier has been observed, so the office states nothing about
|
|
194
|
+
* currency. The same honest position `WorkspaceTransferEstimate` takes.
|
|
195
|
+
*
|
|
196
|
+
* @generated from enum value: LOCAL_LAW_CURRENCY_UNOBSERVED = 3;
|
|
197
|
+
*/
|
|
198
|
+
UNOBSERVED = 3,
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Describes the enum nomos.runtime.v2.LocalLawCurrency.
|
|
203
|
+
*/
|
|
204
|
+
export declare const LocalLawCurrencySchema: GenEnum<LocalLawCurrency>;
|