@replit/protocol 0.6.1 → 0.6.3

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.
@@ -1,20 +1,35 @@
1
1
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
2
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
3
  import type { OrgDstAbortDiscardImportRequest } from "./org_transfer.js";
4
- import type { OrgTransferRequest } from "./org_transfer.js";
5
4
  import type { OrgDstTransferInRequest } from "./org_transfer.js";
6
5
  import type { OrgSrcTransferOutResponse } from "./org_transfer.js";
7
6
  import type { OrgSrcTransferOutRequest } from "./org_transfer.js";
8
7
  import type { PhaseResponse } from "./transfer.js";
9
8
  import type { OrgSrcStopAndDrainRequest } from "./org_transfer.js";
9
+ import type { OrgDstPrepareResponse } from "./org_transfer.js";
10
+ import type { OrgTransferRequest } from "./org_transfer.js";
10
11
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
11
12
  import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
12
13
  /**
13
14
  * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
15
+ * Lore drives every participant through DstPrepare, SrcStopAndDrain,
16
+ * SrcTransferOut, DstTransferIn and DstActivate, moves the placement and calls
17
+ * SrcDelete; after the first DstActivate attempt it recovers forward only.
14
18
  *
15
19
  * @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
16
20
  */
17
21
  export interface ITransferOrgHomeCellClient {
22
+ /**
23
+ * Optional, before any source is frozen. Unimplemented means no prepare
24
+ * step; otherwise the payload goes unchanged to this participant's
25
+ * SrcTransferOut. STATUS_IN_PROGRESS is polled, and every success for one
26
+ * transfer carries the same payload. Prepared state stays inert until a
27
+ * later call for the transfer arrives; the participant may reclaim it once
28
+ * no transfer can still be running against it (Lore sends no TTL).
29
+ *
30
+ * @generated from protobuf rpc: DstPrepare
31
+ */
32
+ dstPrepare(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, OrgDstPrepareResponse>;
18
33
  /**
19
34
  * Either success guarantees a fenced, fully drained source, even if absent.
20
35
  *
@@ -40,14 +55,19 @@ export interface ITransferOrgHomeCellClient {
40
55
  */
41
56
  srcCancelExport(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
42
57
  /**
43
- * Pre-activation only, after all destination discards and source
58
+ * Before DstActivate, after all destination discards and source
44
59
  * cancellations.
45
60
  *
46
61
  * @generated from protobuf rpc: SrcResume
47
62
  */
48
63
  srcResume(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
49
64
  /**
50
- * Pre-activation only, after import has stopped; preserve unrelated data.
65
+ * Before DstActivate, after import stops; also discards a prepared
66
+ * destination that imported nothing. It may be the first call a destination
67
+ * sees when its prepare request never arrived; answer STATUS_SUCCESS for a
68
+ * transfer never seen. It may also arrive while this transfer's DstPrepare
69
+ * is still in progress; stop that work before answering. Preserve unrelated
70
+ * data.
51
71
  *
52
72
  * @generated from protobuf rpc: DstAbortDiscardImport
53
73
  */
@@ -68,6 +88,9 @@ export interface ITransferOrgHomeCellClient {
68
88
  }
69
89
  /**
70
90
  * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
91
+ * Lore drives every participant through DstPrepare, SrcStopAndDrain,
92
+ * SrcTransferOut, DstTransferIn and DstActivate, moves the placement and calls
93
+ * SrcDelete; after the first DstActivate attempt it recovers forward only.
71
94
  *
72
95
  * @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
73
96
  */
@@ -79,6 +102,17 @@ export declare class TransferOrgHomeCellClient implements ITransferOrgHomeCellCl
79
102
  [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
80
103
  };
81
104
  constructor(_transport: RpcTransport);
105
+ /**
106
+ * Optional, before any source is frozen. Unimplemented means no prepare
107
+ * step; otherwise the payload goes unchanged to this participant's
108
+ * SrcTransferOut. STATUS_IN_PROGRESS is polled, and every success for one
109
+ * transfer carries the same payload. Prepared state stays inert until a
110
+ * later call for the transfer arrives; the participant may reclaim it once
111
+ * no transfer can still be running against it (Lore sends no TTL).
112
+ *
113
+ * @generated from protobuf rpc: DstPrepare
114
+ */
115
+ dstPrepare(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, OrgDstPrepareResponse>;
82
116
  /**
83
117
  * Either success guarantees a fenced, fully drained source, even if absent.
84
118
  *
@@ -104,14 +138,19 @@ export declare class TransferOrgHomeCellClient implements ITransferOrgHomeCellCl
104
138
  */
105
139
  srcCancelExport(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
106
140
  /**
107
- * Pre-activation only, after all destination discards and source
141
+ * Before DstActivate, after all destination discards and source
108
142
  * cancellations.
109
143
  *
110
144
  * @generated from protobuf rpc: SrcResume
111
145
  */
112
146
  srcResume(input: OrgTransferRequest, options?: RpcOptions): UnaryCall<OrgTransferRequest, PhaseResponse>;
113
147
  /**
114
- * Pre-activation only, after import has stopped; preserve unrelated data.
148
+ * Before DstActivate, after import stops; also discards a prepared
149
+ * destination that imported nothing. It may be the first call a destination
150
+ * sees when its prepare request never arrived; answer STATUS_SUCCESS for a
151
+ * transfer never seen. It may also arrive while this transfer's DstPrepare
152
+ * is still in progress; stop that work before answering. Preserve unrelated
153
+ * data.
115
154
  *
116
155
  * @generated from protobuf rpc: DstAbortDiscardImport
117
156
  */
@@ -2,6 +2,9 @@ import { TransferOrgHomeCell } from "./org_transfer.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  /**
4
4
  * TransferOrgHomeCell defines the phased cell transfer for an org home cell.
5
+ * Lore drives every participant through DstPrepare, SrcStopAndDrain,
6
+ * SrcTransferOut, DstTransferIn and DstActivate, moves the placement and calls
7
+ * SrcDelete; after the first DstActivate attempt it recovers forward only.
5
8
  *
6
9
  * @generated from protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
7
10
  */
@@ -12,13 +15,27 @@ export class TransferOrgHomeCellClient {
12
15
  this.methods = TransferOrgHomeCell.methods;
13
16
  this.options = TransferOrgHomeCell.options;
14
17
  }
18
+ /**
19
+ * Optional, before any source is frozen. Unimplemented means no prepare
20
+ * step; otherwise the payload goes unchanged to this participant's
21
+ * SrcTransferOut. STATUS_IN_PROGRESS is polled, and every success for one
22
+ * transfer carries the same payload. Prepared state stays inert until a
23
+ * later call for the transfer arrives; the participant may reclaim it once
24
+ * no transfer can still be running against it (Lore sends no TTL).
25
+ *
26
+ * @generated from protobuf rpc: DstPrepare
27
+ */
28
+ dstPrepare(input, options) {
29
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
30
+ return stackIntercept("unary", this._transport, method, opt, input);
31
+ }
15
32
  /**
16
33
  * Either success guarantees a fenced, fully drained source, even if absent.
17
34
  *
18
35
  * @generated from protobuf rpc: SrcStopAndDrain
19
36
  */
20
37
  srcStopAndDrain(input, options) {
21
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
38
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
22
39
  return stackIntercept("unary", this._transport, method, opt, input);
23
40
  }
24
41
  /**
@@ -27,7 +44,7 @@ export class TransferOrgHomeCellClient {
27
44
  * @generated from protobuf rpc: SrcTransferOut
28
45
  */
29
46
  srcTransferOut(input, options) {
30
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
47
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
31
48
  return stackIntercept("unary", this._transport, method, opt, input);
32
49
  }
33
50
  /**
@@ -36,7 +53,7 @@ export class TransferOrgHomeCellClient {
36
53
  * @generated from protobuf rpc: DstTransferIn
37
54
  */
38
55
  dstTransferIn(input, options) {
39
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
56
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
40
57
  return stackIntercept("unary", this._transport, method, opt, input);
41
58
  }
42
59
  /**
@@ -45,26 +62,31 @@ export class TransferOrgHomeCellClient {
45
62
  * @generated from protobuf rpc: SrcCancelExport
46
63
  */
47
64
  srcCancelExport(input, options) {
48
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
65
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
49
66
  return stackIntercept("unary", this._transport, method, opt, input);
50
67
  }
51
68
  /**
52
- * Pre-activation only, after all destination discards and source
69
+ * Before DstActivate, after all destination discards and source
53
70
  * cancellations.
54
71
  *
55
72
  * @generated from protobuf rpc: SrcResume
56
73
  */
57
74
  srcResume(input, options) {
58
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
75
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
59
76
  return stackIntercept("unary", this._transport, method, opt, input);
60
77
  }
61
78
  /**
62
- * Pre-activation only, after import has stopped; preserve unrelated data.
79
+ * Before DstActivate, after import stops; also discards a prepared
80
+ * destination that imported nothing. It may be the first call a destination
81
+ * sees when its prepare request never arrived; answer STATUS_SUCCESS for a
82
+ * transfer never seen. It may also arrive while this transfer's DstPrepare
83
+ * is still in progress; stop that work before answering. Preserve unrelated
84
+ * data.
63
85
  *
64
86
  * @generated from protobuf rpc: DstAbortDiscardImport
65
87
  */
66
88
  dstAbortDiscardImport(input, options) {
67
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
89
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
68
90
  return stackIntercept("unary", this._transport, method, opt, input);
69
91
  }
70
92
  /**
@@ -73,7 +95,7 @@ export class TransferOrgHomeCellClient {
73
95
  * @generated from protobuf rpc: DstActivate
74
96
  */
75
97
  dstActivate(input, options) {
76
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
98
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
77
99
  return stackIntercept("unary", this._transport, method, opt, input);
78
100
  }
79
101
  /**
@@ -83,7 +105,7 @@ export class TransferOrgHomeCellClient {
83
105
  * @generated from protobuf rpc: SrcDelete
84
106
  */
85
107
  srcDelete(input, options) {
86
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
108
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
87
109
  return stackIntercept("unary", this._transport, method, opt, input);
88
110
  }
89
111
  }
@@ -6,9 +6,10 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
6
6
  import type { PartialMessage } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
8
  import { ExportMetadata } from "./transfer.js";
9
- import { PhaseResponse } from "./transfer.js";
10
9
  import { SignedUrl } from "./transfer.js";
11
10
  import { Duration } from "../../../google/protobuf/duration.js";
11
+ import { Any } from "../../../google/protobuf/any.js";
12
+ import { PhaseResponse } from "./transfer.js";
12
13
  /**
13
14
  * Src*\/Dst* uses the resource-group signed-URL contract and phase outcomes.
14
15
  * Calls are at least once and services deduplicate by transfer and phase.
@@ -30,6 +31,26 @@ export interface OrgTransferRequest {
30
31
  */
31
32
  principal?: OrgTransferPrincipal;
32
33
  }
34
+ /**
35
+ * @generated from protobuf message replit.goval.api.lore.transfer.OrgDstPrepareResponse
36
+ */
37
+ export interface OrgDstPrepareResponse {
38
+ /**
39
+ * @generated from protobuf field: replit.goval.api.lore.transfer.PhaseResponse status = 1
40
+ */
41
+ status?: PhaseResponse;
42
+ /**
43
+ * STATUS_SUCCESS must set it with a type_url (google.protobuf.Empty when
44
+ * there is nothing to forward); every other status leaves it unset. At most
45
+ * 64 KiB serialized (the Any, including type_url). The service defines its
46
+ * schema; Lore keeps it unencrypted in its workflow history and forwards it
47
+ * unchanged to the same participant's SrcTransferOut, so it must carry no
48
+ * secret or capability.
49
+ *
50
+ * @generated from protobuf field: google.protobuf.Any prepare_payload = 2
51
+ */
52
+ preparePayload?: Any;
53
+ }
33
54
  /**
34
55
  * @generated from protobuf message replit.goval.api.lore.transfer.OrgSrcStopAndDrainRequest
35
56
  */
@@ -75,6 +96,13 @@ export interface OrgSrcTransferOutRequest {
75
96
  * @generated from protobuf field: replit.goval.api.lore.transfer.OrgTransferPrincipal principal = 4
76
97
  */
77
98
  principal?: OrgTransferPrincipal;
99
+ /**
100
+ * The destination's DstPrepare payload, unchanged; unset when the
101
+ * destination has no prepare step.
102
+ *
103
+ * @generated from protobuf field: google.protobuf.Any prepare_payload = 5
104
+ */
105
+ preparePayload?: Any;
78
106
  }
79
107
  /**
80
108
  * @generated from protobuf message replit.goval.api.lore.transfer.OrgSrcTransferOutResponse
@@ -187,6 +215,16 @@ declare class OrgTransferRequest$Type extends MessageType<OrgTransferRequest> {
187
215
  * @generated MessageType for protobuf message replit.goval.api.lore.transfer.OrgTransferRequest
188
216
  */
189
217
  export declare const OrgTransferRequest: OrgTransferRequest$Type;
218
+ declare class OrgDstPrepareResponse$Type extends MessageType<OrgDstPrepareResponse> {
219
+ constructor();
220
+ create(value?: PartialMessage<OrgDstPrepareResponse>): OrgDstPrepareResponse;
221
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OrgDstPrepareResponse): OrgDstPrepareResponse;
222
+ internalBinaryWrite(message: OrgDstPrepareResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
223
+ }
224
+ /**
225
+ * @generated MessageType for protobuf message replit.goval.api.lore.transfer.OrgDstPrepareResponse
226
+ */
227
+ export declare const OrgDstPrepareResponse: OrgDstPrepareResponse$Type;
190
228
  declare class OrgSrcStopAndDrainRequest$Type extends MessageType<OrgSrcStopAndDrainRequest> {
191
229
  constructor();
192
230
  create(value?: PartialMessage<OrgSrcStopAndDrainRequest>): OrgSrcStopAndDrainRequest;
@@ -7,9 +7,10 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
7
7
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
8
8
  import { MessageType } from "@protobuf-ts/runtime";
9
9
  import { ExportMetadata } from "./transfer.js";
10
- import { PhaseResponse } from "./transfer.js";
11
10
  import { SignedUrl } from "./transfer.js";
12
11
  import { Duration } from "../../../google/protobuf/duration.js";
12
+ import { Any } from "../../../google/protobuf/any.js";
13
+ import { PhaseResponse } from "./transfer.js";
13
14
  // @generated message type with reflection information, may provide speed optimized methods
14
15
  class OrgTransferRequest$Type extends MessageType {
15
16
  constructor() {
@@ -73,6 +74,59 @@ class OrgTransferRequest$Type extends MessageType {
73
74
  */
74
75
  export const OrgTransferRequest = new OrgTransferRequest$Type();
75
76
  // @generated message type with reflection information, may provide speed optimized methods
77
+ class OrgDstPrepareResponse$Type extends MessageType {
78
+ constructor() {
79
+ super("replit.goval.api.lore.transfer.OrgDstPrepareResponse", [
80
+ { no: 1, name: "status", kind: "message", T: () => PhaseResponse },
81
+ { no: 2, name: "prepare_payload", kind: "message", T: () => Any }
82
+ ]);
83
+ }
84
+ create(value) {
85
+ const message = globalThis.Object.create((this.messagePrototype));
86
+ if (value !== undefined)
87
+ reflectionMergePartial(this, message, value);
88
+ return message;
89
+ }
90
+ internalBinaryRead(reader, length, options, target) {
91
+ let message = target ?? this.create(), end = reader.pos + length;
92
+ while (reader.pos < end) {
93
+ let [fieldNo, wireType] = reader.tag();
94
+ switch (fieldNo) {
95
+ case /* replit.goval.api.lore.transfer.PhaseResponse status */ 1:
96
+ message.status = PhaseResponse.internalBinaryRead(reader, reader.uint32(), options, message.status);
97
+ break;
98
+ case /* google.protobuf.Any prepare_payload */ 2:
99
+ message.preparePayload = Any.internalBinaryRead(reader, reader.uint32(), options, message.preparePayload);
100
+ break;
101
+ default:
102
+ let u = options.readUnknownField;
103
+ if (u === "throw")
104
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
105
+ let d = reader.skip(wireType);
106
+ if (u !== false)
107
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
108
+ }
109
+ }
110
+ return message;
111
+ }
112
+ internalBinaryWrite(message, writer, options) {
113
+ /* replit.goval.api.lore.transfer.PhaseResponse status = 1; */
114
+ if (message.status)
115
+ PhaseResponse.internalBinaryWrite(message.status, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
116
+ /* google.protobuf.Any prepare_payload = 2; */
117
+ if (message.preparePayload)
118
+ Any.internalBinaryWrite(message.preparePayload, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
119
+ let u = options.writeUnknownFields;
120
+ if (u !== false)
121
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
122
+ return writer;
123
+ }
124
+ }
125
+ /**
126
+ * @generated MessageType for protobuf message replit.goval.api.lore.transfer.OrgDstPrepareResponse
127
+ */
128
+ export const OrgDstPrepareResponse = new OrgDstPrepareResponse$Type();
129
+ // @generated message type with reflection information, may provide speed optimized methods
76
130
  class OrgSrcStopAndDrainRequest$Type extends MessageType {
77
131
  constructor() {
78
132
  super("replit.goval.api.lore.transfer.OrgSrcStopAndDrainRequest", [
@@ -148,7 +202,8 @@ class OrgSrcTransferOutRequest$Type extends MessageType {
148
202
  { no: 1, name: "org_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
149
203
  { no: 2, name: "transfer_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
150
204
  { no: 3, name: "signed_url", kind: "message", T: () => SignedUrl },
151
- { no: 4, name: "principal", kind: "message", T: () => OrgTransferPrincipal }
205
+ { no: 4, name: "principal", kind: "message", T: () => OrgTransferPrincipal },
206
+ { no: 5, name: "prepare_payload", kind: "message", T: () => Any }
152
207
  ]);
153
208
  }
154
209
  create(value) {
@@ -176,6 +231,9 @@ class OrgSrcTransferOutRequest$Type extends MessageType {
176
231
  case /* replit.goval.api.lore.transfer.OrgTransferPrincipal principal */ 4:
177
232
  message.principal = OrgTransferPrincipal.internalBinaryRead(reader, reader.uint32(), options, message.principal);
178
233
  break;
234
+ case /* google.protobuf.Any prepare_payload */ 5:
235
+ message.preparePayload = Any.internalBinaryRead(reader, reader.uint32(), options, message.preparePayload);
236
+ break;
179
237
  default:
180
238
  let u = options.readUnknownField;
181
239
  if (u === "throw")
@@ -200,6 +258,9 @@ class OrgSrcTransferOutRequest$Type extends MessageType {
200
258
  /* replit.goval.api.lore.transfer.OrgTransferPrincipal principal = 4; */
201
259
  if (message.principal)
202
260
  OrgTransferPrincipal.internalBinaryWrite(message.principal, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
261
+ /* google.protobuf.Any prepare_payload = 5; */
262
+ if (message.preparePayload)
263
+ Any.internalBinaryWrite(message.preparePayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
203
264
  let u = options.writeUnknownFields;
204
265
  if (u !== false)
205
266
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -472,6 +533,7 @@ export const OrgTransferPrincipal = new OrgTransferPrincipal$Type();
472
533
  * @generated ServiceType for protobuf service replit.goval.api.lore.transfer.TransferOrgHomeCell
473
534
  */
474
535
  export const TransferOrgHomeCell = new ServiceType("replit.goval.api.lore.transfer.TransferOrgHomeCell", [
536
+ { name: "DstPrepare", options: {}, I: OrgTransferRequest, O: OrgDstPrepareResponse },
475
537
  { name: "SrcStopAndDrain", options: {}, I: OrgSrcStopAndDrainRequest, O: PhaseResponse },
476
538
  { name: "SrcTransferOut", options: {}, I: OrgSrcTransferOutRequest, O: OrgSrcTransferOutResponse },
477
539
  { name: "DstTransferIn", options: {}, I: OrgDstTransferInRequest, O: PhaseResponse },
@@ -46,9 +46,9 @@ export interface ITransferResourceGroupClient {
46
46
  */
47
47
  srcCancelExport(input: TransferRequest, options?: RpcOptions): UnaryCall<TransferRequest, PhaseResponse>;
48
48
  /**
49
- * Pre-activation only, after all destination discards and source
50
- * cancellations succeed. Reopen the source; never revive a retired or
51
- * superseded transfer.
49
+ * Pre-activation only. Lore attempts destination discard and export
50
+ * cancellation first, but resumes sources even if cleanup fails.
51
+ * Never revive a retired or superseded transfer.
52
52
  *
53
53
  * @generated from protobuf rpc: SrcResume
54
54
  */
@@ -121,9 +121,9 @@ export declare class TransferResourceGroupClient implements ITransferResourceGro
121
121
  */
122
122
  srcCancelExport(input: TransferRequest, options?: RpcOptions): UnaryCall<TransferRequest, PhaseResponse>;
123
123
  /**
124
- * Pre-activation only, after all destination discards and source
125
- * cancellations succeed. Reopen the source; never revive a retired or
126
- * superseded transfer.
124
+ * Pre-activation only. Lore attempts destination discard and export
125
+ * cancellation first, but resumes sources even if cleanup fails.
126
+ * Never revive a retired or superseded transfer.
127
127
  *
128
128
  * @generated from protobuf rpc: SrcResume
129
129
  */
@@ -55,9 +55,9 @@ export class TransferResourceGroupClient {
55
55
  return stackIntercept("unary", this._transport, method, opt, input);
56
56
  }
57
57
  /**
58
- * Pre-activation only, after all destination discards and source
59
- * cancellations succeed. Reopen the source; never revive a retired or
60
- * superseded transfer.
58
+ * Pre-activation only. Lore attempts destination discard and export
59
+ * cancellation first, but resumes sources even if cleanup fails.
60
+ * Never revive a retired or superseded transfer.
61
61
  *
62
62
  * @generated from protobuf rpc: SrcResume
63
63
  */
@@ -191,6 +191,13 @@ export interface Repl {
191
191
  * @generated from protobuf field: google.protobuf.Timestamp repl_shield_state_as_of = 22
192
192
  */
193
193
  replShieldStateAsOf?: Timestamp;
194
+ /**
195
+ * (Optional) The chat that owns this conversation sandbox. Empty for
196
+ * repls.
197
+ *
198
+ * @generated from protobuf field: string conversation_id = 24
199
+ */
200
+ conversationId: string;
194
201
  }
195
202
  /**
196
203
  * autocontainer needs to know if we are in a teams org
@@ -470,6 +477,12 @@ export interface BuildInfo {
470
477
  * @generated from protobuf field: string origin_repl_id = 5
471
478
  */
472
479
  originReplId: string;
480
+ /**
481
+ * Requires dormant startup without workspace secrets or app execution.
482
+ *
483
+ * @generated from protobuf field: bool isolated_environment = 6
484
+ */
485
+ isolatedEnvironment: boolean;
473
486
  }
474
487
  /**
475
488
  * Pid2 includes information about the pid2 payload we want to use for this
@@ -209,7 +209,8 @@ class Repl$Type extends MessageType {
209
209
  { no: 19, name: "user_email", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
210
210
  { no: 20, name: "inject_chatgpt_link_override", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
211
211
  { no: 21, name: "repl_created_at", kind: "message", T: () => Timestamp },
212
- { no: 22, name: "repl_shield_state_as_of", kind: "message", T: () => Timestamp }
212
+ { no: 22, name: "repl_shield_state_as_of", kind: "message", T: () => Timestamp },
213
+ { no: 24, name: "conversation_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
213
214
  ]);
214
215
  }
215
216
  create(value) {
@@ -231,6 +232,7 @@ class Repl$Type extends MessageType {
231
232
  message.customSkillsBucket = "";
232
233
  message.userEmail = "";
233
234
  message.injectChatgptLinkOverride = false;
235
+ message.conversationId = "";
234
236
  if (value !== undefined)
235
237
  reflectionMergePartial(this, message, value);
236
238
  return message;
@@ -306,6 +308,9 @@ class Repl$Type extends MessageType {
306
308
  case /* google.protobuf.Timestamp repl_shield_state_as_of */ 22:
307
309
  message.replShieldStateAsOf = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.replShieldStateAsOf);
308
310
  break;
311
+ case /* string conversation_id */ 24:
312
+ message.conversationId = reader.string();
313
+ break;
309
314
  default:
310
315
  let u = options.readUnknownField;
311
316
  if (u === "throw")
@@ -400,6 +405,9 @@ class Repl$Type extends MessageType {
400
405
  /* string connectors_authorization = 23; */
401
406
  if (message.connectorsAuthorization !== "")
402
407
  writer.tag(23, WireType.LengthDelimited).string(message.connectorsAuthorization);
408
+ /* string conversation_id = 24; */
409
+ if (message.conversationId !== "")
410
+ writer.tag(24, WireType.LengthDelimited).string(message.conversationId);
403
411
  let u = options.writeUnknownFields;
404
412
  if (u !== false)
405
413
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -770,7 +778,8 @@ class BuildInfo$Type extends MessageType {
770
778
  { no: 2, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
771
779
  { no: 3, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
772
780
  { no: 4, name: "machine_tier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
773
- { no: 5, name: "origin_repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
781
+ { no: 5, name: "origin_repl_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
782
+ { no: 6, name: "isolated_environment", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
774
783
  ]);
775
784
  }
776
785
  create(value) {
@@ -780,6 +789,7 @@ class BuildInfo$Type extends MessageType {
780
789
  message.buildId = "";
781
790
  message.machineTier = "";
782
791
  message.originReplId = "";
792
+ message.isolatedEnvironment = false;
783
793
  if (value !== undefined)
784
794
  reflectionMergePartial(this, message, value);
785
795
  return message;
@@ -804,6 +814,9 @@ class BuildInfo$Type extends MessageType {
804
814
  case /* string origin_repl_id */ 5:
805
815
  message.originReplId = reader.string();
806
816
  break;
817
+ case /* bool isolated_environment */ 6:
818
+ message.isolatedEnvironment = reader.bool();
819
+ break;
807
820
  default:
808
821
  let u = options.readUnknownField;
809
822
  if (u === "throw")
@@ -831,6 +844,9 @@ class BuildInfo$Type extends MessageType {
831
844
  /* string origin_repl_id = 5; */
832
845
  if (message.originReplId !== "")
833
846
  writer.tag(5, WireType.LengthDelimited).string(message.originReplId);
847
+ /* bool isolated_environment = 6; */
848
+ if (message.isolatedEnvironment !== false)
849
+ writer.tag(6, WireType.Varint).bool(message.isolatedEnvironment);
834
850
  let u = options.writeUnknownFields;
835
851
  if (u !== false)
836
852
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -6,6 +6,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
6
6
  import { MessageType } from "@protobuf-ts/runtime";
7
7
  import { Struct } from "../google/protobuf/struct.js";
8
8
  import { Timestamp } from "../google/protobuf/timestamp.js";
9
+ import { BuildInfo } from "./repl/repl.js";
9
10
  import { OciRuntimeProfile } from "./oci/runtime_profile.js";
10
11
  import { Pid2Binary } from "./repl/repl.js";
11
12
  import { Empty } from "../google/protobuf/empty.js";
@@ -1836,6 +1837,22 @@ export interface Pid1Config {
1836
1837
  * @generated from protobuf field: replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile = 8
1837
1838
  */
1838
1839
  ociRuntimeProfile?: OciRuntimeProfile;
1840
+ /**
1841
+ * Host-authored identity for a single-use, initially dormant build.
1842
+ *
1843
+ * @generated from protobuf field: replit.goval.api.repl.BuildInfo isolated_build = 9
1844
+ */
1845
+ isolatedBuild?: BuildInfo;
1846
+ /**
1847
+ * @generated from protobuf field: replit.goval.api.IsolatedBuildSourceMount isolated_build_source_mount = 10
1848
+ */
1849
+ isolatedBuildSourceMount?: IsolatedBuildSourceMount;
1850
+ /**
1851
+ * Host-selected, digest-pinned Nix store image mounted for this build.
1852
+ *
1853
+ * @generated from protobuf field: string isolated_build_nix_image = 11
1854
+ */
1855
+ isolatedBuildNixImage: string;
1839
1856
  }
1840
1857
  /**
1841
1858
  * @generated from protobuf message replit.goval.api.FSLock
@@ -6107,6 +6124,23 @@ export interface ReplResourcesUpdateNotification {
6107
6124
  */
6108
6125
  contents: string;
6109
6126
  }
6127
+ /**
6128
+ * @generated from protobuf message replit.goval.api.IsolatedBuildSourceMount
6129
+ */
6130
+ export interface IsolatedBuildSourceMount {
6131
+ /**
6132
+ * @generated from protobuf field: string owner_repl_id = 1
6133
+ */
6134
+ ownerReplId: string;
6135
+ /**
6136
+ * @generated from protobuf field: string disk_id = 2
6137
+ */
6138
+ diskId: string;
6139
+ /**
6140
+ * @generated from protobuf field: string path = 3
6141
+ */
6142
+ path: string;
6143
+ }
6110
6144
  /**
6111
6145
  * @generated from protobuf enum replit.goval.api.State
6112
6146
  */
@@ -8584,4 +8618,14 @@ declare class ReplResourcesUpdateNotification$Type extends MessageType<ReplResou
8584
8618
  * @generated MessageType for protobuf message replit.goval.api.ReplResourcesUpdateNotification
8585
8619
  */
8586
8620
  export declare const ReplResourcesUpdateNotification: ReplResourcesUpdateNotification$Type;
8621
+ declare class IsolatedBuildSourceMount$Type extends MessageType<IsolatedBuildSourceMount> {
8622
+ constructor();
8623
+ create(value?: PartialMessage<IsolatedBuildSourceMount>): IsolatedBuildSourceMount;
8624
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IsolatedBuildSourceMount): IsolatedBuildSourceMount;
8625
+ internalBinaryWrite(message: IsolatedBuildSourceMount, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
8626
+ }
8627
+ /**
8628
+ * @generated MessageType for protobuf message replit.goval.api.IsolatedBuildSourceMount
8629
+ */
8630
+ export declare const IsolatedBuildSourceMount: IsolatedBuildSourceMount$Type;
8587
8631
  export {};