@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,611 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file nomos/runtime/v2/custody_desk.proto (package nomos.runtime.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file nomos/runtime/v2/custody_desk.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_nomos_runtime_v2_custody_desk: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The custody desk opens and inventories persistent Git custody. It has no
|
|
15
|
+
* application-session command: interaction binding lives in interaction_desk,
|
|
16
|
+
* while replica acquisition belongs exclusively to the background follow.
|
|
17
|
+
* A workspace custody open in progress: the one progress fact shared by host health, the
|
|
18
|
+
* shell's local-custody receipt and the office's answer to a paper that must wait for it.
|
|
19
|
+
* The workspace is named because an operator and a waiting peer must see which open it is.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message nomos.runtime.v2.CustodyOpening
|
|
22
|
+
*/
|
|
23
|
+
export declare type CustodyOpening = Message<"nomos.runtime.v2.CustodyOpening"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string workspace = 1;
|
|
26
|
+
*/
|
|
27
|
+
workspace: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* advertise | fetch | import | restore | retry-wait
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string phase = 2;
|
|
33
|
+
*/
|
|
34
|
+
phase: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 1-based attempt currently running or next to run, and the attempt budget.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: uint32 attempt = 3;
|
|
40
|
+
*/
|
|
41
|
+
attempt: number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: uint32 attempts = 4;
|
|
45
|
+
*/
|
|
46
|
+
attempts: number;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: uint64 started_unix_millis = 5;
|
|
50
|
+
*/
|
|
51
|
+
startedUnixMillis: bigint;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: uint64 phase_started_unix_millis = 6;
|
|
55
|
+
*/
|
|
56
|
+
phaseStartedUnixMillis: bigint;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The most recent failed attempt, cut to a bounded length. Empty until one fails.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: string last_error = 7;
|
|
62
|
+
*/
|
|
63
|
+
lastError: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: uint64 last_error_unix_millis = 8;
|
|
67
|
+
*/
|
|
68
|
+
lastErrorUnixMillis: bigint;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message nomos.runtime.v2.CustodyOpening.
|
|
73
|
+
* Use `create(CustodyOpeningSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export declare const CustodyOpeningSchema: GenMessage<CustodyOpening>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The answer to a paper whose workspace is still being opened. The paper was not executed:
|
|
79
|
+
* resend it after retry_after_millis. Opening continues regardless of who waits.
|
|
80
|
+
*
|
|
81
|
+
* @generated from message nomos.runtime.v2.WorkspaceOpening
|
|
82
|
+
*/
|
|
83
|
+
export declare type WorkspaceOpening = Message<"nomos.runtime.v2.WorkspaceOpening"> & {
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: nomos.runtime.v2.CustodyOpening opening = 1;
|
|
86
|
+
*/
|
|
87
|
+
opening?: CustodyOpening | undefined;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: uint32 retry_after_millis = 2;
|
|
91
|
+
*/
|
|
92
|
+
retryAfterMillis: number;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message nomos.runtime.v2.WorkspaceOpening.
|
|
97
|
+
* Use `create(WorkspaceOpeningSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export declare const WorkspaceOpeningSchema: GenMessage<WorkspaceOpening>;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from message nomos.runtime.v2.ListWorkspacesRequest
|
|
103
|
+
*/
|
|
104
|
+
export declare type ListWorkspacesRequest = Message<"nomos.runtime.v2.ListWorkspacesRequest"> & {
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message nomos.runtime.v2.ListWorkspacesRequest.
|
|
109
|
+
* Use `create(ListWorkspacesRequestSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const ListWorkspacesRequestSchema: GenMessage<ListWorkspacesRequest>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The peer's local physical inventory: the union of kernel-resident workspaces
|
|
115
|
+
* and the replica follows this peer keeps. Observation only: listing never
|
|
116
|
+
* acquires custody, mounts, fetches, or reads history; its cost is bounded by
|
|
117
|
+
* the inventory's size.
|
|
118
|
+
*
|
|
119
|
+
* @generated from message nomos.runtime.v2.WorkspaceSummary
|
|
120
|
+
*/
|
|
121
|
+
export declare type WorkspaceSummary = Message<"nomos.runtime.v2.WorkspaceSummary"> & {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string workspace = 2;
|
|
124
|
+
*/
|
|
125
|
+
workspace: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: repeated string sessions = 5;
|
|
129
|
+
*/
|
|
130
|
+
sessions: string[];
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: bool kernel_resident = 6;
|
|
134
|
+
*/
|
|
135
|
+
kernelResident: boolean;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Observed in this listing only for kernel-resident workspaces; a followed
|
|
139
|
+
* workspace whose kernel is not resident reports false without a ref read.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: bool git_custodied = 7;
|
|
142
|
+
*/
|
|
143
|
+
gitCustodied: boolean;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* This peer keeps a replica follow for the workspace.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: bool followed = 8;
|
|
149
|
+
*/
|
|
150
|
+
followed: boolean;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Domain key -> law identity (sha256) the workspace currently serves: a
|
|
154
|
+
* kernel-authored observation present only when its kernel is resident.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: map<string, string> current_law = 9;
|
|
157
|
+
*/
|
|
158
|
+
currentLaw: { [key: string]: string };
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The provider now serves this name from a DIFFERENT genesis than this peer's
|
|
162
|
+
* local custody: the workspace was re-founded ("reborn") remotely. Sync refuses
|
|
163
|
+
* to merge, rebase or offer across geneses and holds no retry; dropping the
|
|
164
|
+
* local copy is the application's fix. Present only while that is the case.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: optional nomos.runtime.v2.WorkspaceRebirth reborn_remotely = 10;
|
|
167
|
+
*/
|
|
168
|
+
rebornRemotely?: WorkspaceRebirth | undefined;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* An application-authorized drop of the local copy is waiting for, or running,
|
|
172
|
+
* its refetch from the current provider.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: bool local_copy_drop_pending = 11;
|
|
175
|
+
*/
|
|
176
|
+
localCopyDropPending: boolean;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* This peer's kernel refuses the local copy's custody format (it was written by an
|
|
180
|
+
* older storage format). The copy is kept, never synced, maintained or retried; the
|
|
181
|
+
* application opens around it. Present only while that is the case: the reason.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: optional string local_copy_unreadable = 12;
|
|
184
|
+
*/
|
|
185
|
+
localCopyUnreadable?: string | undefined;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Local copies this peer replaced and preserved (never deleted) under
|
|
189
|
+
* refs/heads/custody-preserved/, with what they held that the provider never admitted.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: repeated nomos.runtime.v2.PreservedLocalCopy preserved_copies = 13;
|
|
192
|
+
*/
|
|
193
|
+
preservedCopies: PreservedLocalCopy[];
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message nomos.runtime.v2.WorkspaceSummary.
|
|
198
|
+
* Use `create(WorkspaceSummarySchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export declare const WorkspaceSummarySchema: GenMessage<WorkspaceSummary>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* A local copy replaced by a refetch and kept aside, not merged. Recorded when the
|
|
204
|
+
* replacement happens, from Git alone, so it stays visible after main moved on.
|
|
205
|
+
*
|
|
206
|
+
* @generated from message nomos.runtime.v2.PreservedLocalCopy
|
|
207
|
+
*/
|
|
208
|
+
export declare type PreservedLocalCopy = Message<"nomos.runtime.v2.PreservedLocalCopy"> & {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string workspace = 1;
|
|
211
|
+
*/
|
|
212
|
+
workspace: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: string preserved_head = 2;
|
|
216
|
+
*/
|
|
217
|
+
preservedHead: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* refs/heads/custody-preserved/<preserved_head>
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: string preserved_ref = 3;
|
|
223
|
+
*/
|
|
224
|
+
preservedRef: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Why it was replaced, e.g. "local copy is from an older storage format".
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: string reason = 4;
|
|
230
|
+
*/
|
|
231
|
+
reason: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Commits on the preserved copy above the provider's last admitted head.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: uint64 unsynced_local_changes = 5;
|
|
237
|
+
*/
|
|
238
|
+
unsyncedLocalChanges: bigint;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* False when Git could not determine them: unsynced_local_changes then means "unknown".
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: bool changes_counted = 6;
|
|
244
|
+
*/
|
|
245
|
+
changesCounted: boolean;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* The application's own open refetched it (an unreadable Home), not a user's drop.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: bool automatic = 7;
|
|
251
|
+
*/
|
|
252
|
+
automatic: boolean;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: uint64 preserved_at_unix_millis = 8;
|
|
256
|
+
*/
|
|
257
|
+
preservedAtUnixMillis: bigint;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: optional string synced_head = 9;
|
|
261
|
+
*/
|
|
262
|
+
syncedHead?: string | undefined;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Describes the message nomos.runtime.v2.PreservedLocalCopy.
|
|
267
|
+
* Use `create(PreservedLocalCopySchema)` to create a new message.
|
|
268
|
+
*/
|
|
269
|
+
export declare const PreservedLocalCopySchema: GenMessage<PreservedLocalCopy>;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Local custody belongs to a different genesis than the one the provider serves.
|
|
273
|
+
*
|
|
274
|
+
* @generated from message nomos.runtime.v2.WorkspaceRebirth
|
|
275
|
+
*/
|
|
276
|
+
export declare type WorkspaceRebirth = Message<"nomos.runtime.v2.WorkspaceRebirth"> & {
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: string local_genesis = 1;
|
|
279
|
+
*/
|
|
280
|
+
localGenesis: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: string remote_genesis = 2;
|
|
284
|
+
*/
|
|
285
|
+
remoteGenesis: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: string local_head = 3;
|
|
289
|
+
*/
|
|
290
|
+
localHead: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: string remote_head = 4;
|
|
294
|
+
*/
|
|
295
|
+
remoteHead: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Short human-readable explanation, suitable next to the workspace's name.
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: string detail = 5;
|
|
301
|
+
*/
|
|
302
|
+
detail: string;
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Describes the message nomos.runtime.v2.WorkspaceRebirth.
|
|
307
|
+
* Use `create(WorkspaceRebirthSchema)` to create a new message.
|
|
308
|
+
*/
|
|
309
|
+
export declare const WorkspaceRebirthSchema: GenMessage<WorkspaceRebirth>;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* What dropping this peer's local copy of a workspace would discard. Local-only
|
|
313
|
+
* observation: no network, no mutation. A device replica is a droppable cache of
|
|
314
|
+
* the provider's custody; these counts are the work that cache holds which the
|
|
315
|
+
* provider has not admitted.
|
|
316
|
+
*
|
|
317
|
+
* @generated from message nomos.runtime.v2.PreviewLocalCopyDropRequest
|
|
318
|
+
*/
|
|
319
|
+
export declare type PreviewLocalCopyDropRequest = Message<"nomos.runtime.v2.PreviewLocalCopyDropRequest"> & {
|
|
320
|
+
/**
|
|
321
|
+
* @generated from field: string workspace = 1;
|
|
322
|
+
*/
|
|
323
|
+
workspace: string;
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Describes the message nomos.runtime.v2.PreviewLocalCopyDropRequest.
|
|
328
|
+
* Use `create(PreviewLocalCopyDropRequestSchema)` to create a new message.
|
|
329
|
+
*/
|
|
330
|
+
export declare const PreviewLocalCopyDropRequestSchema: GenMessage<PreviewLocalCopyDropRequest>;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @generated from message nomos.runtime.v2.LocalCopyDropPreview
|
|
334
|
+
*/
|
|
335
|
+
export declare type LocalCopyDropPreview = Message<"nomos.runtime.v2.LocalCopyDropPreview"> & {
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: string workspace = 1;
|
|
338
|
+
*/
|
|
339
|
+
workspace: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* The exact local head the drop must name. Absent when there is no local copy.
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: optional string local_head = 2;
|
|
345
|
+
*/
|
|
346
|
+
localHead?: string | undefined;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* The last head the provider admitted and this peer tracked; absent if never synced.
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: optional string synced_head = 3;
|
|
352
|
+
*/
|
|
353
|
+
syncedHead?: string | undefined;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Local commits the provider has not admitted.
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: uint64 unsynced_local_changes = 4;
|
|
359
|
+
*/
|
|
360
|
+
unsyncedLocalChanges: bigint;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Refused local intents parked on this device's refused-offer desk.
|
|
364
|
+
*
|
|
365
|
+
* @generated from field: uint64 parked_local_changes = 5;
|
|
366
|
+
*/
|
|
367
|
+
parkedLocalChanges: bigint;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Outbound letters (cross-workspace effects) not yet delivered.
|
|
371
|
+
*
|
|
372
|
+
* @generated from field: uint64 undelivered_letters = 6;
|
|
373
|
+
*/
|
|
374
|
+
undeliveredLetters: bigint;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* False when the outbox inventory is still being prepared and the letter count
|
|
378
|
+
* is a lower bound.
|
|
379
|
+
*
|
|
380
|
+
* @generated from field: bool letters_counted = 7;
|
|
381
|
+
*/
|
|
382
|
+
lettersCounted: boolean;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* A provider exists to refetch from. A drop is refused without one.
|
|
386
|
+
*
|
|
387
|
+
* @generated from field: bool followed = 8;
|
|
388
|
+
*/
|
|
389
|
+
followed: boolean;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: optional nomos.runtime.v2.WorkspaceRebirth reborn_remotely = 9;
|
|
393
|
+
*/
|
|
394
|
+
rebornRemotely?: WorkspaceRebirth | undefined;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* False when the unsynced local changes could not be determined from Git (for example
|
|
398
|
+
* the provider's last admitted head is not on local main). unsynced_local_changes is
|
|
399
|
+
* then 0 and means "unknown", never "none".
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: bool changes_counted = 10;
|
|
402
|
+
*/
|
|
403
|
+
changesCounted: boolean;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* The reason this peer's kernel cannot read the local copy, when it cannot.
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: optional string local_copy_unreadable = 11;
|
|
409
|
+
*/
|
|
410
|
+
localCopyUnreadable?: string | undefined;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Describes the message nomos.runtime.v2.LocalCopyDropPreview.
|
|
415
|
+
* Use `create(LocalCopyDropPreviewSchema)` to create a new message.
|
|
416
|
+
*/
|
|
417
|
+
export declare const LocalCopyDropPreviewSchema: GenMessage<LocalCopyDropPreview>;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Authorize dropping exactly this local head and refetching the workspace from its
|
|
421
|
+
* current provider. Only this workspace's local custody and its projections, caches
|
|
422
|
+
* and indexes are replaced; device keys, credentials and other workspaces are not
|
|
423
|
+
* touched. The previous local head is preserved under a custody-preserved ref.
|
|
424
|
+
*
|
|
425
|
+
* @generated from message nomos.runtime.v2.DropLocalCopyRequest
|
|
426
|
+
*/
|
|
427
|
+
export declare type DropLocalCopyRequest = Message<"nomos.runtime.v2.DropLocalCopyRequest"> & {
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: string workspace = 1;
|
|
430
|
+
*/
|
|
431
|
+
workspace: string;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: string expected_local_head = 2;
|
|
435
|
+
*/
|
|
436
|
+
expectedLocalHead: string;
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Describes the message nomos.runtime.v2.DropLocalCopyRequest.
|
|
441
|
+
* Use `create(DropLocalCopyRequestSchema)` to create a new message.
|
|
442
|
+
*/
|
|
443
|
+
export declare const DropLocalCopyRequestSchema: GenMessage<DropLocalCopyRequest>;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* @generated from message nomos.runtime.v2.LocalCopyDropScheduled
|
|
447
|
+
*/
|
|
448
|
+
export declare type LocalCopyDropScheduled = Message<"nomos.runtime.v2.LocalCopyDropScheduled"> & {
|
|
449
|
+
/**
|
|
450
|
+
* @generated from field: string workspace = 1;
|
|
451
|
+
*/
|
|
452
|
+
workspace: string;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: string dropped_head = 2;
|
|
456
|
+
*/
|
|
457
|
+
droppedHead: string;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Describes the message nomos.runtime.v2.LocalCopyDropScheduled.
|
|
462
|
+
* Use `create(LocalCopyDropScheduledSchema)` to create a new message.
|
|
463
|
+
*/
|
|
464
|
+
export declare const LocalCopyDropScheduledSchema: GenMessage<LocalCopyDropScheduled>;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Fetch this workspace now: the explicit form of what a read of a workspace this peer does not
|
|
468
|
+
* hold reaches (placement discovery, then the Replica Follow its placement retains, which mounts
|
|
469
|
+
* the provider's head alone). Nothing is read, bound or opened; the answer returns as soon as the
|
|
470
|
+
* follow exists, and the follow fetches on its own.
|
|
471
|
+
*
|
|
472
|
+
* @generated from message nomos.runtime.v2.FetchWorkspaceRequest
|
|
473
|
+
*/
|
|
474
|
+
export declare type FetchWorkspaceRequest = Message<"nomos.runtime.v2.FetchWorkspaceRequest"> & {
|
|
475
|
+
/**
|
|
476
|
+
* @generated from field: string workspace = 1;
|
|
477
|
+
*/
|
|
478
|
+
workspace: string;
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Describes the message nomos.runtime.v2.FetchWorkspaceRequest.
|
|
483
|
+
* Use `create(FetchWorkspaceRequestSchema)` to create a new message.
|
|
484
|
+
*/
|
|
485
|
+
export declare const FetchWorkspaceRequestSchema: GenMessage<FetchWorkspaceRequest>;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* A provider serving a workspace's derived law products (architecture/lazy_history.md): the
|
|
489
|
+
* products of every closure selected at its main, as the kernel exports them from custody.
|
|
490
|
+
*
|
|
491
|
+
* @generated from message nomos.runtime.v2.ProvideLawProductsRequest
|
|
492
|
+
*/
|
|
493
|
+
export declare type ProvideLawProductsRequest = Message<"nomos.runtime.v2.ProvideLawProductsRequest"> & {
|
|
494
|
+
/**
|
|
495
|
+
* @generated from field: string workspace = 1;
|
|
496
|
+
*/
|
|
497
|
+
workspace: string;
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Describes the message nomos.runtime.v2.ProvideLawProductsRequest.
|
|
502
|
+
* Use `create(ProvideLawProductsRequestSchema)` to create a new message.
|
|
503
|
+
*/
|
|
504
|
+
export declare const ProvideLawProductsRequestSchema: GenMessage<ProvideLawProductsRequest>;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @generated from message nomos.runtime.v2.WorkspaceFetch
|
|
508
|
+
*/
|
|
509
|
+
export declare type WorkspaceFetch = Message<"nomos.runtime.v2.WorkspaceFetch"> & {
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: string workspace = 1;
|
|
512
|
+
*/
|
|
513
|
+
workspace: string;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* This peer already holds a readable copy: nothing to fetch.
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: bool held = 2;
|
|
519
|
+
*/
|
|
520
|
+
held: boolean;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* A Replica Follow now retains the workspace and fetches it in the background.
|
|
524
|
+
*
|
|
525
|
+
* @generated from field: bool following = 3;
|
|
526
|
+
*/
|
|
527
|
+
following: boolean;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Why not, when neither: the placement keeps it remote, or the directory could not be asked.
|
|
531
|
+
*
|
|
532
|
+
* @generated from field: string detail = 4;
|
|
533
|
+
*/
|
|
534
|
+
detail: string;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Describes the message nomos.runtime.v2.WorkspaceFetch.
|
|
539
|
+
* Use `create(WorkspaceFetchSchema)` to create a new message.
|
|
540
|
+
*/
|
|
541
|
+
export declare const WorkspaceFetchSchema: GenMessage<WorkspaceFetch>;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* @generated from message nomos.runtime.v2.WorkspaceList
|
|
545
|
+
*/
|
|
546
|
+
export declare type WorkspaceList = Message<"nomos.runtime.v2.WorkspaceList"> & {
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: repeated nomos.runtime.v2.WorkspaceSummary workspaces = 1;
|
|
549
|
+
*/
|
|
550
|
+
workspaces: WorkspaceSummary[];
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Describes the message nomos.runtime.v2.WorkspaceList.
|
|
555
|
+
* Use `create(WorkspaceListSchema)` to create a new message.
|
|
556
|
+
*/
|
|
557
|
+
export declare const WorkspaceListSchema: GenMessage<WorkspaceList>;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @generated from message nomos.runtime.v2.WorkspaceStatusRequest
|
|
561
|
+
*/
|
|
562
|
+
export declare type WorkspaceStatusRequest = Message<"nomos.runtime.v2.WorkspaceStatusRequest"> & {
|
|
563
|
+
/**
|
|
564
|
+
* @generated from field: string session = 1;
|
|
565
|
+
*/
|
|
566
|
+
session: string;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Describes the message nomos.runtime.v2.WorkspaceStatusRequest.
|
|
571
|
+
* Use `create(WorkspaceStatusRequestSchema)` to create a new message.
|
|
572
|
+
*/
|
|
573
|
+
export declare const WorkspaceStatusRequestSchema: GenMessage<WorkspaceStatusRequest>;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Observation only: querying status must not acquire custody, connect a session,
|
|
577
|
+
* or open a workspace. An absent local head says nothing about remote custody.
|
|
578
|
+
*
|
|
579
|
+
* @generated from message nomos.runtime.v2.WorkspaceStatus
|
|
580
|
+
*/
|
|
581
|
+
export declare type WorkspaceStatus = Message<"nomos.runtime.v2.WorkspaceStatus"> & {
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: string workspace = 1;
|
|
584
|
+
*/
|
|
585
|
+
workspace: string;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: optional string head = 2;
|
|
589
|
+
*/
|
|
590
|
+
head?: string | undefined;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Absent on older hosts or when residency cannot be observed.
|
|
594
|
+
*
|
|
595
|
+
* @generated from field: optional bool kernel_resident = 3;
|
|
596
|
+
*/
|
|
597
|
+
kernelResident?: boolean | undefined;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Last complete physical retention receipt, including delivery metadata.
|
|
601
|
+
*
|
|
602
|
+
* @generated from field: optional string sealed_head = 4;
|
|
603
|
+
*/
|
|
604
|
+
sealedHead?: string | undefined;
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Describes the message nomos.runtime.v2.WorkspaceStatus.
|
|
609
|
+
* Use `create(WorkspaceStatusSchema)` to create a new message.
|
|
610
|
+
*/
|
|
611
|
+
export declare const WorkspaceStatusSchema: GenMessage<WorkspaceStatus>;
|