@evalops/sdk-ts 0.1.98 → 0.1.100

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,1213 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file vfs/v1/filesystem.proto.
6
+ */
7
+ export declare const file_vfs_v1_filesystem: GenFile;
8
+ /**
9
+ * @generated from message vfs.v1.VfsObject
10
+ */
11
+ export type VfsObject = Message<"vfs.v1.VfsObject"> & {
12
+ /**
13
+ * @generated from field: string id = 1;
14
+ */
15
+ id: string;
16
+ /**
17
+ * @generated from field: string workspace_id = 2;
18
+ */
19
+ workspaceId: string;
20
+ /**
21
+ * @generated from field: string path = 3;
22
+ */
23
+ path: string;
24
+ /**
25
+ * @generated from field: vfs.v1.VfsObjectState state = 4;
26
+ */
27
+ state: VfsObjectState;
28
+ /**
29
+ * @generated from field: int32 current_version = 5;
30
+ */
31
+ currentVersion: number;
32
+ /**
33
+ * @generated from field: string current_version_id = 6;
34
+ */
35
+ currentVersionId: string;
36
+ /**
37
+ * @generated from field: string content_type = 7;
38
+ */
39
+ contentType: string;
40
+ /**
41
+ * @generated from field: int64 size_bytes = 8;
42
+ */
43
+ sizeBytes: bigint;
44
+ /**
45
+ * @generated from field: string sha256 = 9;
46
+ */
47
+ sha256: string;
48
+ /**
49
+ * @generated from field: string etag = 10;
50
+ */
51
+ etag: string;
52
+ /**
53
+ * @generated from field: string owner_id = 11;
54
+ */
55
+ ownerId: string;
56
+ /**
57
+ * @generated from field: string creator_id = 12;
58
+ */
59
+ creatorId: string;
60
+ /**
61
+ * @generated from field: string source_service = 13;
62
+ */
63
+ sourceService: string;
64
+ /**
65
+ * @generated from field: string run_id = 14;
66
+ */
67
+ runId: string;
68
+ /**
69
+ * @generated from field: string tool_execution_id = 15;
70
+ */
71
+ toolExecutionId: string;
72
+ /**
73
+ * @generated from field: string connector_id = 16;
74
+ */
75
+ connectorId: string;
76
+ /**
77
+ * @generated from field: string connection_id = 17;
78
+ */
79
+ connectionId: string;
80
+ /**
81
+ * @generated from field: string sensitivity = 18;
82
+ */
83
+ sensitivity: string;
84
+ /**
85
+ * @generated from field: string retention_class = 19;
86
+ */
87
+ retentionClass: string;
88
+ /**
89
+ * @generated from field: vfs.v1.VfsRedactionState redaction_state = 20;
90
+ */
91
+ redactionState: VfsRedactionState;
92
+ /**
93
+ * @generated from field: repeated string tags = 21;
94
+ */
95
+ tags: string[];
96
+ /**
97
+ * @generated from field: map<string, string> metadata = 22;
98
+ */
99
+ metadata: {
100
+ [key: string]: string;
101
+ };
102
+ /**
103
+ * @generated from field: repeated vfs.v1.VfsGrant grants = 23;
104
+ */
105
+ grants: VfsGrant[];
106
+ /**
107
+ * @generated from field: google.protobuf.Timestamp created_at = 24;
108
+ */
109
+ createdAt?: Timestamp | undefined;
110
+ /**
111
+ * @generated from field: google.protobuf.Timestamp updated_at = 25;
112
+ */
113
+ updatedAt?: Timestamp | undefined;
114
+ /**
115
+ * @generated from field: google.protobuf.Timestamp deleted_at = 26;
116
+ */
117
+ deletedAt?: Timestamp | undefined;
118
+ /**
119
+ * @generated from field: string deleted_by = 27;
120
+ */
121
+ deletedBy: string;
122
+ /**
123
+ * @generated from field: string delete_reason = 28;
124
+ */
125
+ deleteReason: string;
126
+ };
127
+ /**
128
+ * Describes the message vfs.v1.VfsObject.
129
+ * Use `create(VfsObjectSchema)` to create a new message.
130
+ */
131
+ export declare const VfsObjectSchema: GenMessage<VfsObject>;
132
+ /**
133
+ * @generated from message vfs.v1.VfsObjectVersion
134
+ */
135
+ export type VfsObjectVersion = Message<"vfs.v1.VfsObjectVersion"> & {
136
+ /**
137
+ * @generated from field: string id = 1;
138
+ */
139
+ id: string;
140
+ /**
141
+ * @generated from field: string object_id = 2;
142
+ */
143
+ objectId: string;
144
+ /**
145
+ * @generated from field: int32 version = 3;
146
+ */
147
+ version: number;
148
+ /**
149
+ * @generated from field: string content_ref = 4;
150
+ */
151
+ contentRef: string;
152
+ /**
153
+ * @generated from field: string content_type = 5;
154
+ */
155
+ contentType: string;
156
+ /**
157
+ * @generated from field: int64 size_bytes = 6;
158
+ */
159
+ sizeBytes: bigint;
160
+ /**
161
+ * @generated from field: string sha256 = 7;
162
+ */
163
+ sha256: string;
164
+ /**
165
+ * @generated from field: string etag = 8;
166
+ */
167
+ etag: string;
168
+ /**
169
+ * @generated from field: string created_by = 9;
170
+ */
171
+ createdBy: string;
172
+ /**
173
+ * @generated from field: string source_service = 10;
174
+ */
175
+ sourceService: string;
176
+ /**
177
+ * @generated from field: map<string, string> metadata = 11;
178
+ */
179
+ metadata: {
180
+ [key: string]: string;
181
+ };
182
+ /**
183
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
184
+ */
185
+ createdAt?: Timestamp | undefined;
186
+ };
187
+ /**
188
+ * Describes the message vfs.v1.VfsObjectVersion.
189
+ * Use `create(VfsObjectVersionSchema)` to create a new message.
190
+ */
191
+ export declare const VfsObjectVersionSchema: GenMessage<VfsObjectVersion>;
192
+ /**
193
+ * @generated from message vfs.v1.VfsGrant
194
+ */
195
+ export type VfsGrant = Message<"vfs.v1.VfsGrant"> & {
196
+ /**
197
+ * @generated from field: string principal = 1;
198
+ */
199
+ principal: string;
200
+ /**
201
+ * @generated from field: repeated string permissions = 2;
202
+ */
203
+ permissions: string[];
204
+ /**
205
+ * @generated from field: string path_prefix = 3;
206
+ */
207
+ pathPrefix: string;
208
+ /**
209
+ * @generated from field: string sensitivity = 4;
210
+ */
211
+ sensitivity: string;
212
+ /**
213
+ * @generated from field: google.protobuf.Timestamp expires_at = 5;
214
+ */
215
+ expiresAt?: Timestamp | undefined;
216
+ /**
217
+ * @generated from field: google.protobuf.Timestamp granted_at = 6;
218
+ */
219
+ grantedAt?: Timestamp | undefined;
220
+ /**
221
+ * @generated from field: string granted_by = 7;
222
+ */
223
+ grantedBy: string;
224
+ };
225
+ /**
226
+ * Describes the message vfs.v1.VfsGrant.
227
+ * Use `create(VfsGrantSchema)` to create a new message.
228
+ */
229
+ export declare const VfsGrantSchema: GenMessage<VfsGrant>;
230
+ /**
231
+ * @generated from message vfs.v1.VfsLease
232
+ */
233
+ export type VfsLease = Message<"vfs.v1.VfsLease"> & {
234
+ /**
235
+ * @generated from field: string id = 1;
236
+ */
237
+ id: string;
238
+ /**
239
+ * @generated from field: string workspace_id = 2;
240
+ */
241
+ workspaceId: string;
242
+ /**
243
+ * @generated from field: string path = 3;
244
+ */
245
+ path: string;
246
+ /**
247
+ * @generated from field: string token = 4;
248
+ */
249
+ token: string;
250
+ /**
251
+ * @generated from field: vfs.v1.VfsLeaseState state = 5;
252
+ */
253
+ state: VfsLeaseState;
254
+ /**
255
+ * @generated from field: string content_type = 6;
256
+ */
257
+ contentType: string;
258
+ /**
259
+ * @generated from field: map<string, string> metadata = 7;
260
+ */
261
+ metadata: {
262
+ [key: string]: string;
263
+ };
264
+ /**
265
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
266
+ */
267
+ createdAt?: Timestamp | undefined;
268
+ /**
269
+ * @generated from field: google.protobuf.Timestamp expires_at = 9;
270
+ */
271
+ expiresAt?: Timestamp | undefined;
272
+ /**
273
+ * @generated from field: string created_by = 10;
274
+ */
275
+ createdBy: string;
276
+ };
277
+ /**
278
+ * Describes the message vfs.v1.VfsLease.
279
+ * Use `create(VfsLeaseSchema)` to create a new message.
280
+ */
281
+ export declare const VfsLeaseSchema: GenMessage<VfsLease>;
282
+ /**
283
+ * @generated from message vfs.v1.VfsEvent
284
+ */
285
+ export type VfsEvent = Message<"vfs.v1.VfsEvent"> & {
286
+ /**
287
+ * @generated from field: string id = 1;
288
+ */
289
+ id: string;
290
+ /**
291
+ * @generated from field: string type = 2;
292
+ */
293
+ type: string;
294
+ /**
295
+ * @generated from field: string workspace_id = 3;
296
+ */
297
+ workspaceId: string;
298
+ /**
299
+ * @generated from field: string object_id = 4;
300
+ */
301
+ objectId: string;
302
+ /**
303
+ * @generated from field: string path = 5;
304
+ */
305
+ path: string;
306
+ /**
307
+ * @generated from field: string version_id = 6;
308
+ */
309
+ versionId: string;
310
+ /**
311
+ * @generated from field: int32 version = 7;
312
+ */
313
+ version: number;
314
+ /**
315
+ * @generated from field: string sha256 = 8;
316
+ */
317
+ sha256: string;
318
+ /**
319
+ * @generated from field: int64 size_bytes = 9;
320
+ */
321
+ sizeBytes: bigint;
322
+ /**
323
+ * @generated from field: string content_type = 10;
324
+ */
325
+ contentType: string;
326
+ /**
327
+ * @generated from field: string source_service = 11;
328
+ */
329
+ sourceService: string;
330
+ /**
331
+ * @generated from field: string run_id = 12;
332
+ */
333
+ runId: string;
334
+ /**
335
+ * @generated from field: string tool_execution_id = 13;
336
+ */
337
+ toolExecutionId: string;
338
+ /**
339
+ * @generated from field: string connector_id = 14;
340
+ */
341
+ connectorId: string;
342
+ /**
343
+ * @generated from field: string connection_id = 15;
344
+ */
345
+ connectionId: string;
346
+ /**
347
+ * @generated from field: string sensitivity = 16;
348
+ */
349
+ sensitivity: string;
350
+ /**
351
+ * @generated from field: string retention_class = 17;
352
+ */
353
+ retentionClass: string;
354
+ /**
355
+ * @generated from field: map<string, string> metadata = 18;
356
+ */
357
+ metadata: {
358
+ [key: string]: string;
359
+ };
360
+ /**
361
+ * @generated from field: google.protobuf.Timestamp occurred_at = 19;
362
+ */
363
+ occurredAt?: Timestamp | undefined;
364
+ };
365
+ /**
366
+ * Describes the message vfs.v1.VfsEvent.
367
+ * Use `create(VfsEventSchema)` to create a new message.
368
+ */
369
+ export declare const VfsEventSchema: GenMessage<VfsEvent>;
370
+ /**
371
+ * @generated from message vfs.v1.PutObjectRequest
372
+ */
373
+ export type PutObjectRequest = Message<"vfs.v1.PutObjectRequest"> & {
374
+ /**
375
+ * @generated from field: string workspace_id = 1;
376
+ */
377
+ workspaceId: string;
378
+ /**
379
+ * @generated from field: string path = 2;
380
+ */
381
+ path: string;
382
+ /**
383
+ * @generated from field: bytes content = 3;
384
+ */
385
+ content: Uint8Array;
386
+ /**
387
+ * @generated from field: string content_type = 4;
388
+ */
389
+ contentType: string;
390
+ /**
391
+ * @generated from field: string owner_id = 5;
392
+ */
393
+ ownerId: string;
394
+ /**
395
+ * @generated from field: string creator_id = 6;
396
+ */
397
+ creatorId: string;
398
+ /**
399
+ * @generated from field: string source_service = 7;
400
+ */
401
+ sourceService: string;
402
+ /**
403
+ * @generated from field: string run_id = 8;
404
+ */
405
+ runId: string;
406
+ /**
407
+ * @generated from field: string tool_execution_id = 9;
408
+ */
409
+ toolExecutionId: string;
410
+ /**
411
+ * @generated from field: string connector_id = 10;
412
+ */
413
+ connectorId: string;
414
+ /**
415
+ * @generated from field: string connection_id = 11;
416
+ */
417
+ connectionId: string;
418
+ /**
419
+ * @generated from field: string sensitivity = 12;
420
+ */
421
+ sensitivity: string;
422
+ /**
423
+ * @generated from field: string retention_class = 13;
424
+ */
425
+ retentionClass: string;
426
+ /**
427
+ * @generated from field: vfs.v1.VfsRedactionState redaction_state = 14;
428
+ */
429
+ redactionState: VfsRedactionState;
430
+ /**
431
+ * @generated from field: repeated string tags = 15;
432
+ */
433
+ tags: string[];
434
+ /**
435
+ * @generated from field: map<string, string> metadata = 16;
436
+ */
437
+ metadata: {
438
+ [key: string]: string;
439
+ };
440
+ /**
441
+ * @generated from field: string idempotency_key = 17;
442
+ */
443
+ idempotencyKey: string;
444
+ };
445
+ /**
446
+ * Describes the message vfs.v1.PutObjectRequest.
447
+ * Use `create(PutObjectRequestSchema)` to create a new message.
448
+ */
449
+ export declare const PutObjectRequestSchema: GenMessage<PutObjectRequest>;
450
+ /**
451
+ * @generated from message vfs.v1.PutObjectResponse
452
+ */
453
+ export type PutObjectResponse = Message<"vfs.v1.PutObjectResponse"> & {
454
+ /**
455
+ * @generated from field: vfs.v1.VfsObject object = 1;
456
+ */
457
+ object?: VfsObject | undefined;
458
+ /**
459
+ * @generated from field: vfs.v1.VfsObjectVersion version = 2;
460
+ */
461
+ version?: VfsObjectVersion | undefined;
462
+ /**
463
+ * @generated from field: vfs.v1.VfsEvent event = 3;
464
+ */
465
+ event?: VfsEvent | undefined;
466
+ };
467
+ /**
468
+ * Describes the message vfs.v1.PutObjectResponse.
469
+ * Use `create(PutObjectResponseSchema)` to create a new message.
470
+ */
471
+ export declare const PutObjectResponseSchema: GenMessage<PutObjectResponse>;
472
+ /**
473
+ * @generated from message vfs.v1.GetObjectRequest
474
+ */
475
+ export type GetObjectRequest = Message<"vfs.v1.GetObjectRequest"> & {
476
+ /**
477
+ * @generated from field: string workspace_id = 1;
478
+ */
479
+ workspaceId: string;
480
+ /**
481
+ * @generated from field: string object_id = 2;
482
+ */
483
+ objectId: string;
484
+ /**
485
+ * @generated from field: string path = 3;
486
+ */
487
+ path: string;
488
+ /**
489
+ * @generated from field: string version_id = 4;
490
+ */
491
+ versionId: string;
492
+ /**
493
+ * @generated from field: int64 offset = 5;
494
+ */
495
+ offset: bigint;
496
+ /**
497
+ * @generated from field: int64 limit = 6;
498
+ */
499
+ limit: bigint;
500
+ /**
501
+ * @generated from field: bool include_content = 7;
502
+ */
503
+ includeContent: boolean;
504
+ };
505
+ /**
506
+ * Describes the message vfs.v1.GetObjectRequest.
507
+ * Use `create(GetObjectRequestSchema)` to create a new message.
508
+ */
509
+ export declare const GetObjectRequestSchema: GenMessage<GetObjectRequest>;
510
+ /**
511
+ * @generated from message vfs.v1.GetObjectResponse
512
+ */
513
+ export type GetObjectResponse = Message<"vfs.v1.GetObjectResponse"> & {
514
+ /**
515
+ * @generated from field: vfs.v1.VfsObject object = 1;
516
+ */
517
+ object?: VfsObject | undefined;
518
+ /**
519
+ * @generated from field: vfs.v1.VfsObjectVersion version = 2;
520
+ */
521
+ version?: VfsObjectVersion | undefined;
522
+ /**
523
+ * @generated from field: bytes content = 3;
524
+ */
525
+ content: Uint8Array;
526
+ /**
527
+ * @generated from field: int64 offset = 4;
528
+ */
529
+ offset: bigint;
530
+ /**
531
+ * @generated from field: int64 next_offset = 5;
532
+ */
533
+ nextOffset: bigint;
534
+ /**
535
+ * @generated from field: bool eof = 6;
536
+ */
537
+ eof: boolean;
538
+ };
539
+ /**
540
+ * Describes the message vfs.v1.GetObjectResponse.
541
+ * Use `create(GetObjectResponseSchema)` to create a new message.
542
+ */
543
+ export declare const GetObjectResponseSchema: GenMessage<GetObjectResponse>;
544
+ /**
545
+ * @generated from message vfs.v1.ListObjectsRequest
546
+ */
547
+ export type ListObjectsRequest = Message<"vfs.v1.ListObjectsRequest"> & {
548
+ /**
549
+ * @generated from field: string workspace_id = 1;
550
+ */
551
+ workspaceId: string;
552
+ /**
553
+ * @generated from field: string path_prefix = 2;
554
+ */
555
+ pathPrefix: string;
556
+ /**
557
+ * @generated from field: bool include_tombstones = 3;
558
+ */
559
+ includeTombstones: boolean;
560
+ /**
561
+ * @generated from field: repeated string tags = 4;
562
+ */
563
+ tags: string[];
564
+ /**
565
+ * @generated from field: int32 limit = 5;
566
+ */
567
+ limit: number;
568
+ /**
569
+ * @generated from field: int32 offset = 6;
570
+ */
571
+ offset: number;
572
+ };
573
+ /**
574
+ * Describes the message vfs.v1.ListObjectsRequest.
575
+ * Use `create(ListObjectsRequestSchema)` to create a new message.
576
+ */
577
+ export declare const ListObjectsRequestSchema: GenMessage<ListObjectsRequest>;
578
+ /**
579
+ * @generated from message vfs.v1.ListObjectsResponse
580
+ */
581
+ export type ListObjectsResponse = Message<"vfs.v1.ListObjectsResponse"> & {
582
+ /**
583
+ * @generated from field: repeated vfs.v1.VfsObject objects = 1;
584
+ */
585
+ objects: VfsObject[];
586
+ /**
587
+ * @generated from field: int32 total = 2;
588
+ */
589
+ total: number;
590
+ /**
591
+ * @generated from field: bool has_more = 3;
592
+ */
593
+ hasMore: boolean;
594
+ };
595
+ /**
596
+ * Describes the message vfs.v1.ListObjectsResponse.
597
+ * Use `create(ListObjectsResponseSchema)` to create a new message.
598
+ */
599
+ export declare const ListObjectsResponseSchema: GenMessage<ListObjectsResponse>;
600
+ /**
601
+ * @generated from message vfs.v1.StatObjectRequest
602
+ */
603
+ export type StatObjectRequest = Message<"vfs.v1.StatObjectRequest"> & {
604
+ /**
605
+ * @generated from field: string workspace_id = 1;
606
+ */
607
+ workspaceId: string;
608
+ /**
609
+ * @generated from field: string object_id = 2;
610
+ */
611
+ objectId: string;
612
+ /**
613
+ * @generated from field: string path = 3;
614
+ */
615
+ path: string;
616
+ /**
617
+ * @generated from field: bool include_versions = 4;
618
+ */
619
+ includeVersions: boolean;
620
+ };
621
+ /**
622
+ * Describes the message vfs.v1.StatObjectRequest.
623
+ * Use `create(StatObjectRequestSchema)` to create a new message.
624
+ */
625
+ export declare const StatObjectRequestSchema: GenMessage<StatObjectRequest>;
626
+ /**
627
+ * @generated from message vfs.v1.StatObjectResponse
628
+ */
629
+ export type StatObjectResponse = Message<"vfs.v1.StatObjectResponse"> & {
630
+ /**
631
+ * @generated from field: vfs.v1.VfsObject object = 1;
632
+ */
633
+ object?: VfsObject | undefined;
634
+ /**
635
+ * @generated from field: repeated vfs.v1.VfsObjectVersion versions = 2;
636
+ */
637
+ versions: VfsObjectVersion[];
638
+ };
639
+ /**
640
+ * Describes the message vfs.v1.StatObjectResponse.
641
+ * Use `create(StatObjectResponseSchema)` to create a new message.
642
+ */
643
+ export declare const StatObjectResponseSchema: GenMessage<StatObjectResponse>;
644
+ /**
645
+ * @generated from message vfs.v1.DeleteObjectRequest
646
+ */
647
+ export type DeleteObjectRequest = Message<"vfs.v1.DeleteObjectRequest"> & {
648
+ /**
649
+ * @generated from field: string workspace_id = 1;
650
+ */
651
+ workspaceId: string;
652
+ /**
653
+ * @generated from field: string object_id = 2;
654
+ */
655
+ objectId: string;
656
+ /**
657
+ * @generated from field: string path = 3;
658
+ */
659
+ path: string;
660
+ /**
661
+ * @generated from field: string deleted_by = 4;
662
+ */
663
+ deletedBy: string;
664
+ /**
665
+ * @generated from field: string reason = 5;
666
+ */
667
+ reason: string;
668
+ };
669
+ /**
670
+ * Describes the message vfs.v1.DeleteObjectRequest.
671
+ * Use `create(DeleteObjectRequestSchema)` to create a new message.
672
+ */
673
+ export declare const DeleteObjectRequestSchema: GenMessage<DeleteObjectRequest>;
674
+ /**
675
+ * @generated from message vfs.v1.DeleteObjectResponse
676
+ */
677
+ export type DeleteObjectResponse = Message<"vfs.v1.DeleteObjectResponse"> & {
678
+ /**
679
+ * @generated from field: vfs.v1.VfsObject object = 1;
680
+ */
681
+ object?: VfsObject | undefined;
682
+ /**
683
+ * @generated from field: vfs.v1.VfsEvent event = 2;
684
+ */
685
+ event?: VfsEvent | undefined;
686
+ };
687
+ /**
688
+ * Describes the message vfs.v1.DeleteObjectResponse.
689
+ * Use `create(DeleteObjectResponseSchema)` to create a new message.
690
+ */
691
+ export declare const DeleteObjectResponseSchema: GenMessage<DeleteObjectResponse>;
692
+ /**
693
+ * @generated from message vfs.v1.CopyObjectRequest
694
+ */
695
+ export type CopyObjectRequest = Message<"vfs.v1.CopyObjectRequest"> & {
696
+ /**
697
+ * @generated from field: string workspace_id = 1;
698
+ */
699
+ workspaceId: string;
700
+ /**
701
+ * @generated from field: string source_object_id = 2;
702
+ */
703
+ sourceObjectId: string;
704
+ /**
705
+ * @generated from field: string source_path = 3;
706
+ */
707
+ sourcePath: string;
708
+ /**
709
+ * @generated from field: string destination_path = 4;
710
+ */
711
+ destinationPath: string;
712
+ /**
713
+ * @generated from field: string creator_id = 5;
714
+ */
715
+ creatorId: string;
716
+ /**
717
+ * @generated from field: string source_service = 6;
718
+ */
719
+ sourceService: string;
720
+ /**
721
+ * @generated from field: map<string, string> metadata = 7;
722
+ */
723
+ metadata: {
724
+ [key: string]: string;
725
+ };
726
+ };
727
+ /**
728
+ * Describes the message vfs.v1.CopyObjectRequest.
729
+ * Use `create(CopyObjectRequestSchema)` to create a new message.
730
+ */
731
+ export declare const CopyObjectRequestSchema: GenMessage<CopyObjectRequest>;
732
+ /**
733
+ * @generated from message vfs.v1.CopyObjectResponse
734
+ */
735
+ export type CopyObjectResponse = Message<"vfs.v1.CopyObjectResponse"> & {
736
+ /**
737
+ * @generated from field: vfs.v1.VfsObject object = 1;
738
+ */
739
+ object?: VfsObject | undefined;
740
+ /**
741
+ * @generated from field: vfs.v1.VfsObjectVersion version = 2;
742
+ */
743
+ version?: VfsObjectVersion | undefined;
744
+ /**
745
+ * @generated from field: vfs.v1.VfsEvent event = 3;
746
+ */
747
+ event?: VfsEvent | undefined;
748
+ };
749
+ /**
750
+ * Describes the message vfs.v1.CopyObjectResponse.
751
+ * Use `create(CopyObjectResponseSchema)` to create a new message.
752
+ */
753
+ export declare const CopyObjectResponseSchema: GenMessage<CopyObjectResponse>;
754
+ /**
755
+ * @generated from message vfs.v1.LinkObjectRequest
756
+ */
757
+ export type LinkObjectRequest = Message<"vfs.v1.LinkObjectRequest"> & {
758
+ /**
759
+ * @generated from field: string workspace_id = 1;
760
+ */
761
+ workspaceId: string;
762
+ /**
763
+ * @generated from field: string source_object_id = 2;
764
+ */
765
+ sourceObjectId: string;
766
+ /**
767
+ * @generated from field: string source_path = 3;
768
+ */
769
+ sourcePath: string;
770
+ /**
771
+ * @generated from field: string link_path = 4;
772
+ */
773
+ linkPath: string;
774
+ /**
775
+ * @generated from field: string creator_id = 5;
776
+ */
777
+ creatorId: string;
778
+ /**
779
+ * @generated from field: map<string, string> metadata = 6;
780
+ */
781
+ metadata: {
782
+ [key: string]: string;
783
+ };
784
+ };
785
+ /**
786
+ * Describes the message vfs.v1.LinkObjectRequest.
787
+ * Use `create(LinkObjectRequestSchema)` to create a new message.
788
+ */
789
+ export declare const LinkObjectRequestSchema: GenMessage<LinkObjectRequest>;
790
+ /**
791
+ * @generated from message vfs.v1.LinkObjectResponse
792
+ */
793
+ export type LinkObjectResponse = Message<"vfs.v1.LinkObjectResponse"> & {
794
+ /**
795
+ * @generated from field: vfs.v1.VfsObject object = 1;
796
+ */
797
+ object?: VfsObject | undefined;
798
+ /**
799
+ * @generated from field: vfs.v1.VfsObjectVersion version = 2;
800
+ */
801
+ version?: VfsObjectVersion | undefined;
802
+ /**
803
+ * @generated from field: vfs.v1.VfsEvent event = 3;
804
+ */
805
+ event?: VfsEvent | undefined;
806
+ };
807
+ /**
808
+ * Describes the message vfs.v1.LinkObjectResponse.
809
+ * Use `create(LinkObjectResponseSchema)` to create a new message.
810
+ */
811
+ export declare const LinkObjectResponseSchema: GenMessage<LinkObjectResponse>;
812
+ /**
813
+ * @generated from message vfs.v1.CreateLeaseRequest
814
+ */
815
+ export type CreateLeaseRequest = Message<"vfs.v1.CreateLeaseRequest"> & {
816
+ /**
817
+ * @generated from field: string workspace_id = 1;
818
+ */
819
+ workspaceId: string;
820
+ /**
821
+ * @generated from field: string path = 2;
822
+ */
823
+ path: string;
824
+ /**
825
+ * @generated from field: int32 lease_seconds = 3;
826
+ */
827
+ leaseSeconds: number;
828
+ /**
829
+ * @generated from field: string content_type = 4;
830
+ */
831
+ contentType: string;
832
+ /**
833
+ * @generated from field: string creator_id = 5;
834
+ */
835
+ creatorId: string;
836
+ /**
837
+ * @generated from field: map<string, string> metadata = 6;
838
+ */
839
+ metadata: {
840
+ [key: string]: string;
841
+ };
842
+ };
843
+ /**
844
+ * Describes the message vfs.v1.CreateLeaseRequest.
845
+ * Use `create(CreateLeaseRequestSchema)` to create a new message.
846
+ */
847
+ export declare const CreateLeaseRequestSchema: GenMessage<CreateLeaseRequest>;
848
+ /**
849
+ * @generated from message vfs.v1.CreateLeaseResponse
850
+ */
851
+ export type CreateLeaseResponse = Message<"vfs.v1.CreateLeaseResponse"> & {
852
+ /**
853
+ * @generated from field: vfs.v1.VfsLease lease = 1;
854
+ */
855
+ lease?: VfsLease | undefined;
856
+ };
857
+ /**
858
+ * Describes the message vfs.v1.CreateLeaseResponse.
859
+ * Use `create(CreateLeaseResponseSchema)` to create a new message.
860
+ */
861
+ export declare const CreateLeaseResponseSchema: GenMessage<CreateLeaseResponse>;
862
+ /**
863
+ * @generated from message vfs.v1.CompleteLeaseRequest
864
+ */
865
+ export type CompleteLeaseRequest = Message<"vfs.v1.CompleteLeaseRequest"> & {
866
+ /**
867
+ * @generated from field: string lease_id = 1;
868
+ */
869
+ leaseId: string;
870
+ /**
871
+ * @generated from field: string lease_token = 2;
872
+ */
873
+ leaseToken: string;
874
+ /**
875
+ * @generated from field: bytes content = 3;
876
+ */
877
+ content: Uint8Array;
878
+ /**
879
+ * @generated from field: string created_by = 4;
880
+ */
881
+ createdBy: string;
882
+ /**
883
+ * @generated from field: map<string, string> metadata = 5;
884
+ */
885
+ metadata: {
886
+ [key: string]: string;
887
+ };
888
+ };
889
+ /**
890
+ * Describes the message vfs.v1.CompleteLeaseRequest.
891
+ * Use `create(CompleteLeaseRequestSchema)` to create a new message.
892
+ */
893
+ export declare const CompleteLeaseRequestSchema: GenMessage<CompleteLeaseRequest>;
894
+ /**
895
+ * @generated from message vfs.v1.CompleteLeaseResponse
896
+ */
897
+ export type CompleteLeaseResponse = Message<"vfs.v1.CompleteLeaseResponse"> & {
898
+ /**
899
+ * @generated from field: vfs.v1.VfsObject object = 1;
900
+ */
901
+ object?: VfsObject | undefined;
902
+ /**
903
+ * @generated from field: vfs.v1.VfsObjectVersion version = 2;
904
+ */
905
+ version?: VfsObjectVersion | undefined;
906
+ /**
907
+ * @generated from field: vfs.v1.VfsEvent event = 3;
908
+ */
909
+ event?: VfsEvent | undefined;
910
+ };
911
+ /**
912
+ * Describes the message vfs.v1.CompleteLeaseResponse.
913
+ * Use `create(CompleteLeaseResponseSchema)` to create a new message.
914
+ */
915
+ export declare const CompleteLeaseResponseSchema: GenMessage<CompleteLeaseResponse>;
916
+ /**
917
+ * @generated from message vfs.v1.GrantObjectRequest
918
+ */
919
+ export type GrantObjectRequest = Message<"vfs.v1.GrantObjectRequest"> & {
920
+ /**
921
+ * @generated from field: string workspace_id = 1;
922
+ */
923
+ workspaceId: string;
924
+ /**
925
+ * @generated from field: string object_id = 2;
926
+ */
927
+ objectId: string;
928
+ /**
929
+ * @generated from field: string path = 3;
930
+ */
931
+ path: string;
932
+ /**
933
+ * @generated from field: vfs.v1.VfsGrant grant = 4;
934
+ */
935
+ grant?: VfsGrant | undefined;
936
+ /**
937
+ * @generated from field: bool append = 5;
938
+ */
939
+ append: boolean;
940
+ };
941
+ /**
942
+ * Describes the message vfs.v1.GrantObjectRequest.
943
+ * Use `create(GrantObjectRequestSchema)` to create a new message.
944
+ */
945
+ export declare const GrantObjectRequestSchema: GenMessage<GrantObjectRequest>;
946
+ /**
947
+ * @generated from message vfs.v1.GrantObjectResponse
948
+ */
949
+ export type GrantObjectResponse = Message<"vfs.v1.GrantObjectResponse"> & {
950
+ /**
951
+ * @generated from field: vfs.v1.VfsObject object = 1;
952
+ */
953
+ object?: VfsObject | undefined;
954
+ /**
955
+ * @generated from field: vfs.v1.VfsEvent event = 2;
956
+ */
957
+ event?: VfsEvent | undefined;
958
+ };
959
+ /**
960
+ * Describes the message vfs.v1.GrantObjectResponse.
961
+ * Use `create(GrantObjectResponseSchema)` to create a new message.
962
+ */
963
+ export declare const GrantObjectResponseSchema: GenMessage<GrantObjectResponse>;
964
+ /**
965
+ * @generated from message vfs.v1.SearchMetadataRequest
966
+ */
967
+ export type SearchMetadataRequest = Message<"vfs.v1.SearchMetadataRequest"> & {
968
+ /**
969
+ * @generated from field: string workspace_id = 1;
970
+ */
971
+ workspaceId: string;
972
+ /**
973
+ * @generated from field: string query = 2;
974
+ */
975
+ query: string;
976
+ /**
977
+ * @generated from field: string path_prefix = 3;
978
+ */
979
+ pathPrefix: string;
980
+ /**
981
+ * @generated from field: repeated string tags = 4;
982
+ */
983
+ tags: string[];
984
+ /**
985
+ * @generated from field: map<string, string> metadata = 5;
986
+ */
987
+ metadata: {
988
+ [key: string]: string;
989
+ };
990
+ /**
991
+ * @generated from field: bool include_tombstones = 6;
992
+ */
993
+ includeTombstones: boolean;
994
+ /**
995
+ * @generated from field: int32 limit = 7;
996
+ */
997
+ limit: number;
998
+ };
999
+ /**
1000
+ * Describes the message vfs.v1.SearchMetadataRequest.
1001
+ * Use `create(SearchMetadataRequestSchema)` to create a new message.
1002
+ */
1003
+ export declare const SearchMetadataRequestSchema: GenMessage<SearchMetadataRequest>;
1004
+ /**
1005
+ * @generated from message vfs.v1.SearchMetadataResponse
1006
+ */
1007
+ export type SearchMetadataResponse = Message<"vfs.v1.SearchMetadataResponse"> & {
1008
+ /**
1009
+ * @generated from field: repeated vfs.v1.VfsObject objects = 1;
1010
+ */
1011
+ objects: VfsObject[];
1012
+ };
1013
+ /**
1014
+ * Describes the message vfs.v1.SearchMetadataResponse.
1015
+ * Use `create(SearchMetadataResponseSchema)` to create a new message.
1016
+ */
1017
+ export declare const SearchMetadataResponseSchema: GenMessage<SearchMetadataResponse>;
1018
+ /**
1019
+ * @generated from enum vfs.v1.VfsObjectState
1020
+ */
1021
+ export declare enum VfsObjectState {
1022
+ /**
1023
+ * @generated from enum value: VFS_OBJECT_STATE_UNSPECIFIED = 0;
1024
+ */
1025
+ UNSPECIFIED = 0,
1026
+ /**
1027
+ * @generated from enum value: VFS_OBJECT_STATE_ACTIVE = 1;
1028
+ */
1029
+ ACTIVE = 1,
1030
+ /**
1031
+ * @generated from enum value: VFS_OBJECT_STATE_TOMBSTONED = 2;
1032
+ */
1033
+ TOMBSTONED = 2
1034
+ }
1035
+ /**
1036
+ * Describes the enum vfs.v1.VfsObjectState.
1037
+ */
1038
+ export declare const VfsObjectStateSchema: GenEnum<VfsObjectState>;
1039
+ /**
1040
+ * @generated from enum vfs.v1.VfsRedactionState
1041
+ */
1042
+ export declare enum VfsRedactionState {
1043
+ /**
1044
+ * @generated from enum value: VFS_REDACTION_STATE_UNSPECIFIED = 0;
1045
+ */
1046
+ UNSPECIFIED = 0,
1047
+ /**
1048
+ * @generated from enum value: VFS_REDACTION_STATE_RAW = 1;
1049
+ */
1050
+ RAW = 1,
1051
+ /**
1052
+ * @generated from enum value: VFS_REDACTION_STATE_REDACTED = 2;
1053
+ */
1054
+ REDACTED = 2,
1055
+ /**
1056
+ * @generated from enum value: VFS_REDACTION_STATE_PREVIEW_ONLY = 3;
1057
+ */
1058
+ PREVIEW_ONLY = 3
1059
+ }
1060
+ /**
1061
+ * Describes the enum vfs.v1.VfsRedactionState.
1062
+ */
1063
+ export declare const VfsRedactionStateSchema: GenEnum<VfsRedactionState>;
1064
+ /**
1065
+ * @generated from enum vfs.v1.VfsLeaseState
1066
+ */
1067
+ export declare enum VfsLeaseState {
1068
+ /**
1069
+ * @generated from enum value: VFS_LEASE_STATE_UNSPECIFIED = 0;
1070
+ */
1071
+ UNSPECIFIED = 0,
1072
+ /**
1073
+ * @generated from enum value: VFS_LEASE_STATE_OPEN = 1;
1074
+ */
1075
+ OPEN = 1,
1076
+ /**
1077
+ * @generated from enum value: VFS_LEASE_STATE_COMMITTED = 2;
1078
+ */
1079
+ COMMITTED = 2,
1080
+ /**
1081
+ * @generated from enum value: VFS_LEASE_STATE_EXPIRED = 3;
1082
+ */
1083
+ EXPIRED = 3,
1084
+ /**
1085
+ * @generated from enum value: VFS_LEASE_STATE_CANCELLED = 4;
1086
+ */
1087
+ CANCELLED = 4
1088
+ }
1089
+ /**
1090
+ * Describes the enum vfs.v1.VfsLeaseState.
1091
+ */
1092
+ export declare const VfsLeaseStateSchema: GenEnum<VfsLeaseState>;
1093
+ /**
1094
+ * VirtualFilesystemService is the durable file plane for agents,
1095
+ * integrations, tool execution, memory evidence, and channel handoffs.
1096
+ *
1097
+ * @generated from service vfs.v1.VirtualFilesystemService
1098
+ */
1099
+ export declare const VirtualFilesystemService: GenService<{
1100
+ /**
1101
+ * PutObject writes bytes directly to a workspace path and creates the first
1102
+ * immutable version or appends a new version to an existing path.
1103
+ *
1104
+ * @generated from rpc vfs.v1.VirtualFilesystemService.PutObject
1105
+ */
1106
+ putObject: {
1107
+ methodKind: "unary";
1108
+ input: typeof PutObjectRequestSchema;
1109
+ output: typeof PutObjectResponseSchema;
1110
+ };
1111
+ /**
1112
+ * GetObject returns metadata and an optional ranged byte slice for one
1113
+ * object, selected by object ID or path.
1114
+ *
1115
+ * @generated from rpc vfs.v1.VirtualFilesystemService.GetObject
1116
+ */
1117
+ getObject: {
1118
+ methodKind: "unary";
1119
+ input: typeof GetObjectRequestSchema;
1120
+ output: typeof GetObjectResponseSchema;
1121
+ };
1122
+ /**
1123
+ * ListObjects lists path metadata within a workspace and optional prefix.
1124
+ *
1125
+ * @generated from rpc vfs.v1.VirtualFilesystemService.ListObjects
1126
+ */
1127
+ listObjects: {
1128
+ methodKind: "unary";
1129
+ input: typeof ListObjectsRequestSchema;
1130
+ output: typeof ListObjectsResponseSchema;
1131
+ };
1132
+ /**
1133
+ * StatObject returns metadata and optional version history without bytes.
1134
+ *
1135
+ * @generated from rpc vfs.v1.VirtualFilesystemService.StatObject
1136
+ */
1137
+ statObject: {
1138
+ methodKind: "unary";
1139
+ input: typeof StatObjectRequestSchema;
1140
+ output: typeof StatObjectResponseSchema;
1141
+ };
1142
+ /**
1143
+ * DeleteObject tombstones a path while retaining metadata and versions.
1144
+ *
1145
+ * @generated from rpc vfs.v1.VirtualFilesystemService.DeleteObject
1146
+ */
1147
+ deleteObject: {
1148
+ methodKind: "unary";
1149
+ input: typeof DeleteObjectRequestSchema;
1150
+ output: typeof DeleteObjectResponseSchema;
1151
+ };
1152
+ /**
1153
+ * CopyObject creates a new path with independent metadata over copied bytes.
1154
+ *
1155
+ * @generated from rpc vfs.v1.VirtualFilesystemService.CopyObject
1156
+ */
1157
+ copyObject: {
1158
+ methodKind: "unary";
1159
+ input: typeof CopyObjectRequestSchema;
1160
+ output: typeof CopyObjectResponseSchema;
1161
+ };
1162
+ /**
1163
+ * LinkObject creates another path entry pointing at the same content hash.
1164
+ *
1165
+ * @generated from rpc vfs.v1.VirtualFilesystemService.LinkObject
1166
+ */
1167
+ linkObject: {
1168
+ methodKind: "unary";
1169
+ input: typeof LinkObjectRequestSchema;
1170
+ output: typeof LinkObjectResponseSchema;
1171
+ };
1172
+ /**
1173
+ * CreateLease reserves a path for a long-running upload.
1174
+ *
1175
+ * @generated from rpc vfs.v1.VirtualFilesystemService.CreateLease
1176
+ */
1177
+ createLease: {
1178
+ methodKind: "unary";
1179
+ input: typeof CreateLeaseRequestSchema;
1180
+ output: typeof CreateLeaseResponseSchema;
1181
+ };
1182
+ /**
1183
+ * CompleteLease completes a lease and publishes an immutable object version.
1184
+ *
1185
+ * @generated from rpc vfs.v1.VirtualFilesystemService.CompleteLease
1186
+ */
1187
+ completeLease: {
1188
+ methodKind: "unary";
1189
+ input: typeof CompleteLeaseRequestSchema;
1190
+ output: typeof CompleteLeaseResponseSchema;
1191
+ };
1192
+ /**
1193
+ * GrantObject replaces or appends capability grants for one object.
1194
+ *
1195
+ * @generated from rpc vfs.v1.VirtualFilesystemService.GrantObject
1196
+ */
1197
+ grantObject: {
1198
+ methodKind: "unary";
1199
+ input: typeof GrantObjectRequestSchema;
1200
+ output: typeof GrantObjectResponseSchema;
1201
+ };
1202
+ /**
1203
+ * SearchMetadata searches object metadata, tags, paths, and titles without
1204
+ * returning file bytes.
1205
+ *
1206
+ * @generated from rpc vfs.v1.VirtualFilesystemService.SearchMetadata
1207
+ */
1208
+ searchMetadata: {
1209
+ methodKind: "unary";
1210
+ input: typeof SearchMetadataRequestSchema;
1211
+ output: typeof SearchMetadataResponseSchema;
1212
+ };
1213
+ }>;