@replit/protocol 0.4.29 → 0.4.32

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.
Files changed (35) hide show
  1. package/dist/api/jetplane/repl/repl.client.d.ts +54 -8
  2. package/dist/api/jetplane/repl/repl.client.js +41 -12
  3. package/dist/api/jetplane/repl/repl.d.ts +345 -14
  4. package/dist/api/jetplane/repl/repl.js +663 -13
  5. package/dist/api/lore/lore.d.ts +6 -0
  6. package/dist/api/lore/lore.js +9 -1
  7. package/dist/api/lore/service.client.d.ts +134 -0
  8. package/dist/api/lore/service.client.js +107 -24
  9. package/dist/api/lore/service.d.ts +517 -0
  10. package/dist/api/lore/service.js +1155 -107
  11. package/dist/api/lore/transfer/org_transfer.client.d.ts +135 -0
  12. package/dist/api/lore/transfer/org_transfer.client.js +92 -0
  13. package/dist/api/lore/transfer/org_transfer.d.ts +636 -0
  14. package/dist/api/lore/transfer/org_transfer.js +1398 -0
  15. package/dist/api/oci/runtime_profile.d.ts +59 -0
  16. package/dist/api/oci/runtime_profile.js +105 -0
  17. package/dist/api/repl/repl.d.ts +7 -0
  18. package/dist/api/repl/repl.js +9 -1
  19. package/dist/api/signing.d.ts +21 -1
  20. package/dist/api/signing.js +25 -2
  21. package/dist/api/token/token.d.ts +13 -0
  22. package/dist/api/token/token.js +16 -1
  23. package/dist/api/types.d.ts +5 -0
  24. package/dist/api/types.js +9 -1
  25. package/dist/google/protobuf/any.d.ts +124 -0
  26. package/dist/google/protobuf/any.js +151 -0
  27. package/dist/google/protobuf/struct.d.ts +3 -3
  28. package/dist/google/protobuf/struct.js +3 -3
  29. package/dist/google/rpc/status.d.ts +35 -0
  30. package/dist/google/rpc/status.js +68 -0
  31. package/iotester/index.d.ts +8600 -2059
  32. package/iotester/index.js +22193 -5953
  33. package/main/index.d.ts +8600 -2059
  34. package/main/index.js +22193 -5953
  35. package/package.json +1 -1
@@ -0,0 +1,59 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import { MessageType } from "@protobuf-ts/runtime";
7
+ /**
8
+ * @generated from protobuf message replit.goval.api.oci.OciRuntimeProfile
9
+ */
10
+ export interface OciRuntimeProfile {
11
+ /**
12
+ * Raw OCI Config.User. Empty selects the OCI default root user.
13
+ *
14
+ * @generated from protobuf field: string user = 1
15
+ */
16
+ user: string;
17
+ /**
18
+ * Effective absolute working directory. Empty OCI WorkingDir becomes "/".
19
+ *
20
+ * @generated from protobuf field: string working_directory = 2
21
+ */
22
+ workingDirectory: string;
23
+ /**
24
+ * Raw OCI Config.Env entries in source order, including duplicates.
25
+ *
26
+ * @generated from protobuf field: repeated string env = 3
27
+ */
28
+ env: string[];
29
+ /**
30
+ * The remaining fields are set only on the boot-time copy after resolving
31
+ * Config.User against the final rootfs and user namespace.
32
+ *
33
+ * @generated from protobuf field: optional int32 uid = 4
34
+ */
35
+ uid?: number;
36
+ /**
37
+ * @generated from protobuf field: optional int32 gid = 5
38
+ */
39
+ gid?: number;
40
+ /**
41
+ * @generated from protobuf field: repeated int32 supplementary_gids = 6
42
+ */
43
+ supplementaryGids: number[];
44
+ /**
45
+ * @generated from protobuf field: string home = 7
46
+ */
47
+ home: string;
48
+ }
49
+ declare class OciRuntimeProfile$Type extends MessageType<OciRuntimeProfile> {
50
+ constructor();
51
+ create(value?: PartialMessage<OciRuntimeProfile>): OciRuntimeProfile;
52
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OciRuntimeProfile): OciRuntimeProfile;
53
+ internalBinaryWrite(message: OciRuntimeProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
54
+ }
55
+ /**
56
+ * @generated MessageType for protobuf message replit.goval.api.oci.OciRuntimeProfile
57
+ */
58
+ export declare const OciRuntimeProfile: OciRuntimeProfile$Type;
59
+ export {};
@@ -0,0 +1,105 @@
1
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
2
+ import { WireType } from "@protobuf-ts/runtime";
3
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
4
+ import { MessageType } from "@protobuf-ts/runtime";
5
+ // @generated message type with reflection information, may provide speed optimized methods
6
+ class OciRuntimeProfile$Type extends MessageType {
7
+ constructor() {
8
+ super("replit.goval.api.oci.OciRuntimeProfile", [
9
+ { no: 1, name: "user", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
10
+ { no: 2, name: "working_directory", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
11
+ { no: 3, name: "env", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
12
+ { no: 4, name: "uid", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
13
+ { no: 5, name: "gid", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
14
+ { no: 6, name: "supplementary_gids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
15
+ { no: 7, name: "home", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
16
+ ]);
17
+ }
18
+ create(value) {
19
+ const message = globalThis.Object.create((this.messagePrototype));
20
+ message.user = "";
21
+ message.workingDirectory = "";
22
+ message.env = [];
23
+ message.supplementaryGids = [];
24
+ message.home = "";
25
+ if (value !== undefined)
26
+ reflectionMergePartial(this, message, value);
27
+ return message;
28
+ }
29
+ internalBinaryRead(reader, length, options, target) {
30
+ let message = target ?? this.create(), end = reader.pos + length;
31
+ while (reader.pos < end) {
32
+ let [fieldNo, wireType] = reader.tag();
33
+ switch (fieldNo) {
34
+ case /* string user */ 1:
35
+ message.user = reader.string();
36
+ break;
37
+ case /* string working_directory */ 2:
38
+ message.workingDirectory = reader.string();
39
+ break;
40
+ case /* repeated string env */ 3:
41
+ message.env.push(reader.string());
42
+ break;
43
+ case /* optional int32 uid */ 4:
44
+ message.uid = reader.int32();
45
+ break;
46
+ case /* optional int32 gid */ 5:
47
+ message.gid = reader.int32();
48
+ break;
49
+ case /* repeated int32 supplementary_gids */ 6:
50
+ if (wireType === WireType.LengthDelimited)
51
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
52
+ message.supplementaryGids.push(reader.int32());
53
+ else
54
+ message.supplementaryGids.push(reader.int32());
55
+ break;
56
+ case /* string home */ 7:
57
+ message.home = reader.string();
58
+ break;
59
+ default:
60
+ let u = options.readUnknownField;
61
+ if (u === "throw")
62
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
63
+ let d = reader.skip(wireType);
64
+ if (u !== false)
65
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
66
+ }
67
+ }
68
+ return message;
69
+ }
70
+ internalBinaryWrite(message, writer, options) {
71
+ /* string user = 1; */
72
+ if (message.user !== "")
73
+ writer.tag(1, WireType.LengthDelimited).string(message.user);
74
+ /* string working_directory = 2; */
75
+ if (message.workingDirectory !== "")
76
+ writer.tag(2, WireType.LengthDelimited).string(message.workingDirectory);
77
+ /* repeated string env = 3; */
78
+ for (let i = 0; i < message.env.length; i++)
79
+ writer.tag(3, WireType.LengthDelimited).string(message.env[i]);
80
+ /* optional int32 uid = 4; */
81
+ if (message.uid !== undefined)
82
+ writer.tag(4, WireType.Varint).int32(message.uid);
83
+ /* optional int32 gid = 5; */
84
+ if (message.gid !== undefined)
85
+ writer.tag(5, WireType.Varint).int32(message.gid);
86
+ /* repeated int32 supplementary_gids = 6; */
87
+ if (message.supplementaryGids.length) {
88
+ writer.tag(6, WireType.LengthDelimited).fork();
89
+ for (let i = 0; i < message.supplementaryGids.length; i++)
90
+ writer.int32(message.supplementaryGids[i]);
91
+ writer.join();
92
+ }
93
+ /* string home = 7; */
94
+ if (message.home !== "")
95
+ writer.tag(7, WireType.LengthDelimited).string(message.home);
96
+ let u = options.writeUnknownFields;
97
+ if (u !== false)
98
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
99
+ return writer;
100
+ }
101
+ }
102
+ /**
103
+ * @generated MessageType for protobuf message replit.goval.api.oci.OciRuntimeProfile
104
+ */
105
+ export const OciRuntimeProfile = new OciRuntimeProfile$Type();
@@ -5,6 +5,7 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
5
  import type { PartialMessage } from "@protobuf-ts/runtime";
6
6
  import { MessageType } from "@protobuf-ts/runtime";
7
7
  import { Feature } from "../features/features.js";
8
+ import { Timestamp } from "../../google/protobuf/timestamp.js";
8
9
  /**
9
10
  * @generated from protobuf message replit.goval.api.repl.Buckets
10
11
  */
@@ -169,6 +170,12 @@ export interface Repl {
169
170
  * @generated from protobuf field: bool inject_chatgpt_link_override = 20
170
171
  */
171
172
  injectChatgptLinkOverride: boolean;
173
+ /**
174
+ * The creation time of the source Repl in Replit web.
175
+ *
176
+ * @generated from protobuf field: google.protobuf.Timestamp repl_created_at = 21
177
+ */
178
+ replCreatedAt?: Timestamp;
172
179
  }
173
180
  /**
174
181
  * autocontainer needs to know if we are in a teams org
@@ -3,6 +3,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
3
3
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
4
4
  import { MessageType } from "@protobuf-ts/runtime";
5
5
  import { Feature } from "../features/features.js";
6
+ import { Timestamp } from "../../google/protobuf/timestamp.js";
6
7
  /**
7
8
  * Organization type. There are legacy types, but we are not
8
9
  * supporting them, and they should not be getting passed.
@@ -205,7 +206,8 @@ class Repl$Type extends MessageType {
205
206
  { no: 17, name: "backer_job_metadata", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
206
207
  { no: 18, name: "custom_skills_bucket", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
207
208
  { no: 19, name: "user_email", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
208
- { no: 20, name: "inject_chatgpt_link_override", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
209
+ { no: 20, name: "inject_chatgpt_link_override", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
210
+ { no: 21, name: "repl_created_at", kind: "message", T: () => Timestamp }
209
211
  ]);
210
212
  }
211
213
  create(value) {
@@ -292,6 +294,9 @@ class Repl$Type extends MessageType {
292
294
  case /* bool inject_chatgpt_link_override */ 20:
293
295
  message.injectChatgptLinkOverride = reader.bool();
294
296
  break;
297
+ case /* google.protobuf.Timestamp repl_created_at */ 21:
298
+ message.replCreatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.replCreatedAt);
299
+ break;
295
300
  default:
296
301
  let u = options.readUnknownField;
297
302
  if (u === "throw")
@@ -377,6 +382,9 @@ class Repl$Type extends MessageType {
377
382
  /* bool inject_chatgpt_link_override = 20; */
378
383
  if (message.injectChatgptLinkOverride !== false)
379
384
  writer.tag(20, WireType.Varint).bool(message.injectChatgptLinkOverride);
385
+ /* google.protobuf.Timestamp repl_created_at = 21; */
386
+ if (message.replCreatedAt)
387
+ Timestamp.internalBinaryWrite(message.replCreatedAt, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
380
388
  let u = options.writeUnknownFields;
381
389
  if (u !== false)
382
390
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -139,6 +139,14 @@ export interface CertificateClaim {
139
139
  * @generated from protobuf field: replit.goval.api.FlagClaim flag = 3
140
140
  */
141
141
  flag: FlagClaim;
142
+ } | {
143
+ oneofKind: "replCreatedAt";
144
+ /**
145
+ * This cert has the authority to assert this Repl creation timestamp.
146
+ *
147
+ * @generated from protobuf field: google.protobuf.Timestamp repl_created_at = 9
148
+ */
149
+ replCreatedAt: Timestamp;
142
150
  } | {
143
151
  oneofKind: undefined;
144
152
  };
@@ -371,6 +379,12 @@ export interface GovalReplIdentity {
371
379
  * @generated from protobuf field: replit.goval.api.repl.Org org = 14
372
380
  */
373
381
  org?: Org;
382
+ /**
383
+ * The creation time of the source Repl in Replit web.
384
+ *
385
+ * @generated from protobuf field: google.protobuf.Timestamp repl_created_at = 15
386
+ */
387
+ replCreatedAt?: Timestamp;
374
388
  }
375
389
  /**
376
390
  * @generated from protobuf message replit.goval.api.ReplRuntimeInteractive
@@ -533,7 +547,13 @@ export declare enum FlagClaim {
533
547
  *
534
548
  * @generated from protobuf enum value: ANY_SUBCLUSTER = 9;
535
549
  */
536
- ANY_SUBCLUSTER = 9
550
+ ANY_SUBCLUSTER = 9,
551
+ /**
552
+ * Cert can authorize child certs for any Repl creation timestamp.
553
+ *
554
+ * @generated from protobuf enum value: ANY_REPL_CREATED_AT = 13;
555
+ */
556
+ ANY_REPL_CREATED_AT = 13
537
557
  }
538
558
  declare class GovalSigningAuthority$Type extends MessageType<GovalSigningAuthority> {
539
559
  constructor();
@@ -131,6 +131,12 @@ export var FlagClaim;
131
131
  * @generated from protobuf enum value: ANY_SUBCLUSTER = 9;
132
132
  */
133
133
  FlagClaim[FlagClaim["ANY_SUBCLUSTER"] = 9] = "ANY_SUBCLUSTER";
134
+ /**
135
+ * Cert can authorize child certs for any Repl creation timestamp.
136
+ *
137
+ * @generated from protobuf enum value: ANY_REPL_CREATED_AT = 13;
138
+ */
139
+ FlagClaim[FlagClaim["ANY_REPL_CREATED_AT"] = 13] = "ANY_REPL_CREATED_AT";
134
140
  })(FlagClaim || (FlagClaim = {}));
135
141
  // @generated message type with reflection information, may provide speed optimized methods
136
142
  class GovalSigningAuthority$Type extends MessageType {
@@ -219,7 +225,8 @@ class CertificateClaim$Type extends MessageType {
219
225
  { no: 4, name: "cluster", kind: "scalar", oneof: "claim", T: 9 /*ScalarType.STRING*/ },
220
226
  { no: 5, name: "subcluster", kind: "scalar", oneof: "claim", T: 9 /*ScalarType.STRING*/ },
221
227
  { no: 6, name: "deployment", kind: "scalar", oneof: "claim", T: 8 /*ScalarType.BOOL*/ },
222
- { no: 3, name: "flag", kind: "enum", oneof: "claim", T: () => ["replit.goval.api.FlagClaim", FlagClaim] }
228
+ { no: 3, name: "flag", kind: "enum", oneof: "claim", T: () => ["replit.goval.api.FlagClaim", FlagClaim] },
229
+ { no: 9, name: "repl_created_at", kind: "message", oneof: "claim", T: () => Timestamp }
223
230
  ]);
224
231
  }
225
232
  create(value) {
@@ -282,6 +289,12 @@ class CertificateClaim$Type extends MessageType {
282
289
  flag: reader.int32()
283
290
  };
284
291
  break;
292
+ case /* google.protobuf.Timestamp repl_created_at */ 9:
293
+ message.claim = {
294
+ oneofKind: "replCreatedAt",
295
+ replCreatedAt: Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.claim.replCreatedAt)
296
+ };
297
+ break;
285
298
  default:
286
299
  let u = options.readUnknownField;
287
300
  if (u === "throw")
@@ -318,6 +331,9 @@ class CertificateClaim$Type extends MessageType {
318
331
  /* replit.goval.api.repl.Org org = 8; */
319
332
  if (message.claim.oneofKind === "org")
320
333
  Org.internalBinaryWrite(message.claim.org, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
334
+ /* google.protobuf.Timestamp repl_created_at = 9; */
335
+ if (message.claim.oneofKind === "replCreatedAt")
336
+ Timestamp.internalBinaryWrite(message.claim.replCreatedAt, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
321
337
  let u = options.writeUnknownFields;
322
338
  if (u !== false)
323
339
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -496,7 +512,8 @@ class GovalReplIdentity$Type extends MessageType {
496
512
  { no: 11, name: "interactive", kind: "message", oneof: "runtime", T: () => ReplRuntimeInteractive },
497
513
  { no: 13, name: "hosting", kind: "message", oneof: "runtime", T: () => ReplRuntimeHosting },
498
514
  { no: 12, name: "deployment", kind: "message", oneof: "runtime", T: () => ReplRuntimeDeployment },
499
- { no: 14, name: "org", kind: "message", T: () => Org }
515
+ { no: 14, name: "org", kind: "message", T: () => Org },
516
+ { no: 15, name: "repl_created_at", kind: "message", T: () => Timestamp }
500
517
  ]);
501
518
  }
502
519
  create(value) {
@@ -571,6 +588,9 @@ class GovalReplIdentity$Type extends MessageType {
571
588
  case /* replit.goval.api.repl.Org org */ 14:
572
589
  message.org = Org.internalBinaryRead(reader, reader.uint32(), options, message.org);
573
590
  break;
591
+ case /* google.protobuf.Timestamp repl_created_at */ 15:
592
+ message.replCreatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.replCreatedAt);
593
+ break;
574
594
  default:
575
595
  let u = options.readUnknownField;
576
596
  if (u === "throw")
@@ -625,6 +645,9 @@ class GovalReplIdentity$Type extends MessageType {
625
645
  /* replit.goval.api.repl.Org org = 14; */
626
646
  if (message.org)
627
647
  Org.internalBinaryWrite(message.org, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
648
+ /* google.protobuf.Timestamp repl_created_at = 15; */
649
+ if (message.replCreatedAt)
650
+ Timestamp.internalBinaryWrite(message.replCreatedAt, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
628
651
  let u = options.writeUnknownFields;
629
652
  if (u !== false)
630
653
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -206,6 +206,19 @@ export interface ReplToken {
206
206
  * @generated from protobuf field: replit.goval.api.token.ReplToken.Mode mode = 27 [deprecated = true]
207
207
  */
208
208
  mode: ReplToken_Mode;
209
+ /**
210
+ * The Jetplane resource group containing this repl.
211
+ *
212
+ * @generated from protobuf field: string resource_group_id = 28
213
+ */
214
+ resourceGroupId: string;
215
+ /**
216
+ * Whether automated abuse detection may request takedowns for this repl.
217
+ * Unset is treated as false.
218
+ *
219
+ * @generated from protobuf field: optional bool automated_takedown_eligible = 29
220
+ */
221
+ automatedTakedownEligible?: boolean;
209
222
  }
210
223
  /**
211
224
  * Metadata for the classroom. This is deprecated and should be removed
@@ -90,7 +90,9 @@ class ReplToken$Type extends MessageType {
90
90
  { no: 23, name: "before", kind: "message", T: () => Timestamp },
91
91
  { no: 25, name: "resource_tier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
92
92
  { no: 26, name: "idle_timeout", kind: "message", T: () => Duration },
93
- { no: 27, name: "mode", kind: "enum", T: () => ["replit.goval.api.token.ReplToken.Mode", ReplToken_Mode, "MODE_"] }
93
+ { no: 27, name: "mode", kind: "enum", T: () => ["replit.goval.api.token.ReplToken.Mode", ReplToken_Mode, "MODE_"] },
94
+ { no: 28, name: "resource_group_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
95
+ { no: 29, name: "automated_takedown_eligible", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
94
96
  ]);
95
97
  }
96
98
  create(value) {
@@ -107,6 +109,7 @@ class ReplToken$Type extends MessageType {
107
109
  message.externalSecrets = [];
108
110
  message.resourceTier = "";
109
111
  message.mode = 0;
112
+ message.resourceGroupId = "";
110
113
  if (value !== undefined)
111
114
  reflectionMergePartial(this, message, value);
112
115
  return message;
@@ -194,6 +197,12 @@ class ReplToken$Type extends MessageType {
194
197
  case /* replit.goval.api.token.ReplToken.Mode mode = 27 [deprecated = true] */ 27:
195
198
  message.mode = reader.int32();
196
199
  break;
200
+ case /* string resource_group_id */ 28:
201
+ message.resourceGroupId = reader.string();
202
+ break;
203
+ case /* optional bool automated_takedown_eligible */ 29:
204
+ message.automatedTakedownEligible = reader.bool();
205
+ break;
197
206
  default:
198
207
  let u = options.readUnknownField;
199
208
  if (u === "throw")
@@ -275,6 +284,12 @@ class ReplToken$Type extends MessageType {
275
284
  /* replit.goval.api.token.ReplToken.Mode mode = 27 [deprecated = true]; */
276
285
  if (message.mode !== 0)
277
286
  writer.tag(27, WireType.Varint).int32(message.mode);
287
+ /* string resource_group_id = 28; */
288
+ if (message.resourceGroupId !== "")
289
+ writer.tag(28, WireType.LengthDelimited).string(message.resourceGroupId);
290
+ /* optional bool automated_takedown_eligible = 29; */
291
+ if (message.automatedTakedownEligible !== undefined)
292
+ writer.tag(29, WireType.Varint).bool(message.automatedTakedownEligible);
278
293
  let u = options.writeUnknownFields;
279
294
  if (u !== false)
280
295
  (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 { OciRuntimeProfile } from "./oci/runtime_profile.js";
9
10
  import { Pid2Binary } from "./repl/repl.js";
10
11
  import { Empty } from "../google/protobuf/empty.js";
11
12
  /**
@@ -1843,6 +1844,10 @@ export interface Pid1Config {
1843
1844
  * @generated from protobuf field: replit.goval.api.repl.Pid2Binary pid2_info = 6
1844
1845
  */
1845
1846
  pid2Info?: Pid2Binary;
1847
+ /**
1848
+ * @generated from protobuf field: replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile = 8
1849
+ */
1850
+ ociRuntimeProfile?: OciRuntimeProfile;
1846
1851
  }
1847
1852
  /**
1848
1853
  * @generated from protobuf message replit.goval.api.FSLock
package/dist/api/types.js CHANGED
@@ -4,6 +4,7 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
4
4
  import { MessageType } from "@protobuf-ts/runtime";
5
5
  import { Struct } from "../google/protobuf/struct.js";
6
6
  import { Timestamp } from "../google/protobuf/timestamp.js";
7
+ import { OciRuntimeProfile } from "./oci/runtime_profile.js";
7
8
  import { Pid2Binary } from "./repl/repl.js";
8
9
  import { Empty } from "../google/protobuf/empty.js";
9
10
  /**
@@ -3977,7 +3978,8 @@ class Pid1Config$Type extends MessageType {
3977
3978
  { no: 3, name: "env", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
3978
3979
  { no: 4, name: "noStore", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3979
3980
  { no: 5, name: "noninteractiveFSChange", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
3980
- { no: 6, name: "pid2_info", kind: "message", T: () => Pid2Binary }
3981
+ { no: 6, name: "pid2_info", kind: "message", T: () => Pid2Binary },
3982
+ { no: 8, name: "oci_runtime_profile", kind: "message", T: () => OciRuntimeProfile }
3981
3983
  ]);
3982
3984
  }
3983
3985
  create(value) {
@@ -4014,6 +4016,9 @@ class Pid1Config$Type extends MessageType {
4014
4016
  case /* replit.goval.api.repl.Pid2Binary pid2_info */ 6:
4015
4017
  message.pid2Info = Pid2Binary.internalBinaryRead(reader, reader.uint32(), options, message.pid2Info);
4016
4018
  break;
4019
+ case /* replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile */ 8:
4020
+ message.ociRuntimeProfile = OciRuntimeProfile.internalBinaryRead(reader, reader.uint32(), options, message.ociRuntimeProfile);
4021
+ break;
4017
4022
  default:
4018
4023
  let u = options.readUnknownField;
4019
4024
  if (u === "throw")
@@ -4060,6 +4065,9 @@ class Pid1Config$Type extends MessageType {
4060
4065
  /* replit.goval.api.repl.Pid2Binary pid2_info = 6; */
4061
4066
  if (message.pid2Info)
4062
4067
  Pid2Binary.internalBinaryWrite(message.pid2Info, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
4068
+ /* replit.goval.api.oci.OciRuntimeProfile oci_runtime_profile = 8; */
4069
+ if (message.ociRuntimeProfile)
4070
+ OciRuntimeProfile.internalBinaryWrite(message.ociRuntimeProfile, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
4063
4071
  let u = options.writeUnknownFields;
4064
4072
  if (u !== false)
4065
4073
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -0,0 +1,124 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
4
+ import type { PartialMessage } from "@protobuf-ts/runtime";
5
+ import type { JsonValue } from "@protobuf-ts/runtime";
6
+ import type { JsonReadOptions } from "@protobuf-ts/runtime";
7
+ import type { JsonWriteOptions } from "@protobuf-ts/runtime";
8
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
9
+ import type { IMessageType } from "@protobuf-ts/runtime";
10
+ import { MessageType } from "@protobuf-ts/runtime";
11
+ /**
12
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
13
+ * URL that describes the type of the serialized message.
14
+ *
15
+ * In its binary encoding, an `Any` is an ordinary message; but in other wire
16
+ * forms like JSON, it has a special encoding. The format of the type URL is
17
+ * described on the `type_url` field.
18
+ *
19
+ * Protobuf APIs provide utilities to interact with `Any` values:
20
+ *
21
+ * - A 'pack' operation accepts a message and constructs a generic `Any` wrapper
22
+ * around it.
23
+ * - An 'unpack' operation reads the content of an `Any` message, either into an
24
+ * existing message or a new one. Unpack operations must check the type of the
25
+ * value they unpack against the declared `type_url`.
26
+ * - An 'is' operation decides whether an `Any` contains a message of the given
27
+ * type, i.e. whether it can 'unpack' that type.
28
+ *
29
+ * The JSON format representation of an `Any` follows one of these cases:
30
+ *
31
+ * - For types without special-cased JSON encodings, the JSON format
32
+ * representation of the `Any` is the same as that of the message, with an
33
+ * additional `@type` field which contains the type URL.
34
+ * - For types with special-cased JSON encodings (typically called 'well-known'
35
+ * types, listed in https://protobuf.dev/programming-guides/json/#any), the
36
+ * JSON format representation has a key `@type` which contains the type URL
37
+ * and a key `value` which contains the JSON-serialized value.
38
+ *
39
+ * The text format representation of an `Any` is like a message with one field
40
+ * whose name is the type URL in brackets. For example, an `Any` containing a
41
+ * `foo.Bar` message may be written `[type.googleapis.com/foo.Bar] { a: 2 }`.
42
+ *
43
+ * @generated from protobuf message google.protobuf.Any
44
+ */
45
+ export interface Any {
46
+ /**
47
+ * Identifies the type of the serialized Protobuf message with a URI reference
48
+ * consisting of a prefix ending in a slash and the fully-qualified type name.
49
+ *
50
+ * Example: type.googleapis.com/google.protobuf.StringValue
51
+ *
52
+ * This string must contain at least one `/` character, and the content after
53
+ * the last `/` must be the fully-qualified name of the type in canonical
54
+ * form, without a leading dot. Do not write a scheme on these URI references
55
+ * so that clients do not attempt to contact them.
56
+ *
57
+ * The prefix is arbitrary and Protobuf implementations are expected to
58
+ * simply strip off everything up to and including the last `/` to identify
59
+ * the type. `type.googleapis.com/` is a common default prefix that some
60
+ * legacy implementations require. This prefix does not indicate the origin of
61
+ * the type, and URIs containing it are not expected to respond to any
62
+ * requests.
63
+ *
64
+ * All type URL strings must be legal URI references with the additional
65
+ * restriction (for the text format) that the content of the reference
66
+ * must consist only of alphanumeric characters, percent-encoded escapes, and
67
+ * characters in the following set (not including the outer backticks):
68
+ * `/-.~_!$&()*+,;=`. Despite our allowing percent encodings, implementations
69
+ * should not unescape them to prevent confusion with existing parsers. For
70
+ * example, `type.googleapis.com%2FFoo` should be rejected.
71
+ *
72
+ * In the original design of `Any`, the possibility of launching a type
73
+ * resolution service at these type URLs was considered but Protobuf never
74
+ * implemented one and considers contacting these URLs to be problematic and
75
+ * a potential security issue. Do not attempt to contact type URLs.
76
+ *
77
+ * @generated from protobuf field: string type_url = 1
78
+ */
79
+ typeUrl: string;
80
+ /**
81
+ * Holds a Protobuf serialization of the type described by type_url.
82
+ *
83
+ * @generated from protobuf field: bytes value = 2
84
+ */
85
+ value: Uint8Array;
86
+ }
87
+ declare class Any$Type extends MessageType<Any> {
88
+ constructor();
89
+ /**
90
+ * Pack the message into a new `Any`.
91
+ *
92
+ * Uses 'type.googleapis.com/full.type.name' as the type URL.
93
+ */
94
+ pack<T extends object>(message: T, type: IMessageType<T>): Any;
95
+ /**
96
+ * Unpack the message from the `Any`.
97
+ */
98
+ unpack<T extends object>(any: Any, type: IMessageType<T>, options?: Partial<BinaryReadOptions>): T;
99
+ /**
100
+ * Does the given `Any` contain a packed message of the given type?
101
+ */
102
+ contains(any: Any, type: IMessageType<any> | string): boolean;
103
+ /**
104
+ * Convert the message to canonical JSON value.
105
+ *
106
+ * You have to provide the `typeRegistry` option so that the
107
+ * packed message can be converted to JSON.
108
+ *
109
+ * The `typeRegistry` option is also required to read
110
+ * `google.protobuf.Any` from JSON format.
111
+ */
112
+ internalJsonWrite(any: Any, options: JsonWriteOptions): JsonValue;
113
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Any): Any;
114
+ typeNameToUrl(name: string): string;
115
+ typeUrlToName(url: string): string;
116
+ create(value?: PartialMessage<Any>): Any;
117
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Any): Any;
118
+ internalBinaryWrite(message: Any, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
119
+ }
120
+ /**
121
+ * @generated MessageType for protobuf message google.protobuf.Any
122
+ */
123
+ export declare const Any: Any$Type;
124
+ export {};