@trytilde/contracts 3.1.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,874 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file tilde/management/v1/sandboxes.proto (package tilde.management.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file tilde/management/v1/sandboxes.proto.
11
+ */
12
+ export declare const file_tilde_management_v1_sandboxes: GenFile;
13
+
14
+ /**
15
+ * @generated from message tilde.management.v1.SandboxBlueprint
16
+ */
17
+ export declare type SandboxBlueprint = Message<"tilde.management.v1.SandboxBlueprint"> & {
18
+ /**
19
+ * @generated from field: string id = 1;
20
+ */
21
+ id: string;
22
+
23
+ /**
24
+ * @generated from field: string name = 2;
25
+ */
26
+ name: string;
27
+
28
+ /**
29
+ * An E2B or Modal connection.
30
+ *
31
+ * @generated from field: string connection_id = 3;
32
+ */
33
+ connectionId: string;
34
+
35
+ /**
36
+ * E2B: a template ID or name. Modal: a registry image reference or an image ID (im-…). The
37
+ * image must have the tilde CLI on its PATH.
38
+ *
39
+ * @generated from field: string template = 4;
40
+ */
41
+ template: string;
42
+
43
+ /**
44
+ * @generated from field: tilde.management.v1.SandboxReuse reuse = 5;
45
+ */
46
+ reuse: SandboxReuse;
47
+
48
+ /**
49
+ * Names of its environment variables; values are never returned.
50
+ *
51
+ * @generated from field: repeated string env_names = 6;
52
+ */
53
+ envNames: string[];
54
+
55
+ /**
56
+ * Agents whose sandbox setting uses it.
57
+ *
58
+ * @generated from field: repeated string agent_ids = 7;
59
+ */
60
+ agentIds: string[];
61
+
62
+ /**
63
+ * @generated from field: tilde.management.v1.SandboxTimings timings = 8;
64
+ */
65
+ timings?: SandboxTimings | undefined;
66
+ };
67
+
68
+ /**
69
+ * Describes the message tilde.management.v1.SandboxBlueprint.
70
+ * Use `create(SandboxBlueprintSchema)` to create a new message.
71
+ */
72
+ export declare const SandboxBlueprintSchema: GenMessage<SandboxBlueprint>;
73
+
74
+ /**
75
+ * When its sandboxes sleep and are terminated, and how long a launch or wake waits for the
76
+ * sandbox's tilde process to connect (failing the invocation after it). A Modal sandbox's sleep
77
+ * snapshot expires a day after `terminate_after_seconds`.
78
+ *
79
+ * @generated from message tilde.management.v1.SandboxTimings
80
+ */
81
+ export declare type SandboxTimings = Message<"tilde.management.v1.SandboxTimings"> & {
82
+ /**
83
+ * A running sandbox sleeps after this long unused: 60 to 86400, default 600.
84
+ *
85
+ * @generated from field: uint32 sleep_after_seconds = 1;
86
+ */
87
+ sleepAfterSeconds: number;
88
+
89
+ /**
90
+ * Any sandbox is terminated after this long unused: 3600 to 2592000 and at least
91
+ * sleep_after_seconds, default 604800.
92
+ *
93
+ * @generated from field: uint32 terminate_after_seconds = 2;
94
+ */
95
+ terminateAfterSeconds: number;
96
+
97
+ /**
98
+ * 10 to 600, default 120.
99
+ *
100
+ * @generated from field: uint32 connect_timeout_seconds = 3;
101
+ */
102
+ connectTimeoutSeconds: number;
103
+ };
104
+
105
+ /**
106
+ * Describes the message tilde.management.v1.SandboxTimings.
107
+ * Use `create(SandboxTimingsSchema)` to create a new message.
108
+ */
109
+ export declare const SandboxTimingsSchema: GenMessage<SandboxTimings>;
110
+
111
+ /**
112
+ * `search` matches the name case-insensitively.
113
+ *
114
+ * @generated from message tilde.management.v1.ListSandboxBlueprintsRequest
115
+ */
116
+ export declare type ListSandboxBlueprintsRequest = Message<"tilde.management.v1.ListSandboxBlueprintsRequest"> & {
117
+ /**
118
+ * @generated from field: optional string search = 1;
119
+ */
120
+ search?: string | undefined;
121
+ };
122
+
123
+ /**
124
+ * Describes the message tilde.management.v1.ListSandboxBlueprintsRequest.
125
+ * Use `create(ListSandboxBlueprintsRequestSchema)` to create a new message.
126
+ */
127
+ export declare const ListSandboxBlueprintsRequestSchema: GenMessage<ListSandboxBlueprintsRequest>;
128
+
129
+ /**
130
+ * @generated from message tilde.management.v1.ListSandboxBlueprintsResponse
131
+ */
132
+ export declare type ListSandboxBlueprintsResponse = Message<"tilde.management.v1.ListSandboxBlueprintsResponse"> & {
133
+ /**
134
+ * @generated from field: repeated tilde.management.v1.SandboxBlueprint blueprints = 1;
135
+ */
136
+ blueprints: SandboxBlueprint[];
137
+ };
138
+
139
+ /**
140
+ * Describes the message tilde.management.v1.ListSandboxBlueprintsResponse.
141
+ * Use `create(ListSandboxBlueprintsResponseSchema)` to create a new message.
142
+ */
143
+ export declare const ListSandboxBlueprintsResponseSchema: GenMessage<ListSandboxBlueprintsResponse>;
144
+
145
+ /**
146
+ * @generated from message tilde.management.v1.GetSandboxBlueprintRequest
147
+ */
148
+ export declare type GetSandboxBlueprintRequest = Message<"tilde.management.v1.GetSandboxBlueprintRequest"> & {
149
+ /**
150
+ * @generated from field: string id = 1;
151
+ */
152
+ id: string;
153
+ };
154
+
155
+ /**
156
+ * Describes the message tilde.management.v1.GetSandboxBlueprintRequest.
157
+ * Use `create(GetSandboxBlueprintRequestSchema)` to create a new message.
158
+ */
159
+ export declare const GetSandboxBlueprintRequestSchema: GenMessage<GetSandboxBlueprintRequest>;
160
+
161
+ /**
162
+ * @generated from message tilde.management.v1.GetSandboxBlueprintResponse
163
+ */
164
+ export declare type GetSandboxBlueprintResponse = Message<"tilde.management.v1.GetSandboxBlueprintResponse"> & {
165
+ /**
166
+ * @generated from field: tilde.management.v1.SandboxBlueprint blueprint = 1;
167
+ */
168
+ blueprint?: SandboxBlueprint | undefined;
169
+ };
170
+
171
+ /**
172
+ * Describes the message tilde.management.v1.GetSandboxBlueprintResponse.
173
+ * Use `create(GetSandboxBlueprintResponseSchema)` to create a new message.
174
+ */
175
+ export declare const GetSandboxBlueprintResponseSchema: GenMessage<GetSandboxBlueprintResponse>;
176
+
177
+ /**
178
+ * Unspecified reuse means THREAD; absent timings, or zero fields, take their defaults.
179
+ *
180
+ * @generated from message tilde.management.v1.CreateSandboxBlueprintRequest
181
+ */
182
+ export declare type CreateSandboxBlueprintRequest = Message<"tilde.management.v1.CreateSandboxBlueprintRequest"> & {
183
+ /**
184
+ * @generated from field: string name = 1;
185
+ */
186
+ name: string;
187
+
188
+ /**
189
+ * @generated from field: string connection_id = 2;
190
+ */
191
+ connectionId: string;
192
+
193
+ /**
194
+ * @generated from field: string template = 3;
195
+ */
196
+ template: string;
197
+
198
+ /**
199
+ * @generated from field: tilde.management.v1.SandboxReuse reuse = 4;
200
+ */
201
+ reuse: SandboxReuse;
202
+
203
+ /**
204
+ * @generated from field: optional tilde.management.v1.SandboxTimings timings = 5;
205
+ */
206
+ timings?: SandboxTimings | undefined;
207
+ };
208
+
209
+ /**
210
+ * Describes the message tilde.management.v1.CreateSandboxBlueprintRequest.
211
+ * Use `create(CreateSandboxBlueprintRequestSchema)` to create a new message.
212
+ */
213
+ export declare const CreateSandboxBlueprintRequestSchema: GenMessage<CreateSandboxBlueprintRequest>;
214
+
215
+ /**
216
+ * @generated from message tilde.management.v1.CreateSandboxBlueprintResponse
217
+ */
218
+ export declare type CreateSandboxBlueprintResponse = Message<"tilde.management.v1.CreateSandboxBlueprintResponse"> & {
219
+ /**
220
+ * @generated from field: tilde.management.v1.SandboxBlueprint blueprint = 1;
221
+ */
222
+ blueprint?: SandboxBlueprint | undefined;
223
+ };
224
+
225
+ /**
226
+ * Describes the message tilde.management.v1.CreateSandboxBlueprintResponse.
227
+ * Use `create(CreateSandboxBlueprintResponseSchema)` to create a new message.
228
+ */
229
+ export declare const CreateSandboxBlueprintResponseSchema: GenMessage<CreateSandboxBlueprintResponse>;
230
+
231
+ /**
232
+ * Absent fields, and zero timing fields, keep their value. New timings apply to every sandbox of
233
+ * the blueprint from the sweeper's next turn.
234
+ *
235
+ * @generated from message tilde.management.v1.UpdateSandboxBlueprintRequest
236
+ */
237
+ export declare type UpdateSandboxBlueprintRequest = Message<"tilde.management.v1.UpdateSandboxBlueprintRequest"> & {
238
+ /**
239
+ * @generated from field: string id = 1;
240
+ */
241
+ id: string;
242
+
243
+ /**
244
+ * @generated from field: optional string name = 2;
245
+ */
246
+ name?: string | undefined;
247
+
248
+ /**
249
+ * @generated from field: optional string connection_id = 3;
250
+ */
251
+ connectionId?: string | undefined;
252
+
253
+ /**
254
+ * @generated from field: optional string template = 4;
255
+ */
256
+ template?: string | undefined;
257
+
258
+ /**
259
+ * @generated from field: optional tilde.management.v1.SandboxReuse reuse = 5;
260
+ */
261
+ reuse?: SandboxReuse | undefined;
262
+
263
+ /**
264
+ * @generated from field: optional tilde.management.v1.SandboxTimings timings = 6;
265
+ */
266
+ timings?: SandboxTimings | undefined;
267
+ };
268
+
269
+ /**
270
+ * Describes the message tilde.management.v1.UpdateSandboxBlueprintRequest.
271
+ * Use `create(UpdateSandboxBlueprintRequestSchema)` to create a new message.
272
+ */
273
+ export declare const UpdateSandboxBlueprintRequestSchema: GenMessage<UpdateSandboxBlueprintRequest>;
274
+
275
+ /**
276
+ * @generated from message tilde.management.v1.UpdateSandboxBlueprintResponse
277
+ */
278
+ export declare type UpdateSandboxBlueprintResponse = Message<"tilde.management.v1.UpdateSandboxBlueprintResponse"> & {
279
+ /**
280
+ * @generated from field: tilde.management.v1.SandboxBlueprint blueprint = 1;
281
+ */
282
+ blueprint?: SandboxBlueprint | undefined;
283
+ };
284
+
285
+ /**
286
+ * Describes the message tilde.management.v1.UpdateSandboxBlueprintResponse.
287
+ * Use `create(UpdateSandboxBlueprintResponseSchema)` to create a new message.
288
+ */
289
+ export declare const UpdateSandboxBlueprintResponseSchema: GenMessage<UpdateSandboxBlueprintResponse>;
290
+
291
+ /**
292
+ * @generated from message tilde.management.v1.DeleteSandboxBlueprintRequest
293
+ */
294
+ export declare type DeleteSandboxBlueprintRequest = Message<"tilde.management.v1.DeleteSandboxBlueprintRequest"> & {
295
+ /**
296
+ * @generated from field: string id = 1;
297
+ */
298
+ id: string;
299
+ };
300
+
301
+ /**
302
+ * Describes the message tilde.management.v1.DeleteSandboxBlueprintRequest.
303
+ * Use `create(DeleteSandboxBlueprintRequestSchema)` to create a new message.
304
+ */
305
+ export declare const DeleteSandboxBlueprintRequestSchema: GenMessage<DeleteSandboxBlueprintRequest>;
306
+
307
+ /**
308
+ * @generated from message tilde.management.v1.DeleteSandboxBlueprintResponse
309
+ */
310
+ export declare type DeleteSandboxBlueprintResponse = Message<"tilde.management.v1.DeleteSandboxBlueprintResponse"> & {
311
+ };
312
+
313
+ /**
314
+ * Describes the message tilde.management.v1.DeleteSandboxBlueprintResponse.
315
+ * Use `create(DeleteSandboxBlueprintResponseSchema)` to create a new message.
316
+ */
317
+ export declare const DeleteSandboxBlueprintResponseSchema: GenMessage<DeleteSandboxBlueprintResponse>;
318
+
319
+ /**
320
+ * Adds the variable or replaces its value.
321
+ *
322
+ * @generated from message tilde.management.v1.SetSandboxEnvVarRequest
323
+ */
324
+ export declare type SetSandboxEnvVarRequest = Message<"tilde.management.v1.SetSandboxEnvVarRequest"> & {
325
+ /**
326
+ * @generated from field: string blueprint_id = 1;
327
+ */
328
+ blueprintId: string;
329
+
330
+ /**
331
+ * @generated from field: string name = 2;
332
+ */
333
+ name: string;
334
+
335
+ /**
336
+ * @generated from field: string value = 3;
337
+ */
338
+ value: string;
339
+ };
340
+
341
+ /**
342
+ * Describes the message tilde.management.v1.SetSandboxEnvVarRequest.
343
+ * Use `create(SetSandboxEnvVarRequestSchema)` to create a new message.
344
+ */
345
+ export declare const SetSandboxEnvVarRequestSchema: GenMessage<SetSandboxEnvVarRequest>;
346
+
347
+ /**
348
+ * @generated from message tilde.management.v1.SetSandboxEnvVarResponse
349
+ */
350
+ export declare type SetSandboxEnvVarResponse = Message<"tilde.management.v1.SetSandboxEnvVarResponse"> & {
351
+ /**
352
+ * @generated from field: tilde.management.v1.SandboxBlueprint blueprint = 1;
353
+ */
354
+ blueprint?: SandboxBlueprint | undefined;
355
+ };
356
+
357
+ /**
358
+ * Describes the message tilde.management.v1.SetSandboxEnvVarResponse.
359
+ * Use `create(SetSandboxEnvVarResponseSchema)` to create a new message.
360
+ */
361
+ export declare const SetSandboxEnvVarResponseSchema: GenMessage<SetSandboxEnvVarResponse>;
362
+
363
+ /**
364
+ * @generated from message tilde.management.v1.DeleteSandboxEnvVarRequest
365
+ */
366
+ export declare type DeleteSandboxEnvVarRequest = Message<"tilde.management.v1.DeleteSandboxEnvVarRequest"> & {
367
+ /**
368
+ * @generated from field: string blueprint_id = 1;
369
+ */
370
+ blueprintId: string;
371
+
372
+ /**
373
+ * @generated from field: string name = 2;
374
+ */
375
+ name: string;
376
+ };
377
+
378
+ /**
379
+ * Describes the message tilde.management.v1.DeleteSandboxEnvVarRequest.
380
+ * Use `create(DeleteSandboxEnvVarRequestSchema)` to create a new message.
381
+ */
382
+ export declare const DeleteSandboxEnvVarRequestSchema: GenMessage<DeleteSandboxEnvVarRequest>;
383
+
384
+ /**
385
+ * @generated from message tilde.management.v1.DeleteSandboxEnvVarResponse
386
+ */
387
+ export declare type DeleteSandboxEnvVarResponse = Message<"tilde.management.v1.DeleteSandboxEnvVarResponse"> & {
388
+ /**
389
+ * @generated from field: tilde.management.v1.SandboxBlueprint blueprint = 1;
390
+ */
391
+ blueprint?: SandboxBlueprint | undefined;
392
+ };
393
+
394
+ /**
395
+ * Describes the message tilde.management.v1.DeleteSandboxEnvVarResponse.
396
+ * Use `create(DeleteSandboxEnvVarResponseSchema)` to create a new message.
397
+ */
398
+ export declare const DeleteSandboxEnvVarResponseSchema: GenMessage<DeleteSandboxEnvVarResponse>;
399
+
400
+ /**
401
+ * One VM. `agent_id`, `thread_id` and `identity_id` are what its reuse mode keys it by.
402
+ *
403
+ * @generated from message tilde.management.v1.Sandbox
404
+ */
405
+ export declare type Sandbox = Message<"tilde.management.v1.Sandbox"> & {
406
+ /**
407
+ * @generated from field: string id = 1;
408
+ */
409
+ id: string;
410
+
411
+ /**
412
+ * @generated from field: string blueprint_id = 2;
413
+ */
414
+ blueprintId: string;
415
+
416
+ /**
417
+ * @generated from field: tilde.management.v1.SandboxReuse reuse = 3;
418
+ */
419
+ reuse: SandboxReuse;
420
+
421
+ /**
422
+ * @generated from field: optional string agent_id = 4;
423
+ */
424
+ agentId?: string | undefined;
425
+
426
+ /**
427
+ * @generated from field: optional string thread_id = 5;
428
+ */
429
+ threadId?: string | undefined;
430
+
431
+ /**
432
+ * @generated from field: optional string identity_id = 6;
433
+ */
434
+ identityId?: string | undefined;
435
+
436
+ /**
437
+ * @generated from field: tilde.management.v1.SandboxStatus status = 7;
438
+ */
439
+ status: SandboxStatus;
440
+
441
+ /**
442
+ * The provider's ID for the VM.
443
+ *
444
+ * @generated from field: optional string provider_sandbox_id = 8;
445
+ */
446
+ providerSandboxId?: string | undefined;
447
+
448
+ /**
449
+ * Its process has a Connect stream open.
450
+ *
451
+ * @generated from field: bool connected = 9;
452
+ */
453
+ connected: boolean;
454
+
455
+ /**
456
+ * Why it failed to launch or wake.
457
+ *
458
+ * @generated from field: string error = 10;
459
+ */
460
+ error: string;
461
+
462
+ /**
463
+ * @generated from field: google.protobuf.Timestamp last_used_at = 11;
464
+ */
465
+ lastUsedAt?: Timestamp | undefined;
466
+
467
+ /**
468
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
469
+ */
470
+ createdAt?: Timestamp | undefined;
471
+ };
472
+
473
+ /**
474
+ * Describes the message tilde.management.v1.Sandbox.
475
+ * Use `create(SandboxSchema)` to create a new message.
476
+ */
477
+ export declare const SandboxSchema: GenMessage<Sandbox>;
478
+
479
+ /**
480
+ * Either filter, or both.
481
+ *
482
+ * @generated from message tilde.management.v1.ListSandboxesRequest
483
+ */
484
+ export declare type ListSandboxesRequest = Message<"tilde.management.v1.ListSandboxesRequest"> & {
485
+ /**
486
+ * @generated from field: optional string blueprint_id = 1;
487
+ */
488
+ blueprintId?: string | undefined;
489
+
490
+ /**
491
+ * @generated from field: optional string agent_id = 2;
492
+ */
493
+ agentId?: string | undefined;
494
+ };
495
+
496
+ /**
497
+ * Describes the message tilde.management.v1.ListSandboxesRequest.
498
+ * Use `create(ListSandboxesRequestSchema)` to create a new message.
499
+ */
500
+ export declare const ListSandboxesRequestSchema: GenMessage<ListSandboxesRequest>;
501
+
502
+ /**
503
+ * @generated from message tilde.management.v1.ListSandboxesResponse
504
+ */
505
+ export declare type ListSandboxesResponse = Message<"tilde.management.v1.ListSandboxesResponse"> & {
506
+ /**
507
+ * @generated from field: repeated tilde.management.v1.Sandbox sandboxes = 1;
508
+ */
509
+ sandboxes: Sandbox[];
510
+ };
511
+
512
+ /**
513
+ * Describes the message tilde.management.v1.ListSandboxesResponse.
514
+ * Use `create(ListSandboxesResponseSchema)` to create a new message.
515
+ */
516
+ export declare const ListSandboxesResponseSchema: GenMessage<ListSandboxesResponse>;
517
+
518
+ /**
519
+ * @generated from message tilde.management.v1.TerminateSandboxRequest
520
+ */
521
+ export declare type TerminateSandboxRequest = Message<"tilde.management.v1.TerminateSandboxRequest"> & {
522
+ /**
523
+ * @generated from field: string id = 1;
524
+ */
525
+ id: string;
526
+ };
527
+
528
+ /**
529
+ * Describes the message tilde.management.v1.TerminateSandboxRequest.
530
+ * Use `create(TerminateSandboxRequestSchema)` to create a new message.
531
+ */
532
+ export declare const TerminateSandboxRequestSchema: GenMessage<TerminateSandboxRequest>;
533
+
534
+ /**
535
+ * @generated from message tilde.management.v1.TerminateSandboxResponse
536
+ */
537
+ export declare type TerminateSandboxResponse = Message<"tilde.management.v1.TerminateSandboxResponse"> & {
538
+ };
539
+
540
+ /**
541
+ * Describes the message tilde.management.v1.TerminateSandboxResponse.
542
+ * Use `create(TerminateSandboxResponseSchema)` to create a new message.
543
+ */
544
+ export declare const TerminateSandboxResponseSchema: GenMessage<TerminateSandboxResponse>;
545
+
546
+ /**
547
+ * @generated from message tilde.management.v1.AgentSandbox
548
+ */
549
+ export declare type AgentSandbox = Message<"tilde.management.v1.AgentSandbox"> & {
550
+ /**
551
+ * @generated from field: string agent_id = 1;
552
+ */
553
+ agentId: string;
554
+
555
+ /**
556
+ * @generated from field: string blueprint_id = 2;
557
+ */
558
+ blueprintId: string;
559
+
560
+ /**
561
+ * @generated from field: string tool_source_id = 3;
562
+ */
563
+ toolSourceId: string;
564
+ };
565
+
566
+ /**
567
+ * Describes the message tilde.management.v1.AgentSandbox.
568
+ * Use `create(AgentSandboxSchema)` to create a new message.
569
+ */
570
+ export declare const AgentSandboxSchema: GenMessage<AgentSandbox>;
571
+
572
+ /**
573
+ * @generated from message tilde.management.v1.GetAgentSandboxRequest
574
+ */
575
+ export declare type GetAgentSandboxRequest = Message<"tilde.management.v1.GetAgentSandboxRequest"> & {
576
+ /**
577
+ * @generated from field: string agent_id = 1;
578
+ */
579
+ agentId: string;
580
+ };
581
+
582
+ /**
583
+ * Describes the message tilde.management.v1.GetAgentSandboxRequest.
584
+ * Use `create(GetAgentSandboxRequestSchema)` to create a new message.
585
+ */
586
+ export declare const GetAgentSandboxRequestSchema: GenMessage<GetAgentSandboxRequest>;
587
+
588
+ /**
589
+ * Without a sandbox, when the agent has none.
590
+ *
591
+ * @generated from message tilde.management.v1.GetAgentSandboxResponse
592
+ */
593
+ export declare type GetAgentSandboxResponse = Message<"tilde.management.v1.GetAgentSandboxResponse"> & {
594
+ /**
595
+ * @generated from field: optional tilde.management.v1.AgentSandbox sandbox = 1;
596
+ */
597
+ sandbox?: AgentSandbox | undefined;
598
+ };
599
+
600
+ /**
601
+ * Describes the message tilde.management.v1.GetAgentSandboxResponse.
602
+ * Use `create(GetAgentSandboxResponseSchema)` to create a new message.
603
+ */
604
+ export declare const GetAgentSandboxResponseSchema: GenMessage<GetAgentSandboxResponse>;
605
+
606
+ /**
607
+ * @generated from message tilde.management.v1.SetAgentSandboxRequest
608
+ */
609
+ export declare type SetAgentSandboxRequest = Message<"tilde.management.v1.SetAgentSandboxRequest"> & {
610
+ /**
611
+ * @generated from field: string agent_id = 1;
612
+ */
613
+ agentId: string;
614
+
615
+ /**
616
+ * @generated from field: string blueprint_id = 2;
617
+ */
618
+ blueprintId: string;
619
+ };
620
+
621
+ /**
622
+ * Describes the message tilde.management.v1.SetAgentSandboxRequest.
623
+ * Use `create(SetAgentSandboxRequestSchema)` to create a new message.
624
+ */
625
+ export declare const SetAgentSandboxRequestSchema: GenMessage<SetAgentSandboxRequest>;
626
+
627
+ /**
628
+ * @generated from message tilde.management.v1.SetAgentSandboxResponse
629
+ */
630
+ export declare type SetAgentSandboxResponse = Message<"tilde.management.v1.SetAgentSandboxResponse"> & {
631
+ /**
632
+ * @generated from field: tilde.management.v1.AgentSandbox sandbox = 1;
633
+ */
634
+ sandbox?: AgentSandbox | undefined;
635
+ };
636
+
637
+ /**
638
+ * Describes the message tilde.management.v1.SetAgentSandboxResponse.
639
+ * Use `create(SetAgentSandboxResponseSchema)` to create a new message.
640
+ */
641
+ export declare const SetAgentSandboxResponseSchema: GenMessage<SetAgentSandboxResponse>;
642
+
643
+ /**
644
+ * @generated from message tilde.management.v1.RemoveAgentSandboxRequest
645
+ */
646
+ export declare type RemoveAgentSandboxRequest = Message<"tilde.management.v1.RemoveAgentSandboxRequest"> & {
647
+ /**
648
+ * @generated from field: string agent_id = 1;
649
+ */
650
+ agentId: string;
651
+ };
652
+
653
+ /**
654
+ * Describes the message tilde.management.v1.RemoveAgentSandboxRequest.
655
+ * Use `create(RemoveAgentSandboxRequestSchema)` to create a new message.
656
+ */
657
+ export declare const RemoveAgentSandboxRequestSchema: GenMessage<RemoveAgentSandboxRequest>;
658
+
659
+ /**
660
+ * @generated from message tilde.management.v1.RemoveAgentSandboxResponse
661
+ */
662
+ export declare type RemoveAgentSandboxResponse = Message<"tilde.management.v1.RemoveAgentSandboxResponse"> & {
663
+ };
664
+
665
+ /**
666
+ * Describes the message tilde.management.v1.RemoveAgentSandboxResponse.
667
+ * Use `create(RemoveAgentSandboxResponseSchema)` to create a new message.
668
+ */
669
+ export declare const RemoveAgentSandboxResponseSchema: GenMessage<RemoveAgentSandboxResponse>;
670
+
671
+ /**
672
+ * Which sandbox an invocation uses. THREAD: one per agent and thread. AGENT: one for all of an
673
+ * agent's threads. AGENT_IDENTITY: one per agent and person (root identity). GLOBAL: one for every
674
+ * agent using the blueprint. GLOBAL_IDENTITY: one per person, shared by every agent using the
675
+ * blueprint. The person-keyed modes use one per agent and thread when an invocation acts for no
676
+ * verified person. Every mode but THREAD lets data cross threads; the GLOBAL modes also let it
677
+ * cross agents.
678
+ *
679
+ * @generated from enum tilde.management.v1.SandboxReuse
680
+ */
681
+ export enum SandboxReuse {
682
+ /**
683
+ * @generated from enum value: SANDBOX_REUSE_UNSPECIFIED = 0;
684
+ */
685
+ UNSPECIFIED = 0,
686
+
687
+ /**
688
+ * @generated from enum value: SANDBOX_REUSE_THREAD = 1;
689
+ */
690
+ THREAD = 1,
691
+
692
+ /**
693
+ * @generated from enum value: SANDBOX_REUSE_AGENT = 2;
694
+ */
695
+ AGENT = 2,
696
+
697
+ /**
698
+ * @generated from enum value: SANDBOX_REUSE_AGENT_IDENTITY = 3;
699
+ */
700
+ AGENT_IDENTITY = 3,
701
+
702
+ /**
703
+ * @generated from enum value: SANDBOX_REUSE_GLOBAL = 4;
704
+ */
705
+ GLOBAL = 4,
706
+
707
+ /**
708
+ * @generated from enum value: SANDBOX_REUSE_GLOBAL_IDENTITY = 5;
709
+ */
710
+ GLOBAL_IDENTITY = 5,
711
+ }
712
+
713
+ /**
714
+ * Describes the enum tilde.management.v1.SandboxReuse.
715
+ */
716
+ export declare const SandboxReuseSchema: GenEnum<SandboxReuse>;
717
+
718
+ /**
719
+ * @generated from enum tilde.management.v1.SandboxStatus
720
+ */
721
+ export enum SandboxStatus {
722
+ /**
723
+ * @generated from enum value: SANDBOX_STATUS_UNSPECIFIED = 0;
724
+ */
725
+ UNSPECIFIED = 0,
726
+
727
+ /**
728
+ * @generated from enum value: SANDBOX_STATUS_STARTING = 1;
729
+ */
730
+ STARTING = 1,
731
+
732
+ /**
733
+ * @generated from enum value: SANDBOX_STATUS_RUNNING = 2;
734
+ */
735
+ RUNNING = 2,
736
+
737
+ /**
738
+ * @generated from enum value: SANDBOX_STATUS_SLEEPING = 3;
739
+ */
740
+ SLEEPING = 3,
741
+
742
+ /**
743
+ * @generated from enum value: SANDBOX_STATUS_FAILED = 4;
744
+ */
745
+ FAILED = 4,
746
+ }
747
+
748
+ /**
749
+ * Describes the enum tilde.management.v1.SandboxStatus.
750
+ */
751
+ export declare const SandboxStatusSchema: GenEnum<SandboxStatus>;
752
+
753
+ /**
754
+ * Sandboxes are VMs Tilde launches for agents through a sandbox provider connection (E2B or
755
+ * Modal). A blueprint configures them: the connection and template to launch, the environment of
756
+ * every shell, the tools processes inside may call (managed as a blueprint's tool sources through
757
+ * ToolService) and how sandboxes are shared. Calls processes inside make to the blueprint's tools
758
+ * are traced in the agent's invocations like its other tool calls. An agent with a sandbox setting runs every invocation
759
+ * with one, waking or launching it first, and gets the fixed sandbox tools as a tool source.
760
+ *
761
+ * @generated from service tilde.management.v1.SandboxBlueprintService
762
+ */
763
+ export declare const SandboxBlueprintService: GenService<{
764
+ /**
765
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.ListSandboxBlueprints
766
+ */
767
+ listSandboxBlueprints: {
768
+ methodKind: "unary";
769
+ input: typeof ListSandboxBlueprintsRequestSchema;
770
+ output: typeof ListSandboxBlueprintsResponseSchema;
771
+ },
772
+ /**
773
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.GetSandboxBlueprint
774
+ */
775
+ getSandboxBlueprint: {
776
+ methodKind: "unary";
777
+ input: typeof GetSandboxBlueprintRequestSchema;
778
+ output: typeof GetSandboxBlueprintResponseSchema;
779
+ },
780
+ /**
781
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.CreateSandboxBlueprint
782
+ */
783
+ createSandboxBlueprint: {
784
+ methodKind: "unary";
785
+ input: typeof CreateSandboxBlueprintRequestSchema;
786
+ output: typeof CreateSandboxBlueprintResponseSchema;
787
+ },
788
+ /**
789
+ * Changing the connection, template or reuse applies to sandboxes launched afterwards; existing
790
+ * sandboxes of another reuse mode are terminated.
791
+ *
792
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.UpdateSandboxBlueprint
793
+ */
794
+ updateSandboxBlueprint: {
795
+ methodKind: "unary";
796
+ input: typeof UpdateSandboxBlueprintRequestSchema;
797
+ output: typeof UpdateSandboxBlueprintResponseSchema;
798
+ },
799
+ /**
800
+ * Refused while an agent uses the blueprint; its sandboxes are terminated.
801
+ *
802
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.DeleteSandboxBlueprint
803
+ */
804
+ deleteSandboxBlueprint: {
805
+ methodKind: "unary";
806
+ input: typeof DeleteSandboxBlueprintRequestSchema;
807
+ output: typeof DeleteSandboxBlueprintResponseSchema;
808
+ },
809
+ /**
810
+ * Values are write-only. A sandbox receives the current environment whenever its process connects.
811
+ *
812
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.SetSandboxEnvVar
813
+ */
814
+ setSandboxEnvVar: {
815
+ methodKind: "unary";
816
+ input: typeof SetSandboxEnvVarRequestSchema;
817
+ output: typeof SetSandboxEnvVarResponseSchema;
818
+ },
819
+ /**
820
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.DeleteSandboxEnvVar
821
+ */
822
+ deleteSandboxEnvVar: {
823
+ methodKind: "unary";
824
+ input: typeof DeleteSandboxEnvVarRequestSchema;
825
+ output: typeof DeleteSandboxEnvVarResponseSchema;
826
+ },
827
+ /**
828
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.ListSandboxes
829
+ */
830
+ listSandboxes: {
831
+ methodKind: "unary";
832
+ input: typeof ListSandboxesRequestSchema;
833
+ output: typeof ListSandboxesResponseSchema;
834
+ },
835
+ /**
836
+ * Terminates the VM at its provider; the next invocation that needs it launches a new one.
837
+ *
838
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.TerminateSandbox
839
+ */
840
+ terminateSandbox: {
841
+ methodKind: "unary";
842
+ input: typeof TerminateSandboxRequestSchema;
843
+ output: typeof TerminateSandboxResponseSchema;
844
+ },
845
+ /**
846
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.GetAgentSandbox
847
+ */
848
+ getAgentSandbox: {
849
+ methodKind: "unary";
850
+ input: typeof GetAgentSandboxRequestSchema;
851
+ output: typeof GetAgentSandboxResponseSchema;
852
+ },
853
+ /**
854
+ * Gives the agent a sandbox of the blueprint, replacing any it had, and the sandbox tool source.
855
+ *
856
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.SetAgentSandbox
857
+ */
858
+ setAgentSandbox: {
859
+ methodKind: "unary";
860
+ input: typeof SetAgentSandboxRequestSchema;
861
+ output: typeof SetAgentSandboxResponseSchema;
862
+ },
863
+ /**
864
+ * Removes the agent's sandbox setting and its sandbox tool source; its sandboxes are terminated.
865
+ *
866
+ * @generated from rpc tilde.management.v1.SandboxBlueprintService.RemoveAgentSandbox
867
+ */
868
+ removeAgentSandbox: {
869
+ methodKind: "unary";
870
+ input: typeof RemoveAgentSandboxRequestSchema;
871
+ output: typeof RemoveAgentSandboxResponseSchema;
872
+ },
873
+ }>;
874
+