@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,716 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/records_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 { NomosRef, QueryRequest, ReferenceVersionCheck } from "../../kernel/v1/kernel_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file nomos/runtime/v2/records_desk.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_nomos_runtime_v2_records_desk: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The records desk provides typed, read-only inspection of custody and exact
|
|
16
|
+
* historic frontiers. It never moves the live frontier or invents authority.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message nomos.runtime.v2.HistoricQueryRequest
|
|
19
|
+
*/
|
|
20
|
+
export declare type HistoricQueryRequest = Message<"nomos.runtime.v2.HistoricQueryRequest"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string session = 1;
|
|
23
|
+
*/
|
|
24
|
+
session: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string moment = 2;
|
|
28
|
+
*/
|
|
29
|
+
moment: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: nomos.kernel.v1.QueryRequest query = 3;
|
|
33
|
+
*/
|
|
34
|
+
query?: QueryRequest | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message nomos.runtime.v2.HistoricQueryRequest.
|
|
39
|
+
* Use `create(HistoricQueryRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export declare const HistoricQueryRequestSchema: GenMessage<HistoricQueryRequest>;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message nomos.runtime.v2.AuthoringPreflightRequest
|
|
45
|
+
*/
|
|
46
|
+
export declare type AuthoringPreflightRequest = Message<"nomos.runtime.v2.AuthoringPreflightRequest"> & {
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: string session = 1;
|
|
49
|
+
*/
|
|
50
|
+
session: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string directive = 2;
|
|
54
|
+
*/
|
|
55
|
+
directive: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: optional string target_workspace = 3;
|
|
59
|
+
*/
|
|
60
|
+
targetWorkspace?: string | undefined;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: optional string principal = 4;
|
|
64
|
+
*/
|
|
65
|
+
principal?: string | undefined;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: optional bytes public_key = 5;
|
|
69
|
+
*/
|
|
70
|
+
publicKey?: Uint8Array | undefined;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: optional string key_hash = 6;
|
|
74
|
+
*/
|
|
75
|
+
keyHash?: string | undefined;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: optional string domain = 7;
|
|
79
|
+
*/
|
|
80
|
+
domain?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message nomos.runtime.v2.AuthoringPreflightRequest.
|
|
85
|
+
* Use `create(AuthoringPreflightRequestSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const AuthoringPreflightRequestSchema: GenMessage<AuthoringPreflightRequest>;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from message nomos.runtime.v2.AuthoringPreflightResult
|
|
91
|
+
*/
|
|
92
|
+
export declare type AuthoringPreflightResult = Message<"nomos.runtime.v2.AuthoringPreflightResult"> & {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: bool admissible = 1;
|
|
95
|
+
*/
|
|
96
|
+
admissible: boolean;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string workspace = 2;
|
|
100
|
+
*/
|
|
101
|
+
workspace: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string directive = 3;
|
|
105
|
+
*/
|
|
106
|
+
directive: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: optional string actor = 4;
|
|
110
|
+
*/
|
|
111
|
+
actor?: string | undefined;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: optional string key_hash = 5;
|
|
115
|
+
*/
|
|
116
|
+
keyHash?: string | undefined;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: nomos.runtime.v2.AuthoringPreflightCause cause = 6;
|
|
120
|
+
*/
|
|
121
|
+
cause: AuthoringPreflightCause;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: repeated nomos.runtime.v2.AuthoringPreflightCause causes = 7;
|
|
125
|
+
*/
|
|
126
|
+
causes: AuthoringPreflightCause[];
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: optional string domain = 8;
|
|
130
|
+
*/
|
|
131
|
+
domain?: string | undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: optional string relation = 9;
|
|
135
|
+
*/
|
|
136
|
+
relation?: string | undefined;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: optional string object = 10;
|
|
140
|
+
*/
|
|
141
|
+
object?: string | undefined;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: optional string detail = 11;
|
|
145
|
+
*/
|
|
146
|
+
detail?: string | undefined;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message nomos.runtime.v2.AuthoringPreflightResult.
|
|
151
|
+
* Use `create(AuthoringPreflightResultSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export declare const AuthoringPreflightResultSchema: GenMessage<AuthoringPreflightResult>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message nomos.runtime.v2.ListWorkspaceMomentsRequest
|
|
157
|
+
*/
|
|
158
|
+
export declare type ListWorkspaceMomentsRequest = Message<"nomos.runtime.v2.ListWorkspaceMomentsRequest"> & {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: string session = 1;
|
|
161
|
+
*/
|
|
162
|
+
session: string;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: uint32 limit = 2;
|
|
166
|
+
*/
|
|
167
|
+
limit: number;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message nomos.runtime.v2.ListWorkspaceMomentsRequest.
|
|
172
|
+
* Use `create(ListWorkspaceMomentsRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const ListWorkspaceMomentsRequestSchema: GenMessage<ListWorkspaceMomentsRequest>;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @generated from message nomos.runtime.v2.WorkspaceMoment
|
|
178
|
+
*/
|
|
179
|
+
export declare type WorkspaceMoment = Message<"nomos.runtime.v2.WorkspaceMoment"> & {
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: string id = 1;
|
|
182
|
+
*/
|
|
183
|
+
id: string;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: optional uint64 occurred_at_unix_millis = 2;
|
|
187
|
+
*/
|
|
188
|
+
occurredAtUnixMillis?: bigint | undefined;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: optional string performed_by = 3;
|
|
192
|
+
*/
|
|
193
|
+
performedBy?: string | undefined;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: optional string domain = 4;
|
|
197
|
+
*/
|
|
198
|
+
domain?: string | undefined;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: optional string action = 5;
|
|
202
|
+
*/
|
|
203
|
+
action?: string | undefined;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Describes the message nomos.runtime.v2.WorkspaceMoment.
|
|
208
|
+
* Use `create(WorkspaceMomentSchema)` to create a new message.
|
|
209
|
+
*/
|
|
210
|
+
export declare const WorkspaceMomentSchema: GenMessage<WorkspaceMoment>;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from message nomos.runtime.v2.WorkspaceMomentList
|
|
214
|
+
*/
|
|
215
|
+
export declare type WorkspaceMomentList = Message<"nomos.runtime.v2.WorkspaceMomentList"> & {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: repeated nomos.runtime.v2.WorkspaceMoment moments = 1;
|
|
218
|
+
*/
|
|
219
|
+
moments: WorkspaceMoment[];
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Describes the message nomos.runtime.v2.WorkspaceMomentList.
|
|
224
|
+
* Use `create(WorkspaceMomentListSchema)` to create a new message.
|
|
225
|
+
*/
|
|
226
|
+
export declare const WorkspaceMomentListSchema: GenMessage<WorkspaceMomentList>;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from message nomos.runtime.v2.EstimateWorkspaceTransferRequest
|
|
230
|
+
*/
|
|
231
|
+
export declare type EstimateWorkspaceTransferRequest = Message<"nomos.runtime.v2.EstimateWorkspaceTransferRequest"> & {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: string session = 1;
|
|
234
|
+
*/
|
|
235
|
+
session: string;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message nomos.runtime.v2.EstimateWorkspaceTransferRequest.
|
|
240
|
+
* Use `create(EstimateWorkspaceTransferRequestSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export declare const EstimateWorkspaceTransferRequestSchema: GenMessage<EstimateWorkspaceTransferRequest>;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from message nomos.runtime.v2.WorkspaceTransferEstimate
|
|
246
|
+
*/
|
|
247
|
+
export declare type WorkspaceTransferEstimate = Message<"nomos.runtime.v2.WorkspaceTransferEstimate"> & {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from field: nomos.runtime.v2.WorkspaceTransferKind kind = 1;
|
|
250
|
+
*/
|
|
251
|
+
kind: WorkspaceTransferKind;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: optional uint64 bytes = 2;
|
|
255
|
+
*/
|
|
256
|
+
bytes?: bigint | undefined;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: optional uint32 status = 3;
|
|
260
|
+
*/
|
|
261
|
+
status?: number | undefined;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: optional string message = 4;
|
|
265
|
+
*/
|
|
266
|
+
message?: string | undefined;
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Describes the message nomos.runtime.v2.WorkspaceTransferEstimate.
|
|
271
|
+
* Use `create(WorkspaceTransferEstimateSchema)` to create a new message.
|
|
272
|
+
*/
|
|
273
|
+
export declare const WorkspaceTransferEstimateSchema: GenMessage<WorkspaceTransferEstimate>;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from message nomos.runtime.v2.ReadWorkspaceGenesisRequest
|
|
277
|
+
*/
|
|
278
|
+
export declare type ReadWorkspaceGenesisRequest = Message<"nomos.runtime.v2.ReadWorkspaceGenesisRequest"> & {
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: string session = 1;
|
|
281
|
+
*/
|
|
282
|
+
session: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: string workspace = 2;
|
|
286
|
+
*/
|
|
287
|
+
workspace: string;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message nomos.runtime.v2.ReadWorkspaceGenesisRequest.
|
|
292
|
+
* Use `create(ReadWorkspaceGenesisRequestSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export declare const ReadWorkspaceGenesisRequestSchema: GenMessage<ReadWorkspaceGenesisRequest>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @generated from message nomos.runtime.v2.WorkspaceGenesis
|
|
298
|
+
*/
|
|
299
|
+
export declare type WorkspaceGenesis = Message<"nomos.runtime.v2.WorkspaceGenesis"> & {
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string workspace = 1;
|
|
302
|
+
*/
|
|
303
|
+
workspace: string;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from field: string genesis = 2;
|
|
307
|
+
*/
|
|
308
|
+
genesis: string;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Describes the message nomos.runtime.v2.WorkspaceGenesis.
|
|
313
|
+
* Use `create(WorkspaceGenesisSchema)` to create a new message.
|
|
314
|
+
*/
|
|
315
|
+
export declare const WorkspaceGenesisSchema: GenMessage<WorkspaceGenesis>;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message nomos.runtime.v2.ListChildWorkspacesRequest
|
|
319
|
+
*/
|
|
320
|
+
export declare type ListChildWorkspacesRequest = Message<"nomos.runtime.v2.ListChildWorkspacesRequest"> & {
|
|
321
|
+
/**
|
|
322
|
+
* @generated from field: string session = 1;
|
|
323
|
+
*/
|
|
324
|
+
session: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Select only the ACTIVE children this keyed-birth namespace addresses. The
|
|
328
|
+
* office owns the namespace-to-workspace-name relation (`workspaceNameForKey`),
|
|
329
|
+
* so a client never reads a `<namespace>-` prefix to recognise its own births.
|
|
330
|
+
* Absent: every child, every lifecycle status, as the framework `describe()`
|
|
331
|
+
* organisational read needs.
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: optional string namespace = 2;
|
|
334
|
+
*/
|
|
335
|
+
namespace?: string | undefined;
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Describes the message nomos.runtime.v2.ListChildWorkspacesRequest.
|
|
340
|
+
* Use `create(ListChildWorkspacesRequestSchema)` to create a new message.
|
|
341
|
+
*/
|
|
342
|
+
export declare const ListChildWorkspacesRequestSchema: GenMessage<ListChildWorkspacesRequest>;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from message nomos.runtime.v2.ChildWorkspace
|
|
346
|
+
*/
|
|
347
|
+
export declare type ChildWorkspace = Message<"nomos.runtime.v2.ChildWorkspace"> & {
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: string workspace = 1;
|
|
350
|
+
*/
|
|
351
|
+
workspace: string;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: nomos.runtime.v2.ChildWorkspaceStatus status = 2;
|
|
355
|
+
*/
|
|
356
|
+
status: ChildWorkspaceStatus;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: optional string born_at = 3;
|
|
360
|
+
*/
|
|
361
|
+
bornAt?: string | undefined;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message nomos.runtime.v2.ChildWorkspace.
|
|
366
|
+
* Use `create(ChildWorkspaceSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export declare const ChildWorkspaceSchema: GenMessage<ChildWorkspace>;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from message nomos.runtime.v2.ChildWorkspaceList
|
|
372
|
+
*/
|
|
373
|
+
export declare type ChildWorkspaceList = Message<"nomos.runtime.v2.ChildWorkspaceList"> & {
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: repeated nomos.runtime.v2.ChildWorkspace children = 1;
|
|
376
|
+
*/
|
|
377
|
+
children: ChildWorkspace[];
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Describes the message nomos.runtime.v2.ChildWorkspaceList.
|
|
382
|
+
* Use `create(ChildWorkspaceListSchema)` to create a new message.
|
|
383
|
+
*/
|
|
384
|
+
export declare const ChildWorkspaceListSchema: GenMessage<ChildWorkspaceList>;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* THE ONE PLACE A WORKSPACE NAME IS DERIVED FOR A CLIENT.
|
|
388
|
+
*
|
|
389
|
+
* A birth's workspace name is a pure function of a key the caller already owns,
|
|
390
|
+
* so a born workspace is addressable with zero persistence. That derivation is
|
|
391
|
+
* law (`dsl/src/births.ts` `workspaceNameForKey`, `dsl/src/framework/receiving_group.ts`)
|
|
392
|
+
* and must exist exactly once per process boundary. A client that recomputes the
|
|
393
|
+
* hash is a second implementation of a law fact: change either side and the two
|
|
394
|
+
* silently address different workspaces. Clients ask; the office answers.
|
|
395
|
+
*
|
|
396
|
+
* This paper needs no session and mounts nothing: it is a naming answer, not a
|
|
397
|
+
* custody read, so it can be asked before the very first workspace is bound.
|
|
398
|
+
*
|
|
399
|
+
* @generated from message nomos.runtime.v2.ResolveWorkspaceNameRequest
|
|
400
|
+
*/
|
|
401
|
+
export declare type ResolveWorkspaceNameRequest = Message<"nomos.runtime.v2.ResolveWorkspaceNameRequest"> & {
|
|
402
|
+
/**
|
|
403
|
+
* @generated from oneof nomos.runtime.v2.ResolveWorkspaceNameRequest.birth
|
|
404
|
+
*/
|
|
405
|
+
birth: {
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: nomos.runtime.v2.KeyedBirthName keyed = 1;
|
|
408
|
+
*/
|
|
409
|
+
value: KeyedBirthName;
|
|
410
|
+
case: "keyed";
|
|
411
|
+
} | {
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: nomos.runtime.v2.ReceivingGroupName receiving_group = 2;
|
|
414
|
+
*/
|
|
415
|
+
value: ReceivingGroupName;
|
|
416
|
+
case: "receivingGroup";
|
|
417
|
+
} | { case: undefined; value?: undefined };
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Describes the message nomos.runtime.v2.ResolveWorkspaceNameRequest.
|
|
422
|
+
* Use `create(ResolveWorkspaceNameRequestSchema)` to create a new message.
|
|
423
|
+
*/
|
|
424
|
+
export declare const ResolveWorkspaceNameRequestSchema: GenMessage<ResolveWorkspaceNameRequest>;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* `birth.keyed({ namespace, key })` — `<namespace>-<sha256(namespace + US + key)[:40]>`.
|
|
428
|
+
*
|
|
429
|
+
* @generated from message nomos.runtime.v2.KeyedBirthName
|
|
430
|
+
*/
|
|
431
|
+
export declare type KeyedBirthName = Message<"nomos.runtime.v2.KeyedBirthName"> & {
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: string namespace = 1;
|
|
434
|
+
*/
|
|
435
|
+
namespace: string;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: string key = 2;
|
|
439
|
+
*/
|
|
440
|
+
key: string;
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Describes the message nomos.runtime.v2.KeyedBirthName.
|
|
445
|
+
* Use `create(KeyedBirthNameSchema)` to create a new message.
|
|
446
|
+
*/
|
|
447
|
+
export declare const KeyedBirthNameSchema: GenMessage<KeyedBirthName>;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* The framework's identity anchor — `nomos-rg-<sha256(principal)[:40]>`.
|
|
451
|
+
*
|
|
452
|
+
* @generated from message nomos.runtime.v2.ReceivingGroupName
|
|
453
|
+
*/
|
|
454
|
+
export declare type ReceivingGroupName = Message<"nomos.runtime.v2.ReceivingGroupName"> & {
|
|
455
|
+
/**
|
|
456
|
+
* The canonical `user:<sub>` principal the group belongs to.
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: string principal = 1;
|
|
459
|
+
*/
|
|
460
|
+
principal: string;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Describes the message nomos.runtime.v2.ReceivingGroupName.
|
|
465
|
+
* Use `create(ReceivingGroupNameSchema)` to create a new message.
|
|
466
|
+
*/
|
|
467
|
+
export declare const ReceivingGroupNameSchema: GenMessage<ReceivingGroupName>;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @generated from message nomos.runtime.v2.ResolvedWorkspaceName
|
|
471
|
+
*/
|
|
472
|
+
export declare type ResolvedWorkspaceName = Message<"nomos.runtime.v2.ResolvedWorkspaceName"> & {
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: string workspace = 1;
|
|
475
|
+
*/
|
|
476
|
+
workspace: string;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Describes the message nomos.runtime.v2.ResolvedWorkspaceName.
|
|
481
|
+
* Use `create(ResolvedWorkspaceNameSchema)` to create a new message.
|
|
482
|
+
*/
|
|
483
|
+
export declare const ResolvedWorkspaceNameSchema: GenMessage<ResolvedWorkspaceName>;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* THE OFFICE STATES A REFERENCE'S VERSION STATUS; a client does not infer it.
|
|
487
|
+
*
|
|
488
|
+
* Comparing an immutable publication pin with its series' one current pointer is
|
|
489
|
+
* an O(current-state) kernel read whose answer still arrives in the kernel's
|
|
490
|
+
* `LEGACY_VALUE` arm — a string-keyed object. Decoding that shape is transitional
|
|
491
|
+
* debt, and it belongs in ONE place. The Dart client used to walk
|
|
492
|
+
* `unique[0].outcome.status` itself while the TypeScript client's
|
|
493
|
+
* `checkReferenceVersions` was never implemented at all and always answered
|
|
494
|
+
* "unavailable": one fact, two clients, two answers. The desk decodes once and
|
|
495
|
+
* both clients carry this typed report. When the kernel gains a generated
|
|
496
|
+
* response for the query, only the desk changes.
|
|
497
|
+
*
|
|
498
|
+
* @generated from message nomos.runtime.v2.CheckReferenceVersionsRequest
|
|
499
|
+
*/
|
|
500
|
+
export declare type CheckReferenceVersionsRequest = Message<"nomos.runtime.v2.CheckReferenceVersionsRequest"> & {
|
|
501
|
+
/**
|
|
502
|
+
* @generated from field: string session = 1;
|
|
503
|
+
*/
|
|
504
|
+
session: string;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: repeated nomos.kernel.v1.ReferenceVersionCheck refs = 2;
|
|
508
|
+
*/
|
|
509
|
+
refs: ReferenceVersionCheck[];
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Describes the message nomos.runtime.v2.CheckReferenceVersionsRequest.
|
|
514
|
+
* Use `create(CheckReferenceVersionsRequestSchema)` to create a new message.
|
|
515
|
+
*/
|
|
516
|
+
export declare const CheckReferenceVersionsRequestSchema: GenMessage<CheckReferenceVersionsRequest>;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* @generated from message nomos.runtime.v2.ReferenceVersionOutcome
|
|
520
|
+
*/
|
|
521
|
+
export declare type ReferenceVersionOutcome = Message<"nomos.runtime.v2.ReferenceVersionOutcome"> & {
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: nomos.runtime.v2.ReferenceVersionStatus status = 1;
|
|
524
|
+
*/
|
|
525
|
+
status: ReferenceVersionStatus;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Present exactly when the status is OUTDATED.
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: optional nomos.kernel.v1.NomosRef latest = 2;
|
|
531
|
+
*/
|
|
532
|
+
latest?: NomosRef | undefined;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Present exactly when the status is UNAVAILABLE.
|
|
536
|
+
*
|
|
537
|
+
* @generated from field: optional string detail = 3;
|
|
538
|
+
*/
|
|
539
|
+
detail?: string | undefined;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Describes the message nomos.runtime.v2.ReferenceVersionOutcome.
|
|
544
|
+
* Use `create(ReferenceVersionOutcomeSchema)` to create a new message.
|
|
545
|
+
*/
|
|
546
|
+
export declare const ReferenceVersionOutcomeSchema: GenMessage<ReferenceVersionOutcome>;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* One outcome per requested check, in the order asked.
|
|
550
|
+
*
|
|
551
|
+
* @generated from message nomos.runtime.v2.ReferenceVersionReport
|
|
552
|
+
*/
|
|
553
|
+
export declare type ReferenceVersionReport = Message<"nomos.runtime.v2.ReferenceVersionReport"> & {
|
|
554
|
+
/**
|
|
555
|
+
* @generated from field: repeated nomos.runtime.v2.ReferenceVersionOutcome outcomes = 1;
|
|
556
|
+
*/
|
|
557
|
+
outcomes: ReferenceVersionOutcome[];
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Describes the message nomos.runtime.v2.ReferenceVersionReport.
|
|
562
|
+
* Use `create(ReferenceVersionReportSchema)` to create a new message.
|
|
563
|
+
*/
|
|
564
|
+
export declare const ReferenceVersionReportSchema: GenMessage<ReferenceVersionReport>;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @generated from enum nomos.runtime.v2.AuthoringPreflightCause
|
|
568
|
+
*/
|
|
569
|
+
export enum AuthoringPreflightCause {
|
|
570
|
+
/**
|
|
571
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_UNSPECIFIED = 0;
|
|
572
|
+
*/
|
|
573
|
+
UNSPECIFIED = 0,
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_DIRECTIVE_NOT_FOUND = 1;
|
|
577
|
+
*/
|
|
578
|
+
DIRECTIVE_NOT_FOUND = 1,
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_NO_SIGNING_KEY = 2;
|
|
582
|
+
*/
|
|
583
|
+
NO_SIGNING_KEY = 2,
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_MISSING_SIGNER_ENROLLMENT = 3;
|
|
587
|
+
*/
|
|
588
|
+
MISSING_SIGNER_ENROLLMENT = 3,
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_REVOKED_SIGNER = 4;
|
|
592
|
+
*/
|
|
593
|
+
REVOKED_SIGNER = 4,
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_MISSING_ROLE = 5;
|
|
597
|
+
*/
|
|
598
|
+
MISSING_ROLE = 5,
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_REVOKED_ROLE = 6;
|
|
602
|
+
*/
|
|
603
|
+
REVOKED_ROLE = 6,
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from enum value: AUTHORING_PREFLIGHT_CAUSE_SIGNER_PREMISE_UNREADABLE = 7;
|
|
607
|
+
*/
|
|
608
|
+
SIGNER_PREMISE_UNREADABLE = 7,
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Describes the enum nomos.runtime.v2.AuthoringPreflightCause.
|
|
613
|
+
*/
|
|
614
|
+
export declare const AuthoringPreflightCauseSchema: GenEnum<AuthoringPreflightCause>;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @generated from enum nomos.runtime.v2.WorkspaceTransferKind
|
|
618
|
+
*/
|
|
619
|
+
export enum WorkspaceTransferKind {
|
|
620
|
+
/**
|
|
621
|
+
* @generated from enum value: WORKSPACE_TRANSFER_KIND_UNSPECIFIED = 0;
|
|
622
|
+
*/
|
|
623
|
+
UNSPECIFIED = 0,
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @generated from enum value: WORKSPACE_TRANSFER_KIND_UP_TO_DATE = 1;
|
|
627
|
+
*/
|
|
628
|
+
UP_TO_DATE = 1,
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @generated from enum value: WORKSPACE_TRANSFER_KIND_DELTA = 2;
|
|
632
|
+
*/
|
|
633
|
+
DELTA = 2,
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @generated from enum value: WORKSPACE_TRANSFER_KIND_FULL = 3;
|
|
637
|
+
*/
|
|
638
|
+
FULL = 3,
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* @generated from enum value: WORKSPACE_TRANSFER_KIND_UNAVAILABLE = 4;
|
|
642
|
+
*/
|
|
643
|
+
UNAVAILABLE = 4,
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Describes the enum nomos.runtime.v2.WorkspaceTransferKind.
|
|
648
|
+
*/
|
|
649
|
+
export declare const WorkspaceTransferKindSchema: GenEnum<WorkspaceTransferKind>;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* @generated from enum nomos.runtime.v2.ChildWorkspaceStatus
|
|
653
|
+
*/
|
|
654
|
+
export enum ChildWorkspaceStatus {
|
|
655
|
+
/**
|
|
656
|
+
* @generated from enum value: CHILD_WORKSPACE_STATUS_UNSPECIFIED = 0;
|
|
657
|
+
*/
|
|
658
|
+
UNSPECIFIED = 0,
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @generated from enum value: CHILD_WORKSPACE_STATUS_ACTIVE = 1;
|
|
662
|
+
*/
|
|
663
|
+
ACTIVE = 1,
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @generated from enum value: CHILD_WORKSPACE_STATUS_RETIRED = 2;
|
|
667
|
+
*/
|
|
668
|
+
RETIRED = 2,
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* @generated from enum value: CHILD_WORKSPACE_STATUS_RECLAIMED = 3;
|
|
672
|
+
*/
|
|
673
|
+
RECLAIMED = 3,
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Describes the enum nomos.runtime.v2.ChildWorkspaceStatus.
|
|
678
|
+
*/
|
|
679
|
+
export declare const ChildWorkspaceStatusSchema: GenEnum<ChildWorkspaceStatus>;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* @generated from enum nomos.runtime.v2.ReferenceVersionStatus
|
|
683
|
+
*/
|
|
684
|
+
export enum ReferenceVersionStatus {
|
|
685
|
+
/**
|
|
686
|
+
* @generated from enum value: REFERENCE_VERSION_STATUS_UNSPECIFIED = 0;
|
|
687
|
+
*/
|
|
688
|
+
UNSPECIFIED = 0,
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* The pin still is the series' current publication.
|
|
692
|
+
*
|
|
693
|
+
* @generated from enum value: REFERENCE_VERSION_STATUS_CURRENT = 1;
|
|
694
|
+
*/
|
|
695
|
+
CURRENT = 1,
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* The series has moved on; `latest` names where it points now.
|
|
699
|
+
*
|
|
700
|
+
* @generated from enum value: REFERENCE_VERSION_STATUS_OUTDATED = 2;
|
|
701
|
+
*/
|
|
702
|
+
OUTDATED = 2,
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* The kernel could not state a status. `detail` carries its own word for why;
|
|
706
|
+
* this is never silently reported as "current".
|
|
707
|
+
*
|
|
708
|
+
* @generated from enum value: REFERENCE_VERSION_STATUS_UNAVAILABLE = 3;
|
|
709
|
+
*/
|
|
710
|
+
UNAVAILABLE = 3,
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Describes the enum nomos.runtime.v2.ReferenceVersionStatus.
|
|
715
|
+
*/
|
|
716
|
+
export declare const ReferenceVersionStatusSchema: GenEnum<ReferenceVersionStatus>;
|