@sealant/runtime-protocol-next 0.0.0-next.0 → 0.20.0-next.142

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.
@@ -0,0 +1,3387 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file sealant.proto.
5
+ */
6
+ export declare const file_sealant: GenFile;
7
+ /**
8
+ * @generated from message sealant.v1.EnvVar
9
+ */
10
+ export type EnvVar = Message<"sealant.v1.EnvVar"> & {
11
+ /**
12
+ * @generated from field: string key = 1;
13
+ */
14
+ key: string;
15
+ /**
16
+ * @generated from field: string value = 2;
17
+ */
18
+ value: string;
19
+ };
20
+ /**
21
+ * Describes the message sealant.v1.EnvVar.
22
+ * Use `create(EnvVarSchema)` to create a new message.
23
+ */
24
+ export declare const EnvVarSchema: GenMessage<EnvVar>;
25
+ /**
26
+ * @generated from message sealant.v1.CapturePolicy
27
+ */
28
+ export type CapturePolicy = Message<"sealant.v1.CapturePolicy"> & {
29
+ /**
30
+ * @generated from field: sealant.v1.CaptureMode stdout = 1;
31
+ */
32
+ stdout: CaptureMode;
33
+ /**
34
+ * @generated from field: sealant.v1.CaptureMode stderr = 2;
35
+ */
36
+ stderr: CaptureMode;
37
+ /**
38
+ * @generated from field: sealant.v1.CaptureMode stdin = 3;
39
+ */
40
+ stdin: CaptureMode;
41
+ };
42
+ /**
43
+ * Describes the message sealant.v1.CapturePolicy.
44
+ * Use `create(CapturePolicySchema)` to create a new message.
45
+ */
46
+ export declare const CapturePolicySchema: GenMessage<CapturePolicy>;
47
+ /**
48
+ * @generated from message sealant.v1.ArtifactRef
49
+ */
50
+ export type ArtifactRef = Message<"sealant.v1.ArtifactRef"> & {
51
+ /**
52
+ * @generated from field: string algo = 1;
53
+ */
54
+ algo: string;
55
+ /**
56
+ * @generated from field: string hash = 2;
57
+ */
58
+ hash: string;
59
+ /**
60
+ * @generated from field: uint64 bytes = 3;
61
+ */
62
+ bytes: bigint;
63
+ };
64
+ /**
65
+ * Describes the message sealant.v1.ArtifactRef.
66
+ * Use `create(ArtifactRefSchema)` to create a new message.
67
+ */
68
+ export declare const ArtifactRefSchema: GenMessage<ArtifactRef>;
69
+ /**
70
+ * @generated from message sealant.v1.TransformMeta
71
+ */
72
+ export type TransformMeta = Message<"sealant.v1.TransformMeta"> & {
73
+ /**
74
+ * @generated from field: bool redacted = 1;
75
+ */
76
+ redacted: boolean;
77
+ /**
78
+ * @generated from field: bool truncated = 2;
79
+ */
80
+ truncated: boolean;
81
+ /**
82
+ * @generated from field: bool coalesced = 3;
83
+ */
84
+ coalesced: boolean;
85
+ /**
86
+ * @generated from field: optional uint64 original_byte_count = 4;
87
+ */
88
+ originalByteCount?: bigint | undefined;
89
+ };
90
+ /**
91
+ * Describes the message sealant.v1.TransformMeta.
92
+ * Use `create(TransformMetaSchema)` to create a new message.
93
+ */
94
+ export declare const TransformMetaSchema: GenMessage<TransformMeta>;
95
+ /**
96
+ * @generated from message sealant.v1.Limits
97
+ */
98
+ export type Limits = Message<"sealant.v1.Limits"> & {
99
+ /**
100
+ * @generated from field: uint32 max_frame_bytes = 1;
101
+ */
102
+ maxFrameBytes: number;
103
+ /**
104
+ * @generated from field: uint32 max_processes = 2;
105
+ */
106
+ maxProcesses: number;
107
+ /**
108
+ * @generated from field: uint32 max_sessions = 3;
109
+ */
110
+ maxSessions: number;
111
+ /**
112
+ * @generated from field: uint64 event_queue_capacity = 4;
113
+ */
114
+ eventQueueCapacity: bigint;
115
+ /**
116
+ * @generated from field: uint64 spool_limit_bytes = 5;
117
+ */
118
+ spoolLimitBytes: bigint;
119
+ /**
120
+ * @generated from field: uint64 max_inline_payload_bytes = 6;
121
+ */
122
+ maxInlinePayloadBytes: bigint;
123
+ /**
124
+ * @generated from field: uint32 io_chunk_bytes = 7;
125
+ */
126
+ ioChunkBytes: number;
127
+ };
128
+ /**
129
+ * Describes the message sealant.v1.Limits.
130
+ * Use `create(LimitsSchema)` to create a new message.
131
+ */
132
+ export declare const LimitsSchema: GenMessage<Limits>;
133
+ /**
134
+ * @generated from message sealant.v1.FeatureMatrix
135
+ */
136
+ export type FeatureMatrix = Message<"sealant.v1.FeatureMatrix"> & {
137
+ /**
138
+ * @generated from field: bool io_capture = 1;
139
+ */
140
+ ioCapture: boolean;
141
+ /**
142
+ * @generated from field: bool pty = 2;
143
+ */
144
+ pty: boolean;
145
+ /**
146
+ * @generated from field: bool filesystem = 3;
147
+ */
148
+ filesystem: boolean;
149
+ /**
150
+ * @generated from field: sealant.v1.NetworkMode network = 4;
151
+ */
152
+ network: NetworkMode;
153
+ /**
154
+ * @generated from field: bool privileged = 5;
155
+ */
156
+ privileged: boolean;
157
+ /**
158
+ * @generated from field: bool pidfd = 6;
159
+ */
160
+ pidfd: boolean;
161
+ /**
162
+ * @generated from field: bool subreaper = 7;
163
+ */
164
+ subreaper: boolean;
165
+ /**
166
+ * Pipe-mode sessions (`OpenSessionArgs.mode = SESSION_MODE_PIPE`) available.
167
+ *
168
+ * @generated from field: bool pipe_sessions = 8;
169
+ */
170
+ pipeSessions: boolean;
171
+ };
172
+ /**
173
+ * Describes the message sealant.v1.FeatureMatrix.
174
+ * Use `create(FeatureMatrixSchema)` to create a new message.
175
+ */
176
+ export declare const FeatureMatrixSchema: GenMessage<FeatureMatrix>;
177
+ /**
178
+ * @generated from message sealant.v1.FeatureState
179
+ */
180
+ export type FeatureState = Message<"sealant.v1.FeatureState"> & {
181
+ /**
182
+ * @generated from field: sealant.v1.Feature feature = 1;
183
+ */
184
+ feature: Feature;
185
+ /**
186
+ * @generated from field: bool enabled = 2;
187
+ */
188
+ enabled: boolean;
189
+ };
190
+ /**
191
+ * Describes the message sealant.v1.FeatureState.
192
+ * Use `create(FeatureStateSchema)` to create a new message.
193
+ */
194
+ export declare const FeatureStateSchema: GenMessage<FeatureState>;
195
+ /**
196
+ * @generated from message sealant.v1.ProcessStarted
197
+ */
198
+ export type ProcessStarted = Message<"sealant.v1.ProcessStarted"> & {
199
+ /**
200
+ * @generated from field: int32 pid = 1;
201
+ */
202
+ pid: number;
203
+ /**
204
+ * @generated from field: int32 pgid = 2;
205
+ */
206
+ pgid: number;
207
+ /**
208
+ * @generated from field: bool pidfd = 3;
209
+ */
210
+ pidfd: boolean;
211
+ /**
212
+ * @generated from field: string executable = 4;
213
+ */
214
+ executable: string;
215
+ /**
216
+ * @generated from field: repeated string args = 5;
217
+ */
218
+ args: string[];
219
+ /**
220
+ * @generated from field: string cwd = 6;
221
+ */
222
+ cwd: string;
223
+ /**
224
+ * @generated from field: int64 started_at = 7;
225
+ */
226
+ startedAt: bigint;
227
+ };
228
+ /**
229
+ * Describes the message sealant.v1.ProcessStarted.
230
+ * Use `create(ProcessStartedSchema)` to create a new message.
231
+ */
232
+ export declare const ProcessStartedSchema: GenMessage<ProcessStarted>;
233
+ /**
234
+ * @generated from message sealant.v1.ProcessExited
235
+ */
236
+ export type ProcessExited = Message<"sealant.v1.ProcessExited"> & {
237
+ /**
238
+ * @generated from field: optional int32 exit_code = 1;
239
+ */
240
+ exitCode?: number | undefined;
241
+ /**
242
+ * @generated from field: optional int32 signal = 2;
243
+ */
244
+ signal?: number | undefined;
245
+ /**
246
+ * @generated from field: sealant.v1.ExitReason reason = 3;
247
+ */
248
+ reason: ExitReason;
249
+ /**
250
+ * @generated from field: uint64 duration_micros = 4;
251
+ */
252
+ durationMicros: bigint;
253
+ };
254
+ /**
255
+ * Describes the message sealant.v1.ProcessExited.
256
+ * Use `create(ProcessExitedSchema)` to create a new message.
257
+ */
258
+ export declare const ProcessExitedSchema: GenMessage<ProcessExited>;
259
+ /**
260
+ * @generated from message sealant.v1.IoChunk
261
+ */
262
+ export type IoChunk = Message<"sealant.v1.IoChunk"> & {
263
+ /**
264
+ * @generated from field: sealant.v1.StreamKind stream = 1;
265
+ */
266
+ stream: StreamKind;
267
+ /**
268
+ * @generated from field: uint64 byte_count = 2;
269
+ */
270
+ byteCount: bigint;
271
+ /**
272
+ * @generated from field: uint64 stream_offset = 3;
273
+ */
274
+ streamOffset: bigint;
275
+ /**
276
+ * @generated from field: optional bytes content = 4;
277
+ */
278
+ content?: Uint8Array | undefined;
279
+ /**
280
+ * @generated from field: optional sealant.v1.ArtifactRef artifact = 5;
281
+ */
282
+ artifact?: ArtifactRef | undefined;
283
+ /**
284
+ * @generated from field: optional sealant.v1.TransformMeta transform = 6;
285
+ */
286
+ transform?: TransformMeta | undefined;
287
+ };
288
+ /**
289
+ * Describes the message sealant.v1.IoChunk.
290
+ * Use `create(IoChunkSchema)` to create a new message.
291
+ */
292
+ export declare const IoChunkSchema: GenMessage<IoChunk>;
293
+ /**
294
+ * @generated from message sealant.v1.RuntimeStateChanged
295
+ */
296
+ export type RuntimeStateChanged = Message<"sealant.v1.RuntimeStateChanged"> & {
297
+ /**
298
+ * @generated from field: sealant.v1.RuntimeState state = 1;
299
+ */
300
+ state: RuntimeState;
301
+ /**
302
+ * @generated from field: optional string reason = 2;
303
+ */
304
+ reason?: string | undefined;
305
+ };
306
+ /**
307
+ * Describes the message sealant.v1.RuntimeStateChanged.
308
+ * Use `create(RuntimeStateChangedSchema)` to create a new message.
309
+ */
310
+ export declare const RuntimeStateChangedSchema: GenMessage<RuntimeStateChanged>;
311
+ /**
312
+ * @generated from message sealant.v1.RuntimeHeartbeat
313
+ */
314
+ export type RuntimeHeartbeat = Message<"sealant.v1.RuntimeHeartbeat"> & {
315
+ /**
316
+ * @generated from field: sealant.v1.RuntimeState state = 1;
317
+ */
318
+ state: RuntimeState;
319
+ };
320
+ /**
321
+ * Describes the message sealant.v1.RuntimeHeartbeat.
322
+ * Use `create(RuntimeHeartbeatSchema)` to create a new message.
323
+ */
324
+ export declare const RuntimeHeartbeatSchema: GenMessage<RuntimeHeartbeat>;
325
+ /**
326
+ * @generated from message sealant.v1.TelemetryDropped
327
+ */
328
+ export type TelemetryDropped = Message<"sealant.v1.TelemetryDropped"> & {
329
+ /**
330
+ * @generated from field: string reason = 1;
331
+ */
332
+ reason: string;
333
+ /**
334
+ * @generated from field: uint64 count = 2;
335
+ */
336
+ count: bigint;
337
+ /**
338
+ * @generated from field: sealant.v1.EventPriority priority = 3;
339
+ */
340
+ priority: EventPriority;
341
+ };
342
+ /**
343
+ * Describes the message sealant.v1.TelemetryDropped.
344
+ * Use `create(TelemetryDroppedSchema)` to create a new message.
345
+ */
346
+ export declare const TelemetryDroppedSchema: GenMessage<TelemetryDropped>;
347
+ /**
348
+ * @generated from message sealant.v1.FileEntry
349
+ */
350
+ export type FileEntry = Message<"sealant.v1.FileEntry"> & {
351
+ /**
352
+ * @generated from field: string path = 1;
353
+ */
354
+ path: string;
355
+ /**
356
+ * @generated from field: sealant.v1.FileType file_type = 2;
357
+ */
358
+ fileType: FileType;
359
+ /**
360
+ * @generated from field: uint64 size = 3;
361
+ */
362
+ size: bigint;
363
+ /**
364
+ * @generated from field: int64 mtime_micros = 4;
365
+ */
366
+ mtimeMicros: bigint;
367
+ /**
368
+ * @generated from field: uint32 mode = 5;
369
+ */
370
+ mode: number;
371
+ /**
372
+ * @generated from field: optional string hash = 6;
373
+ */
374
+ hash?: string | undefined;
375
+ /**
376
+ * @generated from field: optional string symlink_target = 7;
377
+ */
378
+ symlinkTarget?: string | undefined;
379
+ };
380
+ /**
381
+ * Describes the message sealant.v1.FileEntry.
382
+ * Use `create(FileEntrySchema)` to create a new message.
383
+ */
384
+ export declare const FileEntrySchema: GenMessage<FileEntry>;
385
+ /**
386
+ * @generated from message sealant.v1.FileChange
387
+ */
388
+ export type FileChange = Message<"sealant.v1.FileChange"> & {
389
+ /**
390
+ * @generated from field: sealant.v1.FileChangeKind kind = 1;
391
+ */
392
+ kind: FileChangeKind;
393
+ /**
394
+ * @generated from field: string path = 2;
395
+ */
396
+ path: string;
397
+ /**
398
+ * @generated from field: optional string rename_from = 3;
399
+ */
400
+ renameFrom?: string | undefined;
401
+ /**
402
+ * @generated from field: optional sealant.v1.FileEntry entry = 4;
403
+ */
404
+ entry?: FileEntry | undefined;
405
+ /**
406
+ * @generated from field: bool certain = 5;
407
+ */
408
+ certain: boolean;
409
+ };
410
+ /**
411
+ * Describes the message sealant.v1.FileChange.
412
+ * Use `create(FileChangeSchema)` to create a new message.
413
+ */
414
+ export declare const FileChangeSchema: GenMessage<FileChange>;
415
+ /**
416
+ * @generated from message sealant.v1.FileWatchOverflow
417
+ */
418
+ export type FileWatchOverflow = Message<"sealant.v1.FileWatchOverflow"> & {
419
+ /**
420
+ * @generated from field: string root = 1;
421
+ */
422
+ root: string;
423
+ };
424
+ /**
425
+ * Describes the message sealant.v1.FileWatchOverflow.
426
+ * Use `create(FileWatchOverflowSchema)` to create a new message.
427
+ */
428
+ export declare const FileWatchOverflowSchema: GenMessage<FileWatchOverflow>;
429
+ /**
430
+ * @generated from message sealant.v1.FileSnapshotCompleted
431
+ */
432
+ export type FileSnapshotCompleted = Message<"sealant.v1.FileSnapshotCompleted"> & {
433
+ /**
434
+ * @generated from field: string root = 1;
435
+ */
436
+ root: string;
437
+ /**
438
+ * @generated from field: uint64 file_count = 2;
439
+ */
440
+ fileCount: bigint;
441
+ };
442
+ /**
443
+ * Describes the message sealant.v1.FileSnapshotCompleted.
444
+ * Use `create(FileSnapshotCompletedSchema)` to create a new message.
445
+ */
446
+ export declare const FileSnapshotCompletedSchema: GenMessage<FileSnapshotCompleted>;
447
+ /**
448
+ * @generated from message sealant.v1.FileDiffAvailable
449
+ */
450
+ export type FileDiffAvailable = Message<"sealant.v1.FileDiffAvailable"> & {
451
+ /**
452
+ * @generated from field: uint64 added = 1;
453
+ */
454
+ added: bigint;
455
+ /**
456
+ * @generated from field: uint64 modified = 2;
457
+ */
458
+ modified: bigint;
459
+ /**
460
+ * @generated from field: uint64 deleted = 3;
461
+ */
462
+ deleted: bigint;
463
+ /**
464
+ * @generated from field: uint64 renamed = 4;
465
+ */
466
+ renamed: bigint;
467
+ };
468
+ /**
469
+ * Describes the message sealant.v1.FileDiffAvailable.
470
+ * Use `create(FileDiffAvailableSchema)` to create a new message.
471
+ */
472
+ export declare const FileDiffAvailableSchema: GenMessage<FileDiffAvailable>;
473
+ /**
474
+ * @generated from message sealant.v1.NetworkRequest
475
+ */
476
+ export type NetworkRequest = Message<"sealant.v1.NetworkRequest"> & {
477
+ /**
478
+ * @generated from field: sealant.v1.NetworkScheme scheme = 1;
479
+ */
480
+ scheme: NetworkScheme;
481
+ /**
482
+ * @generated from field: optional string method = 2;
483
+ */
484
+ method?: string | undefined;
485
+ /**
486
+ * @generated from field: string host = 3;
487
+ */
488
+ host: string;
489
+ /**
490
+ * @generated from field: uint32 port = 4;
491
+ */
492
+ port: number;
493
+ /**
494
+ * @generated from field: optional string path = 5;
495
+ */
496
+ path?: string | undefined;
497
+ /**
498
+ * @generated from field: optional uint32 status = 6;
499
+ */
500
+ status?: number | undefined;
501
+ /**
502
+ * @generated from field: uint64 bytes_sent = 7;
503
+ */
504
+ bytesSent: bigint;
505
+ /**
506
+ * @generated from field: uint64 bytes_received = 8;
507
+ */
508
+ bytesReceived: bigint;
509
+ /**
510
+ * @generated from field: uint64 duration_micros = 9;
511
+ */
512
+ durationMicros: bigint;
513
+ };
514
+ /**
515
+ * Describes the message sealant.v1.NetworkRequest.
516
+ * Use `create(NetworkRequestSchema)` to create a new message.
517
+ */
518
+ export declare const NetworkRequestSchema: GenMessage<NetworkRequest>;
519
+ /**
520
+ * @generated from message sealant.v1.NetworkSourceObserved
521
+ */
522
+ export type NetworkSourceObserved = Message<"sealant.v1.NetworkSourceObserved"> & {
523
+ /**
524
+ * @generated from field: string host = 1;
525
+ */
526
+ host: string;
527
+ /**
528
+ * @generated from field: repeated string resolved_ips = 2;
529
+ */
530
+ resolvedIps: string[];
531
+ /**
532
+ * @generated from field: uint32 port = 3;
533
+ */
534
+ port: number;
535
+ /**
536
+ * @generated from field: optional sealant.v1.NetworkScheme scheme = 4;
537
+ */
538
+ scheme?: NetworkScheme | undefined;
539
+ /**
540
+ * @generated from field: optional string method = 5;
541
+ */
542
+ method?: string | undefined;
543
+ /**
544
+ * @generated from field: optional string path = 6;
545
+ */
546
+ path?: string | undefined;
547
+ /**
548
+ * @generated from field: optional uint32 status = 7;
549
+ */
550
+ status?: number | undefined;
551
+ };
552
+ /**
553
+ * Describes the message sealant.v1.NetworkSourceObserved.
554
+ * Use `create(NetworkSourceObservedSchema)` to create a new message.
555
+ */
556
+ export declare const NetworkSourceObservedSchema: GenMessage<NetworkSourceObserved>;
557
+ /**
558
+ * @generated from message sealant.v1.EventEnvelope
559
+ */
560
+ export type EventEnvelope = Message<"sealant.v1.EventEnvelope"> & {
561
+ /**
562
+ * @generated from field: uint32 schema_version = 1;
563
+ */
564
+ schemaVersion: number;
565
+ /**
566
+ * @generated from field: string event_id = 2;
567
+ */
568
+ eventId: string;
569
+ /**
570
+ * @generated from field: string runtime_id = 3;
571
+ */
572
+ runtimeId: string;
573
+ /**
574
+ * @generated from field: optional string execution_id = 4;
575
+ */
576
+ executionId?: string | undefined;
577
+ /**
578
+ * @generated from field: optional string session_id = 5;
579
+ */
580
+ sessionId?: string | undefined;
581
+ /**
582
+ * @generated from field: optional string process_id = 6;
583
+ */
584
+ processId?: string | undefined;
585
+ /**
586
+ * @generated from field: optional string request_id = 7;
587
+ */
588
+ requestId?: string | undefined;
589
+ /**
590
+ * @generated from field: uint64 sequence = 8;
591
+ */
592
+ sequence: bigint;
593
+ /**
594
+ * @generated from field: int64 observed_at = 9;
595
+ */
596
+ observedAt: bigint;
597
+ /**
598
+ * @generated from field: uint64 monotonic_timestamp = 10;
599
+ */
600
+ monotonicTimestamp: bigint;
601
+ /**
602
+ * @generated from field: sealant.v1.CaptureMethod capture_method = 11;
603
+ */
604
+ captureMethod: CaptureMethod;
605
+ /**
606
+ * @generated from field: sealant.v1.Confidence confidence = 12;
607
+ */
608
+ confidence: Confidence;
609
+ /**
610
+ * @generated from oneof sealant.v1.EventEnvelope.payload
611
+ */
612
+ payload: {
613
+ /**
614
+ * @generated from field: sealant.v1.RuntimeStateChanged runtime_state_changed = 20;
615
+ */
616
+ value: RuntimeStateChanged;
617
+ case: "runtimeStateChanged";
618
+ } | {
619
+ /**
620
+ * @generated from field: sealant.v1.RuntimeHeartbeat runtime_heartbeat = 21;
621
+ */
622
+ value: RuntimeHeartbeat;
623
+ case: "runtimeHeartbeat";
624
+ } | {
625
+ /**
626
+ * @generated from field: sealant.v1.ProcessStarted process_started = 22;
627
+ */
628
+ value: ProcessStarted;
629
+ case: "processStarted";
630
+ } | {
631
+ /**
632
+ * @generated from field: sealant.v1.ProcessExited process_exited = 23;
633
+ */
634
+ value: ProcessExited;
635
+ case: "processExited";
636
+ } | {
637
+ /**
638
+ * @generated from field: sealant.v1.IoChunk io_chunk = 24;
639
+ */
640
+ value: IoChunk;
641
+ case: "ioChunk";
642
+ } | {
643
+ /**
644
+ * @generated from field: sealant.v1.TelemetryDropped telemetry_dropped = 25;
645
+ */
646
+ value: TelemetryDropped;
647
+ case: "telemetryDropped";
648
+ } | {
649
+ /**
650
+ * @generated from field: sealant.v1.FileChange file_change = 26;
651
+ */
652
+ value: FileChange;
653
+ case: "fileChange";
654
+ } | {
655
+ /**
656
+ * @generated from field: sealant.v1.FileWatchOverflow file_watch_overflow = 27;
657
+ */
658
+ value: FileWatchOverflow;
659
+ case: "fileWatchOverflow";
660
+ } | {
661
+ /**
662
+ * @generated from field: sealant.v1.FileSnapshotCompleted file_snapshot_completed = 28;
663
+ */
664
+ value: FileSnapshotCompleted;
665
+ case: "fileSnapshotCompleted";
666
+ } | {
667
+ /**
668
+ * @generated from field: sealant.v1.FileDiffAvailable file_diff_available = 29;
669
+ */
670
+ value: FileDiffAvailable;
671
+ case: "fileDiffAvailable";
672
+ } | {
673
+ /**
674
+ * @generated from field: sealant.v1.NetworkRequest network_request = 30;
675
+ */
676
+ value: NetworkRequest;
677
+ case: "networkRequest";
678
+ } | {
679
+ /**
680
+ * @generated from field: sealant.v1.NetworkSourceObserved network_source_observed = 31;
681
+ */
682
+ value: NetworkSourceObserved;
683
+ case: "networkSourceObserved";
684
+ } | {
685
+ case: undefined;
686
+ value?: undefined;
687
+ };
688
+ };
689
+ /**
690
+ * Describes the message sealant.v1.EventEnvelope.
691
+ * Use `create(EventEnvelopeSchema)` to create a new message.
692
+ */
693
+ export declare const EventEnvelopeSchema: GenMessage<EventEnvelope>;
694
+ /**
695
+ * @generated from message sealant.v1.ExecArgs
696
+ */
697
+ export type ExecArgs = Message<"sealant.v1.ExecArgs"> & {
698
+ /**
699
+ * @generated from field: optional string execution_id = 1;
700
+ */
701
+ executionId?: string | undefined;
702
+ /**
703
+ * @generated from field: optional string session_id = 2;
704
+ */
705
+ sessionId?: string | undefined;
706
+ /**
707
+ * @generated from field: string executable = 3;
708
+ */
709
+ executable: string;
710
+ /**
711
+ * @generated from field: repeated string args = 4;
712
+ */
713
+ args: string[];
714
+ /**
715
+ * @generated from field: optional string cwd = 5;
716
+ */
717
+ cwd?: string | undefined;
718
+ /**
719
+ * @generated from field: repeated sealant.v1.EnvVar env = 6;
720
+ */
721
+ env: EnvVar[];
722
+ /**
723
+ * @generated from field: bool stdin = 7;
724
+ */
725
+ stdin: boolean;
726
+ /**
727
+ * @generated from field: optional uint64 timeout_millis = 8;
728
+ */
729
+ timeoutMillis?: bigint | undefined;
730
+ /**
731
+ * @generated from field: bool background = 9;
732
+ */
733
+ background: boolean;
734
+ /**
735
+ * @generated from field: optional sealant.v1.CapturePolicy capture = 10;
736
+ */
737
+ capture?: CapturePolicy | undefined;
738
+ /**
739
+ * @generated from field: optional sealant.v1.Signal graceful_signal = 11;
740
+ */
741
+ gracefulSignal?: Signal | undefined;
742
+ /**
743
+ * @generated from field: bool attach = 12;
744
+ */
745
+ attach: boolean;
746
+ };
747
+ /**
748
+ * Describes the message sealant.v1.ExecArgs.
749
+ * Use `create(ExecArgsSchema)` to create a new message.
750
+ */
751
+ export declare const ExecArgsSchema: GenMessage<ExecArgs>;
752
+ /**
753
+ * @generated from message sealant.v1.ExecutionStartArgs
754
+ */
755
+ export type ExecutionStartArgs = Message<"sealant.v1.ExecutionStartArgs"> & {
756
+ /**
757
+ * @generated from field: optional string execution_id = 1;
758
+ */
759
+ executionId?: string | undefined;
760
+ /**
761
+ * @generated from field: optional string labels_json = 2;
762
+ */
763
+ labelsJson?: string | undefined;
764
+ };
765
+ /**
766
+ * Describes the message sealant.v1.ExecutionStartArgs.
767
+ * Use `create(ExecutionStartArgsSchema)` to create a new message.
768
+ */
769
+ export declare const ExecutionStartArgsSchema: GenMessage<ExecutionStartArgs>;
770
+ /**
771
+ * @generated from message sealant.v1.WriteStdinArgs
772
+ */
773
+ export type WriteStdinArgs = Message<"sealant.v1.WriteStdinArgs"> & {
774
+ /**
775
+ * @generated from field: optional string process_id = 1;
776
+ */
777
+ processId?: string | undefined;
778
+ /**
779
+ * @generated from field: optional string session_id = 2;
780
+ */
781
+ sessionId?: string | undefined;
782
+ /**
783
+ * @generated from field: bytes data = 3;
784
+ */
785
+ data: Uint8Array;
786
+ };
787
+ /**
788
+ * Describes the message sealant.v1.WriteStdinArgs.
789
+ * Use `create(WriteStdinArgsSchema)` to create a new message.
790
+ */
791
+ export declare const WriteStdinArgsSchema: GenMessage<WriteStdinArgs>;
792
+ /**
793
+ * @generated from message sealant.v1.OpenSessionArgs
794
+ */
795
+ export type OpenSessionArgs = Message<"sealant.v1.OpenSessionArgs"> & {
796
+ /**
797
+ * @generated from field: optional string execution_id = 1;
798
+ */
799
+ executionId?: string | undefined;
800
+ /**
801
+ * @generated from field: optional string shell = 2;
802
+ */
803
+ shell?: string | undefined;
804
+ /**
805
+ * @generated from field: repeated string args = 3;
806
+ */
807
+ args: string[];
808
+ /**
809
+ * @generated from field: optional string cwd = 4;
810
+ */
811
+ cwd?: string | undefined;
812
+ /**
813
+ * @generated from field: repeated sealant.v1.EnvVar env = 5;
814
+ */
815
+ env: EnvVar[];
816
+ /**
817
+ * @generated from field: uint32 cols = 6;
818
+ */
819
+ cols: number;
820
+ /**
821
+ * @generated from field: uint32 rows = 7;
822
+ */
823
+ rows: number;
824
+ /**
825
+ * @generated from field: optional string term = 8;
826
+ */
827
+ term?: string | undefined;
828
+ /**
829
+ * Defaults to PTY when unspecified (wire compatibility with pre-pipe clients).
830
+ *
831
+ * @generated from field: sealant.v1.SessionMode mode = 9;
832
+ */
833
+ mode: SessionMode;
834
+ };
835
+ /**
836
+ * Describes the message sealant.v1.OpenSessionArgs.
837
+ * Use `create(OpenSessionArgsSchema)` to create a new message.
838
+ */
839
+ export declare const OpenSessionArgsSchema: GenMessage<OpenSessionArgs>;
840
+ /**
841
+ * @generated from message sealant.v1.RuntimeGracefulShutdownArgs
842
+ */
843
+ export type RuntimeGracefulShutdownArgs = Message<"sealant.v1.RuntimeGracefulShutdownArgs"> & {
844
+ /**
845
+ * @generated from field: optional uint64 grace_millis = 1;
846
+ */
847
+ graceMillis?: bigint | undefined;
848
+ };
849
+ /**
850
+ * Describes the message sealant.v1.RuntimeGracefulShutdownArgs.
851
+ * Use `create(RuntimeGracefulShutdownArgsSchema)` to create a new message.
852
+ */
853
+ export declare const RuntimeGracefulShutdownArgsSchema: GenMessage<RuntimeGracefulShutdownArgs>;
854
+ /**
855
+ * @generated from message sealant.v1.ExecutionStopArgs
856
+ */
857
+ export type ExecutionStopArgs = Message<"sealant.v1.ExecutionStopArgs"> & {
858
+ /**
859
+ * @generated from field: string execution_id = 1;
860
+ */
861
+ executionId: string;
862
+ };
863
+ /**
864
+ * Describes the message sealant.v1.ExecutionStopArgs.
865
+ * Use `create(ExecutionStopArgsSchema)` to create a new message.
866
+ */
867
+ export declare const ExecutionStopArgsSchema: GenMessage<ExecutionStopArgs>;
868
+ /**
869
+ * @generated from message sealant.v1.SignalProcessArgs
870
+ */
871
+ export type SignalProcessArgs = Message<"sealant.v1.SignalProcessArgs"> & {
872
+ /**
873
+ * @generated from field: string process_id = 1;
874
+ */
875
+ processId: string;
876
+ /**
877
+ * @generated from field: sealant.v1.Signal signal = 2;
878
+ */
879
+ signal: Signal;
880
+ };
881
+ /**
882
+ * Describes the message sealant.v1.SignalProcessArgs.
883
+ * Use `create(SignalProcessArgsSchema)` to create a new message.
884
+ */
885
+ export declare const SignalProcessArgsSchema: GenMessage<SignalProcessArgs>;
886
+ /**
887
+ * @generated from message sealant.v1.KillProcessArgs
888
+ */
889
+ export type KillProcessArgs = Message<"sealant.v1.KillProcessArgs"> & {
890
+ /**
891
+ * @generated from field: string process_id = 1;
892
+ */
893
+ processId: string;
894
+ };
895
+ /**
896
+ * Describes the message sealant.v1.KillProcessArgs.
897
+ * Use `create(KillProcessArgsSchema)` to create a new message.
898
+ */
899
+ export declare const KillProcessArgsSchema: GenMessage<KillProcessArgs>;
900
+ /**
901
+ * @generated from message sealant.v1.ListProcessesArgs
902
+ */
903
+ export type ListProcessesArgs = Message<"sealant.v1.ListProcessesArgs"> & {
904
+ /**
905
+ * @generated from field: optional string execution_id = 1;
906
+ */
907
+ executionId?: string | undefined;
908
+ };
909
+ /**
910
+ * Describes the message sealant.v1.ListProcessesArgs.
911
+ * Use `create(ListProcessesArgsSchema)` to create a new message.
912
+ */
913
+ export declare const ListProcessesArgsSchema: GenMessage<ListProcessesArgs>;
914
+ /**
915
+ * @generated from message sealant.v1.CloseStdinArgs
916
+ */
917
+ export type CloseStdinArgs = Message<"sealant.v1.CloseStdinArgs"> & {
918
+ /**
919
+ * @generated from field: string process_id = 1;
920
+ */
921
+ processId: string;
922
+ };
923
+ /**
924
+ * Describes the message sealant.v1.CloseStdinArgs.
925
+ * Use `create(CloseStdinArgsSchema)` to create a new message.
926
+ */
927
+ export declare const CloseStdinArgsSchema: GenMessage<CloseStdinArgs>;
928
+ /**
929
+ * @generated from message sealant.v1.CloseSessionArgs
930
+ */
931
+ export type CloseSessionArgs = Message<"sealant.v1.CloseSessionArgs"> & {
932
+ /**
933
+ * @generated from field: string session_id = 1;
934
+ */
935
+ sessionId: string;
936
+ };
937
+ /**
938
+ * Describes the message sealant.v1.CloseSessionArgs.
939
+ * Use `create(CloseSessionArgsSchema)` to create a new message.
940
+ */
941
+ export declare const CloseSessionArgsSchema: GenMessage<CloseSessionArgs>;
942
+ /**
943
+ * @generated from message sealant.v1.ResizePtyArgs
944
+ */
945
+ export type ResizePtyArgs = Message<"sealant.v1.ResizePtyArgs"> & {
946
+ /**
947
+ * @generated from field: string session_id = 1;
948
+ */
949
+ sessionId: string;
950
+ /**
951
+ * @generated from field: uint32 cols = 2;
952
+ */
953
+ cols: number;
954
+ /**
955
+ * @generated from field: uint32 rows = 3;
956
+ */
957
+ rows: number;
958
+ };
959
+ /**
960
+ * Describes the message sealant.v1.ResizePtyArgs.
961
+ * Use `create(ResizePtyArgsSchema)` to create a new message.
962
+ */
963
+ export declare const ResizePtyArgsSchema: GenMessage<ResizePtyArgs>;
964
+ /**
965
+ * @generated from message sealant.v1.SetFeatureStateArgs
966
+ */
967
+ export type SetFeatureStateArgs = Message<"sealant.v1.SetFeatureStateArgs"> & {
968
+ /**
969
+ * @generated from field: sealant.v1.Feature feature = 1;
970
+ */
971
+ feature: Feature;
972
+ /**
973
+ * @generated from field: bool enabled = 2;
974
+ */
975
+ enabled: boolean;
976
+ };
977
+ /**
978
+ * Describes the message sealant.v1.SetFeatureStateArgs.
979
+ * Use `create(SetFeatureStateArgsSchema)` to create a new message.
980
+ */
981
+ export declare const SetFeatureStateArgsSchema: GenMessage<SetFeatureStateArgs>;
982
+ /**
983
+ * @generated from message sealant.v1.Empty
984
+ */
985
+ export type Empty = Message<"sealant.v1.Empty"> & {};
986
+ /**
987
+ * Describes the message sealant.v1.Empty.
988
+ * Use `create(EmptySchema)` to create a new message.
989
+ */
990
+ export declare const EmptySchema: GenMessage<Empty>;
991
+ /**
992
+ * @generated from message sealant.v1.AttachSessionArgs
993
+ */
994
+ export type AttachSessionArgs = Message<"sealant.v1.AttachSessionArgs"> & {
995
+ /**
996
+ * @generated from field: string session_id = 1;
997
+ */
998
+ sessionId: string;
999
+ /**
1000
+ * @generated from field: sealant.v1.AttachMode mode = 2;
1001
+ */
1002
+ mode: AttachMode;
1003
+ /**
1004
+ * When set, replay the session's durable output journal starting at this sequence (clamped to
1005
+ * the first retained record) before live frames; data-frame `seq` values are journal sequences.
1006
+ * Absent = live tail only (no replay).
1007
+ *
1008
+ * @generated from field: optional uint64 from_sequence = 3;
1009
+ */
1010
+ fromSequence?: bigint | undefined;
1011
+ };
1012
+ /**
1013
+ * Describes the message sealant.v1.AttachSessionArgs.
1014
+ * Use `create(AttachSessionArgsSchema)` to create a new message.
1015
+ */
1016
+ export declare const AttachSessionArgsSchema: GenMessage<AttachSessionArgs>;
1017
+ /**
1018
+ * @generated from message sealant.v1.SignalSessionArgs
1019
+ */
1020
+ export type SignalSessionArgs = Message<"sealant.v1.SignalSessionArgs"> & {
1021
+ /**
1022
+ * @generated from field: string session_id = 1;
1023
+ */
1024
+ sessionId: string;
1025
+ /**
1026
+ * @generated from field: sealant.v1.Signal signal = 2;
1027
+ */
1028
+ signal: Signal;
1029
+ };
1030
+ /**
1031
+ * Describes the message sealant.v1.SignalSessionArgs.
1032
+ * Use `create(SignalSessionArgsSchema)` to create a new message.
1033
+ */
1034
+ export declare const SignalSessionArgsSchema: GenMessage<SignalSessionArgs>;
1035
+ /**
1036
+ * Point a bindable mount's path at a subdirectory of its root (see ADR-0014). An empty subpath
1037
+ * unbinds. The root was mounted at workspace start; the path itself becomes a symlink.
1038
+ *
1039
+ * @generated from message sealant.v1.BindMountArgs
1040
+ */
1041
+ export type BindMountArgs = Message<"sealant.v1.BindMountArgs"> & {
1042
+ /**
1043
+ * @generated from field: string mount_path = 1;
1044
+ */
1045
+ mountPath: string;
1046
+ /**
1047
+ * @generated from field: string subpath = 2;
1048
+ */
1049
+ subpath: string;
1050
+ };
1051
+ /**
1052
+ * Describes the message sealant.v1.BindMountArgs.
1053
+ * Use `create(BindMountArgsSchema)` to create a new message.
1054
+ */
1055
+ export declare const BindMountArgsSchema: GenMessage<BindMountArgs>;
1056
+ /**
1057
+ * @generated from message sealant.v1.CaptureNowArgs
1058
+ */
1059
+ export type CaptureNowArgs = Message<"sealant.v1.CaptureNowArgs"> & {
1060
+ /**
1061
+ * @generated from field: sealant.v1.CaptureKind kind = 1;
1062
+ */
1063
+ kind: CaptureKind;
1064
+ };
1065
+ /**
1066
+ * Describes the message sealant.v1.CaptureNowArgs.
1067
+ * Use `create(CaptureNowArgsSchema)` to create a new message.
1068
+ */
1069
+ export declare const CaptureNowArgsSchema: GenMessage<CaptureNowArgs>;
1070
+ /**
1071
+ * @generated from message sealant.v1.CaptureFlushArgs
1072
+ */
1073
+ export type CaptureFlushArgs = Message<"sealant.v1.CaptureFlushArgs"> & {
1074
+ /**
1075
+ * @generated from field: sealant.v1.CaptureFlushKind kind = 1;
1076
+ */
1077
+ kind: CaptureFlushKind;
1078
+ /**
1079
+ * How long the flush may take, milliseconds. Honoured as given (never clamped to the shutdown
1080
+ * grace). Absent: a suspend flush is bounded by the daemon's shutdown grace, as before; a final
1081
+ * flush has no deadline and returns when it is complete, or when it can never be (a fence, a
1082
+ * conflict, a failed snap).
1083
+ *
1084
+ * @generated from field: optional uint64 deadline_ms = 2;
1085
+ */
1086
+ deadlineMs?: bigint | undefined;
1087
+ /**
1088
+ * Final only: how long managed processes get after SIGTERM before SIGKILL, milliseconds.
1089
+ * Absent: the daemon's shutdown grace. Counted inside `deadline_ms`.
1090
+ *
1091
+ * @generated from field: optional uint64 grace_ms = 3;
1092
+ */
1093
+ graceMs?: bigint | undefined;
1094
+ };
1095
+ /**
1096
+ * Describes the message sealant.v1.CaptureFlushArgs.
1097
+ * Use `create(CaptureFlushArgsSchema)` to create a new message.
1098
+ */
1099
+ export declare const CaptureFlushArgsSchema: GenMessage<CaptureFlushArgs>;
1100
+ /**
1101
+ * @generated from message sealant.v1.ReadSessionOutputArgs
1102
+ */
1103
+ export type ReadSessionOutputArgs = Message<"sealant.v1.ReadSessionOutputArgs"> & {
1104
+ /**
1105
+ * @generated from field: string session_id = 1;
1106
+ */
1107
+ sessionId: string;
1108
+ /**
1109
+ * @generated from field: uint64 from_sequence = 2;
1110
+ */
1111
+ fromSequence: bigint;
1112
+ /**
1113
+ * Cap on returned payload bytes (defaulted/clamped by the daemon).
1114
+ *
1115
+ * @generated from field: optional uint64 max_bytes = 3;
1116
+ */
1117
+ maxBytes?: bigint | undefined;
1118
+ };
1119
+ /**
1120
+ * Describes the message sealant.v1.ReadSessionOutputArgs.
1121
+ * Use `create(ReadSessionOutputArgsSchema)` to create a new message.
1122
+ */
1123
+ export declare const ReadSessionOutputArgsSchema: GenMessage<ReadSessionOutputArgs>;
1124
+ /**
1125
+ * @generated from message sealant.v1.DetachSessionArgs
1126
+ */
1127
+ export type DetachSessionArgs = Message<"sealant.v1.DetachSessionArgs"> & {
1128
+ /**
1129
+ * @generated from field: string channel_id = 1;
1130
+ */
1131
+ channelId: string;
1132
+ };
1133
+ /**
1134
+ * Describes the message sealant.v1.DetachSessionArgs.
1135
+ * Use `create(DetachSessionArgsSchema)` to create a new message.
1136
+ */
1137
+ export declare const DetachSessionArgsSchema: GenMessage<DetachSessionArgs>;
1138
+ /**
1139
+ * @generated from message sealant.v1.OpenForwardArgs
1140
+ */
1141
+ export type OpenForwardArgs = Message<"sealant.v1.OpenForwardArgs"> & {
1142
+ /**
1143
+ * @generated from field: string host = 1;
1144
+ */
1145
+ host: string;
1146
+ /**
1147
+ * @generated from field: uint32 port = 2;
1148
+ */
1149
+ port: number;
1150
+ /**
1151
+ * @generated from field: optional string execution_id = 3;
1152
+ */
1153
+ executionId?: string | undefined;
1154
+ /**
1155
+ * @generated from field: optional string protocol = 4;
1156
+ */
1157
+ protocol?: string | undefined;
1158
+ };
1159
+ /**
1160
+ * Describes the message sealant.v1.OpenForwardArgs.
1161
+ * Use `create(OpenForwardArgsSchema)` to create a new message.
1162
+ */
1163
+ export declare const OpenForwardArgsSchema: GenMessage<OpenForwardArgs>;
1164
+ /**
1165
+ * @generated from message sealant.v1.CloseForwardArgs
1166
+ */
1167
+ export type CloseForwardArgs = Message<"sealant.v1.CloseForwardArgs"> & {
1168
+ /**
1169
+ * @generated from field: string channel_id = 1;
1170
+ */
1171
+ channelId: string;
1172
+ };
1173
+ /**
1174
+ * Describes the message sealant.v1.CloseForwardArgs.
1175
+ * Use `create(CloseForwardArgsSchema)` to create a new message.
1176
+ */
1177
+ export declare const CloseForwardArgsSchema: GenMessage<CloseForwardArgs>;
1178
+ /**
1179
+ * @generated from message sealant.v1.OpenSftpArgs
1180
+ */
1181
+ export type OpenSftpArgs = Message<"sealant.v1.OpenSftpArgs"> & {
1182
+ /**
1183
+ * @generated from field: optional string execution_id = 1;
1184
+ */
1185
+ executionId?: string | undefined;
1186
+ /**
1187
+ * @generated from field: optional string cwd = 2;
1188
+ */
1189
+ cwd?: string | undefined;
1190
+ };
1191
+ /**
1192
+ * Describes the message sealant.v1.OpenSftpArgs.
1193
+ * Use `create(OpenSftpArgsSchema)` to create a new message.
1194
+ */
1195
+ export declare const OpenSftpArgsSchema: GenMessage<OpenSftpArgs>;
1196
+ /**
1197
+ * @generated from message sealant.v1.CloseSftpArgs
1198
+ */
1199
+ export type CloseSftpArgs = Message<"sealant.v1.CloseSftpArgs"> & {
1200
+ /**
1201
+ * @generated from field: string channel_id = 1;
1202
+ */
1203
+ channelId: string;
1204
+ };
1205
+ /**
1206
+ * Describes the message sealant.v1.CloseSftpArgs.
1207
+ * Use `create(CloseSftpArgsSchema)` to create a new message.
1208
+ */
1209
+ export declare const CloseSftpArgsSchema: GenMessage<CloseSftpArgs>;
1210
+ /**
1211
+ * @generated from message sealant.v1.Command
1212
+ */
1213
+ export type Command = Message<"sealant.v1.Command"> & {
1214
+ /**
1215
+ * @generated from oneof sealant.v1.Command.command
1216
+ */
1217
+ command: {
1218
+ /**
1219
+ * @generated from field: sealant.v1.Empty runtime_health = 1;
1220
+ */
1221
+ value: Empty;
1222
+ case: "runtimeHealth";
1223
+ } | {
1224
+ /**
1225
+ * @generated from field: sealant.v1.Empty runtime_get_capabilities = 2;
1226
+ */
1227
+ value: Empty;
1228
+ case: "runtimeGetCapabilities";
1229
+ } | {
1230
+ /**
1231
+ * @generated from field: sealant.v1.RuntimeGracefulShutdownArgs runtime_graceful_shutdown = 3;
1232
+ */
1233
+ value: RuntimeGracefulShutdownArgs;
1234
+ case: "runtimeGracefulShutdown";
1235
+ } | {
1236
+ /**
1237
+ * @generated from field: sealant.v1.Empty runtime_kill = 4;
1238
+ */
1239
+ value: Empty;
1240
+ case: "runtimeKill";
1241
+ } | {
1242
+ /**
1243
+ * @generated from field: sealant.v1.ExecutionStartArgs execution_start = 5;
1244
+ */
1245
+ value: ExecutionStartArgs;
1246
+ case: "executionStart";
1247
+ } | {
1248
+ /**
1249
+ * @generated from field: sealant.v1.ExecutionStopArgs execution_stop = 6;
1250
+ */
1251
+ value: ExecutionStopArgs;
1252
+ case: "executionStop";
1253
+ } | {
1254
+ /**
1255
+ * @generated from field: sealant.v1.ExecArgs exec = 7;
1256
+ */
1257
+ value: ExecArgs;
1258
+ case: "exec";
1259
+ } | {
1260
+ /**
1261
+ * @generated from field: sealant.v1.SignalProcessArgs signal_process = 8;
1262
+ */
1263
+ value: SignalProcessArgs;
1264
+ case: "signalProcess";
1265
+ } | {
1266
+ /**
1267
+ * @generated from field: sealant.v1.KillProcessArgs kill_process = 9;
1268
+ */
1269
+ value: KillProcessArgs;
1270
+ case: "killProcess";
1271
+ } | {
1272
+ /**
1273
+ * @generated from field: sealant.v1.ListProcessesArgs list_processes = 10;
1274
+ */
1275
+ value: ListProcessesArgs;
1276
+ case: "listProcesses";
1277
+ } | {
1278
+ /**
1279
+ * @generated from field: sealant.v1.WriteStdinArgs write_stdin = 11;
1280
+ */
1281
+ value: WriteStdinArgs;
1282
+ case: "writeStdin";
1283
+ } | {
1284
+ /**
1285
+ * @generated from field: sealant.v1.CloseStdinArgs close_stdin = 12;
1286
+ */
1287
+ value: CloseStdinArgs;
1288
+ case: "closeStdin";
1289
+ } | {
1290
+ /**
1291
+ * @generated from field: sealant.v1.OpenSessionArgs open_session = 13;
1292
+ */
1293
+ value: OpenSessionArgs;
1294
+ case: "openSession";
1295
+ } | {
1296
+ /**
1297
+ * @generated from field: sealant.v1.CloseSessionArgs close_session = 14;
1298
+ */
1299
+ value: CloseSessionArgs;
1300
+ case: "closeSession";
1301
+ } | {
1302
+ /**
1303
+ * @generated from field: sealant.v1.ResizePtyArgs resize_pty = 15;
1304
+ */
1305
+ value: ResizePtyArgs;
1306
+ case: "resizePty";
1307
+ } | {
1308
+ /**
1309
+ * @generated from field: sealant.v1.Empty list_sessions = 16;
1310
+ */
1311
+ value: Empty;
1312
+ case: "listSessions";
1313
+ } | {
1314
+ /**
1315
+ * @generated from field: sealant.v1.SetFeatureStateArgs set_feature_state = 17;
1316
+ */
1317
+ value: SetFeatureStateArgs;
1318
+ case: "setFeatureState";
1319
+ } | {
1320
+ /**
1321
+ * @generated from field: sealant.v1.Empty get_runtime_metrics = 18;
1322
+ */
1323
+ value: Empty;
1324
+ case: "getRuntimeMetrics";
1325
+ } | {
1326
+ /**
1327
+ * @generated from field: sealant.v1.AttachSessionArgs attach_session = 19;
1328
+ */
1329
+ value: AttachSessionArgs;
1330
+ case: "attachSession";
1331
+ } | {
1332
+ /**
1333
+ * @generated from field: sealant.v1.DetachSessionArgs detach_session = 20;
1334
+ */
1335
+ value: DetachSessionArgs;
1336
+ case: "detachSession";
1337
+ } | {
1338
+ /**
1339
+ * @generated from field: sealant.v1.OpenForwardArgs open_forward = 21;
1340
+ */
1341
+ value: OpenForwardArgs;
1342
+ case: "openForward";
1343
+ } | {
1344
+ /**
1345
+ * @generated from field: sealant.v1.CloseForwardArgs close_forward = 22;
1346
+ */
1347
+ value: CloseForwardArgs;
1348
+ case: "closeForward";
1349
+ } | {
1350
+ /**
1351
+ * @generated from field: sealant.v1.OpenSftpArgs open_sftp = 23;
1352
+ */
1353
+ value: OpenSftpArgs;
1354
+ case: "openSftp";
1355
+ } | {
1356
+ /**
1357
+ * @generated from field: sealant.v1.CloseSftpArgs close_sftp = 24;
1358
+ */
1359
+ value: CloseSftpArgs;
1360
+ case: "closeSftp";
1361
+ } | {
1362
+ /**
1363
+ * @generated from field: sealant.v1.SignalSessionArgs signal_session = 25;
1364
+ */
1365
+ value: SignalSessionArgs;
1366
+ case: "signalSession";
1367
+ } | {
1368
+ /**
1369
+ * @generated from field: sealant.v1.ReadSessionOutputArgs read_session_output = 26;
1370
+ */
1371
+ value: ReadSessionOutputArgs;
1372
+ case: "readSessionOutput";
1373
+ } | {
1374
+ /**
1375
+ * @generated from field: sealant.v1.BindMountArgs bind_mount = 27;
1376
+ */
1377
+ value: BindMountArgs;
1378
+ case: "bindMount";
1379
+ } | {
1380
+ /**
1381
+ * @generated from field: sealant.v1.CaptureNowArgs capture_now = 28;
1382
+ */
1383
+ value: CaptureNowArgs;
1384
+ case: "captureNow";
1385
+ } | {
1386
+ /**
1387
+ * @generated from field: sealant.v1.CaptureFlushArgs capture_flush = 29;
1388
+ */
1389
+ value: CaptureFlushArgs;
1390
+ case: "captureFlush";
1391
+ } | {
1392
+ /**
1393
+ * @generated from field: sealant.v1.Empty capture_status = 30;
1394
+ */
1395
+ value: Empty;
1396
+ case: "captureStatus";
1397
+ } | {
1398
+ /**
1399
+ * @generated from field: sealant.v1.Empty lease_epoch = 31;
1400
+ */
1401
+ value: Empty;
1402
+ case: "leaseEpoch";
1403
+ } | {
1404
+ /**
1405
+ * @generated from field: sealant.v1.Empty capture_replan = 32;
1406
+ */
1407
+ value: Empty;
1408
+ case: "captureReplan";
1409
+ } | {
1410
+ case: undefined;
1411
+ value?: undefined;
1412
+ };
1413
+ };
1414
+ /**
1415
+ * Describes the message sealant.v1.Command.
1416
+ * Use `create(CommandSchema)` to create a new message.
1417
+ */
1418
+ export declare const CommandSchema: GenMessage<Command>;
1419
+ /**
1420
+ * @generated from message sealant.v1.Capabilities
1421
+ */
1422
+ export type Capabilities = Message<"sealant.v1.Capabilities"> & {
1423
+ /**
1424
+ * @generated from field: uint32 schema_version = 1;
1425
+ */
1426
+ schemaVersion: number;
1427
+ /**
1428
+ * @generated from field: string runtime_id = 2;
1429
+ */
1430
+ runtimeId: string;
1431
+ /**
1432
+ * @generated from field: optional string workspace_id = 3;
1433
+ */
1434
+ workspaceId?: string | undefined;
1435
+ /**
1436
+ * @generated from field: string os = 4;
1437
+ */
1438
+ os: string;
1439
+ /**
1440
+ * @generated from field: string arch = 5;
1441
+ */
1442
+ arch: string;
1443
+ /**
1444
+ * @generated from field: string daemon_version = 6;
1445
+ */
1446
+ daemonVersion: string;
1447
+ /**
1448
+ * @generated from field: sealant.v1.FeatureMatrix features = 7;
1449
+ */
1450
+ features?: FeatureMatrix | undefined;
1451
+ /**
1452
+ * @generated from field: sealant.v1.Limits limits = 8;
1453
+ */
1454
+ limits?: Limits | undefined;
1455
+ };
1456
+ /**
1457
+ * Describes the message sealant.v1.Capabilities.
1458
+ * Use `create(CapabilitiesSchema)` to create a new message.
1459
+ */
1460
+ export declare const CapabilitiesSchema: GenMessage<Capabilities>;
1461
+ /**
1462
+ * @generated from message sealant.v1.HealthReport
1463
+ */
1464
+ export type HealthReport = Message<"sealant.v1.HealthReport"> & {
1465
+ /**
1466
+ * @generated from field: sealant.v1.RuntimeState state = 1;
1467
+ */
1468
+ state: RuntimeState;
1469
+ /**
1470
+ * @generated from field: string runtime_id = 2;
1471
+ */
1472
+ runtimeId: string;
1473
+ /**
1474
+ * @generated from field: uint64 uptime_millis = 3;
1475
+ */
1476
+ uptimeMillis: bigint;
1477
+ /**
1478
+ * @generated from field: uint32 active_executions = 4;
1479
+ */
1480
+ activeExecutions: number;
1481
+ /**
1482
+ * @generated from field: uint32 active_sessions = 5;
1483
+ */
1484
+ activeSessions: number;
1485
+ /**
1486
+ * @generated from field: uint32 active_processes = 6;
1487
+ */
1488
+ activeProcesses: number;
1489
+ /**
1490
+ * @generated from field: uint64 queue_depth = 7;
1491
+ */
1492
+ queueDepth: bigint;
1493
+ /**
1494
+ * @generated from field: uint64 queue_capacity = 8;
1495
+ */
1496
+ queueCapacity: bigint;
1497
+ /**
1498
+ * @generated from field: uint64 spool_bytes = 9;
1499
+ */
1500
+ spoolBytes: bigint;
1501
+ /**
1502
+ * @generated from field: uint64 spool_limit_bytes = 10;
1503
+ */
1504
+ spoolLimitBytes: bigint;
1505
+ /**
1506
+ * @generated from field: uint64 retry_count = 11;
1507
+ */
1508
+ retryCount: bigint;
1509
+ /**
1510
+ * @generated from field: optional int64 last_delivery_at = 12;
1511
+ */
1512
+ lastDeliveryAt?: bigint | undefined;
1513
+ /**
1514
+ * @generated from field: uint64 dropped_events = 13;
1515
+ */
1516
+ droppedEvents: bigint;
1517
+ /**
1518
+ * @generated from field: uint64 redacted_events = 14;
1519
+ */
1520
+ redactedEvents: bigint;
1521
+ /**
1522
+ * @generated from field: uint64 coalesced_events = 15;
1523
+ */
1524
+ coalescedEvents: bigint;
1525
+ /**
1526
+ * @generated from field: uint64 truncated_events = 16;
1527
+ */
1528
+ truncatedEvents: bigint;
1529
+ /**
1530
+ * @generated from field: bool sink_connected = 17;
1531
+ */
1532
+ sinkConnected: boolean;
1533
+ /**
1534
+ * @generated from field: repeated sealant.v1.FeatureState feature_states = 18;
1535
+ */
1536
+ featureStates: FeatureState[];
1537
+ /**
1538
+ * @generated from field: repeated string degradation_reasons = 19;
1539
+ */
1540
+ degradationReasons: string[];
1541
+ };
1542
+ /**
1543
+ * Describes the message sealant.v1.HealthReport.
1544
+ * Use `create(HealthReportSchema)` to create a new message.
1545
+ */
1546
+ export declare const HealthReportSchema: GenMessage<HealthReport>;
1547
+ /**
1548
+ * @generated from message sealant.v1.ExecAccepted
1549
+ */
1550
+ export type ExecAccepted = Message<"sealant.v1.ExecAccepted"> & {
1551
+ /**
1552
+ * @generated from field: string process_id = 1;
1553
+ */
1554
+ processId: string;
1555
+ /**
1556
+ * @generated from field: int32 pid = 2;
1557
+ */
1558
+ pid: number;
1559
+ /**
1560
+ * @generated from field: int32 pgid = 3;
1561
+ */
1562
+ pgid: number;
1563
+ /**
1564
+ * @generated from field: bool pidfd = 4;
1565
+ */
1566
+ pidfd: boolean;
1567
+ };
1568
+ /**
1569
+ * Describes the message sealant.v1.ExecAccepted.
1570
+ * Use `create(ExecAcceptedSchema)` to create a new message.
1571
+ */
1572
+ export declare const ExecAcceptedSchema: GenMessage<ExecAccepted>;
1573
+ /**
1574
+ * @generated from message sealant.v1.SessionOpened
1575
+ */
1576
+ export type SessionOpened = Message<"sealant.v1.SessionOpened"> & {
1577
+ /**
1578
+ * @generated from field: string session_id = 1;
1579
+ */
1580
+ sessionId: string;
1581
+ /**
1582
+ * @generated from field: string process_id = 2;
1583
+ */
1584
+ processId: string;
1585
+ /**
1586
+ * @generated from field: int32 pid = 3;
1587
+ */
1588
+ pid: number;
1589
+ };
1590
+ /**
1591
+ * Describes the message sealant.v1.SessionOpened.
1592
+ * Use `create(SessionOpenedSchema)` to create a new message.
1593
+ */
1594
+ export declare const SessionOpenedSchema: GenMessage<SessionOpened>;
1595
+ /**
1596
+ * @generated from message sealant.v1.ProcessSummary
1597
+ */
1598
+ export type ProcessSummary = Message<"sealant.v1.ProcessSummary"> & {
1599
+ /**
1600
+ * @generated from field: string process_id = 1;
1601
+ */
1602
+ processId: string;
1603
+ /**
1604
+ * @generated from field: int32 pid = 2;
1605
+ */
1606
+ pid: number;
1607
+ /**
1608
+ * @generated from field: int32 pgid = 3;
1609
+ */
1610
+ pgid: number;
1611
+ /**
1612
+ * @generated from field: sealant.v1.ProcessState state = 4;
1613
+ */
1614
+ state: ProcessState;
1615
+ /**
1616
+ * @generated from field: string executable = 5;
1617
+ */
1618
+ executable: string;
1619
+ /**
1620
+ * @generated from field: optional string execution_id = 6;
1621
+ */
1622
+ executionId?: string | undefined;
1623
+ /**
1624
+ * @generated from field: optional string session_id = 7;
1625
+ */
1626
+ sessionId?: string | undefined;
1627
+ };
1628
+ /**
1629
+ * Describes the message sealant.v1.ProcessSummary.
1630
+ * Use `create(ProcessSummarySchema)` to create a new message.
1631
+ */
1632
+ export declare const ProcessSummarySchema: GenMessage<ProcessSummary>;
1633
+ /**
1634
+ * @generated from message sealant.v1.ProcessList
1635
+ */
1636
+ export type ProcessList = Message<"sealant.v1.ProcessList"> & {
1637
+ /**
1638
+ * @generated from field: repeated sealant.v1.ProcessSummary processes = 1;
1639
+ */
1640
+ processes: ProcessSummary[];
1641
+ };
1642
+ /**
1643
+ * Describes the message sealant.v1.ProcessList.
1644
+ * Use `create(ProcessListSchema)` to create a new message.
1645
+ */
1646
+ export declare const ProcessListSchema: GenMessage<ProcessList>;
1647
+ /**
1648
+ * @generated from message sealant.v1.SessionSummary
1649
+ */
1650
+ export type SessionSummary = Message<"sealant.v1.SessionSummary"> & {
1651
+ /**
1652
+ * @generated from field: string session_id = 1;
1653
+ */
1654
+ sessionId: string;
1655
+ /**
1656
+ * @generated from field: string process_id = 2;
1657
+ */
1658
+ processId: string;
1659
+ /**
1660
+ * @generated from field: int32 pid = 3;
1661
+ */
1662
+ pid: number;
1663
+ /**
1664
+ * @generated from field: uint32 cols = 4;
1665
+ */
1666
+ cols: number;
1667
+ /**
1668
+ * @generated from field: uint32 rows = 5;
1669
+ */
1670
+ rows: number;
1671
+ /**
1672
+ * @generated from field: optional string execution_id = 6;
1673
+ */
1674
+ executionId?: string | undefined;
1675
+ /**
1676
+ * @generated from field: sealant.v1.SessionState state = 7;
1677
+ */
1678
+ state: SessionState;
1679
+ /**
1680
+ * @generated from field: optional int32 exit_code = 8;
1681
+ */
1682
+ exitCode?: number | undefined;
1683
+ /**
1684
+ * @generated from field: optional int32 signal = 9;
1685
+ */
1686
+ signal?: number | undefined;
1687
+ /**
1688
+ * @generated from field: int64 started_at_micros = 10;
1689
+ */
1690
+ startedAtMicros: bigint;
1691
+ /**
1692
+ * Journal cursor bounds: the first still-retained output sequence and the next to be assigned.
1693
+ *
1694
+ * @generated from field: uint64 first_journal_sequence = 11;
1695
+ */
1696
+ firstJournalSequence: bigint;
1697
+ /**
1698
+ * @generated from field: uint64 next_journal_sequence = 12;
1699
+ */
1700
+ nextJournalSequence: bigint;
1701
+ /**
1702
+ * PTY unless the session was opened in pipe mode (unspecified reads as PTY).
1703
+ *
1704
+ * @generated from field: sealant.v1.SessionMode mode = 13;
1705
+ */
1706
+ mode: SessionMode;
1707
+ };
1708
+ /**
1709
+ * Describes the message sealant.v1.SessionSummary.
1710
+ * Use `create(SessionSummarySchema)` to create a new message.
1711
+ */
1712
+ export declare const SessionSummarySchema: GenMessage<SessionSummary>;
1713
+ /**
1714
+ * @generated from message sealant.v1.SessionList
1715
+ */
1716
+ export type SessionList = Message<"sealant.v1.SessionList"> & {
1717
+ /**
1718
+ * @generated from field: repeated sealant.v1.SessionSummary sessions = 1;
1719
+ */
1720
+ sessions: SessionSummary[];
1721
+ };
1722
+ /**
1723
+ * Describes the message sealant.v1.SessionList.
1724
+ * Use `create(SessionListSchema)` to create a new message.
1725
+ */
1726
+ export declare const SessionListSchema: GenMessage<SessionList>;
1727
+ /**
1728
+ * @generated from message sealant.v1.SessionOutputChunk
1729
+ */
1730
+ export type SessionOutputChunk = Message<"sealant.v1.SessionOutputChunk"> & {
1731
+ /**
1732
+ * @generated from field: uint64 sequence = 1;
1733
+ */
1734
+ sequence: bigint;
1735
+ /**
1736
+ * @generated from field: bytes data = 2;
1737
+ */
1738
+ data: Uint8Array;
1739
+ };
1740
+ /**
1741
+ * Describes the message sealant.v1.SessionOutputChunk.
1742
+ * Use `create(SessionOutputChunkSchema)` to create a new message.
1743
+ */
1744
+ export declare const SessionOutputChunkSchema: GenMessage<SessionOutputChunk>;
1745
+ /**
1746
+ * @generated from message sealant.v1.SessionOutput
1747
+ */
1748
+ export type SessionOutput = Message<"sealant.v1.SessionOutput"> & {
1749
+ /**
1750
+ * @generated from field: string session_id = 1;
1751
+ */
1752
+ sessionId: string;
1753
+ /**
1754
+ * @generated from field: repeated sealant.v1.SessionOutputChunk chunks = 2;
1755
+ */
1756
+ chunks: SessionOutputChunk[];
1757
+ /**
1758
+ * Cursor to pass as the next from_sequence (chunks were [from, next)).
1759
+ *
1760
+ * @generated from field: uint64 next_sequence = 3;
1761
+ */
1762
+ nextSequence: bigint;
1763
+ /**
1764
+ * First sequence still retained in the journal (requests below this are clamped up to it).
1765
+ *
1766
+ * @generated from field: uint64 first_available_sequence = 4;
1767
+ */
1768
+ firstAvailableSequence: bigint;
1769
+ /**
1770
+ * @generated from field: sealant.v1.SessionState state = 5;
1771
+ */
1772
+ state: SessionState;
1773
+ /**
1774
+ * @generated from field: optional int32 exit_code = 6;
1775
+ */
1776
+ exitCode?: number | undefined;
1777
+ /**
1778
+ * @generated from field: optional int32 signal = 7;
1779
+ */
1780
+ signal?: number | undefined;
1781
+ };
1782
+ /**
1783
+ * Describes the message sealant.v1.SessionOutput.
1784
+ * Use `create(SessionOutputSchema)` to create a new message.
1785
+ */
1786
+ export declare const SessionOutputSchema: GenMessage<SessionOutput>;
1787
+ /**
1788
+ * @generated from message sealant.v1.RuntimeMetrics
1789
+ */
1790
+ export type RuntimeMetrics = Message<"sealant.v1.RuntimeMetrics"> & {
1791
+ /**
1792
+ * @generated from field: uint64 uptime_millis = 1;
1793
+ */
1794
+ uptimeMillis: bigint;
1795
+ /**
1796
+ * @generated from field: uint64 events_emitted = 2;
1797
+ */
1798
+ eventsEmitted: bigint;
1799
+ /**
1800
+ * @generated from field: uint64 events_delivered = 3;
1801
+ */
1802
+ eventsDelivered: bigint;
1803
+ /**
1804
+ * @generated from field: uint64 dropped_events = 4;
1805
+ */
1806
+ droppedEvents: bigint;
1807
+ /**
1808
+ * @generated from field: uint64 queue_depth = 5;
1809
+ */
1810
+ queueDepth: bigint;
1811
+ /**
1812
+ * @generated from field: uint64 spool_bytes = 6;
1813
+ */
1814
+ spoolBytes: bigint;
1815
+ /**
1816
+ * @generated from field: uint32 active_processes = 7;
1817
+ */
1818
+ activeProcesses: number;
1819
+ /**
1820
+ * @generated from field: uint32 active_sessions = 8;
1821
+ */
1822
+ activeSessions: number;
1823
+ };
1824
+ /**
1825
+ * Describes the message sealant.v1.RuntimeMetrics.
1826
+ * Use `create(RuntimeMetricsSchema)` to create a new message.
1827
+ */
1828
+ export declare const RuntimeMetricsSchema: GenMessage<RuntimeMetrics>;
1829
+ /**
1830
+ * @generated from message sealant.v1.ShutdownAccepted
1831
+ */
1832
+ export type ShutdownAccepted = Message<"sealant.v1.ShutdownAccepted"> & {
1833
+ /**
1834
+ * @generated from field: uint64 grace_millis = 1;
1835
+ */
1836
+ graceMillis: bigint;
1837
+ };
1838
+ /**
1839
+ * Describes the message sealant.v1.ShutdownAccepted.
1840
+ * Use `create(ShutdownAcceptedSchema)` to create a new message.
1841
+ */
1842
+ export declare const ShutdownAcceptedSchema: GenMessage<ShutdownAccepted>;
1843
+ /**
1844
+ * @generated from message sealant.v1.StreamAttached
1845
+ */
1846
+ export type StreamAttached = Message<"sealant.v1.StreamAttached"> & {
1847
+ /**
1848
+ * @generated from field: string channel_id = 1;
1849
+ */
1850
+ channelId: string;
1851
+ };
1852
+ /**
1853
+ * Describes the message sealant.v1.StreamAttached.
1854
+ * Use `create(StreamAttachedSchema)` to create a new message.
1855
+ */
1856
+ export declare const StreamAttachedSchema: GenMessage<StreamAttached>;
1857
+ /**
1858
+ * @generated from message sealant.v1.ForwardOpened
1859
+ */
1860
+ export type ForwardOpened = Message<"sealant.v1.ForwardOpened"> & {
1861
+ /**
1862
+ * @generated from field: string channel_id = 1;
1863
+ */
1864
+ channelId: string;
1865
+ };
1866
+ /**
1867
+ * Describes the message sealant.v1.ForwardOpened.
1868
+ * Use `create(ForwardOpenedSchema)` to create a new message.
1869
+ */
1870
+ export declare const ForwardOpenedSchema: GenMessage<ForwardOpened>;
1871
+ /**
1872
+ * @generated from message sealant.v1.SftpOpened
1873
+ */
1874
+ export type SftpOpened = Message<"sealant.v1.SftpOpened"> & {
1875
+ /**
1876
+ * @generated from field: string channel_id = 1;
1877
+ */
1878
+ channelId: string;
1879
+ };
1880
+ /**
1881
+ * Describes the message sealant.v1.SftpOpened.
1882
+ * Use `create(SftpOpenedSchema)` to create a new message.
1883
+ */
1884
+ export declare const SftpOpenedSchema: GenMessage<SftpOpened>;
1885
+ /**
1886
+ * @generated from message sealant.v1.ProcessAttached
1887
+ */
1888
+ export type ProcessAttached = Message<"sealant.v1.ProcessAttached"> & {
1889
+ /**
1890
+ * @generated from field: string process_id = 1;
1891
+ */
1892
+ processId: string;
1893
+ /**
1894
+ * @generated from field: int32 pid = 2;
1895
+ */
1896
+ pid: number;
1897
+ /**
1898
+ * @generated from field: int32 pgid = 3;
1899
+ */
1900
+ pgid: number;
1901
+ /**
1902
+ * @generated from field: string channel_id = 4;
1903
+ */
1904
+ channelId: string;
1905
+ };
1906
+ /**
1907
+ * Describes the message sealant.v1.ProcessAttached.
1908
+ * Use `create(ProcessAttachedSchema)` to create a new message.
1909
+ */
1910
+ export declare const ProcessAttachedSchema: GenMessage<ProcessAttached>;
1911
+ /**
1912
+ * @generated from message sealant.v1.CaptureStaged
1913
+ */
1914
+ export type CaptureStaged = Message<"sealant.v1.CaptureStaged"> & {
1915
+ /**
1916
+ * @generated from field: uint64 n = 1;
1917
+ */
1918
+ n: bigint;
1919
+ /**
1920
+ * @generated from field: string capture_id = 2;
1921
+ */
1922
+ captureId: string;
1923
+ /**
1924
+ * @generated from field: sealant.v1.CaptureKind kind = 3;
1925
+ */
1926
+ kind: CaptureKind;
1927
+ /**
1928
+ * @generated from field: bool unchanged = 4;
1929
+ */
1930
+ unchanged: boolean;
1931
+ };
1932
+ /**
1933
+ * Describes the message sealant.v1.CaptureStaged.
1934
+ * Use `create(CaptureStagedSchema)` to create a new message.
1935
+ */
1936
+ export declare const CaptureStagedSchema: GenMessage<CaptureStaged>;
1937
+ /**
1938
+ * One class's snaps (`CaptureStatusReport.snaps`). A snap that fails for any reason, scheduled or
1939
+ * forced, is counted here and its error kept until one succeeds.
1940
+ *
1941
+ * @generated from message sealant.v1.CaptureClassSnaps
1942
+ */
1943
+ export type CaptureClassSnaps = Message<"sealant.v1.CaptureClassSnaps"> & {
1944
+ /**
1945
+ * @generated from field: sealant.v1.CaptureClass class = 1;
1946
+ */
1947
+ class: CaptureClass;
1948
+ /**
1949
+ * Snaps of this class that failed since the daemon started.
1950
+ *
1951
+ * @generated from field: uint64 snaps_failed = 2;
1952
+ */
1953
+ snapsFailed: bigint;
1954
+ /**
1955
+ * The last snap's error, while the last snap failed; absent once one succeeds.
1956
+ *
1957
+ * @generated from field: optional string last_snap_error = 3;
1958
+ */
1959
+ lastSnapError?: string | undefined;
1960
+ /**
1961
+ * When the current run of failed snaps began (Unix ms), while the last snap failed.
1962
+ *
1963
+ * @generated from field: optional uint64 snap_failing_since_unix_ms = 4;
1964
+ */
1965
+ snapFailingSinceUnixMs?: bigint | undefined;
1966
+ };
1967
+ /**
1968
+ * Describes the message sealant.v1.CaptureClassSnaps.
1969
+ * Use `create(CaptureClassSnapsSchema)` to create a new message.
1970
+ */
1971
+ export declare const CaptureClassSnapsSchema: GenMessage<CaptureClassSnaps>;
1972
+ /**
1973
+ * @generated from message sealant.v1.CaptureStatusReport
1974
+ */
1975
+ export type CaptureStatusReport = Message<"sealant.v1.CaptureStatusReport"> & {
1976
+ /**
1977
+ * @generated from field: uint64 epoch = 1;
1978
+ */
1979
+ epoch: bigint;
1980
+ /**
1981
+ * @generated from field: string worktree_id = 2;
1982
+ */
1983
+ worktreeId: string;
1984
+ /**
1985
+ * @generated from field: optional uint64 head_n = 3;
1986
+ */
1987
+ headN?: bigint | undefined;
1988
+ /**
1989
+ * @generated from field: uint64 pending = 4;
1990
+ */
1991
+ pending: bigint;
1992
+ /**
1993
+ * @generated from field: uint64 staged_bytes = 5;
1994
+ */
1995
+ stagedBytes: bigint;
1996
+ /**
1997
+ * @generated from field: uint64 uploaded_objects = 6;
1998
+ */
1999
+ uploadedObjects: bigint;
2000
+ /**
2001
+ * @generated from field: uint64 uploaded_bytes = 7;
2002
+ */
2003
+ uploadedBytes: bigint;
2004
+ /**
2005
+ * @generated from field: uint64 registered = 8;
2006
+ */
2007
+ registered: bigint;
2008
+ /**
2009
+ * @generated from field: bool fenced = 9;
2010
+ */
2011
+ fenced: boolean;
2012
+ /**
2013
+ * @generated from field: bool paused = 10;
2014
+ */
2015
+ paused: boolean;
2016
+ /**
2017
+ * @generated from field: optional uint64 last_snap_unix_ms = 11;
2018
+ */
2019
+ lastSnapUnixMs?: bigint | undefined;
2020
+ /**
2021
+ * Classes with a capture the registrar refused for the session's byte quota. Nothing is
2022
+ * dropped: the capture stays queued (counted in `pending`) with its staged bytes, the class
2023
+ * keeps snapping, and the executor asks again after a backoff until the budget allows.
2024
+ *
2025
+ * @generated from field: repeated sealant.v1.CaptureClass refused = 12;
2026
+ */
2027
+ refused: CaptureClass[];
2028
+ /**
2029
+ * Of `pending`, the bulk captures (dependency trees, build outputs) whose objects are still
2030
+ * uploading. A suspend capture.flush returns once every other capture is registered; these
2031
+ * follow in the background and register after it. A final flush waits for them.
2032
+ *
2033
+ * @generated from field: uint64 pending_bulk = 13;
2034
+ */
2035
+ pendingBulk: bigint;
2036
+ /**
2037
+ * Bytes staged on this disk that no upload has taken yet, over every pending capture (an
2038
+ * object two captures share is counted once). What is lost if the disk goes now; 0 once
2039
+ * everything is up (captures can still wait to register).
2040
+ *
2041
+ * @generated from field: uint64 pending_bytes = 14;
2042
+ */
2043
+ pendingBytes: bigint;
2044
+ /**
2045
+ * True only when a final capture.flush ran to the end on this executor: admission closed,
2046
+ * every managed process terminated and awaited, the small and the bulk class snapped after
2047
+ * that, and everything registered (`pending` 0, not fenced). The only answer a control plane
2048
+ * may read as "saved"; `pending == 0` alone is not. False from an older daemon.
2049
+ *
2050
+ * @generated from field: bool complete = 15;
2051
+ */
2052
+ complete: boolean;
2053
+ /**
2054
+ * Why `complete` is false: `not-final` (no final flush has run), `in-progress` (a final flush is
2055
+ * running: stopping the writers, snapping, shipping), `processes-remain` (a process
2056
+ * or a container of the workspace's Docker daemon outlived SIGKILL, or that daemon could not
2057
+ * be reached), `sweep-unavailable` (the daemon cannot see every writer: not a child subreaper
2058
+ * and not PID 1 of its PID namespace), `snapshot-failed` (a final snap of either class failed),
2059
+ * `unreadable` (a final snap met work it could not read),
2060
+ * `fenced`, `conflict` (the chain moved under this executor), `deadline` (`deadline_ms`
2061
+ * passed with captures pending), `ship-failed` (shipping kept failing until the deadline),
2062
+ * `pending` (a capture was staged after the final flush), `internal` (the flush's task
2063
+ * failed). A class whose last snap failed (`snaps`) is `snapshot-failed` too, whenever it
2064
+ * failed. Absent when `complete`.
2065
+ *
2066
+ * @generated from field: optional string incomplete_reason = 16;
2067
+ */
2068
+ incompleteReason?: string | undefined;
2069
+ /**
2070
+ * Paths the last snap of each class could not read (listed, stat'ed or opened; a directory
2071
+ * counts once), summed over both classes. Never taken as deleted: an automatic snap carries a
2072
+ * path's last captured content forward, a final snap fails instead. Absent from an older daemon.
2073
+ *
2074
+ * @generated from field: optional uint64 unreadable = 17;
2075
+ */
2076
+ unreadable?: bigint | undefined;
2077
+ /**
2078
+ * Of `unreadable`, the paths whose last captured content was carried forward.
2079
+ *
2080
+ * @generated from field: optional uint64 carried = 18;
2081
+ */
2082
+ carried?: bigint | undefined;
2083
+ /**
2084
+ * The first 20 unreadable paths, virtual (`tree/<path>` under the worktree, `.git/<path>`,
2085
+ * `harness/<path>`), small class first.
2086
+ *
2087
+ * @generated from field: repeated string unreadable_paths = 19;
2088
+ */
2089
+ unreadablePaths: string[];
2090
+ /**
2091
+ * A capture the registrar refused to register (422 on `capture.register`) that the executor is
2092
+ * working through: `missing-objects` (an object it names is not in the store) or
2093
+ * `unrestorable` (a section's tree would not restore). Never dropped: the objects it staged
2094
+ * are uploaded again, then it is rebuilt from disk in its place. Absent when none is refused.
2095
+ *
2096
+ * @generated from field: optional string register_refused = 20;
2097
+ */
2098
+ registerRefused?: string | undefined;
2099
+ /**
2100
+ * That capture's chain position.
2101
+ *
2102
+ * @generated from field: optional uint64 register_refused_n = 21;
2103
+ */
2104
+ registerRefusedN?: bigint | undefined;
2105
+ /**
2106
+ * The first 20 keys the registrar named as missing.
2107
+ *
2108
+ * @generated from field: repeated string register_missing = 22;
2109
+ */
2110
+ registerMissing: string[];
2111
+ /**
2112
+ * Register refusals this daemon has seen since it started. Absent from an older daemon.
2113
+ *
2114
+ * @generated from field: optional uint64 register_refusals = 23;
2115
+ */
2116
+ registerRefusals?: bigint | undefined;
2117
+ /**
2118
+ * The refused capture waits to be rebuilt from disk; nothing behind it registers first.
2119
+ *
2120
+ * @generated from field: bool repairing = 24;
2121
+ */
2122
+ repairing: boolean;
2123
+ /**
2124
+ * A bulk build is in progress (reading the dependency trees, or paused mid-way for a small
2125
+ * capture): its capture is not queued yet, so `pending` and `pending_bulk` do not count it, but
2126
+ * `pending_bytes` counts what it has staged so far. A drain is not done while this is true.
2127
+ *
2128
+ * @generated from field: bool bulk_building = 25;
2129
+ */
2130
+ bulkBuilding: boolean;
2131
+ /**
2132
+ * Each captured class's snaps: how many failed, and the last one's error while it fails (a
2133
+ * snap that fails stages nothing: what changed since the last capture is on this disk only).
2134
+ * `complete` is false while any class's last snap failed. Absent from an older daemon.
2135
+ *
2136
+ * @generated from field: repeated sealant.v1.CaptureClassSnaps snaps = 26;
2137
+ */
2138
+ snaps: CaptureClassSnaps[];
2139
+ /**
2140
+ * Where this answer stands in the executor's own order (cross-repo decision 17). Control
2141
+ * planes order and supersede capture evidence by it, never by their own wall clocks. The
2142
+ * position is (epoch, launch, boot_id, boot_generation, observation), with `head_n` beside it.
2143
+ * `launch` is the executor `plan.get` named (the launch the session token was issued for),
2144
+ * absent when the plan named none: answers of different epochs or launches are different
2145
+ * executors' and are never ordered against each other. `boot_id` is random per daemon
2146
+ * process. `boot_generation` counts the daemon processes that opened this disk's staging
2147
+ * directory, this one included (persisted and fsynced there before the first answer): a
2148
+ * recovery boot of the same disk has a higher one; 0 when it could not be persisted.
2149
+ * `observation` is strictly increasing within one boot over every answer and every final seal
2150
+ * (the seal's manifest carries its own); an answer's content is computed under the number it
2151
+ * takes, so a higher number never describes an older state.
2152
+ *
2153
+ * Same (epoch, launch, boot_id): order by `observation`. Same (epoch, launch), different boot
2154
+ * ids, both generations above 0 and different: order by (boot_generation, observation).
2155
+ * Anything else (a field absent from an older daemon, a generation of 0, two boot ids under
2156
+ * one generation) is incomparable, and incomparable or contradictory evidence fails closed:
2157
+ * no deletion, no "saved".
2158
+ *
2159
+ * @generated from field: optional string launch = 27;
2160
+ */
2161
+ launch?: string | undefined;
2162
+ /**
2163
+ * @generated from field: optional string boot_id = 28;
2164
+ */
2165
+ bootId?: string | undefined;
2166
+ /**
2167
+ * @generated from field: optional uint64 boot_generation = 29;
2168
+ */
2169
+ bootGeneration?: bigint | undefined;
2170
+ /**
2171
+ * @generated from field: optional uint64 observation = 30;
2172
+ */
2173
+ observation?: bigint | undefined;
2174
+ /**
2175
+ * A capture step that has been running longer than it is expected to take at most, while it
2176
+ * runs: a snap, or a `git` a snap waits on (Docker end to end, round 8: a snap waited on a
2177
+ * `git cat-file` for 17 minutes, and every answer read like an idle, healthy capture). An
2178
+ * observation, not a failure: the step may still finish. A `git` of a snap is killed at its
2179
+ * own limit, and the snap fails (`snaps`) and is taken again. Of several, the innermost.
2180
+ * Absent while nothing is past its bound, and from an older daemon.
2181
+ *
2182
+ * @generated from field: sealant.v1.CaptureOverdue overdue = 31;
2183
+ */
2184
+ overdue?: CaptureOverdue | undefined;
2185
+ };
2186
+ /**
2187
+ * Describes the message sealant.v1.CaptureStatusReport.
2188
+ * Use `create(CaptureStatusReportSchema)` to create a new message.
2189
+ */
2190
+ export declare const CaptureStatusReportSchema: GenMessage<CaptureStatusReport>;
2191
+ /**
2192
+ * A capture step past its bound (`CaptureStatusReport.overdue`).
2193
+ *
2194
+ * @generated from message sealant.v1.CaptureOverdue
2195
+ */
2196
+ export type CaptureOverdue = Message<"sealant.v1.CaptureOverdue"> & {
2197
+ /**
2198
+ * What is running, outermost first, `›`-separated: `small snap › git cat-file --batch-check`.
2199
+ *
2200
+ * @generated from field: string step = 1;
2201
+ */
2202
+ step: string;
2203
+ /**
2204
+ * When it started, Unix milliseconds (display only: order evidence by `observation`).
2205
+ *
2206
+ * @generated from field: uint64 started_unix_ms = 2;
2207
+ */
2208
+ startedUnixMs: bigint;
2209
+ /**
2210
+ * How long it has been running when the answer was computed, milliseconds.
2211
+ *
2212
+ * @generated from field: uint64 running_ms = 3;
2213
+ */
2214
+ runningMs: bigint;
2215
+ /**
2216
+ * How long it is expected to take at most, milliseconds.
2217
+ *
2218
+ * @generated from field: uint64 bound_ms = 4;
2219
+ */
2220
+ boundMs: bigint;
2221
+ };
2222
+ /**
2223
+ * Describes the message sealant.v1.CaptureOverdue.
2224
+ * Use `create(CaptureOverdueSchema)` to create a new message.
2225
+ */
2226
+ export declare const CaptureOverdueSchema: GenMessage<CaptureOverdue>;
2227
+ /**
2228
+ * @generated from message sealant.v1.LeaseEpochReport
2229
+ */
2230
+ export type LeaseEpochReport = Message<"sealant.v1.LeaseEpochReport"> & {
2231
+ /**
2232
+ * @generated from field: uint64 epoch = 1;
2233
+ */
2234
+ epoch: bigint;
2235
+ /**
2236
+ * @generated from field: string worktree_id = 2;
2237
+ */
2238
+ worktreeId: string;
2239
+ /**
2240
+ * @generated from field: bool fenced = 3;
2241
+ */
2242
+ fenced: boolean;
2243
+ };
2244
+ /**
2245
+ * Describes the message sealant.v1.LeaseEpochReport.
2246
+ * Use `create(LeaseEpochReportSchema)` to create a new message.
2247
+ */
2248
+ export declare const LeaseEpochReportSchema: GenMessage<LeaseEpochReport>;
2249
+ /**
2250
+ * @generated from message sealant.v1.CaptureReplanned
2251
+ */
2252
+ export type CaptureReplanned = Message<"sealant.v1.CaptureReplanned"> & {
2253
+ /**
2254
+ * @generated from field: string worktree_id = 1;
2255
+ */
2256
+ worktreeId: string;
2257
+ /**
2258
+ * @generated from field: uint64 epoch = 2;
2259
+ */
2260
+ epoch: bigint;
2261
+ /**
2262
+ * @generated from field: optional uint64 head_n = 3;
2263
+ */
2264
+ headN?: bigint | undefined;
2265
+ /**
2266
+ * @generated from field: optional string head_capture_id = 4;
2267
+ */
2268
+ headCaptureId?: string | undefined;
2269
+ /**
2270
+ * @generated from field: uint64 files_written = 5;
2271
+ */
2272
+ filesWritten: bigint;
2273
+ /**
2274
+ * @generated from field: uint64 bytes_written = 6;
2275
+ */
2276
+ bytesWritten: bigint;
2277
+ /**
2278
+ * @generated from field: uint64 files_skipped = 7;
2279
+ */
2280
+ filesSkipped: bigint;
2281
+ /**
2282
+ * @generated from field: uint64 bytes_skipped = 8;
2283
+ */
2284
+ bytesSkipped: bigint;
2285
+ /**
2286
+ * @generated from field: uint64 removed = 9;
2287
+ */
2288
+ removed: bigint;
2289
+ /**
2290
+ * @generated from field: bool unchanged = 10;
2291
+ */
2292
+ unchanged: boolean;
2293
+ };
2294
+ /**
2295
+ * Describes the message sealant.v1.CaptureReplanned.
2296
+ * Use `create(CaptureReplannedSchema)` to create a new message.
2297
+ */
2298
+ export declare const CaptureReplannedSchema: GenMessage<CaptureReplanned>;
2299
+ /**
2300
+ * @generated from message sealant.v1.CommandResult
2301
+ */
2302
+ export type CommandResult = Message<"sealant.v1.CommandResult"> & {
2303
+ /**
2304
+ * @generated from oneof sealant.v1.CommandResult.result
2305
+ */
2306
+ result: {
2307
+ /**
2308
+ * @generated from field: sealant.v1.HealthReport health = 1;
2309
+ */
2310
+ value: HealthReport;
2311
+ case: "health";
2312
+ } | {
2313
+ /**
2314
+ * @generated from field: sealant.v1.Capabilities capabilities = 2;
2315
+ */
2316
+ value: Capabilities;
2317
+ case: "capabilities";
2318
+ } | {
2319
+ /**
2320
+ * @generated from field: sealant.v1.ExecAccepted exec_accepted = 3;
2321
+ */
2322
+ value: ExecAccepted;
2323
+ case: "execAccepted";
2324
+ } | {
2325
+ /**
2326
+ * @generated from field: sealant.v1.SessionOpened session_opened = 4;
2327
+ */
2328
+ value: SessionOpened;
2329
+ case: "sessionOpened";
2330
+ } | {
2331
+ /**
2332
+ * @generated from field: sealant.v1.ProcessList process_list = 5;
2333
+ */
2334
+ value: ProcessList;
2335
+ case: "processList";
2336
+ } | {
2337
+ /**
2338
+ * @generated from field: sealant.v1.SessionList session_list = 6;
2339
+ */
2340
+ value: SessionList;
2341
+ case: "sessionList";
2342
+ } | {
2343
+ /**
2344
+ * @generated from field: sealant.v1.RuntimeMetrics metrics = 7;
2345
+ */
2346
+ value: RuntimeMetrics;
2347
+ case: "metrics";
2348
+ } | {
2349
+ /**
2350
+ * @generated from field: sealant.v1.ShutdownAccepted shutdown_accepted = 8;
2351
+ */
2352
+ value: ShutdownAccepted;
2353
+ case: "shutdownAccepted";
2354
+ } | {
2355
+ /**
2356
+ * @generated from field: sealant.v1.Empty accepted = 9;
2357
+ */
2358
+ value: Empty;
2359
+ case: "accepted";
2360
+ } | {
2361
+ /**
2362
+ * @generated from field: sealant.v1.StreamAttached stream_attached = 10;
2363
+ */
2364
+ value: StreamAttached;
2365
+ case: "streamAttached";
2366
+ } | {
2367
+ /**
2368
+ * @generated from field: sealant.v1.ForwardOpened forward_opened = 11;
2369
+ */
2370
+ value: ForwardOpened;
2371
+ case: "forwardOpened";
2372
+ } | {
2373
+ /**
2374
+ * @generated from field: sealant.v1.SftpOpened sftp_opened = 12;
2375
+ */
2376
+ value: SftpOpened;
2377
+ case: "sftpOpened";
2378
+ } | {
2379
+ /**
2380
+ * @generated from field: sealant.v1.ProcessAttached process_attached = 13;
2381
+ */
2382
+ value: ProcessAttached;
2383
+ case: "processAttached";
2384
+ } | {
2385
+ /**
2386
+ * @generated from field: sealant.v1.SessionOutput session_output = 14;
2387
+ */
2388
+ value: SessionOutput;
2389
+ case: "sessionOutput";
2390
+ } | {
2391
+ /**
2392
+ * @generated from field: sealant.v1.CaptureStaged capture_staged = 15;
2393
+ */
2394
+ value: CaptureStaged;
2395
+ case: "captureStaged";
2396
+ } | {
2397
+ /**
2398
+ * @generated from field: sealant.v1.CaptureStatusReport capture_status = 16;
2399
+ */
2400
+ value: CaptureStatusReport;
2401
+ case: "captureStatus";
2402
+ } | {
2403
+ /**
2404
+ * @generated from field: sealant.v1.LeaseEpochReport lease_epoch = 17;
2405
+ */
2406
+ value: LeaseEpochReport;
2407
+ case: "leaseEpoch";
2408
+ } | {
2409
+ /**
2410
+ * @generated from field: sealant.v1.CaptureReplanned capture_replanned = 18;
2411
+ */
2412
+ value: CaptureReplanned;
2413
+ case: "captureReplanned";
2414
+ } | {
2415
+ case: undefined;
2416
+ value?: undefined;
2417
+ };
2418
+ };
2419
+ /**
2420
+ * Describes the message sealant.v1.CommandResult.
2421
+ * Use `create(CommandResultSchema)` to create a new message.
2422
+ */
2423
+ export declare const CommandResultSchema: GenMessage<CommandResult>;
2424
+ /**
2425
+ * @generated from message sealant.v1.ControlError
2426
+ */
2427
+ export type ControlError = Message<"sealant.v1.ControlError"> & {
2428
+ /**
2429
+ * @generated from field: sealant.v1.ControlErrorCode code = 1;
2430
+ */
2431
+ code: ControlErrorCode;
2432
+ /**
2433
+ * @generated from field: string message = 2;
2434
+ */
2435
+ message: string;
2436
+ /**
2437
+ * @generated from field: optional string detail_json = 3;
2438
+ */
2439
+ detailJson?: string | undefined;
2440
+ };
2441
+ /**
2442
+ * Describes the message sealant.v1.ControlError.
2443
+ * Use `create(ControlErrorSchema)` to create a new message.
2444
+ */
2445
+ export declare const ControlErrorSchema: GenMessage<ControlError>;
2446
+ /**
2447
+ * @generated from message sealant.v1.ControlRequest
2448
+ */
2449
+ export type ControlRequest = Message<"sealant.v1.ControlRequest"> & {
2450
+ /**
2451
+ * @generated from field: uint32 schema_version = 1;
2452
+ */
2453
+ schemaVersion: number;
2454
+ /**
2455
+ * @generated from field: string request_id = 2;
2456
+ */
2457
+ requestId: string;
2458
+ /**
2459
+ * @generated from field: sealant.v1.Command command = 3;
2460
+ */
2461
+ command?: Command | undefined;
2462
+ };
2463
+ /**
2464
+ * Describes the message sealant.v1.ControlRequest.
2465
+ * Use `create(ControlRequestSchema)` to create a new message.
2466
+ */
2467
+ export declare const ControlRequestSchema: GenMessage<ControlRequest>;
2468
+ /**
2469
+ * @generated from message sealant.v1.ResponseOutcome
2470
+ */
2471
+ export type ResponseOutcome = Message<"sealant.v1.ResponseOutcome"> & {
2472
+ /**
2473
+ * @generated from oneof sealant.v1.ResponseOutcome.outcome
2474
+ */
2475
+ outcome: {
2476
+ /**
2477
+ * present on success (may itself carry no data via Empty "accepted")
2478
+ *
2479
+ * @generated from field: sealant.v1.CommandResult ok = 1;
2480
+ */
2481
+ value: CommandResult;
2482
+ case: "ok";
2483
+ } | {
2484
+ /**
2485
+ * @generated from field: sealant.v1.ControlError error = 2;
2486
+ */
2487
+ value: ControlError;
2488
+ case: "error";
2489
+ } | {
2490
+ case: undefined;
2491
+ value?: undefined;
2492
+ };
2493
+ };
2494
+ /**
2495
+ * Describes the message sealant.v1.ResponseOutcome.
2496
+ * Use `create(ResponseOutcomeSchema)` to create a new message.
2497
+ */
2498
+ export declare const ResponseOutcomeSchema: GenMessage<ResponseOutcome>;
2499
+ /**
2500
+ * @generated from message sealant.v1.ControlResponse
2501
+ */
2502
+ export type ControlResponse = Message<"sealant.v1.ControlResponse"> & {
2503
+ /**
2504
+ * @generated from field: uint32 schema_version = 1;
2505
+ */
2506
+ schemaVersion: number;
2507
+ /**
2508
+ * @generated from field: string request_id = 2;
2509
+ */
2510
+ requestId: string;
2511
+ /**
2512
+ * @generated from field: sealant.v1.ResponseOutcome outcome = 3;
2513
+ */
2514
+ outcome?: ResponseOutcome | undefined;
2515
+ };
2516
+ /**
2517
+ * Describes the message sealant.v1.ControlResponse.
2518
+ * Use `create(ControlResponseSchema)` to create a new message.
2519
+ */
2520
+ export declare const ControlResponseSchema: GenMessage<ControlResponse>;
2521
+ /**
2522
+ * A reliable byte-conduit frame: raw bytes, a flow-control credit, or a close. Carried over the same
2523
+ * length-prefixed stream as requests/responses/events, addressed by channel_id.
2524
+ *
2525
+ * @generated from message sealant.v1.StreamWindowUpdate
2526
+ */
2527
+ export type StreamWindowUpdate = Message<"sealant.v1.StreamWindowUpdate"> & {
2528
+ /**
2529
+ * @generated from field: uint64 credits = 1;
2530
+ */
2531
+ credits: bigint;
2532
+ };
2533
+ /**
2534
+ * Describes the message sealant.v1.StreamWindowUpdate.
2535
+ * Use `create(StreamWindowUpdateSchema)` to create a new message.
2536
+ */
2537
+ export declare const StreamWindowUpdateSchema: GenMessage<StreamWindowUpdate>;
2538
+ /**
2539
+ * @generated from message sealant.v1.StreamEnd
2540
+ */
2541
+ export type StreamEnd = Message<"sealant.v1.StreamEnd"> & {
2542
+ /**
2543
+ * @generated from field: optional int32 exit_code = 1;
2544
+ */
2545
+ exitCode?: number | undefined;
2546
+ /**
2547
+ * @generated from field: optional int32 signal = 2;
2548
+ */
2549
+ signal?: number | undefined;
2550
+ /**
2551
+ * @generated from field: optional string error = 3;
2552
+ */
2553
+ error?: string | undefined;
2554
+ };
2555
+ /**
2556
+ * Describes the message sealant.v1.StreamEnd.
2557
+ * Use `create(StreamEndSchema)` to create a new message.
2558
+ */
2559
+ export declare const StreamEndSchema: GenMessage<StreamEnd>;
2560
+ /**
2561
+ * @generated from message sealant.v1.StreamFrame
2562
+ */
2563
+ export type StreamFrame = Message<"sealant.v1.StreamFrame"> & {
2564
+ /**
2565
+ * @generated from field: string channel_id = 1;
2566
+ */
2567
+ channelId: string;
2568
+ /**
2569
+ * @generated from field: uint64 seq = 2;
2570
+ */
2571
+ seq: bigint;
2572
+ /**
2573
+ * @generated from oneof sealant.v1.StreamFrame.payload
2574
+ */
2575
+ payload: {
2576
+ /**
2577
+ * @generated from field: bytes data = 3;
2578
+ */
2579
+ value: Uint8Array;
2580
+ case: "data";
2581
+ } | {
2582
+ /**
2583
+ * @generated from field: sealant.v1.StreamWindowUpdate window_update = 4;
2584
+ */
2585
+ value: StreamWindowUpdate;
2586
+ case: "windowUpdate";
2587
+ } | {
2588
+ /**
2589
+ * @generated from field: sealant.v1.StreamEnd end = 5;
2590
+ */
2591
+ value: StreamEnd;
2592
+ case: "end";
2593
+ } | {
2594
+ case: undefined;
2595
+ value?: undefined;
2596
+ };
2597
+ };
2598
+ /**
2599
+ * Describes the message sealant.v1.StreamFrame.
2600
+ * Use `create(StreamFrameSchema)` to create a new message.
2601
+ */
2602
+ export declare const StreamFrameSchema: GenMessage<StreamFrame>;
2603
+ /**
2604
+ * @generated from message sealant.v1.ClientMessage
2605
+ */
2606
+ export type ClientMessage = Message<"sealant.v1.ClientMessage"> & {
2607
+ /**
2608
+ * @generated from oneof sealant.v1.ClientMessage.message
2609
+ */
2610
+ message: {
2611
+ /**
2612
+ * @generated from field: sealant.v1.ControlRequest request = 1;
2613
+ */
2614
+ value: ControlRequest;
2615
+ case: "request";
2616
+ } | {
2617
+ /**
2618
+ * @generated from field: sealant.v1.StreamFrame stream = 2;
2619
+ */
2620
+ value: StreamFrame;
2621
+ case: "stream";
2622
+ } | {
2623
+ case: undefined;
2624
+ value?: undefined;
2625
+ };
2626
+ };
2627
+ /**
2628
+ * Describes the message sealant.v1.ClientMessage.
2629
+ * Use `create(ClientMessageSchema)` to create a new message.
2630
+ */
2631
+ export declare const ClientMessageSchema: GenMessage<ClientMessage>;
2632
+ /**
2633
+ * @generated from message sealant.v1.ServerMessage
2634
+ */
2635
+ export type ServerMessage = Message<"sealant.v1.ServerMessage"> & {
2636
+ /**
2637
+ * @generated from oneof sealant.v1.ServerMessage.message
2638
+ */
2639
+ message: {
2640
+ /**
2641
+ * @generated from field: sealant.v1.ControlResponse response = 1;
2642
+ */
2643
+ value: ControlResponse;
2644
+ case: "response";
2645
+ } | {
2646
+ /**
2647
+ * @generated from field: sealant.v1.EventEnvelope event = 2;
2648
+ */
2649
+ value: EventEnvelope;
2650
+ case: "event";
2651
+ } | {
2652
+ /**
2653
+ * @generated from field: sealant.v1.StreamFrame stream = 3;
2654
+ */
2655
+ value: StreamFrame;
2656
+ case: "stream";
2657
+ } | {
2658
+ case: undefined;
2659
+ value?: undefined;
2660
+ };
2661
+ };
2662
+ /**
2663
+ * Describes the message sealant.v1.ServerMessage.
2664
+ * Use `create(ServerMessageSchema)` to create a new message.
2665
+ */
2666
+ export declare const ServerMessageSchema: GenMessage<ServerMessage>;
2667
+ /**
2668
+ * @generated from enum sealant.v1.RuntimeState
2669
+ */
2670
+ export declare enum RuntimeState {
2671
+ /**
2672
+ * @generated from enum value: RUNTIME_STATE_UNSPECIFIED = 0;
2673
+ */
2674
+ UNSPECIFIED = 0,
2675
+ /**
2676
+ * @generated from enum value: RUNTIME_STATE_STARTING = 1;
2677
+ */
2678
+ STARTING = 1,
2679
+ /**
2680
+ * @generated from enum value: RUNTIME_STATE_HEALTHY = 2;
2681
+ */
2682
+ HEALTHY = 2,
2683
+ /**
2684
+ * @generated from enum value: RUNTIME_STATE_DEGRADED = 3;
2685
+ */
2686
+ DEGRADED = 3,
2687
+ /**
2688
+ * @generated from enum value: RUNTIME_STATE_UNHEALTHY = 4;
2689
+ */
2690
+ UNHEALTHY = 4,
2691
+ /**
2692
+ * @generated from enum value: RUNTIME_STATE_SHUTTING_DOWN = 5;
2693
+ */
2694
+ SHUTTING_DOWN = 5,
2695
+ /**
2696
+ * @generated from enum value: RUNTIME_STATE_STOPPED = 6;
2697
+ */
2698
+ STOPPED = 6
2699
+ }
2700
+ /**
2701
+ * Describes the enum sealant.v1.RuntimeState.
2702
+ */
2703
+ export declare const RuntimeStateSchema: GenEnum<RuntimeState>;
2704
+ /**
2705
+ * @generated from enum sealant.v1.ProcessState
2706
+ */
2707
+ export declare enum ProcessState {
2708
+ /**
2709
+ * @generated from enum value: PROCESS_STATE_UNSPECIFIED = 0;
2710
+ */
2711
+ UNSPECIFIED = 0,
2712
+ /**
2713
+ * @generated from enum value: PROCESS_STATE_CREATED = 1;
2714
+ */
2715
+ CREATED = 1,
2716
+ /**
2717
+ * @generated from enum value: PROCESS_STATE_STARTING = 2;
2718
+ */
2719
+ STARTING = 2,
2720
+ /**
2721
+ * @generated from enum value: PROCESS_STATE_RUNNING = 3;
2722
+ */
2723
+ RUNNING = 3,
2724
+ /**
2725
+ * @generated from enum value: PROCESS_STATE_TERMINATING = 4;
2726
+ */
2727
+ TERMINATING = 4,
2728
+ /**
2729
+ * @generated from enum value: PROCESS_STATE_EXITED = 5;
2730
+ */
2731
+ EXITED = 5,
2732
+ /**
2733
+ * @generated from enum value: PROCESS_STATE_SIGNALED = 6;
2734
+ */
2735
+ SIGNALED = 6,
2736
+ /**
2737
+ * @generated from enum value: PROCESS_STATE_FAILED = 7;
2738
+ */
2739
+ FAILED = 7
2740
+ }
2741
+ /**
2742
+ * Describes the enum sealant.v1.ProcessState.
2743
+ */
2744
+ export declare const ProcessStateSchema: GenEnum<ProcessState>;
2745
+ /**
2746
+ * @generated from enum sealant.v1.ExitReason
2747
+ */
2748
+ export declare enum ExitReason {
2749
+ /**
2750
+ * @generated from enum value: EXIT_REASON_UNSPECIFIED = 0;
2751
+ */
2752
+ UNSPECIFIED = 0,
2753
+ /**
2754
+ * @generated from enum value: EXIT_REASON_EXITED = 1;
2755
+ */
2756
+ EXITED = 1,
2757
+ /**
2758
+ * @generated from enum value: EXIT_REASON_SIGNALED = 2;
2759
+ */
2760
+ SIGNALED = 2,
2761
+ /**
2762
+ * @generated from enum value: EXIT_REASON_TIMEOUT = 3;
2763
+ */
2764
+ TIMEOUT = 3,
2765
+ /**
2766
+ * @generated from enum value: EXIT_REASON_CANCELLED = 4;
2767
+ */
2768
+ CANCELLED = 4,
2769
+ /**
2770
+ * @generated from enum value: EXIT_REASON_START_FAILED = 5;
2771
+ */
2772
+ START_FAILED = 5,
2773
+ /**
2774
+ * @generated from enum value: EXIT_REASON_LOST = 6;
2775
+ */
2776
+ LOST = 6
2777
+ }
2778
+ /**
2779
+ * Describes the enum sealant.v1.ExitReason.
2780
+ */
2781
+ export declare const ExitReasonSchema: GenEnum<ExitReason>;
2782
+ /**
2783
+ * @generated from enum sealant.v1.StreamKind
2784
+ */
2785
+ export declare enum StreamKind {
2786
+ /**
2787
+ * @generated from enum value: STREAM_KIND_UNSPECIFIED = 0;
2788
+ */
2789
+ UNSPECIFIED = 0,
2790
+ /**
2791
+ * @generated from enum value: STREAM_KIND_STDIN = 1;
2792
+ */
2793
+ STDIN = 1,
2794
+ /**
2795
+ * @generated from enum value: STREAM_KIND_STDOUT = 2;
2796
+ */
2797
+ STDOUT = 2,
2798
+ /**
2799
+ * @generated from enum value: STREAM_KIND_STDERR = 3;
2800
+ */
2801
+ STDERR = 3,
2802
+ /**
2803
+ * @generated from enum value: STREAM_KIND_PTY_INPUT = 4;
2804
+ */
2805
+ PTY_INPUT = 4,
2806
+ /**
2807
+ * @generated from enum value: STREAM_KIND_PTY_OUTPUT = 5;
2808
+ */
2809
+ PTY_OUTPUT = 5
2810
+ }
2811
+ /**
2812
+ * Describes the enum sealant.v1.StreamKind.
2813
+ */
2814
+ export declare const StreamKindSchema: GenEnum<StreamKind>;
2815
+ /**
2816
+ * @generated from enum sealant.v1.CaptureMethod
2817
+ */
2818
+ export declare enum CaptureMethod {
2819
+ /**
2820
+ * @generated from enum value: CAPTURE_METHOD_UNSPECIFIED = 0;
2821
+ */
2822
+ UNSPECIFIED = 0,
2823
+ /**
2824
+ * @generated from enum value: CAPTURE_METHOD_PIPE = 1;
2825
+ */
2826
+ PIPE = 1,
2827
+ /**
2828
+ * @generated from enum value: CAPTURE_METHOD_PTY = 2;
2829
+ */
2830
+ PTY = 2,
2831
+ /**
2832
+ * @generated from enum value: CAPTURE_METHOD_PROXY = 3;
2833
+ */
2834
+ PROXY = 3,
2835
+ /**
2836
+ * @generated from enum value: CAPTURE_METHOD_INOTIFY = 4;
2837
+ */
2838
+ INOTIFY = 4,
2839
+ /**
2840
+ * @generated from enum value: CAPTURE_METHOD_SNAPSHOT = 5;
2841
+ */
2842
+ SNAPSHOT = 5,
2843
+ /**
2844
+ * @generated from enum value: CAPTURE_METHOD_EBPF = 6;
2845
+ */
2846
+ EBPF = 6,
2847
+ /**
2848
+ * @generated from enum value: CAPTURE_METHOD_NETLINK = 7;
2849
+ */
2850
+ NETLINK = 7,
2851
+ /**
2852
+ * @generated from enum value: CAPTURE_METHOD_INTERNAL = 8;
2853
+ */
2854
+ INTERNAL = 8
2855
+ }
2856
+ /**
2857
+ * Describes the enum sealant.v1.CaptureMethod.
2858
+ */
2859
+ export declare const CaptureMethodSchema: GenEnum<CaptureMethod>;
2860
+ /**
2861
+ * @generated from enum sealant.v1.Confidence
2862
+ */
2863
+ export declare enum Confidence {
2864
+ /**
2865
+ * @generated from enum value: CONFIDENCE_UNSPECIFIED = 0;
2866
+ */
2867
+ UNSPECIFIED = 0,
2868
+ /**
2869
+ * @generated from enum value: CONFIDENCE_OBSERVED = 1;
2870
+ */
2871
+ OBSERVED = 1,
2872
+ /**
2873
+ * @generated from enum value: CONFIDENCE_INFERRED = 2;
2874
+ */
2875
+ INFERRED = 2,
2876
+ /**
2877
+ * @generated from enum value: CONFIDENCE_UNKNOWN = 3;
2878
+ */
2879
+ UNKNOWN = 3
2880
+ }
2881
+ /**
2882
+ * Describes the enum sealant.v1.Confidence.
2883
+ */
2884
+ export declare const ConfidenceSchema: GenEnum<Confidence>;
2885
+ /**
2886
+ * @generated from enum sealant.v1.EventPriority
2887
+ */
2888
+ export declare enum EventPriority {
2889
+ /**
2890
+ * @generated from enum value: EVENT_PRIORITY_UNSPECIFIED = 0;
2891
+ */
2892
+ UNSPECIFIED = 0,
2893
+ /**
2894
+ * @generated from enum value: EVENT_PRIORITY_CRITICAL = 1;
2895
+ */
2896
+ CRITICAL = 1,
2897
+ /**
2898
+ * @generated from enum value: EVENT_PRIORITY_NORMAL = 2;
2899
+ */
2900
+ NORMAL = 2,
2901
+ /**
2902
+ * @generated from enum value: EVENT_PRIORITY_LOW = 3;
2903
+ */
2904
+ LOW = 3
2905
+ }
2906
+ /**
2907
+ * Describes the enum sealant.v1.EventPriority.
2908
+ */
2909
+ export declare const EventPrioritySchema: GenEnum<EventPriority>;
2910
+ /**
2911
+ * @generated from enum sealant.v1.Feature
2912
+ */
2913
+ export declare enum Feature {
2914
+ /**
2915
+ * @generated from enum value: FEATURE_UNSPECIFIED = 0;
2916
+ */
2917
+ UNSPECIFIED = 0,
2918
+ /**
2919
+ * @generated from enum value: FEATURE_FILESYSTEM_DIFFING = 1;
2920
+ */
2921
+ FILESYSTEM_DIFFING = 1,
2922
+ /**
2923
+ * @generated from enum value: FEATURE_LIVE_FILESYSTEM_WATCHING = 2;
2924
+ */
2925
+ LIVE_FILESYSTEM_WATCHING = 2,
2926
+ /**
2927
+ * @generated from enum value: FEATURE_NETWORK_COLLECTION = 3;
2928
+ */
2929
+ NETWORK_COLLECTION = 3,
2930
+ /**
2931
+ * @generated from enum value: FEATURE_PAYLOAD_CAPTURE = 4;
2932
+ */
2933
+ PAYLOAD_CAPTURE = 4,
2934
+ /**
2935
+ * @generated from enum value: FEATURE_VERBOSE_IO_CAPTURE = 5;
2936
+ */
2937
+ VERBOSE_IO_CAPTURE = 5,
2938
+ /**
2939
+ * @generated from enum value: FEATURE_RESOURCE_SAMPLING = 6;
2940
+ */
2941
+ RESOURCE_SAMPLING = 6
2942
+ }
2943
+ /**
2944
+ * Describes the enum sealant.v1.Feature.
2945
+ */
2946
+ export declare const FeatureSchema: GenEnum<Feature>;
2947
+ /**
2948
+ * @generated from enum sealant.v1.Signal
2949
+ */
2950
+ export declare enum Signal {
2951
+ /**
2952
+ * @generated from enum value: SIGNAL_UNSPECIFIED = 0;
2953
+ */
2954
+ UNSPECIFIED = 0,
2955
+ /**
2956
+ * @generated from enum value: SIGNAL_HUP = 1;
2957
+ */
2958
+ HUP = 1,
2959
+ /**
2960
+ * @generated from enum value: SIGNAL_INT = 2;
2961
+ */
2962
+ INT = 2,
2963
+ /**
2964
+ * @generated from enum value: SIGNAL_QUIT = 3;
2965
+ */
2966
+ QUIT = 3,
2967
+ /**
2968
+ * @generated from enum value: SIGNAL_TERM = 4;
2969
+ */
2970
+ TERM = 4,
2971
+ /**
2972
+ * @generated from enum value: SIGNAL_KILL = 5;
2973
+ */
2974
+ KILL = 5,
2975
+ /**
2976
+ * @generated from enum value: SIGNAL_USR1 = 6;
2977
+ */
2978
+ USR1 = 6,
2979
+ /**
2980
+ * @generated from enum value: SIGNAL_USR2 = 7;
2981
+ */
2982
+ USR2 = 7,
2983
+ /**
2984
+ * @generated from enum value: SIGNAL_STOP = 8;
2985
+ */
2986
+ STOP = 8,
2987
+ /**
2988
+ * @generated from enum value: SIGNAL_CONT = 9;
2989
+ */
2990
+ CONT = 9
2991
+ }
2992
+ /**
2993
+ * Describes the enum sealant.v1.Signal.
2994
+ */
2995
+ export declare const SignalSchema: GenEnum<Signal>;
2996
+ /**
2997
+ * @generated from enum sealant.v1.CaptureMode
2998
+ */
2999
+ export declare enum CaptureMode {
3000
+ /**
3001
+ * @generated from enum value: CAPTURE_MODE_UNSPECIFIED = 0;
3002
+ */
3003
+ UNSPECIFIED = 0,
3004
+ /**
3005
+ * @generated from enum value: CAPTURE_MODE_FULL = 1;
3006
+ */
3007
+ FULL = 1,
3008
+ /**
3009
+ * @generated from enum value: CAPTURE_MODE_METADATA_ONLY = 2;
3010
+ */
3011
+ METADATA_ONLY = 2,
3012
+ /**
3013
+ * @generated from enum value: CAPTURE_MODE_DISABLED = 3;
3014
+ */
3015
+ DISABLED = 3
3016
+ }
3017
+ /**
3018
+ * Describes the enum sealant.v1.CaptureMode.
3019
+ */
3020
+ export declare const CaptureModeSchema: GenEnum<CaptureMode>;
3021
+ /**
3022
+ * @generated from enum sealant.v1.NetworkMode
3023
+ */
3024
+ export declare enum NetworkMode {
3025
+ /**
3026
+ * @generated from enum value: NETWORK_MODE_UNSPECIFIED = 0;
3027
+ */
3028
+ UNSPECIFIED = 0,
3029
+ /**
3030
+ * @generated from enum value: NETWORK_MODE_OFF = 1;
3031
+ */
3032
+ OFF = 1,
3033
+ /**
3034
+ * @generated from enum value: NETWORK_MODE_METADATA = 2;
3035
+ */
3036
+ METADATA = 2,
3037
+ /**
3038
+ * @generated from enum value: NETWORK_MODE_PROXY = 3;
3039
+ */
3040
+ PROXY = 3,
3041
+ /**
3042
+ * @generated from enum value: NETWORK_MODE_PRIVILEGED = 4;
3043
+ */
3044
+ PRIVILEGED = 4,
3045
+ /**
3046
+ * @generated from enum value: NETWORK_MODE_PAYLOAD = 5;
3047
+ */
3048
+ PAYLOAD = 5
3049
+ }
3050
+ /**
3051
+ * Describes the enum sealant.v1.NetworkMode.
3052
+ */
3053
+ export declare const NetworkModeSchema: GenEnum<NetworkMode>;
3054
+ /**
3055
+ * @generated from enum sealant.v1.ControlErrorCode
3056
+ */
3057
+ export declare enum ControlErrorCode {
3058
+ /**
3059
+ * @generated from enum value: CONTROL_ERROR_CODE_UNSPECIFIED = 0;
3060
+ */
3061
+ UNSPECIFIED = 0,
3062
+ /**
3063
+ * @generated from enum value: CONTROL_ERROR_CODE_INVALID_JSON = 1;
3064
+ */
3065
+ INVALID_JSON = 1,
3066
+ /**
3067
+ * @generated from enum value: CONTROL_ERROR_CODE_UNSUPPORTED_VERSION = 2;
3068
+ */
3069
+ UNSUPPORTED_VERSION = 2,
3070
+ /**
3071
+ * @generated from enum value: CONTROL_ERROR_CODE_FRAME_TOO_LARGE = 3;
3072
+ */
3073
+ FRAME_TOO_LARGE = 3,
3074
+ /**
3075
+ * @generated from enum value: CONTROL_ERROR_CODE_UNKNOWN_COMMAND = 4;
3076
+ */
3077
+ UNKNOWN_COMMAND = 4,
3078
+ /**
3079
+ * @generated from enum value: CONTROL_ERROR_CODE_INVALID_ARGUMENT = 5;
3080
+ */
3081
+ INVALID_ARGUMENT = 5,
3082
+ /**
3083
+ * @generated from enum value: CONTROL_ERROR_CODE_MISSING_COMMAND = 6;
3084
+ */
3085
+ MISSING_COMMAND = 6,
3086
+ /**
3087
+ * @generated from enum value: CONTROL_ERROR_CODE_EXECUTION_NOT_FOUND = 7;
3088
+ */
3089
+ EXECUTION_NOT_FOUND = 7,
3090
+ /**
3091
+ * @generated from enum value: CONTROL_ERROR_CODE_SESSION_NOT_FOUND = 8;
3092
+ */
3093
+ SESSION_NOT_FOUND = 8,
3094
+ /**
3095
+ * @generated from enum value: CONTROL_ERROR_CODE_PROCESS_NOT_FOUND = 9;
3096
+ */
3097
+ PROCESS_NOT_FOUND = 9,
3098
+ /**
3099
+ * @generated from enum value: CONTROL_ERROR_CODE_PROCESS_START_FAILED = 10;
3100
+ */
3101
+ PROCESS_START_FAILED = 10,
3102
+ /**
3103
+ * @generated from enum value: CONTROL_ERROR_CODE_PTY_ALLOCATION_FAILED = 11;
3104
+ */
3105
+ PTY_ALLOCATION_FAILED = 11,
3106
+ /**
3107
+ * @generated from enum value: CONTROL_ERROR_CODE_PERMISSION_DENIED = 12;
3108
+ */
3109
+ PERMISSION_DENIED = 12,
3110
+ /**
3111
+ * @generated from enum value: CONTROL_ERROR_CODE_POLICY_DENIED = 13;
3112
+ */
3113
+ POLICY_DENIED = 13,
3114
+ /**
3115
+ * @generated from enum value: CONTROL_ERROR_CODE_FEATURE_UNAVAILABLE = 14;
3116
+ */
3117
+ FEATURE_UNAVAILABLE = 14,
3118
+ /**
3119
+ * @generated from enum value: CONTROL_ERROR_CODE_CAPABILITY_UNAVAILABLE = 15;
3120
+ */
3121
+ CAPABILITY_UNAVAILABLE = 15,
3122
+ /**
3123
+ * @generated from enum value: CONTROL_ERROR_CODE_QUEUE_FULL = 16;
3124
+ */
3125
+ QUEUE_FULL = 16,
3126
+ /**
3127
+ * @generated from enum value: CONTROL_ERROR_CODE_RUNTIME_SHUTTING_DOWN = 17;
3128
+ */
3129
+ RUNTIME_SHUTTING_DOWN = 17,
3130
+ /**
3131
+ * @generated from enum value: CONTROL_ERROR_CODE_INTERNAL_ERROR = 18;
3132
+ */
3133
+ INTERNAL_ERROR = 18
3134
+ }
3135
+ /**
3136
+ * Describes the enum sealant.v1.ControlErrorCode.
3137
+ */
3138
+ export declare const ControlErrorCodeSchema: GenEnum<ControlErrorCode>;
3139
+ /**
3140
+ * @generated from enum sealant.v1.FileChangeKind
3141
+ */
3142
+ export declare enum FileChangeKind {
3143
+ /**
3144
+ * @generated from enum value: FILE_CHANGE_KIND_UNSPECIFIED = 0;
3145
+ */
3146
+ UNSPECIFIED = 0,
3147
+ /**
3148
+ * @generated from enum value: FILE_CHANGE_KIND_ADDED = 1;
3149
+ */
3150
+ ADDED = 1,
3151
+ /**
3152
+ * @generated from enum value: FILE_CHANGE_KIND_MODIFIED = 2;
3153
+ */
3154
+ MODIFIED = 2,
3155
+ /**
3156
+ * @generated from enum value: FILE_CHANGE_KIND_DELETED = 3;
3157
+ */
3158
+ DELETED = 3,
3159
+ /**
3160
+ * @generated from enum value: FILE_CHANGE_KIND_RENAMED = 4;
3161
+ */
3162
+ RENAMED = 4,
3163
+ /**
3164
+ * @generated from enum value: FILE_CHANGE_KIND_METADATA_CHANGED = 5;
3165
+ */
3166
+ METADATA_CHANGED = 5
3167
+ }
3168
+ /**
3169
+ * Describes the enum sealant.v1.FileChangeKind.
3170
+ */
3171
+ export declare const FileChangeKindSchema: GenEnum<FileChangeKind>;
3172
+ /**
3173
+ * @generated from enum sealant.v1.FileType
3174
+ */
3175
+ export declare enum FileType {
3176
+ /**
3177
+ * @generated from enum value: FILE_TYPE_UNSPECIFIED = 0;
3178
+ */
3179
+ UNSPECIFIED = 0,
3180
+ /**
3181
+ * @generated from enum value: FILE_TYPE_FILE = 1;
3182
+ */
3183
+ FILE = 1,
3184
+ /**
3185
+ * @generated from enum value: FILE_TYPE_DIR = 2;
3186
+ */
3187
+ DIR = 2,
3188
+ /**
3189
+ * @generated from enum value: FILE_TYPE_SYMLINK = 3;
3190
+ */
3191
+ SYMLINK = 3,
3192
+ /**
3193
+ * @generated from enum value: FILE_TYPE_OTHER = 4;
3194
+ */
3195
+ OTHER = 4
3196
+ }
3197
+ /**
3198
+ * Describes the enum sealant.v1.FileType.
3199
+ */
3200
+ export declare const FileTypeSchema: GenEnum<FileType>;
3201
+ /**
3202
+ * @generated from enum sealant.v1.NetworkScheme
3203
+ */
3204
+ export declare enum NetworkScheme {
3205
+ /**
3206
+ * @generated from enum value: NETWORK_SCHEME_UNSPECIFIED = 0;
3207
+ */
3208
+ UNSPECIFIED = 0,
3209
+ /**
3210
+ * @generated from enum value: NETWORK_SCHEME_HTTP = 1;
3211
+ */
3212
+ HTTP = 1,
3213
+ /**
3214
+ * @generated from enum value: NETWORK_SCHEME_HTTPS_CONNECT = 2;
3215
+ */
3216
+ HTTPS_CONNECT = 2
3217
+ }
3218
+ /**
3219
+ * Describes the enum sealant.v1.NetworkScheme.
3220
+ */
3221
+ export declare const NetworkSchemeSchema: GenEnum<NetworkScheme>;
3222
+ /**
3223
+ * How a session's leader is wired to the daemon.
3224
+ *
3225
+ * @generated from enum sealant.v1.SessionMode
3226
+ */
3227
+ export declare enum SessionMode {
3228
+ /**
3229
+ * @generated from enum value: SESSION_MODE_UNSPECIFIED = 0;
3230
+ */
3231
+ UNSPECIFIED = 0,
3232
+ /**
3233
+ * A pseudoterminal: the leader is a session leader with a controlling tty (interactive shells,
3234
+ * TUIs). Output is the PTY byte stream; input is keystrokes; resize applies.
3235
+ *
3236
+ * @generated from enum value: SESSION_MODE_PTY = 1;
3237
+ */
3238
+ PTY = 1,
3239
+ /**
3240
+ * Plain pipes: stdin/stdout/stderr are pipes, no tty (protocol processes such as JSON-RPC
3241
+ * servers). stdout is the journaled/attachable output, stderr is recorded as telemetry only,
3242
+ * stdin is the input path; resize is rejected.
3243
+ *
3244
+ * @generated from enum value: SESSION_MODE_PIPE = 2;
3245
+ */
3246
+ PIPE = 2
3247
+ }
3248
+ /**
3249
+ * Describes the enum sealant.v1.SessionMode.
3250
+ */
3251
+ export declare const SessionModeSchema: GenEnum<SessionMode>;
3252
+ /**
3253
+ * @generated from enum sealant.v1.AttachMode
3254
+ */
3255
+ export declare enum AttachMode {
3256
+ /**
3257
+ * @generated from enum value: ATTACH_MODE_UNSPECIFIED = 0;
3258
+ */
3259
+ UNSPECIFIED = 0,
3260
+ /**
3261
+ * @generated from enum value: ATTACH_MODE_INTERACTIVE = 1;
3262
+ */
3263
+ INTERACTIVE = 1,
3264
+ /**
3265
+ * @generated from enum value: ATTACH_MODE_OBSERVE = 2;
3266
+ */
3267
+ OBSERVE = 2
3268
+ }
3269
+ /**
3270
+ * Describes the enum sealant.v1.AttachMode.
3271
+ */
3272
+ export declare const AttachModeSchema: GenEnum<AttachMode>;
3273
+ /**
3274
+ * Session capture store (ADR-0015).
3275
+ *
3276
+ * @generated from enum sealant.v1.CaptureKind
3277
+ */
3278
+ export declare enum CaptureKind {
3279
+ /**
3280
+ * @generated from enum value: CAPTURE_KIND_UNSPECIFIED = 0;
3281
+ */
3282
+ UNSPECIFIED = 0,
3283
+ /**
3284
+ * @generated from enum value: CAPTURE_KIND_AUTO = 1;
3285
+ */
3286
+ AUTO = 1,
3287
+ /**
3288
+ * @generated from enum value: CAPTURE_KIND_TURN = 2;
3289
+ */
3290
+ TURN = 2,
3291
+ /**
3292
+ * @generated from enum value: CAPTURE_KIND_CHECKPOINT = 3;
3293
+ */
3294
+ CHECKPOINT = 3,
3295
+ /**
3296
+ * @generated from enum value: CAPTURE_KIND_SUSPEND = 4;
3297
+ */
3298
+ SUSPEND = 4,
3299
+ /**
3300
+ * @generated from enum value: CAPTURE_KIND_FINAL = 5;
3301
+ */
3302
+ FINAL = 5
3303
+ }
3304
+ /**
3305
+ * Describes the enum sealant.v1.CaptureKind.
3306
+ */
3307
+ export declare const CaptureKindSchema: GenEnum<CaptureKind>;
3308
+ /**
3309
+ * What a `capture.flush` waits for. UNSPECIFIED is SUSPEND: a client that predates the field
3310
+ * sends an empty `CaptureFlushArgs` (the command carried `Empty` before), and gets what it got.
3311
+ *
3312
+ * @generated from enum sealant.v1.CaptureFlushKind
3313
+ */
3314
+ export declare enum CaptureFlushKind {
3315
+ /**
3316
+ * @generated from enum value: CAPTURE_FLUSH_KIND_UNSPECIFIED = 0;
3317
+ */
3318
+ UNSPECIFIED = 0,
3319
+ /**
3320
+ * A small-class snap; returns once every capture ahead of a bulk capture still uploading is
3321
+ * registered (what a change or a diff needs). The bulk capture keeps uploading.
3322
+ *
3323
+ * @generated from enum value: CAPTURE_FLUSH_KIND_SUSPEND = 1;
3324
+ */
3325
+ SUSPEND = 1,
3326
+ /**
3327
+ * The executor is ending. In order: the daemon stops admitting new processes, execs, sessions
3328
+ * and SFTP bridges (for good); terminates every managed process and session (SIGTERM, then
3329
+ * SIGKILL after `grace_ms`) and waits for them; snaps the small AND the bulk class (both must
3330
+ * succeed); then ships until nothing is pending, bulk included. The answer's `complete` says
3331
+ * whether all of that happened; anything else (a snap failed, the lease is fenced, the chain
3332
+ * conflicts, `deadline_ms` passed, a process survived SIGKILL) leaves it false with a reason.
3333
+ *
3334
+ * @generated from enum value: CAPTURE_FLUSH_KIND_FINAL = 2;
3335
+ */
3336
+ FINAL = 2
3337
+ }
3338
+ /**
3339
+ * Describes the enum sealant.v1.CaptureFlushKind.
3340
+ */
3341
+ export declare const CaptureFlushKindSchema: GenEnum<CaptureFlushKind>;
3342
+ /**
3343
+ * What a capture snapped: the small class (git, `.git` bookkeeping, harness home) or the bulk
3344
+ * class (dependencies, build outputs).
3345
+ *
3346
+ * @generated from enum sealant.v1.CaptureClass
3347
+ */
3348
+ export declare enum CaptureClass {
3349
+ /**
3350
+ * @generated from enum value: CAPTURE_CLASS_UNSPECIFIED = 0;
3351
+ */
3352
+ UNSPECIFIED = 0,
3353
+ /**
3354
+ * @generated from enum value: CAPTURE_CLASS_SMALL = 1;
3355
+ */
3356
+ SMALL = 1,
3357
+ /**
3358
+ * @generated from enum value: CAPTURE_CLASS_BULK = 2;
3359
+ */
3360
+ BULK = 2
3361
+ }
3362
+ /**
3363
+ * Describes the enum sealant.v1.CaptureClass.
3364
+ */
3365
+ export declare const CaptureClassSchema: GenEnum<CaptureClass>;
3366
+ /**
3367
+ * @generated from enum sealant.v1.SessionState
3368
+ */
3369
+ export declare enum SessionState {
3370
+ /**
3371
+ * @generated from enum value: SESSION_STATE_UNSPECIFIED = 0;
3372
+ */
3373
+ UNSPECIFIED = 0,
3374
+ /**
3375
+ * @generated from enum value: SESSION_STATE_RUNNING = 1;
3376
+ */
3377
+ RUNNING = 1,
3378
+ /**
3379
+ * @generated from enum value: SESSION_STATE_EXITED = 2;
3380
+ */
3381
+ EXITED = 2
3382
+ }
3383
+ /**
3384
+ * Describes the enum sealant.v1.SessionState.
3385
+ */
3386
+ export declare const SessionStateSchema: GenEnum<SessionState>;
3387
+ //# sourceMappingURL=sealant_pb.d.ts.map