@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.
Files changed (71) hide show
  1. package/LICENSE.md +45 -0
  2. package/dist/RUNTIME-SOURCES.sha256 +289 -0
  3. package/dist/application-reception.js +206 -0
  4. package/dist/nomos-native-runtime.js +22519 -0
  5. package/dist/nomos-runner.html +13 -0
  6. package/dist/nomos-runner.js +34769 -0
  7. package/dist/remote-reception.cjs +582 -0
  8. package/dist/remote-reception.js +555 -0
  9. package/dist/typescript-application-desk.js +796 -0
  10. package/package.json +71 -0
  11. package/runner/README.md +75 -0
  12. package/runner/build.ts +225 -0
  13. package/runner/node-entry.mjs +31858 -0
  14. package/runner/nomos-runner.html +13 -0
  15. package/runner/shims.js +17 -0
  16. package/src/admission_decision.ts +60 -0
  17. package/src/application_reception.ts +134 -0
  18. package/src/nominal_value.ts +122 -0
  19. package/src/protocol/nomos/custody/v1/snapshot_pb.d.ts +67 -0
  20. package/src/protocol/nomos/custody/v1/snapshot_pb.js +18 -0
  21. package/src/protocol/nomos/discovery/v1/workspace_placement_pb.d.ts +56 -0
  22. package/src/protocol/nomos/discovery/v1/workspace_placement_pb.js +18 -0
  23. package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +11183 -0
  24. package/src/protocol/nomos/kernel/v1/kernel_pb.js +2217 -0
  25. package/src/protocol/nomos/kernel/v1/progress_pb.d.ts +250 -0
  26. package/src/protocol/nomos/kernel/v1/progress_pb.js +66 -0
  27. package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +162 -0
  28. package/src/protocol/nomos/runtime/v2/application_desk_pb.js +60 -0
  29. package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.d.ts +202 -0
  30. package/src/protocol/nomos/runtime/v2/application_readiness_desk_pb.js +67 -0
  31. package/src/protocol/nomos/runtime/v2/authentication_desk_pb.d.ts +158 -0
  32. package/src/protocol/nomos/runtime/v2/authentication_desk_pb.js +50 -0
  33. package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.d.ts +204 -0
  34. package/src/protocol/nomos/runtime/v2/compatibility_desk_pb.js +68 -0
  35. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +3661 -0
  36. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +735 -0
  37. package/src/protocol/nomos/runtime/v2/credentials_desk_pb.d.ts +122 -0
  38. package/src/protocol/nomos/runtime/v2/credentials_desk_pb.js +41 -0
  39. package/src/protocol/nomos/runtime/v2/custody_desk_pb.d.ts +611 -0
  40. package/src/protocol/nomos/runtime/v2/custody_desk_pb.js +123 -0
  41. package/src/protocol/nomos/runtime/v2/framework_pb.d.ts +211 -0
  42. package/src/protocol/nomos/runtime/v2/framework_pb.js +29 -0
  43. package/src/protocol/nomos/runtime/v2/identity_desk_pb.d.ts +305 -0
  44. package/src/protocol/nomos/runtime/v2/identity_desk_pb.js +61 -0
  45. package/src/protocol/nomos/runtime/v2/interaction_desk_pb.d.ts +73 -0
  46. package/src/protocol/nomos/runtime/v2/interaction_desk_pb.js +25 -0
  47. package/src/protocol/nomos/runtime/v2/law_desk_pb.d.ts +133 -0
  48. package/src/protocol/nomos/runtime/v2/law_desk_pb.js +39 -0
  49. package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.d.ts +267 -0
  50. package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.js +84 -0
  51. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +233 -0
  52. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +57 -0
  53. package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +1015 -0
  54. package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +230 -0
  55. package/src/protocol/nomos/runtime/v2/placement_desk_pb.d.ts +431 -0
  56. package/src/protocol/nomos/runtime/v2/placement_desk_pb.js +125 -0
  57. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +336 -0
  58. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +78 -0
  59. package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +716 -0
  60. package/src/protocol/nomos/runtime/v2/records_desk_pb.js +200 -0
  61. package/src/protocol/nomos/runtime/v2/recovery_desk_pb.d.ts +535 -0
  62. package/src/protocol/nomos/runtime/v2/recovery_desk_pb.js +160 -0
  63. package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +1162 -0
  64. package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +212 -0
  65. package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +796 -0
  66. package/src/protocol/nomos/runtime/v2/runtime_pb.js +72 -0
  67. package/src/protocol/nomos/runtime/v2/sealing_desk_pb.d.ts +581 -0
  68. package/src/protocol/nomos/runtime/v2/sealing_desk_pb.js +149 -0
  69. package/src/remote_reception.public.d.ts +97 -0
  70. package/src/remote_reception.ts +446 -0
  71. package/src/typescript_application_desk.public.d.ts +62 -0
@@ -0,0 +1,125 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/placement_desk.proto (package nomos.runtime.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_nomos_kernel_v1_kernel } from "../../kernel/v1/kernel_pb.js";
7
+ import { file_nomos_discovery_v1_workspace_placement } from "../../discovery/v1/workspace_placement_pb.js";
8
+
9
+ /**
10
+ * Describes the file nomos/runtime/v2/placement_desk.proto.
11
+ */
12
+ export const file_nomos_runtime_v2_placement_desk = /*@__PURE__*/
13
+ fileDesc("CiVub21vcy9ydW50aW1lL3YyL3BsYWNlbWVudF9kZXNrLnByb3RvEhBub21vcy5ydW50aW1lLnYyItcCChlXb3Jrc3BhY2VQbGFjZW1lbnRSZXF1ZXN0EhEKCXdvcmtzcGFjZRgCIAEoCRI4CgRyZWFkGAogASgLMigubm9tb3MucnVudGltZS52Mi5SZ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VudGltZS52Mi5TaWJsaW5nUmVzaWRlbmN5UmVxdWlyZWQiMgofQ29uZmlndXJlUHJvdmlkZXJPcmlnaW5zUmVxdWVzdBIPCgdvcmlnaW5zGAEgAygJIiwKGVByb3ZpZGVyT3JpZ2luc0NvbmZpZ3VyZWQSDwoHb3JpZ2lucxgBIAMoCSJwChJRdWFyYW50aW5lZEJpbmRpbmcSEQoJbmFtZXNwYWNlGAEgASgJEgsKA2tleRgCIAEoCRIOCgZyZWFzb24YAyABKAkSFQoNcmVjb3JkZWRfc2VhdBgEIAEoCRITCgtvZmZpY2Vfc2VhdBgFIAEoCSJMChdGb3JlaWduUGxhY2VtZW50SWdub3JlZBIRCgl3b3Jrc3BhY2UYASABKAkSDgoGb3JpZ2luGAIgASgJEg4KBnNvdXJjZRgDIAEoCWIGcHJvdG8z", [file_nomos_kernel_v1_kernel, file_nomos_discovery_v1_workspace_placement]);
14
+
15
+ /**
16
+ * Describes the message nomos.runtime.v2.WorkspacePlacementRequest.
17
+ * Use `create(WorkspacePlacementRequestSchema)` to create a new message.
18
+ */
19
+ export const WorkspacePlacementRequestSchema = /*@__PURE__*/
20
+ messageDesc(file_nomos_runtime_v2_placement_desk, 0);
21
+
22
+ /**
23
+ * Describes the message nomos.runtime.v2.ReadWorkspacePlacement.
24
+ * Use `create(ReadWorkspacePlacementSchema)` to create a new message.
25
+ */
26
+ export const ReadWorkspacePlacementSchema = /*@__PURE__*/
27
+ messageDesc(file_nomos_runtime_v2_placement_desk, 1);
28
+
29
+ /**
30
+ * Describes the message nomos.runtime.v2.DiscoverWorkspacePlacement.
31
+ * Use `create(DiscoverWorkspacePlacementSchema)` to create a new message.
32
+ */
33
+ export const DiscoverWorkspacePlacementSchema = /*@__PURE__*/
34
+ messageDesc(file_nomos_runtime_v2_placement_desk, 2);
35
+
36
+ /**
37
+ * Describes the message nomos.runtime.v2.AdoptWorkspacePlacement.
38
+ * Use `create(AdoptWorkspacePlacementSchema)` to create a new message.
39
+ */
40
+ export const AdoptWorkspacePlacementSchema = /*@__PURE__*/
41
+ messageDesc(file_nomos_runtime_v2_placement_desk, 3);
42
+
43
+ /**
44
+ * Describes the message nomos.runtime.v2.InspectDiscoveredWorkspacePlacement.
45
+ * Use `create(InspectDiscoveredWorkspacePlacementSchema)` to create a new message.
46
+ */
47
+ export const InspectDiscoveredWorkspacePlacementSchema = /*@__PURE__*/
48
+ messageDesc(file_nomos_runtime_v2_placement_desk, 4);
49
+
50
+ /**
51
+ * Describes the message nomos.runtime.v2.WorkspacePlacementState.
52
+ * Use `create(WorkspacePlacementStateSchema)` to create a new message.
53
+ */
54
+ export const WorkspacePlacementStateSchema = /*@__PURE__*/
55
+ messageDesc(file_nomos_runtime_v2_placement_desk, 5);
56
+
57
+ /**
58
+ * Describes the message nomos.runtime.v2.RuntimeBlocked.
59
+ * Use `create(RuntimeBlockedSchema)` to create a new message.
60
+ */
61
+ export const RuntimeBlockedSchema = /*@__PURE__*/
62
+ messageDesc(file_nomos_runtime_v2_placement_desk, 6);
63
+
64
+ /**
65
+ * Describes the message nomos.runtime.v2.WorkspaceKernelResidencyRequired.
66
+ * Use `create(WorkspaceKernelResidencyRequiredSchema)` to create a new message.
67
+ */
68
+ export const WorkspaceKernelResidencyRequiredSchema = /*@__PURE__*/
69
+ messageDesc(file_nomos_runtime_v2_placement_desk, 7);
70
+
71
+ /**
72
+ * Describes the message nomos.runtime.v2.WorkspaceCustodyRequired.
73
+ * Use `create(WorkspaceCustodyRequiredSchema)` to create a new message.
74
+ */
75
+ export const WorkspaceCustodyRequiredSchema = /*@__PURE__*/
76
+ messageDesc(file_nomos_runtime_v2_placement_desk, 8);
77
+
78
+ /**
79
+ * Describes the message nomos.runtime.v2.WorkspaceCandidateCustodyRequired.
80
+ * Use `create(WorkspaceCandidateCustodyRequiredSchema)` to create a new message.
81
+ */
82
+ export const WorkspaceCandidateCustodyRequiredSchema = /*@__PURE__*/
83
+ messageDesc(file_nomos_runtime_v2_placement_desk, 9);
84
+
85
+ /**
86
+ * Describes the message nomos.runtime.v2.SiblingResidencyRequired.
87
+ * Use `create(SiblingResidencyRequiredSchema)` to create a new message.
88
+ */
89
+ export const SiblingResidencyRequiredSchema = /*@__PURE__*/
90
+ messageDesc(file_nomos_runtime_v2_placement_desk, 10);
91
+
92
+ /**
93
+ * Describes the message nomos.runtime.v2.SiblingResidenciesRequired.
94
+ * Use `create(SiblingResidenciesRequiredSchema)` to create a new message.
95
+ */
96
+ export const SiblingResidenciesRequiredSchema = /*@__PURE__*/
97
+ messageDesc(file_nomos_runtime_v2_placement_desk, 11);
98
+
99
+ /**
100
+ * Describes the message nomos.runtime.v2.ConfigureProviderOriginsRequest.
101
+ * Use `create(ConfigureProviderOriginsRequestSchema)` to create a new message.
102
+ */
103
+ export const ConfigureProviderOriginsRequestSchema = /*@__PURE__*/
104
+ messageDesc(file_nomos_runtime_v2_placement_desk, 12);
105
+
106
+ /**
107
+ * Describes the message nomos.runtime.v2.ProviderOriginsConfigured.
108
+ * Use `create(ProviderOriginsConfiguredSchema)` to create a new message.
109
+ */
110
+ export const ProviderOriginsConfiguredSchema = /*@__PURE__*/
111
+ messageDesc(file_nomos_runtime_v2_placement_desk, 13);
112
+
113
+ /**
114
+ * Describes the message nomos.runtime.v2.QuarantinedBinding.
115
+ * Use `create(QuarantinedBindingSchema)` to create a new message.
116
+ */
117
+ export const QuarantinedBindingSchema = /*@__PURE__*/
118
+ messageDesc(file_nomos_runtime_v2_placement_desk, 14);
119
+
120
+ /**
121
+ * Describes the message nomos.runtime.v2.ForeignPlacementIgnored.
122
+ * Use `create(ForeignPlacementIgnoredSchema)` to create a new message.
123
+ */
124
+ export const ForeignPlacementIgnoredSchema = /*@__PURE__*/
125
+ messageDesc(file_nomos_runtime_v2_placement_desk, 15);
@@ -0,0 +1,336 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/receiving_group_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, DirectiveCall } from "../../kernel/v1/kernel_pb.js";
8
+
9
+ /**
10
+ * Describes the file nomos/runtime/v2/receiving_group_desk.proto.
11
+ */
12
+ export declare const file_nomos_runtime_v2_receiving_group_desk: GenFile;
13
+
14
+ /**
15
+ * The application's law package identity, carried from the compiled
16
+ * application descriptor: the closure that serves the injected
17
+ * application-home domain. The child installs it in its genesis after the
18
+ * parent platform's own Nomos controller, whose identity is per-platform
19
+ * installed state the desk observes from the provider at birth (never a
20
+ * compile-time constant); the kernel resolves both closures by hash from the
21
+ * parent's custody, so a wrong identity is its typed refusal.
22
+ *
23
+ * @generated from message nomos.runtime.v2.ApplicationBirthContract
24
+ */
25
+ export declare type ApplicationBirthContract = Message<"nomos.runtime.v2.ApplicationBirthContract"> & {
26
+ /**
27
+ * @generated from field: string law_sha256 = 1;
28
+ */
29
+ lawSha256: string;
30
+ };
31
+
32
+ /**
33
+ * Describes the message nomos.runtime.v2.ApplicationBirthContract.
34
+ * Use `create(ApplicationBirthContractSchema)` to create a new message.
35
+ */
36
+ export declare const ApplicationBirthContractSchema: GenMessage<ApplicationBirthContract>;
37
+
38
+ /**
39
+ * One local-open/birth procedure. Reception transports this paper once; the
40
+ * shared desk opens mounted local custody immediately. Remote presence or a
41
+ * successful birth returns typed LOCAL_REPLICA_NOT_READY while Replica Follow
42
+ * independently establishes local custody.
43
+ *
44
+ * @generated from message nomos.runtime.v2.OpenReceivingGroupRequest
45
+ */
46
+ export declare type OpenReceivingGroupRequest = Message<"nomos.runtime.v2.OpenReceivingGroupRequest"> & {
47
+ /**
48
+ * The application's root session, already bound to the receiving group's
49
+ * workspace (an unborn bind is permitted). It carries no placement policy.
50
+ *
51
+ * @generated from field: string session = 1;
52
+ */
53
+ session: string;
54
+
55
+ /**
56
+ * The parent platform workspace the group is born under.
57
+ *
58
+ * @generated from field: string application = 2;
59
+ */
60
+ application: string;
61
+
62
+ /**
63
+ * The canonical `user:<sub>` principal the group belongs to.
64
+ *
65
+ * @generated from field: string principal = 3;
66
+ */
67
+ principal: string;
68
+
69
+ /**
70
+ * The identity-provider token; device-bound tokens are requested through the
71
+ * credential-refresh effect's challenge, never built here.
72
+ *
73
+ * @generated from field: bytes auth_token = 4;
74
+ */
75
+ authToken: Uint8Array;
76
+
77
+ /**
78
+ * @generated from field: nomos.runtime.v2.ApplicationBirthContract contract = 5;
79
+ */
80
+ contract?: ApplicationBirthContract | undefined;
81
+
82
+ /**
83
+ * Tenant seed steps are law (`application.receivingGroup.seed`, folded at
84
+ * birth by the framework's birth directive); the desk refuses a non-empty list
85
+ * rather than authoring a second seed lane.
86
+ *
87
+ * @generated from field: repeated nomos.kernel.v1.DirectiveCall genesis_seed = 6;
88
+ */
89
+ genesisSeed: DirectiveCall[];
90
+
91
+ /**
92
+ * Re-run the complete signed history in the convergence tail (audit mode).
93
+ *
94
+ * @generated from field: bool verify_history = 7;
95
+ */
96
+ verifyHistory: boolean;
97
+
98
+ /**
99
+ * D22 enrolled-principal lane. When present, this device's key is seated by
100
+ * the application's console enroller (a platform-shell effect), never by a
101
+ * provider token, bearer, device-bound token or birth certificate in any
102
+ * intent; the console births the principal's receiving group. When absent,
103
+ * the historical provider-token lane runs unchanged.
104
+ *
105
+ * @generated from field: nomos.runtime.v2.ConsoleEnrolmentRoute enrolment = 8;
106
+ */
107
+ enrolment?: ConsoleEnrolmentRoute | undefined;
108
+ };
109
+
110
+ /**
111
+ * Describes the message nomos.runtime.v2.OpenReceivingGroupRequest.
112
+ * Use `create(OpenReceivingGroupRequestSchema)` to create a new message.
113
+ */
114
+ export declare const OpenReceivingGroupRequestSchema: GenMessage<OpenReceivingGroupRequest>;
115
+
116
+ /**
117
+ * Where an enrolled principal's device key is enrolled (D22/D23): the
118
+ * application's console enroller, the console tenant and the enrolled provider
119
+ * scope declared in law. Application configuration, never law or authority:
120
+ * the kernel judges the resulting `enrollDevice` like any other intent.
121
+ *
122
+ * @generated from message nomos.runtime.v2.ConsoleEnrolmentRoute
123
+ */
124
+ export declare type ConsoleEnrolmentRoute = Message<"nomos.runtime.v2.ConsoleEnrolmentRoute"> & {
125
+ /**
126
+ * The console's origin, e.g. `https://console.nomos.cafe`.
127
+ *
128
+ * @generated from field: string console = 1;
129
+ */
130
+ console: string;
131
+
132
+ /**
133
+ * The console tenant (a jurisdiction, e.g. `co2-platform`).
134
+ *
135
+ * @generated from field: string tenant = 2;
136
+ */
137
+ tenant: string;
138
+
139
+ /**
140
+ * The enrolled provider scope (e.g. `co2`); principals are `<scope>:<subject>`.
141
+ *
142
+ * @generated from field: string scope = 3;
143
+ */
144
+ scope: string;
145
+ };
146
+
147
+ /**
148
+ * Describes the message nomos.runtime.v2.ConsoleEnrolmentRoute.
149
+ * Use `create(ConsoleEnrolmentRouteSchema)` to create a new message.
150
+ */
151
+ export declare const ConsoleEnrolmentRouteSchema: GenMessage<ConsoleEnrolmentRoute>;
152
+
153
+ /**
154
+ * @generated from message nomos.runtime.v2.ReceivingGroupOpened
155
+ */
156
+ export declare type ReceivingGroupOpened = Message<"nomos.runtime.v2.ReceivingGroupOpened"> & {
157
+ /**
158
+ * @generated from field: string session = 1;
159
+ */
160
+ session: string;
161
+
162
+ /**
163
+ * @generated from field: string workspace = 2;
164
+ */
165
+ workspace: string;
166
+
167
+ /**
168
+ * `key:<sha256(device public key)>` — this device's on-chain signer subject.
169
+ *
170
+ * @generated from field: string device_key_subject = 3;
171
+ */
172
+ deviceKeySubject: string;
173
+ };
174
+
175
+ /**
176
+ * Describes the message nomos.runtime.v2.ReceivingGroupOpened.
177
+ * Use `create(ReceivingGroupOpenedSchema)` to create a new message.
178
+ */
179
+ export declare const ReceivingGroupOpenedSchema: GenMessage<ReceivingGroupOpened>;
180
+
181
+ /**
182
+ * The convergence tail, run as correspondence work after the gate returned:
183
+ * posture, framework device recovery when the kernel says this key is not a
184
+ * seated signer, authentication readiness with birth evidence, then optional
185
+ * full verification. It never fails the gate. The desk hands this paper to the
186
+ * shell's background lane; shells only perform its typed physical effects.
187
+ *
188
+ * @generated from message nomos.runtime.v2.ConvergeReceivingGroupRequest
189
+ */
190
+ export declare type ConvergeReceivingGroupRequest = Message<"nomos.runtime.v2.ConvergeReceivingGroupRequest"> & {
191
+ /**
192
+ * @generated from field: string session = 1;
193
+ */
194
+ session: string;
195
+
196
+ /**
197
+ * @generated from field: bool verify_history = 2;
198
+ */
199
+ verifyHistory: boolean;
200
+
201
+ /**
202
+ * The parent platform the group was born under: the framework recovery door is offered there.
203
+ *
204
+ * @generated from field: string application = 3;
205
+ */
206
+ application: string;
207
+
208
+ /**
209
+ * Present for an enrolled-principal session (D22): an unseated key is
210
+ * enrolled again through the console, never through the recovery door.
211
+ *
212
+ * @generated from field: nomos.runtime.v2.ConsoleEnrolmentRoute enrolment = 4;
213
+ */
214
+ enrolment?: ConsoleEnrolmentRoute | undefined;
215
+ };
216
+
217
+ /**
218
+ * Describes the message nomos.runtime.v2.ConvergeReceivingGroupRequest.
219
+ * Use `create(ConvergeReceivingGroupRequestSchema)` to create a new message.
220
+ */
221
+ export declare const ConvergeReceivingGroupRequestSchema: GenMessage<ConvergeReceivingGroupRequest>;
222
+
223
+ /**
224
+ * Emitted as a RuntimeEvent to every session bound to the workspace, and
225
+ * returned as the tail paper's own outcome.
226
+ *
227
+ * @generated from message nomos.runtime.v2.ReceivingGroupConvergence
228
+ */
229
+ export declare type ReceivingGroupConvergence = Message<"nomos.runtime.v2.ReceivingGroupConvergence"> & {
230
+ /**
231
+ * @generated from field: string workspace = 1;
232
+ */
233
+ workspace: string;
234
+
235
+ /**
236
+ * @generated from field: nomos.runtime.v2.ReceivingGroupConvergencePhase phase = 2;
237
+ */
238
+ phase: ReceivingGroupConvergencePhase;
239
+
240
+ /**
241
+ * @generated from field: nomos.runtime.v2.ReceivingGroupConvergenceOutcome outcome = 3;
242
+ */
243
+ outcome: ReceivingGroupConvergenceOutcome;
244
+
245
+ /**
246
+ * The typed refusal or transport detail behind a deferral.
247
+ *
248
+ * @generated from field: optional string detail = 4;
249
+ */
250
+ detail?: string | undefined;
251
+
252
+ /**
253
+ * The kernel's last observed posture, when one was read.
254
+ *
255
+ * @generated from field: optional nomos.kernel.v1.AuthenticationPostureResponse posture = 5;
256
+ */
257
+ posture?: AuthenticationPostureResponse | undefined;
258
+ };
259
+
260
+ /**
261
+ * Describes the message nomos.runtime.v2.ReceivingGroupConvergence.
262
+ * Use `create(ReceivingGroupConvergenceSchema)` to create a new message.
263
+ */
264
+ export declare const ReceivingGroupConvergenceSchema: GenMessage<ReceivingGroupConvergence>;
265
+
266
+ /**
267
+ * @generated from enum nomos.runtime.v2.ReceivingGroupConvergencePhase
268
+ */
269
+ export enum ReceivingGroupConvergencePhase {
270
+ /**
271
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_PHASE_UNSPECIFIED = 0;
272
+ */
273
+ UNSPECIFIED = 0,
274
+
275
+ /**
276
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_PHASE_POSTURE = 1;
277
+ */
278
+ POSTURE = 1,
279
+
280
+ /**
281
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_PHASE_RECOVERY = 2;
282
+ */
283
+ RECOVERY = 2,
284
+
285
+ /**
286
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_PHASE_AUTHENTICATION = 3;
287
+ */
288
+ AUTHENTICATION = 3,
289
+
290
+ /**
291
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_PHASE_VERIFICATION = 4;
292
+ */
293
+ VERIFICATION = 4,
294
+ }
295
+
296
+ /**
297
+ * Describes the enum nomos.runtime.v2.ReceivingGroupConvergencePhase.
298
+ */
299
+ export declare const ReceivingGroupConvergencePhaseSchema: GenEnum<ReceivingGroupConvergencePhase>;
300
+
301
+ /**
302
+ * @generated from enum nomos.runtime.v2.ReceivingGroupConvergenceOutcome
303
+ */
304
+ export enum ReceivingGroupConvergenceOutcome {
305
+ /**
306
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_OUTCOME_UNSPECIFIED = 0;
307
+ */
308
+ UNSPECIFIED = 0,
309
+
310
+ /**
311
+ * Progress: the named phase is running.
312
+ *
313
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_OUTCOME_IN_PROGRESS = 1;
314
+ */
315
+ IN_PROGRESS = 1,
316
+
317
+ /**
318
+ * Terminal: the group is provably converged with its parent.
319
+ *
320
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_OUTCOME_CONVERGED = 2;
321
+ */
322
+ CONVERGED = 2,
323
+
324
+ /**
325
+ * Terminal for this run: custody was good enough to open on, but the group is
326
+ * not yet provably converged; the tail runs again on the next open.
327
+ *
328
+ * @generated from enum value: RECEIVING_GROUP_CONVERGENCE_OUTCOME_DEFERRED = 3;
329
+ */
330
+ DEFERRED = 3,
331
+ }
332
+
333
+ /**
334
+ * Describes the enum nomos.runtime.v2.ReceivingGroupConvergenceOutcome.
335
+ */
336
+ export declare const ReceivingGroupConvergenceOutcomeSchema: GenEnum<ReceivingGroupConvergenceOutcome>;
@@ -0,0 +1,78 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/receiving_group_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/receiving_group_desk.proto.
10
+ */
11
+ export const file_nomos_runtime_v2_receiving_group_desk = /*@__PURE__*/
12
+ fileDesc("Citub21vcy9ydW50aW1lL3YyL3JlY2VpdmluZ19ncm91cF9kZXNrLnByb3RvEhBub21vcy5ydW50aW1lLnYyIi4KGEFwcGxpY2F0aW9uQ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vcy5ydW50aW1lLnYyLlJlY2VpdmluZ0dyb3VwQ29udmVyZ2VuY2VPdXRjb21lEhMKBmRldGFpbBgEIAEoCUgAiAEBEkQKB3Bvc3R1cmUYBSABKAsyLi5ub21vcy5rZXJuZWwudjEuQXV0aGVudGljYXRpb25Qb3N0dXJlUmVzcG9uc2VIAYgBAUIJCgdfZGV0YWlsQgoKCF9wb3N0dXJlKpwCCh5SZWNlaXZpbmdHcm91cENvbnZlcmdlbmNlUGhhc2USMQotUkVDRUlWSU5HX0dST1VQX0NPTlZFUkdFTkNFX1BIQVNFX1VOU1BFQ0lGSUVEEAASLQopUkVDRUlWSU5HX0dST1VQX0NPTlZFUkdFTkNFX1BIQVNFX1BPU1RVUkUQARIuCipSRUNFSVZJTkdfR1JPVVBfQ09OVkVSR0VOQ0VfUEhBU0VfUkVDT1ZFUlkQAhI0CjBSRUNFSVZJTkdfR1JPVVBfQ09OVkVSR0VOQ0VfUEhBU0VfQVVUSEVOVElDQVRJT04QAxIyCi5SRUNFSVZJTkdfR1JPVVBfQ09OVkVSR0VOQ0VfUEhBU0VfVkVSSUZJQ0FUSU9OEAQq8QEKIFJlY2VpdmluZ0dyb3VwQ29udmVyZ2VuY2VPdXRjb21lEjMKL1JFQ0VJVklOR19HUk9VUF9DT05WRVJHRU5DRV9PVVRDT01FX1VOU1BFQ0lGSUVEEAASMwovUkVDRUlWSU5HX0dST1VQX0NPTlZFUkdFTkNFX09VVENPTUVfSU5fUFJPR1JFU1MQARIxCi1SRUNFSVZJTkdfR1JPVVBfQ09OVkVSR0VOQ0VfT1VUQ09NRV9DT05WRVJHRUQQAhIwCixSRUNFSVZJTkdfR1JPVVBfQ09OVkVSR0VOQ0VfT1VUQ09NRV9ERUZFUlJFRBADYgZwcm90bzM", [file_nomos_kernel_v1_kernel]);
13
+
14
+ /**
15
+ * Describes the message nomos.runtime.v2.ApplicationBirthContract.
16
+ * Use `create(ApplicationBirthContractSchema)` to create a new message.
17
+ */
18
+ export const ApplicationBirthContractSchema = /*@__PURE__*/
19
+ messageDesc(file_nomos_runtime_v2_receiving_group_desk, 0);
20
+
21
+ /**
22
+ * Describes the message nomos.runtime.v2.OpenReceivingGroupRequest.
23
+ * Use `create(OpenReceivingGroupRequestSchema)` to create a new message.
24
+ */
25
+ export const OpenReceivingGroupRequestSchema = /*@__PURE__*/
26
+ messageDesc(file_nomos_runtime_v2_receiving_group_desk, 1);
27
+
28
+ /**
29
+ * Describes the message nomos.runtime.v2.ConsoleEnrolmentRoute.
30
+ * Use `create(ConsoleEnrolmentRouteSchema)` to create a new message.
31
+ */
32
+ export const ConsoleEnrolmentRouteSchema = /*@__PURE__*/
33
+ messageDesc(file_nomos_runtime_v2_receiving_group_desk, 2);
34
+
35
+ /**
36
+ * Describes the message nomos.runtime.v2.ReceivingGroupOpened.
37
+ * Use `create(ReceivingGroupOpenedSchema)` to create a new message.
38
+ */
39
+ export const ReceivingGroupOpenedSchema = /*@__PURE__*/
40
+ messageDesc(file_nomos_runtime_v2_receiving_group_desk, 3);
41
+
42
+ /**
43
+ * Describes the message nomos.runtime.v2.ConvergeReceivingGroupRequest.
44
+ * Use `create(ConvergeReceivingGroupRequestSchema)` to create a new message.
45
+ */
46
+ export const ConvergeReceivingGroupRequestSchema = /*@__PURE__*/
47
+ messageDesc(file_nomos_runtime_v2_receiving_group_desk, 4);
48
+
49
+ /**
50
+ * Describes the message nomos.runtime.v2.ReceivingGroupConvergence.
51
+ * Use `create(ReceivingGroupConvergenceSchema)` to create a new message.
52
+ */
53
+ export const ReceivingGroupConvergenceSchema = /*@__PURE__*/
54
+ messageDesc(file_nomos_runtime_v2_receiving_group_desk, 5);
55
+
56
+ /**
57
+ * Describes the enum nomos.runtime.v2.ReceivingGroupConvergencePhase.
58
+ */
59
+ export const ReceivingGroupConvergencePhaseSchema = /*@__PURE__*/
60
+ enumDesc(file_nomos_runtime_v2_receiving_group_desk, 0);
61
+
62
+ /**
63
+ * @generated from enum nomos.runtime.v2.ReceivingGroupConvergencePhase
64
+ */
65
+ export const ReceivingGroupConvergencePhase = /*@__PURE__*/
66
+ tsEnum(ReceivingGroupConvergencePhaseSchema);
67
+
68
+ /**
69
+ * Describes the enum nomos.runtime.v2.ReceivingGroupConvergenceOutcome.
70
+ */
71
+ export const ReceivingGroupConvergenceOutcomeSchema = /*@__PURE__*/
72
+ enumDesc(file_nomos_runtime_v2_receiving_group_desk, 1);
73
+
74
+ /**
75
+ * @generated from enum nomos.runtime.v2.ReceivingGroupConvergenceOutcome
76
+ */
77
+ export const ReceivingGroupConvergenceOutcome = /*@__PURE__*/
78
+ tsEnum(ReceivingGroupConvergenceOutcomeSchema);