@replit/protocol 0.3.33 → 0.3.34

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
@@ -573,6 +573,9 @@ export namespace replit {
573
573
  /** Command nixModulesGetRegistryResponse */
574
574
  nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null);
575
575
 
576
+ /** Command pid2Message */
577
+ pid2Message?: (replit.goval.api.RiverMessage|replit.goval.api.IRiverMessage|null);
578
+
576
579
  /** Command ref */
577
580
  ref?: (string|null);
578
581
 
@@ -1150,6 +1153,9 @@ export namespace replit {
1150
1153
  /** Command nixModulesGetRegistryResponse. */
1151
1154
  public nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|null);
1152
1155
 
1156
+ /** Command pid2Message. */
1157
+ public pid2Message?: (replit.goval.api.RiverMessage|null);
1158
+
1153
1159
  /** Command ref. */
1154
1160
  public ref: string;
1155
1161
 
@@ -1157,7 +1163,7 @@ export namespace replit {
1157
1163
  public traceInfo: { [k: string]: string };
1158
1164
 
1159
1165
  /** Command body. */
1160
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"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"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse");
1166
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"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"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"pid2Message");
1161
1167
 
1162
1168
  /**
1163
1169
  * Creates a new Command instance using the specified properties.
@@ -1237,6 +1243,145 @@ export namespace replit {
1237
1243
  public static getTypeUrl(typeUrlPrefix?: string): string;
1238
1244
  }
1239
1245
 
1246
+ /** Properties of a RiverMessage. */
1247
+ interface IRiverMessage {
1248
+
1249
+ /** RiverMessage id */
1250
+ id?: (string|null);
1251
+
1252
+ /** RiverMessage replyTo */
1253
+ replyTo?: (string|null);
1254
+
1255
+ /** RiverMessage from */
1256
+ from?: (string|null);
1257
+
1258
+ /** RiverMessage to */
1259
+ to?: (string|null);
1260
+
1261
+ /** RiverMessage serviceName */
1262
+ serviceName?: (string|null);
1263
+
1264
+ /** RiverMessage procedureName */
1265
+ procedureName?: (string|null);
1266
+
1267
+ /** RiverMessage ack */
1268
+ ack?: (string|null);
1269
+
1270
+ /** RiverMessage payload */
1271
+ payload?: (Uint8Array|null);
1272
+ }
1273
+
1274
+ /** Represents a RiverMessage. */
1275
+ class RiverMessage {
1276
+
1277
+ /**
1278
+ * Constructs a new RiverMessage.
1279
+ * @param [properties] Properties to set
1280
+ */
1281
+ private constructor(properties?: replit.goval.api.IRiverMessage);
1282
+
1283
+ /** RiverMessage id. */
1284
+ public id: string;
1285
+
1286
+ /** RiverMessage replyTo. */
1287
+ public replyTo: string;
1288
+
1289
+ /** RiverMessage from. */
1290
+ public from: string;
1291
+
1292
+ /** RiverMessage to. */
1293
+ public to: string;
1294
+
1295
+ /** RiverMessage serviceName. */
1296
+ public serviceName: string;
1297
+
1298
+ /** RiverMessage procedureName. */
1299
+ public procedureName: string;
1300
+
1301
+ /** RiverMessage ack. */
1302
+ public ack: string;
1303
+
1304
+ /** RiverMessage payload. */
1305
+ public payload: Uint8Array;
1306
+
1307
+ /**
1308
+ * Creates a new RiverMessage instance using the specified properties.
1309
+ * @param [properties] Properties to set
1310
+ * @returns RiverMessage instance
1311
+ */
1312
+ public static create(properties?: replit.goval.api.IRiverMessage): replit.goval.api.RiverMessage;
1313
+
1314
+ /**
1315
+ * Encodes the specified RiverMessage message. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
1316
+ * @param message RiverMessage message or plain object to encode
1317
+ * @param [writer] Writer to encode to
1318
+ * @returns Writer
1319
+ */
1320
+ public static encode(message: replit.goval.api.RiverMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1321
+
1322
+ /**
1323
+ * Encodes the specified RiverMessage message, length delimited. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
1324
+ * @param message RiverMessage message or plain object to encode
1325
+ * @param [writer] Writer to encode to
1326
+ * @returns Writer
1327
+ */
1328
+ public static encodeDelimited(message: replit.goval.api.RiverMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1329
+
1330
+ /**
1331
+ * Decodes a RiverMessage message from the specified reader or buffer.
1332
+ * @param reader Reader or buffer to decode from
1333
+ * @param [length] Message length if known beforehand
1334
+ * @returns RiverMessage
1335
+ * @throws {Error} If the payload is not a reader or valid buffer
1336
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1337
+ */
1338
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.RiverMessage;
1339
+
1340
+ /**
1341
+ * Decodes a RiverMessage message from the specified reader or buffer, length delimited.
1342
+ * @param reader Reader or buffer to decode from
1343
+ * @returns RiverMessage
1344
+ * @throws {Error} If the payload is not a reader or valid buffer
1345
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1346
+ */
1347
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.RiverMessage;
1348
+
1349
+ /**
1350
+ * Verifies a RiverMessage message.
1351
+ * @param message Plain object to verify
1352
+ * @returns `null` if valid, otherwise the reason why it is not
1353
+ */
1354
+ public static verify(message: { [k: string]: any }): (string|null);
1355
+
1356
+ /**
1357
+ * Creates a RiverMessage message from a plain object. Also converts values to their respective internal types.
1358
+ * @param object Plain object
1359
+ * @returns RiverMessage
1360
+ */
1361
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.RiverMessage;
1362
+
1363
+ /**
1364
+ * Creates a plain object from a RiverMessage message. Also converts values to other types if specified.
1365
+ * @param message RiverMessage
1366
+ * @param [options] Conversion options
1367
+ * @returns Plain object
1368
+ */
1369
+ public static toObject(message: replit.goval.api.RiverMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1370
+
1371
+ /**
1372
+ * Converts this RiverMessage to JSON.
1373
+ * @returns JSON object
1374
+ */
1375
+ public toJSON(): { [k: string]: any };
1376
+
1377
+ /**
1378
+ * Gets the default type url for RiverMessage
1379
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1380
+ * @returns The default type url
1381
+ */
1382
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1383
+ }
1384
+
1240
1385
  /** Properties of a NixPackageAddRequest. */
1241
1386
  interface INixPackageAddRequest {
1242
1387
 
@@ -24243,6 +24388,9 @@ export namespace replit {
24243
24388
 
24244
24389
  /** ReplToken buildInfo */
24245
24390
  buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
24391
+
24392
+ /** ReplToken pid2Info */
24393
+ pid2Info?: (replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null);
24246
24394
  }
24247
24395
 
24248
24396
  /** Represents a ReplToken. */
@@ -24302,6 +24450,9 @@ export namespace replit {
24302
24450
  /** ReplToken buildInfo. */
24303
24451
  public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
24304
24452
 
24453
+ /** ReplToken pid2Info. */
24454
+ public pid2Info?: (replit.goval.api.repl.Pid2Binary|null);
24455
+
24305
24456
  /** ReplToken metadata. */
24306
24457
  public metadata?: ("repl"|"id"|"classroom");
24307
24458
 
@@ -28850,6 +29001,103 @@ export namespace replit {
28850
29001
  */
28851
29002
  public static getTypeUrl(typeUrlPrefix?: string): string;
28852
29003
  }
29004
+
29005
+ /** Properties of a Pid2Binary. */
29006
+ interface IPid2Binary {
29007
+
29008
+ /** Pid2Binary version */
29009
+ version?: (string|null);
29010
+ }
29011
+
29012
+ /** Represents a Pid2Binary. */
29013
+ class Pid2Binary {
29014
+
29015
+ /**
29016
+ * Constructs a new Pid2Binary.
29017
+ * @param [properties] Properties to set
29018
+ */
29019
+ private constructor(properties?: replit.goval.api.repl.IPid2Binary);
29020
+
29021
+ /** Pid2Binary version. */
29022
+ public version: string;
29023
+
29024
+ /**
29025
+ * Creates a new Pid2Binary instance using the specified properties.
29026
+ * @param [properties] Properties to set
29027
+ * @returns Pid2Binary instance
29028
+ */
29029
+ public static create(properties?: replit.goval.api.repl.IPid2Binary): replit.goval.api.repl.Pid2Binary;
29030
+
29031
+ /**
29032
+ * Encodes the specified Pid2Binary message. Does not implicitly {@link replit.goval.api.repl.Pid2Binary.verify|verify} messages.
29033
+ * @param message Pid2Binary message or plain object to encode
29034
+ * @param [writer] Writer to encode to
29035
+ * @returns Writer
29036
+ */
29037
+ public static encode(message: replit.goval.api.repl.Pid2Binary, writer?: $protobuf.Writer): $protobuf.Writer;
29038
+
29039
+ /**
29040
+ * Encodes the specified Pid2Binary message, length delimited. Does not implicitly {@link replit.goval.api.repl.Pid2Binary.verify|verify} messages.
29041
+ * @param message Pid2Binary message or plain object to encode
29042
+ * @param [writer] Writer to encode to
29043
+ * @returns Writer
29044
+ */
29045
+ public static encodeDelimited(message: replit.goval.api.repl.Pid2Binary, writer?: $protobuf.Writer): $protobuf.Writer;
29046
+
29047
+ /**
29048
+ * Decodes a Pid2Binary message from the specified reader or buffer.
29049
+ * @param reader Reader or buffer to decode from
29050
+ * @param [length] Message length if known beforehand
29051
+ * @returns Pid2Binary
29052
+ * @throws {Error} If the payload is not a reader or valid buffer
29053
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29054
+ */
29055
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Pid2Binary;
29056
+
29057
+ /**
29058
+ * Decodes a Pid2Binary message from the specified reader or buffer, length delimited.
29059
+ * @param reader Reader or buffer to decode from
29060
+ * @returns Pid2Binary
29061
+ * @throws {Error} If the payload is not a reader or valid buffer
29062
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29063
+ */
29064
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Pid2Binary;
29065
+
29066
+ /**
29067
+ * Verifies a Pid2Binary message.
29068
+ * @param message Plain object to verify
29069
+ * @returns `null` if valid, otherwise the reason why it is not
29070
+ */
29071
+ public static verify(message: { [k: string]: any }): (string|null);
29072
+
29073
+ /**
29074
+ * Creates a Pid2Binary message from a plain object. Also converts values to their respective internal types.
29075
+ * @param object Plain object
29076
+ * @returns Pid2Binary
29077
+ */
29078
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Pid2Binary;
29079
+
29080
+ /**
29081
+ * Creates a plain object from a Pid2Binary message. Also converts values to other types if specified.
29082
+ * @param message Pid2Binary
29083
+ * @param [options] Conversion options
29084
+ * @returns Plain object
29085
+ */
29086
+ public static toObject(message: replit.goval.api.repl.Pid2Binary, options?: $protobuf.IConversionOptions): { [k: string]: any };
29087
+
29088
+ /**
29089
+ * Converts this Pid2Binary to JSON.
29090
+ * @returns JSON object
29091
+ */
29092
+ public toJSON(): { [k: string]: any };
29093
+
29094
+ /**
29095
+ * Gets the default type url for Pid2Binary
29096
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29097
+ * @returns The default type url
29098
+ */
29099
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29100
+ }
28853
29101
  }
28854
29102
 
28855
29103
  /** Properties of a PrivateReplsPowerup. */