@githolon/runtime 0.113.4 → 0.115.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/dist/RUNTIME-SOURCES.sha256 +97 -71
- package/dist/application-reception.js +2 -2
- package/dist/nomos-native-runtime.js +5761 -1508
- package/dist/nomos-runner-web.js +347 -9
- package/dist/nomos-runner-worker.js +13372 -6047
- package/dist/nomos-runner.js +9861 -2904
- package/dist/remote-reception.cjs +23 -23
- package/dist/remote-reception.js +23 -23
- package/dist/typescript-application-desk.js +26 -27
- package/package.json +1 -1
- package/runner/node-entry.mjs +7678 -2860
- package/src/application_reception.ts +15 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +612 -0
- package/src/protocol/nomos/kernel/v1/kernel_pb.js +354 -277
- package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +8 -0
- package/src/protocol/nomos/runtime/v2/application_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +1071 -147
- package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +155 -22
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +57 -2
- package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +10 -3
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +111 -2
- package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +27 -12
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +0 -29
- package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +6 -13
- package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +10 -0
- package/src/protocol/nomos/runtime/v2/records_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +19 -0
- package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +1 -1
- package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +15 -1
- package/src/protocol/nomos/runtime/v2/runtime_pb.js +1 -1
- package/src/typescript_application_desk.public.d.ts +0 -1
|
@@ -581,6 +581,15 @@ export declare type SyncWorkspaceResponse = Message<"nomos.runtime.v2.SyncWorksp
|
|
|
581
581
|
* @generated from field: optional nomos.runtime.v2.PreservedLocalCopy preserved_local_copy = 27;
|
|
582
582
|
*/
|
|
583
583
|
preservedLocalCopy?: PreservedLocalCopy | undefined;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* The custodian (or the edge relaying to it) answered that it is opening this workspace from
|
|
587
|
+
* verified custody: nothing was judged. This is the custodian's hint for when to ask again.
|
|
588
|
+
* Distinct from a refusal, a transport failure or an offline round.
|
|
589
|
+
*
|
|
590
|
+
* @generated from field: optional uint32 custodian_warming_retry_after_millis = 28;
|
|
591
|
+
*/
|
|
592
|
+
custodianWarmingRetryAfterMillis?: number | undefined;
|
|
584
593
|
};
|
|
585
594
|
|
|
586
595
|
/**
|
|
@@ -1484,6 +1493,12 @@ export declare type PeerEffectReceipt = Message<"nomos.runtime.v2.PeerEffectRece
|
|
|
1484
1493
|
*/
|
|
1485
1494
|
value: PeerConsoleEnrolmentRefused;
|
|
1486
1495
|
case: "consoleEnrolmentRefused";
|
|
1496
|
+
} | {
|
|
1497
|
+
/**
|
|
1498
|
+
* @generated from field: nomos.runtime.v2.PeerStreamReceipt stream = 25;
|
|
1499
|
+
*/
|
|
1500
|
+
value: PeerStreamReceipt;
|
|
1501
|
+
case: "stream";
|
|
1487
1502
|
} | { case: undefined; value?: undefined };
|
|
1488
1503
|
};
|
|
1489
1504
|
|
|
@@ -1537,6 +1552,14 @@ export declare type PeerGitFetchEffect = Message<"nomos.runtime.v2.PeerGitFetchE
|
|
|
1537
1552
|
* @generated from field: nomos.runtime.v2.PeerHttpEffect alongside = 7;
|
|
1538
1553
|
*/
|
|
1539
1554
|
alongside?: PeerHttpEffect | undefined;
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* Independent refs fetched CONCURRENTLY with `reference`, from the same ref advertisement (a
|
|
1558
|
+
* source's settled workspace-effect outcomes). Their failure never fails the fetch.
|
|
1559
|
+
*
|
|
1560
|
+
* @generated from field: nomos.runtime.v2.PeerGitRefsAlongside alongside_refs = 8;
|
|
1561
|
+
*/
|
|
1562
|
+
alongsideRefs?: PeerGitRefsAlongside | undefined;
|
|
1540
1563
|
};
|
|
1541
1564
|
|
|
1542
1565
|
/**
|
|
@@ -1578,6 +1601,13 @@ export declare type PeerGitFetchResponse = Message<"nomos.runtime.v2.PeerGitFetc
|
|
|
1578
1601
|
* @generated from field: nomos.runtime.v2.PeerHttpResponse alongside = 5;
|
|
1579
1602
|
*/
|
|
1580
1603
|
alongside?: PeerHttpResponse | undefined;
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* The answer to the effect's `alongside_refs`; absent when there was none or it failed.
|
|
1607
|
+
*
|
|
1608
|
+
* @generated from field: nomos.runtime.v2.PeerGitRefsFetched alongside_refs = 6;
|
|
1609
|
+
*/
|
|
1610
|
+
alongsideRefs?: PeerGitRefsFetched | undefined;
|
|
1581
1611
|
};
|
|
1582
1612
|
|
|
1583
1613
|
/**
|
|
@@ -1939,6 +1969,12 @@ export declare type CorrespondencePending = Message<"nomos.runtime.v2.Correspond
|
|
|
1939
1969
|
*/
|
|
1940
1970
|
value: PeerConsoleEnrolmentEffect;
|
|
1941
1971
|
case: "consoleEnrolment";
|
|
1972
|
+
} | {
|
|
1973
|
+
/**
|
|
1974
|
+
* @generated from field: nomos.runtime.v2.PeerStreamEffect stream = 15;
|
|
1975
|
+
*/
|
|
1976
|
+
value: PeerStreamEffect;
|
|
1977
|
+
case: "stream";
|
|
1942
1978
|
} | { case: undefined; value?: undefined };
|
|
1943
1979
|
};
|
|
1944
1980
|
|
|
@@ -2822,6 +2858,17 @@ export declare type CustodyOfferBatchRequest = Message<"nomos.runtime.v2.Custody
|
|
|
2822
2858
|
* @generated from field: optional string continues_after = 9;
|
|
2823
2859
|
*/
|
|
2824
2860
|
continuesAfter?: string | undefined;
|
|
2861
|
+
|
|
2862
|
+
/**
|
|
2863
|
+
* Set by the live link's relay (CAP-684): the custodian answers this batch with its admission as
|
|
2864
|
+
* soon as it is judged, and `sealed_main` says how much of it is durable. Without it a custodian
|
|
2865
|
+
* holds an admitted answer until its main is retained in custody (the HTTP lane). The sender keeps
|
|
2866
|
+
* its recovery suffix above the sealed main, so a custodian that restarts without the unsealed
|
|
2867
|
+
* admission is simply offered it again.
|
|
2868
|
+
*
|
|
2869
|
+
* @generated from field: bool acknowledge_admission = 10;
|
|
2870
|
+
*/
|
|
2871
|
+
acknowledgeAdmission: boolean;
|
|
2825
2872
|
};
|
|
2826
2873
|
|
|
2827
2874
|
/**
|
|
@@ -2859,6 +2906,53 @@ export declare type LiveOfferFrame = Message<"nomos.runtime.v2.LiveOfferFrame">
|
|
|
2859
2906
|
*/
|
|
2860
2907
|
value: LiveAdmission;
|
|
2861
2908
|
case: "admission";
|
|
2909
|
+
} | {
|
|
2910
|
+
/**
|
|
2911
|
+
* THE STREAM (architecture/peer_catchup.md, CAP-826). One socket per workspace, to that
|
|
2912
|
+
* workspace's coordinator, carries the workspace's whole lifecycle in order from the cloud
|
|
2913
|
+
* peer that holds it: a checkpoint at head H (chunked, resumable), the offers after H in
|
|
2914
|
+
* bounded batches, then live offers. A device never contacts Artifacts.
|
|
2915
|
+
*
|
|
2916
|
+
* @generated from field: nomos.runtime.v2.LiveCheckpointRequest checkpoint_request = 4;
|
|
2917
|
+
*/
|
|
2918
|
+
value: LiveCheckpointRequest;
|
|
2919
|
+
case: "checkpointRequest";
|
|
2920
|
+
} | {
|
|
2921
|
+
/**
|
|
2922
|
+
* @generated from field: nomos.runtime.v2.LiveCheckpointOffer checkpoint_offer = 5;
|
|
2923
|
+
*/
|
|
2924
|
+
value: LiveCheckpointOffer;
|
|
2925
|
+
case: "checkpointOffer";
|
|
2926
|
+
} | {
|
|
2927
|
+
/**
|
|
2928
|
+
* @generated from field: nomos.runtime.v2.LiveCheckpointChunk checkpoint_chunk = 6;
|
|
2929
|
+
*/
|
|
2930
|
+
value: LiveCheckpointChunk;
|
|
2931
|
+
case: "checkpointChunk";
|
|
2932
|
+
} | {
|
|
2933
|
+
/**
|
|
2934
|
+
* @generated from field: nomos.runtime.v2.LiveHistoryRequest history_request = 7;
|
|
2935
|
+
*/
|
|
2936
|
+
value: LiveHistoryRequest;
|
|
2937
|
+
case: "historyRequest";
|
|
2938
|
+
} | {
|
|
2939
|
+
/**
|
|
2940
|
+
* @generated from field: nomos.runtime.v2.LiveRefRequest ref_request = 8;
|
|
2941
|
+
*/
|
|
2942
|
+
value: LiveRefRequest;
|
|
2943
|
+
case: "refRequest";
|
|
2944
|
+
} | {
|
|
2945
|
+
/**
|
|
2946
|
+
* @generated from field: nomos.runtime.v2.LivePack pack = 9;
|
|
2947
|
+
*/
|
|
2948
|
+
value: LivePack;
|
|
2949
|
+
case: "pack";
|
|
2950
|
+
} | {
|
|
2951
|
+
/**
|
|
2952
|
+
* @generated from field: nomos.runtime.v2.LiveStreamRefusal refusal = 10;
|
|
2953
|
+
*/
|
|
2954
|
+
value: LiveStreamRefusal;
|
|
2955
|
+
case: "refusal";
|
|
2862
2956
|
} | { case: undefined; value?: undefined };
|
|
2863
2957
|
};
|
|
2864
2958
|
|
|
@@ -2894,6 +2988,14 @@ export declare type LiveAdmission = Message<"nomos.runtime.v2.LiveAdmission"> &
|
|
|
2894
2988
|
export declare const LiveAdmissionSchema: GenMessage<LiveAdmission>;
|
|
2895
2989
|
|
|
2896
2990
|
/**
|
|
2991
|
+
* `max_offers` (a stream-capable receiver): send at most this many offers directly above `head`;
|
|
2992
|
+
* the receiver announces its new head once it admitted them, and the next batch follows.
|
|
2993
|
+
* `remount_after_offers`: sent only by a copy holding no work above its bookmark. Further behind
|
|
2994
|
+
* than this many offers, or at a head the peer does not hold, answer a checkpoint_offer instead.
|
|
2995
|
+
* `outcomes_digest` (a stream-capable receiver): the hex sha256 of the sorted object ids of the
|
|
2996
|
+
* settled-letter outcome refs it holds (#567). A peer whose own set differs answers with its
|
|
2997
|
+
* `outcomes` (names and ids only); the receiver asks for the ones it lacks with a ref request.
|
|
2998
|
+
*
|
|
2897
2999
|
* @generated from message nomos.runtime.v2.LiveFrontier
|
|
2898
3000
|
*/
|
|
2899
3001
|
export declare type LiveFrontier = Message<"nomos.runtime.v2.LiveFrontier"> & {
|
|
@@ -2906,6 +3008,33 @@ export declare type LiveFrontier = Message<"nomos.runtime.v2.LiveFrontier"> & {
|
|
|
2906
3008
|
* @generated from field: bool response = 2;
|
|
2907
3009
|
*/
|
|
2908
3010
|
response: boolean;
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* @generated from field: uint32 max_offers = 3;
|
|
3014
|
+
*/
|
|
3015
|
+
maxOffers: number;
|
|
3016
|
+
|
|
3017
|
+
/**
|
|
3018
|
+
* @generated from field: uint32 remount_after_offers = 4;
|
|
3019
|
+
*/
|
|
3020
|
+
remountAfterOffers: number;
|
|
3021
|
+
|
|
3022
|
+
/**
|
|
3023
|
+
* @generated from field: string outcomes_digest = 5;
|
|
3024
|
+
*/
|
|
3025
|
+
outcomesDigest: string;
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* @generated from field: repeated nomos.runtime.v2.RetainedRef outcomes = 6;
|
|
3029
|
+
*/
|
|
3030
|
+
outcomes: RetainedRef[];
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* In a peer's answer: the main its custodian has made durable (a copy bookmarks only that).
|
|
3034
|
+
*
|
|
3035
|
+
* @generated from field: optional string sealed = 7;
|
|
3036
|
+
*/
|
|
3037
|
+
sealed?: string | undefined;
|
|
2909
3038
|
};
|
|
2910
3039
|
|
|
2911
3040
|
/**
|
|
@@ -2915,246 +3044,910 @@ export declare type LiveFrontier = Message<"nomos.runtime.v2.LiveFrontier"> & {
|
|
|
2915
3044
|
export declare const LiveFrontierSchema: GenMessage<LiveFrontier>;
|
|
2916
3045
|
|
|
2917
3046
|
/**
|
|
2918
|
-
*
|
|
3047
|
+
* Start or resume a checkpoint. A resume names the checkpoint (`head`, `pack_id`) and the bytes it
|
|
3048
|
+
* already holds (`offset`); the peer answers the next `window_chunks` chunks, or a newer offer.
|
|
3049
|
+
* `pack_id` is the pack's own trailer hash (hex SHA-1 of its bytes): the receiving kernel verifies it
|
|
3050
|
+
* while indexing, so no shell hashes a checkpoint in JavaScript.
|
|
2919
3051
|
*
|
|
2920
|
-
* @generated from message nomos.runtime.v2.
|
|
3052
|
+
* @generated from message nomos.runtime.v2.LiveCheckpointRequest
|
|
2921
3053
|
*/
|
|
2922
|
-
export declare type
|
|
3054
|
+
export declare type LiveCheckpointRequest = Message<"nomos.runtime.v2.LiveCheckpointRequest"> & {
|
|
2923
3055
|
/**
|
|
2924
|
-
* @generated from field: string
|
|
3056
|
+
* @generated from field: optional string head = 1;
|
|
2925
3057
|
*/
|
|
2926
|
-
|
|
3058
|
+
head?: string | undefined;
|
|
2927
3059
|
|
|
2928
3060
|
/**
|
|
2929
|
-
* @generated from
|
|
3061
|
+
* @generated from field: optional string pack_id = 2;
|
|
2930
3062
|
*/
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
case: "send";
|
|
2943
|
-
} | {
|
|
2944
|
-
/**
|
|
2945
|
-
* @generated from field: bool close = 4;
|
|
2946
|
-
*/
|
|
2947
|
-
value: boolean;
|
|
2948
|
-
case: "close";
|
|
2949
|
-
} | { case: undefined; value?: undefined };
|
|
3063
|
+
packId?: string | undefined;
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* @generated from field: uint64 offset = 3;
|
|
3067
|
+
*/
|
|
3068
|
+
offset: bigint;
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* @generated from field: uint32 window_chunks = 4;
|
|
3072
|
+
*/
|
|
3073
|
+
windowChunks: number;
|
|
2950
3074
|
};
|
|
2951
3075
|
|
|
2952
3076
|
/**
|
|
2953
|
-
* Describes the message nomos.runtime.v2.
|
|
2954
|
-
* Use `create(
|
|
3077
|
+
* Describes the message nomos.runtime.v2.LiveCheckpointRequest.
|
|
3078
|
+
* Use `create(LiveCheckpointRequestSchema)` to create a new message.
|
|
2955
3079
|
*/
|
|
2956
|
-
export declare const
|
|
3080
|
+
export declare const LiveCheckpointRequestSchema: GenMessage<LiveCheckpointRequest>;
|
|
2957
3081
|
|
|
2958
3082
|
/**
|
|
2959
|
-
*
|
|
3083
|
+
* The checkpoint the peer will send: the frontier state at H (H's commit and state tree, and the
|
|
3084
|
+
* settled-letter outcome commits beside it), one deterministic Git pack. It is the same shape as an
|
|
3085
|
+
* epoch boundary's frontier state (CAP-825), whether or not epochs are on.
|
|
3086
|
+
*
|
|
3087
|
+
* @generated from message nomos.runtime.v2.LiveCheckpointOffer
|
|
2960
3088
|
*/
|
|
2961
|
-
export declare type
|
|
3089
|
+
export declare type LiveCheckpointOffer = Message<"nomos.runtime.v2.LiveCheckpointOffer"> & {
|
|
2962
3090
|
/**
|
|
2963
|
-
* @generated from field: string
|
|
3091
|
+
* @generated from field: string head = 1;
|
|
2964
3092
|
*/
|
|
2965
|
-
|
|
3093
|
+
head: string;
|
|
2966
3094
|
|
|
2967
3095
|
/**
|
|
2968
|
-
* @generated from
|
|
3096
|
+
* @generated from field: string pack_id = 2;
|
|
2969
3097
|
*/
|
|
2970
|
-
|
|
2971
|
-
/**
|
|
2972
|
-
* @generated from field: bool opened = 2;
|
|
2973
|
-
*/
|
|
2974
|
-
value: boolean;
|
|
2975
|
-
case: "opened";
|
|
2976
|
-
} | {
|
|
2977
|
-
/**
|
|
2978
|
-
* @generated from field: bytes received = 3;
|
|
2979
|
-
*/
|
|
2980
|
-
value: Uint8Array;
|
|
2981
|
-
case: "received";
|
|
2982
|
-
} | {
|
|
2983
|
-
/**
|
|
2984
|
-
* @generated from field: bool closed = 4;
|
|
2985
|
-
*/
|
|
2986
|
-
value: boolean;
|
|
2987
|
-
case: "closed";
|
|
2988
|
-
} | { case: undefined; value?: undefined };
|
|
2989
|
-
};
|
|
3098
|
+
packId: string;
|
|
2990
3099
|
|
|
2991
|
-
/**
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
export declare const PeerSocketReceiptSchema: GenMessage<PeerSocketReceipt>;
|
|
3100
|
+
/**
|
|
3101
|
+
* @generated from field: uint64 bytes = 3;
|
|
3102
|
+
*/
|
|
3103
|
+
bytes: bigint;
|
|
2996
3104
|
|
|
2997
|
-
/**
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
};
|
|
3105
|
+
/**
|
|
3106
|
+
* @generated from field: uint32 chunk_bytes = 4;
|
|
3107
|
+
*/
|
|
3108
|
+
chunkBytes: number;
|
|
3002
3109
|
|
|
3003
|
-
/**
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
export declare const PeerSocketObservedSchema: GenMessage<PeerSocketObserved>;
|
|
3110
|
+
/**
|
|
3111
|
+
* @generated from field: repeated string shallow = 6;
|
|
3112
|
+
*/
|
|
3113
|
+
shallow: string[];
|
|
3008
3114
|
|
|
3009
|
-
/**
|
|
3010
|
-
* @generated from message nomos.runtime.v2.ExportLiveOffersRequest
|
|
3011
|
-
*/
|
|
3012
|
-
export declare type ExportLiveOffersRequest = Message<"nomos.runtime.v2.ExportLiveOffersRequest"> & {
|
|
3013
3115
|
/**
|
|
3014
|
-
*
|
|
3116
|
+
* The settled-letter outcome refs whose commits the pack carries (#567).
|
|
3117
|
+
*
|
|
3118
|
+
* @generated from field: repeated nomos.runtime.v2.RetainedRef outcomes = 7;
|
|
3015
3119
|
*/
|
|
3016
|
-
|
|
3120
|
+
outcomes: RetainedRef[];
|
|
3017
3121
|
|
|
3018
3122
|
/**
|
|
3019
|
-
*
|
|
3123
|
+
* Offered instead of offers: the copy is further behind than its remount bound, or its head is
|
|
3124
|
+
* not in the peer's custody.
|
|
3125
|
+
*
|
|
3126
|
+
* @generated from field: bool remount = 8;
|
|
3020
3127
|
*/
|
|
3021
|
-
|
|
3022
|
-
};
|
|
3128
|
+
remount: boolean;
|
|
3023
3129
|
|
|
3024
|
-
/**
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
export declare const ExportLiveOffersRequestSchema: GenMessage<ExportLiveOffersRequest>;
|
|
3130
|
+
/**
|
|
3131
|
+
* @generated from field: optional uint64 offers_behind = 9;
|
|
3132
|
+
*/
|
|
3133
|
+
offersBehind?: bigint | undefined;
|
|
3029
3134
|
|
|
3030
|
-
/**
|
|
3031
|
-
* @generated from message nomos.runtime.v2.CustodyIntentOffer
|
|
3032
|
-
*/
|
|
3033
|
-
export declare type CustodyIntentOffer = Message<"nomos.runtime.v2.CustodyIntentOffer"> & {
|
|
3034
3135
|
/**
|
|
3035
|
-
*
|
|
3136
|
+
* Set when this transfer is a history slice, not a checkpoint: the slice's request id. `head` is
|
|
3137
|
+
* then the shallow boundary the slice continues below, `shallow` its new boundary.
|
|
3138
|
+
*
|
|
3139
|
+
* @generated from field: string request_id = 10;
|
|
3036
3140
|
*/
|
|
3037
|
-
|
|
3141
|
+
requestId: string;
|
|
3038
3142
|
|
|
3039
3143
|
/**
|
|
3040
|
-
*
|
|
3144
|
+
* The main this peer's custodian has made durable. A checkpoint is offered at it whenever the peer
|
|
3145
|
+
* knows it and it is on main; the offers above it follow in batches, so a stream never waits for a
|
|
3146
|
+
* seal. A copy bookmarks the checkpoint's head only when it is this sealed head.
|
|
3147
|
+
*
|
|
3148
|
+
* @generated from field: optional string sealed = 11;
|
|
3041
3149
|
*/
|
|
3042
|
-
|
|
3150
|
+
sealed?: string | undefined;
|
|
3043
3151
|
|
|
3044
3152
|
/**
|
|
3045
|
-
*
|
|
3153
|
+
* The peer's main when it offered this checkpoint. Above `head`, the copy levels to it after mounting.
|
|
3154
|
+
*
|
|
3155
|
+
* @generated from field: string main = 12;
|
|
3046
3156
|
*/
|
|
3047
|
-
|
|
3157
|
+
main: string;
|
|
3048
3158
|
};
|
|
3049
3159
|
|
|
3050
3160
|
/**
|
|
3051
|
-
* Describes the message nomos.runtime.v2.
|
|
3052
|
-
* Use `create(
|
|
3161
|
+
* Describes the message nomos.runtime.v2.LiveCheckpointOffer.
|
|
3162
|
+
* Use `create(LiveCheckpointOfferSchema)` to create a new message.
|
|
3053
3163
|
*/
|
|
3054
|
-
export declare const
|
|
3164
|
+
export declare const LiveCheckpointOfferSchema: GenMessage<LiveCheckpointOffer>;
|
|
3055
3165
|
|
|
3056
3166
|
/**
|
|
3057
|
-
*
|
|
3167
|
+
* One chunk of a checkpoint, or (with `request_id`) of a history slice.
|
|
3168
|
+
*
|
|
3169
|
+
* @generated from message nomos.runtime.v2.LiveCheckpointChunk
|
|
3058
3170
|
*/
|
|
3059
|
-
export declare type
|
|
3171
|
+
export declare type LiveCheckpointChunk = Message<"nomos.runtime.v2.LiveCheckpointChunk"> & {
|
|
3060
3172
|
/**
|
|
3061
|
-
* @generated from field:
|
|
3173
|
+
* @generated from field: string pack_id = 1;
|
|
3062
3174
|
*/
|
|
3063
|
-
|
|
3064
|
-
};
|
|
3175
|
+
packId: string;
|
|
3065
3176
|
|
|
3066
|
-
/**
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
export declare const CustodyInlineOffersSchema: GenMessage<CustodyInlineOffers>;
|
|
3177
|
+
/**
|
|
3178
|
+
* @generated from field: uint64 offset = 2;
|
|
3179
|
+
*/
|
|
3180
|
+
offset: bigint;
|
|
3071
3181
|
|
|
3072
|
-
/**
|
|
3073
|
-
* @generated from message nomos.runtime.v2.CustodySessionCandidate
|
|
3074
|
-
*/
|
|
3075
|
-
export declare type CustodySessionCandidate = Message<"nomos.runtime.v2.CustodySessionCandidate"> & {
|
|
3076
3182
|
/**
|
|
3077
|
-
* @generated from field:
|
|
3183
|
+
* @generated from field: bytes bytes = 3;
|
|
3078
3184
|
*/
|
|
3079
|
-
|
|
3185
|
+
bytes: Uint8Array;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* @generated from field: string request_id = 4;
|
|
3189
|
+
*/
|
|
3190
|
+
requestId: string;
|
|
3080
3191
|
};
|
|
3081
3192
|
|
|
3082
3193
|
/**
|
|
3083
|
-
* Describes the message nomos.runtime.v2.
|
|
3084
|
-
* Use `create(
|
|
3194
|
+
* Describes the message nomos.runtime.v2.LiveCheckpointChunk.
|
|
3195
|
+
* Use `create(LiveCheckpointChunkSchema)` to create a new message.
|
|
3085
3196
|
*/
|
|
3086
|
-
export declare const
|
|
3197
|
+
export declare const LiveCheckpointChunkSchema: GenMessage<LiveCheckpointChunk>;
|
|
3087
3198
|
|
|
3088
3199
|
/**
|
|
3089
|
-
*
|
|
3200
|
+
* One lazy-history slice: `depth` generations below a shallow `boundary` the copy holds. A slice is a
|
|
3201
|
+
* transfer like a checkpoint: offered, then chunked; a resume names the slice (`pack_id`) and the bytes
|
|
3202
|
+
* already held (`offset`), and the peer answers the next `window_chunks` chunks.
|
|
3203
|
+
*
|
|
3204
|
+
* @generated from message nomos.runtime.v2.LiveHistoryRequest
|
|
3090
3205
|
*/
|
|
3091
|
-
export declare type
|
|
3206
|
+
export declare type LiveHistoryRequest = Message<"nomos.runtime.v2.LiveHistoryRequest"> & {
|
|
3092
3207
|
/**
|
|
3093
|
-
* @generated from field: string
|
|
3208
|
+
* @generated from field: string request_id = 1;
|
|
3094
3209
|
*/
|
|
3095
|
-
|
|
3210
|
+
requestId: string;
|
|
3096
3211
|
|
|
3097
3212
|
/**
|
|
3098
|
-
* @generated from field:
|
|
3213
|
+
* @generated from field: string boundary = 2;
|
|
3099
3214
|
*/
|
|
3100
|
-
|
|
3215
|
+
boundary: string;
|
|
3101
3216
|
|
|
3102
3217
|
/**
|
|
3103
|
-
* @generated from field:
|
|
3218
|
+
* @generated from field: uint32 depth = 3;
|
|
3104
3219
|
*/
|
|
3105
|
-
|
|
3220
|
+
depth: number;
|
|
3106
3221
|
|
|
3107
3222
|
/**
|
|
3108
|
-
* @generated from field:
|
|
3223
|
+
* @generated from field: optional string pack_id = 4;
|
|
3109
3224
|
*/
|
|
3110
|
-
|
|
3225
|
+
packId?: string | undefined;
|
|
3111
3226
|
|
|
3112
3227
|
/**
|
|
3113
|
-
* @generated from field:
|
|
3228
|
+
* @generated from field: uint64 offset = 5;
|
|
3114
3229
|
*/
|
|
3115
|
-
|
|
3230
|
+
offset: bigint;
|
|
3116
3231
|
|
|
3117
3232
|
/**
|
|
3118
|
-
* @generated from field:
|
|
3233
|
+
* @generated from field: uint32 window_chunks = 6;
|
|
3119
3234
|
*/
|
|
3120
|
-
|
|
3235
|
+
windowChunks: number;
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Describes the message nomos.runtime.v2.LiveHistoryRequest.
|
|
3240
|
+
* Use `create(LiveHistoryRequestSchema)` to create a new message.
|
|
3241
|
+
*/
|
|
3242
|
+
export declare const LiveHistoryRequestSchema: GenMessage<LiveHistoryRequest>;
|
|
3121
3243
|
|
|
3244
|
+
/**
|
|
3245
|
+
* An independent ref (refs/nomos/placement) at `want`, with its (small) history; or, for the
|
|
3246
|
+
* settled-letter outcome namespace (refs/nomos/effect-outcomes/), the parentless commits `wants`.
|
|
3247
|
+
*
|
|
3248
|
+
* @generated from message nomos.runtime.v2.LiveRefRequest
|
|
3249
|
+
*/
|
|
3250
|
+
export declare type LiveRefRequest = Message<"nomos.runtime.v2.LiveRefRequest"> & {
|
|
3122
3251
|
/**
|
|
3123
|
-
* @generated from field:
|
|
3252
|
+
* @generated from field: string request_id = 1;
|
|
3124
3253
|
*/
|
|
3125
|
-
|
|
3254
|
+
requestId: string;
|
|
3126
3255
|
|
|
3127
3256
|
/**
|
|
3128
|
-
* @generated from field:
|
|
3257
|
+
* @generated from field: string reference = 2;
|
|
3129
3258
|
*/
|
|
3130
|
-
|
|
3259
|
+
reference: string;
|
|
3131
3260
|
|
|
3132
3261
|
/**
|
|
3133
|
-
*
|
|
3134
|
-
* requested common history is absent; only then use bulk Git recovery.
|
|
3135
|
-
*
|
|
3136
|
-
* @generated from field: optional bool recovery_required = 9;
|
|
3262
|
+
* @generated from field: optional string want = 3;
|
|
3137
3263
|
*/
|
|
3138
|
-
|
|
3264
|
+
want?: string | undefined;
|
|
3139
3265
|
|
|
3140
3266
|
/**
|
|
3141
|
-
*
|
|
3142
|
-
* A durable platform may carry this paper back to the same Peer Office; it
|
|
3143
|
-
* must not infer maintenance from refusal text or retry the offered intents.
|
|
3144
|
-
*
|
|
3145
|
-
* @generated from field: optional nomos.runtime.v2.MaintenanceScheduled local_maintenance = 10;
|
|
3267
|
+
* @generated from field: repeated string wants = 4;
|
|
3146
3268
|
*/
|
|
3147
|
-
|
|
3269
|
+
wants: string[];
|
|
3148
3270
|
};
|
|
3149
3271
|
|
|
3150
3272
|
/**
|
|
3151
|
-
* Describes the message nomos.runtime.v2.
|
|
3152
|
-
* Use `create(
|
|
3273
|
+
* Describes the message nomos.runtime.v2.LiveRefRequest.
|
|
3274
|
+
* Use `create(LiveRefRequestSchema)` to create a new message.
|
|
3153
3275
|
*/
|
|
3154
|
-
export declare const
|
|
3276
|
+
export declare const LiveRefRequestSchema: GenMessage<LiveRefRequest>;
|
|
3155
3277
|
|
|
3156
3278
|
/**
|
|
3157
|
-
*
|
|
3279
|
+
* A pack the stream sends: a checkpoint, a history slice, a ref, settled-letter outcomes, or a batch
|
|
3280
|
+
* of the offers after a copy's head (`request_id` "level:<base>", `base` the head it continues): the
|
|
3281
|
+
* sealed offers as the commits the peer admitted them in, so the copy's kernel adopts exactly those
|
|
3282
|
+
* commits on the same parent and verifies them by hash.
|
|
3283
|
+
*
|
|
3284
|
+
* @generated from message nomos.runtime.v2.LivePack
|
|
3285
|
+
*/
|
|
3286
|
+
export declare type LivePack = Message<"nomos.runtime.v2.LivePack"> & {
|
|
3287
|
+
/**
|
|
3288
|
+
* @generated from field: string request_id = 1;
|
|
3289
|
+
*/
|
|
3290
|
+
requestId: string;
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* @generated from field: string reference = 2;
|
|
3294
|
+
*/
|
|
3295
|
+
reference: string;
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* @generated from field: string head = 3;
|
|
3299
|
+
*/
|
|
3300
|
+
head: string;
|
|
3301
|
+
|
|
3302
|
+
/**
|
|
3303
|
+
* @generated from field: bytes pack = 4;
|
|
3304
|
+
*/
|
|
3305
|
+
pack: Uint8Array;
|
|
3306
|
+
|
|
3307
|
+
/**
|
|
3308
|
+
* @generated from field: repeated string shallow = 5;
|
|
3309
|
+
*/
|
|
3310
|
+
shallow: string[];
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* @generated from field: string base = 6;
|
|
3314
|
+
*/
|
|
3315
|
+
base: string;
|
|
3316
|
+
|
|
3317
|
+
/**
|
|
3318
|
+
* @generated from field: uint32 offers = 7;
|
|
3319
|
+
*/
|
|
3320
|
+
offers: number;
|
|
3321
|
+
|
|
3322
|
+
/**
|
|
3323
|
+
* The main the peer's custodian had made durable when it answered.
|
|
3324
|
+
*
|
|
3325
|
+
* @generated from field: optional string sealed = 8;
|
|
3326
|
+
*/
|
|
3327
|
+
sealed?: string | undefined;
|
|
3328
|
+
};
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* Describes the message nomos.runtime.v2.LivePack.
|
|
3332
|
+
* Use `create(LivePackSchema)` to create a new message.
|
|
3333
|
+
*/
|
|
3334
|
+
export declare const LivePackSchema: GenMessage<LivePack>;
|
|
3335
|
+
|
|
3336
|
+
/**
|
|
3337
|
+
* @generated from message nomos.runtime.v2.LiveStreamRefusal
|
|
3338
|
+
*/
|
|
3339
|
+
export declare type LiveStreamRefusal = Message<"nomos.runtime.v2.LiveStreamRefusal"> & {
|
|
3340
|
+
/**
|
|
3341
|
+
* @generated from field: string request_id = 1;
|
|
3342
|
+
*/
|
|
3343
|
+
requestId: string;
|
|
3344
|
+
|
|
3345
|
+
/**
|
|
3346
|
+
* @generated from field: string code = 2;
|
|
3347
|
+
*/
|
|
3348
|
+
code: string;
|
|
3349
|
+
|
|
3350
|
+
/**
|
|
3351
|
+
* @generated from field: string message = 3;
|
|
3352
|
+
*/
|
|
3353
|
+
message: string;
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* The peer is opening the workspace or acquiring the history asked for: ask again after this.
|
|
3357
|
+
*
|
|
3358
|
+
* @generated from field: optional uint32 retry_after_millis = 4;
|
|
3359
|
+
*/
|
|
3360
|
+
retryAfterMillis?: number | undefined;
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
/**
|
|
3364
|
+
* Describes the message nomos.runtime.v2.LiveStreamRefusal.
|
|
3365
|
+
* Use `create(LiveStreamRefusalSchema)` to create a new message.
|
|
3366
|
+
*/
|
|
3367
|
+
export declare const LiveStreamRefusalSchema: GenMessage<LiveStreamRefusal>;
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* A coordinator's paper to the cloud peer that holds the workspace: serve one stream request.
|
|
3371
|
+
*
|
|
3372
|
+
* @generated from message nomos.runtime.v2.LiveStreamRequest
|
|
3373
|
+
*/
|
|
3374
|
+
export declare type LiveStreamRequest = Message<"nomos.runtime.v2.LiveStreamRequest"> & {
|
|
3375
|
+
/**
|
|
3376
|
+
* @generated from oneof nomos.runtime.v2.LiveStreamRequest.request
|
|
3377
|
+
*/
|
|
3378
|
+
request: {
|
|
3379
|
+
/**
|
|
3380
|
+
* @generated from field: nomos.runtime.v2.LiveFrontier frontier = 1;
|
|
3381
|
+
*/
|
|
3382
|
+
value: LiveFrontier;
|
|
3383
|
+
case: "frontier";
|
|
3384
|
+
} | {
|
|
3385
|
+
/**
|
|
3386
|
+
* @generated from field: nomos.runtime.v2.LiveCheckpointRequest checkpoint = 2;
|
|
3387
|
+
*/
|
|
3388
|
+
value: LiveCheckpointRequest;
|
|
3389
|
+
case: "checkpoint";
|
|
3390
|
+
} | {
|
|
3391
|
+
/**
|
|
3392
|
+
* @generated from field: nomos.runtime.v2.LiveHistoryRequest history = 3;
|
|
3393
|
+
*/
|
|
3394
|
+
value: LiveHistoryRequest;
|
|
3395
|
+
case: "history";
|
|
3396
|
+
} | {
|
|
3397
|
+
/**
|
|
3398
|
+
* @generated from field: nomos.runtime.v2.LiveRefRequest ref = 4;
|
|
3399
|
+
*/
|
|
3400
|
+
value: LiveRefRequest;
|
|
3401
|
+
case: "ref";
|
|
3402
|
+
} | { case: undefined; value?: undefined };
|
|
3403
|
+
};
|
|
3404
|
+
|
|
3405
|
+
/**
|
|
3406
|
+
* Describes the message nomos.runtime.v2.LiveStreamRequest.
|
|
3407
|
+
* Use `create(LiveStreamRequestSchema)` to create a new message.
|
|
3408
|
+
*/
|
|
3409
|
+
export declare const LiveStreamRequestSchema: GenMessage<LiveStreamRequest>;
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* The frames to send, in order, to the socket that asked.
|
|
3413
|
+
*
|
|
3414
|
+
* @generated from message nomos.runtime.v2.LiveStreamAnswer
|
|
3415
|
+
*/
|
|
3416
|
+
export declare type LiveStreamAnswer = Message<"nomos.runtime.v2.LiveStreamAnswer"> & {
|
|
3417
|
+
/**
|
|
3418
|
+
* @generated from field: repeated nomos.runtime.v2.LiveOfferFrame frames = 1;
|
|
3419
|
+
*/
|
|
3420
|
+
frames: LiveOfferFrame[];
|
|
3421
|
+
};
|
|
3422
|
+
|
|
3423
|
+
/**
|
|
3424
|
+
* Describes the message nomos.runtime.v2.LiveStreamAnswer.
|
|
3425
|
+
* Use `create(LiveStreamAnswerSchema)` to create a new message.
|
|
3426
|
+
*/
|
|
3427
|
+
export declare const LiveStreamAnswerSchema: GenMessage<LiveStreamAnswer>;
|
|
3428
|
+
|
|
3429
|
+
/**
|
|
3430
|
+
* Inside a device's Peer Office only (architecture/peer_catchup.md): a procedure's request of its
|
|
3431
|
+
* workspace's stream. The office serves it over the workspace's live socket and answers the
|
|
3432
|
+
* procedure itself; a shell never performs it and refuses one it is handed.
|
|
3433
|
+
*
|
|
3434
|
+
* @generated from message nomos.runtime.v2.PeerStreamEffect
|
|
3435
|
+
*/
|
|
3436
|
+
export declare type PeerStreamEffect = Message<"nomos.runtime.v2.PeerStreamEffect"> & {
|
|
3437
|
+
/**
|
|
3438
|
+
* @generated from field: string effect_id = 1;
|
|
3439
|
+
*/
|
|
3440
|
+
effectId: string;
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* @generated from field: string workspace = 2;
|
|
3444
|
+
*/
|
|
3445
|
+
workspace: string;
|
|
3446
|
+
|
|
3447
|
+
/**
|
|
3448
|
+
* @generated from oneof nomos.runtime.v2.PeerStreamEffect.request
|
|
3449
|
+
*/
|
|
3450
|
+
request: {
|
|
3451
|
+
/**
|
|
3452
|
+
* @generated from field: nomos.runtime.v2.LiveCheckpointRequest checkpoint = 3;
|
|
3453
|
+
*/
|
|
3454
|
+
value: LiveCheckpointRequest;
|
|
3455
|
+
case: "checkpoint";
|
|
3456
|
+
} | {
|
|
3457
|
+
/**
|
|
3458
|
+
* @generated from field: nomos.runtime.v2.LiveHistoryRequest history = 4;
|
|
3459
|
+
*/
|
|
3460
|
+
value: LiveHistoryRequest;
|
|
3461
|
+
case: "history";
|
|
3462
|
+
} | {
|
|
3463
|
+
/**
|
|
3464
|
+
* @generated from field: nomos.runtime.v2.LiveRefRequest ref = 5;
|
|
3465
|
+
*/
|
|
3466
|
+
value: LiveRefRequest;
|
|
3467
|
+
case: "ref";
|
|
3468
|
+
} | {
|
|
3469
|
+
/**
|
|
3470
|
+
* Bring this copy level with the peer's main over the socket: batches of offers after its head,
|
|
3471
|
+
* or (with `remount_after_offers`, from a copy holding no work above its bookmark) a checkpoint
|
|
3472
|
+
* to remount when it is further behind than that.
|
|
3473
|
+
*
|
|
3474
|
+
* @generated from field: nomos.runtime.v2.LiveFrontier level = 6;
|
|
3475
|
+
*/
|
|
3476
|
+
value: LiveFrontier;
|
|
3477
|
+
case: "level";
|
|
3478
|
+
} | { case: undefined; value?: undefined };
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* Only start the ask and answer at once (an empty receipt): the procedure does other work (its
|
|
3482
|
+
* law products) while the stream delivers, then asks again without `start_only` to wait for it.
|
|
3483
|
+
*
|
|
3484
|
+
* @generated from field: bool start_only = 7;
|
|
3485
|
+
*/
|
|
3486
|
+
startOnly: boolean;
|
|
3487
|
+
|
|
3488
|
+
/**
|
|
3489
|
+
* Where the workspace is followed from (its custodian's workspace URL) and the credential the
|
|
3490
|
+
* stream presents, for a workspace this copy streams without a follow of its own (a prerequisite).
|
|
3491
|
+
*
|
|
3492
|
+
* @generated from field: string upstream = 8;
|
|
3493
|
+
*/
|
|
3494
|
+
upstream: string;
|
|
3495
|
+
|
|
3496
|
+
/**
|
|
3497
|
+
* @generated from field: string credential_capability = 9;
|
|
3498
|
+
*/
|
|
3499
|
+
credentialCapability: string;
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* Describes the message nomos.runtime.v2.PeerStreamEffect.
|
|
3504
|
+
* Use `create(PeerStreamEffectSchema)` to create a new message.
|
|
3505
|
+
*/
|
|
3506
|
+
export declare const PeerStreamEffectSchema: GenMessage<PeerStreamEffect>;
|
|
3507
|
+
|
|
3508
|
+
/**
|
|
3509
|
+
* @generated from message nomos.runtime.v2.PeerStreamReceipt
|
|
3510
|
+
*/
|
|
3511
|
+
export declare type PeerStreamReceipt = Message<"nomos.runtime.v2.PeerStreamReceipt"> & {
|
|
3512
|
+
/**
|
|
3513
|
+
* @generated from oneof nomos.runtime.v2.PeerStreamReceipt.outcome
|
|
3514
|
+
*/
|
|
3515
|
+
outcome: {
|
|
3516
|
+
/**
|
|
3517
|
+
* A complete, verified checkpoint, or the pack a history/ref request asked for.
|
|
3518
|
+
*
|
|
3519
|
+
* @generated from field: nomos.runtime.v2.LivePack pack = 1;
|
|
3520
|
+
*/
|
|
3521
|
+
value: LivePack;
|
|
3522
|
+
case: "pack";
|
|
3523
|
+
} | {
|
|
3524
|
+
/**
|
|
3525
|
+
* The stream brought this copy's main to the peer's announced main.
|
|
3526
|
+
*
|
|
3527
|
+
* @generated from field: string level = 2;
|
|
3528
|
+
*/
|
|
3529
|
+
value: string;
|
|
3530
|
+
case: "level";
|
|
3531
|
+
} | {
|
|
3532
|
+
/**
|
|
3533
|
+
* @generated from field: nomos.runtime.v2.LiveStreamRefusal refusal = 3;
|
|
3534
|
+
*/
|
|
3535
|
+
value: LiveStreamRefusal;
|
|
3536
|
+
case: "refusal";
|
|
3537
|
+
} | { case: undefined; value?: undefined };
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
* The checkpoint's outcome refs, present with a checkpoint pack.
|
|
3541
|
+
*
|
|
3542
|
+
* @generated from field: repeated nomos.runtime.v2.RetainedRef outcomes = 4;
|
|
3543
|
+
*/
|
|
3544
|
+
outcomes: RetainedRef[];
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* @generated from field: uint64 received_bytes = 5;
|
|
3548
|
+
*/
|
|
3549
|
+
receivedBytes: bigint;
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* The peer's durable main as it last said (a copy bookmarks only a durable head).
|
|
3553
|
+
*
|
|
3554
|
+
* @generated from field: optional string sealed = 6;
|
|
3555
|
+
*/
|
|
3556
|
+
sealed?: string | undefined;
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* The pack's bytes are a file in the kernel's filesystem (the transfer landed there chunk by chunk);
|
|
3560
|
+
* the pack field is then empty and the import names this file.
|
|
3561
|
+
*
|
|
3562
|
+
* @generated from field: optional string staged_pack_file = 7;
|
|
3563
|
+
*/
|
|
3564
|
+
stagedPackFile?: string | undefined;
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* With a checkpoint: the peer's main when it offered it (the copy levels to it after mounting).
|
|
3568
|
+
*
|
|
3569
|
+
* @generated from field: optional string main = 8;
|
|
3570
|
+
*/
|
|
3571
|
+
main?: string | undefined;
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
/**
|
|
3575
|
+
* Describes the message nomos.runtime.v2.PeerStreamReceipt.
|
|
3576
|
+
* Use `create(PeerStreamReceiptSchema)` to create a new message.
|
|
3577
|
+
*/
|
|
3578
|
+
export declare const PeerStreamReceiptSchema: GenMessage<PeerStreamReceipt>;
|
|
3579
|
+
|
|
3580
|
+
/**
|
|
3581
|
+
* Runtime-owned socket lifecycle; shells only operate the identified socket.
|
|
3582
|
+
*
|
|
3583
|
+
* @generated from message nomos.runtime.v2.PeerSocketEffect
|
|
3584
|
+
*/
|
|
3585
|
+
export declare type PeerSocketEffect = Message<"nomos.runtime.v2.PeerSocketEffect"> & {
|
|
3586
|
+
/**
|
|
3587
|
+
* @generated from field: string connection_id = 1;
|
|
3588
|
+
*/
|
|
3589
|
+
connectionId: string;
|
|
3590
|
+
|
|
3591
|
+
/**
|
|
3592
|
+
* @generated from oneof nomos.runtime.v2.PeerSocketEffect.operation
|
|
3593
|
+
*/
|
|
3594
|
+
operation: {
|
|
3595
|
+
/**
|
|
3596
|
+
* @generated from field: string open_url = 2;
|
|
3597
|
+
*/
|
|
3598
|
+
value: string;
|
|
3599
|
+
case: "openUrl";
|
|
3600
|
+
} | {
|
|
3601
|
+
/**
|
|
3602
|
+
* @generated from field: bytes send = 3;
|
|
3603
|
+
*/
|
|
3604
|
+
value: Uint8Array;
|
|
3605
|
+
case: "send";
|
|
3606
|
+
} | {
|
|
3607
|
+
/**
|
|
3608
|
+
* @generated from field: bool close = 4;
|
|
3609
|
+
*/
|
|
3610
|
+
value: boolean;
|
|
3611
|
+
case: "close";
|
|
3612
|
+
} | { case: undefined; value?: undefined };
|
|
3613
|
+
};
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Describes the message nomos.runtime.v2.PeerSocketEffect.
|
|
3617
|
+
* Use `create(PeerSocketEffectSchema)` to create a new message.
|
|
3618
|
+
*/
|
|
3619
|
+
export declare const PeerSocketEffectSchema: GenMessage<PeerSocketEffect>;
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* @generated from message nomos.runtime.v2.PeerSocketReceipt
|
|
3623
|
+
*/
|
|
3624
|
+
export declare type PeerSocketReceipt = Message<"nomos.runtime.v2.PeerSocketReceipt"> & {
|
|
3625
|
+
/**
|
|
3626
|
+
* @generated from field: string connection_id = 1;
|
|
3627
|
+
*/
|
|
3628
|
+
connectionId: string;
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* @generated from oneof nomos.runtime.v2.PeerSocketReceipt.observation
|
|
3632
|
+
*/
|
|
3633
|
+
observation: {
|
|
3634
|
+
/**
|
|
3635
|
+
* @generated from field: bool opened = 2;
|
|
3636
|
+
*/
|
|
3637
|
+
value: boolean;
|
|
3638
|
+
case: "opened";
|
|
3639
|
+
} | {
|
|
3640
|
+
/**
|
|
3641
|
+
* @generated from field: bytes received = 3;
|
|
3642
|
+
*/
|
|
3643
|
+
value: Uint8Array;
|
|
3644
|
+
case: "received";
|
|
3645
|
+
} | {
|
|
3646
|
+
/**
|
|
3647
|
+
* A shell that cannot say how the socket ended. Prefer `closure`.
|
|
3648
|
+
*
|
|
3649
|
+
* @generated from field: bool closed = 4;
|
|
3650
|
+
*/
|
|
3651
|
+
value: boolean;
|
|
3652
|
+
case: "closed";
|
|
3653
|
+
} | {
|
|
3654
|
+
/**
|
|
3655
|
+
* The socket ended, as the shell observed it (CAP-683).
|
|
3656
|
+
*
|
|
3657
|
+
* @generated from field: nomos.runtime.v2.PeerSocketClosure closure = 5;
|
|
3658
|
+
*/
|
|
3659
|
+
value: PeerSocketClosure;
|
|
3660
|
+
case: "closure";
|
|
3661
|
+
} | { case: undefined; value?: undefined };
|
|
3662
|
+
};
|
|
3663
|
+
|
|
3664
|
+
/**
|
|
3665
|
+
* Describes the message nomos.runtime.v2.PeerSocketReceipt.
|
|
3666
|
+
* Use `create(PeerSocketReceiptSchema)` to create a new message.
|
|
3667
|
+
*/
|
|
3668
|
+
export declare const PeerSocketReceiptSchema: GenMessage<PeerSocketReceipt>;
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* How a live socket ended. Bounded: the reason is at most 123 bytes (RFC 6455's close reason).
|
|
3672
|
+
*
|
|
3673
|
+
* @generated from message nomos.runtime.v2.PeerSocketClosure
|
|
3674
|
+
*/
|
|
3675
|
+
export declare type PeerSocketClosure = Message<"nomos.runtime.v2.PeerSocketClosure"> & {
|
|
3676
|
+
/**
|
|
3677
|
+
* The WebSocket close code, when the close carried one (1000, 1001, 1006, ...).
|
|
3678
|
+
*
|
|
3679
|
+
* @generated from field: optional uint32 code = 1;
|
|
3680
|
+
*/
|
|
3681
|
+
code?: number | undefined;
|
|
3682
|
+
|
|
3683
|
+
/**
|
|
3684
|
+
* @generated from field: string reason = 2;
|
|
3685
|
+
*/
|
|
3686
|
+
reason: string;
|
|
3687
|
+
|
|
3688
|
+
/**
|
|
3689
|
+
* The closing handshake completed.
|
|
3690
|
+
*
|
|
3691
|
+
* @generated from field: bool clean = 3;
|
|
3692
|
+
*/
|
|
3693
|
+
clean: boolean;
|
|
3694
|
+
|
|
3695
|
+
/**
|
|
3696
|
+
* @generated from field: nomos.runtime.v2.PeerSocketCloseInitiator initiator = 4;
|
|
3697
|
+
*/
|
|
3698
|
+
initiator: PeerSocketCloseInitiator;
|
|
3699
|
+
};
|
|
3700
|
+
|
|
3701
|
+
/**
|
|
3702
|
+
* Describes the message nomos.runtime.v2.PeerSocketClosure.
|
|
3703
|
+
* Use `create(PeerSocketClosureSchema)` to create a new message.
|
|
3704
|
+
*/
|
|
3705
|
+
export declare const PeerSocketClosureSchema: GenMessage<PeerSocketClosure>;
|
|
3706
|
+
|
|
3707
|
+
/**
|
|
3708
|
+
* One closed live connection, correlated with what that connection had carried (CAP-683). The
|
|
3709
|
+
* runtime keeps a bounded record of recent closes; nothing here costs a history walk or a network
|
|
3710
|
+
* call, and none of it is on the write path.
|
|
3711
|
+
*
|
|
3712
|
+
* @generated from message nomos.runtime.v2.LiveLinkClosure
|
|
3713
|
+
*/
|
|
3714
|
+
export declare type LiveLinkClosure = Message<"nomos.runtime.v2.LiveLinkClosure"> & {
|
|
3715
|
+
/**
|
|
3716
|
+
* @generated from field: string connection_id = 1;
|
|
3717
|
+
*/
|
|
3718
|
+
connectionId: string;
|
|
3719
|
+
|
|
3720
|
+
/**
|
|
3721
|
+
* @generated from field: string workspace = 2;
|
|
3722
|
+
*/
|
|
3723
|
+
workspace: string;
|
|
3724
|
+
|
|
3725
|
+
/**
|
|
3726
|
+
* @generated from field: nomos.runtime.v2.LiveLinkRole role = 3;
|
|
3727
|
+
*/
|
|
3728
|
+
role: LiveLinkRole;
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* @generated from field: nomos.runtime.v2.PeerSocketClosure socket = 4;
|
|
3732
|
+
*/
|
|
3733
|
+
socket?: PeerSocketClosure | undefined;
|
|
3734
|
+
|
|
3735
|
+
/**
|
|
3736
|
+
* @generated from field: uint64 closed_at_unix_millis = 5;
|
|
3737
|
+
*/
|
|
3738
|
+
closedAtUnixMillis: bigint;
|
|
3739
|
+
|
|
3740
|
+
/**
|
|
3741
|
+
* How long the socket had been open; 0 when it never opened.
|
|
3742
|
+
*
|
|
3743
|
+
* @generated from field: uint64 open_millis = 6;
|
|
3744
|
+
*/
|
|
3745
|
+
openMillis: bigint;
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* Admissions this connection carried, and the last of them.
|
|
3749
|
+
*
|
|
3750
|
+
* @generated from field: uint32 admissions = 7;
|
|
3751
|
+
*/
|
|
3752
|
+
admissions: number;
|
|
3753
|
+
|
|
3754
|
+
/**
|
|
3755
|
+
* @generated from field: optional string last_admission_request_id = 8;
|
|
3756
|
+
*/
|
|
3757
|
+
lastAdmissionRequestId?: string | undefined;
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* @generated from field: optional string last_admitted_main = 9;
|
|
3761
|
+
*/
|
|
3762
|
+
lastAdmittedMain?: string | undefined;
|
|
3763
|
+
|
|
3764
|
+
/**
|
|
3765
|
+
* @generated from field: optional string last_sealed_main = 10;
|
|
3766
|
+
*/
|
|
3767
|
+
lastSealedMain?: string | undefined;
|
|
3768
|
+
|
|
3769
|
+
/**
|
|
3770
|
+
* The last frontier the upstream announced on this connection.
|
|
3771
|
+
*
|
|
3772
|
+
* @generated from field: optional string last_frontier = 11;
|
|
3773
|
+
*/
|
|
3774
|
+
lastFrontier?: string | undefined;
|
|
3775
|
+
|
|
3776
|
+
/**
|
|
3777
|
+
* This replica's own batches still awaiting their admission when it closed.
|
|
3778
|
+
*
|
|
3779
|
+
* @generated from field: uint32 unanswered_batches = 12;
|
|
3780
|
+
*/
|
|
3781
|
+
unansweredBatches: number;
|
|
3782
|
+
};
|
|
3783
|
+
|
|
3784
|
+
/**
|
|
3785
|
+
* Describes the message nomos.runtime.v2.LiveLinkClosure.
|
|
3786
|
+
* Use `create(LiveLinkClosureSchema)` to create a new message.
|
|
3787
|
+
*/
|
|
3788
|
+
export declare const LiveLinkClosureSchema: GenMessage<LiveLinkClosure>;
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* @generated from message nomos.runtime.v2.PeerSocketObserved
|
|
3792
|
+
*/
|
|
3793
|
+
export declare type PeerSocketObserved = Message<"nomos.runtime.v2.PeerSocketObserved"> & {
|
|
3794
|
+
};
|
|
3795
|
+
|
|
3796
|
+
/**
|
|
3797
|
+
* Describes the message nomos.runtime.v2.PeerSocketObserved.
|
|
3798
|
+
* Use `create(PeerSocketObservedSchema)` to create a new message.
|
|
3799
|
+
*/
|
|
3800
|
+
export declare const PeerSocketObservedSchema: GenMessage<PeerSocketObserved>;
|
|
3801
|
+
|
|
3802
|
+
/**
|
|
3803
|
+
* @generated from message nomos.runtime.v2.ExportLiveOffersRequest
|
|
3804
|
+
*/
|
|
3805
|
+
export declare type ExportLiveOffersRequest = Message<"nomos.runtime.v2.ExportLiveOffersRequest"> & {
|
|
3806
|
+
/**
|
|
3807
|
+
* @generated from field: string session = 1;
|
|
3808
|
+
*/
|
|
3809
|
+
session: string;
|
|
3810
|
+
|
|
3811
|
+
/**
|
|
3812
|
+
* @generated from field: string base_head = 2;
|
|
3813
|
+
*/
|
|
3814
|
+
baseHead: string;
|
|
3815
|
+
};
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* Describes the message nomos.runtime.v2.ExportLiveOffersRequest.
|
|
3819
|
+
* Use `create(ExportLiveOffersRequestSchema)` to create a new message.
|
|
3820
|
+
*/
|
|
3821
|
+
export declare const ExportLiveOffersRequestSchema: GenMessage<ExportLiveOffersRequest>;
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* @generated from message nomos.runtime.v2.CustodyIntentOffer
|
|
3825
|
+
*/
|
|
3826
|
+
export declare type CustodyIntentOffer = Message<"nomos.runtime.v2.CustodyIntentOffer"> & {
|
|
3827
|
+
/**
|
|
3828
|
+
* @generated from field: string session = 1;
|
|
3829
|
+
*/
|
|
3830
|
+
session: string;
|
|
3831
|
+
|
|
3832
|
+
/**
|
|
3833
|
+
* @generated from field: string commit_oid = 2;
|
|
3834
|
+
*/
|
|
3835
|
+
commitOid: string;
|
|
3836
|
+
|
|
3837
|
+
/**
|
|
3838
|
+
* @generated from field: bytes change_usda = 3;
|
|
3839
|
+
*/
|
|
3840
|
+
changeUsda: Uint8Array;
|
|
3841
|
+
};
|
|
3842
|
+
|
|
3843
|
+
/**
|
|
3844
|
+
* Describes the message nomos.runtime.v2.CustodyIntentOffer.
|
|
3845
|
+
* Use `create(CustodyIntentOfferSchema)` to create a new message.
|
|
3846
|
+
*/
|
|
3847
|
+
export declare const CustodyIntentOfferSchema: GenMessage<CustodyIntentOffer>;
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* @generated from message nomos.runtime.v2.CustodyInlineOffers
|
|
3851
|
+
*/
|
|
3852
|
+
export declare type CustodyInlineOffers = Message<"nomos.runtime.v2.CustodyInlineOffers"> & {
|
|
3853
|
+
/**
|
|
3854
|
+
* @generated from field: repeated nomos.runtime.v2.CustodyIntentOffer offers = 1;
|
|
3855
|
+
*/
|
|
3856
|
+
offers: CustodyIntentOffer[];
|
|
3857
|
+
};
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* Describes the message nomos.runtime.v2.CustodyInlineOffers.
|
|
3861
|
+
* Use `create(CustodyInlineOffersSchema)` to create a new message.
|
|
3862
|
+
*/
|
|
3863
|
+
export declare const CustodyInlineOffersSchema: GenMessage<CustodyInlineOffers>;
|
|
3864
|
+
|
|
3865
|
+
/**
|
|
3866
|
+
* @generated from message nomos.runtime.v2.CustodySessionCandidate
|
|
3867
|
+
*/
|
|
3868
|
+
export declare type CustodySessionCandidate = Message<"nomos.runtime.v2.CustodySessionCandidate"> & {
|
|
3869
|
+
/**
|
|
3870
|
+
* @generated from field: string reference = 1;
|
|
3871
|
+
*/
|
|
3872
|
+
reference: string;
|
|
3873
|
+
};
|
|
3874
|
+
|
|
3875
|
+
/**
|
|
3876
|
+
* Describes the message nomos.runtime.v2.CustodySessionCandidate.
|
|
3877
|
+
* Use `create(CustodySessionCandidateSchema)` to create a new message.
|
|
3878
|
+
*/
|
|
3879
|
+
export declare const CustodySessionCandidateSchema: GenMessage<CustodySessionCandidate>;
|
|
3880
|
+
|
|
3881
|
+
/**
|
|
3882
|
+
* @generated from message nomos.runtime.v2.CustodyAdmission
|
|
3883
|
+
*/
|
|
3884
|
+
export declare type CustodyAdmission = Message<"nomos.runtime.v2.CustodyAdmission"> & {
|
|
3885
|
+
/**
|
|
3886
|
+
* @generated from field: string main = 1;
|
|
3887
|
+
*/
|
|
3888
|
+
main: string;
|
|
3889
|
+
|
|
3890
|
+
/**
|
|
3891
|
+
* @generated from field: optional string sealed_main = 2;
|
|
3892
|
+
*/
|
|
3893
|
+
sealedMain?: string | undefined;
|
|
3894
|
+
|
|
3895
|
+
/**
|
|
3896
|
+
* @generated from field: repeated nomos.runtime.v2.CustodySessionAdmission sessions = 3;
|
|
3897
|
+
*/
|
|
3898
|
+
sessions: CustodySessionAdmission[];
|
|
3899
|
+
|
|
3900
|
+
/**
|
|
3901
|
+
* @generated from field: repeated nomos.kernel.v1.BirthOutcome birth_outcomes = 4;
|
|
3902
|
+
*/
|
|
3903
|
+
birthOutcomes: BirthOutcome[];
|
|
3904
|
+
|
|
3905
|
+
/**
|
|
3906
|
+
* @generated from field: repeated nomos.runtime.v2.BornCustody born_custody = 5;
|
|
3907
|
+
*/
|
|
3908
|
+
bornCustody: BornCustody[];
|
|
3909
|
+
|
|
3910
|
+
/**
|
|
3911
|
+
* @generated from field: bytes result_pack = 6;
|
|
3912
|
+
*/
|
|
3913
|
+
resultPack: Uint8Array;
|
|
3914
|
+
|
|
3915
|
+
/**
|
|
3916
|
+
* @generated from field: optional string result_base = 7;
|
|
3917
|
+
*/
|
|
3918
|
+
resultBase?: string | undefined;
|
|
3919
|
+
|
|
3920
|
+
/**
|
|
3921
|
+
* @generated from field: nomos.runtime.v2.CustodyAdmissionTimings timings = 8;
|
|
3922
|
+
*/
|
|
3923
|
+
timings?: CustodyAdmissionTimings | undefined;
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* Present on peers that support resident reconciliation. True means the
|
|
3927
|
+
* requested common history is absent; only then use bulk Git recovery.
|
|
3928
|
+
*
|
|
3929
|
+
* @generated from field: optional bool recovery_required = 9;
|
|
3930
|
+
*/
|
|
3931
|
+
recoveryRequired?: boolean | undefined;
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* Exact peer-owned disposable work discovered while judging this batch.
|
|
3935
|
+
* A durable platform may carry this paper back to the same Peer Office; it
|
|
3936
|
+
* must not infer maintenance from refusal text or retry the offered intents.
|
|
3937
|
+
*
|
|
3938
|
+
* @generated from field: optional nomos.runtime.v2.MaintenanceScheduled local_maintenance = 10;
|
|
3939
|
+
*/
|
|
3940
|
+
localMaintenance?: MaintenanceScheduled | undefined;
|
|
3941
|
+
};
|
|
3942
|
+
|
|
3943
|
+
/**
|
|
3944
|
+
* Describes the message nomos.runtime.v2.CustodyAdmission.
|
|
3945
|
+
* Use `create(CustodyAdmissionSchema)` to create a new message.
|
|
3946
|
+
*/
|
|
3947
|
+
export declare const CustodyAdmissionSchema: GenMessage<CustodyAdmission>;
|
|
3948
|
+
|
|
3949
|
+
/**
|
|
3950
|
+
* @generated from message nomos.runtime.v2.CustodySessionAdmission
|
|
3158
3951
|
*/
|
|
3159
3952
|
export declare type CustodySessionAdmission = Message<"nomos.runtime.v2.CustodySessionAdmission"> & {
|
|
3160
3953
|
/**
|
|
@@ -3588,6 +4381,67 @@ export declare type OutboxTargetCount = Message<"nomos.runtime.v2.OutboxTargetCo
|
|
|
3588
4381
|
*/
|
|
3589
4382
|
export declare const OutboxTargetCountSchema: GenMessage<OutboxTargetCount>;
|
|
3590
4383
|
|
|
4384
|
+
/**
|
|
4385
|
+
* Every ref the remote advertises below `prefix`, each an independent history of its own (never
|
|
4386
|
+
* below `reference`'s shallow boundary). The shell fetches, without depth and without negotiation,
|
|
4387
|
+
* the advertised objects not in `held`, at most `limit` of them per fetch (0: no limit).
|
|
4388
|
+
*
|
|
4389
|
+
* @generated from message nomos.runtime.v2.PeerGitRefsAlongside
|
|
4390
|
+
*/
|
|
4391
|
+
export declare type PeerGitRefsAlongside = Message<"nomos.runtime.v2.PeerGitRefsAlongside"> & {
|
|
4392
|
+
/**
|
|
4393
|
+
* @generated from field: string prefix = 1;
|
|
4394
|
+
*/
|
|
4395
|
+
prefix: string;
|
|
4396
|
+
|
|
4397
|
+
/**
|
|
4398
|
+
* @generated from field: repeated string held = 2;
|
|
4399
|
+
*/
|
|
4400
|
+
held: string[];
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* @generated from field: uint32 limit = 3;
|
|
4404
|
+
*/
|
|
4405
|
+
limit: number;
|
|
4406
|
+
};
|
|
4407
|
+
|
|
4408
|
+
/**
|
|
4409
|
+
* Describes the message nomos.runtime.v2.PeerGitRefsAlongside.
|
|
4410
|
+
* Use `create(PeerGitRefsAlongsideSchema)` to create a new message.
|
|
4411
|
+
*/
|
|
4412
|
+
export declare const PeerGitRefsAlongsideSchema: GenMessage<PeerGitRefsAlongside>;
|
|
4413
|
+
|
|
4414
|
+
/**
|
|
4415
|
+
* The advertised refs below the prefix whose objects the peer holds once `pack` is imported: every
|
|
4416
|
+
* one already `held`, and every one this pack carries. The Peer Office chooses which to write.
|
|
4417
|
+
*
|
|
4418
|
+
* @generated from message nomos.runtime.v2.PeerGitRefsFetched
|
|
4419
|
+
*/
|
|
4420
|
+
export declare type PeerGitRefsFetched = Message<"nomos.runtime.v2.PeerGitRefsFetched"> & {
|
|
4421
|
+
/**
|
|
4422
|
+
* @generated from field: repeated nomos.runtime.v2.RetainedRef refs = 1;
|
|
4423
|
+
*/
|
|
4424
|
+
refs: RetainedRef[];
|
|
4425
|
+
|
|
4426
|
+
/**
|
|
4427
|
+
* @generated from field: bytes pack = 2;
|
|
4428
|
+
*/
|
|
4429
|
+
pack: Uint8Array;
|
|
4430
|
+
|
|
4431
|
+
/**
|
|
4432
|
+
* Advertised refs below the prefix that this fetch left for a later one (the `limit`).
|
|
4433
|
+
*
|
|
4434
|
+
* @generated from field: uint32 deferred = 3;
|
|
4435
|
+
*/
|
|
4436
|
+
deferred: number;
|
|
4437
|
+
};
|
|
4438
|
+
|
|
4439
|
+
/**
|
|
4440
|
+
* Describes the message nomos.runtime.v2.PeerGitRefsFetched.
|
|
4441
|
+
* Use `create(PeerGitRefsFetchedSchema)` to create a new message.
|
|
4442
|
+
*/
|
|
4443
|
+
export declare const PeerGitRefsFetchedSchema: GenMessage<PeerGitRefsFetched>;
|
|
4444
|
+
|
|
3591
4445
|
/**
|
|
3592
4446
|
* @generated from enum nomos.runtime.v2.ShareWorkspaceOutcome
|
|
3593
4447
|
*/
|
|
@@ -3703,3 +4557,73 @@ export enum DeviceRecoveryAdmissionStage {
|
|
|
3703
4557
|
* Describes the enum nomos.runtime.v2.DeviceRecoveryAdmissionStage.
|
|
3704
4558
|
*/
|
|
3705
4559
|
export declare const DeviceRecoveryAdmissionStageSchema: GenEnum<DeviceRecoveryAdmissionStage>;
|
|
4560
|
+
|
|
4561
|
+
/**
|
|
4562
|
+
* Who ended a live socket.
|
|
4563
|
+
*
|
|
4564
|
+
* @generated from enum nomos.runtime.v2.PeerSocketCloseInitiator
|
|
4565
|
+
*/
|
|
4566
|
+
export enum PeerSocketCloseInitiator {
|
|
4567
|
+
/**
|
|
4568
|
+
* @generated from enum value: PEER_SOCKET_CLOSE_INITIATOR_UNSPECIFIED = 0;
|
|
4569
|
+
*/
|
|
4570
|
+
UNSPECIFIED = 0,
|
|
4571
|
+
|
|
4572
|
+
/**
|
|
4573
|
+
* The runtime asked for it: a PeerSocketEffect close (a timed-out open, a disconnect).
|
|
4574
|
+
*
|
|
4575
|
+
* @generated from enum value: PEER_SOCKET_CLOSE_INITIATOR_RUNTIME = 1;
|
|
4576
|
+
*/
|
|
4577
|
+
RUNTIME = 1,
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* The shell, on its own account: the origin fence refused the open, a send found no open
|
|
4581
|
+
* socket, a receipt could not be delivered, or the host shut down.
|
|
4582
|
+
*
|
|
4583
|
+
* @generated from enum value: PEER_SOCKET_CLOSE_INITIATOR_SHELL = 2;
|
|
4584
|
+
*/
|
|
4585
|
+
SHELL = 2,
|
|
4586
|
+
|
|
4587
|
+
/**
|
|
4588
|
+
* The remote end or the network: a close frame, a reset, or a connect that failed.
|
|
4589
|
+
*
|
|
4590
|
+
* @generated from enum value: PEER_SOCKET_CLOSE_INITIATOR_REMOTE = 3;
|
|
4591
|
+
*/
|
|
4592
|
+
REMOTE = 3,
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* Describes the enum nomos.runtime.v2.PeerSocketCloseInitiator.
|
|
4597
|
+
*/
|
|
4598
|
+
export declare const PeerSocketCloseInitiatorSchema: GenEnum<PeerSocketCloseInitiator>;
|
|
4599
|
+
|
|
4600
|
+
/**
|
|
4601
|
+
* Which side of the live link a connection served.
|
|
4602
|
+
*
|
|
4603
|
+
* @generated from enum nomos.runtime.v2.LiveLinkRole
|
|
4604
|
+
*/
|
|
4605
|
+
export enum LiveLinkRole {
|
|
4606
|
+
/**
|
|
4607
|
+
* @generated from enum value: LIVE_LINK_ROLE_UNSPECIFIED = 0;
|
|
4608
|
+
*/
|
|
4609
|
+
UNSPECIFIED = 0,
|
|
4610
|
+
|
|
4611
|
+
/**
|
|
4612
|
+
* A replica following its upstream custodian.
|
|
4613
|
+
*
|
|
4614
|
+
* @generated from enum value: LIVE_LINK_ROLE_PEER = 1;
|
|
4615
|
+
*/
|
|
4616
|
+
PEER = 1,
|
|
4617
|
+
|
|
4618
|
+
/**
|
|
4619
|
+
* A hosted publisher relaying a custodian's frontier.
|
|
4620
|
+
*
|
|
4621
|
+
* @generated from enum value: LIVE_LINK_ROLE_RELAY = 2;
|
|
4622
|
+
*/
|
|
4623
|
+
RELAY = 2,
|
|
4624
|
+
}
|
|
4625
|
+
|
|
4626
|
+
/**
|
|
4627
|
+
* Describes the enum nomos.runtime.v2.LiveLinkRole.
|
|
4628
|
+
*/
|
|
4629
|
+
export declare const LiveLinkRoleSchema: GenEnum<LiveLinkRole>;
|