@replit/protocol 0.2.56 → 0.2.59
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 +103 -103
- package/main/index.js +256 -263
- package/main/index.js.flow +140 -146
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -317,9 +317,6 @@ 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
|
-
|
|
323
320
|
/** Command packageListSpecfile */
|
|
324
321
|
packageListSpecfile?: (api.PackageListSpecfile|api.IPackageListSpecfile|null);
|
|
325
322
|
|
|
@@ -789,9 +786,6 @@ export namespace api {
|
|
|
789
786
|
/** Command packageInstall. */
|
|
790
787
|
public packageInstall?: (api.PackageInstall|null);
|
|
791
788
|
|
|
792
|
-
/** Command packageInstallResponse. */
|
|
793
|
-
public packageInstallResponse?: (api.PackageInstallResponse|null);
|
|
794
|
-
|
|
795
789
|
/** Command packageListSpecfile. */
|
|
796
790
|
public packageListSpecfile?: (api.PackageListSpecfile|null);
|
|
797
791
|
|
|
@@ -940,7 +934,7 @@ export namespace api {
|
|
|
940
934
|
public traceInfo: { [k: string]: string };
|
|
941
935
|
|
|
942
936
|
/** Command body. */
|
|
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"|"
|
|
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");
|
|
944
938
|
|
|
945
939
|
/**
|
|
946
940
|
* Creates a new Command instance using the specified properties.
|
|
@@ -7513,6 +7507,9 @@ export namespace api {
|
|
|
7513
7507
|
|
|
7514
7508
|
/** RunMain runMode */
|
|
7515
7509
|
runMode?: (api.RunMain.RunMode|null);
|
|
7510
|
+
|
|
7511
|
+
/** RunMain idempotent */
|
|
7512
|
+
idempotent?: (boolean|null);
|
|
7516
7513
|
}
|
|
7517
7514
|
|
|
7518
7515
|
/** Represents a RunMain. */
|
|
@@ -7527,6 +7524,9 @@ export namespace api {
|
|
|
7527
7524
|
/** RunMain runMode. */
|
|
7528
7525
|
public runMode: api.RunMain.RunMode;
|
|
7529
7526
|
|
|
7527
|
+
/** RunMain idempotent. */
|
|
7528
|
+
public idempotent: boolean;
|
|
7529
|
+
|
|
7530
7530
|
/**
|
|
7531
7531
|
* Creates a new RunMain instance using the specified properties.
|
|
7532
7532
|
* @param [properties] Properties to set
|
|
@@ -10992,9 +10992,6 @@ export namespace api {
|
|
|
10992
10992
|
|
|
10993
10993
|
/** PackageInstall fromHosting */
|
|
10994
10994
|
fromHosting?: (boolean|null);
|
|
10995
|
-
|
|
10996
|
-
/** PackageInstall useNewResponse */
|
|
10997
|
-
useNewResponse?: (boolean|null);
|
|
10998
10995
|
}
|
|
10999
10996
|
|
|
11000
10997
|
/** Represents a PackageInstall. */
|
|
@@ -11009,9 +11006,6 @@ export namespace api {
|
|
|
11009
11006
|
/** PackageInstall fromHosting. */
|
|
11010
11007
|
public fromHosting: boolean;
|
|
11011
11008
|
|
|
11012
|
-
/** PackageInstall useNewResponse. */
|
|
11013
|
-
public useNewResponse: boolean;
|
|
11014
|
-
|
|
11015
11009
|
/**
|
|
11016
11010
|
* Creates a new PackageInstall instance using the specified properties.
|
|
11017
11011
|
* @param [properties] Properties to set
|
|
@@ -11083,96 +11077,6 @@ export namespace api {
|
|
|
11083
11077
|
public toJSON(): { [k: string]: any };
|
|
11084
11078
|
}
|
|
11085
11079
|
|
|
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
|
-
|
|
11176
11080
|
/** Properties of a PackageListSpecfile. */
|
|
11177
11081
|
interface IPackageListSpecfile {
|
|
11178
11082
|
}
|
|
@@ -14459,6 +14363,9 @@ export namespace api {
|
|
|
14459
14363
|
|
|
14460
14364
|
/** DotReplit env */
|
|
14461
14365
|
env?: ({ [k: string]: string }|null);
|
|
14366
|
+
|
|
14367
|
+
/** DotReplit gitHubImport */
|
|
14368
|
+
gitHubImport?: (api.GitHubImportConfig|api.IGitHubImportConfig|null);
|
|
14462
14369
|
}
|
|
14463
14370
|
|
|
14464
14371
|
/** Represents a DotReplit. */
|
|
@@ -14515,6 +14422,9 @@ export namespace api {
|
|
|
14515
14422
|
/** DotReplit env. */
|
|
14516
14423
|
public env: { [k: string]: string };
|
|
14517
14424
|
|
|
14425
|
+
/** DotReplit gitHubImport. */
|
|
14426
|
+
public gitHubImport?: (api.GitHubImportConfig|null);
|
|
14427
|
+
|
|
14518
14428
|
/**
|
|
14519
14429
|
* Creates a new DotReplit instance using the specified properties.
|
|
14520
14430
|
* @param [properties] Properties to set
|
|
@@ -14586,6 +14496,96 @@ export namespace api {
|
|
|
14586
14496
|
public toJSON(): { [k: string]: any };
|
|
14587
14497
|
}
|
|
14588
14498
|
|
|
14499
|
+
/** Properties of a GitHubImportConfig. */
|
|
14500
|
+
interface IGitHubImportConfig {
|
|
14501
|
+
|
|
14502
|
+
/** GitHubImportConfig RequiredFiles */
|
|
14503
|
+
RequiredFiles?: (string[]|null);
|
|
14504
|
+
}
|
|
14505
|
+
|
|
14506
|
+
/** Represents a GitHubImportConfig. */
|
|
14507
|
+
class GitHubImportConfig {
|
|
14508
|
+
|
|
14509
|
+
/**
|
|
14510
|
+
* Constructs a new GitHubImportConfig.
|
|
14511
|
+
* @param [properties] Properties to set
|
|
14512
|
+
*/
|
|
14513
|
+
private constructor(properties?: api.IGitHubImportConfig);
|
|
14514
|
+
|
|
14515
|
+
/** GitHubImportConfig RequiredFiles. */
|
|
14516
|
+
public RequiredFiles: string[];
|
|
14517
|
+
|
|
14518
|
+
/**
|
|
14519
|
+
* Creates a new GitHubImportConfig instance using the specified properties.
|
|
14520
|
+
* @param [properties] Properties to set
|
|
14521
|
+
* @returns GitHubImportConfig instance
|
|
14522
|
+
*/
|
|
14523
|
+
public static create(properties?: api.IGitHubImportConfig): api.GitHubImportConfig;
|
|
14524
|
+
|
|
14525
|
+
/**
|
|
14526
|
+
* Encodes the specified GitHubImportConfig message. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
|
|
14527
|
+
* @param message GitHubImportConfig message or plain object to encode
|
|
14528
|
+
* @param [writer] Writer to encode to
|
|
14529
|
+
* @returns Writer
|
|
14530
|
+
*/
|
|
14531
|
+
public static encode(message: api.GitHubImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14532
|
+
|
|
14533
|
+
/**
|
|
14534
|
+
* Encodes the specified GitHubImportConfig message, length delimited. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
|
|
14535
|
+
* @param message GitHubImportConfig message or plain object to encode
|
|
14536
|
+
* @param [writer] Writer to encode to
|
|
14537
|
+
* @returns Writer
|
|
14538
|
+
*/
|
|
14539
|
+
public static encodeDelimited(message: api.GitHubImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14540
|
+
|
|
14541
|
+
/**
|
|
14542
|
+
* Decodes a GitHubImportConfig message from the specified reader or buffer.
|
|
14543
|
+
* @param reader Reader or buffer to decode from
|
|
14544
|
+
* @param [length] Message length if known beforehand
|
|
14545
|
+
* @returns GitHubImportConfig
|
|
14546
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14547
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14548
|
+
*/
|
|
14549
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.GitHubImportConfig;
|
|
14550
|
+
|
|
14551
|
+
/**
|
|
14552
|
+
* Decodes a GitHubImportConfig message from the specified reader or buffer, length delimited.
|
|
14553
|
+
* @param reader Reader or buffer to decode from
|
|
14554
|
+
* @returns GitHubImportConfig
|
|
14555
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14556
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14557
|
+
*/
|
|
14558
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.GitHubImportConfig;
|
|
14559
|
+
|
|
14560
|
+
/**
|
|
14561
|
+
* Verifies a GitHubImportConfig message.
|
|
14562
|
+
* @param message Plain object to verify
|
|
14563
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14564
|
+
*/
|
|
14565
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14566
|
+
|
|
14567
|
+
/**
|
|
14568
|
+
* Creates a GitHubImportConfig message from a plain object. Also converts values to their respective internal types.
|
|
14569
|
+
* @param object Plain object
|
|
14570
|
+
* @returns GitHubImportConfig
|
|
14571
|
+
*/
|
|
14572
|
+
public static fromObject(object: { [k: string]: any }): api.GitHubImportConfig;
|
|
14573
|
+
|
|
14574
|
+
/**
|
|
14575
|
+
* Creates a plain object from a GitHubImportConfig message. Also converts values to other types if specified.
|
|
14576
|
+
* @param message GitHubImportConfig
|
|
14577
|
+
* @param [options] Conversion options
|
|
14578
|
+
* @returns Plain object
|
|
14579
|
+
*/
|
|
14580
|
+
public static toObject(message: api.GitHubImportConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14581
|
+
|
|
14582
|
+
/**
|
|
14583
|
+
* Converts this GitHubImportConfig to JSON.
|
|
14584
|
+
* @returns JSON object
|
|
14585
|
+
*/
|
|
14586
|
+
public toJSON(): { [k: string]: any };
|
|
14587
|
+
}
|
|
14588
|
+
|
|
14589
14589
|
/** Properties of a NixConfig. */
|
|
14590
14590
|
interface INixConfig {
|
|
14591
14591
|
|