@replit/protocol 0.2.55 → 0.2.56

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
@@ -317,6 +317,9 @@ export namespace api {
317
317
  /** Command packageInstall */
318
318
  packageInstall?: (api.PackageInstall|api.IPackageInstall|null);
319
319
 
320
+ /** Command packageInstallResponse */
321
+ packageInstallResponse?: (api.PackageInstallResponse|api.IPackageInstallResponse|null);
322
+
320
323
  /** Command packageListSpecfile */
321
324
  packageListSpecfile?: (api.PackageListSpecfile|api.IPackageListSpecfile|null);
322
325
 
@@ -786,6 +789,9 @@ export namespace api {
786
789
  /** Command packageInstall. */
787
790
  public packageInstall?: (api.PackageInstall|null);
788
791
 
792
+ /** Command packageInstallResponse. */
793
+ public packageInstallResponse?: (api.PackageInstallResponse|null);
794
+
789
795
  /** Command packageListSpecfile. */
790
796
  public packageListSpecfile?: (api.PackageListSpecfile|null);
791
797
 
@@ -934,7 +940,7 @@ export namespace api {
934
940
  public traceInfo: { [k: string]: string };
935
941
 
936
942
  /** Command body. */
937
- 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"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied");
943
+ 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"|"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");
938
944
 
939
945
  /**
940
946
  * Creates a new Command instance using the specified properties.
@@ -8757,8 +8763,8 @@ export namespace api {
8757
8763
  /** OTPacket version */
8758
8764
  version?: (number|null);
8759
8765
 
8760
- /** OTPacket ops */
8761
- ops?: ((api.OTRuneTransformOp|api.IOTRuneTransformOp)[]|null);
8766
+ /** OTPacket op */
8767
+ op?: ((api.OTOpComponent|api.IOTOpComponent)[]|null);
8762
8768
 
8763
8769
  /** OTPacket crc32 */
8764
8770
  crc32?: (number|null);
@@ -8788,8 +8794,8 @@ export namespace api {
8788
8794
  /** OTPacket version. */
8789
8795
  public version: number;
8790
8796
 
8791
- /** OTPacket ops. */
8792
- public ops: api.OTRuneTransformOp[];
8797
+ /** OTPacket op. */
8798
+ public op: api.OTOpComponent[];
8793
8799
 
8794
8800
  /** OTPacket crc32. */
8795
8801
  public crc32: number;
@@ -8874,106 +8880,106 @@ export namespace api {
8874
8880
  public toJSON(): { [k: string]: any };
8875
8881
  }
8876
8882
 
8877
- /** Properties of a OTRuneTransformOp. */
8878
- interface IOTRuneTransformOp {
8883
+ /** Properties of a OTOpComponent. */
8884
+ interface IOTOpComponent {
8879
8885
 
8880
- /** OTRuneTransformOp skip */
8886
+ /** OTOpComponent skip */
8881
8887
  skip?: (number|null);
8882
8888
 
8883
- /** OTRuneTransformOp delete */
8889
+ /** OTOpComponent delete */
8884
8890
  "delete"?: (number|null);
8885
8891
 
8886
- /** OTRuneTransformOp insert */
8892
+ /** OTOpComponent insert */
8887
8893
  insert?: (string|null);
8888
8894
  }
8889
8895
 
8890
- /** Represents a OTRuneTransformOp. */
8891
- class OTRuneTransformOp {
8896
+ /** Represents a OTOpComponent. */
8897
+ class OTOpComponent {
8892
8898
 
8893
8899
  /**
8894
- * Constructs a new OTRuneTransformOp.
8900
+ * Constructs a new OTOpComponent.
8895
8901
  * @param [properties] Properties to set
8896
8902
  */
8897
- private constructor(properties?: api.IOTRuneTransformOp);
8903
+ private constructor(properties?: api.IOTOpComponent);
8898
8904
 
8899
- /** OTRuneTransformOp skip. */
8905
+ /** OTOpComponent skip. */
8900
8906
  public skip?: (number|null);
8901
8907
 
8902
- /** OTRuneTransformOp delete. */
8908
+ /** OTOpComponent delete. */
8903
8909
  public delete?: (number|null);
8904
8910
 
8905
- /** OTRuneTransformOp insert. */
8911
+ /** OTOpComponent insert. */
8906
8912
  public insert?: (string|null);
8907
8913
 
8908
- /** OTRuneTransformOp op. */
8909
- public op?: ("skip"|"delete"|"insert");
8914
+ /** OTOpComponent opComponent. */
8915
+ public opComponent?: ("skip"|"delete"|"insert");
8910
8916
 
8911
8917
  /**
8912
- * Creates a new OTRuneTransformOp instance using the specified properties.
8918
+ * Creates a new OTOpComponent instance using the specified properties.
8913
8919
  * @param [properties] Properties to set
8914
- * @returns OTRuneTransformOp instance
8920
+ * @returns OTOpComponent instance
8915
8921
  */
8916
- public static create(properties?: api.IOTRuneTransformOp): api.OTRuneTransformOp;
8922
+ public static create(properties?: api.IOTOpComponent): api.OTOpComponent;
8917
8923
 
8918
8924
  /**
8919
- * Encodes the specified OTRuneTransformOp message. Does not implicitly {@link api.OTRuneTransformOp.verify|verify} messages.
8920
- * @param message OTRuneTransformOp message or plain object to encode
8925
+ * Encodes the specified OTOpComponent message. Does not implicitly {@link api.OTOpComponent.verify|verify} messages.
8926
+ * @param message OTOpComponent message or plain object to encode
8921
8927
  * @param [writer] Writer to encode to
8922
8928
  * @returns Writer
8923
8929
  */
8924
- public static encode(message: api.OTRuneTransformOp, writer?: $protobuf.Writer): $protobuf.Writer;
8930
+ public static encode(message: api.OTOpComponent, writer?: $protobuf.Writer): $protobuf.Writer;
8925
8931
 
8926
8932
  /**
8927
- * Encodes the specified OTRuneTransformOp message, length delimited. Does not implicitly {@link api.OTRuneTransformOp.verify|verify} messages.
8928
- * @param message OTRuneTransformOp message or plain object to encode
8933
+ * Encodes the specified OTOpComponent message, length delimited. Does not implicitly {@link api.OTOpComponent.verify|verify} messages.
8934
+ * @param message OTOpComponent message or plain object to encode
8929
8935
  * @param [writer] Writer to encode to
8930
8936
  * @returns Writer
8931
8937
  */
8932
- public static encodeDelimited(message: api.OTRuneTransformOp, writer?: $protobuf.Writer): $protobuf.Writer;
8938
+ public static encodeDelimited(message: api.OTOpComponent, writer?: $protobuf.Writer): $protobuf.Writer;
8933
8939
 
8934
8940
  /**
8935
- * Decodes a OTRuneTransformOp message from the specified reader or buffer.
8941
+ * Decodes a OTOpComponent message from the specified reader or buffer.
8936
8942
  * @param reader Reader or buffer to decode from
8937
8943
  * @param [length] Message length if known beforehand
8938
- * @returns OTRuneTransformOp
8944
+ * @returns OTOpComponent
8939
8945
  * @throws {Error} If the payload is not a reader or valid buffer
8940
8946
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8941
8947
  */
8942
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.OTRuneTransformOp;
8948
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.OTOpComponent;
8943
8949
 
8944
8950
  /**
8945
- * Decodes a OTRuneTransformOp message from the specified reader or buffer, length delimited.
8951
+ * Decodes a OTOpComponent message from the specified reader or buffer, length delimited.
8946
8952
  * @param reader Reader or buffer to decode from
8947
- * @returns OTRuneTransformOp
8953
+ * @returns OTOpComponent
8948
8954
  * @throws {Error} If the payload is not a reader or valid buffer
8949
8955
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
8950
8956
  */
8951
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.OTRuneTransformOp;
8957
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.OTOpComponent;
8952
8958
 
8953
8959
  /**
8954
- * Verifies a OTRuneTransformOp message.
8960
+ * Verifies a OTOpComponent message.
8955
8961
  * @param message Plain object to verify
8956
8962
  * @returns `null` if valid, otherwise the reason why it is not
8957
8963
  */
8958
8964
  public static verify(message: { [k: string]: any }): (string|null);
8959
8965
 
8960
8966
  /**
8961
- * Creates a OTRuneTransformOp message from a plain object. Also converts values to their respective internal types.
8967
+ * Creates a OTOpComponent message from a plain object. Also converts values to their respective internal types.
8962
8968
  * @param object Plain object
8963
- * @returns OTRuneTransformOp
8969
+ * @returns OTOpComponent
8964
8970
  */
8965
- public static fromObject(object: { [k: string]: any }): api.OTRuneTransformOp;
8971
+ public static fromObject(object: { [k: string]: any }): api.OTOpComponent;
8966
8972
 
8967
8973
  /**
8968
- * Creates a plain object from a OTRuneTransformOp message. Also converts values to other types if specified.
8969
- * @param message OTRuneTransformOp
8974
+ * Creates a plain object from a OTOpComponent message. Also converts values to other types if specified.
8975
+ * @param message OTOpComponent
8970
8976
  * @param [options] Conversion options
8971
8977
  * @returns Plain object
8972
8978
  */
8973
- public static toObject(message: api.OTRuneTransformOp, options?: $protobuf.IConversionOptions): { [k: string]: any };
8979
+ public static toObject(message: api.OTOpComponent, options?: $protobuf.IConversionOptions): { [k: string]: any };
8974
8980
 
8975
8981
  /**
8976
- * Converts this OTRuneTransformOp to JSON.
8982
+ * Converts this OTOpComponent to JSON.
8977
8983
  * @returns JSON object
8978
8984
  */
8979
8985
  public toJSON(): { [k: string]: any };
@@ -10986,6 +10992,9 @@ export namespace api {
10986
10992
 
10987
10993
  /** PackageInstall fromHosting */
10988
10994
  fromHosting?: (boolean|null);
10995
+
10996
+ /** PackageInstall useNewResponse */
10997
+ useNewResponse?: (boolean|null);
10989
10998
  }
10990
10999
 
10991
11000
  /** Represents a PackageInstall. */
@@ -11000,6 +11009,9 @@ export namespace api {
11000
11009
  /** PackageInstall fromHosting. */
11001
11010
  public fromHosting: boolean;
11002
11011
 
11012
+ /** PackageInstall useNewResponse. */
11013
+ public useNewResponse: boolean;
11014
+
11003
11015
  /**
11004
11016
  * Creates a new PackageInstall instance using the specified properties.
11005
11017
  * @param [properties] Properties to set
@@ -11071,6 +11083,96 @@ export namespace api {
11071
11083
  public toJSON(): { [k: string]: any };
11072
11084
  }
11073
11085
 
11086
+ /** Properties of a PackageInstallResponse. */
11087
+ interface IPackageInstallResponse {
11088
+
11089
+ /** PackageInstallResponse guessedPkgs */
11090
+ guessedPkgs?: (string[]|null);
11091
+ }
11092
+
11093
+ /** Represents a PackageInstallResponse. */
11094
+ class PackageInstallResponse {
11095
+
11096
+ /**
11097
+ * Constructs a new PackageInstallResponse.
11098
+ * @param [properties] Properties to set
11099
+ */
11100
+ private constructor(properties?: api.IPackageInstallResponse);
11101
+
11102
+ /** PackageInstallResponse guessedPkgs. */
11103
+ public guessedPkgs: string[];
11104
+
11105
+ /**
11106
+ * Creates a new PackageInstallResponse instance using the specified properties.
11107
+ * @param [properties] Properties to set
11108
+ * @returns PackageInstallResponse instance
11109
+ */
11110
+ public static create(properties?: api.IPackageInstallResponse): api.PackageInstallResponse;
11111
+
11112
+ /**
11113
+ * Encodes the specified PackageInstallResponse message. Does not implicitly {@link api.PackageInstallResponse.verify|verify} messages.
11114
+ * @param message PackageInstallResponse message or plain object to encode
11115
+ * @param [writer] Writer to encode to
11116
+ * @returns Writer
11117
+ */
11118
+ public static encode(message: api.PackageInstallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11119
+
11120
+ /**
11121
+ * Encodes the specified PackageInstallResponse message, length delimited. Does not implicitly {@link api.PackageInstallResponse.verify|verify} messages.
11122
+ * @param message PackageInstallResponse message or plain object to encode
11123
+ * @param [writer] Writer to encode to
11124
+ * @returns Writer
11125
+ */
11126
+ public static encodeDelimited(message: api.PackageInstallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11127
+
11128
+ /**
11129
+ * Decodes a PackageInstallResponse message from the specified reader or buffer.
11130
+ * @param reader Reader or buffer to decode from
11131
+ * @param [length] Message length if known beforehand
11132
+ * @returns PackageInstallResponse
11133
+ * @throws {Error} If the payload is not a reader or valid buffer
11134
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11135
+ */
11136
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.PackageInstallResponse;
11137
+
11138
+ /**
11139
+ * Decodes a PackageInstallResponse message from the specified reader or buffer, length delimited.
11140
+ * @param reader Reader or buffer to decode from
11141
+ * @returns PackageInstallResponse
11142
+ * @throws {Error} If the payload is not a reader or valid buffer
11143
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11144
+ */
11145
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.PackageInstallResponse;
11146
+
11147
+ /**
11148
+ * Verifies a PackageInstallResponse message.
11149
+ * @param message Plain object to verify
11150
+ * @returns `null` if valid, otherwise the reason why it is not
11151
+ */
11152
+ public static verify(message: { [k: string]: any }): (string|null);
11153
+
11154
+ /**
11155
+ * Creates a PackageInstallResponse message from a plain object. Also converts values to their respective internal types.
11156
+ * @param object Plain object
11157
+ * @returns PackageInstallResponse
11158
+ */
11159
+ public static fromObject(object: { [k: string]: any }): api.PackageInstallResponse;
11160
+
11161
+ /**
11162
+ * Creates a plain object from a PackageInstallResponse message. Also converts values to other types if specified.
11163
+ * @param message PackageInstallResponse
11164
+ * @param [options] Conversion options
11165
+ * @returns Plain object
11166
+ */
11167
+ public static toObject(message: api.PackageInstallResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
11168
+
11169
+ /**
11170
+ * Converts this PackageInstallResponse to JSON.
11171
+ * @returns JSON object
11172
+ */
11173
+ public toJSON(): { [k: string]: any };
11174
+ }
11175
+
11074
11176
  /** Properties of a PackageListSpecfile. */
11075
11177
  interface IPackageListSpecfile {
11076
11178
  }