@replit/protocol 0.2.49 → 0.2.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.js CHANGED
@@ -178,6 +178,8 @@
178
178
  * @property {api.DotReplitGetResponse|api.IDotReplitGetResponse|null} [dotReplitGetResponse] Command dotReplitGetResponse
179
179
  * @property {api.RunConfigGetRequest|api.IRunConfigGetRequest|null} [runConfigGetRequest] Command runConfigGetRequest
180
180
  * @property {api.RunConfigGetResponse|api.IRunConfigGetResponse|null} [runConfigGetResponse] Command runConfigGetResponse
181
+ * @property {api.DotReplitUpdateRequest|api.IDotReplitUpdateRequest|null} [dotReplitUpdateRequest] Command dotReplitUpdateRequest
182
+ * @property {api.DotReplitUpdateResponse|api.IDotReplitUpdateResponse|null} [dotReplitUpdateResponse] Command dotReplitUpdateResponse
181
183
  * @property {api.StartLSP|api.IStartLSP|null} [startLSP] Command startLSP
182
184
  * @property {api.FirewallDenied|api.IFirewallDenied|null} [firewallDenied] Command firewallDenied
183
185
  * @property {string|null} [ref] Command ref
@@ -1375,6 +1377,22 @@
1375
1377
  */
1376
1378
  Command.prototype.runConfigGetResponse = null;
1377
1379
 
1380
+ /**
1381
+ * Command dotReplitUpdateRequest.
1382
+ * @member {api.DotReplitUpdateRequest|null|undefined} dotReplitUpdateRequest
1383
+ * @memberof api.Command
1384
+ * @instance
1385
+ */
1386
+ Command.prototype.dotReplitUpdateRequest = null;
1387
+
1388
+ /**
1389
+ * Command dotReplitUpdateResponse.
1390
+ * @member {api.DotReplitUpdateResponse|null|undefined} dotReplitUpdateResponse
1391
+ * @memberof api.Command
1392
+ * @instance
1393
+ */
1394
+ Command.prototype.dotReplitUpdateResponse = null;
1395
+
1378
1396
  /**
1379
1397
  * Command startLSP.
1380
1398
  * @member {api.StartLSP|null|undefined} startLSP
@@ -1412,12 +1430,12 @@
1412
1430
 
1413
1431
  /**
1414
1432
  * Command body.
1415
- * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP"|"firewallDenied"|undefined} body
1433
+ * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|undefined} body
1416
1434
  * @memberof api.Command
1417
1435
  * @instance
1418
1436
  */
1419
1437
  Object.defineProperty(Command.prototype, "body", {
1420
- get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "alwaysOn", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageRemove", "packageInstall", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "startLSP", "firewallDenied"]),
1438
+ get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "alwaysOn", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageRemove", "packageInstall", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied"]),
1421
1439
  set: $util.oneOfSetter($oneOfFields)
1422
1440
  });
1423
1441
 
@@ -1743,6 +1761,10 @@
1743
1761
  writer.uint32(/* id 392, wireType 0 =*/3136).bool(message.NoninteractiveFSChangeEvent);
1744
1762
  if (message.firewallDenied != null && Object.hasOwnProperty.call(message, "firewallDenied"))
1745
1763
  $root.api.FirewallDenied.encode(message.firewallDenied, writer.uint32(/* id 393, wireType 2 =*/3146).fork()).ldelim();
1764
+ if (message.dotReplitUpdateRequest != null && Object.hasOwnProperty.call(message, "dotReplitUpdateRequest"))
1765
+ $root.api.DotReplitUpdateRequest.encode(message.dotReplitUpdateRequest, writer.uint32(/* id 395, wireType 2 =*/3162).fork()).ldelim();
1766
+ if (message.dotReplitUpdateResponse != null && Object.hasOwnProperty.call(message, "dotReplitUpdateResponse"))
1767
+ $root.api.DotReplitUpdateResponse.encode(message.dotReplitUpdateResponse, writer.uint32(/* id 396, wireType 2 =*/3170).fork()).ldelim();
1746
1768
  if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
1747
1769
  writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
1748
1770
  if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
@@ -2223,6 +2245,12 @@
2223
2245
  case 391:
2224
2246
  message.runConfigGetResponse = $root.api.RunConfigGetResponse.decode(reader, reader.uint32());
2225
2247
  break;
2248
+ case 395:
2249
+ message.dotReplitUpdateRequest = $root.api.DotReplitUpdateRequest.decode(reader, reader.uint32());
2250
+ break;
2251
+ case 396:
2252
+ message.dotReplitUpdateResponse = $root.api.DotReplitUpdateResponse.decode(reader, reader.uint32());
2253
+ break;
2226
2254
  case 345:
2227
2255
  message.startLSP = $root.api.StartLSP.decode(reader, reader.uint32());
2228
2256
  break;
@@ -3716,6 +3744,26 @@
3716
3744
  return "runConfigGetResponse." + error;
3717
3745
  }
3718
3746
  }
3747
+ if (message.dotReplitUpdateRequest != null && message.hasOwnProperty("dotReplitUpdateRequest")) {
3748
+ if (properties.body === 1)
3749
+ return "body: multiple values";
3750
+ properties.body = 1;
3751
+ {
3752
+ var error = $root.api.DotReplitUpdateRequest.verify(message.dotReplitUpdateRequest);
3753
+ if (error)
3754
+ return "dotReplitUpdateRequest." + error;
3755
+ }
3756
+ }
3757
+ if (message.dotReplitUpdateResponse != null && message.hasOwnProperty("dotReplitUpdateResponse")) {
3758
+ if (properties.body === 1)
3759
+ return "body: multiple values";
3760
+ properties.body = 1;
3761
+ {
3762
+ var error = $root.api.DotReplitUpdateResponse.verify(message.dotReplitUpdateResponse);
3763
+ if (error)
3764
+ return "dotReplitUpdateResponse." + error;
3765
+ }
3766
+ }
3719
3767
  if (message.startLSP != null && message.hasOwnProperty("startLSP")) {
3720
3768
  if (properties.body === 1)
3721
3769
  return "body: multiple values";
@@ -4466,6 +4514,16 @@
4466
4514
  throw TypeError(".api.Command.runConfigGetResponse: object expected");
4467
4515
  message.runConfigGetResponse = $root.api.RunConfigGetResponse.fromObject(object.runConfigGetResponse);
4468
4516
  }
4517
+ if (object.dotReplitUpdateRequest != null) {
4518
+ if (typeof object.dotReplitUpdateRequest !== "object")
4519
+ throw TypeError(".api.Command.dotReplitUpdateRequest: object expected");
4520
+ message.dotReplitUpdateRequest = $root.api.DotReplitUpdateRequest.fromObject(object.dotReplitUpdateRequest);
4521
+ }
4522
+ if (object.dotReplitUpdateResponse != null) {
4523
+ if (typeof object.dotReplitUpdateResponse !== "object")
4524
+ throw TypeError(".api.Command.dotReplitUpdateResponse: object expected");
4525
+ message.dotReplitUpdateResponse = $root.api.DotReplitUpdateResponse.fromObject(object.dotReplitUpdateResponse);
4526
+ }
4469
4527
  if (object.startLSP != null) {
4470
4528
  if (typeof object.startLSP !== "object")
4471
4529
  throw TypeError(".api.Command.startLSP: object expected");
@@ -5247,6 +5305,16 @@
5247
5305
  if (options.oneofs)
5248
5306
  object.body = "firewallDenied";
5249
5307
  }
5308
+ if (message.dotReplitUpdateRequest != null && message.hasOwnProperty("dotReplitUpdateRequest")) {
5309
+ object.dotReplitUpdateRequest = $root.api.DotReplitUpdateRequest.toObject(message.dotReplitUpdateRequest, options);
5310
+ if (options.oneofs)
5311
+ object.body = "dotReplitUpdateRequest";
5312
+ }
5313
+ if (message.dotReplitUpdateResponse != null && message.hasOwnProperty("dotReplitUpdateResponse")) {
5314
+ object.dotReplitUpdateResponse = $root.api.DotReplitUpdateResponse.toObject(message.dotReplitUpdateResponse, options);
5315
+ if (options.oneofs)
5316
+ object.body = "dotReplitUpdateResponse";
5317
+ }
5250
5318
  if (message.ref != null && message.hasOwnProperty("ref"))
5251
5319
  object.ref = message.ref;
5252
5320
  var keys2;
@@ -33700,6 +33768,603 @@
33700
33768
  return RunConfigGetResponse;
33701
33769
  })();
33702
33770
 
33771
+ api.DotReplitUpdateOp = (function() {
33772
+
33773
+ /**
33774
+ * Properties of a DotReplitUpdateOp.
33775
+ * @memberof api
33776
+ * @interface IDotReplitUpdateOp
33777
+ * @property {string|null} [op] DotReplitUpdateOp op
33778
+ * @property {string|null} [path] DotReplitUpdateOp path
33779
+ * @property {string|null} [value] DotReplitUpdateOp value
33780
+ */
33781
+
33782
+ /**
33783
+ * Constructs a new DotReplitUpdateOp.
33784
+ * @memberof api
33785
+ * @classdesc Represents a DotReplitUpdateOp.
33786
+ * @constructor
33787
+ * @param {api.IDotReplitUpdateOp=} [properties] Properties to set
33788
+ */
33789
+ function DotReplitUpdateOp(properties) {
33790
+ if (properties)
33791
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
33792
+ if (properties[keys[i]] != null)
33793
+ this[keys[i]] = properties[keys[i]];
33794
+ }
33795
+
33796
+ /**
33797
+ * DotReplitUpdateOp op.
33798
+ * @member {string} op
33799
+ * @memberof api.DotReplitUpdateOp
33800
+ * @instance
33801
+ */
33802
+ DotReplitUpdateOp.prototype.op = "";
33803
+
33804
+ /**
33805
+ * DotReplitUpdateOp path.
33806
+ * @member {string} path
33807
+ * @memberof api.DotReplitUpdateOp
33808
+ * @instance
33809
+ */
33810
+ DotReplitUpdateOp.prototype.path = "";
33811
+
33812
+ /**
33813
+ * DotReplitUpdateOp value.
33814
+ * @member {string} value
33815
+ * @memberof api.DotReplitUpdateOp
33816
+ * @instance
33817
+ */
33818
+ DotReplitUpdateOp.prototype.value = "";
33819
+
33820
+ /**
33821
+ * Creates a new DotReplitUpdateOp instance using the specified properties.
33822
+ * @function create
33823
+ * @memberof api.DotReplitUpdateOp
33824
+ * @static
33825
+ * @param {api.IDotReplitUpdateOp=} [properties] Properties to set
33826
+ * @returns {api.DotReplitUpdateOp} DotReplitUpdateOp instance
33827
+ */
33828
+ DotReplitUpdateOp.create = function create(properties) {
33829
+ return DotReplitUpdateOp.fromObject(properties);
33830
+ };
33831
+
33832
+ /**
33833
+ * Encodes the specified DotReplitUpdateOp message. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
33834
+ * @function encode
33835
+ * @memberof api.DotReplitUpdateOp
33836
+ * @static
33837
+ * @param {api.DotReplitUpdateOp} message DotReplitUpdateOp message or plain object to encode
33838
+ * @param {$protobuf.Writer} [writer] Writer to encode to
33839
+ * @returns {$protobuf.Writer} Writer
33840
+ */
33841
+ DotReplitUpdateOp.encode = function encode(message, writer) {
33842
+ if (!writer)
33843
+ writer = $Writer.create();
33844
+ if (message.op != null && Object.hasOwnProperty.call(message, "op"))
33845
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.op);
33846
+ if (message.path != null && Object.hasOwnProperty.call(message, "path"))
33847
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.path);
33848
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
33849
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.value);
33850
+ return writer;
33851
+ };
33852
+
33853
+ /**
33854
+ * Encodes the specified DotReplitUpdateOp message, length delimited. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
33855
+ * @function encodeDelimited
33856
+ * @memberof api.DotReplitUpdateOp
33857
+ * @static
33858
+ * @param {api.DotReplitUpdateOp} message DotReplitUpdateOp message or plain object to encode
33859
+ * @param {$protobuf.Writer} [writer] Writer to encode to
33860
+ * @returns {$protobuf.Writer} Writer
33861
+ */
33862
+ DotReplitUpdateOp.encodeDelimited = function encodeDelimited(message, writer) {
33863
+ return this.encode(message, writer).ldelim();
33864
+ };
33865
+
33866
+ /**
33867
+ * Decodes a DotReplitUpdateOp message from the specified reader or buffer.
33868
+ * @function decode
33869
+ * @memberof api.DotReplitUpdateOp
33870
+ * @static
33871
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
33872
+ * @param {number} [length] Message length if known beforehand
33873
+ * @returns {api.DotReplitUpdateOp} DotReplitUpdateOp
33874
+ * @throws {Error} If the payload is not a reader or valid buffer
33875
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33876
+ */
33877
+ DotReplitUpdateOp.decode = function decode(reader, length) {
33878
+ if (!(reader instanceof $Reader))
33879
+ reader = $Reader.create(reader);
33880
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitUpdateOp();
33881
+ while (reader.pos < end) {
33882
+ var tag = reader.uint32();
33883
+ switch (tag >>> 3) {
33884
+ case 1:
33885
+ message.op = reader.string();
33886
+ break;
33887
+ case 2:
33888
+ message.path = reader.string();
33889
+ break;
33890
+ case 3:
33891
+ message.value = reader.string();
33892
+ break;
33893
+ default:
33894
+ reader.skipType(tag & 7);
33895
+ break;
33896
+ }
33897
+ }
33898
+ return message;
33899
+ };
33900
+
33901
+ /**
33902
+ * Decodes a DotReplitUpdateOp message from the specified reader or buffer, length delimited.
33903
+ * @function decodeDelimited
33904
+ * @memberof api.DotReplitUpdateOp
33905
+ * @static
33906
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
33907
+ * @returns {api.DotReplitUpdateOp} DotReplitUpdateOp
33908
+ * @throws {Error} If the payload is not a reader or valid buffer
33909
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33910
+ */
33911
+ DotReplitUpdateOp.decodeDelimited = function decodeDelimited(reader) {
33912
+ if (!(reader instanceof $Reader))
33913
+ reader = new $Reader(reader);
33914
+ return this.decode(reader, reader.uint32());
33915
+ };
33916
+
33917
+ /**
33918
+ * Verifies a DotReplitUpdateOp message.
33919
+ * @function verify
33920
+ * @memberof api.DotReplitUpdateOp
33921
+ * @static
33922
+ * @param {Object.<string,*>} message Plain object to verify
33923
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
33924
+ */
33925
+ DotReplitUpdateOp.verify = function verify(message) {
33926
+ if (typeof message !== "object" || message === null)
33927
+ return "object expected";
33928
+ if (message.op != null && message.hasOwnProperty("op"))
33929
+ if (!$util.isString(message.op))
33930
+ return "op: string expected";
33931
+ if (message.path != null && message.hasOwnProperty("path"))
33932
+ if (!$util.isString(message.path))
33933
+ return "path: string expected";
33934
+ if (message.value != null && message.hasOwnProperty("value"))
33935
+ if (!$util.isString(message.value))
33936
+ return "value: string expected";
33937
+ return null;
33938
+ };
33939
+
33940
+ /**
33941
+ * Creates a DotReplitUpdateOp message from a plain object. Also converts values to their respective internal types.
33942
+ * @function fromObject
33943
+ * @memberof api.DotReplitUpdateOp
33944
+ * @static
33945
+ * @param {Object.<string,*>} object Plain object
33946
+ * @returns {api.DotReplitUpdateOp} DotReplitUpdateOp
33947
+ */
33948
+ DotReplitUpdateOp.fromObject = function fromObject(object) {
33949
+ if (object instanceof $root.api.DotReplitUpdateOp)
33950
+ return object;
33951
+ var message = new $root.api.DotReplitUpdateOp();
33952
+ if (object.op != null)
33953
+ message.op = String(object.op);
33954
+ if (object.path != null)
33955
+ message.path = String(object.path);
33956
+ if (object.value != null)
33957
+ message.value = String(object.value);
33958
+ return message;
33959
+ };
33960
+
33961
+ /**
33962
+ * Creates a plain object from a DotReplitUpdateOp message. Also converts values to other types if specified.
33963
+ * @function toObject
33964
+ * @memberof api.DotReplitUpdateOp
33965
+ * @static
33966
+ * @param {api.DotReplitUpdateOp} message DotReplitUpdateOp
33967
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
33968
+ * @returns {Object.<string,*>} Plain object
33969
+ */
33970
+ DotReplitUpdateOp.toObject = function toObject(message, options) {
33971
+ if (!options)
33972
+ options = {};
33973
+ var object = {};
33974
+ if (options.defaults) {
33975
+ object.op = "";
33976
+ object.path = "";
33977
+ object.value = "";
33978
+ }
33979
+ if (message.op != null && message.hasOwnProperty("op"))
33980
+ object.op = message.op;
33981
+ if (message.path != null && message.hasOwnProperty("path"))
33982
+ object.path = message.path;
33983
+ if (message.value != null && message.hasOwnProperty("value"))
33984
+ object.value = message.value;
33985
+ return object;
33986
+ };
33987
+
33988
+ /**
33989
+ * Converts this DotReplitUpdateOp to JSON.
33990
+ * @function toJSON
33991
+ * @memberof api.DotReplitUpdateOp
33992
+ * @instance
33993
+ * @returns {Object.<string,*>} JSON object
33994
+ */
33995
+ DotReplitUpdateOp.prototype.toJSON = function toJSON() {
33996
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
33997
+ };
33998
+
33999
+ return DotReplitUpdateOp;
34000
+ })();
34001
+
34002
+ api.DotReplitUpdateRequest = (function() {
34003
+
34004
+ /**
34005
+ * Properties of a DotReplitUpdateRequest.
34006
+ * @memberof api
34007
+ * @interface IDotReplitUpdateRequest
34008
+ * @property {Array.<api.DotReplitUpdateOp|api.IDotReplitUpdateOp>|null} [ops] DotReplitUpdateRequest ops
34009
+ */
34010
+
34011
+ /**
34012
+ * Constructs a new DotReplitUpdateRequest.
34013
+ * @memberof api
34014
+ * @classdesc Represents a DotReplitUpdateRequest.
34015
+ * @constructor
34016
+ * @param {api.IDotReplitUpdateRequest=} [properties] Properties to set
34017
+ */
34018
+ function DotReplitUpdateRequest(properties) {
34019
+ this.ops = [];
34020
+ if (properties)
34021
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
34022
+ if (properties[keys[i]] != null)
34023
+ this[keys[i]] = properties[keys[i]];
34024
+ }
34025
+
34026
+ /**
34027
+ * DotReplitUpdateRequest ops.
34028
+ * @member {Array.<api.DotReplitUpdateOp>} ops
34029
+ * @memberof api.DotReplitUpdateRequest
34030
+ * @instance
34031
+ */
34032
+ DotReplitUpdateRequest.prototype.ops = $util.emptyArray;
34033
+
34034
+ /**
34035
+ * Creates a new DotReplitUpdateRequest instance using the specified properties.
34036
+ * @function create
34037
+ * @memberof api.DotReplitUpdateRequest
34038
+ * @static
34039
+ * @param {api.IDotReplitUpdateRequest=} [properties] Properties to set
34040
+ * @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest instance
34041
+ */
34042
+ DotReplitUpdateRequest.create = function create(properties) {
34043
+ return DotReplitUpdateRequest.fromObject(properties);
34044
+ };
34045
+
34046
+ /**
34047
+ * Encodes the specified DotReplitUpdateRequest message. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
34048
+ * @function encode
34049
+ * @memberof api.DotReplitUpdateRequest
34050
+ * @static
34051
+ * @param {api.DotReplitUpdateRequest} message DotReplitUpdateRequest message or plain object to encode
34052
+ * @param {$protobuf.Writer} [writer] Writer to encode to
34053
+ * @returns {$protobuf.Writer} Writer
34054
+ */
34055
+ DotReplitUpdateRequest.encode = function encode(message, writer) {
34056
+ if (!writer)
34057
+ writer = $Writer.create();
34058
+ if (message.ops != null && message.ops.length)
34059
+ for (var i = 0; i < message.ops.length; ++i)
34060
+ $root.api.DotReplitUpdateOp.encode(message.ops[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
34061
+ return writer;
34062
+ };
34063
+
34064
+ /**
34065
+ * Encodes the specified DotReplitUpdateRequest message, length delimited. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
34066
+ * @function encodeDelimited
34067
+ * @memberof api.DotReplitUpdateRequest
34068
+ * @static
34069
+ * @param {api.DotReplitUpdateRequest} message DotReplitUpdateRequest message or plain object to encode
34070
+ * @param {$protobuf.Writer} [writer] Writer to encode to
34071
+ * @returns {$protobuf.Writer} Writer
34072
+ */
34073
+ DotReplitUpdateRequest.encodeDelimited = function encodeDelimited(message, writer) {
34074
+ return this.encode(message, writer).ldelim();
34075
+ };
34076
+
34077
+ /**
34078
+ * Decodes a DotReplitUpdateRequest message from the specified reader or buffer.
34079
+ * @function decode
34080
+ * @memberof api.DotReplitUpdateRequest
34081
+ * @static
34082
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34083
+ * @param {number} [length] Message length if known beforehand
34084
+ * @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest
34085
+ * @throws {Error} If the payload is not a reader or valid buffer
34086
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34087
+ */
34088
+ DotReplitUpdateRequest.decode = function decode(reader, length) {
34089
+ if (!(reader instanceof $Reader))
34090
+ reader = $Reader.create(reader);
34091
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitUpdateRequest();
34092
+ while (reader.pos < end) {
34093
+ var tag = reader.uint32();
34094
+ switch (tag >>> 3) {
34095
+ case 1:
34096
+ if (!(message.ops && message.ops.length))
34097
+ message.ops = [];
34098
+ message.ops.push($root.api.DotReplitUpdateOp.decode(reader, reader.uint32()));
34099
+ break;
34100
+ default:
34101
+ reader.skipType(tag & 7);
34102
+ break;
34103
+ }
34104
+ }
34105
+ return message;
34106
+ };
34107
+
34108
+ /**
34109
+ * Decodes a DotReplitUpdateRequest message from the specified reader or buffer, length delimited.
34110
+ * @function decodeDelimited
34111
+ * @memberof api.DotReplitUpdateRequest
34112
+ * @static
34113
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34114
+ * @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest
34115
+ * @throws {Error} If the payload is not a reader or valid buffer
34116
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34117
+ */
34118
+ DotReplitUpdateRequest.decodeDelimited = function decodeDelimited(reader) {
34119
+ if (!(reader instanceof $Reader))
34120
+ reader = new $Reader(reader);
34121
+ return this.decode(reader, reader.uint32());
34122
+ };
34123
+
34124
+ /**
34125
+ * Verifies a DotReplitUpdateRequest message.
34126
+ * @function verify
34127
+ * @memberof api.DotReplitUpdateRequest
34128
+ * @static
34129
+ * @param {Object.<string,*>} message Plain object to verify
34130
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
34131
+ */
34132
+ DotReplitUpdateRequest.verify = function verify(message) {
34133
+ if (typeof message !== "object" || message === null)
34134
+ return "object expected";
34135
+ if (message.ops != null && message.hasOwnProperty("ops")) {
34136
+ if (!Array.isArray(message.ops))
34137
+ return "ops: array expected";
34138
+ for (var i = 0; i < message.ops.length; ++i) {
34139
+ var error = $root.api.DotReplitUpdateOp.verify(message.ops[i]);
34140
+ if (error)
34141
+ return "ops." + error;
34142
+ }
34143
+ }
34144
+ return null;
34145
+ };
34146
+
34147
+ /**
34148
+ * Creates a DotReplitUpdateRequest message from a plain object. Also converts values to their respective internal types.
34149
+ * @function fromObject
34150
+ * @memberof api.DotReplitUpdateRequest
34151
+ * @static
34152
+ * @param {Object.<string,*>} object Plain object
34153
+ * @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest
34154
+ */
34155
+ DotReplitUpdateRequest.fromObject = function fromObject(object) {
34156
+ if (object instanceof $root.api.DotReplitUpdateRequest)
34157
+ return object;
34158
+ var message = new $root.api.DotReplitUpdateRequest();
34159
+ if (object.ops) {
34160
+ if (!Array.isArray(object.ops))
34161
+ throw TypeError(".api.DotReplitUpdateRequest.ops: array expected");
34162
+ message.ops = [];
34163
+ for (var i = 0; i < object.ops.length; ++i) {
34164
+ if (typeof object.ops[i] !== "object")
34165
+ throw TypeError(".api.DotReplitUpdateRequest.ops: object expected");
34166
+ message.ops[i] = $root.api.DotReplitUpdateOp.fromObject(object.ops[i]);
34167
+ }
34168
+ }
34169
+ return message;
34170
+ };
34171
+
34172
+ /**
34173
+ * Creates a plain object from a DotReplitUpdateRequest message. Also converts values to other types if specified.
34174
+ * @function toObject
34175
+ * @memberof api.DotReplitUpdateRequest
34176
+ * @static
34177
+ * @param {api.DotReplitUpdateRequest} message DotReplitUpdateRequest
34178
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
34179
+ * @returns {Object.<string,*>} Plain object
34180
+ */
34181
+ DotReplitUpdateRequest.toObject = function toObject(message, options) {
34182
+ if (!options)
34183
+ options = {};
34184
+ var object = {};
34185
+ if (options.arrays || options.defaults)
34186
+ object.ops = [];
34187
+ if (message.ops && message.ops.length) {
34188
+ object.ops = [];
34189
+ for (var j = 0; j < message.ops.length; ++j)
34190
+ object.ops[j] = $root.api.DotReplitUpdateOp.toObject(message.ops[j], options);
34191
+ }
34192
+ return object;
34193
+ };
34194
+
34195
+ /**
34196
+ * Converts this DotReplitUpdateRequest to JSON.
34197
+ * @function toJSON
34198
+ * @memberof api.DotReplitUpdateRequest
34199
+ * @instance
34200
+ * @returns {Object.<string,*>} JSON object
34201
+ */
34202
+ DotReplitUpdateRequest.prototype.toJSON = function toJSON() {
34203
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
34204
+ };
34205
+
34206
+ return DotReplitUpdateRequest;
34207
+ })();
34208
+
34209
+ api.DotReplitUpdateResponse = (function() {
34210
+
34211
+ /**
34212
+ * Properties of a DotReplitUpdateResponse.
34213
+ * @memberof api
34214
+ * @interface IDotReplitUpdateResponse
34215
+ */
34216
+
34217
+ /**
34218
+ * Constructs a new DotReplitUpdateResponse.
34219
+ * @memberof api
34220
+ * @classdesc Represents a DotReplitUpdateResponse.
34221
+ * @constructor
34222
+ * @param {api.IDotReplitUpdateResponse=} [properties] Properties to set
34223
+ */
34224
+ function DotReplitUpdateResponse(properties) {
34225
+ if (properties)
34226
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
34227
+ if (properties[keys[i]] != null)
34228
+ this[keys[i]] = properties[keys[i]];
34229
+ }
34230
+
34231
+ /**
34232
+ * Creates a new DotReplitUpdateResponse instance using the specified properties.
34233
+ * @function create
34234
+ * @memberof api.DotReplitUpdateResponse
34235
+ * @static
34236
+ * @param {api.IDotReplitUpdateResponse=} [properties] Properties to set
34237
+ * @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse instance
34238
+ */
34239
+ DotReplitUpdateResponse.create = function create(properties) {
34240
+ return DotReplitUpdateResponse.fromObject(properties);
34241
+ };
34242
+
34243
+ /**
34244
+ * Encodes the specified DotReplitUpdateResponse message. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
34245
+ * @function encode
34246
+ * @memberof api.DotReplitUpdateResponse
34247
+ * @static
34248
+ * @param {api.DotReplitUpdateResponse} message DotReplitUpdateResponse message or plain object to encode
34249
+ * @param {$protobuf.Writer} [writer] Writer to encode to
34250
+ * @returns {$protobuf.Writer} Writer
34251
+ */
34252
+ DotReplitUpdateResponse.encode = function encode(message, writer) {
34253
+ if (!writer)
34254
+ writer = $Writer.create();
34255
+ return writer;
34256
+ };
34257
+
34258
+ /**
34259
+ * Encodes the specified DotReplitUpdateResponse message, length delimited. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
34260
+ * @function encodeDelimited
34261
+ * @memberof api.DotReplitUpdateResponse
34262
+ * @static
34263
+ * @param {api.DotReplitUpdateResponse} message DotReplitUpdateResponse message or plain object to encode
34264
+ * @param {$protobuf.Writer} [writer] Writer to encode to
34265
+ * @returns {$protobuf.Writer} Writer
34266
+ */
34267
+ DotReplitUpdateResponse.encodeDelimited = function encodeDelimited(message, writer) {
34268
+ return this.encode(message, writer).ldelim();
34269
+ };
34270
+
34271
+ /**
34272
+ * Decodes a DotReplitUpdateResponse message from the specified reader or buffer.
34273
+ * @function decode
34274
+ * @memberof api.DotReplitUpdateResponse
34275
+ * @static
34276
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34277
+ * @param {number} [length] Message length if known beforehand
34278
+ * @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse
34279
+ * @throws {Error} If the payload is not a reader or valid buffer
34280
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34281
+ */
34282
+ DotReplitUpdateResponse.decode = function decode(reader, length) {
34283
+ if (!(reader instanceof $Reader))
34284
+ reader = $Reader.create(reader);
34285
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitUpdateResponse();
34286
+ while (reader.pos < end) {
34287
+ var tag = reader.uint32();
34288
+ switch (tag >>> 3) {
34289
+ default:
34290
+ reader.skipType(tag & 7);
34291
+ break;
34292
+ }
34293
+ }
34294
+ return message;
34295
+ };
34296
+
34297
+ /**
34298
+ * Decodes a DotReplitUpdateResponse message from the specified reader or buffer, length delimited.
34299
+ * @function decodeDelimited
34300
+ * @memberof api.DotReplitUpdateResponse
34301
+ * @static
34302
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34303
+ * @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse
34304
+ * @throws {Error} If the payload is not a reader or valid buffer
34305
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34306
+ */
34307
+ DotReplitUpdateResponse.decodeDelimited = function decodeDelimited(reader) {
34308
+ if (!(reader instanceof $Reader))
34309
+ reader = new $Reader(reader);
34310
+ return this.decode(reader, reader.uint32());
34311
+ };
34312
+
34313
+ /**
34314
+ * Verifies a DotReplitUpdateResponse message.
34315
+ * @function verify
34316
+ * @memberof api.DotReplitUpdateResponse
34317
+ * @static
34318
+ * @param {Object.<string,*>} message Plain object to verify
34319
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
34320
+ */
34321
+ DotReplitUpdateResponse.verify = function verify(message) {
34322
+ if (typeof message !== "object" || message === null)
34323
+ return "object expected";
34324
+ return null;
34325
+ };
34326
+
34327
+ /**
34328
+ * Creates a DotReplitUpdateResponse message from a plain object. Also converts values to their respective internal types.
34329
+ * @function fromObject
34330
+ * @memberof api.DotReplitUpdateResponse
34331
+ * @static
34332
+ * @param {Object.<string,*>} object Plain object
34333
+ * @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse
34334
+ */
34335
+ DotReplitUpdateResponse.fromObject = function fromObject(object) {
34336
+ if (object instanceof $root.api.DotReplitUpdateResponse)
34337
+ return object;
34338
+ return new $root.api.DotReplitUpdateResponse();
34339
+ };
34340
+
34341
+ /**
34342
+ * Creates a plain object from a DotReplitUpdateResponse message. Also converts values to other types if specified.
34343
+ * @function toObject
34344
+ * @memberof api.DotReplitUpdateResponse
34345
+ * @static
34346
+ * @param {api.DotReplitUpdateResponse} message DotReplitUpdateResponse
34347
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
34348
+ * @returns {Object.<string,*>} Plain object
34349
+ */
34350
+ DotReplitUpdateResponse.toObject = function toObject() {
34351
+ return {};
34352
+ };
34353
+
34354
+ /**
34355
+ * Converts this DotReplitUpdateResponse to JSON.
34356
+ * @function toJSON
34357
+ * @memberof api.DotReplitUpdateResponse
34358
+ * @instance
34359
+ * @returns {Object.<string,*>} JSON object
34360
+ */
34361
+ DotReplitUpdateResponse.prototype.toJSON = function toJSON() {
34362
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
34363
+ };
34364
+
34365
+ return DotReplitUpdateResponse;
34366
+ })();
34367
+
33703
34368
  api.DebugAddBreakpointRequest = (function() {
33704
34369
 
33705
34370
  /**