@replit/protocol 0.4.32 → 0.6.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.
@@ -10,6 +10,8 @@ import type { TransferOrgHomeCellResponse } from "./service.js";
10
10
  import type { TransferOrgHomeCellRequest } from "./service.js";
11
11
  import type { DeleteOrgHomeCellResponse } from "./service.js";
12
12
  import type { DeleteOrgHomeCellRequest } from "./service.js";
13
+ import type { PatchOrgHomeCellResponse } from "./service.js";
14
+ import type { PatchOrgHomeCellRequest } from "./service.js";
13
15
  import type { SetOrgHomeCellResponse } from "./service.js";
14
16
  import type { SetOrgHomeCellRequest } from "./service.js";
15
17
  import type { GetOrgHomeCellResponse } from "./service.js";
@@ -42,6 +44,8 @@ import type { GetReplConnectionInfoResponse } from "./service.js";
42
44
  import type { GetReplConnectionInfoRequest } from "./service.js";
43
45
  import type { BatchGetCellByResourceGroupResponse } from "./service.js";
44
46
  import type { BatchGetCellByResourceGroupRequest } from "./service.js";
47
+ import type { RestoreResourceGroupPlacementResponse } from "./service.js";
48
+ import type { RestoreResourceGroupPlacementRequest } from "./service.js";
45
49
  import type { GetClusterByResourceGroupResponse } from "./service.js";
46
50
  import type { GetClusterByResourceGroupRequest } from "./service.js";
47
51
  import type { GetCheckpointPreviewCapabilityResponse } from "./service.js";
@@ -62,6 +66,8 @@ import type { CreateResourceGroupResponse } from "./service.js";
62
66
  import type { CreateResourceGroupRequest } from "./service.js";
63
67
  import type { GetSandboxConnectionInfoResponse } from "./service.js";
64
68
  import type { GetSandboxConnectionInfoRequest } from "./service.js";
69
+ import type { PatchSandboxResponse } from "./service.js";
70
+ import type { PatchSandboxRequest } from "./service.js";
65
71
  import type { UpdateSandboxResponse } from "./service.js";
66
72
  import type { UpdateSandboxRequest } from "./service.js";
67
73
  import type { CreateSandboxResponse } from "./service.js";
@@ -90,6 +96,16 @@ export interface ILoreClient {
90
96
  * @generated from protobuf rpc: UpdateSandbox
91
97
  */
92
98
  updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
99
+ /**
100
+ * PatchSandbox routes a masked partial update (currently just
101
+ * use_repl_shield) to the Jetplane cell placed for the sandbox's
102
+ * resource group, falling back to repl placement for workspace repls.
103
+ * The patch updates the running repl in place and never restarts or
104
+ * re-places it.
105
+ *
106
+ * @generated from protobuf rpc: PatchSandbox
107
+ */
108
+ patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
93
109
  /**
94
110
  * GetSandboxConnectionInfo resolves the cell from resource-group placement
95
111
  * and reads the Jetplane-authoritative sandbox metadata.
@@ -154,6 +170,13 @@ export interface ILoreClient {
154
170
  * @generated from protobuf rpc: GetClusterByResourceGroup
155
171
  */
156
172
  getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
173
+ /**
174
+ * RestoreResourceGroupPlacement repairs Lore after a resource group has
175
+ * already been restored in a different Jetplane cell.
176
+ *
177
+ * @generated from protobuf rpc: RestoreResourceGroupPlacement
178
+ */
179
+ restoreResourceGroupPlacement(input: RestoreResourceGroupPlacementRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupPlacementRequest, RestoreResourceGroupPlacementResponse>;
157
180
  /**
158
181
  * BatchGetCellByResourceGroup resolves resource groups independently.
159
182
  *
@@ -273,6 +296,12 @@ export interface ILoreClient {
273
296
  * @generated from protobuf rpc: SetOrgHomeCell
274
297
  */
275
298
  setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
299
+ /**
300
+ * PatchOrgHomeCell updates properties without changing the cell's identity.
301
+ *
302
+ * @generated from protobuf rpc: PatchOrgHomeCell
303
+ */
304
+ patchOrgHomeCell(input: PatchOrgHomeCellRequest, options?: RpcOptions): UnaryCall<PatchOrgHomeCellRequest, PatchOrgHomeCellResponse>;
276
305
  /**
277
306
  * DeleteOrgHomeCell removes the persisted home cell for an org.
278
307
  *
@@ -349,6 +378,16 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
349
378
  * @generated from protobuf rpc: UpdateSandbox
350
379
  */
351
380
  updateSandbox(input: UpdateSandboxRequest, options?: RpcOptions): UnaryCall<UpdateSandboxRequest, UpdateSandboxResponse>;
381
+ /**
382
+ * PatchSandbox routes a masked partial update (currently just
383
+ * use_repl_shield) to the Jetplane cell placed for the sandbox's
384
+ * resource group, falling back to repl placement for workspace repls.
385
+ * The patch updates the running repl in place and never restarts or
386
+ * re-places it.
387
+ *
388
+ * @generated from protobuf rpc: PatchSandbox
389
+ */
390
+ patchSandbox(input: PatchSandboxRequest, options?: RpcOptions): UnaryCall<PatchSandboxRequest, PatchSandboxResponse>;
352
391
  /**
353
392
  * GetSandboxConnectionInfo resolves the cell from resource-group placement
354
393
  * and reads the Jetplane-authoritative sandbox metadata.
@@ -413,6 +452,13 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
413
452
  * @generated from protobuf rpc: GetClusterByResourceGroup
414
453
  */
415
454
  getClusterByResourceGroup(input: GetClusterByResourceGroupRequest, options?: RpcOptions): UnaryCall<GetClusterByResourceGroupRequest, GetClusterByResourceGroupResponse>;
455
+ /**
456
+ * RestoreResourceGroupPlacement repairs Lore after a resource group has
457
+ * already been restored in a different Jetplane cell.
458
+ *
459
+ * @generated from protobuf rpc: RestoreResourceGroupPlacement
460
+ */
461
+ restoreResourceGroupPlacement(input: RestoreResourceGroupPlacementRequest, options?: RpcOptions): UnaryCall<RestoreResourceGroupPlacementRequest, RestoreResourceGroupPlacementResponse>;
416
462
  /**
417
463
  * BatchGetCellByResourceGroup resolves resource groups independently.
418
464
  *
@@ -532,6 +578,12 @@ export declare class LoreClient implements ILoreClient, ServiceInfo {
532
578
  * @generated from protobuf rpc: SetOrgHomeCell
533
579
  */
534
580
  setOrgHomeCell(input: SetOrgHomeCellRequest, options?: RpcOptions): UnaryCall<SetOrgHomeCellRequest, SetOrgHomeCellResponse>;
581
+ /**
582
+ * PatchOrgHomeCell updates properties without changing the cell's identity.
583
+ *
584
+ * @generated from protobuf rpc: PatchOrgHomeCell
585
+ */
586
+ patchOrgHomeCell(input: PatchOrgHomeCellRequest, options?: RpcOptions): UnaryCall<PatchOrgHomeCellRequest, PatchOrgHomeCellResponse>;
535
587
  /**
536
588
  * DeleteOrgHomeCell removes the persisted home cell for an org.
537
589
  *
@@ -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
+ * PatchOrgHomeCell updates properties without changing the cell's identity.
323
+ *
324
+ * @generated from protobuf rpc: PatchOrgHomeCell
325
+ */
326
+ patchOrgHomeCell(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: DeleteOrgHomeCell
302
334
  */
303
335
  deleteOrgHomeCell(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
  /**
@@ -310,7 +342,7 @@ export class LoreClient {
310
342
  * @generated from protobuf rpc: TransferOrgHomeCell
311
343
  */
312
344
  transferOrgHomeCell(input, options) {
313
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
345
+ const method = this.methods[32], opt = this._transport.mergeOptions(options);
314
346
  return stackIntercept("unary", this._transport, method, opt, input);
315
347
  }
316
348
  /**
@@ -324,7 +356,7 @@ export class LoreClient {
324
356
  * @generated from protobuf rpc: TransferReplFromOfflineCluster
325
357
  */
326
358
  transferReplFromOfflineCluster(input, options) {
327
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
359
+ const method = this.methods[33], opt = this._transport.mergeOptions(options);
328
360
  return stackIntercept("unary", this._transport, method, opt, input);
329
361
  }
330
362
  /**
@@ -340,7 +372,7 @@ export class LoreClient {
340
372
  * @generated from protobuf rpc: ExportRepl
341
373
  */
342
374
  exportRepl(input, options) {
343
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
375
+ const method = this.methods[34], opt = this._transport.mergeOptions(options);
344
376
  return stackIntercept("unary", this._transport, method, opt, input);
345
377
  }
346
378
  /**
@@ -353,7 +385,7 @@ export class LoreClient {
353
385
  * @generated from protobuf rpc: ImportRepl
354
386
  */
355
387
  importRepl(input, options) {
356
- const method = this.methods[32], opt = this._transport.mergeOptions(options);
388
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
357
389
  return stackIntercept("unary", this._transport, method, opt, input);
358
390
  }
359
391
  }