@replit/protocol 0.3.47 → 0.3.49

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.js CHANGED
@@ -88,6 +88,7 @@
88
88
  * @property {replit.goval.api.File|replit.goval.api.IFile|null} [tryRemove] Command tryRemove
89
89
  * @property {replit.goval.api.File|replit.goval.api.IFile|null} [mkdir] Command mkdir
90
90
  * @property {replit.goval.api.File|replit.goval.api.IFile|null} [stat] Command stat
91
+ * @property {replit.goval.api.File|replit.goval.api.IFile|null} [resetNixFilesystem] Command resetNixFilesystem
91
92
  * @property {replit.goval.api.StatResult|replit.goval.api.IStatResult|null} [statRes] Command statRes
92
93
  * @property {replit.goval.api.TransferStart|replit.goval.api.ITransferStart|null} [transferStart] Command transferStart
93
94
  * @property {replit.goval.api.TransferChunk|replit.goval.api.ITransferChunk|null} [transferChunk] Command transferChunk
@@ -570,6 +571,14 @@
570
571
  */
571
572
  Command.prototype.stat = null;
572
573
 
574
+ /**
575
+ * Command resetNixFilesystem.
576
+ * @member {replit.goval.api.File|null|undefined} resetNixFilesystem
577
+ * @memberof replit.goval.api.Command
578
+ * @instance
579
+ */
580
+ Command.prototype.resetNixFilesystem = null;
581
+
573
582
  /**
574
583
  * Command statRes.
575
584
  * @member {replit.goval.api.StatResult|null|undefined} statRes
@@ -1799,12 +1808,12 @@
1799
1808
 
1800
1809
  /**
1801
1810
  * Command body.
1802
- * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"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"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|undefined} body
1811
+ * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|undefined} body
1803
1812
  * @memberof replit.goval.api.Command
1804
1813
  * @instance
1805
1814
  */
1806
1815
  Object.defineProperty(Command.prototype, "body", {
1807
- get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "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", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker"]),
1816
+ get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker"]),
1808
1817
  set: $util.oneOfSetter($oneOfFields)
1809
1818
  });
1810
1819
 
@@ -2210,6 +2219,8 @@
2210
2219
  $root.replit.goval.api.ShellMetadata.encode(message.shellMetadata, writer.uint32(/* id 447, wireType 2 =*/3578).fork()).ldelim();
2211
2220
  if (message.packageAddResponse != null && Object.hasOwnProperty.call(message, "packageAddResponse"))
2212
2221
  $root.replit.goval.api.PackageAddResponse.encode(message.packageAddResponse, writer.uint32(/* id 448, wireType 2 =*/3586).fork()).ldelim();
2222
+ if (message.resetNixFilesystem != null && Object.hasOwnProperty.call(message, "resetNixFilesystem"))
2223
+ $root.replit.goval.api.File.encode(message.resetNixFilesystem, writer.uint32(/* id 449, wireType 2 =*/3594).fork()).ldelim();
2213
2224
  if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
2214
2225
  writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
2215
2226
  if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
@@ -2407,6 +2418,10 @@
2407
2418
  message.stat = $root.replit.goval.api.File.decode(reader, reader.uint32());
2408
2419
  break;
2409
2420
  }
2421
+ case 449: {
2422
+ message.resetNixFilesystem = $root.replit.goval.api.File.decode(reader, reader.uint32());
2423
+ break;
2424
+ }
2410
2425
  case 369: {
2411
2426
  message.statRes = $root.replit.goval.api.StatResult.decode(reader, reader.uint32());
2412
2427
  break;
@@ -3423,6 +3438,16 @@
3423
3438
  return "stat." + error;
3424
3439
  }
3425
3440
  }
3441
+ if (message.resetNixFilesystem != null && message.hasOwnProperty("resetNixFilesystem")) {
3442
+ if (properties.body === 1)
3443
+ return "body: multiple values";
3444
+ properties.body = 1;
3445
+ {
3446
+ var error = $root.replit.goval.api.File.verify(message.resetNixFilesystem);
3447
+ if (error)
3448
+ return "resetNixFilesystem." + error;
3449
+ }
3450
+ }
3426
3451
  if (message.statRes != null && message.hasOwnProperty("statRes")) {
3427
3452
  if (properties.body === 1)
3428
3453
  return "body: multiple values";
@@ -5116,6 +5141,11 @@
5116
5141
  throw TypeError(".replit.goval.api.Command.stat: object expected");
5117
5142
  message.stat = $root.replit.goval.api.File.fromObject(object.stat);
5118
5143
  }
5144
+ if (object.resetNixFilesystem != null) {
5145
+ if (typeof object.resetNixFilesystem !== "object")
5146
+ throw TypeError(".replit.goval.api.Command.resetNixFilesystem: object expected");
5147
+ message.resetNixFilesystem = $root.replit.goval.api.File.fromObject(object.resetNixFilesystem);
5148
+ }
5119
5149
  if (object.statRes != null) {
5120
5150
  if (typeof object.statRes !== "object")
5121
5151
  throw TypeError(".replit.goval.api.Command.statRes: object expected");
@@ -6831,6 +6861,11 @@
6831
6861
  if (options.oneofs)
6832
6862
  object.body = "packageAddResponse";
6833
6863
  }
6864
+ if (message.resetNixFilesystem != null && message.hasOwnProperty("resetNixFilesystem")) {
6865
+ object.resetNixFilesystem = $root.replit.goval.api.File.toObject(message.resetNixFilesystem, options);
6866
+ if (options.oneofs)
6867
+ object.body = "resetNixFilesystem";
6868
+ }
6834
6869
  if (message.ref != null && message.hasOwnProperty("ref"))
6835
6870
  object.ref = message.ref;
6836
6871
  var keys2;
@@ -25384,6 +25419,7 @@
25384
25419
  * @property {string|null} [runnerId] RunMain runnerId
25385
25420
  * @property {boolean|null} [fromHosting] RunMain fromHosting
25386
25421
  * @property {string|null} [runID] RunMain runID
25422
+ * @property {number|null} [clientSession] RunMain clientSession
25387
25423
  */
25388
25424
 
25389
25425
  /**
@@ -25448,6 +25484,14 @@
25448
25484
  */
25449
25485
  RunMain.prototype.runID = "";
25450
25486
 
25487
+ /**
25488
+ * RunMain clientSession.
25489
+ * @member {number} clientSession
25490
+ * @memberof replit.goval.api.RunMain
25491
+ * @instance
25492
+ */
25493
+ RunMain.prototype.clientSession = 0;
25494
+
25451
25495
  /**
25452
25496
  * Creates a new RunMain instance using the specified properties.
25453
25497
  * @function create
@@ -25484,6 +25528,8 @@
25484
25528
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.fromHosting);
25485
25529
  if (message.runID != null && Object.hasOwnProperty.call(message, "runID"))
25486
25530
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.runID);
25531
+ if (message.clientSession != null && Object.hasOwnProperty.call(message, "clientSession"))
25532
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.clientSession);
25487
25533
  return writer;
25488
25534
  };
25489
25535
 
@@ -25542,6 +25588,10 @@
25542
25588
  message.runID = reader.string();
25543
25589
  break;
25544
25590
  }
25591
+ case 7: {
25592
+ message.clientSession = reader.int32();
25593
+ break;
25594
+ }
25545
25595
  default:
25546
25596
  reader.skipType(tag & 7);
25547
25597
  break;
@@ -25600,6 +25650,9 @@
25600
25650
  if (message.runID != null && message.hasOwnProperty("runID"))
25601
25651
  if (!$util.isString(message.runID))
25602
25652
  return "runID: string expected";
25653
+ if (message.clientSession != null && message.hasOwnProperty("clientSession"))
25654
+ if (!$util.isInteger(message.clientSession))
25655
+ return "clientSession: integer expected";
25603
25656
  return null;
25604
25657
  };
25605
25658
 
@@ -25641,6 +25694,8 @@
25641
25694
  message.fromHosting = Boolean(object.fromHosting);
25642
25695
  if (object.runID != null)
25643
25696
  message.runID = String(object.runID);
25697
+ if (object.clientSession != null)
25698
+ message.clientSession = object.clientSession | 0;
25644
25699
  return message;
25645
25700
  };
25646
25701
 
@@ -25664,6 +25719,7 @@
25664
25719
  object.runnerId = "";
25665
25720
  object.fromHosting = false;
25666
25721
  object.runID = "";
25722
+ object.clientSession = 0;
25667
25723
  }
25668
25724
  if (message.runMode != null && message.hasOwnProperty("runMode"))
25669
25725
  object.runMode = options.enums === String ? $root.replit.goval.api.RunMain.RunMode[message.runMode] === undefined ? message.runMode : $root.replit.goval.api.RunMain.RunMode[message.runMode] : message.runMode;
@@ -25677,6 +25733,8 @@
25677
25733
  object.fromHosting = message.fromHosting;
25678
25734
  if (message.runID != null && message.hasOwnProperty("runID"))
25679
25735
  object.runID = message.runID;
25736
+ if (message.clientSession != null && message.hasOwnProperty("clientSession"))
25737
+ object.clientSession = message.clientSession;
25680
25738
  return object;
25681
25739
  };
25682
25740
 
@@ -45383,6 +45441,7 @@
45383
45441
  * @property {replit.goval.api.RulesConfig|replit.goval.api.IRulesConfig|null} [rules] DotReplit rules
45384
45442
  * @property {replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null} [suggestions] DotReplit suggestions
45385
45443
  * @property {replit.goval.api.ObjectStorageConfig|replit.goval.api.IObjectStorageConfig|null} [objectStorage] DotReplit objectStorage
45444
+ * @property {replit.goval.api.AutoSaveConfig|replit.goval.api.IAutoSaveConfig|null} [autoSave] DotReplit autoSave
45386
45445
  */
45387
45446
 
45388
45447
  /**
@@ -45623,6 +45682,14 @@
45623
45682
  */
45624
45683
  DotReplit.prototype.objectStorage = null;
45625
45684
 
45685
+ /**
45686
+ * DotReplit autoSave.
45687
+ * @member {replit.goval.api.AutoSaveConfig|null|undefined} autoSave
45688
+ * @memberof replit.goval.api.DotReplit
45689
+ * @instance
45690
+ */
45691
+ DotReplit.prototype.autoSave = null;
45692
+
45626
45693
  /**
45627
45694
  * Creates a new DotReplit instance using the specified properties.
45628
45695
  * @function create
@@ -45711,6 +45778,8 @@
45711
45778
  $root.replit.goval.api.SuggestionsConfig.encode(message.suggestions, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
45712
45779
  if (message.objectStorage != null && Object.hasOwnProperty.call(message, "objectStorage"))
45713
45780
  $root.replit.goval.api.ObjectStorageConfig.encode(message.objectStorage, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim();
45781
+ if (message.autoSave != null && Object.hasOwnProperty.call(message, "autoSave"))
45782
+ $root.replit.goval.api.AutoSaveConfig.encode(message.autoSave, writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
45714
45783
  return writer;
45715
45784
  };
45716
45785
 
@@ -45903,6 +45972,10 @@
45903
45972
  message.objectStorage = $root.replit.goval.api.ObjectStorageConfig.decode(reader, reader.uint32());
45904
45973
  break;
45905
45974
  }
45975
+ case 28: {
45976
+ message.autoSave = $root.replit.goval.api.AutoSaveConfig.decode(reader, reader.uint32());
45977
+ break;
45978
+ }
45906
45979
  default:
45907
45980
  reader.skipType(tag & 7);
45908
45981
  break;
@@ -46093,6 +46166,11 @@
46093
46166
  if (error)
46094
46167
  return "objectStorage." + error;
46095
46168
  }
46169
+ if (message.autoSave != null && message.hasOwnProperty("autoSave")) {
46170
+ var error = $root.replit.goval.api.AutoSaveConfig.verify(message.autoSave);
46171
+ if (error)
46172
+ return "autoSave." + error;
46173
+ }
46096
46174
  return null;
46097
46175
  };
46098
46176
 
@@ -46262,6 +46340,11 @@
46262
46340
  throw TypeError(".replit.goval.api.DotReplit.objectStorage: object expected");
46263
46341
  message.objectStorage = $root.replit.goval.api.ObjectStorageConfig.fromObject(object.objectStorage);
46264
46342
  }
46343
+ if (object.autoSave != null) {
46344
+ if (typeof object.autoSave !== "object")
46345
+ throw TypeError(".replit.goval.api.DotReplit.autoSave: object expected");
46346
+ message.autoSave = $root.replit.goval.api.AutoSaveConfig.fromObject(object.autoSave);
46347
+ }
46265
46348
  return message;
46266
46349
  };
46267
46350
 
@@ -46310,6 +46393,7 @@
46310
46393
  object.rules = null;
46311
46394
  object.suggestions = null;
46312
46395
  object.objectStorage = null;
46396
+ object.autoSave = null;
46313
46397
  }
46314
46398
  if (message.run != null && message.hasOwnProperty("run"))
46315
46399
  object.run = $root.replit.goval.api.Exec.toObject(message.run, options);
@@ -46390,6 +46474,8 @@
46390
46474
  object.suggestions = $root.replit.goval.api.SuggestionsConfig.toObject(message.suggestions, options);
46391
46475
  if (message.objectStorage != null && message.hasOwnProperty("objectStorage"))
46392
46476
  object.objectStorage = $root.replit.goval.api.ObjectStorageConfig.toObject(message.objectStorage, options);
46477
+ if (message.autoSave != null && message.hasOwnProperty("autoSave"))
46478
+ object.autoSave = $root.replit.goval.api.AutoSaveConfig.toObject(message.autoSave, options);
46393
46479
  return object;
46394
46480
  };
46395
46481
 
@@ -47589,6 +47675,10 @@
47589
47675
  case 0:
47590
47676
  case 1:
47591
47677
  case 2:
47678
+ case 3:
47679
+ case 4:
47680
+ case 5:
47681
+ case 6:
47592
47682
  break;
47593
47683
  }
47594
47684
  if (message.publicDir != null && message.hasOwnProperty("publicDir"))
@@ -47658,6 +47748,22 @@
47658
47748
  case 2:
47659
47749
  message.target = 2;
47660
47750
  break;
47751
+ case "VM":
47752
+ case 3:
47753
+ message.target = 3;
47754
+ break;
47755
+ case "AUTOSCALE":
47756
+ case 4:
47757
+ message.target = 4;
47758
+ break;
47759
+ case "SCHEDULED":
47760
+ case 5:
47761
+ message.target = 5;
47762
+ break;
47763
+ case "EXTENSION":
47764
+ case 6:
47765
+ message.target = 6;
47766
+ break;
47661
47767
  }
47662
47768
  if (object.publicDir != null)
47663
47769
  message.publicDir = String(object.publicDir);
@@ -47764,12 +47870,20 @@
47764
47870
  * @property {number} GCE=0 GCE value
47765
47871
  * @property {number} CLOUDRUN=1 CLOUDRUN value
47766
47872
  * @property {number} STATIC=2 STATIC value
47873
+ * @property {number} VM=3 VM value
47874
+ * @property {number} AUTOSCALE=4 AUTOSCALE value
47875
+ * @property {number} SCHEDULED=5 SCHEDULED value
47876
+ * @property {number} EXTENSION=6 EXTENSION value
47767
47877
  */
47768
47878
  DeploymentConfig.Target = (function() {
47769
47879
  var valuesById = {}, values = Object.create(valuesById);
47770
47880
  values[valuesById[0] = "GCE"] = 0;
47771
47881
  values[valuesById[1] = "CLOUDRUN"] = 1;
47772
47882
  values[valuesById[2] = "STATIC"] = 2;
47883
+ values[valuesById[3] = "VM"] = 3;
47884
+ values[valuesById[4] = "AUTOSCALE"] = 4;
47885
+ values[valuesById[5] = "SCHEDULED"] = 5;
47886
+ values[valuesById[6] = "EXTENSION"] = 6;
47773
47887
  return values;
47774
47888
  })();
47775
47889
 
@@ -56378,6 +56492,208 @@
56378
56492
  return ObjectStorageConfig;
56379
56493
  })();
56380
56494
 
56495
+ api.AutoSaveConfig = (function() {
56496
+
56497
+ /**
56498
+ * Properties of an AutoSaveConfig.
56499
+ * @memberof replit.goval.api
56500
+ * @interface IAutoSaveConfig
56501
+ * @property {boolean|null} [disabled] AutoSaveConfig disabled
56502
+ */
56503
+
56504
+ /**
56505
+ * Constructs a new AutoSaveConfig.
56506
+ * @memberof replit.goval.api
56507
+ * @classdesc Represents an AutoSaveConfig.
56508
+ * @constructor
56509
+ * @param {replit.goval.api.IAutoSaveConfig=} [properties] Properties to set
56510
+ */
56511
+ function AutoSaveConfig(properties) {
56512
+ if (properties)
56513
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
56514
+ if (properties[keys[i]] != null)
56515
+ this[keys[i]] = properties[keys[i]];
56516
+ }
56517
+
56518
+ /**
56519
+ * AutoSaveConfig disabled.
56520
+ * @member {boolean} disabled
56521
+ * @memberof replit.goval.api.AutoSaveConfig
56522
+ * @instance
56523
+ */
56524
+ AutoSaveConfig.prototype.disabled = false;
56525
+
56526
+ /**
56527
+ * Creates a new AutoSaveConfig instance using the specified properties.
56528
+ * @function create
56529
+ * @memberof replit.goval.api.AutoSaveConfig
56530
+ * @static
56531
+ * @param {replit.goval.api.IAutoSaveConfig=} [properties] Properties to set
56532
+ * @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig instance
56533
+ */
56534
+ AutoSaveConfig.create = function create(properties) {
56535
+ return AutoSaveConfig.fromObject(properties);
56536
+ };
56537
+
56538
+ /**
56539
+ * Encodes the specified AutoSaveConfig message. Does not implicitly {@link replit.goval.api.AutoSaveConfig.verify|verify} messages.
56540
+ * @function encode
56541
+ * @memberof replit.goval.api.AutoSaveConfig
56542
+ * @static
56543
+ * @param {replit.goval.api.AutoSaveConfig} message AutoSaveConfig message or plain object to encode
56544
+ * @param {$protobuf.Writer} [writer] Writer to encode to
56545
+ * @returns {$protobuf.Writer} Writer
56546
+ */
56547
+ AutoSaveConfig.encode = function encode(message, writer) {
56548
+ if (!writer)
56549
+ writer = $Writer.create();
56550
+ if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled"))
56551
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.disabled);
56552
+ return writer;
56553
+ };
56554
+
56555
+ /**
56556
+ * Encodes the specified AutoSaveConfig message, length delimited. Does not implicitly {@link replit.goval.api.AutoSaveConfig.verify|verify} messages.
56557
+ * @function encodeDelimited
56558
+ * @memberof replit.goval.api.AutoSaveConfig
56559
+ * @static
56560
+ * @param {replit.goval.api.AutoSaveConfig} message AutoSaveConfig message or plain object to encode
56561
+ * @param {$protobuf.Writer} [writer] Writer to encode to
56562
+ * @returns {$protobuf.Writer} Writer
56563
+ */
56564
+ AutoSaveConfig.encodeDelimited = function encodeDelimited(message, writer) {
56565
+ return this.encode(message, writer).ldelim();
56566
+ };
56567
+
56568
+ /**
56569
+ * Decodes an AutoSaveConfig message from the specified reader or buffer.
56570
+ * @function decode
56571
+ * @memberof replit.goval.api.AutoSaveConfig
56572
+ * @static
56573
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
56574
+ * @param {number} [length] Message length if known beforehand
56575
+ * @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig
56576
+ * @throws {Error} If the payload is not a reader or valid buffer
56577
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
56578
+ */
56579
+ AutoSaveConfig.decode = function decode(reader, length) {
56580
+ if (!(reader instanceof $Reader))
56581
+ reader = $Reader.create(reader);
56582
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.AutoSaveConfig();
56583
+ while (reader.pos < end) {
56584
+ var tag = reader.uint32();
56585
+ switch (tag >>> 3) {
56586
+ case 1: {
56587
+ message.disabled = reader.bool();
56588
+ break;
56589
+ }
56590
+ default:
56591
+ reader.skipType(tag & 7);
56592
+ break;
56593
+ }
56594
+ }
56595
+ return message;
56596
+ };
56597
+
56598
+ /**
56599
+ * Decodes an AutoSaveConfig message from the specified reader or buffer, length delimited.
56600
+ * @function decodeDelimited
56601
+ * @memberof replit.goval.api.AutoSaveConfig
56602
+ * @static
56603
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
56604
+ * @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig
56605
+ * @throws {Error} If the payload is not a reader or valid buffer
56606
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
56607
+ */
56608
+ AutoSaveConfig.decodeDelimited = function decodeDelimited(reader) {
56609
+ if (!(reader instanceof $Reader))
56610
+ reader = new $Reader(reader);
56611
+ return this.decode(reader, reader.uint32());
56612
+ };
56613
+
56614
+ /**
56615
+ * Verifies an AutoSaveConfig message.
56616
+ * @function verify
56617
+ * @memberof replit.goval.api.AutoSaveConfig
56618
+ * @static
56619
+ * @param {Object.<string,*>} message Plain object to verify
56620
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
56621
+ */
56622
+ AutoSaveConfig.verify = function verify(message) {
56623
+ if (typeof message !== "object" || message === null)
56624
+ return "object expected";
56625
+ if (message.disabled != null && message.hasOwnProperty("disabled"))
56626
+ if (typeof message.disabled !== "boolean")
56627
+ return "disabled: boolean expected";
56628
+ return null;
56629
+ };
56630
+
56631
+ /**
56632
+ * Creates an AutoSaveConfig message from a plain object. Also converts values to their respective internal types.
56633
+ * @function fromObject
56634
+ * @memberof replit.goval.api.AutoSaveConfig
56635
+ * @static
56636
+ * @param {Object.<string,*>} object Plain object
56637
+ * @returns {replit.goval.api.AutoSaveConfig} AutoSaveConfig
56638
+ */
56639
+ AutoSaveConfig.fromObject = function fromObject(object) {
56640
+ if (object instanceof $root.replit.goval.api.AutoSaveConfig)
56641
+ return object;
56642
+ var message = new $root.replit.goval.api.AutoSaveConfig();
56643
+ if (object.disabled != null)
56644
+ message.disabled = Boolean(object.disabled);
56645
+ return message;
56646
+ };
56647
+
56648
+ /**
56649
+ * Creates a plain object from an AutoSaveConfig message. Also converts values to other types if specified.
56650
+ * @function toObject
56651
+ * @memberof replit.goval.api.AutoSaveConfig
56652
+ * @static
56653
+ * @param {replit.goval.api.AutoSaveConfig} message AutoSaveConfig
56654
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
56655
+ * @returns {Object.<string,*>} Plain object
56656
+ */
56657
+ AutoSaveConfig.toObject = function toObject(message, options) {
56658
+ if (!options)
56659
+ options = {};
56660
+ var object = {};
56661
+ if (options.defaults)
56662
+ object.disabled = false;
56663
+ if (message.disabled != null && message.hasOwnProperty("disabled"))
56664
+ object.disabled = message.disabled;
56665
+ return object;
56666
+ };
56667
+
56668
+ /**
56669
+ * Converts this AutoSaveConfig to JSON.
56670
+ * @function toJSON
56671
+ * @memberof replit.goval.api.AutoSaveConfig
56672
+ * @instance
56673
+ * @returns {Object.<string,*>} JSON object
56674
+ */
56675
+ AutoSaveConfig.prototype.toJSON = function toJSON() {
56676
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
56677
+ };
56678
+
56679
+ /**
56680
+ * Gets the default type url for AutoSaveConfig
56681
+ * @function getTypeUrl
56682
+ * @memberof replit.goval.api.AutoSaveConfig
56683
+ * @static
56684
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
56685
+ * @returns {string} The default type url
56686
+ */
56687
+ AutoSaveConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
56688
+ if (typeUrlPrefix === undefined) {
56689
+ typeUrlPrefix = "type.googleapis.com";
56690
+ }
56691
+ return typeUrlPrefix + "/replit.goval.api.AutoSaveConfig";
56692
+ };
56693
+
56694
+ return AutoSaveConfig;
56695
+ })();
56696
+
56381
56697
  api.ToolchainGetRequest = (function() {
56382
56698
 
56383
56699
  /**
@@ -82978,7 +83294,6 @@
82978
83294
  * @property {number|null} [scratchDisk] ResourceLimits scratchDisk
82979
83295
  * @property {replit.goval.api.repl.ResourceLimits.Cachability|null} [cache] ResourceLimits cache
82980
83296
  * @property {boolean|null} [restrictNetwork] ResourceLimits restrictNetwork
82981
- * @property {boolean|null} [preventWakeup] ResourceLimits preventWakeup
82982
83297
  */
82983
83298
 
82984
83299
  /**
@@ -83067,14 +83382,6 @@
83067
83382
  */
83068
83383
  ResourceLimits.prototype.restrictNetwork = false;
83069
83384
 
83070
- /**
83071
- * ResourceLimits preventWakeup.
83072
- * @member {boolean} preventWakeup
83073
- * @memberof replit.goval.api.repl.ResourceLimits
83074
- * @instance
83075
- */
83076
- ResourceLimits.prototype.preventWakeup = false;
83077
-
83078
83385
  /**
83079
83386
  * Creates a new ResourceLimits instance using the specified properties.
83080
83387
  * @function create
@@ -83113,8 +83420,6 @@
83113
83420
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.cache);
83114
83421
  if (message.restrictNetwork != null && Object.hasOwnProperty.call(message, "restrictNetwork"))
83115
83422
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.restrictNetwork);
83116
- if (message.preventWakeup != null && Object.hasOwnProperty.call(message, "preventWakeup"))
83117
- writer.uint32(/* id 8, wireType 0 =*/64).bool(message.preventWakeup);
83118
83423
  if (message.scratchDisk != null && Object.hasOwnProperty.call(message, "scratchDisk"))
83119
83424
  writer.uint32(/* id 9, wireType 0 =*/72).int64(message.scratchDisk);
83120
83425
  if (message.minimumDisk != null && Object.hasOwnProperty.call(message, "minimumDisk"))
@@ -83189,10 +83494,6 @@
83189
83494
  message.restrictNetwork = reader.bool();
83190
83495
  break;
83191
83496
  }
83192
- case 8: {
83193
- message.preventWakeup = reader.bool();
83194
- break;
83195
- }
83196
83497
  default:
83197
83498
  reader.skipType(tag & 7);
83198
83499
  break;
@@ -83261,9 +83562,6 @@
83261
83562
  if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
83262
83563
  if (typeof message.restrictNetwork !== "boolean")
83263
83564
  return "restrictNetwork: boolean expected";
83264
- if (message.preventWakeup != null && message.hasOwnProperty("preventWakeup"))
83265
- if (typeof message.preventWakeup !== "boolean")
83266
- return "preventWakeup: boolean expected";
83267
83565
  return null;
83268
83566
  };
83269
83567
 
@@ -83343,8 +83641,6 @@
83343
83641
  }
83344
83642
  if (object.restrictNetwork != null)
83345
83643
  message.restrictNetwork = Boolean(object.restrictNetwork);
83346
- if (object.preventWakeup != null)
83347
- message.preventWakeup = Boolean(object.preventWakeup);
83348
83644
  return message;
83349
83645
  };
83350
83646
 
@@ -83377,7 +83673,6 @@
83377
83673
  object.disk = options.longs === String ? "0" : 0;
83378
83674
  object.cache = options.enums === String ? "NONE" : 0;
83379
83675
  object.restrictNetwork = false;
83380
- object.preventWakeup = false;
83381
83676
  if ($util.Long) {
83382
83677
  var long = new $util.Long(0, 0, false);
83383
83678
  object.scratchDisk = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -83409,8 +83704,6 @@
83409
83704
  object.cache = options.enums === String ? $root.replit.goval.api.repl.ResourceLimits.Cachability[message.cache] === undefined ? message.cache : $root.replit.goval.api.repl.ResourceLimits.Cachability[message.cache] : message.cache;
83410
83705
  if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
83411
83706
  object.restrictNetwork = message.restrictNetwork;
83412
- if (message.preventWakeup != null && message.hasOwnProperty("preventWakeup"))
83413
- object.preventWakeup = message.preventWakeup;
83414
83707
  if (message.scratchDisk != null && message.hasOwnProperty("scratchDisk"))
83415
83708
  if (typeof message.scratchDisk === "number")
83416
83709
  object.scratchDisk = options.longs === String ? String(message.scratchDisk) : message.scratchDisk;