@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 { Duration } from "../../google/protobuf/duration.js";
10
10
  import { Status } from "../../google/rpc/status.js";
11
11
  import { Agent } from "../chateau/resources.js";
12
12
  import { CreateAgentRequest as CreateAgentRequest$ } from "../chateau/resources.js";
13
+ import { Timestamp } from "../../google/protobuf/timestamp.js";
14
+ import { FieldMask } from "../../google/protobuf/field_mask.js";
13
15
  import { Repl as Repl$ } from "../jetplane/repl/repl.js";
14
16
  import { ReplMode } from "../jetplane/repl/repl.js";
15
17
  import { SandboxSpec } from "../jetplane/repl/repl.js";
@@ -189,6 +191,28 @@ export interface Cluster {
189
191
  * @generated from protobuf field: string openint_server_url = 20
190
192
  */
191
193
  openintServerUrl: string;
194
+ /**
195
+ * BffUrl is the URL of the BFF service for this cluster. May be empty for
196
+ * clusters whose BFF deployment is not yet provisioned.
197
+ *
198
+ * @generated from protobuf field: string bff_url = 21
199
+ */
200
+ bffUrl: string;
201
+ /**
202
+ * TemplRpcTarget is the host:port of templ's in-cluster gRPC service. May
203
+ * be empty for clusters whose templ deployment is not yet provisioned.
204
+ *
205
+ * @generated from protobuf field: string templ_rpc_target = 22
206
+ */
207
+ templRpcTarget: string;
208
+ /**
209
+ * SlackAdapterRpcTarget is the host:port of Slack Adapter's mTLS gRPC
210
+ * ingress. Empty disables routing; advertise only after the cell's ingress is
211
+ * ready.
212
+ *
213
+ * @generated from protobuf field: string slack_adapter_rpc_target = 23
214
+ */
215
+ slackAdapterRpcTarget: string;
192
216
  }
193
217
  /**
194
218
  * @generated from protobuf message replit.goval.api.lore.CreateReplRequest
@@ -581,6 +605,64 @@ export interface UpdateSandboxResponse {
581
605
  */
582
606
  sandbox?: Repl$;
583
607
  }
608
+ /**
609
+ * PatchSandboxRequest applies only the fields selected by update_mask and
610
+ * leaves everything else untouched, unlike UpdateSandbox's absolute
611
+ * remove-on-unset contract.
612
+ *
613
+ * @generated from protobuf message replit.goval.api.lore.PatchSandboxRequest
614
+ */
615
+ export interface PatchSandboxRequest {
616
+ /**
617
+ * @generated from protobuf field: replit.goval.api.lore.PatchSandboxRequest.Sandbox sandbox = 1
618
+ */
619
+ sandbox?: PatchSandboxRequest_Sandbox;
620
+ /**
621
+ * Whether ReplShield (private dev URL) enforcement is enabled. Applied to
622
+ * the live Repl CR so dotdevproxy picks up toggles without waiting for the
623
+ * repl to be recreated; a no-op when the repl is not currently placed.
624
+ *
625
+ * @generated from protobuf field: bool use_repl_shield = 2
626
+ */
627
+ useReplShield: boolean;
628
+ /**
629
+ * Selects which fields to apply. Must be non-empty; the only path
630
+ * currently supported is "use_repl_shield".
631
+ *
632
+ * @generated from protobuf field: google.protobuf.FieldMask update_mask = 3
633
+ */
634
+ updateMask?: FieldMask;
635
+ /**
636
+ * Orders concurrent use_repl_shield patches: the cell drops a patch whose
637
+ * toggled_at is not newer than the last one it applied, so a delayed retry
638
+ * can never overwrite a later toggle. Unset applies unconditionally.
639
+ *
640
+ * @generated from protobuf field: google.protobuf.Timestamp toggled_at = 4
641
+ */
642
+ toggledAt?: Timestamp;
643
+ }
644
+ /**
645
+ * @generated from protobuf message replit.goval.api.lore.PatchSandboxRequest.Sandbox
646
+ */
647
+ export interface PatchSandboxRequest_Sandbox {
648
+ /**
649
+ * @generated from protobuf field: string id = 1
650
+ */
651
+ id: string;
652
+ /**
653
+ * @generated from protobuf field: string resource_group_id = 2
654
+ */
655
+ resourceGroupId: string;
656
+ }
657
+ /**
658
+ * @generated from protobuf message replit.goval.api.lore.PatchSandboxResponse
659
+ */
660
+ export interface PatchSandboxResponse {
661
+ /**
662
+ * @generated from protobuf field: replit.goval.api.jetplane.repl.Repl sandbox = 1
663
+ */
664
+ sandbox?: Repl$;
665
+ }
584
666
  /**
585
667
  * @generated from protobuf message replit.goval.api.lore.GetSandboxConnectionInfoRequest
586
668
  */
@@ -614,6 +696,10 @@ export interface GetSandboxConnectionInfoResponse {
614
696
  * @generated from protobuf field: replit.goval.api.jetplane.repl.ReplMode mode = 3
615
697
  */
616
698
  mode: ReplMode;
699
+ /**
700
+ * @generated from protobuf field: optional string suggested_size = 4
701
+ */
702
+ suggestedSize?: string;
617
703
  }
618
704
  /**
619
705
  * @generated from protobuf message replit.goval.api.lore.CreateResourceGroupRequest
@@ -890,6 +976,12 @@ export interface GetClusterByResourceGroupRequest {
890
976
  * @generated from protobuf field: string resource_group_id = 1
891
977
  */
892
978
  resourceGroupId: string;
979
+ /**
980
+ * Return the recorded cell even when Jetplane creation has not completed.
981
+ *
982
+ * @generated from protobuf field: bool allow_pending_placement = 2
983
+ */
984
+ allowPendingPlacement: boolean;
893
985
  }
894
986
  /**
895
987
  * @generated from protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
@@ -900,6 +992,36 @@ export interface GetClusterByResourceGroupResponse {
900
992
  */
901
993
  cluster?: Cluster;
902
994
  }
995
+ /**
996
+ * @generated from protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementRequest
997
+ */
998
+ export interface RestoreResourceGroupPlacementRequest {
999
+ /**
1000
+ * The existing resource group whose Lore placement is being repaired.
1001
+ *
1002
+ * @generated from protobuf field: string resource_group_id = 1
1003
+ */
1004
+ resourceGroupId: string;
1005
+ /**
1006
+ * The cell where Jetplane already holds the resource group.
1007
+ *
1008
+ * @generated from protobuf field: string target_cell_name = 2
1009
+ */
1010
+ targetCellName: string;
1011
+ }
1012
+ /**
1013
+ * @generated from protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementResponse
1014
+ */
1015
+ export interface RestoreResourceGroupPlacementResponse {
1016
+ /**
1017
+ * @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
1018
+ */
1019
+ cluster?: Cluster;
1020
+ /**
1021
+ * @generated from protobuf field: repeated string repl_ids = 2
1022
+ */
1023
+ replIds: string[];
1024
+ }
903
1025
  /**
904
1026
  * @generated from protobuf message replit.goval.api.lore.BatchGetCellByResourceGroupRequest
905
1027
  */
@@ -1294,8 +1416,8 @@ export interface RestoreReplRequest {
1294
1416
  */
1295
1417
  replId: string;
1296
1418
  /**
1297
- * Tri-state: unset leaves takedown_protected unchanged; true sets it;
1298
- * false clears it. Applied atomically with tombstone removal.
1419
+ * Ignored by resource-group restore; protection is managed by tombstone
1420
+ * operations.
1299
1421
  *
1300
1422
  * @generated from protobuf field: optional bool protect = 2
1301
1423
  */
@@ -1404,6 +1526,10 @@ export interface GetOrgHomeCellRequest {
1404
1526
  * @generated from protobuf field: string org_id = 1
1405
1527
  */
1406
1528
  orgId: string;
1529
+ /**
1530
+ * @generated from protobuf field: bool include_openint_migrated = 2
1531
+ */
1532
+ includeOpenintMigrated: boolean;
1407
1533
  }
1408
1534
  /**
1409
1535
  * @generated from protobuf message replit.goval.api.lore.GetOrgHomeCellResponse
@@ -1413,6 +1539,13 @@ export interface GetOrgHomeCellResponse {
1413
1539
  * @generated from protobuf field: replit.goval.api.lore.Cluster cluster = 1
1414
1540
  */
1415
1541
  cluster?: Cluster;
1542
+ /**
1543
+ * Present only when include_openint_migrated is true, including a false
1544
+ * value.
1545
+ *
1546
+ * @generated from protobuf field: optional bool openint_migrated = 2
1547
+ */
1548
+ openintMigrated?: boolean;
1416
1549
  }
1417
1550
  /**
1418
1551
  * @generated from protobuf message replit.goval.api.lore.SetOrgHomeCellRequest
@@ -1439,6 +1572,27 @@ export interface SetOrgHomeCellResponse {
1439
1572
  */
1440
1573
  cluster?: Cluster;
1441
1574
  }
1575
+ /**
1576
+ * Only mutable home-cell properties belong here. Null or omitted properties
1577
+ * are left unchanged; explicit false values are applied.
1578
+ *
1579
+ * @generated from protobuf message replit.goval.api.lore.PatchOrgHomeCellRequest
1580
+ */
1581
+ export interface PatchOrgHomeCellRequest {
1582
+ /**
1583
+ * @generated from protobuf field: string org_id = 1
1584
+ */
1585
+ orgId: string;
1586
+ /**
1587
+ * @generated from protobuf field: optional bool openint_migrated = 2
1588
+ */
1589
+ openintMigrated?: boolean;
1590
+ }
1591
+ /**
1592
+ * @generated from protobuf message replit.goval.api.lore.PatchOrgHomeCellResponse
1593
+ */
1594
+ export interface PatchOrgHomeCellResponse {
1595
+ }
1442
1596
  /**
1443
1597
  * @generated from protobuf message replit.goval.api.lore.DeleteOrgHomeCellRequest
1444
1598
  */
@@ -1467,12 +1621,6 @@ export interface TransferOrgHomeCellRequest {
1467
1621
  * @generated from protobuf field: string target_cell_name = 2
1468
1622
  */
1469
1623
  targetCellName: string;
1470
- /**
1471
- * ForceRetry starts a new transfer after a previous transfer failed.
1472
- *
1473
- * @generated from protobuf field: bool force_retry = 3
1474
- */
1475
- forceRetry: boolean;
1476
1624
  /**
1477
1625
  * Principal the transfer runs on behalf of. Lore forwards it unchanged to
1478
1626
  * each per-cell phase so the cell service can authorize the operation.
@@ -1489,31 +1637,6 @@ export interface TransferOrgHomeCellResponse {
1489
1637
  * @generated from protobuf field: string transfer_id = 1
1490
1638
  */
1491
1639
  transferId: string;
1492
- /**
1493
- * @generated from protobuf field: replit.goval.api.lore.TransferOrgHomeCellResponse.Status status = 2
1494
- */
1495
- status: TransferOrgHomeCellResponse_Status;
1496
- }
1497
- /**
1498
- * @generated from protobuf enum replit.goval.api.lore.TransferOrgHomeCellResponse.Status
1499
- */
1500
- export declare enum TransferOrgHomeCellResponse_Status {
1501
- /**
1502
- * @generated from protobuf enum value: STATUS_UNSPECIFIED = 0;
1503
- */
1504
- UNSPECIFIED = 0,
1505
- /**
1506
- * @generated from protobuf enum value: STATUS_PENDING = 1;
1507
- */
1508
- PENDING = 1,
1509
- /**
1510
- * @generated from protobuf enum value: STATUS_COMPLETED = 2;
1511
- */
1512
- COMPLETED = 2,
1513
- /**
1514
- * @generated from protobuf enum value: STATUS_FAILED = 3;
1515
- */
1516
- FAILED = 3
1517
1640
  }
1518
1641
  /**
1519
1642
  * @generated from protobuf message replit.goval.api.lore.ExportReplRequest
@@ -1549,6 +1672,13 @@ export interface MargarineExport {
1549
1672
  * @generated from protobuf field: repeated replit.goval.api.lore.MargarineBlock blocks = 2
1550
1673
  */
1551
1674
  blocks: MargarineBlock[];
1675
+ /**
1676
+ * The logical device size in bytes. A zero value represents a legacy
1677
+ * 256 GiB device.
1678
+ *
1679
+ * @generated from protobuf field: uint64 device_size = 3
1680
+ */
1681
+ deviceSize: bigint;
1552
1682
  }
1553
1683
  /**
1554
1684
  * @generated from protobuf message replit.goval.api.lore.ReplFile
@@ -1866,6 +1996,36 @@ declare class UpdateSandboxResponse$Type extends MessageType<UpdateSandboxRespon
1866
1996
  * @generated MessageType for protobuf message replit.goval.api.lore.UpdateSandboxResponse
1867
1997
  */
1868
1998
  export declare const UpdateSandboxResponse: UpdateSandboxResponse$Type;
1999
+ declare class PatchSandboxRequest$Type extends MessageType<PatchSandboxRequest> {
2000
+ constructor();
2001
+ create(value?: PartialMessage<PatchSandboxRequest>): PatchSandboxRequest;
2002
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchSandboxRequest): PatchSandboxRequest;
2003
+ internalBinaryWrite(message: PatchSandboxRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2004
+ }
2005
+ /**
2006
+ * @generated MessageType for protobuf message replit.goval.api.lore.PatchSandboxRequest
2007
+ */
2008
+ export declare const PatchSandboxRequest: PatchSandboxRequest$Type;
2009
+ declare class PatchSandboxRequest_Sandbox$Type extends MessageType<PatchSandboxRequest_Sandbox> {
2010
+ constructor();
2011
+ create(value?: PartialMessage<PatchSandboxRequest_Sandbox>): PatchSandboxRequest_Sandbox;
2012
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchSandboxRequest_Sandbox): PatchSandboxRequest_Sandbox;
2013
+ internalBinaryWrite(message: PatchSandboxRequest_Sandbox, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2014
+ }
2015
+ /**
2016
+ * @generated MessageType for protobuf message replit.goval.api.lore.PatchSandboxRequest.Sandbox
2017
+ */
2018
+ export declare const PatchSandboxRequest_Sandbox: PatchSandboxRequest_Sandbox$Type;
2019
+ declare class PatchSandboxResponse$Type extends MessageType<PatchSandboxResponse> {
2020
+ constructor();
2021
+ create(value?: PartialMessage<PatchSandboxResponse>): PatchSandboxResponse;
2022
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchSandboxResponse): PatchSandboxResponse;
2023
+ internalBinaryWrite(message: PatchSandboxResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2024
+ }
2025
+ /**
2026
+ * @generated MessageType for protobuf message replit.goval.api.lore.PatchSandboxResponse
2027
+ */
2028
+ export declare const PatchSandboxResponse: PatchSandboxResponse$Type;
1869
2029
  declare class GetSandboxConnectionInfoRequest$Type extends MessageType<GetSandboxConnectionInfoRequest> {
1870
2030
  constructor();
1871
2031
  create(value?: PartialMessage<GetSandboxConnectionInfoRequest>): GetSandboxConnectionInfoRequest;
@@ -2036,6 +2196,26 @@ declare class GetClusterByResourceGroupResponse$Type extends MessageType<GetClus
2036
2196
  * @generated MessageType for protobuf message replit.goval.api.lore.GetClusterByResourceGroupResponse
2037
2197
  */
2038
2198
  export declare const GetClusterByResourceGroupResponse: GetClusterByResourceGroupResponse$Type;
2199
+ declare class RestoreResourceGroupPlacementRequest$Type extends MessageType<RestoreResourceGroupPlacementRequest> {
2200
+ constructor();
2201
+ create(value?: PartialMessage<RestoreResourceGroupPlacementRequest>): RestoreResourceGroupPlacementRequest;
2202
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RestoreResourceGroupPlacementRequest): RestoreResourceGroupPlacementRequest;
2203
+ internalBinaryWrite(message: RestoreResourceGroupPlacementRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2204
+ }
2205
+ /**
2206
+ * @generated MessageType for protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementRequest
2207
+ */
2208
+ export declare const RestoreResourceGroupPlacementRequest: RestoreResourceGroupPlacementRequest$Type;
2209
+ declare class RestoreResourceGroupPlacementResponse$Type extends MessageType<RestoreResourceGroupPlacementResponse> {
2210
+ constructor();
2211
+ create(value?: PartialMessage<RestoreResourceGroupPlacementResponse>): RestoreResourceGroupPlacementResponse;
2212
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RestoreResourceGroupPlacementResponse): RestoreResourceGroupPlacementResponse;
2213
+ internalBinaryWrite(message: RestoreResourceGroupPlacementResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2214
+ }
2215
+ /**
2216
+ * @generated MessageType for protobuf message replit.goval.api.lore.RestoreResourceGroupPlacementResponse
2217
+ */
2218
+ export declare const RestoreResourceGroupPlacementResponse: RestoreResourceGroupPlacementResponse$Type;
2039
2219
  declare class BatchGetCellByResourceGroupRequest$Type extends MessageType<BatchGetCellByResourceGroupRequest> {
2040
2220
  constructor();
2041
2221
  create(value?: PartialMessage<BatchGetCellByResourceGroupRequest>): BatchGetCellByResourceGroupRequest;
@@ -2406,6 +2586,26 @@ declare class SetOrgHomeCellResponse$Type extends MessageType<SetOrgHomeCellResp
2406
2586
  * @generated MessageType for protobuf message replit.goval.api.lore.SetOrgHomeCellResponse
2407
2587
  */
2408
2588
  export declare const SetOrgHomeCellResponse: SetOrgHomeCellResponse$Type;
2589
+ declare class PatchOrgHomeCellRequest$Type extends MessageType<PatchOrgHomeCellRequest> {
2590
+ constructor();
2591
+ create(value?: PartialMessage<PatchOrgHomeCellRequest>): PatchOrgHomeCellRequest;
2592
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchOrgHomeCellRequest): PatchOrgHomeCellRequest;
2593
+ internalBinaryWrite(message: PatchOrgHomeCellRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2594
+ }
2595
+ /**
2596
+ * @generated MessageType for protobuf message replit.goval.api.lore.PatchOrgHomeCellRequest
2597
+ */
2598
+ export declare const PatchOrgHomeCellRequest: PatchOrgHomeCellRequest$Type;
2599
+ declare class PatchOrgHomeCellResponse$Type extends MessageType<PatchOrgHomeCellResponse> {
2600
+ constructor();
2601
+ create(value?: PartialMessage<PatchOrgHomeCellResponse>): PatchOrgHomeCellResponse;
2602
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PatchOrgHomeCellResponse): PatchOrgHomeCellResponse;
2603
+ internalBinaryWrite(message: PatchOrgHomeCellResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2604
+ }
2605
+ /**
2606
+ * @generated MessageType for protobuf message replit.goval.api.lore.PatchOrgHomeCellResponse
2607
+ */
2608
+ export declare const PatchOrgHomeCellResponse: PatchOrgHomeCellResponse$Type;
2409
2609
  declare class DeleteOrgHomeCellRequest$Type extends MessageType<DeleteOrgHomeCellRequest> {
2410
2610
  constructor();
2411
2611
  create(value?: PartialMessage<DeleteOrgHomeCellRequest>): DeleteOrgHomeCellRequest;