@replit/protocol 0.2.47 → 0.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.d.ts CHANGED
@@ -29,6 +29,9 @@ export namespace api {
29
29
  /** Command portOpen */
30
30
  portOpen?: (api.PortOpen|api.IPortOpen|null);
31
31
 
32
+ /** Command portClose */
33
+ portClose?: (api.PortClose|api.IPortClose|null);
34
+
32
35
  /** Command toast */
33
36
  toast?: (api.Toast|api.IToast|null);
34
37
 
@@ -173,6 +176,9 @@ export namespace api {
173
176
  /** Command goodbye */
174
177
  goodbye?: (api.Goodbye|api.IGoodbye|null);
175
178
 
179
+ /** Command proxyGoingAway */
180
+ proxyGoingAway?: (api.ProxyGoingAway|api.IProxyGoingAway|null);
181
+
176
182
  /** Command hint */
177
183
  hint?: (api.Hint|api.IHint|null);
178
184
 
@@ -443,6 +449,9 @@ export namespace api {
443
449
  /** Command startLSP */
444
450
  startLSP?: (api.StartLSP|api.IStartLSP|null);
445
451
 
452
+ /** Command firewallDenied */
453
+ firewallDenied?: (api.FirewallDenied|api.IFirewallDenied|null);
454
+
446
455
  /** Command ref */
447
456
  ref?: (string|null);
448
457
 
@@ -483,6 +492,9 @@ export namespace api {
483
492
  /** Command portOpen. */
484
493
  public portOpen?: (api.PortOpen|null);
485
494
 
495
+ /** Command portClose. */
496
+ public portClose?: (api.PortClose|null);
497
+
486
498
  /** Command toast. */
487
499
  public toast?: (api.Toast|null);
488
500
 
@@ -627,6 +639,9 @@ export namespace api {
627
639
  /** Command goodbye. */
628
640
  public goodbye?: (api.Goodbye|null);
629
641
 
642
+ /** Command proxyGoingAway. */
643
+ public proxyGoingAway?: (api.ProxyGoingAway|null);
644
+
630
645
  /** Command hint. */
631
646
  public hint?: (api.Hint|null);
632
647
 
@@ -897,6 +912,9 @@ export namespace api {
897
912
  /** Command startLSP. */
898
913
  public startLSP?: (api.StartLSP|null);
899
914
 
915
+ /** Command firewallDenied. */
916
+ public firewallDenied?: (api.FirewallDenied|null);
917
+
900
918
  /** Command ref. */
901
919
  public ref: string;
902
920
 
@@ -904,7 +922,7 @@ export namespace api {
904
922
  public traceInfo: { [k: string]: string };
905
923
 
906
924
  /** Command body. */
907
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"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"|"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");
925
+ public body?: ("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");
908
926
 
909
927
  /**
910
928
  * Creates a new Command instance using the specified properties.
@@ -8214,6 +8232,102 @@ export namespace api {
8214
8232
  public toJSON(): { [k: string]: any };
8215
8233
  }
8216
8234
 
8235
+ /** Properties of a PortClose. */
8236
+ interface IPortClose {
8237
+
8238
+ /** PortClose port */
8239
+ port?: (number|null);
8240
+
8241
+ /** PortClose address */
8242
+ address?: (string|null);
8243
+ }
8244
+
8245
+ /** Represents a PortClose. */
8246
+ class PortClose {
8247
+
8248
+ /**
8249
+ * Constructs a new PortClose.
8250
+ * @param [properties] Properties to set
8251
+ */
8252
+ private constructor(properties?: api.IPortClose);
8253
+
8254
+ /** PortClose port. */
8255
+ public port: number;
8256
+
8257
+ /** PortClose address. */
8258
+ public address: string;
8259
+
8260
+ /**
8261
+ * Creates a new PortClose instance using the specified properties.
8262
+ * @param [properties] Properties to set
8263
+ * @returns PortClose instance
8264
+ */
8265
+ public static create(properties?: api.IPortClose): api.PortClose;
8266
+
8267
+ /**
8268
+ * Encodes the specified PortClose message. Does not implicitly {@link api.PortClose.verify|verify} messages.
8269
+ * @param message PortClose message or plain object to encode
8270
+ * @param [writer] Writer to encode to
8271
+ * @returns Writer
8272
+ */
8273
+ public static encode(message: api.PortClose, writer?: $protobuf.Writer): $protobuf.Writer;
8274
+
8275
+ /**
8276
+ * Encodes the specified PortClose message, length delimited. Does not implicitly {@link api.PortClose.verify|verify} messages.
8277
+ * @param message PortClose message or plain object to encode
8278
+ * @param [writer] Writer to encode to
8279
+ * @returns Writer
8280
+ */
8281
+ public static encodeDelimited(message: api.PortClose, writer?: $protobuf.Writer): $protobuf.Writer;
8282
+
8283
+ /**
8284
+ * Decodes a PortClose message from the specified reader or buffer.
8285
+ * @param reader Reader or buffer to decode from
8286
+ * @param [length] Message length if known beforehand
8287
+ * @returns PortClose
8288
+ * @throws {Error} If the payload is not a reader or valid buffer
8289
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8290
+ */
8291
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.PortClose;
8292
+
8293
+ /**
8294
+ * Decodes a PortClose message from the specified reader or buffer, length delimited.
8295
+ * @param reader Reader or buffer to decode from
8296
+ * @returns PortClose
8297
+ * @throws {Error} If the payload is not a reader or valid buffer
8298
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8299
+ */
8300
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.PortClose;
8301
+
8302
+ /**
8303
+ * Verifies a PortClose message.
8304
+ * @param message Plain object to verify
8305
+ * @returns `null` if valid, otherwise the reason why it is not
8306
+ */
8307
+ public static verify(message: { [k: string]: any }): (string|null);
8308
+
8309
+ /**
8310
+ * Creates a PortClose message from a plain object. Also converts values to their respective internal types.
8311
+ * @param object Plain object
8312
+ * @returns PortClose
8313
+ */
8314
+ public static fromObject(object: { [k: string]: any }): api.PortClose;
8315
+
8316
+ /**
8317
+ * Creates a plain object from a PortClose message. Also converts values to other types if specified.
8318
+ * @param message PortClose
8319
+ * @param [options] Conversion options
8320
+ * @returns Plain object
8321
+ */
8322
+ public static toObject(message: api.PortClose, options?: $protobuf.IConversionOptions): { [k: string]: any };
8323
+
8324
+ /**
8325
+ * Converts this PortClose to JSON.
8326
+ * @returns JSON object
8327
+ */
8328
+ public toJSON(): { [k: string]: any };
8329
+ }
8330
+
8217
8331
  /** Properties of a OTFetchRequest. */
8218
8332
  interface IOTFetchRequest {
8219
8333
 
@@ -14736,6 +14850,174 @@ export namespace api {
14736
14850
  public toJSON(): { [k: string]: any };
14737
14851
  }
14738
14852
 
14853
+ /** Properties of a ProxyGoingAway. */
14854
+ interface IProxyGoingAway {
14855
+ }
14856
+
14857
+ /** Represents a ProxyGoingAway. */
14858
+ class ProxyGoingAway {
14859
+
14860
+ /**
14861
+ * Constructs a new ProxyGoingAway.
14862
+ * @param [properties] Properties to set
14863
+ */
14864
+ private constructor(properties?: api.IProxyGoingAway);
14865
+
14866
+ /**
14867
+ * Creates a new ProxyGoingAway instance using the specified properties.
14868
+ * @param [properties] Properties to set
14869
+ * @returns ProxyGoingAway instance
14870
+ */
14871
+ public static create(properties?: api.IProxyGoingAway): api.ProxyGoingAway;
14872
+
14873
+ /**
14874
+ * Encodes the specified ProxyGoingAway message. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
14875
+ * @param message ProxyGoingAway message or plain object to encode
14876
+ * @param [writer] Writer to encode to
14877
+ * @returns Writer
14878
+ */
14879
+ public static encode(message: api.ProxyGoingAway, writer?: $protobuf.Writer): $protobuf.Writer;
14880
+
14881
+ /**
14882
+ * Encodes the specified ProxyGoingAway message, length delimited. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
14883
+ * @param message ProxyGoingAway message or plain object to encode
14884
+ * @param [writer] Writer to encode to
14885
+ * @returns Writer
14886
+ */
14887
+ public static encodeDelimited(message: api.ProxyGoingAway, writer?: $protobuf.Writer): $protobuf.Writer;
14888
+
14889
+ /**
14890
+ * Decodes a ProxyGoingAway message from the specified reader or buffer.
14891
+ * @param reader Reader or buffer to decode from
14892
+ * @param [length] Message length if known beforehand
14893
+ * @returns ProxyGoingAway
14894
+ * @throws {Error} If the payload is not a reader or valid buffer
14895
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14896
+ */
14897
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.ProxyGoingAway;
14898
+
14899
+ /**
14900
+ * Decodes a ProxyGoingAway message from the specified reader or buffer, length delimited.
14901
+ * @param reader Reader or buffer to decode from
14902
+ * @returns ProxyGoingAway
14903
+ * @throws {Error} If the payload is not a reader or valid buffer
14904
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14905
+ */
14906
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.ProxyGoingAway;
14907
+
14908
+ /**
14909
+ * Verifies a ProxyGoingAway message.
14910
+ * @param message Plain object to verify
14911
+ * @returns `null` if valid, otherwise the reason why it is not
14912
+ */
14913
+ public static verify(message: { [k: string]: any }): (string|null);
14914
+
14915
+ /**
14916
+ * Creates a ProxyGoingAway message from a plain object. Also converts values to their respective internal types.
14917
+ * @param object Plain object
14918
+ * @returns ProxyGoingAway
14919
+ */
14920
+ public static fromObject(object: { [k: string]: any }): api.ProxyGoingAway;
14921
+
14922
+ /**
14923
+ * Creates a plain object from a ProxyGoingAway message. Also converts values to other types if specified.
14924
+ * @param message ProxyGoingAway
14925
+ * @param [options] Conversion options
14926
+ * @returns Plain object
14927
+ */
14928
+ public static toObject(message: api.ProxyGoingAway, options?: $protobuf.IConversionOptions): { [k: string]: any };
14929
+
14930
+ /**
14931
+ * Converts this ProxyGoingAway to JSON.
14932
+ * @returns JSON object
14933
+ */
14934
+ public toJSON(): { [k: string]: any };
14935
+ }
14936
+
14937
+ /** Properties of a FirewallDenied. */
14938
+ interface IFirewallDenied {
14939
+ }
14940
+
14941
+ /** Represents a FirewallDenied. */
14942
+ class FirewallDenied {
14943
+
14944
+ /**
14945
+ * Constructs a new FirewallDenied.
14946
+ * @param [properties] Properties to set
14947
+ */
14948
+ private constructor(properties?: api.IFirewallDenied);
14949
+
14950
+ /**
14951
+ * Creates a new FirewallDenied instance using the specified properties.
14952
+ * @param [properties] Properties to set
14953
+ * @returns FirewallDenied instance
14954
+ */
14955
+ public static create(properties?: api.IFirewallDenied): api.FirewallDenied;
14956
+
14957
+ /**
14958
+ * Encodes the specified FirewallDenied message. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
14959
+ * @param message FirewallDenied message or plain object to encode
14960
+ * @param [writer] Writer to encode to
14961
+ * @returns Writer
14962
+ */
14963
+ public static encode(message: api.FirewallDenied, writer?: $protobuf.Writer): $protobuf.Writer;
14964
+
14965
+ /**
14966
+ * Encodes the specified FirewallDenied message, length delimited. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
14967
+ * @param message FirewallDenied message or plain object to encode
14968
+ * @param [writer] Writer to encode to
14969
+ * @returns Writer
14970
+ */
14971
+ public static encodeDelimited(message: api.FirewallDenied, writer?: $protobuf.Writer): $protobuf.Writer;
14972
+
14973
+ /**
14974
+ * Decodes a FirewallDenied message from the specified reader or buffer.
14975
+ * @param reader Reader or buffer to decode from
14976
+ * @param [length] Message length if known beforehand
14977
+ * @returns FirewallDenied
14978
+ * @throws {Error} If the payload is not a reader or valid buffer
14979
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14980
+ */
14981
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.FirewallDenied;
14982
+
14983
+ /**
14984
+ * Decodes a FirewallDenied message from the specified reader or buffer, length delimited.
14985
+ * @param reader Reader or buffer to decode from
14986
+ * @returns FirewallDenied
14987
+ * @throws {Error} If the payload is not a reader or valid buffer
14988
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14989
+ */
14990
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.FirewallDenied;
14991
+
14992
+ /**
14993
+ * Verifies a FirewallDenied message.
14994
+ * @param message Plain object to verify
14995
+ * @returns `null` if valid, otherwise the reason why it is not
14996
+ */
14997
+ public static verify(message: { [k: string]: any }): (string|null);
14998
+
14999
+ /**
15000
+ * Creates a FirewallDenied message from a plain object. Also converts values to their respective internal types.
15001
+ * @param object Plain object
15002
+ * @returns FirewallDenied
15003
+ */
15004
+ public static fromObject(object: { [k: string]: any }): api.FirewallDenied;
15005
+
15006
+ /**
15007
+ * Creates a plain object from a FirewallDenied message. Also converts values to other types if specified.
15008
+ * @param message FirewallDenied
15009
+ * @param [options] Conversion options
15010
+ * @returns Plain object
15011
+ */
15012
+ public static toObject(message: api.FirewallDenied, options?: $protobuf.IConversionOptions): { [k: string]: any };
15013
+
15014
+ /**
15015
+ * Converts this FirewallDenied to JSON.
15016
+ * @returns JSON object
15017
+ */
15018
+ public toJSON(): { [k: string]: any };
15019
+ }
15020
+
14739
15021
  /** Properties of a Repl. */
14740
15022
  interface IRepl {
14741
15023