@replit/protocol 0.2.88 → 0.2.90

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.
package/main/index.d.ts CHANGED
@@ -518,6 +518,9 @@ export namespace replit {
518
518
  /** Command replspaceApiGitHubToken */
519
519
  replspaceApiGitHubToken?: (replit.goval.api.ReplspaceApiGitHubToken|replit.goval.api.IReplspaceApiGitHubToken|null);
520
520
 
521
+ /** Command focused */
522
+ focused?: (replit.goval.api.Focused|replit.goval.api.IFocused|null);
523
+
521
524
  /** Command ref */
522
525
  ref?: (string|null);
523
526
 
@@ -1041,6 +1044,9 @@ export namespace replit {
1041
1044
  /** Command replspaceApiGitHubToken. */
1042
1045
  public replspaceApiGitHubToken?: (replit.goval.api.ReplspaceApiGitHubToken|null);
1043
1046
 
1047
+ /** Command focused. */
1048
+ public focused?: (replit.goval.api.Focused|null);
1049
+
1044
1050
  /** Command ref. */
1045
1051
  public ref: string;
1046
1052
 
@@ -1048,7 +1054,7 @@ export namespace replit {
1048
1054
  public traceInfo: { [k: string]: string };
1049
1055
 
1050
1056
  /** Command body. */
1051
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken");
1057
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused");
1052
1058
 
1053
1059
  /**
1054
1060
  * Creates a new Command instance using the specified properties.
@@ -11523,6 +11529,90 @@ export namespace replit {
11523
11529
  public toJSON(): { [k: string]: any };
11524
11530
  }
11525
11531
 
11532
+ /** Properties of a Focused. */
11533
+ interface IFocused {
11534
+ }
11535
+
11536
+ /** Represents a Focused. */
11537
+ class Focused {
11538
+
11539
+ /**
11540
+ * Constructs a new Focused.
11541
+ * @param [properties] Properties to set
11542
+ */
11543
+ private constructor(properties?: replit.goval.api.IFocused);
11544
+
11545
+ /**
11546
+ * Creates a new Focused instance using the specified properties.
11547
+ * @param [properties] Properties to set
11548
+ * @returns Focused instance
11549
+ */
11550
+ public static create(properties?: replit.goval.api.IFocused): replit.goval.api.Focused;
11551
+
11552
+ /**
11553
+ * Encodes the specified Focused message. Does not implicitly {@link replit.goval.api.Focused.verify|verify} messages.
11554
+ * @param message Focused message or plain object to encode
11555
+ * @param [writer] Writer to encode to
11556
+ * @returns Writer
11557
+ */
11558
+ public static encode(message: replit.goval.api.Focused, writer?: $protobuf.Writer): $protobuf.Writer;
11559
+
11560
+ /**
11561
+ * Encodes the specified Focused message, length delimited. Does not implicitly {@link replit.goval.api.Focused.verify|verify} messages.
11562
+ * @param message Focused message or plain object to encode
11563
+ * @param [writer] Writer to encode to
11564
+ * @returns Writer
11565
+ */
11566
+ public static encodeDelimited(message: replit.goval.api.Focused, writer?: $protobuf.Writer): $protobuf.Writer;
11567
+
11568
+ /**
11569
+ * Decodes a Focused message from the specified reader or buffer.
11570
+ * @param reader Reader or buffer to decode from
11571
+ * @param [length] Message length if known beforehand
11572
+ * @returns Focused
11573
+ * @throws {Error} If the payload is not a reader or valid buffer
11574
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11575
+ */
11576
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Focused;
11577
+
11578
+ /**
11579
+ * Decodes a Focused message from the specified reader or buffer, length delimited.
11580
+ * @param reader Reader or buffer to decode from
11581
+ * @returns Focused
11582
+ * @throws {Error} If the payload is not a reader or valid buffer
11583
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11584
+ */
11585
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Focused;
11586
+
11587
+ /**
11588
+ * Verifies a Focused message.
11589
+ * @param message Plain object to verify
11590
+ * @returns `null` if valid, otherwise the reason why it is not
11591
+ */
11592
+ public static verify(message: { [k: string]: any }): (string|null);
11593
+
11594
+ /**
11595
+ * Creates a Focused message from a plain object. Also converts values to their respective internal types.
11596
+ * @param object Plain object
11597
+ * @returns Focused
11598
+ */
11599
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.Focused;
11600
+
11601
+ /**
11602
+ * Creates a plain object from a Focused message. Also converts values to other types if specified.
11603
+ * @param message Focused
11604
+ * @param [options] Conversion options
11605
+ * @returns Plain object
11606
+ */
11607
+ public static toObject(message: replit.goval.api.Focused, options?: $protobuf.IConversionOptions): { [k: string]: any };
11608
+
11609
+ /**
11610
+ * Converts this Focused to JSON.
11611
+ * @returns JSON object
11612
+ */
11613
+ public toJSON(): { [k: string]: any };
11614
+ }
11615
+
11526
11616
  /** Properties of an UpdateSessionTimestamp. */
11527
11617
  interface IUpdateSessionTimestamp {
11528
11618
  }
@@ -19364,6 +19454,9 @@ export namespace replit {
19364
19454
 
19365
19455
  /** ClusterMetadata proxy */
19366
19456
  proxy?: (string|null);
19457
+
19458
+ /** ClusterMetadata continent */
19459
+ continent?: (string|null);
19367
19460
  }
19368
19461
 
19369
19462
  /** Represents a ClusterMetadata. */
@@ -19387,6 +19480,9 @@ export namespace replit {
19387
19480
  /** ClusterMetadata proxy. */
19388
19481
  public proxy: string;
19389
19482
 
19483
+ /** ClusterMetadata continent. */
19484
+ public continent: string;
19485
+
19390
19486
  /**
19391
19487
  * Creates a new ClusterMetadata instance using the specified properties.
19392
19488
  * @param [properties] Properties to set
@@ -20369,6 +20465,9 @@ export namespace replit {
20369
20465
  /** ClusterTransfer newClusterId */
20370
20466
  newClusterId?: (string|null);
20371
20467
 
20468
+ /** ClusterTransfer newContinentId */
20469
+ newContinentId?: (string|null);
20470
+
20372
20471
  /** ClusterTransfer transferId */
20373
20472
  transferId?: (string|null);
20374
20473
  }
@@ -20389,11 +20488,17 @@ export namespace replit {
20389
20488
  public user: string;
20390
20489
 
20391
20490
  /** ClusterTransfer newClusterId. */
20392
- public newClusterId: string;
20491
+ public newClusterId?: (string|null);
20492
+
20493
+ /** ClusterTransfer newContinentId. */
20494
+ public newContinentId?: (string|null);
20393
20495
 
20394
20496
  /** ClusterTransfer transferId. */
20395
20497
  public transferId: string;
20396
20498
 
20499
+ /** ClusterTransfer location. */
20500
+ public location?: ("newClusterId"|"newContinentId");
20501
+
20397
20502
  /**
20398
20503
  * Creates a new ClusterTransfer instance using the specified properties.
20399
20504
  * @param [properties] Properties to set
package/main/index.js CHANGED
@@ -218,6 +218,7 @@
218
218
  * @property {replit.goval.api.ReplspaceApiCloseFile|replit.goval.api.IReplspaceApiCloseFile|null} [replspaceApiCloseFile] Command replspaceApiCloseFile
219
219
  * @property {replit.goval.api.ReplspaceApiGetGitHubToken|replit.goval.api.IReplspaceApiGetGitHubToken|null} [replspaceApiGetGitHubToken] Command replspaceApiGetGitHubToken
220
220
  * @property {replit.goval.api.ReplspaceApiGitHubToken|replit.goval.api.IReplspaceApiGitHubToken|null} [replspaceApiGitHubToken] Command replspaceApiGitHubToken
221
+ * @property {replit.goval.api.Focused|replit.goval.api.IFocused|null} [focused] Command focused
221
222
  * @property {string|null} [ref] Command ref
222
223
  * @property {Object.<string,string>|null} [traceInfo] Command traceInfo
223
224
  */
@@ -1589,6 +1590,14 @@
1589
1590
  */
1590
1591
  Command.prototype.replspaceApiGitHubToken = null;
1591
1592
 
1593
+ /**
1594
+ * Command focused.
1595
+ * @member {replit.goval.api.Focused|null|undefined} focused
1596
+ * @memberof replit.goval.api.Command
1597
+ * @instance
1598
+ */
1599
+ Command.prototype.focused = null;
1600
+
1592
1601
  /**
1593
1602
  * Command ref.
1594
1603
  * @member {string} ref
@@ -1610,12 +1619,12 @@
1610
1619
 
1611
1620
  /**
1612
1621
  * Command body.
1613
- * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|undefined} body
1622
+ * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|undefined} body
1614
1623
  * @memberof replit.goval.api.Command
1615
1624
  * @instance
1616
1625
  */
1617
1626
  Object.defineProperty(Command.prototype, "body", {
1618
- get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "alwaysOn", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "record", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageRemove", "packageInstall", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken"]),
1627
+ get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "alwaysOn", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "record", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageRemove", "packageInstall", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused"]),
1619
1628
  set: $util.oneOfSetter($oneOfFields)
1620
1629
  });
1621
1630
 
@@ -1981,6 +1990,8 @@
1981
1990
  $root.replit.goval.api.ReplspaceApiGetGitHubToken.encode(message.replspaceApiGetGitHubToken, writer.uint32(/* id 426, wireType 2 =*/3410).fork()).ldelim();
1982
1991
  if (message.replspaceApiGitHubToken != null && Object.hasOwnProperty.call(message, "replspaceApiGitHubToken"))
1983
1992
  $root.replit.goval.api.ReplspaceApiGitHubToken.encode(message.replspaceApiGitHubToken, writer.uint32(/* id 427, wireType 2 =*/3418).fork()).ldelim();
1993
+ if (message.focused != null && Object.hasOwnProperty.call(message, "focused"))
1994
+ $root.replit.goval.api.Focused.encode(message.focused, writer.uint32(/* id 428, wireType 2 =*/3426).fork()).ldelim();
1984
1995
  if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
1985
1996
  writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
1986
1997
  if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
@@ -2527,6 +2538,9 @@
2527
2538
  case 427:
2528
2539
  message.replspaceApiGitHubToken = $root.replit.goval.api.ReplspaceApiGitHubToken.decode(reader, reader.uint32());
2529
2540
  break;
2541
+ case 428:
2542
+ message.focused = $root.replit.goval.api.Focused.decode(reader, reader.uint32());
2543
+ break;
2530
2544
  case 1000:
2531
2545
  message.ref = reader.string();
2532
2546
  break;
@@ -4231,6 +4245,16 @@
4231
4245
  return "replspaceApiGitHubToken." + error;
4232
4246
  }
4233
4247
  }
4248
+ if (message.focused != null && message.hasOwnProperty("focused")) {
4249
+ if (properties.body === 1)
4250
+ return "body: multiple values";
4251
+ properties.body = 1;
4252
+ {
4253
+ var error = $root.replit.goval.api.Focused.verify(message.focused);
4254
+ if (error)
4255
+ return "focused." + error;
4256
+ }
4257
+ }
4234
4258
  if (message.ref != null && message.hasOwnProperty("ref"))
4235
4259
  if (!$util.isString(message.ref))
4236
4260
  return "ref: string expected";
@@ -5068,6 +5092,11 @@
5068
5092
  throw TypeError(".replit.goval.api.Command.replspaceApiGitHubToken: object expected");
5069
5093
  message.replspaceApiGitHubToken = $root.replit.goval.api.ReplspaceApiGitHubToken.fromObject(object.replspaceApiGitHubToken);
5070
5094
  }
5095
+ if (object.focused != null) {
5096
+ if (typeof object.focused !== "object")
5097
+ throw TypeError(".replit.goval.api.Command.focused: object expected");
5098
+ message.focused = $root.replit.goval.api.Focused.fromObject(object.focused);
5099
+ }
5071
5100
  if (object.ref != null)
5072
5101
  message.ref = String(object.ref);
5073
5102
  if (object.traceInfo) {
@@ -5939,6 +5968,11 @@
5939
5968
  if (options.oneofs)
5940
5969
  object.body = "replspaceApiGitHubToken";
5941
5970
  }
5971
+ if (message.focused != null && message.hasOwnProperty("focused")) {
5972
+ object.focused = $root.replit.goval.api.Focused.toObject(message.focused, options);
5973
+ if (options.oneofs)
5974
+ object.body = "focused";
5975
+ }
5942
5976
  if (message.ref != null && message.hasOwnProperty("ref"))
5943
5977
  object.ref = message.ref;
5944
5978
  var keys2;
@@ -29638,6 +29672,165 @@
29638
29672
  return ReplspaceApiGitHubToken;
29639
29673
  })();
29640
29674
 
29675
+ api.Focused = (function() {
29676
+
29677
+ /**
29678
+ * Properties of a Focused.
29679
+ * @memberof replit.goval.api
29680
+ * @interface IFocused
29681
+ */
29682
+
29683
+ /**
29684
+ * Constructs a new Focused.
29685
+ * @memberof replit.goval.api
29686
+ * @classdesc Represents a Focused.
29687
+ * @constructor
29688
+ * @param {replit.goval.api.IFocused=} [properties] Properties to set
29689
+ */
29690
+ function Focused(properties) {
29691
+ if (properties)
29692
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
29693
+ if (properties[keys[i]] != null)
29694
+ this[keys[i]] = properties[keys[i]];
29695
+ }
29696
+
29697
+ /**
29698
+ * Creates a new Focused instance using the specified properties.
29699
+ * @function create
29700
+ * @memberof replit.goval.api.Focused
29701
+ * @static
29702
+ * @param {replit.goval.api.IFocused=} [properties] Properties to set
29703
+ * @returns {replit.goval.api.Focused} Focused instance
29704
+ */
29705
+ Focused.create = function create(properties) {
29706
+ return Focused.fromObject(properties);
29707
+ };
29708
+
29709
+ /**
29710
+ * Encodes the specified Focused message. Does not implicitly {@link replit.goval.api.Focused.verify|verify} messages.
29711
+ * @function encode
29712
+ * @memberof replit.goval.api.Focused
29713
+ * @static
29714
+ * @param {replit.goval.api.Focused} message Focused message or plain object to encode
29715
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29716
+ * @returns {$protobuf.Writer} Writer
29717
+ */
29718
+ Focused.encode = function encode(message, writer) {
29719
+ if (!writer)
29720
+ writer = $Writer.create();
29721
+ return writer;
29722
+ };
29723
+
29724
+ /**
29725
+ * Encodes the specified Focused message, length delimited. Does not implicitly {@link replit.goval.api.Focused.verify|verify} messages.
29726
+ * @function encodeDelimited
29727
+ * @memberof replit.goval.api.Focused
29728
+ * @static
29729
+ * @param {replit.goval.api.Focused} message Focused message or plain object to encode
29730
+ * @param {$protobuf.Writer} [writer] Writer to encode to
29731
+ * @returns {$protobuf.Writer} Writer
29732
+ */
29733
+ Focused.encodeDelimited = function encodeDelimited(message, writer) {
29734
+ return this.encode(message, writer).ldelim();
29735
+ };
29736
+
29737
+ /**
29738
+ * Decodes a Focused message from the specified reader or buffer.
29739
+ * @function decode
29740
+ * @memberof replit.goval.api.Focused
29741
+ * @static
29742
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29743
+ * @param {number} [length] Message length if known beforehand
29744
+ * @returns {replit.goval.api.Focused} Focused
29745
+ * @throws {Error} If the payload is not a reader or valid buffer
29746
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29747
+ */
29748
+ Focused.decode = function decode(reader, length) {
29749
+ if (!(reader instanceof $Reader))
29750
+ reader = $Reader.create(reader);
29751
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.Focused();
29752
+ while (reader.pos < end) {
29753
+ var tag = reader.uint32();
29754
+ switch (tag >>> 3) {
29755
+ default:
29756
+ reader.skipType(tag & 7);
29757
+ break;
29758
+ }
29759
+ }
29760
+ return message;
29761
+ };
29762
+
29763
+ /**
29764
+ * Decodes a Focused message from the specified reader or buffer, length delimited.
29765
+ * @function decodeDelimited
29766
+ * @memberof replit.goval.api.Focused
29767
+ * @static
29768
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
29769
+ * @returns {replit.goval.api.Focused} Focused
29770
+ * @throws {Error} If the payload is not a reader or valid buffer
29771
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29772
+ */
29773
+ Focused.decodeDelimited = function decodeDelimited(reader) {
29774
+ if (!(reader instanceof $Reader))
29775
+ reader = new $Reader(reader);
29776
+ return this.decode(reader, reader.uint32());
29777
+ };
29778
+
29779
+ /**
29780
+ * Verifies a Focused message.
29781
+ * @function verify
29782
+ * @memberof replit.goval.api.Focused
29783
+ * @static
29784
+ * @param {Object.<string,*>} message Plain object to verify
29785
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
29786
+ */
29787
+ Focused.verify = function verify(message) {
29788
+ if (typeof message !== "object" || message === null)
29789
+ return "object expected";
29790
+ return null;
29791
+ };
29792
+
29793
+ /**
29794
+ * Creates a Focused message from a plain object. Also converts values to their respective internal types.
29795
+ * @function fromObject
29796
+ * @memberof replit.goval.api.Focused
29797
+ * @static
29798
+ * @param {Object.<string,*>} object Plain object
29799
+ * @returns {replit.goval.api.Focused} Focused
29800
+ */
29801
+ Focused.fromObject = function fromObject(object) {
29802
+ if (object instanceof $root.replit.goval.api.Focused)
29803
+ return object;
29804
+ return new $root.replit.goval.api.Focused();
29805
+ };
29806
+
29807
+ /**
29808
+ * Creates a plain object from a Focused message. Also converts values to other types if specified.
29809
+ * @function toObject
29810
+ * @memberof replit.goval.api.Focused
29811
+ * @static
29812
+ * @param {replit.goval.api.Focused} message Focused
29813
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
29814
+ * @returns {Object.<string,*>} Plain object
29815
+ */
29816
+ Focused.toObject = function toObject() {
29817
+ return {};
29818
+ };
29819
+
29820
+ /**
29821
+ * Converts this Focused to JSON.
29822
+ * @function toJSON
29823
+ * @memberof replit.goval.api.Focused
29824
+ * @instance
29825
+ * @returns {Object.<string,*>} JSON object
29826
+ */
29827
+ Focused.prototype.toJSON = function toJSON() {
29828
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
29829
+ };
29830
+
29831
+ return Focused;
29832
+ })();
29833
+
29641
29834
  api.UpdateSessionTimestamp = (function() {
29642
29835
 
29643
29836
  /**
@@ -48243,6 +48436,7 @@
48243
48436
  * @property {string|null} [conmanURL] ClusterMetadata conmanURL
48244
48437
  * @property {string|null} [gurl] ClusterMetadata gurl
48245
48438
  * @property {string|null} [proxy] ClusterMetadata proxy
48439
+ * @property {string|null} [continent] ClusterMetadata continent
48246
48440
  */
48247
48441
 
48248
48442
  /**
@@ -48291,6 +48485,14 @@
48291
48485
  */
48292
48486
  ClusterMetadata.prototype.proxy = "";
48293
48487
 
48488
+ /**
48489
+ * ClusterMetadata continent.
48490
+ * @member {string} continent
48491
+ * @memberof replit.goval.api.ClusterMetadata
48492
+ * @instance
48493
+ */
48494
+ ClusterMetadata.prototype.continent = "";
48495
+
48294
48496
  /**
48295
48497
  * Creates a new ClusterMetadata instance using the specified properties.
48296
48498
  * @function create
@@ -48323,6 +48525,8 @@
48323
48525
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
48324
48526
  if (message.proxy != null && Object.hasOwnProperty.call(message, "proxy"))
48325
48527
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.proxy);
48528
+ if (message.continent != null && Object.hasOwnProperty.call(message, "continent"))
48529
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.continent);
48326
48530
  return writer;
48327
48531
  };
48328
48532
 
@@ -48369,6 +48573,9 @@
48369
48573
  case 5:
48370
48574
  message.proxy = reader.string();
48371
48575
  break;
48576
+ case 7:
48577
+ message.continent = reader.string();
48578
+ break;
48372
48579
  default:
48373
48580
  reader.skipType(tag & 7);
48374
48581
  break;
@@ -48416,6 +48623,9 @@
48416
48623
  if (message.proxy != null && message.hasOwnProperty("proxy"))
48417
48624
  if (!$util.isString(message.proxy))
48418
48625
  return "proxy: string expected";
48626
+ if (message.continent != null && message.hasOwnProperty("continent"))
48627
+ if (!$util.isString(message.continent))
48628
+ return "continent: string expected";
48419
48629
  return null;
48420
48630
  };
48421
48631
 
@@ -48439,6 +48649,8 @@
48439
48649
  message.gurl = String(object.gurl);
48440
48650
  if (object.proxy != null)
48441
48651
  message.proxy = String(object.proxy);
48652
+ if (object.continent != null)
48653
+ message.continent = String(object.continent);
48442
48654
  return message;
48443
48655
  };
48444
48656
 
@@ -48460,6 +48672,7 @@
48460
48672
  object.conmanURL = "";
48461
48673
  object.gurl = "";
48462
48674
  object.proxy = "";
48675
+ object.continent = "";
48463
48676
  }
48464
48677
  if (message.id != null && message.hasOwnProperty("id"))
48465
48678
  object.id = message.id;
@@ -48469,6 +48682,8 @@
48469
48682
  object.gurl = message.gurl;
48470
48683
  if (message.proxy != null && message.hasOwnProperty("proxy"))
48471
48684
  object.proxy = message.proxy;
48685
+ if (message.continent != null && message.hasOwnProperty("continent"))
48686
+ object.continent = message.continent;
48472
48687
  return object;
48473
48688
  };
48474
48689
 
@@ -50849,6 +51064,7 @@
50849
51064
  * @property {string|null} [replId] ClusterTransfer replId
50850
51065
  * @property {string|null} [user] ClusterTransfer user
50851
51066
  * @property {string|null} [newClusterId] ClusterTransfer newClusterId
51067
+ * @property {string|null} [newContinentId] ClusterTransfer newContinentId
50852
51068
  * @property {string|null} [transferId] ClusterTransfer transferId
50853
51069
  */
50854
51070
 
@@ -50884,11 +51100,19 @@
50884
51100
 
50885
51101
  /**
50886
51102
  * ClusterTransfer newClusterId.
50887
- * @member {string} newClusterId
51103
+ * @member {string|null|undefined} newClusterId
51104
+ * @memberof replit.goval.api.ClusterTransfer
51105
+ * @instance
51106
+ */
51107
+ ClusterTransfer.prototype.newClusterId = null;
51108
+
51109
+ /**
51110
+ * ClusterTransfer newContinentId.
51111
+ * @member {string|null|undefined} newContinentId
50888
51112
  * @memberof replit.goval.api.ClusterTransfer
50889
51113
  * @instance
50890
51114
  */
50891
- ClusterTransfer.prototype.newClusterId = "";
51115
+ ClusterTransfer.prototype.newContinentId = null;
50892
51116
 
50893
51117
  /**
50894
51118
  * ClusterTransfer transferId.
@@ -50898,6 +51122,20 @@
50898
51122
  */
50899
51123
  ClusterTransfer.prototype.transferId = "";
50900
51124
 
51125
+ // OneOf field names bound to virtual getters and setters
51126
+ var $oneOfFields;
51127
+
51128
+ /**
51129
+ * ClusterTransfer location.
51130
+ * @member {"newClusterId"|"newContinentId"|undefined} location
51131
+ * @memberof replit.goval.api.ClusterTransfer
51132
+ * @instance
51133
+ */
51134
+ Object.defineProperty(ClusterTransfer.prototype, "location", {
51135
+ get: $util.oneOfGetter($oneOfFields = ["newClusterId", "newContinentId"]),
51136
+ set: $util.oneOfSetter($oneOfFields)
51137
+ });
51138
+
50901
51139
  /**
50902
51140
  * Creates a new ClusterTransfer instance using the specified properties.
50903
51141
  * @function create
@@ -50930,6 +51168,8 @@
50930
51168
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.newClusterId);
50931
51169
  if (message.transferId != null && Object.hasOwnProperty.call(message, "transferId"))
50932
51170
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.transferId);
51171
+ if (message.newContinentId != null && Object.hasOwnProperty.call(message, "newContinentId"))
51172
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.newContinentId);
50933
51173
  return writer;
50934
51174
  };
50935
51175
 
@@ -50973,6 +51213,9 @@
50973
51213
  case 3:
50974
51214
  message.newClusterId = reader.string();
50975
51215
  break;
51216
+ case 5:
51217
+ message.newContinentId = reader.string();
51218
+ break;
50976
51219
  case 4:
50977
51220
  message.transferId = reader.string();
50978
51221
  break;
@@ -51011,15 +51254,25 @@
51011
51254
  ClusterTransfer.verify = function verify(message) {
51012
51255
  if (typeof message !== "object" || message === null)
51013
51256
  return "object expected";
51257
+ var properties = {};
51014
51258
  if (message.replId != null && message.hasOwnProperty("replId"))
51015
51259
  if (!$util.isString(message.replId))
51016
51260
  return "replId: string expected";
51017
51261
  if (message.user != null && message.hasOwnProperty("user"))
51018
51262
  if (!$util.isString(message.user))
51019
51263
  return "user: string expected";
51020
- if (message.newClusterId != null && message.hasOwnProperty("newClusterId"))
51264
+ if (message.newClusterId != null && message.hasOwnProperty("newClusterId")) {
51265
+ properties.location = 1;
51021
51266
  if (!$util.isString(message.newClusterId))
51022
51267
  return "newClusterId: string expected";
51268
+ }
51269
+ if (message.newContinentId != null && message.hasOwnProperty("newContinentId")) {
51270
+ if (properties.location === 1)
51271
+ return "location: multiple values";
51272
+ properties.location = 1;
51273
+ if (!$util.isString(message.newContinentId))
51274
+ return "newContinentId: string expected";
51275
+ }
51023
51276
  if (message.transferId != null && message.hasOwnProperty("transferId"))
51024
51277
  if (!$util.isString(message.transferId))
51025
51278
  return "transferId: string expected";
@@ -51044,6 +51297,8 @@
51044
51297
  message.user = String(object.user);
51045
51298
  if (object.newClusterId != null)
51046
51299
  message.newClusterId = String(object.newClusterId);
51300
+ if (object.newContinentId != null)
51301
+ message.newContinentId = String(object.newContinentId);
51047
51302
  if (object.transferId != null)
51048
51303
  message.transferId = String(object.transferId);
51049
51304
  return message;
@@ -51065,17 +51320,24 @@
51065
51320
  if (options.defaults) {
51066
51321
  object.replId = "";
51067
51322
  object.user = "";
51068
- object.newClusterId = "";
51069
51323
  object.transferId = "";
51070
51324
  }
51071
51325
  if (message.replId != null && message.hasOwnProperty("replId"))
51072
51326
  object.replId = message.replId;
51073
51327
  if (message.user != null && message.hasOwnProperty("user"))
51074
51328
  object.user = message.user;
51075
- if (message.newClusterId != null && message.hasOwnProperty("newClusterId"))
51329
+ if (message.newClusterId != null && message.hasOwnProperty("newClusterId")) {
51076
51330
  object.newClusterId = message.newClusterId;
51331
+ if (options.oneofs)
51332
+ object.location = "newClusterId";
51333
+ }
51077
51334
  if (message.transferId != null && message.hasOwnProperty("transferId"))
51078
51335
  object.transferId = message.transferId;
51336
+ if (message.newContinentId != null && message.hasOwnProperty("newContinentId")) {
51337
+ object.newContinentId = message.newContinentId;
51338
+ if (options.oneofs)
51339
+ object.location = "newContinentId";
51340
+ }
51079
51341
  return object;
51080
51342
  };
51081
51343
 
@@ -129,6 +129,7 @@ declare var npm$namespace$replit$goval$api: {|
129
129
  IReplspaceApiCloseFile: Class<replit$goval$api$IReplspaceApiCloseFile>,
130
130
  IReplspaceApiGetGitHubToken: Class<replit$goval$api$IReplspaceApiGetGitHubToken>,
131
131
  IReplspaceApiGitHubToken: Class<replit$goval$api$IReplspaceApiGitHubToken>,
132
+ IFocused: Class<replit$goval$api$IFocused>,
132
133
  IUpdateSessionTimestamp: Class<replit$goval$api$IUpdateSessionTimestamp>,
133
134
  ISessionTimestampUpdated: Class<replit$goval$api$ISessionTimestampUpdated>,
134
135
  IFollowUser: Class<replit$goval$api$IFollowUser>,
@@ -329,6 +330,7 @@ declare var npm$namespace$replit$goval$api: {|
329
330
  ReplspaceApiCloseFile: typeof replit$goval$api$ReplspaceApiCloseFile,
330
331
  ReplspaceApiGetGitHubToken: typeof replit$goval$api$ReplspaceApiGetGitHubToken,
331
332
  ReplspaceApiGitHubToken: typeof replit$goval$api$ReplspaceApiGitHubToken,
333
+ Focused: typeof replit$goval$api$Focused,
332
334
  UpdateSessionTimestamp: typeof replit$goval$api$UpdateSessionTimestamp,
333
335
  SessionTimestampUpdated: typeof replit$goval$api$SessionTimestampUpdated,
334
336
  FollowUser: typeof replit$goval$api$FollowUser,
@@ -1562,6 +1564,11 @@ declare type replit$goval$api$ICommand = {|
1562
1564
  | replit$goval$api$IReplspaceApiGitHubToken
1563
1565
  | null,
1564
1566
 
1567
+ /**
1568
+ * Command focused
1569
+ */
1570
+ focused?: replit$goval$api$Focused | replit$goval$api$IFocused | null,
1571
+
1565
1572
  /**
1566
1573
  * Command ref
1567
1574
  */
@@ -2430,6 +2437,11 @@ declare class replit$goval$api$Command {
2430
2437
  */
2431
2438
  replspaceApiGitHubToken?: replit$goval$api$ReplspaceApiGitHubToken | null;
2432
2439
 
2440
+ /**
2441
+ * Command focused.
2442
+ */
2443
+ focused?: replit$goval$api$Focused | null;
2444
+
2433
2445
  /**
2434
2446
  * Command ref.
2435
2447
  */
@@ -2612,7 +2624,8 @@ declare class replit$goval$api$Command {
2612
2624
  | "replspaceApiOpenFile"
2613
2625
  | "replspaceApiCloseFile"
2614
2626
  | "replspaceApiGetGitHubToken"
2615
- | "replspaceApiGitHubToken";
2627
+ | "replspaceApiGitHubToken"
2628
+ | "focused";
2616
2629
 
2617
2630
  /**
2618
2631
  * Creates a new Command instance using the specified properties.
@@ -16747,6 +16760,116 @@ declare class replit$goval$api$ReplspaceApiGitHubToken {
16747
16760
  |};
16748
16761
  }
16749
16762
 
16763
+ /**
16764
+ * Properties of a Focused.
16765
+ */
16766
+ declare type replit$goval$api$IFocused = {||};
16767
+
16768
+ /**
16769
+ * Represents a Focused.
16770
+ */
16771
+ declare class replit$goval$api$Focused {
16772
+ /**
16773
+ * Constructs a new Focused.
16774
+ * @param [properties] Properties to set
16775
+ */
16776
+ constructor(properties?: replit$goval$api$IFocused): this;
16777
+
16778
+ /**
16779
+ * Creates a new Focused instance using the specified properties.
16780
+ * @param [properties] Properties to set
16781
+ * @returns Focused instance
16782
+ */
16783
+ static create(
16784
+ properties?: replit$goval$api$IFocused
16785
+ ): replit$goval$api$Focused;
16786
+
16787
+ /**
16788
+ * [object Object],[object Object],[object Object]
16789
+ * @param message Focused message or plain object to encode
16790
+ * @param [writer] Writer to encode to
16791
+ * @returns Writer
16792
+ */
16793
+ static encode(
16794
+ message: replit$goval$api$Focused,
16795
+ writer?: $protobuf.Writer
16796
+ ): $protobuf.Writer;
16797
+
16798
+ /**
16799
+ * [object Object],[object Object],[object Object]
16800
+ * @param message Focused message or plain object to encode
16801
+ * @param [writer] Writer to encode to
16802
+ * @returns Writer
16803
+ */
16804
+ static encodeDelimited(
16805
+ message: replit$goval$api$Focused,
16806
+ writer?: $protobuf.Writer
16807
+ ): $protobuf.Writer;
16808
+
16809
+ /**
16810
+ * Decodes a Focused message from the specified reader or buffer.
16811
+ * @param reader Reader or buffer to decode from
16812
+ * @param [length] Message length if known beforehand
16813
+ * @returns Focused
16814
+ * @throws {Error} If the payload is not a reader or valid buffer
16815
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16816
+ */
16817
+ static decode(
16818
+ reader: $protobuf.Reader | Uint8Array,
16819
+ length?: number
16820
+ ): replit$goval$api$Focused;
16821
+
16822
+ /**
16823
+ * Decodes a Focused message from the specified reader or buffer, length delimited.
16824
+ * @param reader Reader or buffer to decode from
16825
+ * @returns Focused
16826
+ * @throws {Error} If the payload is not a reader or valid buffer
16827
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16828
+ */
16829
+ static decodeDelimited(
16830
+ reader: $protobuf.Reader | Uint8Array
16831
+ ): replit$goval$api$Focused;
16832
+
16833
+ /**
16834
+ * Verifies a Focused message.
16835
+ * @param message Plain object to verify
16836
+ * @returns `null` if valid, otherwise the reason why it is not
16837
+ */
16838
+ static verify(message: {|
16839
+ [k: string]: any,
16840
+ |}): string | null;
16841
+
16842
+ /**
16843
+ * Creates a Focused message from a plain object. Also converts values to their respective internal types.
16844
+ * @param object Plain object
16845
+ * @returns Focused
16846
+ */
16847
+ static fromObject(object: {|
16848
+ [k: string]: any,
16849
+ |}): replit$goval$api$Focused;
16850
+
16851
+ /**
16852
+ * Creates a plain object from a Focused message. Also converts values to other types if specified.
16853
+ * @param message Focused
16854
+ * @param [options] Conversion options
16855
+ * @returns Plain object
16856
+ */
16857
+ static toObject(
16858
+ message: replit$goval$api$Focused,
16859
+ options?: $protobuf.IConversionOptions
16860
+ ): {|
16861
+ [k: string]: any,
16862
+ |};
16863
+
16864
+ /**
16865
+ * Converts this Focused to JSON.
16866
+ * @returns JSON object
16867
+ */
16868
+ toJSON(): {|
16869
+ [k: string]: any,
16870
+ |};
16871
+ }
16872
+
16750
16873
  /**
16751
16874
  * Properties of an UpdateSessionTimestamp.
16752
16875
  */
@@ -27603,6 +27726,11 @@ declare type replit$goval$api$IClusterMetadata = {|
27603
27726
  * ClusterMetadata proxy
27604
27727
  */
27605
27728
  proxy?: string | null,
27729
+
27730
+ /**
27731
+ * ClusterMetadata continent
27732
+ */
27733
+ continent?: string | null,
27606
27734
  |};
27607
27735
 
27608
27736
  /**
@@ -27635,6 +27763,11 @@ declare class replit$goval$api$ClusterMetadata {
27635
27763
  */
27636
27764
  proxy: string;
27637
27765
 
27766
+ /**
27767
+ * ClusterMetadata continent.
27768
+ */
27769
+ continent: string;
27770
+
27638
27771
  /**
27639
27772
  * Creates a new ClusterMetadata instance using the specified properties.
27640
27773
  * @param [properties] Properties to set
@@ -29030,6 +29163,11 @@ declare type replit$goval$api$IClusterTransfer = {|
29030
29163
  */
29031
29164
  newClusterId?: string | null,
29032
29165
 
29166
+ /**
29167
+ * ClusterTransfer newContinentId
29168
+ */
29169
+ newContinentId?: string | null,
29170
+
29033
29171
  /**
29034
29172
  * ClusterTransfer transferId
29035
29173
  */
@@ -29059,13 +29197,23 @@ declare class replit$goval$api$ClusterTransfer {
29059
29197
  /**
29060
29198
  * ClusterTransfer newClusterId.
29061
29199
  */
29062
- newClusterId: string;
29200
+ newClusterId?: string | null;
29201
+
29202
+ /**
29203
+ * ClusterTransfer newContinentId.
29204
+ */
29205
+ newContinentId?: string | null;
29063
29206
 
29064
29207
  /**
29065
29208
  * ClusterTransfer transferId.
29066
29209
  */
29067
29210
  transferId: string;
29068
29211
 
29212
+ /**
29213
+ * ClusterTransfer location.
29214
+ */
29215
+ location?: "newClusterId" | "newContinentId";
29216
+
29069
29217
  /**
29070
29218
  * Creates a new ClusterTransfer instance using the specified properties.
29071
29219
  * @param [properties] Properties to set
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.88",
3
+ "version": "0.2.90",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",