@githolon/runtime 0.117.0 → 0.119.9
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/dist/RUNTIME-SOURCES.sha256 +36 -32
- package/dist/application-reception.js +1 -1
- package/dist/nomos-native-runtime.js +2405 -1136
- package/dist/nomos-runner-web.js +1 -1
- package/dist/nomos-runner-worker.js +3059 -1520
- package/dist/nomos-runner.js +3047 -1508
- package/dist/remote-reception.cjs +17 -17
- package/dist/remote-reception.js +17 -17
- package/dist/typescript-application-desk.js +17 -17
- package/package.json +1 -1
- package/runner/build.ts +3 -2
- package/runner/node-entry.mjs +2480 -1021
- package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +111 -5
- package/src/protocol/nomos/kernel/v1/kernel_pb.js +219 -212
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +51 -0
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.d.ts +8 -0
- package/src/protocol/nomos/runtime/v2/maintenance_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +22 -0
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +1 -1
|
@@ -2138,6 +2138,14 @@ export declare type QueryResponse = Message<"nomos.kernel.v1.QueryResponse"> & {
|
|
|
2138
2138
|
* @generated from field: optional nomos.kernel.v1.ReadDependencies result_dependencies = 34;
|
|
2139
2139
|
*/
|
|
2140
2140
|
resultDependencies?: ReadDependencies | undefined;
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* CAP-891: present when a `serve_last_ready` read was answered from (or, under a successor law,
|
|
2144
|
+
* refused from) a read index bound behind its branch head. Read maintenance still owes the head.
|
|
2145
|
+
*
|
|
2146
|
+
* @generated from field: optional nomos.kernel.v1.ReadIndexBehind read_index_behind = 35;
|
|
2147
|
+
*/
|
|
2148
|
+
readIndexBehind?: ReadIndexBehind | undefined;
|
|
2141
2149
|
};
|
|
2142
2150
|
|
|
2143
2151
|
/**
|
|
@@ -2146,6 +2154,46 @@ export declare type QueryResponse = Message<"nomos.kernel.v1.QueryResponse"> & {
|
|
|
2146
2154
|
*/
|
|
2147
2155
|
export declare const QueryResponseSchema: GenMessage<QueryResponse>;
|
|
2148
2156
|
|
|
2157
|
+
/**
|
|
2158
|
+
* The last-ready read index a `serve_last_ready` read met: bound to `served_frontier`, while the
|
|
2159
|
+
* branch head is `requested_frontier`. `successor_law`: the head's law is not the law that index
|
|
2160
|
+
* was built under, so no rows were served from it.
|
|
2161
|
+
*
|
|
2162
|
+
* @generated from message nomos.kernel.v1.ReadIndexBehind
|
|
2163
|
+
*/
|
|
2164
|
+
export declare type ReadIndexBehind = Message<"nomos.kernel.v1.ReadIndexBehind"> & {
|
|
2165
|
+
/**
|
|
2166
|
+
* @generated from field: string workspace = 1;
|
|
2167
|
+
*/
|
|
2168
|
+
workspace: string;
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* @generated from field: string branch = 2;
|
|
2172
|
+
*/
|
|
2173
|
+
branch: string;
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* @generated from field: string served_frontier = 3;
|
|
2177
|
+
*/
|
|
2178
|
+
servedFrontier: string;
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* @generated from field: string requested_frontier = 4;
|
|
2182
|
+
*/
|
|
2183
|
+
requestedFrontier: string;
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* @generated from field: bool successor_law = 5;
|
|
2187
|
+
*/
|
|
2188
|
+
successorLaw: boolean;
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Describes the message nomos.kernel.v1.ReadIndexBehind.
|
|
2193
|
+
* Use `create(ReadIndexBehindSchema)` to create a new message.
|
|
2194
|
+
*/
|
|
2195
|
+
export declare const ReadIndexBehindSchema: GenMessage<ReadIndexBehind>;
|
|
2196
|
+
|
|
2149
2197
|
/**
|
|
2150
2198
|
* The state a declared rows result reads, from the installed read law. A state change touching none
|
|
2151
2199
|
* of it leaves the next delta from this result's position empty. Exact or wider, never narrower.
|
|
@@ -2405,6 +2453,15 @@ export declare type ReadIndexPending = Message<"nomos.kernel.v1.ReadIndexPending
|
|
|
2405
2453
|
* @generated from field: string requested_frontier = 3;
|
|
2406
2454
|
*/
|
|
2407
2455
|
requestedFrontier: string;
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* CAP-900: for a read that asked to be served from its last-ready index (serve_last_ready), why
|
|
2459
|
+
* no complete earlier frontier could answer it, so the read waits for read maintenance. Empty
|
|
2460
|
+
* when the read did not ask. Diagnostic text only: no caller branches on it.
|
|
2461
|
+
*
|
|
2462
|
+
* @generated from field: string last_ready_absent = 4;
|
|
2463
|
+
*/
|
|
2464
|
+
lastReadyAbsent: string;
|
|
2408
2465
|
};
|
|
2409
2466
|
|
|
2410
2467
|
/**
|
|
@@ -4351,6 +4408,18 @@ export declare type QueryRequest = Message<"nomos.kernel.v1.QueryRequest"> & {
|
|
|
4351
4408
|
*/
|
|
4352
4409
|
resultFormat: QueryResultFormat;
|
|
4353
4410
|
|
|
4411
|
+
/**
|
|
4412
|
+
* CAP-891: an application read answers from the last-ready read index instead of waiting for it
|
|
4413
|
+
* to catch up. When the serving index is bound to an older committed frontier of this branch under
|
|
4414
|
+
* the SAME law as its head, the kernel answers from that index at its own bound frontier (one
|
|
4415
|
+
* committed frontier: stale, never mixed) and names the gap in `QueryResponse.read_index_behind`.
|
|
4416
|
+
* Under a different law it answers `read_index_pending` with `read_index_behind.successor_law`:
|
|
4417
|
+
* the application's decoders belong to the head law, so predecessor rows are never handed out.
|
|
4418
|
+
*
|
|
4419
|
+
* @generated from field: bool serve_last_ready = 5;
|
|
4420
|
+
*/
|
|
4421
|
+
serveLastReady: boolean;
|
|
4422
|
+
|
|
4354
4423
|
/**
|
|
4355
4424
|
* @generated from oneof nomos.kernel.v1.QueryRequest.query
|
|
4356
4425
|
*/
|
|
@@ -7254,14 +7323,20 @@ export declare type ApplyPackRequest = Message<"nomos.kernel.v1.ApplyPackRequest
|
|
|
7254
7323
|
case: "stagedPackFile";
|
|
7255
7324
|
} | {
|
|
7256
7325
|
/**
|
|
7257
|
-
* Continue the import
|
|
7258
|
-
* `work_budget_bytes` began and answered `import_pending`. It carries no pack, head or
|
|
7259
|
-
* boundary; the import keeps those of the request that began it.
|
|
7326
|
+
* Continue exactly the import named by import_id (CAP-889). No pack or boundary is carried.
|
|
7260
7327
|
*
|
|
7261
7328
|
* @generated from field: bool continue_pending = 8;
|
|
7262
7329
|
*/
|
|
7263
7330
|
value: boolean;
|
|
7264
7331
|
case: "continuePending";
|
|
7332
|
+
} | {
|
|
7333
|
+
/**
|
|
7334
|
+
* Release only this caller's named import without publishing it. Idempotent after completion.
|
|
7335
|
+
*
|
|
7336
|
+
* @generated from field: bool cancel_pending = 10;
|
|
7337
|
+
*/
|
|
7338
|
+
value: boolean;
|
|
7339
|
+
case: "cancelPending";
|
|
7265
7340
|
} | { case: undefined; value?: undefined };
|
|
7266
7341
|
|
|
7267
7342
|
/**
|
|
@@ -7288,12 +7363,20 @@ export declare type ApplyPackRequest = Message<"nomos.kernel.v1.ApplyPackRequest
|
|
|
7288
7363
|
* (CAP-806). When the pack needs more, the kernel keeps the import's progress, publishes
|
|
7289
7364
|
* nothing and answers `import_pending`; `continue_pending` continues it. A host interleaves the
|
|
7290
7365
|
* steps with its user's reads and offers, so a large import never holds the kernel for its
|
|
7291
|
-
* whole length. A new
|
|
7292
|
-
*
|
|
7366
|
+
* whole length. A new bounded import waits when this repository or the bounded import slots
|
|
7367
|
+
* are busy; an unbudgeted import never consumes another caller's pending state. Absent or 0:
|
|
7368
|
+
* the whole pack in one call, as before.
|
|
7293
7369
|
*
|
|
7294
7370
|
* @generated from field: uint64 work_budget_bytes = 7;
|
|
7295
7371
|
*/
|
|
7296
7372
|
workBudgetBytes: bigint;
|
|
7373
|
+
|
|
7374
|
+
/**
|
|
7375
|
+
* Kernel-issued identity returned by the first pending step; required for continue/cancel.
|
|
7376
|
+
*
|
|
7377
|
+
* @generated from field: uint64 import_id = 9;
|
|
7378
|
+
*/
|
|
7379
|
+
importId: bigint;
|
|
7297
7380
|
};
|
|
7298
7381
|
|
|
7299
7382
|
/**
|
|
@@ -7620,6 +7703,14 @@ export declare type ResolveRefRequest = Message<"nomos.kernel.v1.ResolveRefReque
|
|
|
7620
7703
|
* @generated from field: string reference = 2;
|
|
7621
7704
|
*/
|
|
7622
7705
|
reference: string;
|
|
7706
|
+
|
|
7707
|
+
/**
|
|
7708
|
+
* With a path: the object at that path in the tree of the commit the reference names (Git's
|
|
7709
|
+
* `<ref>:<path>`), absent when there is none. A copy names the law trees it holds this way (CAP-901).
|
|
7710
|
+
*
|
|
7711
|
+
* @generated from field: optional string path = 3;
|
|
7712
|
+
*/
|
|
7713
|
+
path?: string | undefined;
|
|
7623
7714
|
};
|
|
7624
7715
|
|
|
7625
7716
|
/**
|
|
@@ -9164,6 +9255,21 @@ export declare type ApplyPackResponse = Message<"nomos.kernel.v1.ApplyPackRespon
|
|
|
9164
9255
|
* @generated from field: uint64 work_done_bytes = 5;
|
|
9165
9256
|
*/
|
|
9166
9257
|
workDoneBytes: bigint;
|
|
9258
|
+
|
|
9259
|
+
/**
|
|
9260
|
+
* Nonzero identity of the pending import. Continuations must carry this exact identity and repo.
|
|
9261
|
+
*
|
|
9262
|
+
* @generated from field: uint64 import_id = 6;
|
|
9263
|
+
*/
|
|
9264
|
+
importId: bigint;
|
|
9265
|
+
|
|
9266
|
+
/**
|
|
9267
|
+
* No import was started: retry the original source after yielding. The staged file, if any,
|
|
9268
|
+
* remains untouched. Capacity is bounded; active imports are never silently evicted.
|
|
9269
|
+
*
|
|
9270
|
+
* @generated from field: bool import_deferred = 7;
|
|
9271
|
+
*/
|
|
9272
|
+
importDeferred: boolean;
|
|
9167
9273
|
};
|
|
9168
9274
|
|
|
9169
9275
|
/**
|