@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,535 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/recovery_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
+
8
+ /**
9
+ * Describes the file nomos/runtime/v2/recovery_desk.proto.
10
+ */
11
+ export declare const file_nomos_runtime_v2_recovery_desk: GenFile;
12
+
13
+ /**
14
+ * @generated from message nomos.runtime.v2.DeadLetterRequest
15
+ */
16
+ export declare type DeadLetterRequest = Message<"nomos.runtime.v2.DeadLetterRequest"> & {
17
+ /**
18
+ * @generated from field: string session = 1;
19
+ */
20
+ session: string;
21
+
22
+ /**
23
+ * @generated from oneof nomos.runtime.v2.DeadLetterRequest.operation
24
+ */
25
+ operation: {
26
+ /**
27
+ * @generated from field: nomos.runtime.v2.ListDeadLettersRequest list = 10;
28
+ */
29
+ value: ListDeadLettersRequest;
30
+ case: "list";
31
+ } | {
32
+ /**
33
+ * @generated from field: nomos.runtime.v2.RetryDeadLetterRequest retry = 11;
34
+ */
35
+ value: RetryDeadLetterRequest;
36
+ case: "retry";
37
+ } | {
38
+ /**
39
+ * @generated from field: nomos.runtime.v2.DiscardDeadLetterRequest discard = 12;
40
+ */
41
+ value: DiscardDeadLetterRequest;
42
+ case: "discard";
43
+ } | { case: undefined; value?: undefined };
44
+ };
45
+
46
+ /**
47
+ * Describes the message nomos.runtime.v2.DeadLetterRequest.
48
+ * Use `create(DeadLetterRequestSchema)` to create a new message.
49
+ */
50
+ export declare const DeadLetterRequestSchema: GenMessage<DeadLetterRequest>;
51
+
52
+ /**
53
+ * @generated from message nomos.runtime.v2.ListDeadLettersRequest
54
+ */
55
+ export declare type ListDeadLettersRequest = Message<"nomos.runtime.v2.ListDeadLettersRequest"> & {
56
+ };
57
+
58
+ /**
59
+ * Describes the message nomos.runtime.v2.ListDeadLettersRequest.
60
+ * Use `create(ListDeadLettersRequestSchema)` to create a new message.
61
+ */
62
+ export declare const ListDeadLettersRequestSchema: GenMessage<ListDeadLettersRequest>;
63
+
64
+ /**
65
+ * @generated from message nomos.runtime.v2.RetryDeadLetterRequest
66
+ */
67
+ export declare type RetryDeadLetterRequest = Message<"nomos.runtime.v2.RetryDeadLetterRequest"> & {
68
+ /**
69
+ * @generated from field: string intent_id = 1;
70
+ */
71
+ intentId: string;
72
+ };
73
+
74
+ /**
75
+ * Describes the message nomos.runtime.v2.RetryDeadLetterRequest.
76
+ * Use `create(RetryDeadLetterRequestSchema)` to create a new message.
77
+ */
78
+ export declare const RetryDeadLetterRequestSchema: GenMessage<RetryDeadLetterRequest>;
79
+
80
+ /**
81
+ * @generated from message nomos.runtime.v2.DiscardDeadLetterRequest
82
+ */
83
+ export declare type DiscardDeadLetterRequest = Message<"nomos.runtime.v2.DiscardDeadLetterRequest"> & {
84
+ /**
85
+ * @generated from field: string intent_id = 1;
86
+ */
87
+ intentId: string;
88
+ };
89
+
90
+ /**
91
+ * Describes the message nomos.runtime.v2.DiscardDeadLetterRequest.
92
+ * Use `create(DiscardDeadLetterRequestSchema)` to create a new message.
93
+ */
94
+ export declare const DiscardDeadLetterRequestSchema: GenMessage<DiscardDeadLetterRequest>;
95
+
96
+ /**
97
+ * @generated from message nomos.runtime.v2.DeadLetterResponse
98
+ */
99
+ export declare type DeadLetterResponse = Message<"nomos.runtime.v2.DeadLetterResponse"> & {
100
+ /**
101
+ * @generated from oneof nomos.runtime.v2.DeadLetterResponse.outcome
102
+ */
103
+ outcome: {
104
+ /**
105
+ * @generated from field: nomos.runtime.v2.DeadLetterList list = 10;
106
+ */
107
+ value: DeadLetterList;
108
+ case: "list";
109
+ } | {
110
+ /**
111
+ * @generated from field: nomos.runtime.v2.DeadLetterRetry retry = 11;
112
+ */
113
+ value: DeadLetterRetry;
114
+ case: "retry";
115
+ } | {
116
+ /**
117
+ * @generated from field: nomos.runtime.v2.DeadLetterDiscard discard = 12;
118
+ */
119
+ value: DeadLetterDiscard;
120
+ case: "discard";
121
+ } | { case: undefined; value?: undefined };
122
+ };
123
+
124
+ /**
125
+ * Describes the message nomos.runtime.v2.DeadLetterResponse.
126
+ * Use `create(DeadLetterResponseSchema)` to create a new message.
127
+ */
128
+ export declare const DeadLetterResponseSchema: GenMessage<DeadLetterResponse>;
129
+
130
+ /**
131
+ * @generated from message nomos.runtime.v2.DeadLetterList
132
+ */
133
+ export declare type DeadLetterList = Message<"nomos.runtime.v2.DeadLetterList"> & {
134
+ /**
135
+ * @generated from field: repeated nomos.runtime.v2.DeadLetterEntry entries = 1;
136
+ */
137
+ entries: DeadLetterEntry[];
138
+ };
139
+
140
+ /**
141
+ * Describes the message nomos.runtime.v2.DeadLetterList.
142
+ * Use `create(DeadLetterListSchema)` to create a new message.
143
+ */
144
+ export declare const DeadLetterListSchema: GenMessage<DeadLetterList>;
145
+
146
+ /**
147
+ * @generated from message nomos.runtime.v2.DeadLetterEntry
148
+ */
149
+ export declare type DeadLetterEntry = Message<"nomos.runtime.v2.DeadLetterEntry"> & {
150
+ /**
151
+ * @generated from field: optional string id = 1;
152
+ */
153
+ id?: string | undefined;
154
+
155
+ /**
156
+ * @generated from field: string commit_oid = 2;
157
+ */
158
+ commitOid: string;
159
+
160
+ /**
161
+ * @generated from field: string source = 3;
162
+ */
163
+ source: string;
164
+
165
+ /**
166
+ * @generated from field: string message = 4;
167
+ */
168
+ message: string;
169
+
170
+ /**
171
+ * @generated from field: optional string domain = 5;
172
+ */
173
+ domain?: string | undefined;
174
+
175
+ /**
176
+ * @generated from field: optional string directive = 6;
177
+ */
178
+ directive?: string | undefined;
179
+
180
+ /**
181
+ * @generated from field: string recorded_at = 7;
182
+ */
183
+ recordedAt: string;
184
+ };
185
+
186
+ /**
187
+ * Describes the message nomos.runtime.v2.DeadLetterEntry.
188
+ * Use `create(DeadLetterEntrySchema)` to create a new message.
189
+ */
190
+ export declare const DeadLetterEntrySchema: GenMessage<DeadLetterEntry>;
191
+
192
+ /**
193
+ * @generated from message nomos.runtime.v2.DeadLetterRetry
194
+ */
195
+ export declare type DeadLetterRetry = Message<"nomos.runtime.v2.DeadLetterRetry"> & {
196
+ /**
197
+ * @generated from field: bool retried = 1;
198
+ */
199
+ retried: boolean;
200
+
201
+ /**
202
+ * @generated from field: optional string head = 2;
203
+ */
204
+ head?: string | undefined;
205
+
206
+ /**
207
+ * @generated from field: bool already_on_main = 3;
208
+ */
209
+ alreadyOnMain: boolean;
210
+
211
+ /**
212
+ * @generated from field: optional string message = 4;
213
+ */
214
+ message?: string | undefined;
215
+ };
216
+
217
+ /**
218
+ * Describes the message nomos.runtime.v2.DeadLetterRetry.
219
+ * Use `create(DeadLetterRetrySchema)` to create a new message.
220
+ */
221
+ export declare const DeadLetterRetrySchema: GenMessage<DeadLetterRetry>;
222
+
223
+ /**
224
+ * @generated from message nomos.runtime.v2.DeadLetterDiscard
225
+ */
226
+ export declare type DeadLetterDiscard = Message<"nomos.runtime.v2.DeadLetterDiscard"> & {
227
+ /**
228
+ * @generated from field: uint64 removed = 1;
229
+ */
230
+ removed: bigint;
231
+ };
232
+
233
+ /**
234
+ * Describes the message nomos.runtime.v2.DeadLetterDiscard.
235
+ * Use `create(DeadLetterDiscardSchema)` to create a new message.
236
+ */
237
+ export declare const DeadLetterDiscardSchema: GenMessage<DeadLetterDiscard>;
238
+
239
+ /**
240
+ * @generated from message nomos.runtime.v2.CustodyChanged
241
+ */
242
+ export declare type CustodyChanged = Message<"nomos.runtime.v2.CustodyChanged"> & {
243
+ /**
244
+ * @generated from field: nomos.runtime.v2.CustodyChangeKind kind = 1;
245
+ */
246
+ kind: CustodyChangeKind;
247
+
248
+ /**
249
+ * @generated from field: nomos.runtime.v2.CustodyBreak custody_break = 2;
250
+ */
251
+ custodyBreak?: CustodyBreak | undefined;
252
+
253
+ /**
254
+ * @generated from field: optional string operation = 3;
255
+ */
256
+ operation?: string | undefined;
257
+
258
+ /**
259
+ * @generated from field: optional bool recloned = 4;
260
+ */
261
+ recloned?: boolean | undefined;
262
+
263
+ /**
264
+ * @generated from field: optional uint64 parked_intents = 5;
265
+ */
266
+ parkedIntents?: bigint | undefined;
267
+ };
268
+
269
+ /**
270
+ * Describes the message nomos.runtime.v2.CustodyChanged.
271
+ * Use `create(CustodyChangedSchema)` to create a new message.
272
+ */
273
+ export declare const CustodyChangedSchema: GenMessage<CustodyChanged>;
274
+
275
+ /**
276
+ * @generated from message nomos.runtime.v2.LocalWorkRejected
277
+ */
278
+ export declare type LocalWorkRejected = Message<"nomos.runtime.v2.LocalWorkRejected"> & {
279
+ /**
280
+ * @generated from field: string workspace = 1;
281
+ */
282
+ workspace: string;
283
+
284
+ /**
285
+ * @generated from field: repeated nomos.runtime.v2.RejectedLocalIntent refused = 2;
286
+ */
287
+ refused: RejectedLocalIntent[];
288
+
289
+ /**
290
+ * @generated from field: bool parked = 3;
291
+ */
292
+ parked: boolean;
293
+
294
+ /**
295
+ * @generated from field: optional string reset_to = 4;
296
+ */
297
+ resetTo?: string | undefined;
298
+
299
+ /**
300
+ * @generated from field: bool retryable = 5;
301
+ */
302
+ retryable: boolean;
303
+
304
+ /**
305
+ * @generated from field: nomos.runtime.v2.LocalWorkRejectionSource source = 6;
306
+ */
307
+ source: LocalWorkRejectionSource;
308
+ };
309
+
310
+ /**
311
+ * Describes the message nomos.runtime.v2.LocalWorkRejected.
312
+ * Use `create(LocalWorkRejectedSchema)` to create a new message.
313
+ */
314
+ export declare const LocalWorkRejectedSchema: GenMessage<LocalWorkRejected>;
315
+
316
+ /**
317
+ * @generated from message nomos.runtime.v2.CustodySupersession
318
+ */
319
+ export declare type CustodySupersession = Message<"nomos.runtime.v2.CustodySupersession"> & {
320
+ /**
321
+ * @generated from field: optional string superseded_at = 1;
322
+ */
323
+ supersededAt?: string | undefined;
324
+
325
+ /**
326
+ * @generated from field: optional string reason = 2;
327
+ */
328
+ reason?: string | undefined;
329
+ };
330
+
331
+ /**
332
+ * Describes the message nomos.runtime.v2.CustodySupersession.
333
+ * Use `create(CustodySupersessionSchema)` to create a new message.
334
+ */
335
+ export declare const CustodySupersessionSchema: GenMessage<CustodySupersession>;
336
+
337
+ /**
338
+ * @generated from message nomos.runtime.v2.CustodyBreak
339
+ */
340
+ export declare type CustodyBreak = Message<"nomos.runtime.v2.CustodyBreak"> & {
341
+ /**
342
+ * @generated from field: nomos.runtime.v2.CustodyBreakKind kind = 1;
343
+ */
344
+ kind: CustodyBreakKind;
345
+
346
+ /**
347
+ * @generated from field: string local_genesis = 2;
348
+ */
349
+ localGenesis: string;
350
+
351
+ /**
352
+ * @generated from field: string remote_genesis = 3;
353
+ */
354
+ remoteGenesis: string;
355
+
356
+ /**
357
+ * @generated from field: string remote_incarnation = 4;
358
+ */
359
+ remoteIncarnation: string;
360
+
361
+ /**
362
+ * @generated from field: optional nomos.runtime.v2.CustodySupersession supersession = 5;
363
+ */
364
+ supersession?: CustodySupersession | undefined;
365
+
366
+ /**
367
+ * @generated from field: uint64 local_only_intents = 6;
368
+ */
369
+ localOnlyIntents: bigint;
370
+
371
+ /**
372
+ * @generated from field: optional uint64 last_synced_at_millis = 7;
373
+ */
374
+ lastSyncedAtMillis?: bigint | undefined;
375
+ };
376
+
377
+ /**
378
+ * Describes the message nomos.runtime.v2.CustodyBreak.
379
+ * Use `create(CustodyBreakSchema)` to create a new message.
380
+ */
381
+ export declare const CustodyBreakSchema: GenMessage<CustodyBreak>;
382
+
383
+ /**
384
+ * @generated from message nomos.runtime.v2.RejectedLocalIntent
385
+ */
386
+ export declare type RejectedLocalIntent = Message<"nomos.runtime.v2.RejectedLocalIntent"> & {
387
+ /**
388
+ * @generated from field: optional string intent_id = 1;
389
+ */
390
+ intentId?: string | undefined;
391
+
392
+ /**
393
+ * @generated from field: optional string commit_oid = 2;
394
+ */
395
+ commitOid?: string | undefined;
396
+
397
+ /**
398
+ * @generated from field: optional string domain = 3;
399
+ */
400
+ domain?: string | undefined;
401
+
402
+ /**
403
+ * @generated from field: optional string directive = 4;
404
+ */
405
+ directive?: string | undefined;
406
+
407
+ /**
408
+ * @generated from field: string message = 5;
409
+ */
410
+ message: string;
411
+
412
+ /**
413
+ * @generated from field: bool retryable = 6;
414
+ */
415
+ retryable: boolean;
416
+ };
417
+
418
+ /**
419
+ * Describes the message nomos.runtime.v2.RejectedLocalIntent.
420
+ * Use `create(RejectedLocalIntentSchema)` to create a new message.
421
+ */
422
+ export declare const RejectedLocalIntentSchema: GenMessage<RejectedLocalIntent>;
423
+
424
+ /**
425
+ * Recovery preserves refused work and makes custody discontinuities explicit.
426
+ * It never rewrites business history silently.
427
+ *
428
+ * @generated from enum nomos.runtime.v2.CustodyBreakPolicy
429
+ */
430
+ export enum CustodyBreakPolicy {
431
+ /**
432
+ * @generated from enum value: CUSTODY_BREAK_POLICY_UNSPECIFIED = 0;
433
+ */
434
+ UNSPECIFIED = 0,
435
+
436
+ /**
437
+ * @generated from enum value: CUSTODY_BREAK_POLICY_ADOPT = 2;
438
+ */
439
+ ADOPT = 2,
440
+
441
+ /**
442
+ * @generated from enum value: CUSTODY_BREAK_POLICY_REJECT = 3;
443
+ */
444
+ REJECT = 3,
445
+ }
446
+
447
+ /**
448
+ * Describes the enum nomos.runtime.v2.CustodyBreakPolicy.
449
+ */
450
+ export declare const CustodyBreakPolicySchema: GenEnum<CustodyBreakPolicy>;
451
+
452
+ /**
453
+ * @generated from enum nomos.runtime.v2.CustodyChangeKind
454
+ */
455
+ export enum CustodyChangeKind {
456
+ /**
457
+ * @generated from enum value: CUSTODY_CHANGE_KIND_UNSPECIFIED = 0;
458
+ */
459
+ UNSPECIFIED = 0,
460
+
461
+ /**
462
+ * @generated from enum value: CUSTODY_CHANGE_KIND_DETECTED = 1;
463
+ */
464
+ DETECTED = 1,
465
+
466
+ /**
467
+ * @generated from enum value: CUSTODY_CHANGE_KIND_REJECTED = 2;
468
+ */
469
+ REJECTED = 2,
470
+
471
+ /**
472
+ * @generated from enum value: CUSTODY_CHANGE_KIND_ADOPTING = 3;
473
+ */
474
+ ADOPTING = 3,
475
+
476
+ /**
477
+ * @generated from enum value: CUSTODY_CHANGE_KIND_ADOPT_REFUSED = 4;
478
+ */
479
+ ADOPT_REFUSED = 4,
480
+ }
481
+
482
+ /**
483
+ * Describes the enum nomos.runtime.v2.CustodyChangeKind.
484
+ */
485
+ export declare const CustodyChangeKindSchema: GenEnum<CustodyChangeKind>;
486
+
487
+ /**
488
+ * @generated from enum nomos.runtime.v2.CustodyBreakKind
489
+ */
490
+ export enum CustodyBreakKind {
491
+ /**
492
+ * @generated from enum value: CUSTODY_BREAK_KIND_UNSPECIFIED = 0;
493
+ */
494
+ UNSPECIFIED = 0,
495
+
496
+ /**
497
+ * @generated from enum value: CUSTODY_BREAK_KIND_SUPERSEDED = 1;
498
+ */
499
+ SUPERSEDED = 1,
500
+
501
+ /**
502
+ * @generated from enum value: CUSTODY_BREAK_KIND_DIVERGED = 2;
503
+ */
504
+ DIVERGED = 2,
505
+ }
506
+
507
+ /**
508
+ * Describes the enum nomos.runtime.v2.CustodyBreakKind.
509
+ */
510
+ export declare const CustodyBreakKindSchema: GenEnum<CustodyBreakKind>;
511
+
512
+ /**
513
+ * @generated from enum nomos.runtime.v2.LocalWorkRejectionSource
514
+ */
515
+ export enum LocalWorkRejectionSource {
516
+ /**
517
+ * @generated from enum value: LOCAL_WORK_REJECTION_SOURCE_UNSPECIFIED = 0;
518
+ */
519
+ UNSPECIFIED = 0,
520
+
521
+ /**
522
+ * @generated from enum value: LOCAL_WORK_REJECTION_SOURCE_ADMISSION = 1;
523
+ */
524
+ ADMISSION = 1,
525
+
526
+ /**
527
+ * @generated from enum value: LOCAL_WORK_REJECTION_SOURCE_SYNC = 2;
528
+ */
529
+ SYNC = 2,
530
+ }
531
+
532
+ /**
533
+ * Describes the enum nomos.runtime.v2.LocalWorkRejectionSource.
534
+ */
535
+ export declare const LocalWorkRejectionSourceSchema: GenEnum<LocalWorkRejectionSource>;
@@ -0,0 +1,160 @@
1
+ // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file nomos/runtime/v2/recovery_desk.proto (package nomos.runtime.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file nomos/runtime/v2/recovery_desk.proto.
9
+ */
10
+ export const file_nomos_runtime_v2_recovery_desk = /*@__PURE__*/
11
+ fileDesc("CiRub21vcy9ydW50aW1lL3YyL3JlY292ZXJ5X2Rlc2sucHJvdG8SEG5vbW9zLnJ1bnRpbWUudjIi5QEKEURlYWRMZXR0ZXJSZXF1ZXN0Eg8KB3Nlc3Npb24YASABKAkSOAoEbGlzdBgKIAEoCzIoLm5vbW9zLnJ1bnRpbWUudjIuTGlzdERlYWRMZXR0ZXJzUmVxdWVzdEgAEjkKBXJldHJ5GAsgASgLMigubm9tb3MucnVudGltZS52Mi5SZXRyeURlYWRMZXR0ZXJ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X0tJTkRfRElWRVJHRUQQAiqYAQoYTG9jYWxXb3JrUmVqZWN0aW9uU291cmNlEisKJ0xPQ0FMX1dPUktfUkVKRUNUSU9OX1NPVVJDRV9VTlNQRUNJRklFRBAAEikKJUxPQ0FMX1dPUktfUkVKRUNUSU9OX1NPVVJDRV9BRE1JU1NJT04QARIkCiBMT0NBTF9XT1JLX1JFSkVDVElPTl9TT1VSQ0VfU1lOQxACYgZwcm90bzM");
12
+
13
+ /**
14
+ * Describes the message nomos.runtime.v2.DeadLetterRequest.
15
+ * Use `create(DeadLetterRequestSchema)` to create a new message.
16
+ */
17
+ export const DeadLetterRequestSchema = /*@__PURE__*/
18
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 0);
19
+
20
+ /**
21
+ * Describes the message nomos.runtime.v2.ListDeadLettersRequest.
22
+ * Use `create(ListDeadLettersRequestSchema)` to create a new message.
23
+ */
24
+ export const ListDeadLettersRequestSchema = /*@__PURE__*/
25
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 1);
26
+
27
+ /**
28
+ * Describes the message nomos.runtime.v2.RetryDeadLetterRequest.
29
+ * Use `create(RetryDeadLetterRequestSchema)` to create a new message.
30
+ */
31
+ export const RetryDeadLetterRequestSchema = /*@__PURE__*/
32
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 2);
33
+
34
+ /**
35
+ * Describes the message nomos.runtime.v2.DiscardDeadLetterRequest.
36
+ * Use `create(DiscardDeadLetterRequestSchema)` to create a new message.
37
+ */
38
+ export const DiscardDeadLetterRequestSchema = /*@__PURE__*/
39
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 3);
40
+
41
+ /**
42
+ * Describes the message nomos.runtime.v2.DeadLetterResponse.
43
+ * Use `create(DeadLetterResponseSchema)` to create a new message.
44
+ */
45
+ export const DeadLetterResponseSchema = /*@__PURE__*/
46
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 4);
47
+
48
+ /**
49
+ * Describes the message nomos.runtime.v2.DeadLetterList.
50
+ * Use `create(DeadLetterListSchema)` to create a new message.
51
+ */
52
+ export const DeadLetterListSchema = /*@__PURE__*/
53
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 5);
54
+
55
+ /**
56
+ * Describes the message nomos.runtime.v2.DeadLetterEntry.
57
+ * Use `create(DeadLetterEntrySchema)` to create a new message.
58
+ */
59
+ export const DeadLetterEntrySchema = /*@__PURE__*/
60
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 6);
61
+
62
+ /**
63
+ * Describes the message nomos.runtime.v2.DeadLetterRetry.
64
+ * Use `create(DeadLetterRetrySchema)` to create a new message.
65
+ */
66
+ export const DeadLetterRetrySchema = /*@__PURE__*/
67
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 7);
68
+
69
+ /**
70
+ * Describes the message nomos.runtime.v2.DeadLetterDiscard.
71
+ * Use `create(DeadLetterDiscardSchema)` to create a new message.
72
+ */
73
+ export const DeadLetterDiscardSchema = /*@__PURE__*/
74
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 8);
75
+
76
+ /**
77
+ * Describes the message nomos.runtime.v2.CustodyChanged.
78
+ * Use `create(CustodyChangedSchema)` to create a new message.
79
+ */
80
+ export const CustodyChangedSchema = /*@__PURE__*/
81
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 9);
82
+
83
+ /**
84
+ * Describes the message nomos.runtime.v2.LocalWorkRejected.
85
+ * Use `create(LocalWorkRejectedSchema)` to create a new message.
86
+ */
87
+ export const LocalWorkRejectedSchema = /*@__PURE__*/
88
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 10);
89
+
90
+ /**
91
+ * Describes the message nomos.runtime.v2.CustodySupersession.
92
+ * Use `create(CustodySupersessionSchema)` to create a new message.
93
+ */
94
+ export const CustodySupersessionSchema = /*@__PURE__*/
95
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 11);
96
+
97
+ /**
98
+ * Describes the message nomos.runtime.v2.CustodyBreak.
99
+ * Use `create(CustodyBreakSchema)` to create a new message.
100
+ */
101
+ export const CustodyBreakSchema = /*@__PURE__*/
102
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 12);
103
+
104
+ /**
105
+ * Describes the message nomos.runtime.v2.RejectedLocalIntent.
106
+ * Use `create(RejectedLocalIntentSchema)` to create a new message.
107
+ */
108
+ export const RejectedLocalIntentSchema = /*@__PURE__*/
109
+ messageDesc(file_nomos_runtime_v2_recovery_desk, 13);
110
+
111
+ /**
112
+ * Describes the enum nomos.runtime.v2.CustodyBreakPolicy.
113
+ */
114
+ export const CustodyBreakPolicySchema = /*@__PURE__*/
115
+ enumDesc(file_nomos_runtime_v2_recovery_desk, 0);
116
+
117
+ /**
118
+ * Recovery preserves refused work and makes custody discontinuities explicit.
119
+ * It never rewrites business history silently.
120
+ *
121
+ * @generated from enum nomos.runtime.v2.CustodyBreakPolicy
122
+ */
123
+ export const CustodyBreakPolicy = /*@__PURE__*/
124
+ tsEnum(CustodyBreakPolicySchema);
125
+
126
+ /**
127
+ * Describes the enum nomos.runtime.v2.CustodyChangeKind.
128
+ */
129
+ export const CustodyChangeKindSchema = /*@__PURE__*/
130
+ enumDesc(file_nomos_runtime_v2_recovery_desk, 1);
131
+
132
+ /**
133
+ * @generated from enum nomos.runtime.v2.CustodyChangeKind
134
+ */
135
+ export const CustodyChangeKind = /*@__PURE__*/
136
+ tsEnum(CustodyChangeKindSchema);
137
+
138
+ /**
139
+ * Describes the enum nomos.runtime.v2.CustodyBreakKind.
140
+ */
141
+ export const CustodyBreakKindSchema = /*@__PURE__*/
142
+ enumDesc(file_nomos_runtime_v2_recovery_desk, 2);
143
+
144
+ /**
145
+ * @generated from enum nomos.runtime.v2.CustodyBreakKind
146
+ */
147
+ export const CustodyBreakKind = /*@__PURE__*/
148
+ tsEnum(CustodyBreakKindSchema);
149
+
150
+ /**
151
+ * Describes the enum nomos.runtime.v2.LocalWorkRejectionSource.
152
+ */
153
+ export const LocalWorkRejectionSourceSchema = /*@__PURE__*/
154
+ enumDesc(file_nomos_runtime_v2_recovery_desk, 3);
155
+
156
+ /**
157
+ * @generated from enum nomos.runtime.v2.LocalWorkRejectionSource
158
+ */
159
+ export const LocalWorkRejectionSource = /*@__PURE__*/
160
+ tsEnum(LocalWorkRejectionSourceSchema);