@replit/protocol 0.4.31 → 0.5.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.
@@ -8,6 +8,8 @@ import type { TransferReplFromOfflineClusterResponse } from "./service.js";
8
8
  import type { TransferReplFromOfflineClusterRequest } from "./service.js";
9
9
  import type { TransferOrgHomeCellResponse } from "./service.js";
10
10
  import type { TransferOrgHomeCellRequest } from "./service.js";
11
+ import type { DeleteOrgHomeCellResponse } from "./service.js";
12
+ import type { DeleteOrgHomeCellRequest } from "./service.js";
11
13
  import type { SetOrgHomeCellResponse } from "./service.js";
12
14
  import type { SetOrgHomeCellRequest } from "./service.js";
13
15
  import type { GetOrgHomeCellResponse } from "./service.js";
@@ -40,6 +42,8 @@ import type { GetReplConnectionInfoResponse } from "./service.js";
40
42
  import type { GetReplConnectionInfoRequest } from "./service.js";
41
43
  import type { BatchGetCellByResourceGroupResponse } from "./service.js";
42
44
  import type { BatchGetCellByResourceGroupRequest } from "./service.js";
45
+ import type { RestoreResourceGroupPlacementResponse } from "./service.js";
46
+ import type { RestoreResourceGroupPlacementRequest } from "./service.js";
43
47
  import type { GetClusterByResourceGroupResponse } from "./service.js";
44
48
  import type { GetClusterByResourceGroupRequest } from "./service.js";
45
49
  import type { GetCheckpointPreviewCapabilityResponse } from "./service.js";
@@ -60,6 +64,8 @@ import type { CreateResourceGroupResponse } from "./service.js";
60
64
  import type { CreateResourceGroupRequest } from "./service.js";
61
65
  import type { GetSandboxConnectionInfoResponse } from "./service.js";
62
66
  import type { GetSandboxConnectionInfoRequest } from "./service.js";
67
+ import type { PatchSandboxResponse } from "./service.js";
68
+ import type { PatchSandboxRequest } from "./service.js";
63
69
  import type { UpdateSandboxResponse } from "./service.js";
64
70
  import type { UpdateSandboxRequest } from "./service.js";
65
71
  import type { CreateSandboxResponse } from "./service.js";
@@ -88,6 +94,16 @@ export interface ILoreClient {
88
94
  * @generated from protobuf rpc: UpdateSandbox
89
95
  */
90
96
  updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
97
+ /**
98
+ * PatchSandbox routes a masked partial update (currently just
99
+ * use_repl_shield) to the Jetplane cell placed for the sandbox's
100
+ * resource group, falling back to repl placement for workspace repls.
101
+ * The patch updates the running repl in place and never restarts or
102
+ * re-places it.
103
+ *
104
+ * @generated from protobuf rpc: PatchSandbox
105
+ */
106
+ patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
91
107
  /**
92
108
  * GetSandboxConnectionInfo resolves the cell from resource-group placement
93
109
  * and reads the Jetplane-authoritative sandbox metadata.
@@ -152,6 +168,13 @@ export interface ILoreClient {
152
168
  * @generated from protobuf rpc: GetClusterByResourceGroup
153
169
  */
154
170
  getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
171
+ /**
172
+ * RestoreResourceGroupPlacement repairs Lore after a resource group has
173
+ * already been restored in a different Jetplane cell.
174
+ *
175
+ * @generated from protobuf rpc: RestoreResourceGroupPlacement
176
+ */
177
+ restoreResourceGroupPlacement(input: RestoreResourceGroupPlacementRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupPlacementRequest, RestoreResourceGroupPlacementResponse>;
155
178
  /**
156
179
  * BatchGetCellByResourceGroup resolves resource groups independently.
157
180
  *
@@ -271,6 +294,12 @@ export interface ILoreClient {
271
294
  * @generated from protobuf rpc: SetOrgHomeCell
272
295
  */
273
296
  setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
297
+ /**
298
+ * DeleteOrgHomeCell removes the persisted home cell for an org.
299
+ *
300
+ * @generated from protobuf rpc: DeleteOrgHomeCell
301
+ */
302
+ deleteOrgHomeCell(input: DeleteOrgHomeCellRequest, options?: RpcOptions): UnaryCall<DeleteOrgHomeCellRequest, DeleteOrgHomeCellResponse>;
274
303
  /**
275
304
  * TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
276
305
  *
@@ -341,6 +370,16 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
341
370
  * @generated from protobuf rpc: UpdateSandbox
342
371
  */
343
372
  updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
373
+ /**
374
+ * PatchSandbox routes a masked partial update (currently just
375
+ * use_repl_shield) to the Jetplane cell placed for the sandbox's
376
+ * resource group, falling back to repl placement for workspace repls.
377
+ * The patch updates the running repl in place and never restarts or
378
+ * re-places it.
379
+ *
380
+ * @generated from protobuf rpc: PatchSandbox
381
+ */
382
+ patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
344
383
  /**
345
384
  * GetSandboxConnectionInfo resolves the cell from resource-group placement
346
385
  * and reads the Jetplane-authoritative sandbox metadata.
@@ -405,6 +444,13 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
405
444
  * @generated from protobuf rpc: GetClusterByResourceGroup
406
445
  */
407
446
  getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
447
+ /**
448
+ * RestoreResourceGroupPlacement repairs Lore after a resource group has
449
+ * already been restored in a different Jetplane cell.
450
+ *
451
+ * @generated from protobuf rpc: RestoreResourceGroupPlacement
452
+ */
453
+ restoreResourceGroupPlacement(input: RestoreResourceGroupPlacementRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupPlacementRequest, RestoreResourceGroupPlacementResponse>;
408
454
  /**
409
455
  * BatchGetCellByResourceGroup resolves resource groups independently.
410
456
  *
@@ -524,6 +570,12 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
524
570
  * @generated from protobuf rpc: SetOrgHomeCell
525
571
  */
526
572
  setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
573
+ /**
574
+ * DeleteOrgHomeCell removes the persisted home cell for an org.
575
+ *
576
+ * @generated from protobuf rpc: DeleteOrgHomeCell
577
+ */
578
+ deleteOrgHomeCell(input: DeleteOrgHomeCellRequest, options?: RpcOptions): UnaryCall<DeleteOrgHomeCellRequest, DeleteOrgHomeCellResponse>;
527
579
  /**
528
580
  * TransferOrgHomeCell starts an asynchronous transfer to a new home cell.
529
581
  *
@@ -34,6 +34,19 @@ export class LoreClient {
34
34
  const method = this.methods[1], opt = this._transport.mergeOptions(options);
35
35
  return stackIntercept("unary", this._transport, method, opt, input);
36
36
  }
37
+ /**
38
+ * PatchSandbox routes a masked partial update (currently just
39
+ * use_repl_shield) to the Jetplane cell placed for the sandbox's
40
+ * resource group, falling back to repl placement for workspace repls.
41
+ * The patch updates the running repl in place and never restarts or
42
+ * re-places it.
43
+ *
44
+ * @generated from protobuf rpc: PatchSandbox
45
+ */
46
+ patchSandbox(input, options) {
47
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
48
+ return stackIntercept("unary", this._transport, method, opt, input);
49
+ }
37
50
  /**
38
51
  * GetSandboxConnectionInfo resolves the cell from resource-group placement
39
52
  * and reads the Jetplane-authoritative sandbox metadata.
@@ -41,7 +54,7 @@ export class LoreClient {
41
54
  * @generated from protobuf rpc: GetSandboxConnectionInfo
42
55
  */
43
56
  getSandboxConnectionInfo(input, options) {
44
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
57
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
45
58
  return stackIntercept("unary", this._transport, method, opt, input);
46
59
  }
47
60
  /**
@@ -50,7 +63,7 @@ export class LoreClient {
50
63
  * @generated from protobuf rpc: CreateResourceGroup
51
64
  */
52
65
  createResourceGroup(input, options) {
53
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
66
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
54
67
  return stackIntercept("unary", this._transport, method, opt, input);
55
68
  }
56
69
  /**
@@ -59,7 +72,7 @@ export class LoreClient {
59
72
  * @generated from protobuf rpc: DeleteResourceGroup
60
73
  */
61
74
  deleteResourceGroup(input, options) {
62
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
75
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
63
76
  return stackIntercept("unary", this._transport, method, opt, input);
64
77
  }
65
78
  /**
@@ -68,7 +81,7 @@ export class LoreClient {
68
81
  * @generated from protobuf rpc: CreateAgent
69
82
  */
70
83
  createAgent(input, options) {
71
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
84
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
72
85
  return stackIntercept("unary", this._transport, method, opt, input);
73
86
  }
74
87
  /**
@@ -78,7 +91,7 @@ export class LoreClient {
78
91
  * @generated from protobuf rpc: CreateRepl
79
92
  */
80
93
  createRepl(input, options) {
81
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
94
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
82
95
  return stackIntercept("unary", this._transport, method, opt, input);
83
96
  }
84
97
  /**
@@ -87,7 +100,7 @@ export class LoreClient {
87
100
  * @generated from protobuf rpc: GetRepl
88
101
  */
89
102
  getRepl(input, options) {
90
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
103
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
91
104
  return stackIntercept("unary", this._transport, method, opt, input);
92
105
  }
93
106
  /**
@@ -96,7 +109,7 @@ export class LoreClient {
96
109
  * @generated from protobuf rpc: GetCellByRepl
97
110
  */
98
111
  getCellByRepl(input, options) {
99
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
112
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
100
113
  return stackIntercept("unary", this._transport, method, opt, input);
101
114
  }
102
115
  /**
@@ -105,7 +118,7 @@ export class LoreClient {
105
118
  * @generated from protobuf rpc: BatchGetCellByRepl
106
119
  */
107
120
  batchGetCellByRepl(input, options) {
108
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
121
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
109
122
  return stackIntercept("unary", this._transport, method, opt, input);
110
123
  }
111
124
  /**
@@ -115,7 +128,7 @@ export class LoreClient {
115
128
  * @generated from protobuf rpc: GetCheckpointPreviewCapability
116
129
  */
117
130
  getCheckpointPreviewCapability(input, options) {
118
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
131
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
119
132
  return stackIntercept("unary", this._transport, method, opt, input);
120
133
  }
121
134
  /**
@@ -125,7 +138,17 @@ export class LoreClient {
125
138
  * @generated from protobuf rpc: GetClusterByResourceGroup
126
139
  */
127
140
  getClusterByResourceGroup(input, options) {
128
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
141
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
142
+ return stackIntercept("unary", this._transport, method, opt, input);
143
+ }
144
+ /**
145
+ * RestoreResourceGroupPlacement repairs Lore after a resource group has
146
+ * already been restored in a different Jetplane cell.
147
+ *
148
+ * @generated from protobuf rpc: RestoreResourceGroupPlacement
149
+ */
150
+ restoreResourceGroupPlacement(input, options) {
151
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
129
152
  return stackIntercept("unary", this._transport, method, opt, input);
130
153
  }
131
154
  /**
@@ -134,7 +157,7 @@ export class LoreClient {
134
157
  * @generated from protobuf rpc: BatchGetCellByResourceGroup
135
158
  */
136
159
  batchGetCellByResourceGroup(input, options) {
137
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
160
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
138
161
  return stackIntercept("unary", this._transport, method, opt, input);
139
162
  }
140
163
  /**
@@ -147,7 +170,7 @@ export class LoreClient {
147
170
  * @generated from protobuf rpc: GetReplConnectionInfo
148
171
  */
149
172
  getReplConnectionInfo(input, options) {
150
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
173
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
151
174
  return stackIntercept("unary", this._transport, method, opt, input);
152
175
  }
153
176
  /**
@@ -156,7 +179,7 @@ export class LoreClient {
156
179
  * @generated from protobuf rpc: GetTransferStatus
157
180
  */
158
181
  getTransferStatus(input, options) {
159
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
182
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
160
183
  return stackIntercept("unary", this._transport, method, opt, input);
161
184
  }
162
185
  /**
@@ -173,7 +196,7 @@ export class LoreClient {
173
196
  * @generated from protobuf rpc: TransferResourceGroup
174
197
  */
175
198
  transferResourceGroup(input, options) {
176
- const method = this.methods[15], opt = this._transport.mergeOptions(options);
199
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
177
200
  return stackIntercept("unary", this._transport, method, opt, input);
178
201
  }
179
202
  /**
@@ -183,7 +206,7 @@ export class LoreClient {
183
206
  * @generated from protobuf rpc: TransferRepls
184
207
  */
185
208
  transferRepls(input, options) {
186
- const method = this.methods[16], opt = this._transport.mergeOptions(options);
209
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
187
210
  return stackIntercept("unary", this._transport, method, opt, input);
188
211
  }
189
212
  /**
@@ -194,7 +217,7 @@ export class LoreClient {
194
217
  * @generated from protobuf rpc: TransferUser
195
218
  */
196
219
  transferUser(input, options) {
197
- const method = this.methods[17], opt = this._transport.mergeOptions(options);
220
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
198
221
  return stackIntercept("unary", this._transport, method, opt, input);
199
222
  }
200
223
  /**
@@ -206,7 +229,7 @@ export class LoreClient {
206
229
  * @generated from protobuf rpc: TakedownRepl
207
230
  */
208
231
  takedownRepl(input, options) {
209
- const method = this.methods[18], opt = this._transport.mergeOptions(options);
232
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
210
233
  return stackIntercept("unary", this._transport, method, opt, input);
211
234
  }
212
235
  /**
@@ -216,7 +239,7 @@ export class LoreClient {
216
239
  * @generated from protobuf rpc: SoftTakedownRepl
217
240
  */
218
241
  softTakedownRepl(input, options) {
219
- const method = this.methods[19], opt = this._transport.mergeOptions(options);
242
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
220
243
  return stackIntercept("unary", this._transport, method, opt, input);
221
244
  }
222
245
  /**
@@ -225,7 +248,7 @@ export class LoreClient {
225
248
  * @generated from protobuf rpc: RestoreRepl
226
249
  */
227
250
  restoreRepl(input, options) {
228
- const method = this.methods[20], opt = this._transport.mergeOptions(options);
251
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
229
252
  return stackIntercept("unary", this._transport, method, opt, input);
230
253
  }
231
254
  /**
@@ -234,7 +257,7 @@ export class LoreClient {
234
257
  * @generated from protobuf rpc: AddTombstone
235
258
  */
236
259
  addTombstone(input, options) {
237
- const method = this.methods[21], opt = this._transport.mergeOptions(options);
260
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
238
261
  return stackIntercept("unary", this._transport, method, opt, input);
239
262
  }
240
263
  /**
@@ -243,7 +266,7 @@ export class LoreClient {
243
266
  * @generated from protobuf rpc: RemoveTombstone
244
267
  */
245
268
  removeTombstone(input, options) {
246
- const method = this.methods[22], opt = this._transport.mergeOptions(options);
269
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
247
270
  return stackIntercept("unary", this._transport, method, opt, input);
248
271
  }
249
272
  /**
@@ -252,7 +275,7 @@ export class LoreClient {
252
275
  * @generated from protobuf rpc: BulkRemove
253
276
  */
254
277
  bulkRemove(input, options) {
255
- const method = this.methods[23], opt = this._transport.mergeOptions(options);
278
+ const method = this.methods[25], opt = this._transport.mergeOptions(options);
256
279
  return stackIntercept("unary", this._transport, method, opt, input);
257
280
  }
258
281
  /**
@@ -265,7 +288,7 @@ export class LoreClient {
265
288
  * @generated from protobuf rpc: DeleteRepl
266
289
  */
267
290
  deleteRepl(input, options) {
268
- const method = this.methods[24], opt = this._transport.mergeOptions(options);
291
+ const method = this.methods[26], opt = this._transport.mergeOptions(options);
269
292
  return stackIntercept("unary", this._transport, method, opt, input);
270
293
  }
271
294
  /**
@@ -274,7 +297,7 @@ export class LoreClient {
274
297
  * @generated from protobuf rpc: GetClusters
275
298
  */
276
299
  getClusters(input, options) {
277
- const method = this.methods[25], opt = this._transport.mergeOptions(options);
300
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
278
301
  return stackIntercept("unary", this._transport, method, opt, input);
279
302
  }
280
303
  /**
@@ -283,7 +306,7 @@ export class LoreClient {
283
306
  * @generated from protobuf rpc: GetOrgHomeCell
284
307
  */
285
308
  getOrgHomeCell(input, options) {
286
- const method = this.methods[26], opt = this._transport.mergeOptions(options);
309
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
287
310
  return stackIntercept("unary", this._transport, method, opt, input);
288
311
  }
289
312
  /**
@@ -292,7 +315,16 @@ export class LoreClient {
292
315
  * @generated from protobuf rpc: SetOrgHomeCell
293
316
  */
294
317
  setOrgHomeCell(input, options) {
295
- const method = this.methods[27], opt = this._transport.mergeOptions(options);
318
+ const method = this.methods[29], opt = this._transport.mergeOptions(options);
319
+ return stackIntercept("unary", this._transport, method, opt, input);
320
+ }
321
+ /**
322
+ * DeleteOrgHomeCell removes the persisted home cell for an org.
323
+ *
324
+ * @generated from protobuf rpc: DeleteOrgHomeCell
325
+ */
326
+ deleteOrgHomeCell(input, options) {
327
+ const method = this.methods[30], opt = this._transport.mergeOptions(options);
296
328
  return stackIntercept("unary", this._transport, method, opt, input);
297
329
  }
298
330
  /**
@@ -301,7 +333,7 @@ export class LoreClient {
301
333
  * @generated from protobuf rpc: TransferOrgHomeCell
302
334
  */
303
335
  transferOrgHomeCell(input, options) {
304
- const method = this.methods[28], opt = this._transport.mergeOptions(options);
336
+ const method = this.methods[31], opt = this._transport.mergeOptions(options);
305
337
  return stackIntercept("unary", this._transport, method, opt, input);
306
338
  }
307
339
  /**
@@ -315,7 +347,7 @@ export class LoreClient {
315
347
  * @generated from protobuf rpc: TransferReplFromOfflineCluster
316
348
  */
317
349
  transferReplFromOfflineCluster(input, options) {
318
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
350
+ const method = this.methods[32], opt = this._transport.mergeOptions(options);
319
351
  return stackIntercept("unary", this._transport, method, opt, input);
320
352
  }
321
353
  /**
@@ -331,7 +363,7 @@ export class LoreClient {
331
363
  * @generated from protobuf rpc: ExportRepl
332
364
  */
333
365
  exportRepl(input, options) {
334
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
366
+ const method = this.methods[33], opt = this._transport.mergeOptions(options);
335
367
  return stackIntercept("unary", this._transport, method, opt, input);
336
368
  }
337
369
  /**
@@ -344,7 +376,7 @@ export class LoreClient {
344
376
  * @generated from protobuf rpc: ImportRepl
345
377
  */
346
378
  importRepl(input, options) {
347
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
379
+ const method = this.methods[34], opt = this._transport.mergeOptions(options);
348
380
  return stackIntercept("unary", this._transport, method, opt, input);
349
381
  }
350
382
  }