@replit/protocol 0.4.28 → 0.4.31

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.
@@ -155,15 +155,6 @@ export interface Takedown {
155
155
  */
156
156
  replId: string;
157
157
  }
158
- /**
159
- * @generated from protobuf message replit.goval.api.lore.StartViktor
160
- */
161
- export interface StartViktor {
162
- /**
163
- * @generated from protobuf field: string repl_id = 1
164
- */
165
- replId: string;
166
- }
167
158
  /**
168
159
  * @generated from protobuf message replit.goval.api.lore.GovalCommand
169
160
  */
@@ -237,14 +228,6 @@ export interface GovalCommand {
237
228
  * @generated from protobuf field: replit.goval.api.lore.Takedown takedown = 7
238
229
  */
239
230
  takedown: Takedown;
240
- } | {
241
- oneofKind: "startViktor";
242
- /**
243
- * StartViktor is necessary when upgrading to core while editing a repl.
244
- *
245
- * @generated from protobuf field: replit.goval.api.lore.StartViktor start_viktor = 9
246
- */
247
- startViktor: StartViktor;
248
231
  } | {
249
232
  oneofKind: "addTokenToReplShieldAllowList";
250
233
  /**
@@ -359,6 +342,12 @@ export interface AddTokenToReplShieldAllowList {
359
342
  * @generated from protobuf field: string token = 2
360
343
  */
361
344
  token: string;
345
+ /**
346
+ * Routes sandbox tokens, which do not have a Lore repl row.
347
+ *
348
+ * @generated from protobuf field: string resource_group_id = 3
349
+ */
350
+ resourceGroupId: string;
362
351
  }
363
352
  /**
364
353
  * @generated from protobuf message replit.goval.api.lore.RevokeUserReplShieldTokens
@@ -430,16 +419,6 @@ declare class Takedown$Type extends MessageType<Takedown> {
430
419
  * @generated MessageType for protobuf message replit.goval.api.lore.Takedown
431
420
  */
432
421
  export declare const Takedown: Takedown$Type;
433
- declare class StartViktor$Type extends MessageType<StartViktor> {
434
- constructor();
435
- create(value?: PartialMessage<StartViktor>): StartViktor;
436
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartViktor): StartViktor;
437
- internalBinaryWrite(message: StartViktor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
438
- }
439
- /**
440
- * @generated MessageType for protobuf message replit.goval.api.lore.StartViktor
441
- */
442
- export declare const StartViktor: StartViktor$Type;
443
422
  declare class GovalCommand$Type extends MessageType<GovalCommand> {
444
423
  constructor();
445
424
  create(value?: PartialMessage<GovalCommand>): GovalCommand;
@@ -299,53 +299,6 @@ class Takedown$Type extends MessageType {
299
299
  */
300
300
  export const Takedown = new Takedown$Type();
301
301
  // @generated message type with reflection information, may provide speed optimized methods
302
- class StartViktor$Type extends MessageType {
303
- constructor() {
304
- super("replit.goval.api.lore.StartViktor", [
305
- { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
306
- ]);
307
- }
308
- create(value) {
309
- const message = globalThis.Object.create((this.messagePrototype));
310
- message.replId = "";
311
- if (value !== undefined)
312
- reflectionMergePartial(this, message, value);
313
- return message;
314
- }
315
- internalBinaryRead(reader, length, options, target) {
316
- let message = target ?? this.create(), end = reader.pos + length;
317
- while (reader.pos < end) {
318
- let [fieldNo, wireType] = reader.tag();
319
- switch (fieldNo) {
320
- case /* string repl_id */ 1:
321
- message.replId = reader.string();
322
- break;
323
- default:
324
- let u = options.readUnknownField;
325
- if (u === "throw")
326
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
327
- let d = reader.skip(wireType);
328
- if (u !== false)
329
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
330
- }
331
- }
332
- return message;
333
- }
334
- internalBinaryWrite(message, writer, options) {
335
- /* string repl_id = 1; */
336
- if (message.replId !== "")
337
- writer.tag(1, WireType.LengthDelimited).string(message.replId);
338
- let u = options.writeUnknownFields;
339
- if (u !== false)
340
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
341
- return writer;
342
- }
343
- }
344
- /**
345
- * @generated MessageType for protobuf message replit.goval.api.lore.StartViktor
346
- */
347
- export const StartViktor = new StartViktor$Type();
348
- // @generated message type with reflection information, may provide speed optimized methods
349
302
  class GovalCommand$Type extends MessageType {
350
303
  constructor() {
351
304
  super("replit.goval.api.lore.GovalCommand", [
@@ -356,7 +309,6 @@ class GovalCommand$Type extends MessageType {
356
309
  { no: 5, name: "update_repl_flags", kind: "message", oneof: "command", T: () => UpdateReplFlags },
357
310
  { no: 6, name: "soft_takedown", kind: "message", oneof: "command", T: () => SoftTakedown },
358
311
  { no: 7, name: "takedown", kind: "message", oneof: "command", T: () => Takedown },
359
- { no: 9, name: "start_viktor", kind: "message", oneof: "command", T: () => StartViktor },
360
312
  { no: 10, name: "add_token_to_repl_shield_allow_list", kind: "message", oneof: "command", T: () => AddTokenToReplShieldAllowList },
361
313
  { no: 11, name: "revoke_user_repl_shield_tokens", kind: "message", oneof: "command", T: () => RevokeUserReplShieldTokens },
362
314
  { no: 12, name: "set_replit_badge", kind: "message", oneof: "command", T: () => SetReplitBadge }
@@ -416,12 +368,6 @@ class GovalCommand$Type extends MessageType {
416
368
  takedown: Takedown.internalBinaryRead(reader, reader.uint32(), options, message.command.takedown)
417
369
  };
418
370
  break;
419
- case /* replit.goval.api.lore.StartViktor start_viktor */ 9:
420
- message.command = {
421
- oneofKind: "startViktor",
422
- startViktor: StartViktor.internalBinaryRead(reader, reader.uint32(), options, message.command.startViktor)
423
- };
424
- break;
425
371
  case /* replit.goval.api.lore.AddTokenToReplShieldAllowList add_token_to_repl_shield_allow_list */ 10:
426
372
  message.command = {
427
373
  oneofKind: "addTokenToReplShieldAllowList",
@@ -473,9 +419,6 @@ class GovalCommand$Type extends MessageType {
473
419
  /* replit.goval.api.lore.Takedown takedown = 7; */
474
420
  if (message.command.oneofKind === "takedown")
475
421
  Takedown.internalBinaryWrite(message.command.takedown, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
476
- /* replit.goval.api.lore.StartViktor start_viktor = 9; */
477
- if (message.command.oneofKind === "startViktor")
478
- StartViktor.internalBinaryWrite(message.command.startViktor, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
479
422
  /* replit.goval.api.lore.AddTokenToReplShieldAllowList add_token_to_repl_shield_allow_list = 10; */
480
423
  if (message.command.oneofKind === "addTokenToReplShieldAllowList")
481
424
  AddTokenToReplShieldAllowList.internalBinaryWrite(message.command.addTokenToReplShieldAllowList, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
@@ -812,13 +755,15 @@ class AddTokenToReplShieldAllowList$Type extends MessageType {
812
755
  constructor() {
813
756
  super("replit.goval.api.lore.AddTokenToReplShieldAllowList", [
814
757
  { no: 1, name: "repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
815
- { no: 2, name: "token", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
758
+ { no: 2, name: "token", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
759
+ { no: 3, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
816
760
  ]);
817
761
  }
818
762
  create(value) {
819
763
  const message = globalThis.Object.create((this.messagePrototype));
820
764
  message.replId = "";
821
765
  message.token = "";
766
+ message.resourceGroupId = "";
822
767
  if (value !== undefined)
823
768
  reflectionMergePartial(this, message, value);
824
769
  return message;
@@ -834,6 +779,9 @@ class AddTokenToReplShieldAllowList$Type extends MessageType {
834
779
  case /* string token */ 2:
835
780
  message.token = reader.string();
836
781
  break;
782
+ case /* string resource_group_id */ 3:
783
+ message.resourceGroupId = reader.string();
784
+ break;
837
785
  default:
838
786
  let u = options.readUnknownField;
839
787
  if (u === "throw")
@@ -852,6 +800,9 @@ class AddTokenToReplShieldAllowList$Type extends MessageType {
852
800
  /* string token = 2; */
853
801
  if (message.token !== "")
854
802
  writer.tag(2, WireType.LengthDelimited).string(message.token);
803
+ /* string resource_group_id = 3; */
804
+ if (message.resourceGroupId !== "")
805
+ writer.tag(3, WireType.LengthDelimited).string(message.resourceGroupId);
855
806
  let u = options.writeUnknownFields;
856
807
  if (u !== false)
857
808
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -6,6 +6,8 @@ import type { ExportReplResponse } from "./service.js";
6
6
  import type { ExportReplRequest } from "./service.js";
7
7
  import type { TransferReplFromOfflineClusterResponse } from "./service.js";
8
8
  import type { TransferReplFromOfflineClusterRequest } from "./service.js";
9
+ import type { TransferOrgHomeCellResponse } from "./service.js";
10
+ import type { TransferOrgHomeCellRequest } from "./service.js";
9
11
  import type { SetOrgHomeCellResponse } from "./service.js";
10
12
  import type { SetOrgHomeCellRequest } from "./service.js";
11
13
  import type { GetOrgHomeCellResponse } from "./service.js";
@@ -16,6 +18,10 @@ import type { DeleteReplResponse } from "./service.js";
16
18
  import type { DeleteReplRequest } from "./service.js";
17
19
  import type { BulkRemoveResponse } from "./service.js";
18
20
  import type { BulkRemoveRequest } from "./service.js";
21
+ import type { RemoveTombstoneResponse } from "./service.js";
22
+ import type { RemoveTombstoneRequest } from "./service.js";
23
+ import type { AddTombstoneResponse } from "./service.js";
24
+ import type { AddTombstoneRequest } from "./service.js";
19
25
  import type { RestoreReplResponse } from "./service.js";
20
26
  import type { RestoreReplRequest } from "./service.js";
21
27
  import type { SoftTakedownReplResponse } from "./service.js";
@@ -26,18 +32,38 @@ import type { TransferUserResponse } from "./service.js";
26
32
  import type { TransferUserRequest } from "./service.js";
27
33
  import type { TransferReplsResponse } from "./service.js";
28
34
  import type { TransferReplsRequest } from "./service.js";
35
+ import type { TransferResourceGroupResponse } from "./service.js";
36
+ import type { TransferResourceGroupRequest } from "./service.js";
29
37
  import type { GetTransferStatusResponse } from "./service.js";
30
38
  import type { GetTransferStatusRequest } from "./service.js";
31
39
  import type { GetReplConnectionInfoResponse } from "./service.js";
32
40
  import type { GetReplConnectionInfoRequest } from "./service.js";
41
+ import type { BatchGetCellByResourceGroupResponse } from "./service.js";
42
+ import type { BatchGetCellByResourceGroupRequest } from "./service.js";
43
+ import type { GetClusterByResourceGroupResponse } from "./service.js";
44
+ import type { GetClusterByResourceGroupRequest } from "./service.js";
45
+ import type { GetCheckpointPreviewCapabilityResponse } from "./service.js";
46
+ import type { GetCheckpointPreviewCapabilityRequest } from "./service.js";
47
+ import type { BatchGetCellByReplResponse } from "./service.js";
48
+ import type { BatchGetCellByReplRequest } from "./service.js";
49
+ import type { GetCellByReplResponse } from "./service.js";
50
+ import type { GetCellByReplRequest } from "./service.js";
33
51
  import type { GetReplResponse } from "./service.js";
34
52
  import type { GetReplRequest } from "./service.js";
35
53
  import type { CreateReplResponse } from "./service.js";
36
54
  import type { CreateReplRequest } from "./service.js";
37
55
  import type { CreateAgentResponse } from "./service.js";
38
56
  import type { CreateAgentRequest } from "./service.js";
57
+ import type { DeleteResourceGroupResponse } from "./service.js";
58
+ import type { DeleteResourceGroupRequest } from "./service.js";
39
59
  import type { CreateResourceGroupResponse } from "./service.js";
40
60
  import type { CreateResourceGroupRequest } from "./service.js";
61
+ import type { GetSandboxConnectionInfoResponse } from "./service.js";
62
+ import type { GetSandboxConnectionInfoRequest } from "./service.js";
63
+ import type { UpdateSandboxResponse } from "./service.js";
64
+ import type { UpdateSandboxRequest } from "./service.js";
65
+ import type { CreateSandboxResponse } from "./service.js";
66
+ import type { CreateSandboxRequest } from "./service.js";
41
67
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
42
68
  import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
43
69
  /**
@@ -47,12 +73,40 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
47
73
  * @generated from protobuf service replit.goval.api.lore.Lore
48
74
  */
49
75
  export interface ILoreClient {
76
+ /**
77
+ * CreateSandbox routes creation to the Jetplane cell placed for the
78
+ * destination resource group. Lore does not persist a sandbox mapping.
79
+ *
80
+ * @generated from protobuf rpc: CreateSandbox
81
+ */
82
+ createSandbox(input: CreateSandboxRequest, options?: RpcOptions): UnaryCall<CreateSandboxRequest, CreateSandboxResponse>;
83
+ /**
84
+ * UpdateSandbox routes to the Jetplane cell placed for the sandbox's
85
+ * resource group to replace or remove the sandbox's extra mount. A running
86
+ * sandbox keeps its current mount until it is next placed.
87
+ *
88
+ * @generated from protobuf rpc: UpdateSandbox
89
+ */
90
+ updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
91
+ /**
92
+ * GetSandboxConnectionInfo resolves the cell from resource-group placement
93
+ * and reads the Jetplane-authoritative sandbox metadata.
94
+ *
95
+ * @generated from protobuf rpc: GetSandboxConnectionInfo
96
+ */
97
+ getSandboxConnectionInfo(input: GetSandboxConnectionInfoRequest, options?: RpcOptions): UnaryCall<GetSandboxConnectionInfoRequest, GetSandboxConnectionInfoResponse>;
50
98
  /**
51
99
  * CreateResourceGroup registers an empty resource group in Jetplane.
52
100
  *
53
101
  * @generated from protobuf rpc: CreateResourceGroup
54
102
  */
55
103
  createResourceGroup(input: CreateResourceGroupRequest, options?: RpcOptions): UnaryCall<CreateResourceGroupRequest, CreateResourceGroupResponse>;
104
+ /**
105
+ * DeleteResourceGroup removes a resource group from Jetplane.
106
+ *
107
+ * @generated from protobuf rpc: DeleteResourceGroup
108
+ */
109
+ deleteResourceGroup(input: DeleteResourceGroupRequest, options?: RpcOptions): UnaryCall<DeleteResourceGroupRequest, DeleteResourceGroupResponse>;
56
110
  /**
57
111
  * CreateAgent creates an agent through the selected cluster's Chateau.
58
112
  *
@@ -72,6 +126,38 @@ export interface ILoreClient {
72
126
  * @generated from protobuf rpc: GetRepl
73
127
  */
74
128
  getRepl(input: GetReplRequest, options?: RpcOptions): UnaryCall<GetReplRequest, GetReplResponse>;
129
+ /**
130
+ * GetCellByRepl returns a cell without consulting Jetplane.
131
+ *
132
+ * @generated from protobuf rpc: GetCellByRepl
133
+ */
134
+ getCellByRepl(input: GetCellByReplRequest, options?: RpcOptions): UnaryCall<GetCellByReplRequest, GetCellByReplResponse>;
135
+ /**
136
+ * BatchGetCellByRepl resolves repl cells independently.
137
+ *
138
+ * @generated from protobuf rpc: BatchGetCellByRepl
139
+ */
140
+ batchGetCellByRepl(input: BatchGetCellByReplRequest, options?: RpcOptions): UnaryCall<BatchGetCellByReplRequest, BatchGetCellByReplResponse>;
141
+ /**
142
+ * GetCheckpointPreviewCapability reports whether a checkpoint can seed a
143
+ * native preview. False means callers should use their legacy preview path.
144
+ *
145
+ * @generated from protobuf rpc: GetCheckpointPreviewCapability
146
+ */
147
+ getCheckpointPreviewCapability(input: GetCheckpointPreviewCapabilityRequest, options?: RpcOptions): UnaryCall<GetCheckpointPreviewCapabilityRequest, GetCheckpointPreviewCapabilityResponse>;
148
+ /**
149
+ * GetClusterByResourceGroup returns the cluster a resource group is placed
150
+ * in.
151
+ *
152
+ * @generated from protobuf rpc: GetClusterByResourceGroup
153
+ */
154
+ getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
155
+ /**
156
+ * BatchGetCellByResourceGroup resolves resource groups independently.
157
+ *
158
+ * @generated from protobuf rpc: BatchGetCellByResourceGroup
159
+ */
160
+ batchGetCellByResourceGroup(input: BatchGetCellByResourceGroupRequest, options?: RpcOptions): UnaryCall<BatchGetCellByResourceGroupRequest, BatchGetCellByResourceGroupResponse>;
75
161
  /**
76
162
  * GetReplConnectionInfo will return a repl and its associated cluster and
77
163
  * GCE buckets. If the repl does not exist, the repl will be created; however,
@@ -88,6 +174,20 @@ export interface ILoreClient {
88
174
  * @generated from protobuf rpc: GetTransferStatus
89
175
  */
90
176
  getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall<GetTransferStatusRequest, GetTransferStatusResponse>;
177
+ /**
178
+ * TransferResourceGroup starts the cell-transfer coordinator workflow for a
179
+ * resource group and returns immediately with its transfer id; the transfer
180
+ * runs asynchronously.
181
+ *
182
+ * The destination is not a parameter: a group is only ever transferred into
183
+ * the home cell of the org that owns it.
184
+ *
185
+ * The coordinator is currently a skeleton that runs no transfer phases, so
186
+ * this starts a workflow that completes without moving anything.
187
+ *
188
+ * @generated from protobuf rpc: TransferResourceGroup
189
+ */
190
+ transferResourceGroup(input: TransferResourceGroupRequest, options?: RpcOptions): UnaryCall<TransferResourceGroupRequest, TransferResourceGroupResponse>;
91
191
  /**
92
192
  * TransferRepls will initiate a bulk transfer of repls to a new cluster and
93
193
  * return the transfer id.
@@ -113,10 +213,8 @@ export interface ILoreClient {
113
213
  */
114
214
  takedownRepl(input: TakedownReplRequest, options?: RpcOptions): UnaryCall<TakedownReplRequest, TakedownReplResponse>;
115
215
  /**
116
- * SoftTakedownRepl performs a soft takedown of a repl, which allows a user to
117
- * restart it immediately and prevents the repl from being woken up via
118
- * requests to <repl>.<user>.repl.co, requiring the repl to be opened in the
119
- * workspace.
216
+ * SoftTakedownRepl stops a repl's running instance without blocking future
217
+ * placement, so it can be restarted immediately.
120
218
  *
121
219
  * @generated from protobuf rpc: SoftTakedownRepl
122
220
  */
@@ -127,6 +225,18 @@ export interface ILoreClient {
127
225
  * @generated from protobuf rpc: RestoreRepl
128
226
  */
129
227
  restoreRepl(input: RestoreReplRequest, options?: RpcOptions): UnaryCall<RestoreReplRequest, RestoreReplResponse>;
228
+ /**
229
+ * AddTombstone prevents a repl from being placed until its tombstone expires.
230
+ *
231
+ * @generated from protobuf rpc: AddTombstone
232
+ */
233
+ addTombstone(input: AddTombstoneRequest, options?: RpcOptions): UnaryCall<AddTombstoneRequest, AddTombstoneResponse>;
234
+ /**
235
+ * RemoveTombstone allows a tombstoned repl to be placed again.
236
+ *
237
+ * @generated from protobuf rpc: RemoveTombstone
238
+ */
239
+ removeTombstone(input: RemoveTombstoneRequest, options?: RpcOptions): UnaryCall<RemoveTombstoneRequest, RemoveTombstoneResponse>;
130
240
  /**
131
241
  * BulkRemove performs a soft takedown on the specified repls.
132
242
  *
@@ -135,11 +245,9 @@ export interface ILoreClient {
135
245
  bulkRemove(input: BulkRemoveRequest, options?: RpcOptions): UnaryCall<BulkRemoveRequest, BulkRemoveResponse>;
136
246
  /**
137
247
  * DeleteRepl permanently deletes a repl.
138
- * This adds a tombstone to prevent the repl from running, attempts to delete
139
- * GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles,
140
- * OT metadata) on a best-effort basis, and soft deletes the repl from the
141
- * lore database. GCS cleanup failures are logged but do not block deletion;
142
- * orphaned storage can be cleaned up separately.
248
+ * This asks Jetplane to soft delete the repl and prevent it from running,
249
+ * then soft deletes the repl from the Lore database. Storage cleanup is
250
+ * handled separately.
143
251
  * This operation is irreversible and idempotent.
144
252
  *
145
253
  * @generated from protobuf rpc: DeleteRepl
@@ -163,6 +271,12 @@ export interface ILoreClient {
163
271
  * @generated from protobuf rpc: SetOrgHomeCell
164
272
  */
165
273
  setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
274
+ /**
275
+ * TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
276
+ *
277
+ * @generated from protobuf rpc: TransferOrgHomeCell
278
+ */
279
+ transferOrgHomeCell(input: TransferOrgHomeCellRequest, options?: RpcOptions): UnaryCall<TransferOrgHomeCellRequest, TransferOrgHomeCellResponse>;
166
280
  /**
167
281
  * TransferReplFromOfflineCluster transfers a repl from an offline cluster to
168
282
  * a new cluster.
@@ -212,12 +326,40 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
212
326
  [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
213
327
  };
214
328
  constructor(_transport: RpcTransport);
329
+ /**
330
+ * CreateSandbox routes creation to the Jetplane cell placed for the
331
+ * destination resource group. Lore does not persist a sandbox mapping.
332
+ *
333
+ * @generated from protobuf rpc: CreateSandbox
334
+ */
335
+ createSandbox(input: CreateSandboxRequest, options?: RpcOptions): UnaryCall<CreateSandboxRequest, CreateSandboxResponse>;
336
+ /**
337
+ * UpdateSandbox routes to the Jetplane cell placed for the sandbox's
338
+ * resource group to replace or remove the sandbox's extra mount. A running
339
+ * sandbox keeps its current mount until it is next placed.
340
+ *
341
+ * @generated from protobuf rpc: UpdateSandbox
342
+ */
343
+ updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
344
+ /**
345
+ * GetSandboxConnectionInfo resolves the cell from resource-group placement
346
+ * and reads the Jetplane-authoritative sandbox metadata.
347
+ *
348
+ * @generated from protobuf rpc: GetSandboxConnectionInfo
349
+ */
350
+ getSandboxConnectionInfo(input: GetSandboxConnectionInfoRequest, options?: RpcOptions): UnaryCall<GetSandboxConnectionInfoRequest, GetSandboxConnectionInfoResponse>;
215
351
  /**
216
352
  * CreateResourceGroup registers an empty resource group in Jetplane.
217
353
  *
218
354
  * @generated from protobuf rpc: CreateResourceGroup
219
355
  */
220
356
  createResourceGroup(input: CreateResourceGroupRequest, options?: RpcOptions): UnaryCall<CreateResourceGroupRequest, CreateResourceGroupResponse>;
357
+ /**
358
+ * DeleteResourceGroup removes a resource group from Jetplane.
359
+ *
360
+ * @generated from protobuf rpc: DeleteResourceGroup
361
+ */
362
+ deleteResourceGroup(input: DeleteResourceGroupRequest, options?: RpcOptions): UnaryCall<DeleteResourceGroupRequest, DeleteResourceGroupResponse>;
221
363
  /**
222
364
  * CreateAgent creates an agent through the selected cluster's Chateau.
223
365
  *
@@ -237,6 +379,38 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
237
379
  * @generated from protobuf rpc: GetRepl
238
380
  */
239
381
  getRepl(input: GetReplRequest, options?: RpcOptions): UnaryCall<GetReplRequest, GetReplResponse>;
382
+ /**
383
+ * GetCellByRepl returns a cell without consulting Jetplane.
384
+ *
385
+ * @generated from protobuf rpc: GetCellByRepl
386
+ */
387
+ getCellByRepl(input: GetCellByReplRequest, options?: RpcOptions): UnaryCall<GetCellByReplRequest, GetCellByReplResponse>;
388
+ /**
389
+ * BatchGetCellByRepl resolves repl cells independently.
390
+ *
391
+ * @generated from protobuf rpc: BatchGetCellByRepl
392
+ */
393
+ batchGetCellByRepl(input: BatchGetCellByReplRequest, options?: RpcOptions): UnaryCall<BatchGetCellByReplRequest, BatchGetCellByReplResponse>;
394
+ /**
395
+ * GetCheckpointPreviewCapability reports whether a checkpoint can seed a
396
+ * native preview. False means callers should use their legacy preview path.
397
+ *
398
+ * @generated from protobuf rpc: GetCheckpointPreviewCapability
399
+ */
400
+ getCheckpointPreviewCapability(input: GetCheckpointPreviewCapabilityRequest, options?: RpcOptions): UnaryCall<GetCheckpointPreviewCapabilityRequest, GetCheckpointPreviewCapabilityResponse>;
401
+ /**
402
+ * GetClusterByResourceGroup returns the cluster a resource group is placed
403
+ * in.
404
+ *
405
+ * @generated from protobuf rpc: GetClusterByResourceGroup
406
+ */
407
+ getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
408
+ /**
409
+ * BatchGetCellByResourceGroup resolves resource groups independently.
410
+ *
411
+ * @generated from protobuf rpc: BatchGetCellByResourceGroup
412
+ */
413
+ batchGetCellByResourceGroup(input: BatchGetCellByResourceGroupRequest, options?: RpcOptions): UnaryCall<BatchGetCellByResourceGroupRequest, BatchGetCellByResourceGroupResponse>;
240
414
  /**
241
415
  * GetReplConnectionInfo will return a repl and its associated cluster and
242
416
  * GCE buckets. If the repl does not exist, the repl will be created; however,
@@ -253,6 +427,20 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
253
427
  * @generated from protobuf rpc: GetTransferStatus
254
428
  */
255
429
  getTransferStatus(input: GetTransferStatusRequest, options?: RpcOptions): UnaryCall<GetTransferStatusRequest, GetTransferStatusResponse>;
430
+ /**
431
+ * TransferResourceGroup starts the cell-transfer coordinator workflow for a
432
+ * resource group and returns immediately with its transfer id; the transfer
433
+ * runs asynchronously.
434
+ *
435
+ * The destination is not a parameter: a group is only ever transferred into
436
+ * the home cell of the org that owns it.
437
+ *
438
+ * The coordinator is currently a skeleton that runs no transfer phases, so
439
+ * this starts a workflow that completes without moving anything.
440
+ *
441
+ * @generated from protobuf rpc: TransferResourceGroup
442
+ */
443
+ transferResourceGroup(input: TransferResourceGroupRequest, options?: RpcOptions): UnaryCall<TransferResourceGroupRequest, TransferResourceGroupResponse>;
256
444
  /**
257
445
  * TransferRepls will initiate a bulk transfer of repls to a new cluster and
258
446
  * return the transfer id.
@@ -278,10 +466,8 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
278
466
  */
279
467
  takedownRepl(input: TakedownReplRequest, options?: RpcOptions): UnaryCall<TakedownReplRequest, TakedownReplResponse>;
280
468
  /**
281
- * SoftTakedownRepl performs a soft takedown of a repl, which allows a user to
282
- * restart it immediately and prevents the repl from being woken up via
283
- * requests to <repl>.<user>.repl.co, requiring the repl to be opened in the
284
- * workspace.
469
+ * SoftTakedownRepl stops a repl's running instance without blocking future
470
+ * placement, so it can be restarted immediately.
285
471
  *
286
472
  * @generated from protobuf rpc: SoftTakedownRepl
287
473
  */
@@ -292,6 +478,18 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
292
478
  * @generated from protobuf rpc: RestoreRepl
293
479
  */
294
480
  restoreRepl(input: RestoreReplRequest, options?: RpcOptions): UnaryCall<RestoreReplRequest, RestoreReplResponse>;
481
+ /**
482
+ * AddTombstone prevents a repl from being placed until its tombstone expires.
483
+ *
484
+ * @generated from protobuf rpc: AddTombstone
485
+ */
486
+ addTombstone(input: AddTombstoneRequest, options?: RpcOptions): UnaryCall<AddTombstoneRequest, AddTombstoneResponse>;
487
+ /**
488
+ * RemoveTombstone allows a tombstoned repl to be placed again.
489
+ *
490
+ * @generated from protobuf rpc: RemoveTombstone
491
+ */
492
+ removeTombstone(input: RemoveTombstoneRequest, options?: RpcOptions): UnaryCall<RemoveTombstoneRequest, RemoveTombstoneResponse>;
295
493
  /**
296
494
  * BulkRemove performs a soft takedown on the specified repls.
297
495
  *
@@ -300,11 +498,9 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
300
498
  bulkRemove(input: BulkRemoveRequest, options?: RpcOptions): UnaryCall<BulkRemoveRequest, BulkRemoveResponse>;
301
499
  /**
302
500
  * DeleteRepl permanently deletes a repl.
303
- * This adds a tombstone to prevent the repl from running, attempts to delete
304
- * GCS resources (margarine disk, helium margarine disk + snapshots, gcsfiles,
305
- * OT metadata) on a best-effort basis, and soft deletes the repl from the
306
- * lore database. GCS cleanup failures are logged but do not block deletion;
307
- * orphaned storage can be cleaned up separately.
501
+ * This asks Jetplane to soft delete the repl and prevent it from running,
502
+ * then soft deletes the repl from the Lore database. Storage cleanup is
503
+ * handled separately.
308
504
  * This operation is irreversible and idempotent.
309
505
  *
310
506
  * @generated from protobuf rpc: DeleteRepl
@@ -328,6 +524,12 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
328
524
  * @generated from protobuf rpc: SetOrgHomeCell
329
525
  */
330
526
  setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
527
+ /**
528
+ * TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
529
+ *
530
+ * @generated from protobuf rpc: TransferOrgHomeCell
531
+ */
532
+ transferOrgHomeCell(input: TransferOrgHomeCellRequest, options?: RpcOptions): UnaryCall<TransferOrgHomeCellRequest, TransferOrgHomeCellResponse>;
331
533
  /**
332
534
  * TransferReplFromOfflineCluster transfers a repl from an offline cluster to
333
535
  * a new cluster.