@replit/protocol 0.3.48 → 0.3.50

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
@@ -129,6 +129,9 @@ export namespace replit {
129
129
  /** Command stat */
130
130
  stat?: (replit.goval.api.File|replit.goval.api.IFile|null);
131
131
 
132
+ /** Command resetNixFilesystem */
133
+ resetNixFilesystem?: (replit.goval.api.File|replit.goval.api.IFile|null);
134
+
132
135
  /** Command statRes */
133
136
  statRes?: (replit.goval.api.StatResult|replit.goval.api.IStatResult|null);
134
137
 
@@ -715,6 +718,9 @@ export namespace replit {
715
718
  /** Command stat. */
716
719
  public stat?: (replit.goval.api.File|null);
717
720
 
721
+ /** Command resetNixFilesystem. */
722
+ public resetNixFilesystem?: (replit.goval.api.File|null);
723
+
718
724
  /** Command statRes. */
719
725
  public statRes?: (replit.goval.api.StatResult|null);
720
726
 
@@ -1175,7 +1181,7 @@ export namespace replit {
1175
1181
  public forceTrace: boolean;
1176
1182
 
1177
1183
  /** Command body. */
1178
- public body?: ("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");
1184
+ public body?: ("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");
1179
1185
 
1180
1186
  /**
1181
1187
  * Creates a new Command instance using the specified properties.
@@ -2327,6 +2333,9 @@ export namespace replit {
2327
2333
 
2328
2334
  /** NixPackageSearchRequest query */
2329
2335
  query?: (string|null);
2336
+
2337
+ /** NixPackageSearchRequest filterBuilt */
2338
+ filterBuilt?: (boolean|null);
2330
2339
  }
2331
2340
 
2332
2341
  /** Represents a NixPackageSearchRequest. */
@@ -2341,6 +2350,12 @@ export namespace replit {
2341
2350
  /** NixPackageSearchRequest query. */
2342
2351
  public query: string;
2343
2352
 
2353
+ /** NixPackageSearchRequest filterBuilt. */
2354
+ public filterBuilt?: (boolean|null);
2355
+
2356
+ /** NixPackageSearchRequest _filterBuilt. */
2357
+ public _filterBuilt?: "filterBuilt";
2358
+
2344
2359
  /**
2345
2360
  * Creates a new NixPackageSearchRequest instance using the specified properties.
2346
2361
  * @param [properties] Properties to set
@@ -18776,7 +18791,11 @@ export namespace replit {
18776
18791
  enum Target {
18777
18792
  GCE = 0,
18778
18793
  CLOUDRUN = 1,
18779
- STATIC = 2
18794
+ STATIC = 2,
18795
+ VM = 3,
18796
+ AUTOSCALE = 4,
18797
+ SCHEDULED = 5,
18798
+ EXTENSION = 6
18780
18799
  }
18781
18800
 
18782
18801
  /** Properties of a RewriteRule. */
@@ -33519,9 +33538,6 @@ export namespace replit {
33519
33538
 
33520
33539
  /** ResourceLimits restrictNetwork */
33521
33540
  restrictNetwork?: (boolean|null);
33522
-
33523
- /** ResourceLimits preventWakeup */
33524
- preventWakeup?: (boolean|null);
33525
33541
  }
33526
33542
 
33527
33543
  /** Represents a ResourceLimits. */
@@ -33560,9 +33576,6 @@ export namespace replit {
33560
33576
  /** ResourceLimits restrictNetwork. */
33561
33577
  public restrictNetwork: boolean;
33562
33578
 
33563
- /** ResourceLimits preventWakeup. */
33564
- public preventWakeup: boolean;
33565
-
33566
33579
  /**
33567
33580
  * Creates a new ResourceLimits instance using the specified properties.
33568
33581
  * @param [properties] Properties to set
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;
@@ -9197,6 +9232,7 @@
9197
9232
  * @memberof replit.goval.api
9198
9233
  * @interface INixPackageSearchRequest
9199
9234
  * @property {string|null} [query] NixPackageSearchRequest query
9235
+ * @property {boolean|null} [filterBuilt] NixPackageSearchRequest filterBuilt
9200
9236
  */
9201
9237
 
9202
9238
  /**
@@ -9221,6 +9257,28 @@
9221
9257
  */
9222
9258
  NixPackageSearchRequest.prototype.query = "";
9223
9259
 
9260
+ /**
9261
+ * NixPackageSearchRequest filterBuilt.
9262
+ * @member {boolean|null|undefined} filterBuilt
9263
+ * @memberof replit.goval.api.NixPackageSearchRequest
9264
+ * @instance
9265
+ */
9266
+ NixPackageSearchRequest.prototype.filterBuilt = null;
9267
+
9268
+ // OneOf field names bound to virtual getters and setters
9269
+ var $oneOfFields;
9270
+
9271
+ /**
9272
+ * NixPackageSearchRequest _filterBuilt.
9273
+ * @member {"filterBuilt"|undefined} _filterBuilt
9274
+ * @memberof replit.goval.api.NixPackageSearchRequest
9275
+ * @instance
9276
+ */
9277
+ Object.defineProperty(NixPackageSearchRequest.prototype, "_filterBuilt", {
9278
+ get: $util.oneOfGetter($oneOfFields = ["filterBuilt"]),
9279
+ set: $util.oneOfSetter($oneOfFields)
9280
+ });
9281
+
9224
9282
  /**
9225
9283
  * Creates a new NixPackageSearchRequest instance using the specified properties.
9226
9284
  * @function create
@@ -9247,6 +9305,8 @@
9247
9305
  writer = $Writer.create();
9248
9306
  if (message.query != null && Object.hasOwnProperty.call(message, "query"))
9249
9307
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.query);
9308
+ if (message.filterBuilt != null && Object.hasOwnProperty.call(message, "filterBuilt"))
9309
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.filterBuilt);
9250
9310
  return writer;
9251
9311
  };
9252
9312
 
@@ -9285,6 +9345,10 @@
9285
9345
  message.query = reader.string();
9286
9346
  break;
9287
9347
  }
9348
+ case 2: {
9349
+ message.filterBuilt = reader.bool();
9350
+ break;
9351
+ }
9288
9352
  default:
9289
9353
  reader.skipType(tag & 7);
9290
9354
  break;
@@ -9320,9 +9384,15 @@
9320
9384
  NixPackageSearchRequest.verify = function verify(message) {
9321
9385
  if (typeof message !== "object" || message === null)
9322
9386
  return "object expected";
9387
+ var properties = {};
9323
9388
  if (message.query != null && message.hasOwnProperty("query"))
9324
9389
  if (!$util.isString(message.query))
9325
9390
  return "query: string expected";
9391
+ if (message.filterBuilt != null && message.hasOwnProperty("filterBuilt")) {
9392
+ properties._filterBuilt = 1;
9393
+ if (typeof message.filterBuilt !== "boolean")
9394
+ return "filterBuilt: boolean expected";
9395
+ }
9326
9396
  return null;
9327
9397
  };
9328
9398
 
@@ -9340,6 +9410,8 @@
9340
9410
  var message = new $root.replit.goval.api.NixPackageSearchRequest();
9341
9411
  if (object.query != null)
9342
9412
  message.query = String(object.query);
9413
+ if (object.filterBuilt != null)
9414
+ message.filterBuilt = Boolean(object.filterBuilt);
9343
9415
  return message;
9344
9416
  };
9345
9417
 
@@ -9360,6 +9432,11 @@
9360
9432
  object.query = "";
9361
9433
  if (message.query != null && message.hasOwnProperty("query"))
9362
9434
  object.query = message.query;
9435
+ if (message.filterBuilt != null && message.hasOwnProperty("filterBuilt")) {
9436
+ object.filterBuilt = message.filterBuilt;
9437
+ if (options.oneofs)
9438
+ object._filterBuilt = "filterBuilt";
9439
+ }
9363
9440
  return object;
9364
9441
  };
9365
9442
 
@@ -47640,6 +47717,10 @@
47640
47717
  case 0:
47641
47718
  case 1:
47642
47719
  case 2:
47720
+ case 3:
47721
+ case 4:
47722
+ case 5:
47723
+ case 6:
47643
47724
  break;
47644
47725
  }
47645
47726
  if (message.publicDir != null && message.hasOwnProperty("publicDir"))
@@ -47709,6 +47790,22 @@
47709
47790
  case 2:
47710
47791
  message.target = 2;
47711
47792
  break;
47793
+ case "VM":
47794
+ case 3:
47795
+ message.target = 3;
47796
+ break;
47797
+ case "AUTOSCALE":
47798
+ case 4:
47799
+ message.target = 4;
47800
+ break;
47801
+ case "SCHEDULED":
47802
+ case 5:
47803
+ message.target = 5;
47804
+ break;
47805
+ case "EXTENSION":
47806
+ case 6:
47807
+ message.target = 6;
47808
+ break;
47712
47809
  }
47713
47810
  if (object.publicDir != null)
47714
47811
  message.publicDir = String(object.publicDir);
@@ -47815,12 +47912,20 @@
47815
47912
  * @property {number} GCE=0 GCE value
47816
47913
  * @property {number} CLOUDRUN=1 CLOUDRUN value
47817
47914
  * @property {number} STATIC=2 STATIC value
47915
+ * @property {number} VM=3 VM value
47916
+ * @property {number} AUTOSCALE=4 AUTOSCALE value
47917
+ * @property {number} SCHEDULED=5 SCHEDULED value
47918
+ * @property {number} EXTENSION=6 EXTENSION value
47818
47919
  */
47819
47920
  DeploymentConfig.Target = (function() {
47820
47921
  var valuesById = {}, values = Object.create(valuesById);
47821
47922
  values[valuesById[0] = "GCE"] = 0;
47822
47923
  values[valuesById[1] = "CLOUDRUN"] = 1;
47823
47924
  values[valuesById[2] = "STATIC"] = 2;
47925
+ values[valuesById[3] = "VM"] = 3;
47926
+ values[valuesById[4] = "AUTOSCALE"] = 4;
47927
+ values[valuesById[5] = "SCHEDULED"] = 5;
47928
+ values[valuesById[6] = "EXTENSION"] = 6;
47824
47929
  return values;
47825
47930
  })();
47826
47931
 
@@ -83231,7 +83336,6 @@
83231
83336
  * @property {number|null} [scratchDisk] ResourceLimits scratchDisk
83232
83337
  * @property {replit.goval.api.repl.ResourceLimits.Cachability|null} [cache] ResourceLimits cache
83233
83338
  * @property {boolean|null} [restrictNetwork] ResourceLimits restrictNetwork
83234
- * @property {boolean|null} [preventWakeup] ResourceLimits preventWakeup
83235
83339
  */
83236
83340
 
83237
83341
  /**
@@ -83320,14 +83424,6 @@
83320
83424
  */
83321
83425
  ResourceLimits.prototype.restrictNetwork = false;
83322
83426
 
83323
- /**
83324
- * ResourceLimits preventWakeup.
83325
- * @member {boolean} preventWakeup
83326
- * @memberof replit.goval.api.repl.ResourceLimits
83327
- * @instance
83328
- */
83329
- ResourceLimits.prototype.preventWakeup = false;
83330
-
83331
83427
  /**
83332
83428
  * Creates a new ResourceLimits instance using the specified properties.
83333
83429
  * @function create
@@ -83366,8 +83462,6 @@
83366
83462
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.cache);
83367
83463
  if (message.restrictNetwork != null && Object.hasOwnProperty.call(message, "restrictNetwork"))
83368
83464
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.restrictNetwork);
83369
- if (message.preventWakeup != null && Object.hasOwnProperty.call(message, "preventWakeup"))
83370
- writer.uint32(/* id 8, wireType 0 =*/64).bool(message.preventWakeup);
83371
83465
  if (message.scratchDisk != null && Object.hasOwnProperty.call(message, "scratchDisk"))
83372
83466
  writer.uint32(/* id 9, wireType 0 =*/72).int64(message.scratchDisk);
83373
83467
  if (message.minimumDisk != null && Object.hasOwnProperty.call(message, "minimumDisk"))
@@ -83442,10 +83536,6 @@
83442
83536
  message.restrictNetwork = reader.bool();
83443
83537
  break;
83444
83538
  }
83445
- case 8: {
83446
- message.preventWakeup = reader.bool();
83447
- break;
83448
- }
83449
83539
  default:
83450
83540
  reader.skipType(tag & 7);
83451
83541
  break;
@@ -83514,9 +83604,6 @@
83514
83604
  if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
83515
83605
  if (typeof message.restrictNetwork !== "boolean")
83516
83606
  return "restrictNetwork: boolean expected";
83517
- if (message.preventWakeup != null && message.hasOwnProperty("preventWakeup"))
83518
- if (typeof message.preventWakeup !== "boolean")
83519
- return "preventWakeup: boolean expected";
83520
83607
  return null;
83521
83608
  };
83522
83609
 
@@ -83596,8 +83683,6 @@
83596
83683
  }
83597
83684
  if (object.restrictNetwork != null)
83598
83685
  message.restrictNetwork = Boolean(object.restrictNetwork);
83599
- if (object.preventWakeup != null)
83600
- message.preventWakeup = Boolean(object.preventWakeup);
83601
83686
  return message;
83602
83687
  };
83603
83688
 
@@ -83630,7 +83715,6 @@
83630
83715
  object.disk = options.longs === String ? "0" : 0;
83631
83716
  object.cache = options.enums === String ? "NONE" : 0;
83632
83717
  object.restrictNetwork = false;
83633
- object.preventWakeup = false;
83634
83718
  if ($util.Long) {
83635
83719
  var long = new $util.Long(0, 0, false);
83636
83720
  object.scratchDisk = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -83662,8 +83746,6 @@
83662
83746
  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;
83663
83747
  if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
83664
83748
  object.restrictNetwork = message.restrictNetwork;
83665
- if (message.preventWakeup != null && message.hasOwnProperty("preventWakeup"))
83666
- object.preventWakeup = message.preventWakeup;
83667
83749
  if (message.scratchDisk != null && message.hasOwnProperty("scratchDisk"))
83668
83750
  if (typeof message.scratchDisk === "number")
83669
83751
  object.scratchDisk = options.longs === String ? String(message.scratchDisk) : message.scratchDisk;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.48",
3
+ "version": "0.3.50",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",