@vibelord/lanes 1.7.3 → 1.7.4
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/README.md +9 -0
- package/package.json +1 -1
- package/payload/lanes/VERSION +1 -1
- package/payload/lanes/bin/lanes +97 -17
- package/payload/lanes/bin/lanes-site-serve +15 -0
- package/payload/lanes/bin-rs/BINARIES.json +5 -0
- package/payload/lanes/container/lane-mcp +105 -5
- package/payload/lanes/container/lane_core.py +110 -0
- package/payload/lanes/container/throttle-pulse +159 -14
- package/payload/lanes/docs/ARCHITECTURE.md +108 -11
- package/payload/lanes/docs/DESIGN.md +10 -8
- package/payload/lanes/docs/INSTALL.md +1 -1
- package/payload/lanes/docs/RUNBOOK.md +297 -5
- package/payload/lanes/docs/USERGUIDE.md +11 -6
- package/payload/lanes/install/host-install.sh +14 -3
- package/payload/lanes/libexec/adopt.py +325 -0
- package/payload/lanes/libexec/cutover.py +656 -0
- package/payload/lanes/libexec/docsd.py +12 -8
- package/payload/lanes/libexec/doctor_lanes2.py +213 -0
- package/payload/lanes/libexec/economy_poll.py +87 -2
- package/payload/lanes/libexec/lanes_lib.py +465 -2
- package/payload/lanes/libexec/native.sh +38 -0
- package/payload/lanes/libexec/native_bin.py +668 -0
- package/payload/lanes/libexec/shadow.py +1311 -0
- package/payload/lanes/libexec/sidebar.py +252 -30
- package/payload/lanes/libexec/sidebar_status.py +373 -25
- package/payload/lanes/libexec/statusd.py +67 -3
- package/payload/lanes/libexec/tokens.py +99 -131
- package/payload/lanes/libexec/tokens.sh +1 -1
- package/payload/lanes/libexec/update.py +48 -5
- package/payload/lanes/libexec/users.py +282 -0
- package/payload/lanes/site/README.md +9 -0
- package/payload/lanes/site/conformance.py +280 -0
- package/payload/lanes/site/protocol.py +368 -0
- package/payload/lanes/site/server.py +314 -0
- package/payload/lanes/tokens/README.md +156 -0
- package/payload/lanes/tokens/generate.py +930 -0
- package/payload/lanes/tokens/generated/parity.v1.tsv +489 -0
- package/payload/lanes/tokens/generated/tokens.resolved.json +835 -0
- package/payload/lanes/tokens/tokens.v1.json +763 -0
- package/payload/lanes/tokens/tokens.v1.schema.json +143 -0
- package/payload/lanes/web/README.md +132 -4
- package/payload/lanes/web/directory.css +95 -0
- package/payload/lanes/web/directory.js +951 -0
- package/payload/lanes/web/generated/README.md +107 -0
- package/payload/lanes/web/generated/lanes2_protocol.d.mts +1162 -0
- package/payload/lanes/web/generated/lanes2_protocol.mjs +2333 -0
- package/payload/lanes/web/mobile.js +17 -21
- package/payload/lanes/web/tokens.css +137 -0
- package/payload/manifest.json +7 -4
|
@@ -0,0 +1,1162 @@
|
|
|
1
|
+
// GENERATED by crates/lanes-protocol/src/schema/codegen.rs from docs/contracts/lanes2/schema (sha256:8770ee3de77611ab0ae32f07efd29a6e9640a86292954de263a91f83cf8ad35c). Do not edit; regenerate with `LANES2_DECODERS_BLESS=1 cargo test -p lanes-protocol --lib schema::codegen` in a managed build job.
|
|
2
|
+
// Declarations of lanes2_protocol.mjs; consume them from JavaScript through JSDoc, for example
|
|
3
|
+
// /** @typedef {import('./generated/lanes2_protocol.mjs').Receipt} Receipt */
|
|
4
|
+
|
|
5
|
+
export declare const SCHEMA_DIGEST: string;
|
|
6
|
+
export declare const FRAME_MAX_BYTES: number;
|
|
7
|
+
export declare const NESTING_MAX: number;
|
|
8
|
+
|
|
9
|
+
/** Why a document was refused. */
|
|
10
|
+
export declare class Lanes2DecodeError extends Error {
|
|
11
|
+
constructor(kind: 'limit' | 'syntax' | 'schema', path: string, reason: string);
|
|
12
|
+
/** `limit`: refused before parsing (size or nesting); `syntax`: not strict JSON; `schema`: not the document. */
|
|
13
|
+
readonly kind: 'limit' | 'syntax' | 'schema';
|
|
14
|
+
/** JSON pointer of the refused value; '' is the root. */
|
|
15
|
+
readonly path: string;
|
|
16
|
+
readonly reason: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** Compact JSON of a decoded document, members in their own order. */
|
|
20
|
+
export declare function encode(value: unknown): string;
|
|
21
|
+
|
|
22
|
+
export type Frame =
|
|
23
|
+
| { frame: "hello"; body: Hello }
|
|
24
|
+
| { frame: "command"; body: Command }
|
|
25
|
+
| { frame: "receipt"; body: Receipt }
|
|
26
|
+
| { frame: "event"; body: Event }
|
|
27
|
+
| { frame: "subscribe"; body: Subscribe }
|
|
28
|
+
| { frame: "snapshot"; body: Snapshot }
|
|
29
|
+
| { frame: "resync"; body: Resync }
|
|
30
|
+
| { frame: "refused"; body: FrameRefusal };
|
|
31
|
+
|
|
32
|
+
/** Tolerant: unknown members of a newer peer are accepted and dropped. */
|
|
33
|
+
export interface Hello {
|
|
34
|
+
protocol: HelloProtocol;
|
|
35
|
+
role: HelloRole;
|
|
36
|
+
peer: HelloPeer;
|
|
37
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
38
|
+
qualification: string;
|
|
39
|
+
/** At most 64 items. */
|
|
40
|
+
capabilities: Array<HelloCapabilitiesItem>;
|
|
41
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
42
|
+
protocol_epoch?: bigint;
|
|
43
|
+
replay_horizon?: HelloReplayHorizon;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Tolerant: unknown members of a newer peer are accepted and dropped. */
|
|
47
|
+
export interface HelloProtocol {
|
|
48
|
+
/** Unsigned integer, 0 to 65535. */
|
|
49
|
+
major: number;
|
|
50
|
+
/** Unsigned integer, 0 to 65535. */
|
|
51
|
+
minor: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type HelloRole = "client" | "host";
|
|
55
|
+
|
|
56
|
+
/** Tolerant: unknown members of a newer peer are accepted and dropped. */
|
|
57
|
+
export interface HelloPeer {
|
|
58
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
59
|
+
product: string;
|
|
60
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
61
|
+
build: string;
|
|
62
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
63
|
+
instance_id: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/** Tolerant: unknown members of a newer peer are accepted and dropped. */
|
|
67
|
+
export interface HelloCapabilitiesItem {
|
|
68
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
69
|
+
name: string;
|
|
70
|
+
/** Unsigned integer, 0 to 65535. */
|
|
71
|
+
min_version: number;
|
|
72
|
+
/** Unsigned integer, 0 to 65535. */
|
|
73
|
+
max_version: number;
|
|
74
|
+
send: boolean;
|
|
75
|
+
receive: boolean;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** Tolerant: unknown members of a newer peer are accepted and dropped. */
|
|
79
|
+
export interface HelloReplayHorizon {
|
|
80
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
81
|
+
max_events: number;
|
|
82
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
83
|
+
max_bytes: bigint;
|
|
84
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
85
|
+
max_age_ms: bigint;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface Command {
|
|
89
|
+
v: 1;
|
|
90
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
91
|
+
request_id: string;
|
|
92
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
93
|
+
operation_id: string;
|
|
94
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
95
|
+
retry_epoch: bigint;
|
|
96
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
97
|
+
protocol_epoch: bigint;
|
|
98
|
+
target: CommandTarget;
|
|
99
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
100
|
+
expected_owner_epoch: bigint;
|
|
101
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
102
|
+
remaining_deadline_ms: number;
|
|
103
|
+
payload: CommandPayload;
|
|
104
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
105
|
+
expected_native_generation?: string;
|
|
106
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
107
|
+
expected_revision?: bigint;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface CommandTarget {
|
|
111
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
112
|
+
authority: string;
|
|
113
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
114
|
+
workspace_id: string;
|
|
115
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
116
|
+
lane_id: string;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type CommandPayload =
|
|
120
|
+
| { kind: "rename_lane"; args: CommandPayloadRenameLane }
|
|
121
|
+
| { kind: "cancel_operation"; args: CommandPayloadCancelOperation }
|
|
122
|
+
| { kind: "query_operation"; args: CommandPayloadQueryOperation }
|
|
123
|
+
| { kind: "set_view_mode"; args: CommandPayloadSetViewMode }
|
|
124
|
+
| { kind: "return_focus"; args: CommandPayloadReturnFocus }
|
|
125
|
+
| { kind: "resize_view"; args: CommandPayloadResizeView }
|
|
126
|
+
| { kind: "answer_prompt"; args: CommandPayloadAnswerPrompt };
|
|
127
|
+
|
|
128
|
+
export interface CommandPayloadRenameLane {
|
|
129
|
+
/** Text (no control character but LF and TAB), 1 to 256 characters, at most 256 UTF-8 bytes. */
|
|
130
|
+
display_name: string;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface CommandPayloadCancelOperation {
|
|
134
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
135
|
+
operation_id: string;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface CommandPayloadQueryOperation {
|
|
139
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
140
|
+
operation_id: string;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface CommandPayloadSetViewMode {
|
|
144
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
145
|
+
view_id: string;
|
|
146
|
+
mode: CommandPayloadSetViewModeMode;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type CommandPayloadSetViewModeMode = "holder" | "view";
|
|
150
|
+
|
|
151
|
+
export interface CommandPayloadReturnFocus {
|
|
152
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
153
|
+
view_id: string;
|
|
154
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
155
|
+
focus_token: string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface CommandPayloadResizeView {
|
|
159
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
160
|
+
view_id: string;
|
|
161
|
+
/** Unsigned integer, 0 to 65535. */
|
|
162
|
+
cols: number;
|
|
163
|
+
/** Unsigned integer, 0 to 65535. */
|
|
164
|
+
rows: number;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface CommandPayloadAnswerPrompt {
|
|
168
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
169
|
+
prompt_id: string;
|
|
170
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
171
|
+
prompt_revision: bigint;
|
|
172
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
173
|
+
option_id: string;
|
|
174
|
+
assurance: CommandPayloadAnswerPromptAssurance;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export type CommandPayloadAnswerPromptAssurance = "atomic_prompt_answer" | "verified_terminal_answer";
|
|
178
|
+
|
|
179
|
+
export interface Receipt {
|
|
180
|
+
v: 1;
|
|
181
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
182
|
+
operation_id: string;
|
|
183
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
184
|
+
revision: bigint;
|
|
185
|
+
state: ReceiptState;
|
|
186
|
+
effect_certainty: ReceiptEffectCertainty;
|
|
187
|
+
outcome: ReceiptOutcome;
|
|
188
|
+
/** At most 32 items. */
|
|
189
|
+
evidence_refs: Array<ReceiptEvidenceRefsItem>;
|
|
190
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
191
|
+
durable_at_unix_ms?: bigint;
|
|
192
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
193
|
+
request_id?: string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export type ReceiptState = "refused" | "queued" | "preparing" | "effect_authorized" | "keys_accepted" | "partial_input" | "outcome_unknown" | "applied" | "rejected_stale" | "failed_before_effect" | "cancelled_before_effect" | "expired_before_effect";
|
|
197
|
+
|
|
198
|
+
export type ReceiptEffectCertainty = "no_effect" | "navigation_possible" | "navigation_definite" | "submission_possible" | "holder_accepted" | "native_applied";
|
|
199
|
+
|
|
200
|
+
export type ReceiptOutcome =
|
|
201
|
+
| { status: "pending"; detail: ReceiptOutcomePending }
|
|
202
|
+
| { status: "result"; detail: ReceiptOutcomeResult }
|
|
203
|
+
| { status: "refusal"; detail: ReceiptOutcomeRefusal }
|
|
204
|
+
| { status: "unresolved"; detail: ReceiptOutcomeUnresolved };
|
|
205
|
+
|
|
206
|
+
export interface ReceiptOutcomePending {
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export interface ReceiptOutcomeResult {
|
|
210
|
+
/** Text (no control character but LF and TAB), 1 to 256 characters, at most 256 UTF-8 bytes. */
|
|
211
|
+
summary?: string;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface ReceiptOutcomeRefusal {
|
|
215
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
216
|
+
code: string;
|
|
217
|
+
/** Text (no control character but LF and TAB), 1 to 4096 characters, at most 4096 UTF-8 bytes. */
|
|
218
|
+
reason: string;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export interface ReceiptOutcomeUnresolved {
|
|
222
|
+
/** Text (no control character but LF and TAB), 1 to 4096 characters, at most 4096 UTF-8 bytes. */
|
|
223
|
+
reason: string;
|
|
224
|
+
requires_revalidation: boolean;
|
|
225
|
+
key_may_be_in_flight: boolean;
|
|
226
|
+
submission: ReceiptOutcomeUnresolvedSubmission;
|
|
227
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
228
|
+
last_observed_navigation_step?: number;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export type ReceiptOutcomeUnresolvedSubmission = "definitely_not_started" | "possibly_started";
|
|
232
|
+
|
|
233
|
+
export interface ReceiptEvidenceRefsItem {
|
|
234
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
235
|
+
witness: string;
|
|
236
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
237
|
+
reference: string;
|
|
238
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
239
|
+
target_generation?: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export interface Event {
|
|
243
|
+
v: 1;
|
|
244
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
245
|
+
subscription_stream_id: string;
|
|
246
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
247
|
+
delivery_sequence: bigint;
|
|
248
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
249
|
+
event_id: string;
|
|
250
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
251
|
+
source_cursor: string;
|
|
252
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
253
|
+
committed_revision: bigint;
|
|
254
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
255
|
+
owner_epoch: bigint;
|
|
256
|
+
payload: EventPayload;
|
|
257
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
258
|
+
target_generation?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type EventPayload =
|
|
262
|
+
| { kind: "directory_row"; data: LaneDirectoryRow }
|
|
263
|
+
| { kind: "directory_row_removed"; data: EventPayloadDirectoryRowRemoved }
|
|
264
|
+
| { kind: "prompt_opened"; data: EventPayloadPromptOpened }
|
|
265
|
+
| { kind: "prompt_closed"; data: EventPayloadPromptClosed }
|
|
266
|
+
| { kind: "receipt"; data: Receipt }
|
|
267
|
+
| { kind: "cursor_advance"; data: EventPayloadCursorAdvance };
|
|
268
|
+
|
|
269
|
+
export interface EventPayloadDirectoryRowRemoved {
|
|
270
|
+
lane: EventPayloadDirectoryRowRemovedLane;
|
|
271
|
+
reason: EventPayloadDirectoryRowRemovedReason;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export interface EventPayloadDirectoryRowRemovedLane {
|
|
275
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
276
|
+
authority: string;
|
|
277
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
278
|
+
workspace_id: string;
|
|
279
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
280
|
+
lane_id: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export type EventPayloadDirectoryRowRemovedReason = "removed" | "access_revoked" | "left_filter";
|
|
284
|
+
|
|
285
|
+
export interface EventPayloadPromptOpened {
|
|
286
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
287
|
+
prompt_id: string;
|
|
288
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
289
|
+
prompt_revision: bigint;
|
|
290
|
+
lane: EventPayloadPromptOpenedLane;
|
|
291
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
292
|
+
native_generation: string;
|
|
293
|
+
/** Text (no control character but LF and TAB), 1 to 4096 characters, at most 4096 UTF-8 bytes. */
|
|
294
|
+
question: string;
|
|
295
|
+
/** At most 32 items. */
|
|
296
|
+
options: Array<EventPayloadPromptOpenedOptionsItem>;
|
|
297
|
+
/** At most 2 items. */
|
|
298
|
+
assurances: Array<EventPayloadPromptOpenedAssurancesItem>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export interface EventPayloadPromptOpenedLane {
|
|
302
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
303
|
+
authority: string;
|
|
304
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
305
|
+
workspace_id: string;
|
|
306
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
307
|
+
lane_id: string;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface EventPayloadPromptOpenedOptionsItem {
|
|
311
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
312
|
+
option_id: string;
|
|
313
|
+
/** Text (no control character but LF and TAB), 1 to 256 characters, at most 256 UTF-8 bytes. */
|
|
314
|
+
label: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export type EventPayloadPromptOpenedAssurancesItem = "atomic_prompt_answer" | "verified_terminal_answer";
|
|
318
|
+
|
|
319
|
+
export interface EventPayloadPromptClosed {
|
|
320
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
321
|
+
prompt_id: string;
|
|
322
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
323
|
+
prompt_revision: bigint;
|
|
324
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
325
|
+
native_generation: string;
|
|
326
|
+
cause: EventPayloadPromptClosedCause;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export type EventPayloadPromptClosedCause = "answered" | "superseded" | "expired" | "cancelled" | "generation_ended";
|
|
330
|
+
|
|
331
|
+
export interface EventPayloadCursorAdvance {
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export interface Subscribe {
|
|
335
|
+
v: 1;
|
|
336
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
337
|
+
request_id: string;
|
|
338
|
+
filter: SubscribeFilter;
|
|
339
|
+
/** Unsigned integer, 0 to 65535. */
|
|
340
|
+
schema_revision: number;
|
|
341
|
+
/** Unsigned integer, 0 to 65535. */
|
|
342
|
+
page_limit?: number;
|
|
343
|
+
resume?: SubscribeResume;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export interface SubscribeFilter {
|
|
347
|
+
/** At most 64 items. */
|
|
348
|
+
workspace_ids: Array<string>;
|
|
349
|
+
/** At most 64 items. */
|
|
350
|
+
project_ids: Array<string>;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export interface SubscribeResume {
|
|
354
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
355
|
+
subscription_stream_id: string;
|
|
356
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
357
|
+
subscription_epoch: bigint;
|
|
358
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
359
|
+
resume_token: string;
|
|
360
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
361
|
+
last_delivery_sequence: bigint;
|
|
362
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
363
|
+
protocol_epoch: bigint;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export interface Snapshot {
|
|
367
|
+
v: 1;
|
|
368
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
369
|
+
request_id: string;
|
|
370
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
371
|
+
subscription_stream_id: string;
|
|
372
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
373
|
+
subscription_epoch: bigint;
|
|
374
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
375
|
+
source_cursor: string;
|
|
376
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
377
|
+
delivery_sequence: bigint;
|
|
378
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
379
|
+
page_index: number;
|
|
380
|
+
directory: LaneDirectoryProjection;
|
|
381
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
382
|
+
resume_token?: string;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface Resync {
|
|
386
|
+
v: 1;
|
|
387
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
388
|
+
subscription_stream_id: string;
|
|
389
|
+
reason: ResyncReason;
|
|
390
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
391
|
+
request_id?: string;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type ResyncReason = "delivery_gap" | "cursor_expired" | "subscription_epoch_changed" | "protocol_epoch_changed" | "authorization_changed" | "filter_changed" | "lagged" | "resume_token_invalid";
|
|
395
|
+
|
|
396
|
+
export interface FrameRefusal {
|
|
397
|
+
v: 1;
|
|
398
|
+
code: FrameRefusalCode;
|
|
399
|
+
/** Text (no control character but LF and TAB), 1 to 4096 characters, at most 4096 UTF-8 bytes. */
|
|
400
|
+
reason: string;
|
|
401
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
402
|
+
request_id?: string;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export type FrameRefusalCode = "malformed" | "frame_too_large" | "too_deep" | "invalid" | "wrong_direction" | "not_negotiated" | "stale_epoch" | "hello_after_negotiation" | "expected_hello" | "protocol_epoch_changed";
|
|
406
|
+
|
|
407
|
+
export interface RuntimeBinding {
|
|
408
|
+
v: 1;
|
|
409
|
+
product: RuntimeBindingProduct;
|
|
410
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
411
|
+
product_version: string;
|
|
412
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
413
|
+
install_id: string;
|
|
414
|
+
edge: RuntimeBindingEdge;
|
|
415
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
416
|
+
machine_id: string;
|
|
417
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
418
|
+
host_id: string;
|
|
419
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
420
|
+
boot_id: string;
|
|
421
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
422
|
+
session_id: string;
|
|
423
|
+
credential_source: RuntimeBindingCredentialSource;
|
|
424
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
425
|
+
schema_epoch: bigint;
|
|
426
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
427
|
+
capability_epoch: bigint;
|
|
428
|
+
/** At most 64 items. */
|
|
429
|
+
negotiated_operations: Array<RuntimeBindingNegotiatedOperationsItem>;
|
|
430
|
+
platform?: RuntimeBindingPlatform;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type RuntimeBindingProduct = "throttle_classic" | "throttle_rc";
|
|
434
|
+
|
|
435
|
+
export interface RuntimeBindingEdge {
|
|
436
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
437
|
+
endpoint_id: string;
|
|
438
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
439
|
+
authenticated_identity: string;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface RuntimeBindingCredentialSource {
|
|
443
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
444
|
+
kind: string;
|
|
445
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
446
|
+
reference: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export interface RuntimeBindingNegotiatedOperationsItem {
|
|
450
|
+
capability: RuntimeBindingNegotiatedOperationsItemCapability;
|
|
451
|
+
/** Unsigned integer, 0 to 65535. */
|
|
452
|
+
version: number;
|
|
453
|
+
initiator: RuntimeBindingNegotiatedOperationsItemInitiator;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type RuntimeBindingNegotiatedOperationsItemCapability = "holder_view_mode" | "prompt_observation" | "atomic_prompt_answer" | "verified_terminal_answer" | "exact_focus_return" | "independent_resize" | "durable_command_query" | "replay_horizon";
|
|
457
|
+
|
|
458
|
+
export type RuntimeBindingNegotiatedOperationsItemInitiator = "client" | "host";
|
|
459
|
+
|
|
460
|
+
export interface RuntimeBindingPlatform {
|
|
461
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
462
|
+
endpoint_id: string;
|
|
463
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
464
|
+
authenticated_identity: string;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export interface ExecutionBinding {
|
|
468
|
+
v: 1;
|
|
469
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
470
|
+
principal_id: string;
|
|
471
|
+
acting_lane: ExecutionBindingActingLane;
|
|
472
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
473
|
+
workspace_id: string;
|
|
474
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
475
|
+
run_id: string;
|
|
476
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
477
|
+
owner_epoch: bigint;
|
|
478
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
479
|
+
native_generation: string;
|
|
480
|
+
lineage: ExecutionBindingLineage;
|
|
481
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
482
|
+
policy_revision: bigint;
|
|
483
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
484
|
+
grant_revision: bigint;
|
|
485
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
486
|
+
horizon_unix_ms: bigint;
|
|
487
|
+
/** At most 64 items. */
|
|
488
|
+
allowed_routes: Array<string>;
|
|
489
|
+
/** At most 64 items. */
|
|
490
|
+
allowed_models: Array<string>;
|
|
491
|
+
concurrency_authority?: ExecutionBindingConcurrencyAuthority;
|
|
492
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
493
|
+
project_id?: string;
|
|
494
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
495
|
+
responsibility_id?: string;
|
|
496
|
+
spend_authority?: ExecutionBindingSpendAuthority;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export interface ExecutionBindingActingLane {
|
|
500
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
501
|
+
authority: string;
|
|
502
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
503
|
+
workspace_id: string;
|
|
504
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
505
|
+
lane_id: string;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export interface ExecutionBindingLineage {
|
|
509
|
+
kind: ExecutionBindingLineageKind;
|
|
510
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
511
|
+
root_run_id: string;
|
|
512
|
+
/** Unsigned integer, 0 to 65535. */
|
|
513
|
+
depth: number;
|
|
514
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
515
|
+
parent_run_id?: string;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type ExecutionBindingLineageKind = "initial" | "retry" | "fallback" | "child" | "replacement" | "resumed";
|
|
519
|
+
|
|
520
|
+
export interface ExecutionBindingConcurrencyAuthority {
|
|
521
|
+
owner: ExecutionBindingConcurrencyAuthorityOwner;
|
|
522
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
523
|
+
reference: string;
|
|
524
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
525
|
+
revision: bigint;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export type ExecutionBindingConcurrencyAuthorityOwner = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
529
|
+
|
|
530
|
+
export interface ExecutionBindingSpendAuthority {
|
|
531
|
+
owner: ExecutionBindingSpendAuthorityOwner;
|
|
532
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
533
|
+
reference: string;
|
|
534
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
535
|
+
revision: bigint;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export type ExecutionBindingSpendAuthorityOwner = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
539
|
+
|
|
540
|
+
export interface OwnerOperationReceipt {
|
|
541
|
+
v: 1;
|
|
542
|
+
scope: OwnerOperationReceiptScope;
|
|
543
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
544
|
+
operation_id: string;
|
|
545
|
+
/** Payload digest `sha256:<64 hex>`, 71 to 71 characters. */
|
|
546
|
+
payload_digest: string;
|
|
547
|
+
owner: OwnerOperationReceiptOwner;
|
|
548
|
+
custody: OwnerOperationReceiptCustody;
|
|
549
|
+
effect: OwnerOperationReceiptEffect;
|
|
550
|
+
uncertainty: OwnerOperationReceiptUncertainty;
|
|
551
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
552
|
+
source_revision: bigint;
|
|
553
|
+
retry_horizon: OwnerOperationReceiptRetryHorizon;
|
|
554
|
+
recovery: OwnerOperationReceiptRecovery;
|
|
555
|
+
/** At most 32 items. */
|
|
556
|
+
evidence_refs: Array<OwnerOperationReceiptEvidenceRefsItem>;
|
|
557
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
558
|
+
owner_operation_ref?: string;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export interface OwnerOperationReceiptScope {
|
|
562
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
563
|
+
principal: string;
|
|
564
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
565
|
+
kind: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export interface OwnerOperationReceiptOwner {
|
|
569
|
+
service: OwnerOperationReceiptOwnerService;
|
|
570
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
571
|
+
instance_id: string;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export type OwnerOperationReceiptOwnerService = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
575
|
+
|
|
576
|
+
export type OwnerOperationReceiptCustody = "accepted" | "refused" | "conflict" | "expired" | "unknown";
|
|
577
|
+
|
|
578
|
+
export type OwnerOperationReceiptEffect = "none" | "delivery_attempted" | "native_accepted" | "recipient_acknowledged" | "completed" | "failed";
|
|
579
|
+
|
|
580
|
+
export type OwnerOperationReceiptUncertainty = "certain" | "possible_effect" | "unknown_outcome";
|
|
581
|
+
|
|
582
|
+
export interface OwnerOperationReceiptRetryHorizon {
|
|
583
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
584
|
+
epoch: bigint;
|
|
585
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
586
|
+
not_after_unix_ms: bigint;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export interface OwnerOperationReceiptRecovery {
|
|
590
|
+
method: OwnerOperationReceiptRecoveryMethod;
|
|
591
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
592
|
+
reference: string;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export type OwnerOperationReceiptRecoveryMethod = "by_operation_id" | "by_owner_reference";
|
|
596
|
+
|
|
597
|
+
export interface OwnerOperationReceiptEvidenceRefsItem {
|
|
598
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
599
|
+
witness: string;
|
|
600
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
601
|
+
reference: string;
|
|
602
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
603
|
+
target_generation?: string;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export interface OperationTombstone {
|
|
607
|
+
v: 1;
|
|
608
|
+
scope: OperationTombstoneScope;
|
|
609
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
610
|
+
operation_id: string;
|
|
611
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
612
|
+
retry_epoch: bigint;
|
|
613
|
+
/** Payload digest `sha256:<64 hex>`, 71 to 71 characters. */
|
|
614
|
+
payload_digest: string;
|
|
615
|
+
owner: OperationTombstoneOwner;
|
|
616
|
+
final_custody: OperationTombstoneFinalCustody;
|
|
617
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
618
|
+
retained_until_unix_ms: bigint;
|
|
619
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
620
|
+
owner_operation_ref?: string;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export interface OperationTombstoneScope {
|
|
624
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
625
|
+
principal: string;
|
|
626
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
627
|
+
kind: string;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export interface OperationTombstoneOwner {
|
|
631
|
+
service: OperationTombstoneOwnerService;
|
|
632
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
633
|
+
instance_id: string;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export type OperationTombstoneOwnerService = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
637
|
+
|
|
638
|
+
export type OperationTombstoneFinalCustody = "accepted" | "refused" | "conflict" | "expired" | "unknown";
|
|
639
|
+
|
|
640
|
+
export interface RetryHorizon {
|
|
641
|
+
v: 1;
|
|
642
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
643
|
+
current_epoch: bigint;
|
|
644
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
645
|
+
oldest_accepted_epoch: bigint;
|
|
646
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
647
|
+
oldest_accepted_epoch_started_unix_ms: bigint;
|
|
648
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
649
|
+
receipt_retention_ms: bigint;
|
|
650
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
651
|
+
tombstone_retention_ms: bigint;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export interface SourceUpdate {
|
|
655
|
+
v: 1;
|
|
656
|
+
owner: SourceUpdateOwner;
|
|
657
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
658
|
+
runtime_instance_id: string;
|
|
659
|
+
scope: SourceUpdateScope;
|
|
660
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
661
|
+
source_revision: bigint;
|
|
662
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
663
|
+
cursor: string;
|
|
664
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
665
|
+
observed_at_unix_ms: bigint;
|
|
666
|
+
freshness: SourceUpdateFreshness;
|
|
667
|
+
coverage: SourceUpdateCoverage;
|
|
668
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
669
|
+
native_generation?: string;
|
|
670
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
671
|
+
run_id?: string;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export type SourceUpdateOwner = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
675
|
+
|
|
676
|
+
export interface SourceUpdateScope {
|
|
677
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
678
|
+
principal_id: string;
|
|
679
|
+
/** At most 64 items. */
|
|
680
|
+
workspace_ids: Array<string>;
|
|
681
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
682
|
+
authorization_epoch: bigint;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export type SourceUpdateFreshness = "fresh" | "stale" | "unknown";
|
|
686
|
+
|
|
687
|
+
export interface SourceUpdateCoverage {
|
|
688
|
+
state: SourceUpdateCoverageState;
|
|
689
|
+
/** At most 64 items. */
|
|
690
|
+
missing: Array<string>;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export type SourceUpdateCoverageState = "complete" | "partial" | "unknown";
|
|
694
|
+
|
|
695
|
+
export interface AdapterCapability {
|
|
696
|
+
v: 1;
|
|
697
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
698
|
+
adapter: string;
|
|
699
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
700
|
+
adapter_version: string;
|
|
701
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
702
|
+
qualification: string;
|
|
703
|
+
observe: AdapterCapabilityObserve;
|
|
704
|
+
attach: AdapterCapabilityAttach;
|
|
705
|
+
resume: AdapterCapabilityResume;
|
|
706
|
+
send: AdapterCapabilitySend;
|
|
707
|
+
answer: AdapterCapabilityAnswer;
|
|
708
|
+
cancel: AdapterCapabilityCancel;
|
|
709
|
+
recover: AdapterCapabilityRecover;
|
|
710
|
+
/** At most 64 items. */
|
|
711
|
+
schemas: Array<AdapterCapabilitySchemasItem>;
|
|
712
|
+
limits: AdapterCapabilityLimits;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export type AdapterCapabilityObserve = "unsupported" | "supported" | "qualified";
|
|
716
|
+
|
|
717
|
+
export type AdapterCapabilityAttach = "unsupported" | "supported" | "qualified";
|
|
718
|
+
|
|
719
|
+
export type AdapterCapabilityResume = "unsupported" | "supported" | "qualified";
|
|
720
|
+
|
|
721
|
+
export type AdapterCapabilitySend = "unsupported" | "supported" | "qualified";
|
|
722
|
+
|
|
723
|
+
export interface AdapterCapabilityAnswer {
|
|
724
|
+
atomic_prompt_answer: AdapterCapabilityAnswerAtomicPromptAnswer;
|
|
725
|
+
verified_terminal_answer: AdapterCapabilityAnswerVerifiedTerminalAnswer;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export type AdapterCapabilityAnswerAtomicPromptAnswer = "unsupported" | "supported" | "qualified";
|
|
729
|
+
|
|
730
|
+
export type AdapterCapabilityAnswerVerifiedTerminalAnswer = "unsupported" | "supported" | "qualified";
|
|
731
|
+
|
|
732
|
+
export type AdapterCapabilityCancel = "unsupported" | "supported" | "qualified";
|
|
733
|
+
|
|
734
|
+
export type AdapterCapabilityRecover = "unsupported" | "supported" | "qualified";
|
|
735
|
+
|
|
736
|
+
export interface AdapterCapabilitySchemasItem {
|
|
737
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
738
|
+
name: string;
|
|
739
|
+
/** Unsigned integer, 0 to 65535. */
|
|
740
|
+
version: number;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export interface AdapterCapabilityLimits {
|
|
744
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
745
|
+
max_input_bytes: number;
|
|
746
|
+
/** Unsigned integer, 0 to 65535. */
|
|
747
|
+
max_answer_options: number;
|
|
748
|
+
/** Unsigned integer, 0 to 65535. */
|
|
749
|
+
max_concurrent_operations: number;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export interface LaneDirectoryProjection {
|
|
753
|
+
v: 1;
|
|
754
|
+
scope: LaneDirectoryProjectionScope;
|
|
755
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
756
|
+
directory_revision: bigint;
|
|
757
|
+
/** Unsigned integer, 0 to 65535. */
|
|
758
|
+
schema_revision: number;
|
|
759
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
760
|
+
presentation_revision: bigint;
|
|
761
|
+
filter: LaneDirectoryProjectionFilter;
|
|
762
|
+
/** At most 64 items. */
|
|
763
|
+
sources: Array<LaneDirectoryProjectionSourcesItem>;
|
|
764
|
+
completeness: LaneDirectoryProjectionCompleteness;
|
|
765
|
+
counts: LaneDirectoryProjectionCounts;
|
|
766
|
+
/** At most 500 items. */
|
|
767
|
+
rows: Array<LaneDirectoryRow>;
|
|
768
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
769
|
+
next_page?: string;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export interface LaneDirectoryProjectionScope {
|
|
773
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
774
|
+
principal_id: string;
|
|
775
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
776
|
+
authorization_epoch: bigint;
|
|
777
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
778
|
+
runtime_instance_id: string;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export interface LaneDirectoryProjectionFilter {
|
|
782
|
+
/** At most 64 items. */
|
|
783
|
+
workspace_ids: Array<string>;
|
|
784
|
+
/** At most 64 items. */
|
|
785
|
+
project_ids: Array<string>;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export interface LaneDirectoryProjectionSourcesItem {
|
|
789
|
+
owner: LaneDirectoryProjectionSourcesItemOwner;
|
|
790
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
791
|
+
runtime_instance_id: string;
|
|
792
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 512 characters. */
|
|
793
|
+
cursor: string;
|
|
794
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
795
|
+
revision: bigint;
|
|
796
|
+
freshness: LaneDirectoryProjectionSourcesItemFreshness;
|
|
797
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
798
|
+
observed_at_unix_ms: bigint;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
export type LaneDirectoryProjectionSourcesItemOwner = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
802
|
+
|
|
803
|
+
export type LaneDirectoryProjectionSourcesItemFreshness = "fresh" | "stale" | "unknown";
|
|
804
|
+
|
|
805
|
+
export type LaneDirectoryProjectionCompleteness = "complete" | "incomplete";
|
|
806
|
+
|
|
807
|
+
export interface LaneDirectoryProjectionCounts {
|
|
808
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
809
|
+
total: number;
|
|
810
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
811
|
+
needs_you: number;
|
|
812
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
813
|
+
working: number;
|
|
814
|
+
/** Unsigned integer, 0 to 4294967295. */
|
|
815
|
+
done_unseen: number;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export interface LaneDirectoryRow {
|
|
819
|
+
v: 1;
|
|
820
|
+
lane: LaneDirectoryRowLane;
|
|
821
|
+
/** At most 64 items. */
|
|
822
|
+
memberships: Array<LaneDirectoryRowMembershipsItem>;
|
|
823
|
+
/** Text (no control character but LF and TAB), 1 to 256 characters, at most 256 UTF-8 bytes. */
|
|
824
|
+
label: string;
|
|
825
|
+
activity: LaneDirectoryRowActivity;
|
|
826
|
+
attention: LaneDirectoryRowAttention;
|
|
827
|
+
section: LaneDirectoryRowSection;
|
|
828
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
829
|
+
last_activity_unix_ms: bigint;
|
|
830
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
831
|
+
style_token: string;
|
|
832
|
+
source: LaneDirectoryRowSource;
|
|
833
|
+
/** At most 64 items. */
|
|
834
|
+
actions: Array<LaneDirectoryRowActionsItem>;
|
|
835
|
+
native_binding?: LaneDirectoryRowNativeBinding;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export interface LaneDirectoryRowLane {
|
|
839
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
840
|
+
authority: string;
|
|
841
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
842
|
+
workspace_id: string;
|
|
843
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
844
|
+
lane_id: string;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export interface LaneDirectoryRowMembershipsItem {
|
|
848
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
849
|
+
workspace_id: string;
|
|
850
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
851
|
+
project_id?: string;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export type LaneDirectoryRowActivity = "working" | "delegating" | "waiting_build" | "waiting_capacity" | "waiting_person" | "disconnected" | "stale" | "finished" | "stopped";
|
|
855
|
+
|
|
856
|
+
export type LaneDirectoryRowAttention = "none" | "approval" | "actionable_error" | "input";
|
|
857
|
+
|
|
858
|
+
export type LaneDirectoryRowSection = "needs_you" | "working" | "done_unseen" | "remaining" | "unregistered";
|
|
859
|
+
|
|
860
|
+
export interface LaneDirectoryRowSource {
|
|
861
|
+
owner: LaneDirectoryRowSourceOwner;
|
|
862
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
863
|
+
revision: bigint;
|
|
864
|
+
freshness: LaneDirectoryRowSourceFreshness;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
export type LaneDirectoryRowSourceOwner = "lanes_host" | "native_holder" | "throttle_edge" | "throttle_messaging" | "throttle_platform" | "buildctl";
|
|
868
|
+
|
|
869
|
+
export type LaneDirectoryRowSourceFreshness = "fresh" | "stale" | "unknown";
|
|
870
|
+
|
|
871
|
+
export interface LaneDirectoryRowActionsItem {
|
|
872
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
873
|
+
action: string;
|
|
874
|
+
availability: LaneDirectoryRowActionsItemAvailability;
|
|
875
|
+
/** Text (no control character but LF and TAB), 1 to 256 characters, at most 256 UTF-8 bytes. */
|
|
876
|
+
reason?: string;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export type LaneDirectoryRowActionsItemAvailability = "available" | "unsupported" | "unconfigured" | "unauthorized" | "unqualified" | "unhealthy";
|
|
880
|
+
|
|
881
|
+
export interface LaneDirectoryRowNativeBinding {
|
|
882
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
883
|
+
runtime_instance_id: string;
|
|
884
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
885
|
+
native_generation: string;
|
|
886
|
+
backend: LaneDirectoryRowNativeBindingBackend;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export type LaneDirectoryRowNativeBindingBackend = "tmux" | "zellij" | "zmx" | "exec" | "ssh";
|
|
890
|
+
|
|
891
|
+
export interface PrincipalPresentationPreferences {
|
|
892
|
+
v: 1;
|
|
893
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
894
|
+
principal_id: string;
|
|
895
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
896
|
+
revision: bigint;
|
|
897
|
+
/** At most 640 items. */
|
|
898
|
+
pinned: Array<PrincipalPresentationPreferencesPinnedItem>;
|
|
899
|
+
/** At most 640 items. */
|
|
900
|
+
hidden: Array<PrincipalPresentationPreferencesHiddenItem>;
|
|
901
|
+
/** At most 640 items. */
|
|
902
|
+
viewed_done: Array<PrincipalPresentationPreferencesViewedDoneItem>;
|
|
903
|
+
/** At most 640 items. */
|
|
904
|
+
board_order: Array<PrincipalPresentationPreferencesBoardOrderItem>;
|
|
905
|
+
theme: PrincipalPresentationPreferencesTheme;
|
|
906
|
+
resume?: PrincipalPresentationPreferencesResume;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
export interface PrincipalPresentationPreferencesPinnedItem {
|
|
910
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
911
|
+
authority: string;
|
|
912
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
913
|
+
workspace_id: string;
|
|
914
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
915
|
+
lane_id: string;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export interface PrincipalPresentationPreferencesHiddenItem {
|
|
919
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
920
|
+
authority: string;
|
|
921
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
922
|
+
workspace_id: string;
|
|
923
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
924
|
+
lane_id: string;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
export interface PrincipalPresentationPreferencesViewedDoneItem {
|
|
928
|
+
lane: PrincipalPresentationPreferencesViewedDoneItemLane;
|
|
929
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
930
|
+
done_revision: bigint;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export interface PrincipalPresentationPreferencesViewedDoneItemLane {
|
|
934
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
935
|
+
authority: string;
|
|
936
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
937
|
+
workspace_id: string;
|
|
938
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
939
|
+
lane_id: string;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
export interface PrincipalPresentationPreferencesBoardOrderItem {
|
|
943
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
944
|
+
authority: string;
|
|
945
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
946
|
+
workspace_id: string;
|
|
947
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
948
|
+
lane_id: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export interface PrincipalPresentationPreferencesTheme {
|
|
952
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
953
|
+
theme_id: string;
|
|
954
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
955
|
+
theme_revision: bigint;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export interface PrincipalPresentationPreferencesResume {
|
|
959
|
+
lane: PrincipalPresentationPreferencesResumeLane;
|
|
960
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
961
|
+
revision: bigint;
|
|
962
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
963
|
+
record_id?: string;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
export interface PrincipalPresentationPreferencesResumeLane {
|
|
967
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
968
|
+
authority: string;
|
|
969
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
970
|
+
workspace_id: string;
|
|
971
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
972
|
+
lane_id: string;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
export interface PreferencesUpdate {
|
|
976
|
+
v: 1;
|
|
977
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
978
|
+
expected_revision: bigint;
|
|
979
|
+
preferences: PreferencesUpdatePreferences;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export interface PreferencesUpdatePreferences {
|
|
983
|
+
/** At most 640 items. */
|
|
984
|
+
pinned: Array<PreferencesUpdatePreferencesPinnedItem>;
|
|
985
|
+
/** At most 640 items. */
|
|
986
|
+
hidden: Array<PreferencesUpdatePreferencesHiddenItem>;
|
|
987
|
+
/** At most 640 items. */
|
|
988
|
+
viewed_done: Array<PreferencesUpdatePreferencesViewedDoneItem>;
|
|
989
|
+
/** At most 640 items. */
|
|
990
|
+
board_order: Array<PreferencesUpdatePreferencesBoardOrderItem>;
|
|
991
|
+
theme: PreferencesUpdatePreferencesTheme;
|
|
992
|
+
resume?: PreferencesUpdatePreferencesResume;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export interface PreferencesUpdatePreferencesPinnedItem {
|
|
996
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
997
|
+
authority: string;
|
|
998
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
999
|
+
workspace_id: string;
|
|
1000
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1001
|
+
lane_id: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export interface PreferencesUpdatePreferencesHiddenItem {
|
|
1005
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
1006
|
+
authority: string;
|
|
1007
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1008
|
+
workspace_id: string;
|
|
1009
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1010
|
+
lane_id: string;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export interface PreferencesUpdatePreferencesViewedDoneItem {
|
|
1014
|
+
lane: PreferencesUpdatePreferencesViewedDoneItemLane;
|
|
1015
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
1016
|
+
done_revision: bigint;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
export interface PreferencesUpdatePreferencesViewedDoneItemLane {
|
|
1020
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
1021
|
+
authority: string;
|
|
1022
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1023
|
+
workspace_id: string;
|
|
1024
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1025
|
+
lane_id: string;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export interface PreferencesUpdatePreferencesBoardOrderItem {
|
|
1029
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
1030
|
+
authority: string;
|
|
1031
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1032
|
+
workspace_id: string;
|
|
1033
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1034
|
+
lane_id: string;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
export interface PreferencesUpdatePreferencesTheme {
|
|
1038
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
1039
|
+
theme_id: string;
|
|
1040
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
1041
|
+
theme_revision: bigint;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
export interface PreferencesUpdatePreferencesResume {
|
|
1045
|
+
lane: PreferencesUpdatePreferencesResumeLane;
|
|
1046
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
1047
|
+
revision: bigint;
|
|
1048
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1049
|
+
record_id?: string;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
export interface PreferencesUpdatePreferencesResumeLane {
|
|
1053
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 64 characters. */
|
|
1054
|
+
authority: string;
|
|
1055
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1056
|
+
workspace_id: string;
|
|
1057
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1058
|
+
lane_id: string;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export interface MessageCreatePayload {
|
|
1062
|
+
v: 1;
|
|
1063
|
+
/** Token (visible ASCII without `"` or `\`), 1 to 128 characters. */
|
|
1064
|
+
to: string;
|
|
1065
|
+
/** Text (no control character but LF and TAB), 1 to 4096 characters, at most 4096 UTF-8 bytes. */
|
|
1066
|
+
text: string;
|
|
1067
|
+
/** Unsigned 64-bit integer, at least 0. */
|
|
1068
|
+
ttl_s?: bigint;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/** Decode one Lanes 2.0 frame (RT 7) (`frame.schema.json`); throws Lanes2DecodeError. */
|
|
1072
|
+
export declare function decodeFrame(input: string | Uint8Array): Frame;
|
|
1073
|
+
|
|
1074
|
+
/** Decode one Lanes 2.0 bootstrap handshake (RT 7.1) (`hello.schema.json`); throws Lanes2DecodeError. */
|
|
1075
|
+
export declare function decodeHello(input: string | Uint8Array): Hello;
|
|
1076
|
+
|
|
1077
|
+
/** Decode one Lanes 2.0 command envelope (RT 7.2) (`command.schema.json`); throws Lanes2DecodeError. */
|
|
1078
|
+
export declare function decodeCommand(input: string | Uint8Array): Command;
|
|
1079
|
+
|
|
1080
|
+
/** Decode one Lanes 2.0 operation receipt (RT 7.2, 9.2) (`receipt.schema.json`); throws Lanes2DecodeError. */
|
|
1081
|
+
export declare function decodeReceipt(input: string | Uint8Array): Receipt;
|
|
1082
|
+
|
|
1083
|
+
/** Decode one Lanes 2.0 subscription event (RT 7.2, 7.3) (`event.schema.json`); throws Lanes2DecodeError. */
|
|
1084
|
+
export declare function decodeEvent(input: string | Uint8Array): Event;
|
|
1085
|
+
|
|
1086
|
+
/** Decode one Lanes 2.0 directory subscription (RT 7.3) (`subscribe.schema.json`); throws Lanes2DecodeError. */
|
|
1087
|
+
export declare function decodeSubscribe(input: string | Uint8Array): Subscribe;
|
|
1088
|
+
|
|
1089
|
+
/** Decode one Lanes 2.0 subscription snapshot (RT 7.3) (`snapshot.schema.json`); throws Lanes2DecodeError. */
|
|
1090
|
+
export declare function decodeSnapshot(input: string | Uint8Array): Snapshot;
|
|
1091
|
+
|
|
1092
|
+
/** Decode one Lanes 2.0 resynchronization (RT 7.3) (`resync.schema.json`); throws Lanes2DecodeError. */
|
|
1093
|
+
export declare function decodeResync(input: string | Uint8Array): Resync;
|
|
1094
|
+
|
|
1095
|
+
/** Decode one Lanes 2.0 boundary refusal (RT 7.1, 7.2) (`frame_refusal.schema.json`); throws Lanes2DecodeError. */
|
|
1096
|
+
export declare function decodeFrameRefusal(input: string | Uint8Array): FrameRefusal;
|
|
1097
|
+
|
|
1098
|
+
/** Decode one RuntimeBinding (TI 3, INT-01) (`runtime_binding.schema.json`); throws Lanes2DecodeError. */
|
|
1099
|
+
export declare function decodeRuntimeBinding(input: string | Uint8Array): RuntimeBinding;
|
|
1100
|
+
|
|
1101
|
+
/** Decode one ExecutionBinding (TI 3, INT-04) (`execution_binding.schema.json`); throws Lanes2DecodeError. */
|
|
1102
|
+
export declare function decodeExecutionBinding(input: string | Uint8Array): ExecutionBinding;
|
|
1103
|
+
|
|
1104
|
+
/** Decode one OwnerOperationReceipt (TI 3, 6) (`owner_operation_receipt.schema.json`); throws Lanes2DecodeError. */
|
|
1105
|
+
export declare function decodeOwnerOperationReceipt(input: string | Uint8Array): OwnerOperationReceipt;
|
|
1106
|
+
|
|
1107
|
+
/** Decode one Operation anti-replay tombstone (TI 6) (`operation_tombstone.schema.json`); throws Lanes2DecodeError. */
|
|
1108
|
+
export declare function decodeOperationTombstone(input: string | Uint8Array): OperationTombstone;
|
|
1109
|
+
|
|
1110
|
+
/** Decode one Owner retry horizon (TI 6, RT 6.2) (`retry_horizon.schema.json`); throws Lanes2DecodeError. */
|
|
1111
|
+
export declare function decodeRetryHorizon(input: string | Uint8Array): RetryHorizon;
|
|
1112
|
+
|
|
1113
|
+
/** Decode one SourceUpdate (TI 3, INT-12) (`source_update.schema.json`); throws Lanes2DecodeError. */
|
|
1114
|
+
export declare function decodeSourceUpdate(input: string | Uint8Array): SourceUpdate;
|
|
1115
|
+
|
|
1116
|
+
/** Decode one AdapterCapability (TI 3, RT 8, 9.4) (`adapter_capability.schema.json`); throws Lanes2DecodeError. */
|
|
1117
|
+
export declare function decodeAdapterCapability(input: string | Uint8Array): AdapterCapability;
|
|
1118
|
+
|
|
1119
|
+
/** Decode one LaneDirectoryProjection (TI 3, INT-12, IC 5.1) (`lane_directory_projection.schema.json`); throws Lanes2DecodeError. */
|
|
1120
|
+
export declare function decodeLaneDirectoryProjection(input: string | Uint8Array): LaneDirectoryProjection;
|
|
1121
|
+
|
|
1122
|
+
/** Decode one Lane directory row (TI 3, IC 5.1) (`lane_directory_row.schema.json`); throws Lanes2DecodeError. */
|
|
1123
|
+
export declare function decodeLaneDirectoryRow(input: string | Uint8Array): LaneDirectoryRow;
|
|
1124
|
+
|
|
1125
|
+
/** Decode one PrincipalPresentationPreferences (TI 3, IC 5.1) (`principal_presentation_preferences.schema.json`); throws Lanes2DecodeError. */
|
|
1126
|
+
export declare function decodePrincipalPresentationPreferences(input: string | Uint8Array): PrincipalPresentationPreferences;
|
|
1127
|
+
|
|
1128
|
+
/** Decode one Revision-checked preferences update (IC 5.1) (`preferences_update.schema.json`); throws Lanes2DecodeError. */
|
|
1129
|
+
export declare function decodePreferencesUpdate(input: string | Uint8Array): PreferencesUpdate;
|
|
1130
|
+
|
|
1131
|
+
/** Decode one Message creation payload, the digest input (TI 6, INT-07) (`message_create_payload.schema.json`); throws Lanes2DecodeError. */
|
|
1132
|
+
export declare function decodeMessageCreatePayload(input: string | Uint8Array): MessageCreatePayload;
|
|
1133
|
+
|
|
1134
|
+
/** Every document by name. */
|
|
1135
|
+
export interface Lanes2Documents {
|
|
1136
|
+
frame: Frame;
|
|
1137
|
+
hello: Hello;
|
|
1138
|
+
command: Command;
|
|
1139
|
+
receipt: Receipt;
|
|
1140
|
+
event: Event;
|
|
1141
|
+
subscribe: Subscribe;
|
|
1142
|
+
snapshot: Snapshot;
|
|
1143
|
+
resync: Resync;
|
|
1144
|
+
frame_refusal: FrameRefusal;
|
|
1145
|
+
runtime_binding: RuntimeBinding;
|
|
1146
|
+
execution_binding: ExecutionBinding;
|
|
1147
|
+
owner_operation_receipt: OwnerOperationReceipt;
|
|
1148
|
+
operation_tombstone: OperationTombstone;
|
|
1149
|
+
retry_horizon: RetryHorizon;
|
|
1150
|
+
source_update: SourceUpdate;
|
|
1151
|
+
adapter_capability: AdapterCapability;
|
|
1152
|
+
lane_directory_projection: LaneDirectoryProjection;
|
|
1153
|
+
lane_directory_row: LaneDirectoryRow;
|
|
1154
|
+
principal_presentation_preferences: PrincipalPresentationPreferences;
|
|
1155
|
+
preferences_update: PreferencesUpdate;
|
|
1156
|
+
message_create_payload: MessageCreatePayload;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export declare const DOCUMENT_NAMES: ReadonlyArray<keyof Lanes2Documents>;
|
|
1160
|
+
export declare const DOCUMENTS: {
|
|
1161
|
+
readonly [K in keyof Lanes2Documents]: (input: string | Uint8Array) => Lanes2Documents[K];
|
|
1162
|
+
};
|