@replit/protocol 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/main/index.d.ts +220 -499
  2. package/main/index.js +525 -1127
  3. package/package.json +1 -1
package/main/index.js CHANGED
@@ -136,9 +136,6 @@
136
136
  * @property {replit.goval.api.Flush|replit.goval.api.IFlush|null} [flush] Command flush
137
137
  * @property {replit.goval.api.OTFlushNotification|replit.goval.api.IOTFlushNotification|null} [otFlushNotification] Command otFlushNotification
138
138
  * @property {replit.goval.api.Debug|replit.goval.api.IDebug|null} [debug] Command debug
139
- * @property {replit.goval.api.StartVCR|replit.goval.api.IStartVCR|null} [startVCR] Command startVCR
140
- * @property {replit.goval.api.ReadVCR|replit.goval.api.IReadVCR|null} [readVCR] Command readVCR
141
- * @property {replit.goval.api.VCRLog|replit.goval.api.IVCRLog|null} [VCRLog] Command VCRLog
142
139
  * @property {replit.goval.api.Auth|replit.goval.api.IAuth|null} [auth] Command auth
143
140
  * @property {replit.goval.api.ExecInfo|replit.goval.api.IExecInfo|null} [execInfo] Command execInfo
144
141
  * @property {replit.goval.api.SubscribeFile|replit.goval.api.ISubscribeFile|null} [subscribeFile] Command subscribeFile
@@ -242,6 +239,7 @@
242
239
  * @property {replit.goval.api.NixModulesGetRegistryRequest|replit.goval.api.INixModulesGetRegistryRequest|null} [nixModulesGetRegistryRequest] Command nixModulesGetRegistryRequest
243
240
  * @property {replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null} [nixModulesGetRegistryResponse] Command nixModulesGetRegistryResponse
244
241
  * @property {replit.goval.api.ReplspaceApiShellTracker|replit.goval.api.IReplspaceApiShellTracker|null} [replspaceApiShellTracker] Command replspaceApiShellTracker
242
+ * @property {replit.goval.api.PaneMetricsTracker|replit.goval.api.IPaneMetricsTracker|null} [paneMetricsTracker] Command paneMetricsTracker
245
243
  * @property {replit.goval.api.NixModuleConfigGetRequest|replit.goval.api.INixModuleConfigGetRequest|null} [nixModuleConfigGetRequest] Command nixModuleConfigGetRequest
246
244
  * @property {replit.goval.api.NixModuleConfigGetResponse|replit.goval.api.INixModuleConfigGetResponse|null} [nixModuleConfigGetResponse] Command nixModuleConfigGetResponse
247
245
  * @property {replit.goval.api.NixModuleConfigSetRequest|replit.goval.api.INixModuleConfigSetRequest|null} [nixModuleConfigSetRequest] Command nixModuleConfigSetRequest
@@ -251,6 +249,7 @@
251
249
  * @property {replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null} [secretsGetRequest] Command secretsGetRequest
252
250
  * @property {replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null} [secretsGetResponse] Command secretsGetResponse
253
251
  * @property {replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null} [secretsSetRequest] Command secretsSetRequest
252
+ * @property {replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null} [replResourcesUpdateNotification] Command replResourcesUpdateNotification
254
253
  * @property {string|null} [ref] Command ref
255
254
  * @property {Object.<string,string>|null} [traceInfo] Command traceInfo
256
255
  * @property {boolean|null} [forceTrace] Command forceTrace
@@ -967,30 +966,6 @@
967
966
  */
968
967
  Command.prototype.debug = null;
969
968
 
970
- /**
971
- * Command startVCR.
972
- * @member {replit.goval.api.StartVCR|null|undefined} startVCR
973
- * @memberof replit.goval.api.Command
974
- * @instance
975
- */
976
- Command.prototype.startVCR = null;
977
-
978
- /**
979
- * Command readVCR.
980
- * @member {replit.goval.api.ReadVCR|null|undefined} readVCR
981
- * @memberof replit.goval.api.Command
982
- * @instance
983
- */
984
- Command.prototype.readVCR = null;
985
-
986
- /**
987
- * Command VCRLog.
988
- * @member {replit.goval.api.VCRLog|null|undefined} VCRLog
989
- * @memberof replit.goval.api.Command
990
- * @instance
991
- */
992
- Command.prototype.VCRLog = null;
993
-
994
969
  /**
995
970
  * Command auth.
996
971
  * @member {replit.goval.api.Auth|null|undefined} auth
@@ -1815,6 +1790,14 @@
1815
1790
  */
1816
1791
  Command.prototype.replspaceApiShellTracker = null;
1817
1792
 
1793
+ /**
1794
+ * Command paneMetricsTracker.
1795
+ * @member {replit.goval.api.PaneMetricsTracker|null|undefined} paneMetricsTracker
1796
+ * @memberof replit.goval.api.Command
1797
+ * @instance
1798
+ */
1799
+ Command.prototype.paneMetricsTracker = null;
1800
+
1818
1801
  /**
1819
1802
  * Command nixModuleConfigGetRequest.
1820
1803
  * @member {replit.goval.api.NixModuleConfigGetRequest|null|undefined} nixModuleConfigGetRequest
@@ -1887,6 +1870,14 @@
1887
1870
  */
1888
1871
  Command.prototype.secretsSetRequest = null;
1889
1872
 
1873
+ /**
1874
+ * Command replResourcesUpdateNotification.
1875
+ * @member {replit.goval.api.ReplResourcesUpdateNotification|null|undefined} replResourcesUpdateNotification
1876
+ * @memberof replit.goval.api.Command
1877
+ * @instance
1878
+ */
1879
+ Command.prototype.replResourcesUpdateNotification = null;
1880
+
1890
1881
  /**
1891
1882
  * Command ref.
1892
1883
  * @member {string} ref
@@ -1916,12 +1907,12 @@
1916
1907
 
1917
1908
  /**
1918
1909
  * Command body.
1919
- * @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"|"otFlushNotification"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
1910
+ * @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"|"otFlushNotification"|"debug"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification"|undefined} body
1920
1911
  * @memberof replit.goval.api.Command
1921
1912
  * @instance
1922
1913
  */
1923
1914
  Object.defineProperty(Command.prototype, "body", {
1924
- 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", "otFlushNotification", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
1915
+ 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", "otFlushNotification", "debug", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "replResourcesUpdateNotification"]),
1925
1916
  set: $util.oneOfSetter($oneOfFields)
1926
1917
  });
1927
1918
 
@@ -2093,12 +2084,6 @@
2093
2084
  $root.replit.goval.api.OTLinkFileResponse.encode(message.otLinkFileResponse, writer.uint32(/* id 229, wireType 2 =*/1834).fork()).ldelim();
2094
2085
  if (message.debug != null && Object.hasOwnProperty.call(message, "debug"))
2095
2086
  $root.replit.goval.api.Debug.encode(message.debug, writer.uint32(/* id 230, wireType 2 =*/1842).fork()).ldelim();
2096
- if (message.startVCR != null && Object.hasOwnProperty.call(message, "startVCR"))
2097
- $root.replit.goval.api.StartVCR.encode(message.startVCR, writer.uint32(/* id 231, wireType 2 =*/1850).fork()).ldelim();
2098
- if (message.readVCR != null && Object.hasOwnProperty.call(message, "readVCR"))
2099
- $root.replit.goval.api.ReadVCR.encode(message.readVCR, writer.uint32(/* id 232, wireType 2 =*/1858).fork()).ldelim();
2100
- if (message.VCRLog != null && Object.hasOwnProperty.call(message, "VCRLog"))
2101
- $root.replit.goval.api.VCRLog.encode(message.VCRLog, writer.uint32(/* id 233, wireType 2 =*/1866).fork()).ldelim();
2102
2087
  if (message.auth != null && Object.hasOwnProperty.call(message, "auth"))
2103
2088
  $root.replit.goval.api.Auth.encode(message.auth, writer.uint32(/* id 235, wireType 2 =*/1882).fork()).ldelim();
2104
2089
  if (message.execInfo != null && Object.hasOwnProperty.call(message, "execInfo"))
@@ -2335,6 +2320,8 @@
2335
2320
  $root.replit.goval.api.NixPackageInfoResponse.encode(message.nixPackageInfoResponse, writer.uint32(/* id 451, wireType 2 =*/3610).fork()).ldelim();
2336
2321
  if (message.otFlushNotification != null && Object.hasOwnProperty.call(message, "otFlushNotification"))
2337
2322
  $root.replit.goval.api.OTFlushNotification.encode(message.otFlushNotification, writer.uint32(/* id 452, wireType 2 =*/3618).fork()).ldelim();
2323
+ if (message.paneMetricsTracker != null && Object.hasOwnProperty.call(message, "paneMetricsTracker"))
2324
+ $root.replit.goval.api.PaneMetricsTracker.encode(message.paneMetricsTracker, writer.uint32(/* id 453, wireType 2 =*/3626).fork()).ldelim();
2338
2325
  if (message.nixModuleConfigGetRequest != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetRequest"))
2339
2326
  $root.replit.goval.api.NixModuleConfigGetRequest.encode(message.nixModuleConfigGetRequest, writer.uint32(/* id 460, wireType 2 =*/3682).fork()).ldelim();
2340
2327
  if (message.nixModuleConfigGetResponse != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetResponse"))
@@ -2353,6 +2340,8 @@
2353
2340
  $root.replit.goval.api.SecretsGetResponse.encode(message.secretsGetResponse, writer.uint32(/* id 467, wireType 2 =*/3738).fork()).ldelim();
2354
2341
  if (message.secretsSetRequest != null && Object.hasOwnProperty.call(message, "secretsSetRequest"))
2355
2342
  $root.replit.goval.api.SecretsSetRequest.encode(message.secretsSetRequest, writer.uint32(/* id 468, wireType 2 =*/3746).fork()).ldelim();
2343
+ if (message.replResourcesUpdateNotification != null && Object.hasOwnProperty.call(message, "replResourcesUpdateNotification"))
2344
+ $root.replit.goval.api.ReplResourcesUpdateNotification.encode(message.replResourcesUpdateNotification, writer.uint32(/* id 600, wireType 2 =*/4802).fork()).ldelim();
2356
2345
  if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
2357
2346
  writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
2358
2347
  if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
@@ -2742,18 +2731,6 @@
2742
2731
  message.debug = $root.replit.goval.api.Debug.decode(reader, reader.uint32());
2743
2732
  break;
2744
2733
  }
2745
- case 231: {
2746
- message.startVCR = $root.replit.goval.api.StartVCR.decode(reader, reader.uint32());
2747
- break;
2748
- }
2749
- case 232: {
2750
- message.readVCR = $root.replit.goval.api.ReadVCR.decode(reader, reader.uint32());
2751
- break;
2752
- }
2753
- case 233: {
2754
- message.VCRLog = $root.replit.goval.api.VCRLog.decode(reader, reader.uint32());
2755
- break;
2756
- }
2757
2734
  case 235: {
2758
2735
  message.auth = $root.replit.goval.api.Auth.decode(reader, reader.uint32());
2759
2736
  break;
@@ -3166,6 +3143,10 @@
3166
3143
  message.replspaceApiShellTracker = $root.replit.goval.api.ReplspaceApiShellTracker.decode(reader, reader.uint32());
3167
3144
  break;
3168
3145
  }
3146
+ case 453: {
3147
+ message.paneMetricsTracker = $root.replit.goval.api.PaneMetricsTracker.decode(reader, reader.uint32());
3148
+ break;
3149
+ }
3169
3150
  case 460: {
3170
3151
  message.nixModuleConfigGetRequest = $root.replit.goval.api.NixModuleConfigGetRequest.decode(reader, reader.uint32());
3171
3152
  break;
@@ -3202,6 +3183,10 @@
3202
3183
  message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.decode(reader, reader.uint32());
3203
3184
  break;
3204
3185
  }
3186
+ case 600: {
3187
+ message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.decode(reader, reader.uint32());
3188
+ break;
3189
+ }
3205
3190
  case 1000: {
3206
3191
  message.ref = reader.string();
3207
3192
  break;
@@ -4095,36 +4080,6 @@
4095
4080
  return "debug." + error;
4096
4081
  }
4097
4082
  }
4098
- if (message.startVCR != null && message.hasOwnProperty("startVCR")) {
4099
- if (properties.body === 1)
4100
- return "body: multiple values";
4101
- properties.body = 1;
4102
- {
4103
- var error = $root.replit.goval.api.StartVCR.verify(message.startVCR);
4104
- if (error)
4105
- return "startVCR." + error;
4106
- }
4107
- }
4108
- if (message.readVCR != null && message.hasOwnProperty("readVCR")) {
4109
- if (properties.body === 1)
4110
- return "body: multiple values";
4111
- properties.body = 1;
4112
- {
4113
- var error = $root.replit.goval.api.ReadVCR.verify(message.readVCR);
4114
- if (error)
4115
- return "readVCR." + error;
4116
- }
4117
- }
4118
- if (message.VCRLog != null && message.hasOwnProperty("VCRLog")) {
4119
- if (properties.body === 1)
4120
- return "body: multiple values";
4121
- properties.body = 1;
4122
- {
4123
- var error = $root.replit.goval.api.VCRLog.verify(message.VCRLog);
4124
- if (error)
4125
- return "VCRLog." + error;
4126
- }
4127
- }
4128
4083
  if (message.auth != null && message.hasOwnProperty("auth")) {
4129
4084
  if (properties.body === 1)
4130
4085
  return "body: multiple values";
@@ -5149,6 +5104,16 @@
5149
5104
  return "replspaceApiShellTracker." + error;
5150
5105
  }
5151
5106
  }
5107
+ if (message.paneMetricsTracker != null && message.hasOwnProperty("paneMetricsTracker")) {
5108
+ if (properties.body === 1)
5109
+ return "body: multiple values";
5110
+ properties.body = 1;
5111
+ {
5112
+ var error = $root.replit.goval.api.PaneMetricsTracker.verify(message.paneMetricsTracker);
5113
+ if (error)
5114
+ return "paneMetricsTracker." + error;
5115
+ }
5116
+ }
5152
5117
  if (message.nixModuleConfigGetRequest != null && message.hasOwnProperty("nixModuleConfigGetRequest")) {
5153
5118
  if (properties.body === 1)
5154
5119
  return "body: multiple values";
@@ -5239,6 +5204,16 @@
5239
5204
  return "secretsSetRequest." + error;
5240
5205
  }
5241
5206
  }
5207
+ if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
5208
+ if (properties.body === 1)
5209
+ return "body: multiple values";
5210
+ properties.body = 1;
5211
+ {
5212
+ var error = $root.replit.goval.api.ReplResourcesUpdateNotification.verify(message.replResourcesUpdateNotification);
5213
+ if (error)
5214
+ return "replResourcesUpdateNotification." + error;
5215
+ }
5216
+ }
5242
5217
  if (message.ref != null && message.hasOwnProperty("ref"))
5243
5218
  if (!$util.isString(message.ref))
5244
5219
  return "ref: string expected";
@@ -5678,21 +5653,6 @@
5678
5653
  throw TypeError(".replit.goval.api.Command.debug: object expected");
5679
5654
  message.debug = $root.replit.goval.api.Debug.fromObject(object.debug);
5680
5655
  }
5681
- if (object.startVCR != null) {
5682
- if (typeof object.startVCR !== "object")
5683
- throw TypeError(".replit.goval.api.Command.startVCR: object expected");
5684
- message.startVCR = $root.replit.goval.api.StartVCR.fromObject(object.startVCR);
5685
- }
5686
- if (object.readVCR != null) {
5687
- if (typeof object.readVCR !== "object")
5688
- throw TypeError(".replit.goval.api.Command.readVCR: object expected");
5689
- message.readVCR = $root.replit.goval.api.ReadVCR.fromObject(object.readVCR);
5690
- }
5691
- if (object.VCRLog != null) {
5692
- if (typeof object.VCRLog !== "object")
5693
- throw TypeError(".replit.goval.api.Command.VCRLog: object expected");
5694
- message.VCRLog = $root.replit.goval.api.VCRLog.fromObject(object.VCRLog);
5695
- }
5696
5656
  if (object.auth != null) {
5697
5657
  if (typeof object.auth !== "object")
5698
5658
  throw TypeError(".replit.goval.api.Command.auth: object expected");
@@ -6202,6 +6162,11 @@
6202
6162
  throw TypeError(".replit.goval.api.Command.replspaceApiShellTracker: object expected");
6203
6163
  message.replspaceApiShellTracker = $root.replit.goval.api.ReplspaceApiShellTracker.fromObject(object.replspaceApiShellTracker);
6204
6164
  }
6165
+ if (object.paneMetricsTracker != null) {
6166
+ if (typeof object.paneMetricsTracker !== "object")
6167
+ throw TypeError(".replit.goval.api.Command.paneMetricsTracker: object expected");
6168
+ message.paneMetricsTracker = $root.replit.goval.api.PaneMetricsTracker.fromObject(object.paneMetricsTracker);
6169
+ }
6205
6170
  if (object.nixModuleConfigGetRequest != null) {
6206
6171
  if (typeof object.nixModuleConfigGetRequest !== "object")
6207
6172
  throw TypeError(".replit.goval.api.Command.nixModuleConfigGetRequest: object expected");
@@ -6247,6 +6212,11 @@
6247
6212
  throw TypeError(".replit.goval.api.Command.secretsSetRequest: object expected");
6248
6213
  message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.fromObject(object.secretsSetRequest);
6249
6214
  }
6215
+ if (object.replResourcesUpdateNotification != null) {
6216
+ if (typeof object.replResourcesUpdateNotification !== "object")
6217
+ throw TypeError(".replit.goval.api.Command.replResourcesUpdateNotification: object expected");
6218
+ message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.fromObject(object.replResourcesUpdateNotification);
6219
+ }
6250
6220
  if (object.ref != null)
6251
6221
  message.ref = String(object.ref);
6252
6222
  if (object.traceInfo) {
@@ -6636,21 +6606,6 @@
6636
6606
  if (options.oneofs)
6637
6607
  object.body = "debug";
6638
6608
  }
6639
- if (message.startVCR != null && message.hasOwnProperty("startVCR")) {
6640
- object.startVCR = $root.replit.goval.api.StartVCR.toObject(message.startVCR, options);
6641
- if (options.oneofs)
6642
- object.body = "startVCR";
6643
- }
6644
- if (message.readVCR != null && message.hasOwnProperty("readVCR")) {
6645
- object.readVCR = $root.replit.goval.api.ReadVCR.toObject(message.readVCR, options);
6646
- if (options.oneofs)
6647
- object.body = "readVCR";
6648
- }
6649
- if (message.VCRLog != null && message.hasOwnProperty("VCRLog")) {
6650
- object.VCRLog = $root.replit.goval.api.VCRLog.toObject(message.VCRLog, options);
6651
- if (options.oneofs)
6652
- object.body = "VCRLog";
6653
- }
6654
6609
  if (message.auth != null && message.hasOwnProperty("auth")) {
6655
6610
  object.auth = $root.replit.goval.api.Auth.toObject(message.auth, options);
6656
6611
  if (options.oneofs)
@@ -7241,6 +7196,11 @@
7241
7196
  if (options.oneofs)
7242
7197
  object.body = "otFlushNotification";
7243
7198
  }
7199
+ if (message.paneMetricsTracker != null && message.hasOwnProperty("paneMetricsTracker")) {
7200
+ object.paneMetricsTracker = $root.replit.goval.api.PaneMetricsTracker.toObject(message.paneMetricsTracker, options);
7201
+ if (options.oneofs)
7202
+ object.body = "paneMetricsTracker";
7203
+ }
7244
7204
  if (message.nixModuleConfigGetRequest != null && message.hasOwnProperty("nixModuleConfigGetRequest")) {
7245
7205
  object.nixModuleConfigGetRequest = $root.replit.goval.api.NixModuleConfigGetRequest.toObject(message.nixModuleConfigGetRequest, options);
7246
7206
  if (options.oneofs)
@@ -7286,6 +7246,11 @@
7286
7246
  if (options.oneofs)
7287
7247
  object.body = "secretsSetRequest";
7288
7248
  }
7249
+ if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
7250
+ object.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.toObject(message.replResourcesUpdateNotification, options);
7251
+ if (options.oneofs)
7252
+ object.body = "replResourcesUpdateNotification";
7253
+ }
7289
7254
  if (message.ref != null && message.hasOwnProperty("ref"))
7290
7255
  object.ref = message.ref;
7291
7256
  var keys2;
@@ -16683,606 +16648,6 @@
16683
16648
  return VCREntry;
16684
16649
  })();
16685
16650
 
16686
- api.StartVCR = (function() {
16687
-
16688
- /**
16689
- * Properties of a StartVCR.
16690
- * @memberof replit.goval.api
16691
- * @interface IStartVCR
16692
- */
16693
-
16694
- /**
16695
- * Constructs a new StartVCR.
16696
- * @memberof replit.goval.api
16697
- * @classdesc Represents a StartVCR.
16698
- * @constructor
16699
- * @param {replit.goval.api.IStartVCR=} [properties] Properties to set
16700
- */
16701
- function StartVCR(properties) {
16702
- if (properties)
16703
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16704
- if (properties[keys[i]] != null)
16705
- this[keys[i]] = properties[keys[i]];
16706
- }
16707
-
16708
- /**
16709
- * Creates a new StartVCR instance using the specified properties.
16710
- * @function create
16711
- * @memberof replit.goval.api.StartVCR
16712
- * @static
16713
- * @param {replit.goval.api.IStartVCR=} [properties] Properties to set
16714
- * @returns {replit.goval.api.StartVCR} StartVCR instance
16715
- */
16716
- StartVCR.create = function create(properties) {
16717
- return StartVCR.fromObject(properties);
16718
- };
16719
-
16720
- /**
16721
- * Encodes the specified StartVCR message. Does not implicitly {@link replit.goval.api.StartVCR.verify|verify} messages.
16722
- * @function encode
16723
- * @memberof replit.goval.api.StartVCR
16724
- * @static
16725
- * @param {replit.goval.api.StartVCR} message StartVCR message or plain object to encode
16726
- * @param {$protobuf.Writer} [writer] Writer to encode to
16727
- * @returns {$protobuf.Writer} Writer
16728
- */
16729
- StartVCR.encode = function encode(message, writer) {
16730
- if (!writer)
16731
- writer = $Writer.create();
16732
- return writer;
16733
- };
16734
-
16735
- /**
16736
- * Encodes the specified StartVCR message, length delimited. Does not implicitly {@link replit.goval.api.StartVCR.verify|verify} messages.
16737
- * @function encodeDelimited
16738
- * @memberof replit.goval.api.StartVCR
16739
- * @static
16740
- * @param {replit.goval.api.StartVCR} message StartVCR message or plain object to encode
16741
- * @param {$protobuf.Writer} [writer] Writer to encode to
16742
- * @returns {$protobuf.Writer} Writer
16743
- */
16744
- StartVCR.encodeDelimited = function encodeDelimited(message, writer) {
16745
- return this.encode(message, writer).ldelim();
16746
- };
16747
-
16748
- /**
16749
- * Decodes a StartVCR message from the specified reader or buffer.
16750
- * @function decode
16751
- * @memberof replit.goval.api.StartVCR
16752
- * @static
16753
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16754
- * @param {number} [length] Message length if known beforehand
16755
- * @returns {replit.goval.api.StartVCR} StartVCR
16756
- * @throws {Error} If the payload is not a reader or valid buffer
16757
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
16758
- */
16759
- StartVCR.decode = function decode(reader, length) {
16760
- if (!(reader instanceof $Reader))
16761
- reader = $Reader.create(reader);
16762
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.StartVCR();
16763
- while (reader.pos < end) {
16764
- var tag = reader.uint32();
16765
- switch (tag >>> 3) {
16766
- default:
16767
- reader.skipType(tag & 7);
16768
- break;
16769
- }
16770
- }
16771
- return message;
16772
- };
16773
-
16774
- /**
16775
- * Decodes a StartVCR message from the specified reader or buffer, length delimited.
16776
- * @function decodeDelimited
16777
- * @memberof replit.goval.api.StartVCR
16778
- * @static
16779
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16780
- * @returns {replit.goval.api.StartVCR} StartVCR
16781
- * @throws {Error} If the payload is not a reader or valid buffer
16782
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
16783
- */
16784
- StartVCR.decodeDelimited = function decodeDelimited(reader) {
16785
- if (!(reader instanceof $Reader))
16786
- reader = new $Reader(reader);
16787
- return this.decode(reader, reader.uint32());
16788
- };
16789
-
16790
- /**
16791
- * Verifies a StartVCR message.
16792
- * @function verify
16793
- * @memberof replit.goval.api.StartVCR
16794
- * @static
16795
- * @param {Object.<string,*>} message Plain object to verify
16796
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
16797
- */
16798
- StartVCR.verify = function verify(message) {
16799
- if (typeof message !== "object" || message === null)
16800
- return "object expected";
16801
- return null;
16802
- };
16803
-
16804
- /**
16805
- * Creates a StartVCR message from a plain object. Also converts values to their respective internal types.
16806
- * @function fromObject
16807
- * @memberof replit.goval.api.StartVCR
16808
- * @static
16809
- * @param {Object.<string,*>} object Plain object
16810
- * @returns {replit.goval.api.StartVCR} StartVCR
16811
- */
16812
- StartVCR.fromObject = function fromObject(object) {
16813
- if (object instanceof $root.replit.goval.api.StartVCR)
16814
- return object;
16815
- return new $root.replit.goval.api.StartVCR();
16816
- };
16817
-
16818
- /**
16819
- * Creates a plain object from a StartVCR message. Also converts values to other types if specified.
16820
- * @function toObject
16821
- * @memberof replit.goval.api.StartVCR
16822
- * @static
16823
- * @param {replit.goval.api.StartVCR} message StartVCR
16824
- * @param {$protobuf.IConversionOptions} [options] Conversion options
16825
- * @returns {Object.<string,*>} Plain object
16826
- */
16827
- StartVCR.toObject = function toObject() {
16828
- return {};
16829
- };
16830
-
16831
- /**
16832
- * Converts this StartVCR to JSON.
16833
- * @function toJSON
16834
- * @memberof replit.goval.api.StartVCR
16835
- * @instance
16836
- * @returns {Object.<string,*>} JSON object
16837
- */
16838
- StartVCR.prototype.toJSON = function toJSON() {
16839
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16840
- };
16841
-
16842
- /**
16843
- * Gets the default type url for StartVCR
16844
- * @function getTypeUrl
16845
- * @memberof replit.goval.api.StartVCR
16846
- * @static
16847
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16848
- * @returns {string} The default type url
16849
- */
16850
- StartVCR.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16851
- if (typeUrlPrefix === undefined) {
16852
- typeUrlPrefix = "type.googleapis.com";
16853
- }
16854
- return typeUrlPrefix + "/replit.goval.api.StartVCR";
16855
- };
16856
-
16857
- return StartVCR;
16858
- })();
16859
-
16860
- api.ReadVCR = (function() {
16861
-
16862
- /**
16863
- * Properties of a ReadVCR.
16864
- * @memberof replit.goval.api
16865
- * @interface IReadVCR
16866
- */
16867
-
16868
- /**
16869
- * Constructs a new ReadVCR.
16870
- * @memberof replit.goval.api
16871
- * @classdesc Represents a ReadVCR.
16872
- * @constructor
16873
- * @param {replit.goval.api.IReadVCR=} [properties] Properties to set
16874
- */
16875
- function ReadVCR(properties) {
16876
- if (properties)
16877
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16878
- if (properties[keys[i]] != null)
16879
- this[keys[i]] = properties[keys[i]];
16880
- }
16881
-
16882
- /**
16883
- * Creates a new ReadVCR instance using the specified properties.
16884
- * @function create
16885
- * @memberof replit.goval.api.ReadVCR
16886
- * @static
16887
- * @param {replit.goval.api.IReadVCR=} [properties] Properties to set
16888
- * @returns {replit.goval.api.ReadVCR} ReadVCR instance
16889
- */
16890
- ReadVCR.create = function create(properties) {
16891
- return ReadVCR.fromObject(properties);
16892
- };
16893
-
16894
- /**
16895
- * Encodes the specified ReadVCR message. Does not implicitly {@link replit.goval.api.ReadVCR.verify|verify} messages.
16896
- * @function encode
16897
- * @memberof replit.goval.api.ReadVCR
16898
- * @static
16899
- * @param {replit.goval.api.ReadVCR} message ReadVCR message or plain object to encode
16900
- * @param {$protobuf.Writer} [writer] Writer to encode to
16901
- * @returns {$protobuf.Writer} Writer
16902
- */
16903
- ReadVCR.encode = function encode(message, writer) {
16904
- if (!writer)
16905
- writer = $Writer.create();
16906
- return writer;
16907
- };
16908
-
16909
- /**
16910
- * Encodes the specified ReadVCR message, length delimited. Does not implicitly {@link replit.goval.api.ReadVCR.verify|verify} messages.
16911
- * @function encodeDelimited
16912
- * @memberof replit.goval.api.ReadVCR
16913
- * @static
16914
- * @param {replit.goval.api.ReadVCR} message ReadVCR message or plain object to encode
16915
- * @param {$protobuf.Writer} [writer] Writer to encode to
16916
- * @returns {$protobuf.Writer} Writer
16917
- */
16918
- ReadVCR.encodeDelimited = function encodeDelimited(message, writer) {
16919
- return this.encode(message, writer).ldelim();
16920
- };
16921
-
16922
- /**
16923
- * Decodes a ReadVCR message from the specified reader or buffer.
16924
- * @function decode
16925
- * @memberof replit.goval.api.ReadVCR
16926
- * @static
16927
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16928
- * @param {number} [length] Message length if known beforehand
16929
- * @returns {replit.goval.api.ReadVCR} ReadVCR
16930
- * @throws {Error} If the payload is not a reader or valid buffer
16931
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
16932
- */
16933
- ReadVCR.decode = function decode(reader, length) {
16934
- if (!(reader instanceof $Reader))
16935
- reader = $Reader.create(reader);
16936
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReadVCR();
16937
- while (reader.pos < end) {
16938
- var tag = reader.uint32();
16939
- switch (tag >>> 3) {
16940
- default:
16941
- reader.skipType(tag & 7);
16942
- break;
16943
- }
16944
- }
16945
- return message;
16946
- };
16947
-
16948
- /**
16949
- * Decodes a ReadVCR message from the specified reader or buffer, length delimited.
16950
- * @function decodeDelimited
16951
- * @memberof replit.goval.api.ReadVCR
16952
- * @static
16953
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16954
- * @returns {replit.goval.api.ReadVCR} ReadVCR
16955
- * @throws {Error} If the payload is not a reader or valid buffer
16956
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
16957
- */
16958
- ReadVCR.decodeDelimited = function decodeDelimited(reader) {
16959
- if (!(reader instanceof $Reader))
16960
- reader = new $Reader(reader);
16961
- return this.decode(reader, reader.uint32());
16962
- };
16963
-
16964
- /**
16965
- * Verifies a ReadVCR message.
16966
- * @function verify
16967
- * @memberof replit.goval.api.ReadVCR
16968
- * @static
16969
- * @param {Object.<string,*>} message Plain object to verify
16970
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
16971
- */
16972
- ReadVCR.verify = function verify(message) {
16973
- if (typeof message !== "object" || message === null)
16974
- return "object expected";
16975
- return null;
16976
- };
16977
-
16978
- /**
16979
- * Creates a ReadVCR message from a plain object. Also converts values to their respective internal types.
16980
- * @function fromObject
16981
- * @memberof replit.goval.api.ReadVCR
16982
- * @static
16983
- * @param {Object.<string,*>} object Plain object
16984
- * @returns {replit.goval.api.ReadVCR} ReadVCR
16985
- */
16986
- ReadVCR.fromObject = function fromObject(object) {
16987
- if (object instanceof $root.replit.goval.api.ReadVCR)
16988
- return object;
16989
- return new $root.replit.goval.api.ReadVCR();
16990
- };
16991
-
16992
- /**
16993
- * Creates a plain object from a ReadVCR message. Also converts values to other types if specified.
16994
- * @function toObject
16995
- * @memberof replit.goval.api.ReadVCR
16996
- * @static
16997
- * @param {replit.goval.api.ReadVCR} message ReadVCR
16998
- * @param {$protobuf.IConversionOptions} [options] Conversion options
16999
- * @returns {Object.<string,*>} Plain object
17000
- */
17001
- ReadVCR.toObject = function toObject() {
17002
- return {};
17003
- };
17004
-
17005
- /**
17006
- * Converts this ReadVCR to JSON.
17007
- * @function toJSON
17008
- * @memberof replit.goval.api.ReadVCR
17009
- * @instance
17010
- * @returns {Object.<string,*>} JSON object
17011
- */
17012
- ReadVCR.prototype.toJSON = function toJSON() {
17013
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17014
- };
17015
-
17016
- /**
17017
- * Gets the default type url for ReadVCR
17018
- * @function getTypeUrl
17019
- * @memberof replit.goval.api.ReadVCR
17020
- * @static
17021
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17022
- * @returns {string} The default type url
17023
- */
17024
- ReadVCR.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17025
- if (typeUrlPrefix === undefined) {
17026
- typeUrlPrefix = "type.googleapis.com";
17027
- }
17028
- return typeUrlPrefix + "/replit.goval.api.ReadVCR";
17029
- };
17030
-
17031
- return ReadVCR;
17032
- })();
17033
-
17034
- api.VCRLog = (function() {
17035
-
17036
- /**
17037
- * Properties of a VCRLog.
17038
- * @memberof replit.goval.api
17039
- * @interface IVCRLog
17040
- * @property {Array.<replit.goval.api.VCREntry|replit.goval.api.IVCREntry>|null} [log] VCRLog log
17041
- * @property {replit.goval.api.File|replit.goval.api.IFile|null} [logfile] VCRLog logfile
17042
- */
17043
-
17044
- /**
17045
- * Constructs a new VCRLog.
17046
- * @memberof replit.goval.api
17047
- * @classdesc Represents a VCRLog.
17048
- * @constructor
17049
- * @param {replit.goval.api.IVCRLog=} [properties] Properties to set
17050
- */
17051
- function VCRLog(properties) {
17052
- this.log = [];
17053
- if (properties)
17054
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
17055
- if (properties[keys[i]] != null)
17056
- this[keys[i]] = properties[keys[i]];
17057
- }
17058
-
17059
- /**
17060
- * VCRLog log.
17061
- * @member {Array.<replit.goval.api.VCREntry>} log
17062
- * @memberof replit.goval.api.VCRLog
17063
- * @instance
17064
- */
17065
- VCRLog.prototype.log = $util.emptyArray;
17066
-
17067
- /**
17068
- * VCRLog logfile.
17069
- * @member {replit.goval.api.File|null|undefined} logfile
17070
- * @memberof replit.goval.api.VCRLog
17071
- * @instance
17072
- */
17073
- VCRLog.prototype.logfile = null;
17074
-
17075
- /**
17076
- * Creates a new VCRLog instance using the specified properties.
17077
- * @function create
17078
- * @memberof replit.goval.api.VCRLog
17079
- * @static
17080
- * @param {replit.goval.api.IVCRLog=} [properties] Properties to set
17081
- * @returns {replit.goval.api.VCRLog} VCRLog instance
17082
- */
17083
- VCRLog.create = function create(properties) {
17084
- return VCRLog.fromObject(properties);
17085
- };
17086
-
17087
- /**
17088
- * Encodes the specified VCRLog message. Does not implicitly {@link replit.goval.api.VCRLog.verify|verify} messages.
17089
- * @function encode
17090
- * @memberof replit.goval.api.VCRLog
17091
- * @static
17092
- * @param {replit.goval.api.VCRLog} message VCRLog message or plain object to encode
17093
- * @param {$protobuf.Writer} [writer] Writer to encode to
17094
- * @returns {$protobuf.Writer} Writer
17095
- */
17096
- VCRLog.encode = function encode(message, writer) {
17097
- if (!writer)
17098
- writer = $Writer.create();
17099
- if (message.log != null && message.log.length)
17100
- for (var i = 0; i < message.log.length; ++i)
17101
- $root.replit.goval.api.VCREntry.encode(message.log[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
17102
- if (message.logfile != null && Object.hasOwnProperty.call(message, "logfile"))
17103
- $root.replit.goval.api.File.encode(message.logfile, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
17104
- return writer;
17105
- };
17106
-
17107
- /**
17108
- * Encodes the specified VCRLog message, length delimited. Does not implicitly {@link replit.goval.api.VCRLog.verify|verify} messages.
17109
- * @function encodeDelimited
17110
- * @memberof replit.goval.api.VCRLog
17111
- * @static
17112
- * @param {replit.goval.api.VCRLog} message VCRLog message or plain object to encode
17113
- * @param {$protobuf.Writer} [writer] Writer to encode to
17114
- * @returns {$protobuf.Writer} Writer
17115
- */
17116
- VCRLog.encodeDelimited = function encodeDelimited(message, writer) {
17117
- return this.encode(message, writer).ldelim();
17118
- };
17119
-
17120
- /**
17121
- * Decodes a VCRLog message from the specified reader or buffer.
17122
- * @function decode
17123
- * @memberof replit.goval.api.VCRLog
17124
- * @static
17125
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
17126
- * @param {number} [length] Message length if known beforehand
17127
- * @returns {replit.goval.api.VCRLog} VCRLog
17128
- * @throws {Error} If the payload is not a reader or valid buffer
17129
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17130
- */
17131
- VCRLog.decode = function decode(reader, length) {
17132
- if (!(reader instanceof $Reader))
17133
- reader = $Reader.create(reader);
17134
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.VCRLog();
17135
- while (reader.pos < end) {
17136
- var tag = reader.uint32();
17137
- switch (tag >>> 3) {
17138
- case 1: {
17139
- if (!(message.log && message.log.length))
17140
- message.log = [];
17141
- message.log.push($root.replit.goval.api.VCREntry.decode(reader, reader.uint32()));
17142
- break;
17143
- }
17144
- case 2: {
17145
- message.logfile = $root.replit.goval.api.File.decode(reader, reader.uint32());
17146
- break;
17147
- }
17148
- default:
17149
- reader.skipType(tag & 7);
17150
- break;
17151
- }
17152
- }
17153
- return message;
17154
- };
17155
-
17156
- /**
17157
- * Decodes a VCRLog message from the specified reader or buffer, length delimited.
17158
- * @function decodeDelimited
17159
- * @memberof replit.goval.api.VCRLog
17160
- * @static
17161
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
17162
- * @returns {replit.goval.api.VCRLog} VCRLog
17163
- * @throws {Error} If the payload is not a reader or valid buffer
17164
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17165
- */
17166
- VCRLog.decodeDelimited = function decodeDelimited(reader) {
17167
- if (!(reader instanceof $Reader))
17168
- reader = new $Reader(reader);
17169
- return this.decode(reader, reader.uint32());
17170
- };
17171
-
17172
- /**
17173
- * Verifies a VCRLog message.
17174
- * @function verify
17175
- * @memberof replit.goval.api.VCRLog
17176
- * @static
17177
- * @param {Object.<string,*>} message Plain object to verify
17178
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
17179
- */
17180
- VCRLog.verify = function verify(message) {
17181
- if (typeof message !== "object" || message === null)
17182
- return "object expected";
17183
- if (message.log != null && message.hasOwnProperty("log")) {
17184
- if (!Array.isArray(message.log))
17185
- return "log: array expected";
17186
- for (var i = 0; i < message.log.length; ++i) {
17187
- var error = $root.replit.goval.api.VCREntry.verify(message.log[i]);
17188
- if (error)
17189
- return "log." + error;
17190
- }
17191
- }
17192
- if (message.logfile != null && message.hasOwnProperty("logfile")) {
17193
- var error = $root.replit.goval.api.File.verify(message.logfile);
17194
- if (error)
17195
- return "logfile." + error;
17196
- }
17197
- return null;
17198
- };
17199
-
17200
- /**
17201
- * Creates a VCRLog message from a plain object. Also converts values to their respective internal types.
17202
- * @function fromObject
17203
- * @memberof replit.goval.api.VCRLog
17204
- * @static
17205
- * @param {Object.<string,*>} object Plain object
17206
- * @returns {replit.goval.api.VCRLog} VCRLog
17207
- */
17208
- VCRLog.fromObject = function fromObject(object) {
17209
- if (object instanceof $root.replit.goval.api.VCRLog)
17210
- return object;
17211
- var message = new $root.replit.goval.api.VCRLog();
17212
- if (object.log) {
17213
- if (!Array.isArray(object.log))
17214
- throw TypeError(".replit.goval.api.VCRLog.log: array expected");
17215
- message.log = [];
17216
- for (var i = 0; i < object.log.length; ++i) {
17217
- if (typeof object.log[i] !== "object")
17218
- throw TypeError(".replit.goval.api.VCRLog.log: object expected");
17219
- message.log[i] = $root.replit.goval.api.VCREntry.fromObject(object.log[i]);
17220
- }
17221
- }
17222
- if (object.logfile != null) {
17223
- if (typeof object.logfile !== "object")
17224
- throw TypeError(".replit.goval.api.VCRLog.logfile: object expected");
17225
- message.logfile = $root.replit.goval.api.File.fromObject(object.logfile);
17226
- }
17227
- return message;
17228
- };
17229
-
17230
- /**
17231
- * Creates a plain object from a VCRLog message. Also converts values to other types if specified.
17232
- * @function toObject
17233
- * @memberof replit.goval.api.VCRLog
17234
- * @static
17235
- * @param {replit.goval.api.VCRLog} message VCRLog
17236
- * @param {$protobuf.IConversionOptions} [options] Conversion options
17237
- * @returns {Object.<string,*>} Plain object
17238
- */
17239
- VCRLog.toObject = function toObject(message, options) {
17240
- if (!options)
17241
- options = {};
17242
- var object = {};
17243
- if (options.arrays || options.defaults)
17244
- object.log = [];
17245
- if (options.defaults)
17246
- object.logfile = null;
17247
- if (message.log && message.log.length) {
17248
- object.log = [];
17249
- for (var j = 0; j < message.log.length; ++j)
17250
- object.log[j] = $root.replit.goval.api.VCREntry.toObject(message.log[j], options);
17251
- }
17252
- if (message.logfile != null && message.hasOwnProperty("logfile"))
17253
- object.logfile = $root.replit.goval.api.File.toObject(message.logfile, options);
17254
- return object;
17255
- };
17256
-
17257
- /**
17258
- * Converts this VCRLog to JSON.
17259
- * @function toJSON
17260
- * @memberof replit.goval.api.VCRLog
17261
- * @instance
17262
- * @returns {Object.<string,*>} JSON object
17263
- */
17264
- VCRLog.prototype.toJSON = function toJSON() {
17265
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
17266
- };
17267
-
17268
- /**
17269
- * Gets the default type url for VCRLog
17270
- * @function getTypeUrl
17271
- * @memberof replit.goval.api.VCRLog
17272
- * @static
17273
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17274
- * @returns {string} The default type url
17275
- */
17276
- VCRLog.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
17277
- if (typeUrlPrefix === undefined) {
17278
- typeUrlPrefix = "type.googleapis.com";
17279
- }
17280
- return typeUrlPrefix + "/replit.goval.api.VCRLog";
17281
- };
17282
-
17283
- return VCRLog;
17284
- })();
17285
-
17286
16651
  api.ExecInfo = (function() {
17287
16652
 
17288
16653
  /**
@@ -34202,6 +33567,232 @@
34202
33567
  return ReplspaceApiShellTracker;
34203
33568
  })();
34204
33569
 
33570
+ api.PaneMetricsTracker = (function() {
33571
+
33572
+ /**
33573
+ * Properties of a PaneMetricsTracker.
33574
+ * @memberof replit.goval.api
33575
+ * @interface IPaneMetricsTracker
33576
+ * @property {string|null} [pane] PaneMetricsTracker pane
33577
+ * @property {string|null} [flow] PaneMetricsTracker flow
33578
+ */
33579
+
33580
+ /**
33581
+ * Constructs a new PaneMetricsTracker.
33582
+ * @memberof replit.goval.api
33583
+ * @classdesc Represents a PaneMetricsTracker.
33584
+ * @constructor
33585
+ * @param {replit.goval.api.IPaneMetricsTracker=} [properties] Properties to set
33586
+ */
33587
+ function PaneMetricsTracker(properties) {
33588
+ if (properties)
33589
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
33590
+ if (properties[keys[i]] != null)
33591
+ this[keys[i]] = properties[keys[i]];
33592
+ }
33593
+
33594
+ /**
33595
+ * PaneMetricsTracker pane.
33596
+ * @member {string} pane
33597
+ * @memberof replit.goval.api.PaneMetricsTracker
33598
+ * @instance
33599
+ */
33600
+ PaneMetricsTracker.prototype.pane = "";
33601
+
33602
+ /**
33603
+ * PaneMetricsTracker flow.
33604
+ * @member {string} flow
33605
+ * @memberof replit.goval.api.PaneMetricsTracker
33606
+ * @instance
33607
+ */
33608
+ PaneMetricsTracker.prototype.flow = "";
33609
+
33610
+ /**
33611
+ * Creates a new PaneMetricsTracker instance using the specified properties.
33612
+ * @function create
33613
+ * @memberof replit.goval.api.PaneMetricsTracker
33614
+ * @static
33615
+ * @param {replit.goval.api.IPaneMetricsTracker=} [properties] Properties to set
33616
+ * @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker instance
33617
+ */
33618
+ PaneMetricsTracker.create = function create(properties) {
33619
+ return PaneMetricsTracker.fromObject(properties);
33620
+ };
33621
+
33622
+ /**
33623
+ * Encodes the specified PaneMetricsTracker message. Does not implicitly {@link replit.goval.api.PaneMetricsTracker.verify|verify} messages.
33624
+ * @function encode
33625
+ * @memberof replit.goval.api.PaneMetricsTracker
33626
+ * @static
33627
+ * @param {replit.goval.api.PaneMetricsTracker} message PaneMetricsTracker message or plain object to encode
33628
+ * @param {$protobuf.Writer} [writer] Writer to encode to
33629
+ * @returns {$protobuf.Writer} Writer
33630
+ */
33631
+ PaneMetricsTracker.encode = function encode(message, writer) {
33632
+ if (!writer)
33633
+ writer = $Writer.create();
33634
+ if (message.pane != null && Object.hasOwnProperty.call(message, "pane"))
33635
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.pane);
33636
+ if (message.flow != null && Object.hasOwnProperty.call(message, "flow"))
33637
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.flow);
33638
+ return writer;
33639
+ };
33640
+
33641
+ /**
33642
+ * Encodes the specified PaneMetricsTracker message, length delimited. Does not implicitly {@link replit.goval.api.PaneMetricsTracker.verify|verify} messages.
33643
+ * @function encodeDelimited
33644
+ * @memberof replit.goval.api.PaneMetricsTracker
33645
+ * @static
33646
+ * @param {replit.goval.api.PaneMetricsTracker} message PaneMetricsTracker message or plain object to encode
33647
+ * @param {$protobuf.Writer} [writer] Writer to encode to
33648
+ * @returns {$protobuf.Writer} Writer
33649
+ */
33650
+ PaneMetricsTracker.encodeDelimited = function encodeDelimited(message, writer) {
33651
+ return this.encode(message, writer).ldelim();
33652
+ };
33653
+
33654
+ /**
33655
+ * Decodes a PaneMetricsTracker message from the specified reader or buffer.
33656
+ * @function decode
33657
+ * @memberof replit.goval.api.PaneMetricsTracker
33658
+ * @static
33659
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
33660
+ * @param {number} [length] Message length if known beforehand
33661
+ * @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker
33662
+ * @throws {Error} If the payload is not a reader or valid buffer
33663
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33664
+ */
33665
+ PaneMetricsTracker.decode = function decode(reader, length) {
33666
+ if (!(reader instanceof $Reader))
33667
+ reader = $Reader.create(reader);
33668
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.PaneMetricsTracker();
33669
+ while (reader.pos < end) {
33670
+ var tag = reader.uint32();
33671
+ switch (tag >>> 3) {
33672
+ case 1: {
33673
+ message.pane = reader.string();
33674
+ break;
33675
+ }
33676
+ case 2: {
33677
+ message.flow = reader.string();
33678
+ break;
33679
+ }
33680
+ default:
33681
+ reader.skipType(tag & 7);
33682
+ break;
33683
+ }
33684
+ }
33685
+ return message;
33686
+ };
33687
+
33688
+ /**
33689
+ * Decodes a PaneMetricsTracker message from the specified reader or buffer, length delimited.
33690
+ * @function decodeDelimited
33691
+ * @memberof replit.goval.api.PaneMetricsTracker
33692
+ * @static
33693
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
33694
+ * @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker
33695
+ * @throws {Error} If the payload is not a reader or valid buffer
33696
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33697
+ */
33698
+ PaneMetricsTracker.decodeDelimited = function decodeDelimited(reader) {
33699
+ if (!(reader instanceof $Reader))
33700
+ reader = new $Reader(reader);
33701
+ return this.decode(reader, reader.uint32());
33702
+ };
33703
+
33704
+ /**
33705
+ * Verifies a PaneMetricsTracker message.
33706
+ * @function verify
33707
+ * @memberof replit.goval.api.PaneMetricsTracker
33708
+ * @static
33709
+ * @param {Object.<string,*>} message Plain object to verify
33710
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
33711
+ */
33712
+ PaneMetricsTracker.verify = function verify(message) {
33713
+ if (typeof message !== "object" || message === null)
33714
+ return "object expected";
33715
+ if (message.pane != null && message.hasOwnProperty("pane"))
33716
+ if (!$util.isString(message.pane))
33717
+ return "pane: string expected";
33718
+ if (message.flow != null && message.hasOwnProperty("flow"))
33719
+ if (!$util.isString(message.flow))
33720
+ return "flow: string expected";
33721
+ return null;
33722
+ };
33723
+
33724
+ /**
33725
+ * Creates a PaneMetricsTracker message from a plain object. Also converts values to their respective internal types.
33726
+ * @function fromObject
33727
+ * @memberof replit.goval.api.PaneMetricsTracker
33728
+ * @static
33729
+ * @param {Object.<string,*>} object Plain object
33730
+ * @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker
33731
+ */
33732
+ PaneMetricsTracker.fromObject = function fromObject(object) {
33733
+ if (object instanceof $root.replit.goval.api.PaneMetricsTracker)
33734
+ return object;
33735
+ var message = new $root.replit.goval.api.PaneMetricsTracker();
33736
+ if (object.pane != null)
33737
+ message.pane = String(object.pane);
33738
+ if (object.flow != null)
33739
+ message.flow = String(object.flow);
33740
+ return message;
33741
+ };
33742
+
33743
+ /**
33744
+ * Creates a plain object from a PaneMetricsTracker message. Also converts values to other types if specified.
33745
+ * @function toObject
33746
+ * @memberof replit.goval.api.PaneMetricsTracker
33747
+ * @static
33748
+ * @param {replit.goval.api.PaneMetricsTracker} message PaneMetricsTracker
33749
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
33750
+ * @returns {Object.<string,*>} Plain object
33751
+ */
33752
+ PaneMetricsTracker.toObject = function toObject(message, options) {
33753
+ if (!options)
33754
+ options = {};
33755
+ var object = {};
33756
+ if (options.defaults) {
33757
+ object.pane = "";
33758
+ object.flow = "";
33759
+ }
33760
+ if (message.pane != null && message.hasOwnProperty("pane"))
33761
+ object.pane = message.pane;
33762
+ if (message.flow != null && message.hasOwnProperty("flow"))
33763
+ object.flow = message.flow;
33764
+ return object;
33765
+ };
33766
+
33767
+ /**
33768
+ * Converts this PaneMetricsTracker to JSON.
33769
+ * @function toJSON
33770
+ * @memberof replit.goval.api.PaneMetricsTracker
33771
+ * @instance
33772
+ * @returns {Object.<string,*>} JSON object
33773
+ */
33774
+ PaneMetricsTracker.prototype.toJSON = function toJSON() {
33775
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
33776
+ };
33777
+
33778
+ /**
33779
+ * Gets the default type url for PaneMetricsTracker
33780
+ * @function getTypeUrl
33781
+ * @memberof replit.goval.api.PaneMetricsTracker
33782
+ * @static
33783
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33784
+ * @returns {string} The default type url
33785
+ */
33786
+ PaneMetricsTracker.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
33787
+ if (typeUrlPrefix === undefined) {
33788
+ typeUrlPrefix = "type.googleapis.com";
33789
+ }
33790
+ return typeUrlPrefix + "/replit.goval.api.PaneMetricsTracker";
33791
+ };
33792
+
33793
+ return PaneMetricsTracker;
33794
+ })();
33795
+
34205
33796
  api.Focused = (function() {
34206
33797
 
34207
33798
  /**
@@ -69148,6 +68739,208 @@
69148
68739
  return SecretsSetRequest;
69149
68740
  })();
69150
68741
 
68742
+ api.ReplResourcesUpdateNotification = (function() {
68743
+
68744
+ /**
68745
+ * Properties of a ReplResourcesUpdateNotification.
68746
+ * @memberof replit.goval.api
68747
+ * @interface IReplResourcesUpdateNotification
68748
+ * @property {string|null} [contents] ReplResourcesUpdateNotification contents
68749
+ */
68750
+
68751
+ /**
68752
+ * Constructs a new ReplResourcesUpdateNotification.
68753
+ * @memberof replit.goval.api
68754
+ * @classdesc Represents a ReplResourcesUpdateNotification.
68755
+ * @constructor
68756
+ * @param {replit.goval.api.IReplResourcesUpdateNotification=} [properties] Properties to set
68757
+ */
68758
+ function ReplResourcesUpdateNotification(properties) {
68759
+ if (properties)
68760
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
68761
+ if (properties[keys[i]] != null)
68762
+ this[keys[i]] = properties[keys[i]];
68763
+ }
68764
+
68765
+ /**
68766
+ * ReplResourcesUpdateNotification contents.
68767
+ * @member {string} contents
68768
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68769
+ * @instance
68770
+ */
68771
+ ReplResourcesUpdateNotification.prototype.contents = "";
68772
+
68773
+ /**
68774
+ * Creates a new ReplResourcesUpdateNotification instance using the specified properties.
68775
+ * @function create
68776
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68777
+ * @static
68778
+ * @param {replit.goval.api.IReplResourcesUpdateNotification=} [properties] Properties to set
68779
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification instance
68780
+ */
68781
+ ReplResourcesUpdateNotification.create = function create(properties) {
68782
+ return ReplResourcesUpdateNotification.fromObject(properties);
68783
+ };
68784
+
68785
+ /**
68786
+ * Encodes the specified ReplResourcesUpdateNotification message. Does not implicitly {@link replit.goval.api.ReplResourcesUpdateNotification.verify|verify} messages.
68787
+ * @function encode
68788
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68789
+ * @static
68790
+ * @param {replit.goval.api.ReplResourcesUpdateNotification} message ReplResourcesUpdateNotification message or plain object to encode
68791
+ * @param {$protobuf.Writer} [writer] Writer to encode to
68792
+ * @returns {$protobuf.Writer} Writer
68793
+ */
68794
+ ReplResourcesUpdateNotification.encode = function encode(message, writer) {
68795
+ if (!writer)
68796
+ writer = $Writer.create();
68797
+ if (message.contents != null && Object.hasOwnProperty.call(message, "contents"))
68798
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.contents);
68799
+ return writer;
68800
+ };
68801
+
68802
+ /**
68803
+ * Encodes the specified ReplResourcesUpdateNotification message, length delimited. Does not implicitly {@link replit.goval.api.ReplResourcesUpdateNotification.verify|verify} messages.
68804
+ * @function encodeDelimited
68805
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68806
+ * @static
68807
+ * @param {replit.goval.api.ReplResourcesUpdateNotification} message ReplResourcesUpdateNotification message or plain object to encode
68808
+ * @param {$protobuf.Writer} [writer] Writer to encode to
68809
+ * @returns {$protobuf.Writer} Writer
68810
+ */
68811
+ ReplResourcesUpdateNotification.encodeDelimited = function encodeDelimited(message, writer) {
68812
+ return this.encode(message, writer).ldelim();
68813
+ };
68814
+
68815
+ /**
68816
+ * Decodes a ReplResourcesUpdateNotification message from the specified reader or buffer.
68817
+ * @function decode
68818
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68819
+ * @static
68820
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
68821
+ * @param {number} [length] Message length if known beforehand
68822
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification
68823
+ * @throws {Error} If the payload is not a reader or valid buffer
68824
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
68825
+ */
68826
+ ReplResourcesUpdateNotification.decode = function decode(reader, length) {
68827
+ if (!(reader instanceof $Reader))
68828
+ reader = $Reader.create(reader);
68829
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReplResourcesUpdateNotification();
68830
+ while (reader.pos < end) {
68831
+ var tag = reader.uint32();
68832
+ switch (tag >>> 3) {
68833
+ case 1: {
68834
+ message.contents = reader.string();
68835
+ break;
68836
+ }
68837
+ default:
68838
+ reader.skipType(tag & 7);
68839
+ break;
68840
+ }
68841
+ }
68842
+ return message;
68843
+ };
68844
+
68845
+ /**
68846
+ * Decodes a ReplResourcesUpdateNotification message from the specified reader or buffer, length delimited.
68847
+ * @function decodeDelimited
68848
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68849
+ * @static
68850
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
68851
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification
68852
+ * @throws {Error} If the payload is not a reader or valid buffer
68853
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
68854
+ */
68855
+ ReplResourcesUpdateNotification.decodeDelimited = function decodeDelimited(reader) {
68856
+ if (!(reader instanceof $Reader))
68857
+ reader = new $Reader(reader);
68858
+ return this.decode(reader, reader.uint32());
68859
+ };
68860
+
68861
+ /**
68862
+ * Verifies a ReplResourcesUpdateNotification message.
68863
+ * @function verify
68864
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68865
+ * @static
68866
+ * @param {Object.<string,*>} message Plain object to verify
68867
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
68868
+ */
68869
+ ReplResourcesUpdateNotification.verify = function verify(message) {
68870
+ if (typeof message !== "object" || message === null)
68871
+ return "object expected";
68872
+ if (message.contents != null && message.hasOwnProperty("contents"))
68873
+ if (!$util.isString(message.contents))
68874
+ return "contents: string expected";
68875
+ return null;
68876
+ };
68877
+
68878
+ /**
68879
+ * Creates a ReplResourcesUpdateNotification message from a plain object. Also converts values to their respective internal types.
68880
+ * @function fromObject
68881
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68882
+ * @static
68883
+ * @param {Object.<string,*>} object Plain object
68884
+ * @returns {replit.goval.api.ReplResourcesUpdateNotification} ReplResourcesUpdateNotification
68885
+ */
68886
+ ReplResourcesUpdateNotification.fromObject = function fromObject(object) {
68887
+ if (object instanceof $root.replit.goval.api.ReplResourcesUpdateNotification)
68888
+ return object;
68889
+ var message = new $root.replit.goval.api.ReplResourcesUpdateNotification();
68890
+ if (object.contents != null)
68891
+ message.contents = String(object.contents);
68892
+ return message;
68893
+ };
68894
+
68895
+ /**
68896
+ * Creates a plain object from a ReplResourcesUpdateNotification message. Also converts values to other types if specified.
68897
+ * @function toObject
68898
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68899
+ * @static
68900
+ * @param {replit.goval.api.ReplResourcesUpdateNotification} message ReplResourcesUpdateNotification
68901
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
68902
+ * @returns {Object.<string,*>} Plain object
68903
+ */
68904
+ ReplResourcesUpdateNotification.toObject = function toObject(message, options) {
68905
+ if (!options)
68906
+ options = {};
68907
+ var object = {};
68908
+ if (options.defaults)
68909
+ object.contents = "";
68910
+ if (message.contents != null && message.hasOwnProperty("contents"))
68911
+ object.contents = message.contents;
68912
+ return object;
68913
+ };
68914
+
68915
+ /**
68916
+ * Converts this ReplResourcesUpdateNotification to JSON.
68917
+ * @function toJSON
68918
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68919
+ * @instance
68920
+ * @returns {Object.<string,*>} JSON object
68921
+ */
68922
+ ReplResourcesUpdateNotification.prototype.toJSON = function toJSON() {
68923
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
68924
+ };
68925
+
68926
+ /**
68927
+ * Gets the default type url for ReplResourcesUpdateNotification
68928
+ * @function getTypeUrl
68929
+ * @memberof replit.goval.api.ReplResourcesUpdateNotification
68930
+ * @static
68931
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
68932
+ * @returns {string} The default type url
68933
+ */
68934
+ ReplResourcesUpdateNotification.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
68935
+ if (typeUrlPrefix === undefined) {
68936
+ typeUrlPrefix = "type.googleapis.com";
68937
+ }
68938
+ return typeUrlPrefix + "/replit.goval.api.ReplResourcesUpdateNotification";
68939
+ };
68940
+
68941
+ return ReplResourcesUpdateNotification;
68942
+ })();
68943
+
69151
68944
  api.TLSCertificate = (function() {
69152
68945
 
69153
68946
  /**
@@ -73560,6 +73353,7 @@
73560
73353
  * @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] ReplToken buildInfo
73561
73354
  * @property {replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null} [pid2Info] ReplToken pid2Info
73562
73355
  * @property {boolean|null} [paid] ReplToken paid
73356
+ * @property {boolean|null} [replexec] ReplToken replexec
73563
73357
  */
73564
73358
 
73565
73359
  /**
@@ -73714,6 +73508,14 @@
73714
73508
  */
73715
73509
  ReplToken.prototype.paid = false;
73716
73510
 
73511
+ /**
73512
+ * ReplToken replexec.
73513
+ * @member {boolean} replexec
73514
+ * @memberof replit.goval.api.token.ReplToken
73515
+ * @instance
73516
+ */
73517
+ ReplToken.prototype.replexec = false;
73518
+
73717
73519
  // OneOf field names bound to virtual getters and setters
73718
73520
  var $oneOfFields;
73719
73521
 
@@ -73788,6 +73590,8 @@
73788
73590
  $root.replit.goval.api.repl.Pid2Binary.encode(message.pid2Info, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
73789
73591
  if (message.paid != null && Object.hasOwnProperty.call(message, "paid"))
73790
73592
  writer.uint32(/* id 20, wireType 0 =*/160).bool(message.paid);
73593
+ if (message.replexec != null && Object.hasOwnProperty.call(message, "replexec"))
73594
+ writer.uint32(/* id 21, wireType 0 =*/168).bool(message.replexec);
73791
73595
  return writer;
73792
73596
  };
73793
73597
 
@@ -73894,6 +73698,10 @@
73894
73698
  message.paid = reader.bool();
73895
73699
  break;
73896
73700
  }
73701
+ case 21: {
73702
+ message.replexec = reader.bool();
73703
+ break;
73704
+ }
73897
73705
  default:
73898
73706
  reader.skipType(tag & 7);
73899
73707
  break;
@@ -74038,6 +73846,9 @@
74038
73846
  if (message.paid != null && message.hasOwnProperty("paid"))
74039
73847
  if (typeof message.paid !== "boolean")
74040
73848
  return "paid: boolean expected";
73849
+ if (message.replexec != null && message.hasOwnProperty("replexec"))
73850
+ if (typeof message.replexec !== "boolean")
73851
+ return "replexec: boolean expected";
74041
73852
  return null;
74042
73853
  };
74043
73854
 
@@ -74174,6 +73985,8 @@
74174
73985
  }
74175
73986
  if (object.paid != null)
74176
73987
  message.paid = Boolean(object.paid);
73988
+ if (object.replexec != null)
73989
+ message.replexec = Boolean(object.replexec);
74177
73990
  return message;
74178
73991
  };
74179
73992
 
@@ -74207,6 +74020,7 @@
74207
74020
  object.buildInfo = null;
74208
74021
  object.pid2Info = null;
74209
74022
  object.paid = false;
74023
+ object.replexec = false;
74210
74024
  }
74211
74025
  if (message.iat != null && message.hasOwnProperty("iat"))
74212
74026
  object.iat = $root.google.protobuf.Timestamp.toObject(message.iat, options);
@@ -74257,6 +74071,8 @@
74257
74071
  object.pid2Info = $root.replit.goval.api.repl.Pid2Binary.toObject(message.pid2Info, options);
74258
74072
  if (message.paid != null && message.hasOwnProperty("paid"))
74259
74073
  object.paid = message.paid;
74074
+ if (message.replexec != null && message.hasOwnProperty("replexec"))
74075
+ object.replexec = message.replexec;
74260
74076
  return object;
74261
74077
  };
74262
74078
 
@@ -89246,180 +89062,6 @@
89246
89062
  */
89247
89063
  var features = {};
89248
89064
 
89249
- features.Gpu = (function() {
89250
-
89251
- /**
89252
- * Properties of a Gpu.
89253
- * @memberof replit.goval.api.features
89254
- * @interface IGpu
89255
- */
89256
-
89257
- /**
89258
- * Constructs a new Gpu.
89259
- * @memberof replit.goval.api.features
89260
- * @classdesc Represents a Gpu.
89261
- * @constructor
89262
- * @param {replit.goval.api.features.IGpu=} [properties] Properties to set
89263
- */
89264
- function Gpu(properties) {
89265
- if (properties)
89266
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89267
- if (properties[keys[i]] != null)
89268
- this[keys[i]] = properties[keys[i]];
89269
- }
89270
-
89271
- /**
89272
- * Creates a new Gpu instance using the specified properties.
89273
- * @function create
89274
- * @memberof replit.goval.api.features.Gpu
89275
- * @static
89276
- * @param {replit.goval.api.features.IGpu=} [properties] Properties to set
89277
- * @returns {replit.goval.api.features.Gpu} Gpu instance
89278
- */
89279
- Gpu.create = function create(properties) {
89280
- return Gpu.fromObject(properties);
89281
- };
89282
-
89283
- /**
89284
- * Encodes the specified Gpu message. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
89285
- * @function encode
89286
- * @memberof replit.goval.api.features.Gpu
89287
- * @static
89288
- * @param {replit.goval.api.features.Gpu} message Gpu message or plain object to encode
89289
- * @param {$protobuf.Writer} [writer] Writer to encode to
89290
- * @returns {$protobuf.Writer} Writer
89291
- */
89292
- Gpu.encode = function encode(message, writer) {
89293
- if (!writer)
89294
- writer = $Writer.create();
89295
- return writer;
89296
- };
89297
-
89298
- /**
89299
- * Encodes the specified Gpu message, length delimited. Does not implicitly {@link replit.goval.api.features.Gpu.verify|verify} messages.
89300
- * @function encodeDelimited
89301
- * @memberof replit.goval.api.features.Gpu
89302
- * @static
89303
- * @param {replit.goval.api.features.Gpu} message Gpu message or plain object to encode
89304
- * @param {$protobuf.Writer} [writer] Writer to encode to
89305
- * @returns {$protobuf.Writer} Writer
89306
- */
89307
- Gpu.encodeDelimited = function encodeDelimited(message, writer) {
89308
- return this.encode(message, writer).ldelim();
89309
- };
89310
-
89311
- /**
89312
- * Decodes a Gpu message from the specified reader or buffer.
89313
- * @function decode
89314
- * @memberof replit.goval.api.features.Gpu
89315
- * @static
89316
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89317
- * @param {number} [length] Message length if known beforehand
89318
- * @returns {replit.goval.api.features.Gpu} Gpu
89319
- * @throws {Error} If the payload is not a reader or valid buffer
89320
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89321
- */
89322
- Gpu.decode = function decode(reader, length) {
89323
- if (!(reader instanceof $Reader))
89324
- reader = $Reader.create(reader);
89325
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.features.Gpu();
89326
- while (reader.pos < end) {
89327
- var tag = reader.uint32();
89328
- switch (tag >>> 3) {
89329
- default:
89330
- reader.skipType(tag & 7);
89331
- break;
89332
- }
89333
- }
89334
- return message;
89335
- };
89336
-
89337
- /**
89338
- * Decodes a Gpu message from the specified reader or buffer, length delimited.
89339
- * @function decodeDelimited
89340
- * @memberof replit.goval.api.features.Gpu
89341
- * @static
89342
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89343
- * @returns {replit.goval.api.features.Gpu} Gpu
89344
- * @throws {Error} If the payload is not a reader or valid buffer
89345
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89346
- */
89347
- Gpu.decodeDelimited = function decodeDelimited(reader) {
89348
- if (!(reader instanceof $Reader))
89349
- reader = new $Reader(reader);
89350
- return this.decode(reader, reader.uint32());
89351
- };
89352
-
89353
- /**
89354
- * Verifies a Gpu message.
89355
- * @function verify
89356
- * @memberof replit.goval.api.features.Gpu
89357
- * @static
89358
- * @param {Object.<string,*>} message Plain object to verify
89359
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
89360
- */
89361
- Gpu.verify = function verify(message) {
89362
- if (typeof message !== "object" || message === null)
89363
- return "object expected";
89364
- return null;
89365
- };
89366
-
89367
- /**
89368
- * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
89369
- * @function fromObject
89370
- * @memberof replit.goval.api.features.Gpu
89371
- * @static
89372
- * @param {Object.<string,*>} object Plain object
89373
- * @returns {replit.goval.api.features.Gpu} Gpu
89374
- */
89375
- Gpu.fromObject = function fromObject(object) {
89376
- if (object instanceof $root.replit.goval.api.features.Gpu)
89377
- return object;
89378
- return new $root.replit.goval.api.features.Gpu();
89379
- };
89380
-
89381
- /**
89382
- * Creates a plain object from a Gpu message. Also converts values to other types if specified.
89383
- * @function toObject
89384
- * @memberof replit.goval.api.features.Gpu
89385
- * @static
89386
- * @param {replit.goval.api.features.Gpu} message Gpu
89387
- * @param {$protobuf.IConversionOptions} [options] Conversion options
89388
- * @returns {Object.<string,*>} Plain object
89389
- */
89390
- Gpu.toObject = function toObject() {
89391
- return {};
89392
- };
89393
-
89394
- /**
89395
- * Converts this Gpu to JSON.
89396
- * @function toJSON
89397
- * @memberof replit.goval.api.features.Gpu
89398
- * @instance
89399
- * @returns {Object.<string,*>} JSON object
89400
- */
89401
- Gpu.prototype.toJSON = function toJSON() {
89402
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
89403
- };
89404
-
89405
- /**
89406
- * Gets the default type url for Gpu
89407
- * @function getTypeUrl
89408
- * @memberof replit.goval.api.features.Gpu
89409
- * @static
89410
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
89411
- * @returns {string} The default type url
89412
- */
89413
- Gpu.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
89414
- if (typeUrlPrefix === undefined) {
89415
- typeUrlPrefix = "type.googleapis.com";
89416
- }
89417
- return typeUrlPrefix + "/replit.goval.api.features.Gpu";
89418
- };
89419
-
89420
- return Gpu;
89421
- })();
89422
-
89423
89065
  features.Boosted = (function() {
89424
89066
 
89425
89067
  /**
@@ -89594,189 +89236,13 @@
89594
89236
  return Boosted;
89595
89237
  })();
89596
89238
 
89597
- features.Backpack = (function() {
89598
-
89599
- /**
89600
- * Properties of a Backpack.
89601
- * @memberof replit.goval.api.features
89602
- * @interface IBackpack
89603
- */
89604
-
89605
- /**
89606
- * Constructs a new Backpack.
89607
- * @memberof replit.goval.api.features
89608
- * @classdesc Represents a Backpack.
89609
- * @constructor
89610
- * @param {replit.goval.api.features.IBackpack=} [properties] Properties to set
89611
- */
89612
- function Backpack(properties) {
89613
- if (properties)
89614
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
89615
- if (properties[keys[i]] != null)
89616
- this[keys[i]] = properties[keys[i]];
89617
- }
89618
-
89619
- /**
89620
- * Creates a new Backpack instance using the specified properties.
89621
- * @function create
89622
- * @memberof replit.goval.api.features.Backpack
89623
- * @static
89624
- * @param {replit.goval.api.features.IBackpack=} [properties] Properties to set
89625
- * @returns {replit.goval.api.features.Backpack} Backpack instance
89626
- */
89627
- Backpack.create = function create(properties) {
89628
- return Backpack.fromObject(properties);
89629
- };
89630
-
89631
- /**
89632
- * Encodes the specified Backpack message. Does not implicitly {@link replit.goval.api.features.Backpack.verify|verify} messages.
89633
- * @function encode
89634
- * @memberof replit.goval.api.features.Backpack
89635
- * @static
89636
- * @param {replit.goval.api.features.Backpack} message Backpack message or plain object to encode
89637
- * @param {$protobuf.Writer} [writer] Writer to encode to
89638
- * @returns {$protobuf.Writer} Writer
89639
- */
89640
- Backpack.encode = function encode(message, writer) {
89641
- if (!writer)
89642
- writer = $Writer.create();
89643
- return writer;
89644
- };
89645
-
89646
- /**
89647
- * Encodes the specified Backpack message, length delimited. Does not implicitly {@link replit.goval.api.features.Backpack.verify|verify} messages.
89648
- * @function encodeDelimited
89649
- * @memberof replit.goval.api.features.Backpack
89650
- * @static
89651
- * @param {replit.goval.api.features.Backpack} message Backpack message or plain object to encode
89652
- * @param {$protobuf.Writer} [writer] Writer to encode to
89653
- * @returns {$protobuf.Writer} Writer
89654
- */
89655
- Backpack.encodeDelimited = function encodeDelimited(message, writer) {
89656
- return this.encode(message, writer).ldelim();
89657
- };
89658
-
89659
- /**
89660
- * Decodes a Backpack message from the specified reader or buffer.
89661
- * @function decode
89662
- * @memberof replit.goval.api.features.Backpack
89663
- * @static
89664
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89665
- * @param {number} [length] Message length if known beforehand
89666
- * @returns {replit.goval.api.features.Backpack} Backpack
89667
- * @throws {Error} If the payload is not a reader or valid buffer
89668
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89669
- */
89670
- Backpack.decode = function decode(reader, length) {
89671
- if (!(reader instanceof $Reader))
89672
- reader = $Reader.create(reader);
89673
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.features.Backpack();
89674
- while (reader.pos < end) {
89675
- var tag = reader.uint32();
89676
- switch (tag >>> 3) {
89677
- default:
89678
- reader.skipType(tag & 7);
89679
- break;
89680
- }
89681
- }
89682
- return message;
89683
- };
89684
-
89685
- /**
89686
- * Decodes a Backpack message from the specified reader or buffer, length delimited.
89687
- * @function decodeDelimited
89688
- * @memberof replit.goval.api.features.Backpack
89689
- * @static
89690
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
89691
- * @returns {replit.goval.api.features.Backpack} Backpack
89692
- * @throws {Error} If the payload is not a reader or valid buffer
89693
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
89694
- */
89695
- Backpack.decodeDelimited = function decodeDelimited(reader) {
89696
- if (!(reader instanceof $Reader))
89697
- reader = new $Reader(reader);
89698
- return this.decode(reader, reader.uint32());
89699
- };
89700
-
89701
- /**
89702
- * Verifies a Backpack message.
89703
- * @function verify
89704
- * @memberof replit.goval.api.features.Backpack
89705
- * @static
89706
- * @param {Object.<string,*>} message Plain object to verify
89707
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
89708
- */
89709
- Backpack.verify = function verify(message) {
89710
- if (typeof message !== "object" || message === null)
89711
- return "object expected";
89712
- return null;
89713
- };
89714
-
89715
- /**
89716
- * Creates a Backpack message from a plain object. Also converts values to their respective internal types.
89717
- * @function fromObject
89718
- * @memberof replit.goval.api.features.Backpack
89719
- * @static
89720
- * @param {Object.<string,*>} object Plain object
89721
- * @returns {replit.goval.api.features.Backpack} Backpack
89722
- */
89723
- Backpack.fromObject = function fromObject(object) {
89724
- if (object instanceof $root.replit.goval.api.features.Backpack)
89725
- return object;
89726
- return new $root.replit.goval.api.features.Backpack();
89727
- };
89728
-
89729
- /**
89730
- * Creates a plain object from a Backpack message. Also converts values to other types if specified.
89731
- * @function toObject
89732
- * @memberof replit.goval.api.features.Backpack
89733
- * @static
89734
- * @param {replit.goval.api.features.Backpack} message Backpack
89735
- * @param {$protobuf.IConversionOptions} [options] Conversion options
89736
- * @returns {Object.<string,*>} Plain object
89737
- */
89738
- Backpack.toObject = function toObject() {
89739
- return {};
89740
- };
89741
-
89742
- /**
89743
- * Converts this Backpack to JSON.
89744
- * @function toJSON
89745
- * @memberof replit.goval.api.features.Backpack
89746
- * @instance
89747
- * @returns {Object.<string,*>} JSON object
89748
- */
89749
- Backpack.prototype.toJSON = function toJSON() {
89750
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
89751
- };
89752
-
89753
- /**
89754
- * Gets the default type url for Backpack
89755
- * @function getTypeUrl
89756
- * @memberof replit.goval.api.features.Backpack
89757
- * @static
89758
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
89759
- * @returns {string} The default type url
89760
- */
89761
- Backpack.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
89762
- if (typeUrlPrefix === undefined) {
89763
- typeUrlPrefix = "type.googleapis.com";
89764
- }
89765
- return typeUrlPrefix + "/replit.goval.api.features.Backpack";
89766
- };
89767
-
89768
- return Backpack;
89769
- })();
89770
-
89771
89239
  features.Feature = (function() {
89772
89240
 
89773
89241
  /**
89774
89242
  * Properties of a Feature.
89775
89243
  * @memberof replit.goval.api.features
89776
89244
  * @interface IFeature
89777
- * @property {replit.goval.api.features.Gpu|replit.goval.api.features.IGpu|null} [gpu] Feature gpu
89778
89245
  * @property {replit.goval.api.features.Boosted|replit.goval.api.features.IBoosted|null} [boosted] Feature boosted
89779
- * @property {replit.goval.api.features.Backpack|replit.goval.api.features.IBackpack|null} [backpack] Feature backpack
89780
89246
  * @property {boolean|null} [required] Feature required
89781
89247
  */
89782
89248
 
@@ -89794,14 +89260,6 @@
89794
89260
  this[keys[i]] = properties[keys[i]];
89795
89261
  }
89796
89262
 
89797
- /**
89798
- * Feature gpu.
89799
- * @member {replit.goval.api.features.Gpu|null|undefined} gpu
89800
- * @memberof replit.goval.api.features.Feature
89801
- * @instance
89802
- */
89803
- Feature.prototype.gpu = null;
89804
-
89805
89263
  /**
89806
89264
  * Feature boosted.
89807
89265
  * @member {replit.goval.api.features.Boosted|null|undefined} boosted
@@ -89810,14 +89268,6 @@
89810
89268
  */
89811
89269
  Feature.prototype.boosted = null;
89812
89270
 
89813
- /**
89814
- * Feature backpack.
89815
- * @member {replit.goval.api.features.Backpack|null|undefined} backpack
89816
- * @memberof replit.goval.api.features.Feature
89817
- * @instance
89818
- */
89819
- Feature.prototype.backpack = null;
89820
-
89821
89271
  /**
89822
89272
  * Feature required.
89823
89273
  * @member {boolean} required
@@ -89831,12 +89281,12 @@
89831
89281
 
89832
89282
  /**
89833
89283
  * Feature feature.
89834
- * @member {"gpu"|"boosted"|"backpack"|undefined} feature
89284
+ * @member {"boosted"|undefined} feature
89835
89285
  * @memberof replit.goval.api.features.Feature
89836
89286
  * @instance
89837
89287
  */
89838
89288
  Object.defineProperty(Feature.prototype, "feature", {
89839
- get: $util.oneOfGetter($oneOfFields = ["gpu", "boosted", "backpack"]),
89289
+ get: $util.oneOfGetter($oneOfFields = ["boosted"]),
89840
89290
  set: $util.oneOfSetter($oneOfFields)
89841
89291
  });
89842
89292
 
@@ -89864,14 +89314,10 @@
89864
89314
  Feature.encode = function encode(message, writer) {
89865
89315
  if (!writer)
89866
89316
  writer = $Writer.create();
89867
- if (message.gpu != null && Object.hasOwnProperty.call(message, "gpu"))
89868
- $root.replit.goval.api.features.Gpu.encode(message.gpu, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
89869
89317
  if (message.boosted != null && Object.hasOwnProperty.call(message, "boosted"))
89870
89318
  $root.replit.goval.api.features.Boosted.encode(message.boosted, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
89871
89319
  if (message.required != null && Object.hasOwnProperty.call(message, "required"))
89872
89320
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.required);
89873
- if (message.backpack != null && Object.hasOwnProperty.call(message, "backpack"))
89874
- $root.replit.goval.api.features.Backpack.encode(message.backpack, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
89875
89321
  return writer;
89876
89322
  };
89877
89323
 
@@ -89906,18 +89352,10 @@
89906
89352
  while (reader.pos < end) {
89907
89353
  var tag = reader.uint32();
89908
89354
  switch (tag >>> 3) {
89909
- case 1: {
89910
- message.gpu = $root.replit.goval.api.features.Gpu.decode(reader, reader.uint32());
89911
- break;
89912
- }
89913
89355
  case 2: {
89914
89356
  message.boosted = $root.replit.goval.api.features.Boosted.decode(reader, reader.uint32());
89915
89357
  break;
89916
89358
  }
89917
- case 4: {
89918
- message.backpack = $root.replit.goval.api.features.Backpack.decode(reader, reader.uint32());
89919
- break;
89920
- }
89921
89359
  case 3: {
89922
89360
  message.required = reader.bool();
89923
89361
  break;
@@ -89958,17 +89396,7 @@
89958
89396
  if (typeof message !== "object" || message === null)
89959
89397
  return "object expected";
89960
89398
  var properties = {};
89961
- if (message.gpu != null && message.hasOwnProperty("gpu")) {
89962
- properties.feature = 1;
89963
- {
89964
- var error = $root.replit.goval.api.features.Gpu.verify(message.gpu);
89965
- if (error)
89966
- return "gpu." + error;
89967
- }
89968
- }
89969
89399
  if (message.boosted != null && message.hasOwnProperty("boosted")) {
89970
- if (properties.feature === 1)
89971
- return "feature: multiple values";
89972
89400
  properties.feature = 1;
89973
89401
  {
89974
89402
  var error = $root.replit.goval.api.features.Boosted.verify(message.boosted);
@@ -89976,16 +89404,6 @@
89976
89404
  return "boosted." + error;
89977
89405
  }
89978
89406
  }
89979
- if (message.backpack != null && message.hasOwnProperty("backpack")) {
89980
- if (properties.feature === 1)
89981
- return "feature: multiple values";
89982
- properties.feature = 1;
89983
- {
89984
- var error = $root.replit.goval.api.features.Backpack.verify(message.backpack);
89985
- if (error)
89986
- return "backpack." + error;
89987
- }
89988
- }
89989
89407
  if (message.required != null && message.hasOwnProperty("required"))
89990
89408
  if (typeof message.required !== "boolean")
89991
89409
  return "required: boolean expected";
@@ -90004,21 +89422,11 @@
90004
89422
  if (object instanceof $root.replit.goval.api.features.Feature)
90005
89423
  return object;
90006
89424
  var message = new $root.replit.goval.api.features.Feature();
90007
- if (object.gpu != null) {
90008
- if (typeof object.gpu !== "object")
90009
- throw TypeError(".replit.goval.api.features.Feature.gpu: object expected");
90010
- message.gpu = $root.replit.goval.api.features.Gpu.fromObject(object.gpu);
90011
- }
90012
89425
  if (object.boosted != null) {
90013
89426
  if (typeof object.boosted !== "object")
90014
89427
  throw TypeError(".replit.goval.api.features.Feature.boosted: object expected");
90015
89428
  message.boosted = $root.replit.goval.api.features.Boosted.fromObject(object.boosted);
90016
89429
  }
90017
- if (object.backpack != null) {
90018
- if (typeof object.backpack !== "object")
90019
- throw TypeError(".replit.goval.api.features.Feature.backpack: object expected");
90020
- message.backpack = $root.replit.goval.api.features.Backpack.fromObject(object.backpack);
90021
- }
90022
89430
  if (object.required != null)
90023
89431
  message.required = Boolean(object.required);
90024
89432
  return message;
@@ -90039,11 +89447,6 @@
90039
89447
  var object = {};
90040
89448
  if (options.defaults)
90041
89449
  object.required = false;
90042
- if (message.gpu != null && message.hasOwnProperty("gpu")) {
90043
- object.gpu = $root.replit.goval.api.features.Gpu.toObject(message.gpu, options);
90044
- if (options.oneofs)
90045
- object.feature = "gpu";
90046
- }
90047
89450
  if (message.boosted != null && message.hasOwnProperty("boosted")) {
90048
89451
  object.boosted = $root.replit.goval.api.features.Boosted.toObject(message.boosted, options);
90049
89452
  if (options.oneofs)
@@ -90051,11 +89454,6 @@
90051
89454
  }
90052
89455
  if (message.required != null && message.hasOwnProperty("required"))
90053
89456
  object.required = message.required;
90054
- if (message.backpack != null && message.hasOwnProperty("backpack")) {
90055
- object.backpack = $root.replit.goval.api.features.Backpack.toObject(message.backpack, options);
90056
- if (options.oneofs)
90057
- object.feature = "backpack";
90058
- }
90059
89457
  return object;
90060
89458
  };
90061
89459