import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { Struct } from "../google/protobuf/struct.js"; import { Timestamp } from "../google/protobuf/timestamp.js"; import { Pid2Binary } from "./repl/repl.js"; import { Empty } from "../google/protobuf/empty.js"; /** * @generated from protobuf message replit.goval.api.Command */ export interface Command { /** * channel and session act as namespaces with 0 being global. * both session and channel must match for a client to receive a command. * * @generated from protobuf field: int32 channel = 1 */ channel: number; /** * < 0 : all user sessions except abs(id) * 0 : all user sessions * 1 : internal message to conman * > 1 : user session with given id * * @generated from protobuf field: int32 session = 2 */ session: number; /** * global messages * these should always be on channel 0 * * @generated from protobuf oneof: body */ body: { oneofKind: "openChan"; /** * @generated from protobuf field: replit.goval.api.OpenChannel openChan = 3 */ openChan: OpenChannel; } | { oneofKind: "openChanRes"; /** * @generated from protobuf field: replit.goval.api.OpenChannelRes openChanRes = 4 */ openChanRes: OpenChannelRes; } | { oneofKind: "closeChan"; /** * @generated from protobuf field: replit.goval.api.CloseChannel closeChan = 5 */ closeChan: CloseChannel; } | { oneofKind: "closeChanRes"; /** * @generated from protobuf field: replit.goval.api.CloseChannelRes closeChanRes = 6 */ closeChanRes: CloseChannelRes; } | { oneofKind: "containerState"; /** * @generated from protobuf field: replit.goval.api.ContainerState containerState = 9 */ containerState: ContainerState; } | { oneofKind: "portOpen"; /** * @generated from protobuf field: replit.goval.api.PortOpen portOpen = 10 */ portOpen: PortOpen; } | { oneofKind: "portClose"; /** * @generated from protobuf field: replit.goval.api.PortClose portClose = 48 */ portClose: PortClose; } | { oneofKind: "toast"; /** * @generated from protobuf field: replit.goval.api.Toast toast = 11 */ toast: Toast; } | { oneofKind: "protocolError"; /** * A protocol error. Will result in a disconnection. * * @generated from protobuf field: replit.goval.api.ProtocolError protocolError = 45 */ protocolError: ProtocolError; } | { oneofKind: "redirect"; /** * @generated from protobuf field: replit.goval.api.Redirect redirect = 12 */ redirect: Redirect; } | { oneofKind: "runMain"; /** * @generated from protobuf field: replit.goval.api.RunMain runMain = 16 */ runMain: RunMain; } | { oneofKind: "clear"; /** * @generated from protobuf field: replit.goval.api.Clear clear = 17 */ clear: Clear; } | { oneofKind: "eval"; /** * @generated from protobuf field: string eval = 20 */ eval: string; } | { oneofKind: "result"; /** * @generated from protobuf field: string result = 21 */ result: string; } | { oneofKind: "input"; /** * @generated from protobuf field: string input = 22 */ input: string; } | { oneofKind: "output"; /** * @generated from protobuf field: string output = 23 */ output: string; } | { oneofKind: "error"; /** * @generated from protobuf field: string error = 24 */ error: string; } | { oneofKind: "stderr"; /** * @generated from protobuf field: string stderr = 46 */ stderr: string; } | { oneofKind: "log"; /** * @generated from protobuf field: string log = 47 */ log: string; } | { oneofKind: "inputClose"; /** * @generated from protobuf field: google.protobuf.Empty inputClose = 49 */ inputClose: Empty; } | { oneofKind: "outputBlockStartEvent"; /** * Event sent at the start of "output block", for both run and interp modes * * @generated from protobuf field: replit.goval.api.OutputBlockStartEvent outputBlockStartEvent = 443 */ outputBlockStartEvent: OutputBlockStartEvent; } | { oneofKind: "outputBlockEndEvent"; /** * Event sent at the end of "output block", for both run and interp modes * * @generated from protobuf field: replit.goval.api.OutputBlockEndEvent outputBlockEndEvent = 444 */ outputBlockEndEvent: OutputBlockEndEvent; } | { oneofKind: "exitCodeEvent"; /** * Exit code event used by run2 and interp3 to notify output about the exit * code of the "run" * * @generated from protobuf field: sint32 exitCodeEvent = 445 */ exitCodeEvent: number; } | { oneofKind: "splitStderrRequest"; /** * Request to split output and stderr or not, supported by run2 and interp3 * * @generated from protobuf field: bool splitStderrRequest = 446 */ splitStderrRequest: boolean; } | { oneofKind: "shellMetadata"; /** * @generated from protobuf field: replit.goval.api.ShellMetadata shellMetadata = 447 */ shellMetadata: ShellMetadata; } | { oneofKind: "saneTerm"; /** * @generated from protobuf field: replit.goval.api.SaneTerm saneTerm = 26 */ saneTerm: SaneTerm; } | { oneofKind: "resizeTerm"; /** * @generated from protobuf field: replit.goval.api.ResizeTerm resizeTerm = 27 */ resizeTerm: ResizeTerm; } | { oneofKind: "state"; /** * @generated from protobuf field: replit.goval.api.State state = 28 */ state: State; } | { oneofKind: "ok"; /** * @generated from protobuf field: replit.goval.api.OK ok = 30 */ ok: OK; } | { oneofKind: "persist"; /** * @generated from protobuf field: replit.goval.api.File persist = 31 */ persist: File; } | { oneofKind: "persistMirror"; /** * @generated from protobuf field: replit.goval.api.File persistMirror = 41 */ persistMirror: File; } | { oneofKind: "write"; /** * @generated from protobuf field: replit.goval.api.File write = 32 */ write: File; } | { oneofKind: "remove"; /** * @generated from protobuf field: replit.goval.api.File remove = 33 */ remove: File; } | { oneofKind: "move"; /** * @generated from protobuf field: replit.goval.api.Move move = 34 */ move: Move; } | { oneofKind: "tryRemove"; /** * @generated from protobuf field: replit.goval.api.File tryRemove = 36 */ tryRemove: File; } | { oneofKind: "mkdir"; /** * @generated from protobuf field: replit.goval.api.File mkdir = 39 */ mkdir: File; } | { oneofKind: "stat"; /** * @generated from protobuf field: replit.goval.api.File stat = 368 */ stat: File; } | { oneofKind: "resetNixFilesystem"; /** * @generated from protobuf field: replit.goval.api.File resetNixFilesystem = 449 */ resetNixFilesystem: File; } | { oneofKind: "statRes"; /** * @generated from protobuf field: replit.goval.api.StatResult statRes = 369 */ statRes: StatResult; } | { oneofKind: "transferStart"; /** * @generated from protobuf field: replit.goval.api.TransferStart transferStart = 320 */ transferStart: TransferStart; } | { oneofKind: "transferChunk"; /** * @generated from protobuf field: replit.goval.api.TransferChunk transferChunk = 321 */ transferChunk: TransferChunk; } | { oneofKind: "transferComplete"; /** * @generated from protobuf field: replit.goval.api.TransferComplete transferComplete = 322 */ transferComplete: TransferComplete; } | { oneofKind: "transferCancel"; /** * @generated from protobuf field: replit.goval.api.Transfer transferCancel = 323 */ transferCancel: Transfer; } | { oneofKind: "transfer"; /** * @generated from protobuf field: replit.goval.api.Transfer transfer = 324 */ transfer: Transfer; } | { oneofKind: "read"; /** * @generated from protobuf field: replit.goval.api.File read = 35 */ read: File; } | { oneofKind: "readdir"; /** * @generated from protobuf field: replit.goval.api.File readdir = 37 */ readdir: File; } | { oneofKind: "files"; /** * @generated from protobuf field: replit.goval.api.Files files = 38 */ files: Files; } | { oneofKind: "file"; /** * @generated from protobuf field: replit.goval.api.File file = 40 */ file: File; } | { oneofKind: "checkChanges"; /** * @generated from protobuf field: replit.goval.api.CheckChanges checkChanges = 42 */ checkChanges: CheckChanges; } | { oneofKind: "changedFiles"; /** * @generated from protobuf field: replit.goval.api.Files changedFiles = 43 */ changedFiles: Files; } | { oneofKind: "lintResults"; /** * @generated from protobuf field: replit.goval.api.LintResults lintResults = 44 */ lintResults: LintResults; } | { oneofKind: "runContainedTest"; /** * @generated from protobuf field: replit.goval.api.ContainedTest runContainedTest = 70 */ runContainedTest: ContainedTest; } | { oneofKind: "testResult"; /** * @generated from protobuf field: replit.goval.api.TestResult testResult = 71 */ testResult: TestResult; } | { oneofKind: "debuggerStart"; /** * @generated from protobuf field: string debuggerStart = 90 */ debuggerStart: string; } | { oneofKind: "debuggerStep"; /** * @generated from protobuf field: replit.goval.api.RunMain debuggerStep = 91 */ debuggerStep: RunMain; } | { oneofKind: "debuggerStatus"; /** * @generated from protobuf field: replit.goval.api.DebugStatus debuggerStatus = 92 */ debuggerStatus: DebugStatus; } | { oneofKind: "ensurePackages"; /** * @generated from protobuf field: replit.goval.api.EnsurePackages ensurePackages = 100 */ ensurePackages: EnsurePackages; } | { oneofKind: "ping"; /** * @generated from protobuf field: replit.goval.api.Ping ping = 120 */ ping: Ping; } | { oneofKind: "pong"; /** * @generated from protobuf field: replit.goval.api.Pong pong = 121 */ pong: Pong; } | { oneofKind: "hello"; /** * @generated from protobuf field: replit.goval.api.Hello hello = 122 */ hello: Hello; } | { oneofKind: "goodbye"; /** * @generated from protobuf field: replit.goval.api.Goodbye goodbye = 123 */ goodbye: Goodbye; } | { oneofKind: "proxyGoingAway"; /** * @generated from protobuf field: replit.goval.api.ProxyGoingAway proxyGoingAway = 124 */ proxyGoingAway: ProxyGoingAway; } | { oneofKind: "hint"; /** * @generated from protobuf field: replit.goval.api.Hint hint = 130 */ hint: Hint; } | { oneofKind: "connect"; /** * @generated from protobuf field: replit.goval.api.Connect connect = 150 */ connect: Connect; } | { oneofKind: "send"; /** * @generated from protobuf field: replit.goval.api.Send send = 151 */ send: Send; } | { oneofKind: "recv"; /** * @generated from protobuf field: replit.goval.api.Recv recv = 152 */ recv: Recv; } | { oneofKind: "disconnect"; /** * @generated from protobuf field: replit.goval.api.Disconnect disconnect = 153 */ disconnect: Disconnect; } | { oneofKind: "ot"; /** * @generated from protobuf field: replit.goval.api.OTPacket ot = 220 */ ot: OTPacket; } | { oneofKind: "otstatus"; /** * @generated from protobuf field: replit.goval.api.OTStatus otstatus = 221 */ otstatus: OTStatus; } | { oneofKind: "otLinkFile"; /** * @generated from protobuf field: replit.goval.api.OTLinkFile otLinkFile = 222 */ otLinkFile: OTLinkFile; } | { oneofKind: "otLinkFileResponse"; /** * @generated from protobuf field: replit.goval.api.OTLinkFileResponse otLinkFileResponse = 229 */ otLinkFileResponse: OTLinkFileResponse; } | { oneofKind: "otNewCursor"; /** * @generated from protobuf field: replit.goval.api.OTCursor otNewCursor = 223 */ otNewCursor: OTCursor; } | { oneofKind: "otDeleteCursor"; /** * @generated from protobuf field: replit.goval.api.OTCursor otDeleteCursor = 224 */ otDeleteCursor: OTCursor; } | { oneofKind: "otFetchRequest"; /** * @generated from protobuf field: replit.goval.api.OTFetchRequest otFetchRequest = 225 */ otFetchRequest: OTFetchRequest; } | { oneofKind: "otFetchResponse"; /** * @generated from protobuf field: replit.goval.api.OTFetchResponse otFetchResponse = 226 */ otFetchResponse: OTFetchResponse; } | { oneofKind: "otTransformSelectionRequest"; /** * @generated from protobuf field: replit.goval.api.OTTransformSelectionRequest otTransformSelectionRequest = 227 */ otTransformSelectionRequest: OTTransformSelectionRequest; } | { oneofKind: "otTransformSelectionResponse"; /** * @generated from protobuf field: replit.goval.api.OTTransformSelectionResponse otTransformSelectionResponse = 228 */ otTransformSelectionResponse: OTTransformSelectionResponse; } | { oneofKind: "flush"; /** * @generated from protobuf field: replit.goval.api.Flush flush = 251 */ flush: Flush; } | { oneofKind: "otFlushNotification"; /** * @generated from protobuf field: replit.goval.api.OTFlushNotification otFlushNotification = 452 */ otFlushNotification: OTFlushNotification; } | { oneofKind: "debug"; /** * @generated from protobuf field: replit.goval.api.Debug debug = 230 */ debug: Debug; } | { oneofKind: "auth"; /** * @generated from protobuf field: replit.goval.api.Auth auth = 235 */ auth: Auth; } | { oneofKind: "execInfo"; /** * @generated from protobuf field: replit.goval.api.ExecInfo execInfo = 240 */ execInfo: ExecInfo; } | { oneofKind: "subscribeFile"; /** * @generated from protobuf field: replit.goval.api.SubscribeFile subscribeFile = 256 */ subscribeFile: SubscribeFile; } | { oneofKind: "fileEvent"; /** * @generated from protobuf field: replit.goval.api.FileEvent fileEvent = 257 */ fileEvent: FileEvent; } | { oneofKind: "roster"; /** * Presence service messages * * @generated from protobuf field: replit.goval.api.Roster roster = 260 */ roster: Roster; } | { oneofKind: "join"; /** * @generated from protobuf field: replit.goval.api.User join = 261 */ join: User; } | { oneofKind: "part"; /** * @generated from protobuf field: replit.goval.api.User part = 262 */ part: User; } | { oneofKind: "openFile"; /** * @generated from protobuf field: replit.goval.api.OpenFile openFile = 263 */ openFile: OpenFile; } | { oneofKind: "fileOpened"; /** * @generated from protobuf field: replit.goval.api.FileOpened fileOpened = 264 */ fileOpened: FileOpened; } | { oneofKind: "followUser"; /** * @generated from protobuf field: replit.goval.api.FollowUser followUser = 265 */ followUser: FollowUser; } | { oneofKind: "unfollowUser"; /** * @generated from protobuf field: replit.goval.api.UnfollowUser unfollowUser = 268 */ unfollowUser: UnfollowUser; } | { oneofKind: "updateSessionTimestamp"; /** * @generated from protobuf field: replit.goval.api.UpdateSessionTimestamp updateSessionTimestamp = 266 */ updateSessionTimestamp: UpdateSessionTimestamp; } | { oneofKind: "sessionTimestampUpdated"; /** * @generated from protobuf field: replit.goval.api.SessionTimestampUpdated sessionTimestampUpdated = 267 */ sessionTimestampUpdated: SessionTimestampUpdated; } | { oneofKind: "exec"; /** * @generated from protobuf field: replit.goval.api.Exec exec = 270 */ exec: Exec; } | { oneofKind: "packageSearch"; /** * @generated from protobuf field: replit.goval.api.PackageSearch packageSearch = 280 */ packageSearch: PackageSearch; } | { oneofKind: "packageSearchResp"; /** * @generated from protobuf field: replit.goval.api.PackageSearchResp packageSearchResp = 281 */ packageSearchResp: PackageSearchResp; } | { oneofKind: "packageInfo"; /** * @generated from protobuf field: replit.goval.api.PackageInfo packageInfo = 282 */ packageInfo: PackageInfo; } | { oneofKind: "packageInfoResp"; /** * @generated from protobuf field: replit.goval.api.PackageInfoResp packageInfoResp = 283 */ packageInfoResp: PackageInfoResp; } | { oneofKind: "packageAdd"; /** * @generated from protobuf field: replit.goval.api.PackageAdd packageAdd = 284 */ packageAdd: PackageAdd; } | { oneofKind: "packageAddResponse"; /** * @generated from protobuf field: replit.goval.api.PackageAddResponse packageAddResponse = 448 */ packageAddResponse: PackageAddResponse; } | { oneofKind: "packageRemove"; /** * @generated from protobuf field: replit.goval.api.PackageRemove packageRemove = 285 */ packageRemove: PackageRemove; } | { oneofKind: "packageInstall"; /** * @generated from protobuf field: replit.goval.api.PackageInstall packageInstall = 286 */ packageInstall: PackageInstall; } | { oneofKind: "packageInstallResponse"; /** * @generated from protobuf field: replit.goval.api.PackageInstallResponse packageInstallResponse = 290 */ packageInstallResponse: PackageInstallResponse; } | { oneofKind: "packageListSpecfile"; /** * @generated from protobuf field: replit.goval.api.PackageListSpecfile packageListSpecfile = 287 */ packageListSpecfile: PackageListSpecfile; } | { oneofKind: "packageListSpecfileResp"; /** * @generated from protobuf field: replit.goval.api.PackageListSpecfileResp packageListSpecfileResp = 288 */ packageListSpecfileResp: PackageListSpecfileResp; } | { oneofKind: "packageCacheSave"; /** * @generated from protobuf field: replit.goval.api.PackageCacheSave packageCacheSave = 289 */ packageCacheSave: PackageCacheSave; } | { oneofKind: "chatMessage"; /** * @generated from protobuf field: replit.goval.api.ChatMessage chatMessage = 310 */ chatMessage: ChatMessage; } | { oneofKind: "chatTyping"; /** * @generated from protobuf field: replit.goval.api.ChatTyping chatTyping = 311 */ chatTyping: ChatTyping; } | { oneofKind: "chatScrollback"; /** * @generated from protobuf field: replit.goval.api.ChatScrollback chatScrollback = 312 */ chatScrollback: ChatScrollback; } | { oneofKind: "fsSnapshot"; /** * Request a filesystem snapshot to be taken. Will respond with an OK or an * Error. * * @generated from protobuf field: replit.goval.api.FSSnapshot fsSnapshot = 330 */ fsSnapshot: FSSnapshot; } | { oneofKind: "fsSnapshotEvent"; /** * Notification sent from pid1 whenever a snapshot finishes. * * @generated from protobuf field: replit.goval.api.FSSnapshotEvent fsSnapshotEvent = 388 */ fsSnapshotEvent: FSSnapshotEvent; } | { oneofKind: "fsTakeLock"; /** * @generated from protobuf field: replit.goval.api.FSLock fsTakeLock = 331 */ fsTakeLock: FSLock; } | { oneofKind: "fsReleaseLock"; /** * @generated from protobuf field: replit.goval.api.FSLock fsReleaseLock = 332 */ fsReleaseLock: FSLock; } | { oneofKind: "hasCap"; /** * @generated from protobuf field: bool hasCap = 335 */ hasCap: boolean; } | { oneofKind: "snapshotEvent"; /** * Notification sent from conman to pid1 when a snapshot happens. * * @generated from protobuf field: replit.goval.api.SnapshotEvent snapshotEvent = 389 */ snapshotEvent: SnapshotEvent; } | { oneofKind: "noninteractiveFSChangeEvent"; /** * Event sent from pid1 to the workspace to notify that there was a change * made to the filesystem that was attempted while being non-interactive. * * @generated from protobuf field: bool NoninteractiveFSChangeEvent = 392 */ noninteractiveFSChangeEvent: boolean; } | { oneofKind: "pid1Config"; /** * used to configure pid1 at runtime * * @generated from protobuf field: replit.goval.api.Pid1Config pid1Config = 340 */ pid1Config: Pid1Config; } | { oneofKind: "metrics"; /** * @generated from protobuf field: replit.goval.api.Metrics metrics = 350 */ metrics: Metrics; } | { oneofKind: "bootStatus"; /** * @generated from protobuf field: replit.goval.api.BootStatus bootStatus = 351 */ bootStatus: BootStatus; } | { oneofKind: "readMetaRequest"; /** * metadata store * * @generated from protobuf field: replit.goval.api.ReadMetaRequest readMetaRequest = 360 */ readMetaRequest: ReadMetaRequest; } | { oneofKind: "readMetaResponse"; /** * @generated from protobuf field: replit.goval.api.ReadMetaResponse readMetaResponse = 384 */ readMetaResponse: ReadMetaResponse; } | { oneofKind: "writeMetaRequest"; /** * @generated from protobuf field: replit.goval.api.WriteMetaRequest writeMetaRequest = 361 */ writeMetaRequest: WriteMetaRequest; } | { oneofKind: "writeMetaResponse"; /** * @generated from protobuf field: replit.goval.api.WriteMetaResponse writeMetaResponse = 385 */ writeMetaResponse: WriteMetaResponse; } | { oneofKind: "appendMetaRequest"; /** * @generated from protobuf field: replit.goval.api.AppendMetaRequest appendMetaRequest = 362 */ appendMetaRequest: AppendMetaRequest; } | { oneofKind: "appendMetaResponse"; /** * @generated from protobuf field: replit.goval.api.AppendMetaResponse appendMetaResponse = 386 */ appendMetaResponse: AppendMetaResponse; } | { oneofKind: "audio"; /** * audio * * @generated from protobuf field: replit.goval.api.Audio audio = 363 */ audio: Audio; } | { oneofKind: "pprofRequest"; /** * @generated from protobuf field: replit.goval.api.PprofRequest pprofRequest = 364 */ pprofRequest: PprofRequest; } | { oneofKind: "pprofResponse"; /** * @generated from protobuf field: replit.goval.api.PprofResponse pprofResponse = 365 */ pprofResponse: PprofResponse; } | { oneofKind: "audio2"; /** * @generated from protobuf field: replit.goval.api.Audio2 audio2 = 366 */ audio2: Audio2; } | { oneofKind: "pTYConfig"; /** * used to set configure pty settings * * @generated from protobuf field: replit.goval.api.PTYConfig PTYConfig = 367 */ pTYConfig: PTYConfig; } | { oneofKind: "debugMain"; /** * Request to start debugging the main file for the project. This will * atomically start a new session or join an existing one, identified by * the `session` name. Clients will receive a DebugState message followed by * a DebugMainReply on success, or an error on failure. * * Following a success, all channels will receive a DebugSessions with * the newly-created session. Also, further debug messages sent from the * client must contain the same session identifier. * * Clients can create any number of concurrent sessions. The main debugging * session is called "main" by convention. * * @generated from protobuf field: replit.goval.api.DebugMain debugMain = 370 */ debugMain: DebugMain; } | { oneofKind: "debugState"; /** * @generated from protobuf field: replit.goval.api.DebugState debugState = 371 */ debugState: DebugState; } | { oneofKind: "debugMainReply"; /** * @generated from protobuf field: replit.goval.api.DebugMainReply debugMainReply = 372 */ debugMainReply: DebugMainReply; } | { oneofKind: "debugInput"; /** * DebugInput can be sent to write to the adapter or the debuggee (as * stdin). This will reply with OK on success, or an error on failure. * * @generated from protobuf field: replit.goval.api.DebugInput debugInput = 373 */ debugInput: DebugInput; } | { oneofKind: "debugOutput"; /** * DebugOutput will be sent every time there is new output from the * debuggee (stdout / stderr) or the adapter. * * @generated from protobuf field: replit.goval.api.DebugOutput debugOutput = 374 */ debugOutput: DebugOutput; } | { oneofKind: "debugStop"; /** * DebugStop can be sent to stop and clean up a debugger session. This will * reply with OK on success, or an error on failure. * * @generated from protobuf field: replit.goval.api.DebugStop debugStop = 375 */ debugStop: DebugStop; } | { oneofKind: "debugLeave"; /** * DebugLeave can be sent to stop receiving notifications for a debugger * session. This will reply with OK on success, or an error on failure. * * @generated from protobuf field: replit.goval.api.DebugLeave debugLeave = 376 */ debugLeave: DebugLeave; } | { oneofKind: "debugSessions"; /** * @generated from protobuf field: replit.goval.api.DebugSessions debugSessions = 377 */ debugSessions: DebugSessions; } | { oneofKind: "debugAddBreakpointRequest"; /** * DebugAddBreakpointRequest/DebugUpdateBreakpointRequest/DebugRemoveBreakpointRequest * can be sent to add/update/remove a breakpoint. A DebugBreakpointEvent * will be broadcast if the breakpoints changed. These will reply with OK on * success, or an error on failure. * * @generated from protobuf field: replit.goval.api.DebugAddBreakpointRequest debugAddBreakpointRequest = 380 */ debugAddBreakpointRequest: DebugAddBreakpointRequest; } | { oneofKind: "debugUpdateBreakpointRequest"; /** * @generated from protobuf field: replit.goval.api.DebugUpdateBreakpointRequest debugUpdateBreakpointRequest = 387 */ debugUpdateBreakpointRequest: DebugUpdateBreakpointRequest; } | { oneofKind: "debugRemoveBreakpointRequest"; /** * @generated from protobuf field: replit.goval.api.DebugRemoveBreakpointRequest debugRemoveBreakpointRequest = 381 */ debugRemoveBreakpointRequest: DebugRemoveBreakpointRequest; } | { oneofKind: "debugBreakpointEvent"; /** * DebugBreakpointEvent is sent to all clients when a list of breakpoints * changes. * * @generated from protobuf field: replit.goval.api.DebugBreakpointEvent debugBreakpointEvent = 383 */ debugBreakpointEvent: DebugBreakpointEvent; } | { oneofKind: "dotReplitGetRequest"; /** * DotReplitGetRequest requests the contents of the .replit file. The * response will be a DotReplitGetResponse or an Error. * * @generated from protobuf field: replit.goval.api.DotReplitGetRequest dotReplitGetRequest = 378 */ dotReplitGetRequest: DotReplitGetRequest; } | { oneofKind: "dotReplitGetResponse"; /** * @generated from protobuf field: replit.goval.api.DotReplitGetResponse dotReplitGetResponse = 379 */ dotReplitGetResponse: DotReplitGetResponse; } | { oneofKind: "runConfigGetRequest"; /** * RunConfigGetRequest requests the run config based on the language's * configuration and user specified config in dotreplit. The response will * be a RunConfigGetResponse or an Error. Useful if you need to execute * a run without using one of the built-in runner services but want to match * what they're doing, for example running `exec` service because you don't * want a pty attached. * * @generated from protobuf field: replit.goval.api.RunConfigGetRequest runConfigGetRequest = 390 */ runConfigGetRequest: RunConfigGetRequest; } | { oneofKind: "runConfigGetResponse"; /** * @generated from protobuf field: replit.goval.api.RunConfigGetResponse runConfigGetResponse = 391 */ runConfigGetResponse: RunConfigGetResponse; } | { oneofKind: "dotReplitUpdateRequest"; /** * DotReplitUpdateRequest requests to write to the given field of the * .replit file. The response will be a DotReplitUpdateResponse or an Error. * * @generated from protobuf field: replit.goval.api.DotReplitUpdateRequest dotReplitUpdateRequest = 395 */ dotReplitUpdateRequest: DotReplitUpdateRequest; } | { oneofKind: "dotReplitUpdateResponse"; /** * @generated from protobuf field: replit.goval.api.DotReplitUpdateResponse dotReplitUpdateResponse = 396 */ dotReplitUpdateResponse: DotReplitUpdateResponse; } | { oneofKind: "startLSP"; /** * @generated from protobuf field: replit.goval.api.StartLSP startLSP = 345 */ startLSP: StartLSP; } | { oneofKind: "firewallDenied"; /** * @generated from protobuf field: replit.goval.api.FirewallDenied firewallDenied = 393 */ firewallDenied: FirewallDenied; } | { oneofKind: "nixPackageAddRequest"; /** * NixPackageAddRequest adds a list of packages to the replit.nix * * @generated from protobuf field: replit.goval.api.NixPackageAddRequest nixPackageAddRequest = 410 */ nixPackageAddRequest: NixPackageAddRequest; } | { oneofKind: "nixPackageAddResponse"; /** * @generated from protobuf field: replit.goval.api.NixPackageAddResponse nixPackageAddResponse = 411 */ nixPackageAddResponse: NixPackageAddResponse; } | { oneofKind: "nixPackageRemoveRequest"; /** * NixPackageRemoveRequest removes a list of packages from the replit.nix * * @generated from protobuf field: replit.goval.api.NixPackageRemoveRequest nixPackageRemoveRequest = 412 */ nixPackageRemoveRequest: NixPackageRemoveRequest; } | { oneofKind: "nixPackageRemoveResponse"; /** * @generated from protobuf field: replit.goval.api.NixPackageRemoveResponse nixPackageRemoveResponse = 413 */ nixPackageRemoveResponse: NixPackageRemoveResponse; } | { oneofKind: "nixPackageListRequest"; /** * NixPackageListRequest requests the list of packages in the replit.nix * * @generated from protobuf field: replit.goval.api.NixPackageListRequest nixPackageListRequest = 414 */ nixPackageListRequest: NixPackageListRequest; } | { oneofKind: "nixPackageListResponse"; /** * @generated from protobuf field: replit.goval.api.NixPackageListResponse nixPackageListResponse = 415 */ nixPackageListResponse: NixPackageListResponse; } | { oneofKind: "nixChannelsRequest"; /** * NixChannelsRequest requests the list of allowed channels in the * replit.nix * * @generated from protobuf field: replit.goval.api.NixChannelsRequest nixChannelsRequest = 416 */ nixChannelsRequest: NixChannelsRequest; } | { oneofKind: "nixChannelsResponse"; /** * @generated from protobuf field: replit.goval.api.NixChannelsResponse nixChannelsResponse = 417 */ nixChannelsResponse: NixChannelsResponse; } | { oneofKind: "nixChannelLatestStableRequest"; /** * NixChannelLatestStable requests the latest stable nix channel supported * * @generated from protobuf field: replit.goval.api.NixChannelLatestStableRequest nixChannelLatestStableRequest = 418 */ nixChannelLatestStableRequest: NixChannelLatestStableRequest; } | { oneofKind: "nixChannelLatestStableResponse"; /** * @generated from protobuf field: replit.goval.api.NixChannelLatestStableResponse nixChannelLatestStableResponse = 419 */ nixChannelLatestStableResponse: NixChannelLatestStableResponse; } | { oneofKind: "nixPackageSearchRequest"; /** * NixPackageSearch searches for a package using rippkgs * * @generated from protobuf field: replit.goval.api.NixPackageSearchRequest nixPackageSearchRequest = 420 */ nixPackageSearchRequest: NixPackageSearchRequest; } | { oneofKind: "nixPackageSearchResponse"; /** * @generated from protobuf field: replit.goval.api.NixPackageSearchResponse nixPackageSearchResponse = 421 */ nixPackageSearchResponse: NixPackageSearchResponse; } | { oneofKind: "nixPackageInfoRequest"; /** * NixPackageInfo gets info for a package using rippkgs * * @generated from protobuf field: replit.goval.api.NixPackageInfoRequest nixPackageInfoRequest = 450 */ nixPackageInfoRequest: NixPackageInfoRequest; } | { oneofKind: "nixPackageInfoResponse"; /** * @generated from protobuf field: replit.goval.api.NixPackageInfoResponse nixPackageInfoResponse = 451 */ nixPackageInfoResponse: NixPackageInfoResponse; } | { oneofKind: "userEvent"; /** * UserEvent is a message generated client-side that is tracked and proxied * to BigQuery. * * @generated from protobuf field: replit.goval.api.UserEvent userEvent = 423 */ userEvent: UserEvent; } | { oneofKind: "replspaceApiOpenFile"; /** * Replspace API * * @generated from protobuf field: replit.goval.api.ReplspaceApiOpenFile replspaceApiOpenFile = 424 */ replspaceApiOpenFile: ReplspaceApiOpenFile; } | { oneofKind: "replspaceApiCloseFile"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiCloseFile replspaceApiCloseFile = 425 */ replspaceApiCloseFile: ReplspaceApiCloseFile; } | { oneofKind: "replspaceApiGetGitHubToken"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiGetGitHubToken replspaceApiGetGitHubToken = 426 */ replspaceApiGetGitHubToken: ReplspaceApiGetGitHubToken; } | { oneofKind: "replspaceApiGitHubToken"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiGitHubToken replspaceApiGitHubToken = 427 */ replspaceApiGitHubToken: ReplspaceApiGitHubToken; } | { oneofKind: "replspaceApiGetBitbucketToken"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiGetBitbucketToken replspaceApiGetBitbucketToken = 472 */ replspaceApiGetBitbucketToken: ReplspaceApiGetBitbucketToken; } | { oneofKind: "replspaceApiBitbucketToken"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiBitbucketToken replspaceApiBitbucketToken = 473 */ replspaceApiBitbucketToken: ReplspaceApiBitbucketToken; } | { oneofKind: "focused"; /** * Focused causes the container to be boosted once more. * * @generated from protobuf field: replit.goval.api.Focused focused = 428 */ focused: Focused; } | { oneofKind: "nixModulesGetRequest"; /** * NixModulesGetRequest requests all Nix modules * * @generated from protobuf field: replit.goval.api.NixModulesGetRequest nixModulesGetRequest = 429 */ nixModulesGetRequest: NixModulesGetRequest; } | { oneofKind: "nixModulesGetResponse"; /** * @generated from protobuf field: replit.goval.api.NixModulesGetResponse nixModulesGetResponse = 430 */ nixModulesGetResponse: NixModulesGetResponse; } | { oneofKind: "nixModulesChanged"; /** * NixModulesChanged notifies that the Nix modules have changed * * @generated from protobuf field: replit.goval.api.NixModulesChanged nixModulesChanged = 431 */ nixModulesChanged: NixModulesChanged; } | { oneofKind: "nixModulesBuildRequest"; /** * NixModulesBuildRequest requests a build of the current set of modules * * @generated from protobuf field: replit.goval.api.NixModulesBuildRequest nixModulesBuildRequest = 432 */ nixModulesBuildRequest: NixModulesBuildRequest; } | { oneofKind: "packageSetPackagerRequest"; /** * PackageSetPackager sets the packager to use for a package channel * it is meant to be called immediately after opening the channel, before * other requests are sent * * @generated from protobuf field: replit.goval.api.PackageSetPackagerRequest packageSetPackagerRequest = 433 */ packageSetPackagerRequest: PackageSetPackagerRequest; } | { oneofKind: "packageSetPackagerResp"; /** * @generated from protobuf field: replit.goval.api.PackageSetPackagerResponse packageSetPackagerResp = 434 */ packageSetPackagerResp: PackageSetPackagerResponse; } | { oneofKind: "toolchainGetRequest"; /** * ToolchainGetRequest requests all "toolchain" configs for a repl * * @generated from protobuf field: replit.goval.api.ToolchainGetRequest toolchainGetRequest = 435 */ toolchainGetRequest: ToolchainGetRequest; } | { oneofKind: "toolchainGetResponse"; /** * @generated from protobuf field: replit.goval.api.ToolchainGetResponse toolchainGetResponse = 436 */ toolchainGetResponse: ToolchainGetResponse; } | { oneofKind: "toolchainChanged"; /** * ToolchainChanged notifies that the toolchain configs have changed * * @generated from protobuf field: replit.goval.api.ToolchainChanged toolchainChanged = 437 */ toolchainChanged: ToolchainChanged; } | { oneofKind: "replspaceApiOpenMultipleFiles"; /** * Replspace Multiple Files API * * @generated from protobuf field: replit.goval.api.ReplspaceApiOpenMultipleFiles replspaceApiOpenMultipleFiles = 438 */ replspaceApiOpenMultipleFiles: ReplspaceApiOpenMultipleFiles; } | { oneofKind: "nixModulesGetRegistryRequest"; /** * @generated from protobuf field: replit.goval.api.NixModulesGetRegistryRequest nixModulesGetRegistryRequest = 439 */ nixModulesGetRegistryRequest: NixModulesGetRegistryRequest; } | { oneofKind: "nixModulesGetRegistryResponse"; /** * @generated from protobuf field: replit.goval.api.NixModulesGetRegistryResponse nixModulesGetRegistryResponse = 440 */ nixModulesGetRegistryResponse: NixModulesGetRegistryResponse; } | { oneofKind: "replspaceApiShellTracker"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiShellTracker replspaceApiShellTracker = 442 */ replspaceApiShellTracker: ReplspaceApiShellTracker; } | { oneofKind: "paneMetricsTracker"; /** * @generated from protobuf field: replit.goval.api.PaneMetricsTracker paneMetricsTracker = 453 */ paneMetricsTracker: PaneMetricsTracker; } | { oneofKind: "nixModuleConfigGetRequest"; /** * Nixmodules V2 request current (computed) module configuration * * @generated from protobuf field: replit.goval.api.NixModuleConfigGetRequest nixModuleConfigGetRequest = 460 */ nixModuleConfigGetRequest: NixModuleConfigGetRequest; } | { oneofKind: "nixModuleConfigGetResponse"; /** * @generated from protobuf field: replit.goval.api.NixModuleConfigGetResponse nixModuleConfigGetResponse = 461 */ nixModuleConfigGetResponse: NixModuleConfigGetResponse; } | { oneofKind: "nixModuleConfigSetRequest"; /** * Nixmodules V2 set module configuration * * @generated from protobuf field: replit.goval.api.NixModuleConfigSetRequest nixModuleConfigSetRequest = 462 */ nixModuleConfigSetRequest: NixModuleConfigSetRequest; } | { oneofKind: "nixModuleConfigSetResponse"; /** * @generated from protobuf field: replit.goval.api.NixModuleConfigSetResponse nixModuleConfigSetResponse = 463 */ nixModuleConfigSetResponse: NixModuleConfigSetResponse; } | { oneofKind: "replspaceApiSSHTokenGetRequest"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiSSHTokenGetRequest replspaceApiSSHTokenGetRequest = 464 */ replspaceApiSSHTokenGetRequest: ReplspaceApiSSHTokenGetRequest; } | { oneofKind: "replspaceApiSSHTokenGetResponse"; /** * @generated from protobuf field: replit.goval.api.ReplspaceApiSSHTokenGetResponse replspaceApiSSHTokenGetResponse = 465 */ replspaceApiSSHTokenGetResponse: ReplspaceApiSSHTokenGetResponse; } | { oneofKind: "secretsGetRequest"; /** * @generated from protobuf field: replit.goval.api.SecretsGetRequest secretsGetRequest = 466 */ secretsGetRequest: SecretsGetRequest; } | { oneofKind: "secretsGetResponse"; /** * @generated from protobuf field: replit.goval.api.SecretsGetResponse secretsGetResponse = 467 */ secretsGetResponse: SecretsGetResponse; } | { oneofKind: "secretsSetRequest"; /** * @generated from protobuf field: replit.goval.api.SecretsSetRequest secretsSetRequest = 468 */ secretsSetRequest: SecretsSetRequest; } | { oneofKind: "externalSecretsGetRequest"; /** * @deprecated * @generated from protobuf field: replit.goval.api.ExternalSecretsGetRequest externalSecretsGetRequest = 469 [deprecated = true] */ externalSecretsGetRequest: ExternalSecretsGetRequest; } | { oneofKind: "externalSecretsGetResponse"; /** * @deprecated * @generated from protobuf field: replit.goval.api.ExternalSecretsGetResponse externalSecretsGetResponse = 470 [deprecated = true] */ externalSecretsGetResponse: ExternalSecretsGetResponse; } | { oneofKind: "externalSecretsSetRequest"; /** * @generated from protobuf field: replit.goval.api.ExternalSecretsSetRequest externalSecretsSetRequest = 471 */ externalSecretsSetRequest: ExternalSecretsSetRequest; } | { oneofKind: "replResourcesUpdateNotification"; /** * @generated from protobuf field: replit.goval.api.ReplResourcesUpdateNotification replResourcesUpdateNotification = 600 */ replResourcesUpdateNotification: ReplResourcesUpdateNotification; } | { oneofKind: "pid1RefreshSecrets"; /** * @generated from protobuf field: replit.goval.api.Pid1RefreshSecrets pid1RefreshSecrets = 601 */ pid1RefreshSecrets: Pid1RefreshSecrets; } | { oneofKind: undefined; }; /** * @generated from protobuf field: string ref = 1000 */ ref: string; /** * trace_info holds metadata used for connecting tracing spans across multiple * services or from the frontend * * @generated from protobuf field: map trace_info = 1001 */ traceInfo: { [key: string]: string; }; /** * set this to true to force tracing to be captured * * @generated from protobuf field: bool forceTrace = 1002 */ forceTrace: boolean; } /** * @generated from protobuf message replit.goval.api.NixPackageAddRequest */ export interface NixPackageAddRequest { /** * @generated from protobuf field: repeated string packages = 1 */ packages: string[]; } /** * @generated from protobuf message replit.goval.api.NixPackageAddResponse */ export interface NixPackageAddResponse { } /** * @generated from protobuf message replit.goval.api.NixPackageRemoveRequest */ export interface NixPackageRemoveRequest { /** * @generated from protobuf field: repeated string packages = 1 */ packages: string[]; } /** * @generated from protobuf message replit.goval.api.NixPackageRemoveResponse */ export interface NixPackageRemoveResponse { } /** * @generated from protobuf message replit.goval.api.NixPackageListRequest */ export interface NixPackageListRequest { } /** * @generated from protobuf message replit.goval.api.NixPackageListResponse */ export interface NixPackageListResponse { /** * @generated from protobuf field: repeated replit.goval.api.NixPackage packages = 1 */ packages: NixPackage[]; } /** * @generated from protobuf message replit.goval.api.NixPackage */ export interface NixPackage { /** * @generated from protobuf field: string name = 1 */ name: string; /** * @generated from protobuf field: string description = 2 */ description: string; /** * @generated from protobuf field: string version = 3 */ version: string; /** * @generated from protobuf field: repeated string homepageURL = 4 */ homepageURL: string[]; /** * @generated from protobuf field: repeated string maintainers = 5 */ maintainers: string[]; /** * @generated from protobuf field: repeated string licenses = 6 */ licenses: string[]; /** * @generated from protobuf field: bool present = 7 */ present: boolean; /** * @generated from protobuf field: map storePaths = 8 */ storePaths: { [key: string]: string; }; /** * @generated from protobuf field: repeated string propagatedBuildInputs = 9 */ propagatedBuildInputs: string[]; /** * @generated from protobuf field: repeated string propagatedNativeBuildInputs = 10 */ propagatedNativeBuildInputs: string[]; } /** * @generated from protobuf message replit.goval.api.NixChannelsRequest */ export interface NixChannelsRequest { } /** * @generated from protobuf message replit.goval.api.NixChannelsResponse */ export interface NixChannelsResponse { /** * @generated from protobuf field: repeated string channels = 1 */ channels: string[]; } /** * @generated from protobuf message replit.goval.api.NixChannelLatestStableRequest */ export interface NixChannelLatestStableRequest { } /** * @generated from protobuf message replit.goval.api.NixChannelLatestStableResponse */ export interface NixChannelLatestStableResponse { /** * @generated from protobuf field: string channel = 1 */ channel: string; } /** * @generated from protobuf message replit.goval.api.NixPackageSearchRequest */ export interface NixPackageSearchRequest { /** * @generated from protobuf field: string query = 1 */ query: string; /** * @generated from protobuf field: optional bool filterBuilt = 2 */ filterBuilt?: boolean; } /** * @generated from protobuf message replit.goval.api.NixPackageSearchResponse */ export interface NixPackageSearchResponse { /** * @generated from protobuf field: repeated replit.goval.api.NixPackage packages = 1 */ packages: NixPackage[]; } /** * @generated from protobuf message replit.goval.api.NixPackageInfoRequest */ export interface NixPackageInfoRequest { /** * @generated from protobuf field: string name = 1 */ name: string; } /** * @generated from protobuf message replit.goval.api.NixPackageInfoResponse */ export interface NixPackageInfoResponse { /** * @generated from protobuf field: optional replit.goval.api.NixPackage package = 1 */ package?: NixPackage; } /** * @generated from protobuf message replit.goval.api.StartLSP */ export interface StartLSP { /** * Optionally the language of the language server to start (deprecated), * use languageServerId instead * * @generated from protobuf field: string language = 1 */ language: string; /** * Optionally the ID of the language server option to start * * @generated from protobuf field: string languageServerId = 2 */ languageServerId: string; } /** * @generated from protobuf message replit.goval.api.Audio */ export interface Audio { /** * @generated from protobuf field: repeated int32 data = 1 */ data: number[]; } /** * @generated from protobuf message replit.goval.api.Audio2 */ export interface Audio2 { /** * @generated from protobuf field: repeated sint32 data = 1 */ data: number[]; /** * @generated from protobuf field: int64 samples = 2 */ samples: bigint; } /** * Preconditions that need to be met before an operation starts. If they are * not met, the operation will fail. * * @generated from protobuf message replit.goval.api.Preconditions */ export interface Preconditions { /** * generation/metageneration are the expected generation numbers of the * metadata file in the storage layer. If set, the write will fail if the * generation does not match the expected value. * * @generated from protobuf field: int64 generation = 1 */ generation: bigint; /** * @generated from protobuf field: int64 metageneration = 2 */ metageneration: bigint; /** * doesNotExist requires the file to not exist beforehand. * * @generated from protobuf field: bool doesNotExist = 3 */ doesNotExist: boolean; } /** * @generated from protobuf message replit.goval.api.ReadMetaRequest */ export interface ReadMetaRequest { /** * @generated from protobuf field: string key = 1 */ key: string; /** * @generated from protobuf field: bool exists = 2 */ exists: boolean; /** * @generated from protobuf field: bytes data = 3 */ data: Uint8Array; } /** * @generated from protobuf message replit.goval.api.ReadMetaResponse */ export interface ReadMetaResponse { /** * @generated from protobuf field: string key = 1 */ key: string; /** * @generated from protobuf field: bool exists = 2 */ exists: boolean; /** * @generated from protobuf field: bytes data = 3 */ data: Uint8Array; /** * generation/metageneration are the generation numbers of the metadata file * in the storage layer. Will always be non-zero if exists is true. * * @generated from protobuf field: int64 generation = 4 */ generation: bigint; /** * @generated from protobuf field: int64 metageneration = 5 */ metageneration: bigint; } /** * @generated from protobuf message replit.goval.api.WriteMetaRequest */ export interface WriteMetaRequest { /** * @generated from protobuf field: string key = 1 */ key: string; /** * @generated from protobuf field: bytes data = 2 */ data: Uint8Array; /** * Preconditions that need to be met before the file is written to. * * @generated from protobuf field: replit.goval.api.Preconditions preconditions = 5 */ preconditions?: Preconditions; } /** * @generated from protobuf message replit.goval.api.WriteMetaResponse */ export interface WriteMetaResponse { /** * generation/metageneration are the new generation numbers of the metadata * file in the storage layer after being written to. * * @generated from protobuf field: int64 generation = 1 */ generation: bigint; /** * @generated from protobuf field: int64 metageneration = 2 */ metageneration: bigint; } /** * @generated from protobuf message replit.goval.api.AppendMetaRequest */ export interface AppendMetaRequest { /** * @generated from protobuf field: string key = 1 */ key: string; /** * @generated from protobuf field: bytes data = 2 */ data: Uint8Array; /** * Preconditions that need to be met before the file is appended to. * * @generated from protobuf field: replit.goval.api.Preconditions preconditions = 5 */ preconditions?: Preconditions; } /** * @generated from protobuf message replit.goval.api.AppendMetaResponse */ export interface AppendMetaResponse { /** * generation/metageneration are the new generation numbers of the metadata * file in the storage layer after being written to. * * @generated from protobuf field: int64 generation = 1 */ generation: bigint; /** * @generated from protobuf field: int64 metageneration = 2 */ metageneration: bigint; } /** * BootStatus provides the client with the current step in the boot up * procedure. * * @generated from protobuf message replit.goval.api.BootStatus */ export interface BootStatus { /** * @generated from protobuf field: replit.goval.api.BootStatus.Stage stage = 1 */ stage: BootStatus_Stage; /** * progress/total is context dependant. Most stages have no progress info, * this is sent as 0/0 (the default value). * * @generated from protobuf field: uint32 progress = 2 */ progress: number; /** * @generated from protobuf field: uint32 total = 3 */ total: number; } /** * @generated from protobuf enum replit.goval.api.BootStatus.Stage */ export declare enum BootStatus_Stage { /** * Handshake indicates the handshake was successful: The connection was * upgraded and the token was valid. * * @generated from protobuf enum value: HANDSHAKE = 0; */ HANDSHAKE = 0, /** * Acquiring indicates a new container session is about to be acquired. This * could involve creating a new container or attaching to an existing * container. * * @generated from protobuf enum value: ACQUIRING = 3; */ ACQUIRING = 3, /** * Complete indicates the boot up procedure has completed and the container * is now running. * * @generated from protobuf enum value: COMPLETE = 4; */ COMPLETE = 4, /** * Proxy indicates the connection is being proxied to another conman * instance. This happens when the container for the repl is already running * on a different conman instance. * * @generated from protobuf enum value: PROXY = 5; */ PROXY = 5, /** * Pull files provides progress updates on pulling loose files from GCS. * Files will not be pulled if the repl has a valid filesystem snapshot. * * @generated from protobuf enum value: PULL_FILES = 6; */ PULL_FILES = 6, /** * Load block provides progress updates on downloading the filesystem * snapshot. * * @generated from protobuf enum value: LOAD_BLOCK = 7; */ LOAD_BLOCK = 7, /** * Block migration means that we are in the middle of a filesystem-level * migration that is going to make things better. * * @generated from protobuf enum value: BLOCK_MIGRATION = 9; */ BLOCK_MIGRATION = 9, /** * Retry indicates a retriable error occurred during the boot up procedure * and the boot up is being retried from the beginning. * * @generated from protobuf enum value: RETRY = 8; */ RETRY = 8 } /** * @generated from protobuf message replit.goval.api.Pid1RefreshSecrets */ export interface Pid1RefreshSecrets { } /** * @generated from protobuf message replit.goval.api.Pid1Config */ export interface Pid1Config { /** * @generated from protobuf field: string cwd = 1 */ cwd: string; /** * @generated from protobuf field: string language = 2 */ language: string; /** * @generated from protobuf field: map env = 3 */ env: { [key: string]: string; }; /** * Prevents any operations that would persist to GCS from continuing. * * @generated from protobuf field: bool noStore = 4 */ noStore: boolean; /** * @generated from protobuf field: bool noninteractiveFSChange = 5 */ noninteractiveFSChange: boolean; /** * Pid2Info has metadata about what version of pid2 workspace is requesting. * If this is missing, pid1 _can_ start the `latest` pid2 to prevent the case * during the migration where the person who opened the Repl did not request a * pid2, but the next one did (e.g. SSH sessions). * * @generated from protobuf field: replit.goval.api.repl.Pid2Binary pid2_info = 6 */ pid2Info?: Pid2Binary; } /** * @generated from protobuf message replit.goval.api.FSLock */ export interface FSLock { /** * @generated from protobuf field: string name = 1 */ name: string; } /** * @generated from protobuf message replit.goval.api.FSSnapshot */ export interface FSSnapshot { } /** * @generated from protobuf message replit.goval.api.FSSnapshotEvent */ export interface FSSnapshotEvent { /** * Where the snapshot request came from. Multiple requests can be coalesced, * so an event might be triggered by more than one source. * Each source is one of 'snapshot' or 'fanotify'. * * @generated from protobuf field: repeated string sources = 1 */ sources: string[]; } /** * @generated from protobuf message replit.goval.api.SnapshotEvent */ export interface SnapshotEvent { /** * Where the snapshot request came from. Multiple requests can be coalesced, * so an event might be triggered by more than one source. * Each source is one of 'snapshot' or 'fanotify'. * * @generated from protobuf field: repeated string sources = 1 */ sources: string[]; } /** * @generated from protobuf message replit.goval.api.SubscribeFile */ export interface SubscribeFile { /** * @generated from protobuf field: repeated replit.goval.api.File files = 1 */ files: File[]; } /** * @generated from protobuf message replit.goval.api.FileEvent */ export interface FileEvent { /** * @generated from protobuf field: replit.goval.api.File file = 1 */ file?: File; /** * when the Op is a Move dest is set to the destination of the move. * * @generated from protobuf field: replit.goval.api.File dest = 3 */ dest?: File; /** * @generated from protobuf field: replit.goval.api.FileEvent.Op op = 2 */ op: FileEvent_Op; } /** * @generated from protobuf enum replit.goval.api.FileEvent.Op */ export declare enum FileEvent_Op { /** * @generated from protobuf enum value: Create = 0; */ Create = 0, /** * @generated from protobuf enum value: Move = 1; */ Move = 1, /** * @generated from protobuf enum value: Remove = 2; */ Remove = 2, /** * @generated from protobuf enum value: Modify = 3; */ Modify = 3 } /** * @generated from protobuf message replit.goval.api.Flush */ export interface Flush { /** * @generated from protobuf field: replit.goval.api.Flush.Consistency consistency = 1 */ consistency: Flush_Consistency; } /** * Consistency is what level of consistency the client is willing to wait for. * * @generated from protobuf enum replit.goval.api.Flush.Consistency */ export declare enum Flush_Consistency { /** * DiskAndHistory is the default. The client will wait until after the * write has been confirmed to have reached permanent storage. * * @generated from protobuf enum value: DiskAndHistory = 0; */ DiskAndHistory = 0, /** * Disk is an optimization if the client only cares about the writes * reaching disk. * * @generated from protobuf enum value: Disk = 1; */ Disk = 1, /** * History flushing is used in case of draft buffers where we don't * want to write to disk but we want to make sure the history is flushed. * * @generated from protobuf enum value: History = 2; */ History = 2 } /** * @generated from protobuf message replit.goval.api.OTLinkFile */ export interface OTLinkFile { /** * @generated from protobuf field: replit.goval.api.File file = 1 */ file?: File; /** * @generated from protobuf field: bool highConsistency = 2 */ highConsistency: boolean; /** * The service will now always consider modtime of the file when * comparing history with disk content. * * @deprecated * @generated from protobuf field: bool OBSOLETE_useModTime = 3 [deprecated = true] */ oBSOLETEUseModTime: boolean; } /** * OTLinkFileResponse contains the latest OT * version as well as the linked file, with path and contents populated. * * @generated from protobuf message replit.goval.api.OTLinkFileResponse */ export interface OTLinkFileResponse { /** * @generated from protobuf field: uint32 version = 1 */ version: number; /** * @generated from protobuf field: replit.goval.api.File linkedFile = 2 */ linkedFile?: File; } /** * OTFlushNotification contains information about the last flush * * @generated from protobuf message replit.goval.api.OTFlushNotification */ export interface OTFlushNotification { /** * @generated from protobuf field: uint32 diskVersion = 1 */ diskVersion: number; } /** * @generated from protobuf message replit.goval.api.Auth */ export interface Auth { /** * @generated from protobuf field: string token = 1 */ token: string; /** * @generated from protobuf field: string containerID = 2 */ containerID: string; } /** * @generated from protobuf message replit.goval.api.VCREntry */ export interface VCREntry { /** * @generated from protobuf field: uint64 timestamp = 1 */ timestamp: bigint; /** * @generated from protobuf field: replit.goval.api.VCREntry.Direction direction = 2 */ direction: VCREntry_Direction; /** * @generated from protobuf field: replit.goval.api.Command command = 3 */ command?: Command; /** * @generated from protobuf field: string uid = 4 */ uid: string; /** * @generated from protobuf field: string replid = 5 */ replid: string; } /** * @generated from protobuf enum replit.goval.api.VCREntry.Direction */ export declare enum VCREntry_Direction { /** * @generated from protobuf enum value: IN = 0; */ IN = 0, /** * @generated from protobuf enum value: OUT = 1; */ OUT = 1 } /** * @generated from protobuf message replit.goval.api.ExecInfo */ export interface ExecInfo { /** * @generated from protobuf field: repeated string command = 1 */ command: string[]; /** * @generated from protobuf field: string reason = 2 */ reason: string; } /** * @generated from protobuf message replit.goval.api.Debug */ export interface Debug { /** * @generated from protobuf field: string text = 1 */ text: string; } /** * @generated from protobuf message replit.goval.api.Disconnect */ export interface Disconnect { /** * @generated from protobuf field: string error = 1 */ error: string; } /** * @generated from protobuf message replit.goval.api.Send */ export interface Send { /** * @generated from protobuf field: bytes buff = 1 */ buff: Uint8Array; } /** * @generated from protobuf message replit.goval.api.Recv */ export interface Recv { /** * @generated from protobuf field: bytes buff = 1 */ buff: Uint8Array; } /** * @generated from protobuf message replit.goval.api.Connect */ export interface Connect { /** * @generated from protobuf field: string proto = 1 */ proto: string; /** * @generated from protobuf field: string addr = 2 */ addr: string; } /** * @generated from protobuf message replit.goval.api.Hint */ export interface Hint { /** * @generated from protobuf field: string text = 1 */ text: string; } /** * @generated from protobuf message replit.goval.api.Ping */ export interface Ping { } /** * @generated from protobuf message replit.goval.api.Pong */ export interface Pong { } /** * @generated from protobuf message replit.goval.api.Hello */ export interface Hello { /** * @generated from protobuf field: uint32 userid = 1 */ userid: number; /** * @generated from protobuf field: string username = 2 */ username: string; /** * @generated from protobuf field: string token = 3 */ token: string; } /** * @generated from protobuf message replit.goval.api.Goodbye */ export interface Goodbye { } /** * @generated from protobuf message replit.goval.api.CheckChanges */ export interface CheckChanges { } /** * @generated from protobuf message replit.goval.api.EnsurePackages */ export interface EnsurePackages { /** * @generated from protobuf field: bool install = 1 */ install: boolean; /** * @generated from protobuf field: replit.goval.api.File file = 2 */ file?: File; } /** * @generated from protobuf message replit.goval.api.Start */ export interface Start { } /** * @generated from protobuf message replit.goval.api.DebugStatus */ export interface DebugStatus { /** * @generated from protobuf field: bool done = 1 */ done: boolean; /** * @generated from protobuf field: repeated replit.goval.api.StackFrame stack = 2 */ stack: StackFrame[]; } /** * @generated from protobuf message replit.goval.api.StackFrame */ export interface StackFrame { /** * @generated from protobuf field: string function = 1 */ function: string; /** * @generated from protobuf field: uint32 line = 2 */ line: number; } /** * @generated from protobuf message replit.goval.api.ContainedTest */ export interface ContainedTest { /** * @generated from protobuf field: replit.goval.api.File suite = 1 */ suite?: File; /** * @generated from protobuf field: repeated replit.goval.api.File project = 2 */ project: File[]; } /** * @generated from protobuf message replit.goval.api.TestResult */ export interface TestResult { /** * @generated from protobuf field: bool passed = 1 */ passed: boolean; /** * @generated from protobuf field: string stderr = 2 */ stderr: string; /** * @generated from protobuf field: repeated replit.goval.api.TestFailure fails = 3 */ fails: TestFailure[]; } /** * @generated from protobuf message replit.goval.api.TestFailure */ export interface TestFailure { /** * @generated from protobuf field: string name = 1 */ name: string; /** * @generated from protobuf field: string trace = 2 */ trace: string; } /** * @generated from protobuf message replit.goval.api.ResizeTerm */ export interface ResizeTerm { /** * @generated from protobuf field: uint32 rows = 1 */ rows: number; /** * @generated from protobuf field: uint32 cols = 2 */ cols: number; } /** * @generated from protobuf message replit.goval.api.SaneTerm */ export interface SaneTerm { } /** * @generated from protobuf message replit.goval.api.LintResults */ export interface LintResults { /** * @generated from protobuf field: repeated replit.goval.api.LintResult results = 1 */ results: LintResult[]; } /** * @generated from protobuf message replit.goval.api.LintResult */ export interface LintResult { /** * @generated from protobuf field: string text = 1 */ text: string; /** * @generated from protobuf field: int32 row = 2 */ row: number; /** * @generated from protobuf field: int32 column = 3 */ column: number; /** * @generated from protobuf field: string type = 4 */ type: string; } /** * @generated from protobuf message replit.goval.api.OK */ export interface OK { } /** * @generated from protobuf message replit.goval.api.Move */ export interface Move { /** * @generated from protobuf field: string oldPath = 1 */ oldPath: string; /** * @generated from protobuf field: string newPath = 2 */ newPath: string; } /** * @generated from protobuf message replit.goval.api.Files */ export interface Files { /** * @generated from protobuf field: repeated replit.goval.api.File files = 1 */ files: File[]; } /** * @generated from protobuf message replit.goval.api.StatResult */ export interface StatResult { /** * @generated from protobuf field: bool exists = 1 */ exists: boolean; /** * @generated from protobuf field: replit.goval.api.File.Type type = 2 */ type: File_Type; /** * @generated from protobuf field: int64 size = 3 */ size: bigint; /** * @generated from protobuf field: string fileMode = 4 */ fileMode: string; /** * @generated from protobuf field: int64 modTime = 5 */ modTime: bigint; } /** * @generated from protobuf message replit.goval.api.File */ export interface File { /** * @generated from protobuf field: string path = 1 */ path: string; /** * @generated from protobuf field: replit.goval.api.File.Type type = 2 */ type: File_Type; /** * @generated from protobuf field: bytes content = 3 */ content: Uint8Array; } /** * @generated from protobuf enum replit.goval.api.File.Type */ export declare enum File_Type { /** * @generated from protobuf enum value: REGULAR = 0; */ REGULAR = 0, /** * @generated from protobuf enum value: DIRECTORY = 1; */ DIRECTORY = 1 } /** * Transfer represents an active file transfer. * * @generated from protobuf message replit.goval.api.Transfer */ export interface Transfer { /** * The opaque id the server assigned to this transfer. Should be used by the * client for every call that refers to this transfer. * * @generated from protobuf field: string id = 1 */ id: string; } /** * TransferStart is used to initiate a new file transfer. The server is supposed * to reply to this message with a Transfer, that contains the id to refer to * it. Transfers are used to send large files to the server, the client can * split content into chunks and send them one-by-one. * * @generated from protobuf message replit.goval.api.TransferStart */ export interface TransferStart { /** * Relative location for the destination file (same as File.path). * * @generated from protobuf field: string path = 1 */ path: string; /** * The expected file size of the file. The server can refuse to initiate * the transfer if the file size is too large. * * @generated from protobuf field: int64 size = 2 */ size: bigint; } /** * TransferChunk is used by client to send a chunk of a file. The content will * be appended to the end of the current buffer file. The server can refuse a * chunk if it would result in a file larger than initially expected. * * @generated from protobuf message replit.goval.api.TransferChunk */ export interface TransferChunk { /** * The opaque id the server assigned to this transfer * * @generated from protobuf field: string id = 1 */ id: string; /** * The content to append. * * @generated from protobuf field: bytes content = 2 */ content: Uint8Array; } /** * TransferComplete is used by client to indicate that it's done sending the * file and the server is supposed to finalize the transfer: atomically create a * new file in the `path` specified earlier. The client needs to specify the * checksum, the server will abort the transfer if the checksum doesn't match, * or if the total file size is different from the specified via TransferStart. * * @generated from protobuf message replit.goval.api.TransferComplete */ export interface TransferComplete { /** * The opaque id the server assigned to this transfer. * * @generated from protobuf field: string id = 1 */ id: string; /** * CRC-32-IEEE checksum of the whole file content. * * @generated from protobuf field: uint32 crc32 = 2 */ crc32: number; } /** * @generated from protobuf message replit.goval.api.Clear */ export interface Clear { } /** * @generated from protobuf message replit.goval.api.Toast */ export interface Toast { /** * @generated from protobuf field: string text = 1 */ text: string; } /** * @generated from protobuf message replit.goval.api.ProtocolError */ export interface ProtocolError { /** * @generated from protobuf field: string text = 1 */ text: string; } /** * Redirect indicates that a client should attempt to connect through another * URL. This is needed since most browser WebSockets implementations do not * support following standard HTTP redirects. * * @generated from protobuf message replit.goval.api.Redirect */ export interface Redirect { /** * The URL to try again. If empty, the negotiation to figure out the URL for * a repl needs to start from scratch. * * @generated from protobuf field: string url = 1 */ url: string; } /** * @generated from protobuf message replit.goval.api.RunMain */ export interface RunMain { /** * @generated from protobuf field: replit.goval.api.RunMain.RunMode runMode = 1 */ runMode: RunMain_RunMode; /** * idempotent tells pid1 to not kill + reopen the project if it's already * running. * * @generated from protobuf field: bool idempotent = 2 */ idempotent: boolean; /** * the path of the file to run * * @generated from protobuf field: string filePath = 3 */ filePath: string; /** * the ID of the runner option to use to start the runner * * @generated from protobuf field: string runnerId = 4 */ runnerId: string; /** * Set to true if this request is coming from the hosting subsystem * * @generated from protobuf field: bool fromHosting = 5 */ fromHosting: boolean; /** * ID of this specific run, used for cgroup-ing processes spawned, and * being able to match results with specific output blocks in the UI * * @generated from protobuf field: string runID = 6 */ runID: string; /** * This is a temporary workaround to how we proxy from the output * service to the run2 and interp3 service. We need to know the client * session to set REPLIT_SESSION for git in the shell multiplayer. * Once we move to pid2 river, we'll do this in a more principled way. * * @generated from protobuf field: int32 clientSession = 7 */ clientSession: number; } /** * How to run the application. * * @generated from protobuf enum replit.goval.api.RunMain.RunMode */ export declare enum RunMain_RunMode { /** * Run the application normally. * * @generated from protobuf enum value: RUN = 0; */ RUN = 0, /** * Deprecated * * @generated from protobuf enum value: RECORD = 1; */ RECORD = 1 } /** * @generated from protobuf message replit.goval.api.OpenChannel */ export interface OpenChannel { /** * @generated from protobuf field: string service = 1 */ service: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: replit.goval.api.OpenChannel.Action action = 3 */ action: OpenChannel_Action; /** * @generated from protobuf field: int32 id = 4 */ id: number; } /** * @generated from protobuf enum replit.goval.api.OpenChannel.Action */ export declare enum OpenChannel_Action { /** * @generated from protobuf enum value: CREATE = 0; */ CREATE = 0, /** * @generated from protobuf enum value: ATTACH = 1; */ ATTACH = 1, /** * @generated from protobuf enum value: ATTACH_OR_CREATE = 2; */ ATTACH_OR_CREATE = 2 } /** * @generated from protobuf message replit.goval.api.OpenChannelRes */ export interface OpenChannelRes { /** * @generated from protobuf field: int32 id = 1 */ id: number; /** * @generated from protobuf field: replit.goval.api.OpenChannelRes.State state = 2 */ state: OpenChannelRes_State; /** * @generated from protobuf field: string error = 3 */ error: string; } /** * @generated from protobuf enum replit.goval.api.OpenChannelRes.State */ export declare enum OpenChannelRes_State { /** * @generated from protobuf enum value: CREATED = 0; */ CREATED = 0, /** * @generated from protobuf enum value: ATTACHED = 1; */ ATTACHED = 1, /** * @generated from protobuf enum value: ERROR = 2; */ ERROR = 2 } /** * @generated from protobuf message replit.goval.api.CloseChannel */ export interface CloseChannel { /** * @generated from protobuf field: int32 id = 1 */ id: number; /** * @generated from protobuf field: replit.goval.api.CloseChannel.Action action = 2 */ action: CloseChannel_Action; } /** * @generated from protobuf enum replit.goval.api.CloseChannel.Action */ export declare enum CloseChannel_Action { /** * @generated from protobuf enum value: DISCONNECT = 0; */ DISCONNECT = 0, /** * @generated from protobuf enum value: TRY_CLOSE = 1; */ TRY_CLOSE = 1, /** * @generated from protobuf enum value: CLOSE = 2; */ CLOSE = 2 } /** * @generated from protobuf message replit.goval.api.CloseChannelRes */ export interface CloseChannelRes { /** * @generated from protobuf field: int32 id = 1 */ id: number; /** * @generated from protobuf field: replit.goval.api.CloseChannelRes.Status status = 2 */ status: CloseChannelRes_Status; } /** * @generated from protobuf enum replit.goval.api.CloseChannelRes.Status */ export declare enum CloseChannelRes_Status { /** * @generated from protobuf enum value: DISCONNECT = 0; */ DISCONNECT = 0, /** * @generated from protobuf enum value: CLOSE = 1; */ CLOSE = 1, /** * @generated from protobuf enum value: NOTHING = 2; */ NOTHING = 2 } /** * @generated from protobuf message replit.goval.api.ContainerState */ export interface ContainerState { /** * @generated from protobuf field: replit.goval.api.ContainerState.State state = 1 */ state: ContainerState_State; } /** * @generated from protobuf enum replit.goval.api.ContainerState.State */ export declare enum ContainerState_State { /** * @generated from protobuf enum value: SLEEP = 0; */ SLEEP = 0, /** * @generated from protobuf enum value: READY = 1; */ READY = 1 } /** * @generated from protobuf message replit.goval.api.PortOpen */ export interface PortOpen { /** * @generated from protobuf field: bool forwarded = 1 */ forwarded: boolean; /** * @generated from protobuf field: uint32 port = 2 */ port: number; /** * @generated from protobuf field: string address = 3 */ address: string; /** * @generated from protobuf field: uint32 external_port = 4 */ externalPort: number; /** * Comm is the name chosen by the thread / process. Sometimes it has nice * information to disambiguate between multiple instances of that process. * * @generated from protobuf field: string comm = 5 */ comm: string; /** * Cmdline is the commandline arguments provided when the process started. * * @generated from protobuf field: repeated string cmdline = 6 */ cmdline: string[]; /** * Cgroup is the cgroup of the process, as reported by `/proc/${pid}/cgroup` * * @generated from protobuf field: string cgroup = 8 */ cgroup: string; /** * @generated from protobuf field: uint32 pid = 7 */ pid: number; /** * PidChain is the list of process ids in the hierarchy of the process, * starting with the current process id and ending with 1 (pid1). * * @generated from protobuf field: repeated uint32 pid_chain = 9 */ pidChain: number[]; } /** * @generated from protobuf message replit.goval.api.PortClose */ export interface PortClose { /** * @generated from protobuf field: uint32 port = 2 */ port: number; /** * @generated from protobuf field: string address = 3 */ address: string; /** * @generated from protobuf field: uint32 external_port = 4 */ externalPort: number; } /** * @generated from protobuf message replit.goval.api.OTFetchRequest */ export interface OTFetchRequest { /** * @generated from protobuf field: uint32 versionFrom = 1 */ versionFrom: number; /** * @generated from protobuf field: uint32 versionTo = 2 */ versionTo: number; } /** * @generated from protobuf message replit.goval.api.OTFetchResponse */ export interface OTFetchResponse { /** * @generated from protobuf field: repeated replit.goval.api.OTPacket packets = 1 */ packets: OTPacket[]; } /** * OTTransformSelectionRequest asks the OT Service to transform a selection * (represented by a start and end index) from one version to another by * applying OT ops. * * @generated from protobuf message replit.goval.api.OTTransformSelectionRequest */ export interface OTTransformSelectionRequest { /** * @generated from protobuf field: uint32 indexStart = 1 */ indexStart: number; /** * @generated from protobuf field: uint32 indexEnd = 2 */ indexEnd: number; /** * @generated from protobuf field: uint32 versionFrom = 3 */ versionFrom: number; /** * @generated from protobuf field: uint32 versionTo = 4 */ versionTo: number; } /** * When the OT Service successfully transforms a selection, the resulting * indexStart, indexEnd pair is returned * * @generated from protobuf message replit.goval.api.OTTransformSelectionResponse */ export interface OTTransformSelectionResponse { /** * selection * * @generated from protobuf field: uint32 indexStart = 1 */ indexStart: number; /** * @generated from protobuf field: uint32 indexEnd = 2 */ indexEnd: number; /** * version * * @generated from protobuf field: uint32 version = 3 */ version: number; } /** * @generated from protobuf message replit.goval.api.OTPacket */ export interface OTPacket { /** * so here's the deal. Once upon a time `spookyVersion` was `version` and * things worked okay. Then one day someone came along and decided our * handling of version 0 was all kinds of messed up. Sending a version that * already existed never transformed the packet by that particular version. It * was as if `version` was treated as `version + 1`. This could not stand and * thus the great rift of versions was created. `version` does the right thing * and `spookyVersion` maintains backwards compatibility. * * @generated from protobuf field: uint32 spookyVersion = 1 */ spookyVersion: number; /** * @generated from protobuf field: uint32 version = 5 */ version: number; /** * @generated from protobuf field: repeated replit.goval.api.OTOpComponent op = 2 */ op: OTOpComponent[]; /** * @generated from protobuf field: uint32 crc32 = 3 */ crc32: number; /** * @generated from protobuf field: google.protobuf.Timestamp committed = 4 */ committed?: Timestamp; /** * @generated from protobuf field: uint32 nonce = 6 */ nonce: number; /** * userId identifies the user that committed (and most likely authored) this * OTPacket. * * @generated from protobuf field: uint32 userId = 7 */ userId: number; /** * @generated from protobuf field: replit.goval.api.OTPacket.Author author = 8 */ author: OTPacket_Author; } /** * In most cases, the user authored and committed the code. But there are * some tools that can author code and want to give attribution to them. * * @generated from protobuf enum replit.goval.api.OTPacket.Author */ export declare enum OTPacket_Author { /** * USER is the default. An actual user (identified by userId, most likely a * human being, or a machine pretending to be one) authored this code. * All other authors are definitely machines. * * @generated from protobuf enum value: USER = 0; */ USER = 0, /** * GHOSTWRITER means that GhostWriter authored the code and the user * accepted it. * * @generated from protobuf enum value: GHOSTWRITER = 1; */ GHOSTWRITER = 1 } /** * @generated from protobuf message replit.goval.api.OTOpComponent */ export interface OTOpComponent { /** * @generated from protobuf oneof: opComponent */ opComponent: { oneofKind: "skip"; /** * @generated from protobuf field: uint32 skip = 1 */ skip: number; } | { oneofKind: "delete"; /** * @generated from protobuf field: uint32 delete = 2 */ delete: number; } | { oneofKind: "insert"; /** * @generated from protobuf field: string insert = 3 */ insert: string; } | { oneofKind: undefined; }; } /** * @generated from protobuf message replit.goval.api.OTStatus */ export interface OTStatus { /** * @generated from protobuf field: string contents = 1 */ contents: string; /** * @generated from protobuf field: uint32 version = 2 */ version: number; /** * @generated from protobuf field: replit.goval.api.File linkedFile = 3 */ linkedFile?: File; /** * @generated from protobuf field: repeated replit.goval.api.OTCursor cursors = 4 */ cursors: OTCursor[]; } /** * @generated from protobuf message replit.goval.api.OTCursor */ export interface OTCursor { /** * @generated from protobuf field: uint32 position = 1 */ position: number; /** * @generated from protobuf field: uint32 selectionStart = 2 */ selectionStart: number; /** * @generated from protobuf field: uint32 selectionEnd = 3 */ selectionEnd: number; /** * @generated from protobuf field: replit.goval.api.User user = 4 */ user?: User; /** * @generated from protobuf field: string id = 5 */ id: string; } /** * @generated from protobuf message replit.goval.api.ChatMessage */ export interface ChatMessage { /** * @generated from protobuf field: string username = 1 */ username: string; /** * @generated from protobuf field: string text = 2 */ text: string; } /** * @generated from protobuf message replit.goval.api.ChatTyping */ export interface ChatTyping { /** * @generated from protobuf field: string username = 1 */ username: string; /** * @generated from protobuf field: bool typing = 2 */ typing: boolean; } /** * A user connected to a multiplayer session * * @generated from protobuf message replit.goval.api.User */ export interface User { /** * @generated from protobuf field: uint32 id = 1 */ id: number; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: repeated string roles = 3 */ roles: string[]; /** * @generated from protobuf field: int32 session = 4 */ session: number; /** * @generated from protobuf field: repeated string teams = 5 */ teams: string[]; /** * @generated from protobuf field: string bio = 6 */ bio: string; /** * @generated from protobuf field: string url = 7 */ url: string; /** * @generated from protobuf field: string profileImage = 8 */ profileImage: string; } /** * When the presence channel is created, a roster will be * sent to the channel with the current list of * connected users and their active files * * @generated from protobuf message replit.goval.api.Roster */ export interface Roster { /** * @generated from protobuf field: repeated replit.goval.api.User user = 1 */ user: User[]; /** * @generated from protobuf field: repeated replit.goval.api.FileOpened files = 2 */ files: FileOpened[]; } /** * OpenFile can be sent to notify other connected * clients that the user has switched files * * @generated from protobuf message replit.goval.api.OpenFile */ export interface OpenFile { /** * @generated from protobuf field: string file = 1 */ file: string; } /** * FileOpened is sent by pid1 to the client any time * another connected user sends the OpenFile message * * @generated from protobuf message replit.goval.api.FileOpened */ export interface FileOpened { /** * @generated from protobuf field: uint32 userId = 1 */ userId: number; /** * @generated from protobuf field: string file = 2 */ file: string; /** * @generated from protobuf field: int32 session = 3 */ session: number; /** * @generated from protobuf field: google.protobuf.Timestamp timestamp = 4 */ timestamp?: Timestamp; } /** * ReplspaceApiOpenFile is a request made by the Replspace API * to open a file. * * @generated from protobuf message replit.goval.api.ReplspaceApiOpenFile */ export interface ReplspaceApiOpenFile { /** * @generated from protobuf field: string file = 1 */ file: string; /** * @generated from protobuf field: bool waitForClose = 2 */ waitForClose: boolean; /** * @generated from protobuf field: string nonce = 3 */ nonce: string; } /** * ReplspaceApiCloseFile is a request made workspace to inform * the Replspace API that a file was closed. * * @generated from protobuf message replit.goval.api.ReplspaceApiCloseFile */ export interface ReplspaceApiCloseFile { /** * @generated from protobuf field: string file = 1 */ file: string; /** * @generated from protobuf field: string nonce = 2 */ nonce: string; } /** * ReplspaceApiGetGitHubToken asks Workspace for a GitHub token * * @generated from protobuf message replit.goval.api.ReplspaceApiGetGitHubToken */ export interface ReplspaceApiGetGitHubToken { /** * @generated from protobuf field: string nonce = 1 */ nonce: string; } /** * ReplspaceApiGitHubToken is Workspace sending a GitHub token * * @generated from protobuf message replit.goval.api.ReplspaceApiGitHubToken */ export interface ReplspaceApiGitHubToken { /** * @generated from protobuf field: string nonce = 1 */ nonce: string; /** * @generated from protobuf field: string token = 2 */ token: string; } /** * ReplspaceApiGetBitbucketToken asks Workspace for a Bitbucket token * * @generated from protobuf message replit.goval.api.ReplspaceApiGetBitbucketToken */ export interface ReplspaceApiGetBitbucketToken { /** * @generated from protobuf field: string nonce = 1 */ nonce: string; } /** * ReplspaceApiBitbucketToken is Workspace sending a Bitbucket token * * @generated from protobuf message replit.goval.api.ReplspaceApiBitbucketToken */ export interface ReplspaceApiBitbucketToken { /** * @generated from protobuf field: string nonce = 1 */ nonce: string; /** * @generated from protobuf field: string token = 2 */ token: string; } /** * ReplspaceApiOpenMultipleFile is a request made by the Replspace API * to open multiple files/urls at once. * * @generated from protobuf message replit.goval.api.ReplspaceApiOpenMultipleFiles */ export interface ReplspaceApiOpenMultipleFiles { /** * @generated from protobuf field: repeated string files = 1 */ files: string[]; /** * @generated from protobuf field: repeated string urls = 2 */ urls: string[]; } /** * @generated from protobuf message replit.goval.api.ReplspaceApiShellTracker */ export interface ReplspaceApiShellTracker { /** * @generated from protobuf field: string cmd = 1 */ cmd: string; /** * @generated from protobuf field: string pwd = 2 */ pwd: string; } /** * PaneMetricsTracker is an event that can be sent by the workspace when a new * pane is opened. * This is to track uptake on users following nudges to the associated panes. * * @generated from protobuf message replit.goval.api.PaneMetricsTracker */ export interface PaneMetricsTracker { /** * @generated from protobuf field: string pane = 1 */ pane: string; /** * @generated from protobuf field: string flow = 2 */ flow: string; } /** * Focused is the Workspace telling the container that it just got focus. * * @generated from protobuf message replit.goval.api.Focused */ export interface Focused { } /** * Updates the timestamp on the current session * which indicates that this is the user's most recent, * and therefore active, session. * * @generated from protobuf message replit.goval.api.UpdateSessionTimestamp */ export interface UpdateSessionTimestamp { } /** * Indicates that another user's session timestamp has been updated * which implies that it is that user's active session. * Every client will receive this message from pid1 even if they're * not following a user so that their local store is always up to date. * * @generated from protobuf message replit.goval.api.SessionTimestampUpdated */ export interface SessionTimestampUpdated { /** * @generated from protobuf field: int32 session = 1 */ session: number; /** * @generated from protobuf field: google.protobuf.Timestamp timestamp = 2 */ timestamp?: Timestamp; } /** * Notify a user that their cursor is being followed. * * @generated from protobuf message replit.goval.api.FollowUser */ export interface FollowUser { /** * @generated from protobuf field: int32 session = 1 */ session: number; } /** * Notify a user that their cursor is being unfollowed. * * @generated from protobuf message replit.goval.api.UnfollowUser */ export interface UnfollowUser { /** * @generated from protobuf field: int32 session = 1 */ session: number; } /** * @generated from protobuf message replit.goval.api.Exec */ export interface Exec { /** * @generated from protobuf field: repeated string args = 1 */ args: string[]; /** * @generated from protobuf field: map env = 2 */ env: { [key: string]: string; }; /** * Blocking is deprecated. Prefer to use lifecycle = BLOCKING instead. * * @deprecated * @generated from protobuf field: bool blocking = 3 [deprecated = true] */ blocking: boolean; /** * @generated from protobuf field: replit.goval.api.Exec.Lifecycle lifecycle = 6 */ lifecycle: Exec_Lifecycle; /** * splitStderr can be set to true in order to send stderr as separate * messages. Note that there is no synchronization between stdout and stderr. * * @generated from protobuf field: bool splitStderr = 4 */ splitStderr: boolean; /** * splitLogs can be set to true if the underlying program will log * JSON-formatted logs to the file descriptor pointed to by the `LOG_FD` * environment variable available to the child process. These logs will be * send through separate messages. * * @generated from protobuf field: bool splitLogs = 5 */ splitLogs: boolean; /** * if true the exec service will run the command without any user * configuration: no nix modules, no .replit env, no replit.nix, no secrets, * etc * * @generated from protobuf field: bool noUserEnv = 7 */ noUserEnv: boolean; } /** * @generated from protobuf enum replit.goval.api.Exec.Lifecycle */ export declare enum Exec_Lifecycle { /** * NON_BLOCKING is the default. This lets the process run in the background. * * @generated from protobuf enum value: NON_BLOCKING = 0; */ NON_BLOCKING = 0, /** * BLOCKING starts and waits until the process has finished executing. * * @generated from protobuf enum value: BLOCKING = 1; */ BLOCKING = 1, /** * STDIN starts the process in the background and opens a pipe to stdin. * TODO: Add an explicit message to be able to close the stdin. * * @generated from protobuf enum value: STDIN = 2; */ STDIN = 2 } /** * @generated from protobuf message replit.goval.api.Package */ export interface Package { /** * Used always. * * @generated from protobuf field: string name = 1 */ name: string; /** * Used only for add and remove. * * @generated from protobuf field: string spec = 2 */ spec: string; /** * Used only for search and info. * * @generated from protobuf field: string description = 10 */ description: string; /** * @generated from protobuf field: string version = 11 */ version: string; /** * @generated from protobuf field: string homepageURL = 12 */ homepageURL: string; /** * @generated from protobuf field: string documentationURL = 13 */ documentationURL: string; /** * @generated from protobuf field: string sourceCodeURL = 14 */ sourceCodeURL: string; /** * @generated from protobuf field: string bugTrackerURL = 15 */ bugTrackerURL: string; /** * @generated from protobuf field: string author = 16 */ author: string; /** * @generated from protobuf field: string license = 17 */ license: string; /** * @generated from protobuf field: repeated replit.goval.api.Package dependencies = 18 */ dependencies: Package[]; } /** * @generated from protobuf message replit.goval.api.PackageSetPackagerRequest */ export interface PackageSetPackagerRequest { /** * @generated from protobuf field: string packagerId = 1 */ packagerId: string; } /** * @generated from protobuf message replit.goval.api.PackageSetPackagerResponse */ export interface PackageSetPackagerResponse { /** * @generated from protobuf field: string packagerId = 1 */ packagerId: string; } /** * @generated from protobuf message replit.goval.api.PackageSearch */ export interface PackageSearch { /** * @generated from protobuf field: string query = 1 */ query: string; } /** * @generated from protobuf message replit.goval.api.PackageSearchResp */ export interface PackageSearchResp { /** * @generated from protobuf field: repeated replit.goval.api.Package results = 1 */ results: Package[]; } /** * @generated from protobuf message replit.goval.api.PackageInfo */ export interface PackageInfo { /** * @generated from protobuf field: replit.goval.api.Package pkg = 1 */ pkg?: Package; } /** * @generated from protobuf message replit.goval.api.PackageInfoResp */ export interface PackageInfoResp { /** * @generated from protobuf field: replit.goval.api.Package pkg = 1 */ pkg?: Package; } /** * @generated from protobuf message replit.goval.api.PackageAdd */ export interface PackageAdd { /** * @generated from protobuf field: repeated replit.goval.api.Package pkgs = 1 */ pkgs: Package[]; /** * If this is true then the client expects a PackageAddResponse as a * response instead of a simple ok for success * * @generated from protobuf field: bool useNewResponse = 2 */ useNewResponse: boolean; } /** * @generated from protobuf message replit.goval.api.PackageAddResponse */ export interface PackageAddResponse { /** * @generated from protobuf field: bool installedSystemDependencies = 1 */ installedSystemDependencies: boolean; } /** * @generated from protobuf message replit.goval.api.PackageRemove */ export interface PackageRemove { /** * @generated from protobuf field: repeated replit.goval.api.Package pkgs = 1 */ pkgs: Package[]; } /** * @generated from protobuf message replit.goval.api.PackageInstall */ export interface PackageInstall { /** * Set to true if this request is coming from the hosting subsystem. * * @generated from protobuf field: bool fromHosting = 1 */ fromHosting: boolean; /** * Set to true if this request shouldn't attempt to guess uninstalled * packages. * * @generated from protobuf field: bool disableGuess = 2 */ disableGuess: boolean; /** * If this is true then the client expects a PackageInstallResponse as a * response instead of a simple ok for success * * @generated from protobuf field: bool useNewResponse = 99 */ useNewResponse: boolean; } /** * @generated from protobuf message replit.goval.api.PackageInstallResponse */ export interface PackageInstallResponse { /** * @generated from protobuf field: repeated string guessedPkgs = 1 */ guessedPkgs: string[]; /** * @generated from protobuf field: int64 upmGuessDurationMs = 2 */ upmGuessDurationMs: bigint; /** * @generated from protobuf field: int64 upmAddDurationMs = 3 */ upmAddDurationMs: bigint; /** * @generated from protobuf field: int64 upmLockDurationMs = 4 */ upmLockDurationMs: bigint; /** * @generated from protobuf field: int64 totalDurationMs = 5 */ totalDurationMs: bigint; /** * @generated from protobuf field: bool installedSystemDependencies = 6 */ installedSystemDependencies: boolean; } /** * @generated from protobuf message replit.goval.api.PackageListSpecfile */ export interface PackageListSpecfile { } /** * @generated from protobuf message replit.goval.api.PackageListSpecfileResp */ export interface PackageListSpecfileResp { /** * @generated from protobuf field: repeated replit.goval.api.Package pkgs = 1 */ pkgs: Package[]; } /** * @generated from protobuf message replit.goval.api.PackageCacheSave */ export interface PackageCacheSave { } /** * @generated from protobuf message replit.goval.api.ChatScrollback */ export interface ChatScrollback { /** * @generated from protobuf field: repeated replit.goval.api.ChatMessage scrollback = 1 */ scrollback: ChatMessage[]; } /** * @generated from protobuf message replit.goval.api.Metrics */ export interface Metrics { /** * @generated from protobuf field: repeated bytes prometheusMetricFamilies = 1 */ prometheusMetricFamilies: Uint8Array[]; } /** * @generated from protobuf message replit.goval.api.PprofRequest */ export interface PprofRequest { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf oneof: body */ body: { oneofKind: "pprofCpuProfileRequest"; /** * @generated from protobuf field: replit.goval.api.PprofCpuProfileRequest pprofCpuProfileRequest = 2 */ pprofCpuProfileRequest: PprofCpuProfileRequest; } | { oneofKind: "pprofHeapProfileRequest"; /** * @generated from protobuf field: replit.goval.api.PprofHeapProfileRequest pprofHeapProfileRequest = 3 */ pprofHeapProfileRequest: PprofHeapProfileRequest; } | { oneofKind: "pprofAllocsProfileRequest"; /** * @generated from protobuf field: replit.goval.api.PprofAllocsProfileRequest pprofAllocsProfileRequest = 4 */ pprofAllocsProfileRequest: PprofAllocsProfileRequest; } | { oneofKind: "pprofBlockProfileRequest"; /** * @generated from protobuf field: replit.goval.api.PprofBlockProfileRequest pprofBlockProfileRequest = 5 */ pprofBlockProfileRequest: PprofBlockProfileRequest; } | { oneofKind: "pprofMutexProfileRequest"; /** * @generated from protobuf field: replit.goval.api.PprofMutexProfileRequest pprofMutexProfileRequest = 6 */ pprofMutexProfileRequest: PprofMutexProfileRequest; } | { oneofKind: undefined; }; } /** * @generated from protobuf message replit.goval.api.PprofAllocsProfileRequest */ export interface PprofAllocsProfileRequest { /** * @generated from protobuf field: bool debug = 1 */ debug: boolean; } /** * @generated from protobuf message replit.goval.api.PprofBlockProfileRequest */ export interface PprofBlockProfileRequest { /** * @generated from protobuf field: bool debug = 1 */ debug: boolean; } /** * @generated from protobuf message replit.goval.api.PprofCpuProfileRequest */ export interface PprofCpuProfileRequest { /** * @generated from protobuf field: int64 seconds = 1 */ seconds: bigint; } /** * @generated from protobuf message replit.goval.api.PprofHeapProfileRequest */ export interface PprofHeapProfileRequest { /** * @generated from protobuf field: bool gc = 1 */ gc: boolean; /** * @generated from protobuf field: bool debug = 2 */ debug: boolean; } /** * @generated from protobuf message replit.goval.api.PprofMutexProfileRequest */ export interface PprofMutexProfileRequest { /** * @generated from protobuf field: bool debug = 1 */ debug: boolean; } /** * @generated from protobuf message replit.goval.api.PprofResponse */ export interface PprofResponse { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: bytes profile = 2 */ profile: Uint8Array; } /** * Message used to configure PTY * * @generated from protobuf message replit.goval.api.PTYConfig */ export interface PTYConfig { /** * Whether "PipeMode" should be enabled or not * PipeMode is the equivelent of stty raw icrnl isig -echo. * This is designed for comparing and output - the output * should be as close as possible to its original state. * * @generated from protobuf field: bool pipeMode = 1 */ pipeMode: boolean; } /** * The message used to request to start a new debug session with the main * program (i.e. the same one that would be run with the Run button) as * debuggee. * * @generated from protobuf message replit.goval.api.DebugMain */ export interface DebugMain { /** * The user-chosen session name. This same session must be provided in all * other debugger-related messages. By convention, the "main" session is the * default one. * * @generated from protobuf field: string session = 1 */ session: string; /** * Whether this session is read-only. Those sessions won't be able to change * the execution state (play, pause, change breakpoints, etc.). * * @generated from protobuf field: bool readOnly = 2 */ readOnly: boolean; /** * the path of the file to debug * * @generated from protobuf field: string filePath = 3 */ filePath: string; /** * the ID of the debugger option to use to start the debugger * * @generated from protobuf field: string debuggerId = 4 */ debuggerId: string; } /** * The reply message of DebugMain. * * @generated from protobuf message replit.goval.api.DebugMainReply */ export interface DebugMainReply { /** * If the DebugMain request was the first one for the session, joined will be * false. Otherwise, joined will be true. The protocol may also have enough * hints to convey this. * * @generated from protobuf field: bool joined = 1 */ joined: boolean; /** * The protocol that the adapter is using. * * @generated from protobuf field: replit.goval.api.DebugMainReply.Protocol protocol = 2 */ protocol: DebugMainReply_Protocol; } /** * @generated from protobuf enum replit.goval.api.DebugMainReply.Protocol */ export declare enum DebugMainReply_Protocol { /** * The adapter speaks the Debug Adapter Protocol: * https://microsoft.github.io/debug-adapter-protocol/ * * @generated from protobuf enum value: DAP = 0; */ DAP = 0 } /** * The state of a debug session. This is sent before the reply to DebugMain is * sent, as well as whenever the adapter exits. * * @generated from protobuf message replit.goval.api.DebugState */ export interface DebugState { /** * @generated from protobuf field: string session = 1 */ session: string; /** * @generated from protobuf field: replit.goval.api.State state = 2 */ state: State; } /** * The message used to write to the debuggee or the adapter. * * @generated from protobuf message replit.goval.api.DebugInput */ export interface DebugInput { /** * @generated from protobuf field: string session = 1 */ session: string; /** * @generated from protobuf oneof: stream */ stream: { oneofKind: "input"; /** * The UTF-8 encoded input for the debuggee. * * @generated from protobuf field: string input = 2 */ input: string; } | { oneofKind: "adapterInput"; /** * The UTF-8 encoded input for the adapter, using the protocol described by * DebugMainReply. * * @generated from protobuf field: string adapterInput = 3 */ adapterInput: string; } | { oneofKind: undefined; }; } /** * The message used to read from the debuggee or the adapter. * * @generated from protobuf message replit.goval.api.DebugOutput */ export interface DebugOutput { /** * @generated from protobuf field: string session = 1 */ session: string; /** * @generated from protobuf oneof: stream */ stream: { oneofKind: "output"; /** * The UTF-8 encoded output from the debuggee. * * @generated from protobuf field: string output = 2 */ output: string; } | { oneofKind: "adapterOutput"; /** * The UTF-8 encoded output from the adapter, using the protocol described * by DebugMainReply. * * @generated from protobuf field: string adapterOutput = 3 */ adapterOutput: string; } | { oneofKind: undefined; }; } /** * The message used to request the adapter and debuggee to stop. This is needed * because debuggers/adapters can be put in a state where they are not able to * receive requests to stop at the protocol level and need to be forcefully * stopped. * * The implementation will first try to gracefully terminate the session by * sending an appropriate protocol message, and then send a SIGKILL signal to * both the debuggee and the adapter if they don't exit within a certain time * limit. * * @generated from protobuf message replit.goval.api.DebugStop */ export interface DebugStop { /** * @generated from protobuf field: string session = 1 */ session: string; } /** * The message used to request to stop receiving notifications for a debugger * session. This can be used to "close" a debugger session without needing to * close the whole crosis session. * * @generated from protobuf message replit.goval.api.DebugLeave */ export interface DebugLeave { /** * @generated from protobuf field: string session = 1 */ session: string; } /** * The message sent by the server to signal the current list of sessions. This * is also sent upon the creation of the debugger channel, as well as every * time a new session is created or terminated. * * @generated from protobuf message replit.goval.api.DebugSessions */ export interface DebugSessions { /** * @generated from protobuf field: map sessions = 1 */ sessions: { [key: string]: State; }; } /** * The message used to request to get the contents of the `.replit` file. * * @generated from protobuf message replit.goval.api.DotReplitGetRequest */ export interface DotReplitGetRequest { } /** * The message sent by the server with the contents of the `.replit` file. * * @generated from protobuf message replit.goval.api.DotReplitGetResponse */ export interface DotReplitGetResponse { /** * @generated from protobuf field: replit.goval.api.DotReplit dotReplit = 1 */ dotReplit?: DotReplit; } /** * The message used to request run configuration * * @generated from protobuf message replit.goval.api.RunConfigGetRequest */ export interface RunConfigGetRequest { } /** * The message sent by the server with the run configuration * * @generated from protobuf message replit.goval.api.RunConfigGetResponse */ export interface RunConfigGetResponse { /** * @generated from protobuf oneof: config */ config: { oneofKind: "interp"; /** * @generated from protobuf field: replit.goval.api.DotReplitInterp interp = 1 */ interp: DotReplitInterp; } | { oneofKind: "run"; /** * @generated from protobuf field: replit.goval.api.RunConfigGetResponse.Run run = 2 */ run: RunConfigGetResponse_Run; } | { oneofKind: undefined; }; } /** * @generated from protobuf message replit.goval.api.RunConfigGetResponse.Run */ export interface RunConfigGetResponse_Run { /** * can be in empty * * @generated from protobuf field: replit.goval.api.Exec compile = 1 */ compile?: Exec; /** * @generated from protobuf field: replit.goval.api.Exec run = 2 */ run?: Exec; } /** * @generated from protobuf message replit.goval.api.DotReplitUpdateOp */ export interface DotReplitUpdateOp { /** * @generated from protobuf field: string op = 1 */ op: string; /** * @generated from protobuf field: string path = 2 */ path: string; /** * @generated from protobuf field: string value = 3 */ value: string; } /** * DotReplitUpdateRequest are modelled after these: * https://datatracker.ietf.org/doc/html/rfc6902 * * @generated from protobuf message replit.goval.api.DotReplitUpdateRequest */ export interface DotReplitUpdateRequest { /** * @generated from protobuf field: repeated replit.goval.api.DotReplitUpdateOp ops = 1 */ ops: DotReplitUpdateOp[]; } /** * @generated from protobuf message replit.goval.api.DotReplitUpdateResponse */ export interface DotReplitUpdateResponse { } /** * The message used to request to add a new breakpoint. * * @generated from protobuf message replit.goval.api.DebugAddBreakpointRequest */ export interface DebugAddBreakpointRequest { /** * @generated from protobuf field: string path = 1 */ path: string; /** * The OT version and 0-based index (in Unicode codepoints) in which the * breakpoint is inserted. It is recommended to attach the breakpoint to the * first non-whitespace character in the line, so that it better tracks the * breakpoint location. * * @generated from protobuf field: uint32 otVersion = 2 */ otVersion: number; /** * @generated from protobuf field: uint32 otIndex = 3 */ otIndex: number; /** * When a breakpoint is session-local, two things happen: * - The OT stream is ignored. This means that this means that the * breakpoint's line will not be updated when there are new OT operations. * - The breakpoint is not saved to the `.breakpoints` file. * * @generated from protobuf field: bool sessionLocal = 6 */ sessionLocal: boolean; /** * The 1-indexed line number in which the debugger breakpoint will be added. * This is used as a fallback in case the file does not have OT history * available. * * @generated from protobuf field: int32 line = 4 */ line: number; /** * The optional log message that will be used as a logpoint instead of a * breakpoint. Logpoints are different from breakpoints in that the backend * does not 'break' (stop), and instead logs the message. Expressions within * {} are interpolated. This is only honored by a debug adapter if the * capability `supportsLogPoints` is true. * * @generated from protobuf field: string logMessage = 5 */ logMessage: string; } /** * The message used to request to update an existing breakpoint. * * @generated from protobuf message replit.goval.api.DebugUpdateBreakpointRequest */ export interface DebugUpdateBreakpointRequest { /** * @generated from protobuf field: string breakpointId = 1 */ breakpointId: string; /** * The optional log message that will be used as a logpoint instead of a * breakpoint. Logpoints are different from breakpoints in that the backend * does not 'break' (stop), and instead logs the message. Expressions within * {} are interpolated. This is only honored by a debug adapter if the * capability `supportsLogPoints` is true. * * @generated from protobuf field: string logMessage = 2 */ logMessage: string; } /** * The message used to request to remove an existing breakpoint. * * @generated from protobuf message replit.goval.api.DebugRemoveBreakpointRequest */ export interface DebugRemoveBreakpointRequest { /** * @generated from protobuf field: string breakpointId = 2 */ breakpointId: string; } /** * The message used to notify about when the breakpoints for a file changed. * * @generated from protobuf message replit.goval.api.DebugBreakpointEvent */ export interface DebugBreakpointEvent { /** * The repl-relative path of the file. * * @generated from protobuf field: string path = 1 */ path: string; /** * The absolute path of the file. * * @generated from protobuf field: string absolutePath = 3 */ absolutePath: string; /** * @generated from protobuf field: repeated replit.goval.api.DebugBreakpoint breakpoints = 2 */ breakpoints: DebugBreakpoint[]; } /** * The message that represents a single breakpoint for a file. * * @generated from protobuf message replit.goval.api.DebugBreakpoint */ export interface DebugBreakpoint { /** * The globally-unique ID for a breakpoint. * * @generated from protobuf field: string breakpointId = 1 */ breakpointId: string; /** * The 1-indexed line number for the breakpoint. * * @generated from protobuf field: int32 line = 2 */ line: number; /** * The OT version and 0-based index (in Unicode codepoints) in which the * breakpoint is inserted. It is recommended to attach the breakpoint to the * first non-whitespace character in the line, so that it better tracks the * breakpoint location. * * @generated from protobuf field: uint32 otVersion = 3 */ otVersion: number; /** * @generated from protobuf field: uint32 otIndex = 4 */ otIndex: number; /** * @generated from protobuf field: bool sessionLocal = 6 */ sessionLocal: boolean; /** * @generated from protobuf field: string logMessage = 5 */ logMessage: string; } /** * DotReplit is a .proto representation of types.DotReplit. * * @generated from protobuf message replit.goval.api.DotReplit */ export interface DotReplit { /** * @generated from protobuf field: replit.goval.api.Exec run = 1 */ run?: Exec; /** * @generated from protobuf field: replit.goval.api.Exec compile = 2 */ compile?: Exec; /** * @generated from protobuf field: replit.goval.api.DebuggerConfig debugger = 3 */ debugger?: DebuggerConfig; /** * @generated from protobuf field: string language = 4 */ language: string; /** * @generated from protobuf field: replit.goval.api.Exec onBoot = 5 */ onBoot?: Exec; /** * @generated from protobuf field: replit.goval.api.DotReplitPackager packager = 6 */ packager?: DotReplitPackager; /** * @generated from protobuf field: replit.goval.api.DotReplitInterp interpreter = 7 */ interpreter?: DotReplitInterp; /** * @generated from protobuf field: string entrypoint = 8 */ entrypoint: string; /** * @generated from protobuf field: map languages = 9 */ languages: { [key: string]: DotReplitLanguage; }; /** * @generated from protobuf field: replit.goval.api.DotReplitUnitTest unitTest = 10 */ unitTest?: DotReplitUnitTest; /** * @generated from protobuf field: repeated string hidden = 11 */ hidden: string[]; /** * @generated from protobuf field: replit.goval.api.NixConfig nix = 12 */ nix?: NixConfig; /** * @generated from protobuf field: bool audio = 13 */ audio: boolean; /** * @generated from protobuf field: replit.goval.api.HostingConfig hosting = 14 */ hosting?: HostingConfig; /** * @generated from protobuf field: map env = 15 */ env: { [key: string]: string; }; /** * @generated from protobuf field: replit.goval.api.GitHubImportConfig gitHubImport = 16 */ gitHubImport?: GitHubImportConfig; /** * @generated from protobuf field: replit.goval.api.AuthConfig auth = 17 */ auth?: AuthConfig; /** * Clippy hints for the shell * * @generated from protobuf field: repeated replit.goval.api.DotReplitHint hintsList = 18 */ hintsList: DotReplitHint[]; /** * Ports that are exposed by the repl. * * @generated from protobuf field: repeated replit.goval.api.DotReplitPort ports = 19 */ ports: DotReplitPort[]; /** * Same content as the env above, but * the order they were listed in the .replit * is preserved. Protobuf maps do not preserve order * and so we use 'repeated' instead. * * @generated from protobuf field: repeated replit.goval.api.DotReplitEnvVar orderedEnv = 20 */ orderedEnv: DotReplitEnvVar[]; /** * A list of files or folders that trigger webview refresh * on change, supports glob patterns * * @generated from protobuf field: repeated string refreshWebViewOnFileChange = 21 */ refreshWebViewOnFileChange: string[]; /** * Configuration for deployments * * @generated from protobuf field: replit.goval.api.DeploymentConfig deployment = 22 */ deployment?: DeploymentConfig; /** * A list of modules * * @generated from protobuf field: repeated string modules = 23 */ modules: string[]; /** * Configuration for extensions * * @generated from protobuf field: replit.goval.api.ExtensionConfig extension = 24 */ extension?: ExtensionConfig; /** * Rules-based configuration for various services * * @generated from protobuf field: replit.goval.api.RulesConfig rules = 25 */ rules?: RulesConfig; /** * Configuration for suggestions * * @generated from protobuf field: replit.goval.api.SuggestionsConfig suggestions = 26 */ suggestions?: SuggestionsConfig; /** * Configuration for object storage * * @generated from protobuf field: replit.goval.api.ObjectStorageConfig objectStorage = 27 */ objectStorage?: ObjectStorageConfig; /** * Configuration for auto save * * @generated from protobuf field: replit.goval.api.AutoSaveConfig autoSave = 28 */ autoSave?: AutoSaveConfig; } /** * @generated from protobuf message replit.goval.api.DotReplitEnvVar */ export interface DotReplitEnvVar { /** * @generated from protobuf field: string key = 1 */ key: string; /** * @generated from protobuf field: string value = 2 */ value: string; } /** * @generated from protobuf message replit.goval.api.DotReplitPort */ export interface DotReplitPort { /** * @generated from protobuf field: uint32 localPort = 1 */ localPort: number; /** * @generated from protobuf field: uint32 externalPort = 2 */ externalPort: number; /** * @generated from protobuf field: bool exposeLocalhost = 3 */ exposeLocalhost: boolean; } /** * @generated from protobuf message replit.goval.api.DotReplitHint */ export interface DotReplitHint { /** * @generated from protobuf field: string regex = 1 */ regex: string; /** * @generated from protobuf field: string message = 2 */ message: string; } /** * @generated from protobuf message replit.goval.api.GitHubImportConfig */ export interface GitHubImportConfig { /** * @generated from protobuf field: repeated string requiredFiles = 1 */ requiredFiles: string[]; } /** * @generated from protobuf message replit.goval.api.DeploymentConfig */ export interface DeploymentConfig { /** * @generated from protobuf field: replit.goval.api.Exec run = 1 */ run?: Exec; /** * @generated from protobuf field: replit.goval.api.Exec build = 2 */ build?: Exec; /** * @generated from protobuf field: bool ignorePorts = 3 */ ignorePorts: boolean; /** * postBuild is a command to run after all build steps have completed * (including any artifact-specific build commands). * * @generated from protobuf field: replit.goval.api.Exec postBuild = 8 */ postBuild?: Exec; /** * @generated from protobuf field: replit.goval.api.DeploymentConfig.Target target = 4 */ target: DeploymentConfig_Target; /** * @generated from protobuf field: string publicDir = 5 */ publicDir: string; /** * RewriteRules are used to rewrite URLs before resolving them in the static * bucket. The first matching rule is used. * * @generated from protobuf field: repeated replit.goval.api.DeploymentConfig.RewriteRule rewrites = 6 */ rewrites: DeploymentConfig_RewriteRule[]; /** * A list of headers applied to responses for static deployments. * * @generated from protobuf field: repeated replit.goval.api.DeploymentConfig.Header responseHeaders = 7 */ responseHeaders: DeploymentConfig_Header[]; } /** * A RewriteRule describes a pattern than should be rewritten and the * associated rewrite pattern. * * @generated from protobuf message replit.goval.api.DeploymentConfig.RewriteRule */ export interface DeploymentConfig_RewriteRule { /** * The pattern to match, to determine if the URL should be rewritten. * * @generated from protobuf field: string from = 1 */ from: string; /** * The pattern to rewrite to, if the URL matches the from pattern. * * @generated from protobuf field: string to = 2 */ to: string; } /** * A Header describes a header that should be added to the response on certain * URLs in static deployments. * * @generated from protobuf message replit.goval.api.DeploymentConfig.Header */ export interface DeploymentConfig_Header { /** * The pattern to match, to determine if the URL is one where the header * should be applied. * * @generated from protobuf field: string path = 1 */ path: string; /** * The name of the header to add. * * @generated from protobuf field: string name = 2 */ name: string; /** * The value of the header to add. * * @generated from protobuf field: string value = 3 */ value: string; } /** * @generated from protobuf enum replit.goval.api.DeploymentConfig.Target */ export declare enum DeploymentConfig_Target { /** * Deprecated, use VM instead * * @generated from protobuf enum value: GCE = 0; */ GCE = 0, /** * Deprecated, use AUTOSCALE instead * * @generated from protobuf enum value: CLOUDRUN = 1; */ CLOUDRUN = 1, /** * @generated from protobuf enum value: STATIC = 2; */ STATIC = 2, /** * @generated from protobuf enum value: VM = 3; */ VM = 3, /** * @generated from protobuf enum value: AUTOSCALE = 4; */ AUTOSCALE = 4, /** * @generated from protobuf enum value: SCHEDULED = 5; */ SCHEDULED = 5, /** * @generated from protobuf enum value: EXTENSION = 6; */ EXTENSION = 6, /** * @generated from protobuf enum value: DATABRICKS_APP = 7; */ DATABRICKS_APP = 7, /** * @generated from protobuf enum value: RAYFIN_APP = 8; */ RAYFIN_APP = 8 } /** * @generated from protobuf message replit.goval.api.ExtensionConfig */ export interface ExtensionConfig { /** * @generated from protobuf field: bool isExtension = 1 */ isExtension: boolean; /** * @generated from protobuf field: string extensionID = 2 */ extensionID: string; /** * @generated from protobuf field: string buildCommand = 3 */ buildCommand: string; /** * @generated from protobuf field: string outputDirectory = 4 */ outputDirectory: string; /** * @generated from protobuf field: string staticDirectory = 5 */ staticDirectory: string; } /** * @generated from protobuf message replit.goval.api.SuggestionsConfig */ export interface SuggestionsConfig { /** * @generated from protobuf field: repeated string extensions = 1 */ extensions: string[]; } /** * @generated from protobuf message replit.goval.api.NixConfig */ export interface NixConfig { /** * @generated from protobuf field: string channel = 1 */ channel: string; } /** * @generated from protobuf message replit.goval.api.HostingConfig */ export interface HostingConfig { /** * @generated from protobuf field: string route = 1 */ route: string; /** * @generated from protobuf field: string directory = 2 */ directory: string; } /** * Auth Config is a .proto representation of the [auth] * field set in the .replit file * * @generated from protobuf message replit.goval.api.AuthConfig */ export interface AuthConfig { /** * enabled sets whether the "magic auth" * feature is enabled (shows the auth page) * * @generated from protobuf field: bool pageEnabled = 1 */ pageEnabled: boolean; /** * magic auth page title; default to empty string * * @generated from protobuf field: string pageTitle = 2 */ pageTitle: string; /** * magic auth page description; default to empty string * * @generated from protobuf field: string pageDescription = 3 */ pageDescription: string; /** * magic auth page color; default to empty string * * @generated from protobuf field: string pageColor = 4 */ pageColor: string; /** * magic auth page image; default to empty string * * @generated from protobuf field: string pageImage = 5 */ pageImage: string; /** * determines if user is using a custom button for repl auth * shouldn't be enabled along with PageEnabled * if it is, PageEnabled takes priority * * @generated from protobuf field: bool buttonEnabled = 6 */ buttonEnabled: boolean; } /** * @generated from protobuf message replit.goval.api.DotReplitInterp */ export interface DotReplitInterp { /** * @generated from protobuf field: replit.goval.api.Exec command = 1 */ command?: Exec; /** * @generated from protobuf field: bytes prompt = 2 */ prompt: Uint8Array; } /** * @generated from protobuf message replit.goval.api.DotReplitLanguage */ export interface DotReplitLanguage { /** * @generated from protobuf field: string pattern = 1 */ pattern: string; /** * @generated from protobuf field: string syntax = 2 */ syntax: string; /** * @generated from protobuf field: replit.goval.api.LanguageServerConfig languageServer = 3 */ languageServer?: LanguageServerConfig; } /** * @generated from protobuf message replit.goval.api.LanguageServerConfig */ export interface LanguageServerConfig { /** * @generated from protobuf field: replit.goval.api.Exec startCommand = 1 */ startCommand?: Exec; /** * @generated from protobuf field: string configurationJson = 2 */ configurationJson: string; /** * @generated from protobuf field: string initializationOptionsJson = 3 */ initializationOptionsJson: string; } /** * DotReplitPackager is a .proto representation of types.Packager. * * @generated from protobuf message replit.goval.api.DotReplitPackager */ export interface DotReplitPackager { /** * @generated from protobuf field: replit.goval.api.Exec afterInstall = 1 */ afterInstall?: Exec; /** * @generated from protobuf field: string language = 4 */ language: string; /** * @generated from protobuf field: replit.goval.api.DotReplitPackagerFeatures features = 5 */ features?: DotReplitPackagerFeatures; /** * @generated from protobuf field: map env = 6 */ env: { [key: string]: string; }; /** * @generated from protobuf field: repeated string ignoredPaths = 2 */ ignoredPaths: string[]; /** * @generated from protobuf field: repeated string ignoredPackages = 3 */ ignoredPackages: string[]; } /** * @generated from protobuf message replit.goval.api.DotReplitPackagerFeatures */ export interface DotReplitPackagerFeatures { /** * @generated from protobuf field: bool packageSearch = 1 */ packageSearch: boolean; /** * @generated from protobuf field: bool guessImports = 2 */ guessImports: boolean; /** * @generated from protobuf field: bool enabledForHosting = 3 */ enabledForHosting: boolean; } /** * @generated from protobuf message replit.goval.api.DotReplitUnitTest */ export interface DotReplitUnitTest { /** * @generated from protobuf field: string language = 1 */ language: string; } /** * @generated from protobuf message replit.goval.api.DebuggerConfig */ export interface DebuggerConfig { /** * @generated from protobuf field: bool support = 1 */ support: boolean; /** * @generated from protobuf field: replit.goval.api.CompileConfig compile = 2 */ compile?: CompileConfig; /** * @generated from protobuf field: replit.goval.api.DapConfig interactive = 3 */ interactive?: DapConfig; /** * @generated from protobuf field: replit.goval.api.TimeTravelConfig timeTravel = 4 */ timeTravel?: TimeTravelConfig; /** * @generated from protobuf field: string dapTransport = 5 */ dapTransport: string; /** * @generated from protobuf field: int64 dapConnectTimeout = 6 */ dapConnectTimeout: bigint; /** * @generated from protobuf field: replit.goval.api.DapIntegratedAdapterConfig dapIntegratedAdapter = 7 */ dapIntegratedAdapter?: DapIntegratedAdapterConfig; /** * @generated from protobuf field: replit.goval.api.Exec dapStartCommand = 8 */ dapStartCommand?: Exec; /** * @generated from protobuf field: google.protobuf.Struct dapInitializeMessage = 9 */ dapInitializeMessage?: Struct; /** * @generated from protobuf field: google.protobuf.Struct dapLaunchMessage = 10 */ dapLaunchMessage?: Struct; } /** * @generated from protobuf message replit.goval.api.CompileConfig */ export interface CompileConfig { /** * @generated from protobuf field: replit.goval.api.Exec command = 1 */ command?: Exec; /** * @generated from protobuf field: bool onlyMain = 2 */ onlyMain: boolean; /** * @generated from protobuf field: bool noFileArgs = 3 */ noFileArgs: boolean; } /** * @generated from protobuf message replit.goval.api.RunConfig */ export interface RunConfig { /** * @generated from protobuf field: replit.goval.api.Exec command = 1 */ command?: Exec; } /** * @generated from protobuf message replit.goval.api.InterpConfig */ export interface InterpConfig { /** * @generated from protobuf field: replit.goval.api.Exec command = 1 */ command?: Exec; } /** * @generated from protobuf message replit.goval.api.DapConfig */ export interface DapConfig { /** * @generated from protobuf field: string transport = 1 */ transport: string; /** * @generated from protobuf field: int64 connectTimeout = 2 */ connectTimeout: bigint; /** * @generated from protobuf field: replit.goval.api.DapIntegratedAdapterConfig integratedAdapter = 3 */ integratedAdapter?: DapIntegratedAdapterConfig; /** * @generated from protobuf field: replit.goval.api.Exec startCommand = 4 */ startCommand?: Exec; /** * @generated from protobuf field: google.protobuf.Struct initializeMessage = 5 */ initializeMessage?: Struct; /** * @generated from protobuf field: google.protobuf.Struct launchMessage = 6 */ launchMessage?: Struct; } /** * @generated from protobuf message replit.goval.api.TimeTravelConfig */ export interface TimeTravelConfig { /** * @generated from protobuf field: replit.goval.api.Exec record = 1 */ record?: Exec; /** * @generated from protobuf field: replit.goval.api.DapConfig debug = 2 */ debug?: DapConfig; } /** * @generated from protobuf message replit.goval.api.DapIntegratedAdapterConfig */ export interface DapIntegratedAdapterConfig { /** * @generated from protobuf field: string dapTcpAddress = 1 */ dapTcpAddress: string; } /** * ProxyGoingAway is the message that is sent by the Proxy * to conman when the Proxy is shutting down due to e.g. SIGINT. * * @generated from protobuf message replit.goval.api.ProxyGoingAway */ export interface ProxyGoingAway { } /** * FirewallDenied is the message that is sent by conman when a * firewalled user is trying to connect to an unfirewalled repl. * Conman closes the connection after sending this message. * * @generated from protobuf message replit.goval.api.FirewallDenied */ export interface FirewallDenied { } /** * ReplLogMessage represents a single log line outputted by a repl's * Run process. * * @generated from protobuf message replit.goval.api.ReplLogMessage */ export interface ReplLogMessage { /** * @generated from protobuf field: google.protobuf.Timestamp timestamp = 1 */ timestamp?: Timestamp; /** * @generated from protobuf field: string repl_id = 2 */ replId: string; /** * @generated from protobuf field: string log_line = 3 */ logLine: string; /** * @generated from protobuf field: string user_name = 4 */ userName: string; } /** * @generated from protobuf message replit.goval.api.UserEvent */ export interface UserEvent { /** * a generic classifier for the event, use a ":" nested hierarchy to define * these, e.g. "repl:run" or "file:undo". These are strings to allow easy * extensibility client-side, but please treat this like an enum and do not * create a long-tail of values. * * @generated from protobuf field: string event_name = 1 */ eventName: string; /** * an object with additional data about the event, e.g., where a user scrolled * from/to, or the name of a tab that was opened or the file impacted by a * change. Most events will include a static set of metadata, like sessionId, * clientTimestamp and URL. * * @generated from protobuf field: google.protobuf.Struct event_data = 2 */ eventData?: Struct; /** * data intake schema version. this is presently unused, but is intended to * support the evolution of the schema, knowing that we cannot rely on the * client to cache bust instantly. * * @generated from protobuf field: int32 version = 3 */ version: number; } /** * NixModulesGetRequest is the request to the NixModules service * to fetch all Nix modules * * @generated from protobuf message replit.goval.api.NixModulesGetRequest */ export interface NixModulesGetRequest { } /** * @generated from protobuf message replit.goval.api.NixModulesGetResponse */ export interface NixModulesGetResponse { /** * @generated from protobuf field: repeated replit.goval.api.NixModule modules = 1 */ modules: NixModule[]; } /** * @generated from protobuf message replit.goval.api.NixModule */ export interface NixModule { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string version = 2 */ version: string; /** * @generated from protobuf field: string name = 3 */ name: string; /** * @generated from protobuf field: string description = 4 */ description: string; /** * @generated from protobuf field: repeated replit.goval.api.RunOption runners = 5 */ runners: RunOption[]; /** * @generated from protobuf field: repeated replit.goval.api.DebuggerOption debuggers = 6 */ debuggers: DebuggerOption[]; /** * @generated from protobuf field: repeated replit.goval.api.PackagerOption packagers = 7 */ packagers: PackagerOption[]; /** * @generated from protobuf field: repeated replit.goval.api.LanguageServerOption languageServers = 8 */ languageServers: LanguageServerOption[]; /** * @generated from protobuf field: string buildType = 9 */ buildType: string; /** * @generated from protobuf field: repeated string resolutionPath = 10 */ resolutionPath: string[]; /** * @generated from protobuf field: string resolvedId = 11 */ resolvedId: string; /** * @generated from protobuf field: string referencedId = 12 */ referencedId: string; /** * @generated from protobuf field: repeated replit.goval.api.FormatterOption formatters = 13 */ formatters: FormatterOption[]; /** * @generated from protobuf field: string displayVersion = 14 */ displayVersion: string; /** * @generated from protobuf field: bool internal = 15 */ internal: boolean; /** * @generated from protobuf field: bool demoted = 16 */ demoted: boolean; } /** * NixModulesChanged is the message sent by the NixModules service * to notify the frontend that the set of active Nix modules have changed * * @generated from protobuf message replit.goval.api.NixModulesChanged */ export interface NixModulesChanged { /** * @generated from protobuf field: repeated replit.goval.api.NixModule modules = 1 */ modules: NixModule[]; /** * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigValue moduleConfigValues = 2 */ moduleConfigValues: NixModuleConfigValue[]; /** * Nix build output if present * * @generated from protobuf field: string buildOutput = 3 */ buildOutput: string; /** * Nixmodules V2 will use modulesV2 instead of modules * to return the module config values computed by Nix. * * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigModuleEntry modulesV2 = 4 */ modulesV2: NixModuleConfigModuleEntry[]; } /** * NixModulesBuildRequest is the request to build the current set of Nix modules * * @generated from protobuf message replit.goval.api.NixModulesBuildRequest */ export interface NixModulesBuildRequest { } /** * @generated from protobuf message replit.goval.api.NixModulesGetRegistryRequest */ export interface NixModulesGetRegistryRequest { } /** * @generated from protobuf message replit.goval.api.NixModulesGetRegistryResponse */ export interface NixModulesGetRegistryResponse { /** * @generated from protobuf field: repeated replit.goval.api.NixModulesRegistryEntry modules = 1 */ modules: NixModulesRegistryEntry[]; /** * @generated from protobuf field: map autoUpgrade = 2 */ autoUpgrade: { [key: string]: NixModulesUpgradeMapEntry; }; /** * @generated from protobuf field: map recommendUpgrade = 3 */ recommendUpgrade: { [key: string]: NixModulesUpgradeMapEntry; }; /** * @generated from protobuf field: repeated replit.goval.api.LanguageServerOption languageServers = 4 */ languageServers: LanguageServerOption[]; /** * @generated from protobuf field: repeated replit.goval.api.FormatterOption formatters = 5 */ formatters: FormatterOption[]; /** * @generated from protobuf field: repeated replit.goval.api.PackagerOption packagers = 6 */ packagers: PackagerOption[]; /** * NixModulesV2RegistryEntry is the new registry format * for Nixmodules V2 in lieu of the other fields * * @generated from protobuf field: repeated replit.goval.api.NixModulesV2RegistryEntry modulesV2 = 7 */ modulesV2: NixModulesV2RegistryEntry[]; /** * @generated from protobuf field: repeated replit.goval.api.NixModule fullModules = 8 */ fullModules: NixModule[]; } /** * @generated from protobuf message replit.goval.api.NixModulesRegistryEntry */ export interface NixModulesRegistryEntry { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: string description = 3 */ description: string; /** * @generated from protobuf field: int32 version = 4 */ version: number; /** * @generated from protobuf field: string tag = 5 */ tag: string; /** * @generated from protobuf field: repeated string tags = 6 */ tags: string[]; /** * @generated from protobuf field: string commit = 7 */ commit: string; /** * @generated from protobuf field: string path = 8 */ path: string; /** * @generated from protobuf field: string displayVersion = 9 */ displayVersion: string; } /** * @generated from protobuf message replit.goval.api.NixModulesUpgradeMapEntry */ export interface NixModulesUpgradeMapEntry { /** * @generated from protobuf field: string to = 1 */ to: string; /** * @generated from protobuf field: string changelog = 2 */ changelog: string; } /** * @generated from protobuf message replit.goval.api.NixModulesV2RegistryEntry */ export interface NixModulesV2RegistryEntry { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: string description = 3 */ description: string; /** * @generated from protobuf field: repeated replit.goval.api.NixModuleOption options = 4 */ options: NixModuleOption[]; } /** * @generated from protobuf message replit.goval.api.NixModuleOption */ export interface NixModuleOption { /** * @generated from protobuf field: string name = 1 */ name: string; /** * @generated from protobuf field: string description = 2 */ description: string; /** * @generated from protobuf oneof: type */ type: { oneofKind: "booleanType"; /** * Available option types: * * @generated from protobuf field: replit.goval.api.NixModuleBooleanType booleanType = 3 */ booleanType: NixModuleBooleanType; } | { oneofKind: "stringType"; /** * @generated from protobuf field: replit.goval.api.NixModuleStringType stringType = 4 */ stringType: NixModuleStringType; } | { oneofKind: "choiceStringType"; /** * a choice between a number of available string options * used for version selection * * @generated from protobuf field: replit.goval.api.NixModuleChoiceStringType choiceStringType = 5 */ choiceStringType: NixModuleChoiceStringType; } | { oneofKind: "stringListType"; /** * a list (array) of strings * used for file extension lists * * @generated from protobuf field: replit.goval.api.NixModuleStringListType stringListType = 6 */ stringListType: NixModuleStringListType; } | { oneofKind: "integerType"; /** * @generated from protobuf field: replit.goval.api.NixModuleIntegerType integerType = 7 */ integerType: NixModuleIntegerType; } | { oneofKind: undefined; }; /** * whether a value for this option is required * * @generated from protobuf field: bool required = 8 */ required: boolean; } /** * @generated from protobuf message replit.goval.api.NixModuleBooleanType */ export interface NixModuleBooleanType { /** * @generated from protobuf field: bool default = 1 */ default: boolean; } /** * @generated from protobuf message replit.goval.api.NixModuleStringType */ export interface NixModuleStringType { /** * @generated from protobuf field: string default = 1 */ default: string; } /** * @generated from protobuf message replit.goval.api.NixModuleIntegerType */ export interface NixModuleIntegerType { /** * @generated from protobuf field: int32 default = 1 */ default: number; } /** * @generated from protobuf message replit.goval.api.NixModuleChoiceStringType */ export interface NixModuleChoiceStringType { /** * @generated from protobuf field: string default = 1 */ default: string; /** * List of available choices * * @generated from protobuf field: repeated string choices = 2 */ choices: string[]; } /** * @generated from protobuf message replit.goval.api.NixModuleStringListType */ export interface NixModuleStringListType { /** * @generated from protobuf field: repeated string default = 1 */ default: string[]; } /** * NixModuleConfigGetRequest - fetch currently computed values of the * top-level module configuration. * * @generated from protobuf message replit.goval.api.NixModuleConfigGetRequest */ export interface NixModuleConfigGetRequest { } /** * NixModuleConfigGetResponse - return current computed values * * @generated from protobuf message replit.goval.api.NixModuleConfigGetResponse */ export interface NixModuleConfigGetResponse { /** * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigValue values = 1 */ values: NixModuleConfigValue[]; /** * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigModuleEntry modules = 2 */ modules: NixModuleConfigModuleEntry[]; } /** * NixModuleConfigSetRequest - it will result in * 1. setting values in [moduleConfig] within .replit * 2. using nix to build the new module config * * @generated from protobuf message replit.goval.api.NixModuleConfigSetRequest */ export interface NixModuleConfigSetRequest { /** * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigValue values = 1 */ values: NixModuleConfigValue[]; /** * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigModuleEntry modules = 2 */ modules: NixModuleConfigModuleEntry[]; } /** * NixModuleConfigSetResponse - returns Ok or Error for the * associated NixModuleConfigSetRequest * Update to the toolchain will be sent via the ToolchainChanged * event * * @generated from protobuf message replit.goval.api.NixModuleConfigSetResponse */ export interface NixModuleConfigSetResponse { /** * @generated from protobuf field: replit.goval.api.NixModuleConfigSetResponse.Status status = 1 */ status: NixModuleConfigSetResponse_Status; /** * @generated from protobuf field: string error = 2 */ error: string; } /** * @generated from protobuf enum replit.goval.api.NixModuleConfigSetResponse.Status */ export declare enum NixModuleConfigSetResponse_Status { /** * @generated from protobuf enum value: Ok = 0; */ Ok = 0, /** * @generated from protobuf enum value: Error = 1; */ Error = 1 } /** * NixModuleConfigModuleEntry - the group of module config values for a module * * @generated from protobuf message replit.goval.api.NixModuleConfigModuleEntry */ export interface NixModuleConfigModuleEntry { /** * ID will match the `id` field in NixModulesV2RegistryEntry: * a dotted path such as "interpreters.python" * * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: repeated replit.goval.api.NixModuleConfigValue values = 2 */ values: NixModuleConfigValue[]; } /** * @generated from protobuf message replit.goval.api.NixModuleConfigValue */ export interface NixModuleConfigValue { /** * Module ID will be a dotted path such as "interpreters.python" * * @generated from protobuf field: string moduleId = 1 */ moduleId: string; /** * Common option names: "enable", "version", "extensions" * * @generated from protobuf field: string optionName = 2 */ optionName: string; /** * @generated from protobuf oneof: value */ value: { oneofKind: "stringValue"; /** * @generated from protobuf field: string stringValue = 3 */ stringValue: string; } | { oneofKind: "integerValue"; /** * @generated from protobuf field: int32 integerValue = 4 */ integerValue: number; } | { oneofKind: "booleanValue"; /** * @generated from protobuf field: bool booleanValue = 5 */ booleanValue: boolean; } | { oneofKind: "stringListValue"; /** * See StringList definition below * * @generated from protobuf field: replit.goval.api.StringList stringListValue = 7 */ stringListValue: StringList; } | { oneofKind: undefined; }; } /** * ReplspaceApiSSHTokenGetRequest asks Workspace for a short expiration SSH * token for accessing a specific Repl. * * @generated from protobuf message replit.goval.api.ReplspaceApiSSHTokenGetRequest */ export interface ReplspaceApiSSHTokenGetRequest { /** * @generated from protobuf field: string nonce = 1 */ nonce: string; /** * @generated from protobuf field: string replid = 2 */ replid: string; /** * @generated from protobuf field: google.protobuf.Timestamp before = 3 */ before?: Timestamp; } /** * ReplspaceApiSSHTokenGetResponse is Workspace sending back a short expiration * SSH token for accessing a specific Repl. * * @generated from protobuf message replit.goval.api.ReplspaceApiSSHTokenGetResponse */ export interface ReplspaceApiSSHTokenGetResponse { /** * @generated from protobuf field: string nonce = 1 */ nonce: string; /** * @generated from protobuf field: string token = 2 */ token: string; /** * @generated from protobuf field: string ssh_hostname = 3 */ sshHostname: string; } /** * StringList represents an list (or array) of strings; * we need this only because we cannot use a * "repeated" modifier inside a oneof * * @generated from protobuf message replit.goval.api.StringList */ export interface StringList { /** * @generated from protobuf field: repeated string stringList = 1 */ stringList: string[]; } /** * Configuration for object storage * * @generated from protobuf message replit.goval.api.ObjectStorageConfig */ export interface ObjectStorageConfig { /** * The ID of the bucket which will be used for object storage operations * if no other bucket is specified. * * @generated from protobuf field: string defaultBucketID = 1 */ defaultBucketID: string; } /** * Configuration for auto save * * @generated from protobuf message replit.goval.api.AutoSaveConfig */ export interface AutoSaveConfig { /** * Auto save is disabled by default if not specified. * * @generated from protobuf field: bool disabled = 1 */ disabled: boolean; } /** * @generated from protobuf message replit.goval.api.ToolchainGetRequest */ export interface ToolchainGetRequest { } /** * @generated from protobuf message replit.goval.api.ToolchainConfigs */ export interface ToolchainConfigs { /** * @generated from protobuf field: string entrypoint = 1 */ entrypoint: string; /** * @generated from protobuf field: repeated replit.goval.api.RunOption runs = 2 */ runs: RunOption[]; /** * @generated from protobuf field: repeated replit.goval.api.DebuggerOption debuggers = 3 */ debuggers: DebuggerOption[]; /** * @generated from protobuf field: repeated replit.goval.api.LanguageServerOption languageServers = 4 */ languageServers: LanguageServerOption[]; /** * @generated from protobuf field: repeated replit.goval.api.PackagerOption packagers = 5 */ packagers: PackagerOption[]; /** * @generated from protobuf field: repeated replit.goval.api.FormatterOption formatters = 6 */ formatters: FormatterOption[]; /** * Global disable install packages before run * * @generated from protobuf field: bool disableInstallBeforeRun = 7 */ disableInstallBeforeRun: boolean; /** * Global disable package guessing during install packages * * @generated from protobuf field: bool disableGuessImports = 8 */ disableGuessImports: boolean; } /** * @generated from protobuf message replit.goval.api.ToolchainGetResponse */ export interface ToolchainGetResponse { /** * @generated from protobuf field: replit.goval.api.ToolchainConfigs configs = 1 */ configs?: ToolchainConfigs; } /** * @generated from protobuf message replit.goval.api.ToolchainChanged */ export interface ToolchainChanged { /** * @generated from protobuf field: replit.goval.api.ToolchainConfigs configs = 1 */ configs?: ToolchainConfigs; } /** * @generated from protobuf message replit.goval.api.RunOption */ export interface RunOption { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: bool fileParam = 3 */ fileParam: boolean; /** * @generated from protobuf field: string language = 4 */ language: string; /** * @generated from protobuf field: replit.goval.api.FileTypeAttrs fileTypeAttrs = 5 */ fileTypeAttrs?: FileTypeAttrs; /** * @generated from protobuf field: bool interpreter = 6 */ interpreter: boolean; /** * @generated from protobuf field: bool optionalFileParam = 7 */ optionalFileParam: boolean; /** * @generated from protobuf field: string displayVersion = 8 */ displayVersion: string; /** * @generated from protobuf field: replit.goval.api.CompileConfig compile = 9 */ compile?: CompileConfig; /** * @generated from protobuf field: replit.goval.api.RunConfig run = 10 */ run?: RunConfig; /** * @generated from protobuf field: repeated string defaultEntrypoints = 11 */ defaultEntrypoints: string[]; /** * @generated from protobuf field: replit.goval.api.InterpConfig interp = 12 */ interp?: InterpConfig; } /** * @generated from protobuf message replit.goval.api.DebuggerOption */ export interface DebuggerOption { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: bool fileParam = 3 */ fileParam: boolean; /** * @generated from protobuf field: string language = 4 */ language: string; /** * @generated from protobuf field: replit.goval.api.FileTypeAttrs fileTypeAttrs = 5 */ fileTypeAttrs?: FileTypeAttrs; /** * @generated from protobuf field: string displayVersion = 6 */ displayVersion: string; } /** * @generated from protobuf message replit.goval.api.LanguageServerOption */ export interface LanguageServerOption { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: string language = 3 */ language: string; /** * @generated from protobuf field: replit.goval.api.FileTypeAttrs fileTypeAttrs = 4 */ fileTypeAttrs?: FileTypeAttrs; /** * @generated from protobuf field: replit.goval.api.LanguageServerConfig config = 5 */ config?: LanguageServerConfig; /** * @generated from protobuf field: string moduleId = 6 */ moduleId: string; /** * @generated from protobuf field: string displayVersion = 7 */ displayVersion: string; } /** * @generated from protobuf message replit.goval.api.FileTypeAttrs */ export interface FileTypeAttrs { /** * @generated from protobuf field: repeated string extensions = 1 */ extensions: string[]; /** * @generated from protobuf field: repeated string files = 2 */ files: string[]; /** * @generated from protobuf field: string filePattern = 3 */ filePattern: string; } /** * @generated from protobuf message replit.goval.api.PackagerOption */ export interface PackagerOption { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * Language field might be useful for frontend * but we omit the rest of the config info * * @generated from protobuf field: string language = 3 */ language: string; /** * @generated from protobuf field: repeated string packagerFiles = 4 */ packagerFiles: string[]; /** * @generated from protobuf field: bool enabledForHosting = 5 */ enabledForHosting: boolean; /** * @generated from protobuf field: bool packageSearch = 6 */ packageSearch: boolean; /** * @generated from protobuf field: bool guessImports = 7 */ guessImports: boolean; /** * @generated from protobuf field: string moduleId = 8 */ moduleId: string; /** * @generated from protobuf field: string displayVersion = 9 */ displayVersion: string; } /** * @generated from protobuf message replit.goval.api.FormatterOption */ export interface FormatterOption { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string name = 2 */ name: string; /** * @generated from protobuf field: replit.goval.api.Exec startCommand = 3 */ startCommand?: Exec; /** * @generated from protobuf field: replit.goval.api.FileTypeAttrs fileTypeAttrs = 4 */ fileTypeAttrs?: FileTypeAttrs; /** * @generated from protobuf field: string moduleId = 5 */ moduleId: string; /** * @generated from protobuf field: string displayVersion = 6 */ displayVersion: string; /** * @generated from protobuf field: bool supportsRangeFormatting = 7 */ supportsRangeFormatting: boolean; } /** * @generated from protobuf message replit.goval.api.ReplDomainDoubleDash */ export interface ReplDomainDoubleDash { /** * @generated from protobuf field: string user = 1 */ user: string; /** * @generated from protobuf field: string slug = 2 */ slug: string; /** * @generated from protobuf field: string suffix = 3 */ suffix: string; } /** * @generated from protobuf message replit.goval.api.ReplDomainDots */ export interface ReplDomainDots { /** * @generated from protobuf field: string user = 1 */ user: string; /** * @generated from protobuf field: string slug = 2 */ slug: string; /** * @generated from protobuf field: string suffix = 3 */ suffix: string; } /** * @generated from protobuf message replit.goval.api.ReplDomainSingleDomain */ export interface ReplDomainSingleDomain { /** * @generated from protobuf field: string user = 1 */ user: string; /** * @generated from protobuf field: string suffix = 2 */ suffix: string; } /** * @generated from protobuf message replit.goval.api.ReplDomainId */ export interface ReplDomainId { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string suffix = 2 */ suffix: string; } /** * @generated from protobuf message replit.goval.api.ReplDomainReplitDev */ export interface ReplDomainReplitDev { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string version = 2 */ version: string; /** * @generated from protobuf field: string signature = 3 */ signature: string; /** * @generated from protobuf field: string cluster_name = 4 */ clusterName: string; /** * @generated from protobuf field: string suffix = 5 */ suffix: string; /** * @generated from protobuf field: string org_slug = 6 */ orgSlug: string; } /** * @generated from protobuf message replit.goval.api.ReplDomain */ export interface ReplDomain { /** * @generated from protobuf oneof: kind */ kind: { oneofKind: "custom"; /** * @generated from protobuf field: string custom = 1 */ custom: string; } | { oneofKind: "id"; /** * @generated from protobuf field: replit.goval.api.ReplDomainId id = 2 */ id: ReplDomainId; } | { oneofKind: "doubleDash"; /** * @generated from protobuf field: replit.goval.api.ReplDomainDoubleDash double_dash = 3 */ doubleDash: ReplDomainDoubleDash; } | { oneofKind: "dots"; /** * @generated from protobuf field: replit.goval.api.ReplDomainDots dots = 4 */ dots: ReplDomainDots; } | { oneofKind: "singleDomain"; /** * @generated from protobuf field: replit.goval.api.ReplDomainSingleDomain single_domain = 5 */ singleDomain: ReplDomainSingleDomain; } | { oneofKind: "replitDev"; /** * @generated from protobuf field: replit.goval.api.ReplDomainReplitDev replit_dev = 6 */ replitDev: ReplDomainReplitDev; } | { oneofKind: undefined; }; } /** * @generated from protobuf message replit.goval.api.OutputBlockStartEvent */ export interface OutputBlockStartEvent { /** * @generated from protobuf field: replit.goval.api.OutputBlockStartEvent.ExecutionMode executionMode = 1 */ executionMode: OutputBlockStartEvent_ExecutionMode; /** * @generated from protobuf field: google.protobuf.Timestamp measureStartTime = 2 */ measureStartTime?: Timestamp; /** * @generated from protobuf field: string cgroup = 3 */ cgroup: string; } /** * @generated from protobuf enum replit.goval.api.OutputBlockStartEvent.ExecutionMode */ export declare enum OutputBlockStartEvent_ExecutionMode { /** * @generated from protobuf enum value: Run = 0; */ Run = 0, /** * @generated from protobuf enum value: Interpret = 1; */ Interpret = 1 } /** * @generated from protobuf message replit.goval.api.OutputBlockEndEvent */ export interface OutputBlockEndEvent { /** * @generated from protobuf field: sint32 exitCode = 1 */ exitCode: number; /** * @generated from protobuf field: google.protobuf.Timestamp measureEndTime = 2 */ measureEndTime?: Timestamp; } /** * @generated from protobuf message replit.goval.api.ShellMetadata */ export interface ShellMetadata { /** * @generated from protobuf field: string cgroup = 1 */ cgroup: string; } /** * RulesConfig contains rules for various servies/configuration. For now we just * support formatter rules, but we can also put rules here for lsp, or even move * other settings - like indentation here. * * @generated from protobuf message replit.goval.api.RulesConfig */ export interface RulesConfig { /** * @generated from protobuf field: replit.goval.api.FormatterRules formatter = 1 */ formatter?: FormatterRules; } /** * FormatterRules contains a series of ways a user can set a default formatter * for a set of patterns, file extensions, or languages. The first matching * formatter, read in that order, will be the one used by a given file in the * workspace. * * @generated from protobuf message replit.goval.api.FormatterRules */ export interface FormatterRules { /** * @generated from protobuf field: repeated replit.goval.api.FormatterConfigWithPattern patterns = 1 */ patterns: FormatterConfigWithPattern[]; /** * @generated from protobuf field: map fileExtensions = 2 */ fileExtensions: { [key: string]: FormatterConfig; }; /** * @generated from protobuf field: map languages = 3 */ languages: { [key: string]: FormatterConfig; }; } /** * FormatterConfig is used by fileExtensions and languages to store the * formatter id. * * @generated from protobuf message replit.goval.api.FormatterConfig */ export interface FormatterConfig { /** * @generated from protobuf field: string id = 1 */ id: string; } /** * FormatterConfigWithPattern is used by patterns field, as it requires a * formatter id and a file pattern glob. * * @generated from protobuf message replit.goval.api.FormatterConfigWithPattern */ export interface FormatterConfigWithPattern { /** * @generated from protobuf field: string id = 1 */ id: string; /** * @generated from protobuf field: string pattern = 2 */ pattern: string; } /** * Asks for the full contents of secrets to be sent to the caller * * @generated from protobuf message replit.goval.api.SecretsGetRequest */ export interface SecretsGetRequest { } /** * Response to SeceretsGetRequest * * @generated from protobuf message replit.goval.api.SecretsGetResponse */ export interface SecretsGetResponse { /** * contents is the whole file of all the secrets in bash-like kv format. * for example A="foo"\nB="bar"\n * * @generated from protobuf field: string contents = 1 */ contents: string; } /** * @generated from protobuf message replit.goval.api.SecretsSetRequest */ export interface SecretsSetRequest { /** * contents is the whole file of all the secrets in bash-like kv format. * for example A="foo"\nB="bar"\n * * @generated from protobuf field: string contents = 1 */ contents: string; } /** * Asks for the external secrets to be sent to the caller * * @generated from protobuf message replit.goval.api.ExternalSecretsGetRequest */ export interface ExternalSecretsGetRequest { } /** * Response to ExternalSeceretsGetRequest * * @generated from protobuf message replit.goval.api.ExternalSecretsGetResponse */ export interface ExternalSecretsGetResponse { /** * secret name -> secret value * * @generated from protobuf field: map external_secrets = 1 */ externalSecrets: { [key: string]: string; }; } /** * Request to set non-repl secrets passing in a map of * secret_name:presigned_url pairs * * @generated from protobuf message replit.goval.api.ExternalSecretsSetRequest */ export interface ExternalSecretsSetRequest { /** * map of secret name -> presignedURL to download the secret value * * @generated from protobuf field: map external_secrets = 1 */ externalSecrets: { [key: string]: string; }; } /** * @generated from protobuf message replit.goval.api.ReplResourcesUpdateNotification */ export interface ReplResourcesUpdateNotification { /** * contents is the whole /repl/stats/resources.json file. * * @generated from protobuf field: string contents = 1 */ contents: string; } /** * @generated from protobuf enum replit.goval.api.State */ export declare enum State { /** * @generated from protobuf enum value: Stopped = 0; */ Stopped = 0, /** * @generated from protobuf enum value: Running = 1; */ Running = 1 } declare class Command$Type extends MessageType { constructor(); create(value?: PartialMessage): Command; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Command): Command; private binaryReadMap1001; internalBinaryWrite(message: Command, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.Command */ export declare const Command: Command$Type; declare class NixPackageAddRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageAddRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageAddRequest): NixPackageAddRequest; internalBinaryWrite(message: NixPackageAddRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageAddRequest */ export declare const NixPackageAddRequest: NixPackageAddRequest$Type; declare class NixPackageAddResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageAddResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageAddResponse): NixPackageAddResponse; internalBinaryWrite(message: NixPackageAddResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageAddResponse */ export declare const NixPackageAddResponse: NixPackageAddResponse$Type; declare class NixPackageRemoveRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageRemoveRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageRemoveRequest): NixPackageRemoveRequest; internalBinaryWrite(message: NixPackageRemoveRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageRemoveRequest */ export declare const NixPackageRemoveRequest: NixPackageRemoveRequest$Type; declare class NixPackageRemoveResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageRemoveResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageRemoveResponse): NixPackageRemoveResponse; internalBinaryWrite(message: NixPackageRemoveResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageRemoveResponse */ export declare const NixPackageRemoveResponse: NixPackageRemoveResponse$Type; declare class NixPackageListRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageListRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageListRequest): NixPackageListRequest; internalBinaryWrite(message: NixPackageListRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageListRequest */ export declare const NixPackageListRequest: NixPackageListRequest$Type; declare class NixPackageListResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageListResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageListResponse): NixPackageListResponse; internalBinaryWrite(message: NixPackageListResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageListResponse */ export declare const NixPackageListResponse: NixPackageListResponse$Type; declare class NixPackage$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackage; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackage): NixPackage; private binaryReadMap8; internalBinaryWrite(message: NixPackage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackage */ export declare const NixPackage: NixPackage$Type; declare class NixChannelsRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixChannelsRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixChannelsRequest): NixChannelsRequest; internalBinaryWrite(message: NixChannelsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixChannelsRequest */ export declare const NixChannelsRequest: NixChannelsRequest$Type; declare class NixChannelsResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixChannelsResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixChannelsResponse): NixChannelsResponse; internalBinaryWrite(message: NixChannelsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixChannelsResponse */ export declare const NixChannelsResponse: NixChannelsResponse$Type; declare class NixChannelLatestStableRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixChannelLatestStableRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixChannelLatestStableRequest): NixChannelLatestStableRequest; internalBinaryWrite(message: NixChannelLatestStableRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixChannelLatestStableRequest */ export declare const NixChannelLatestStableRequest: NixChannelLatestStableRequest$Type; declare class NixChannelLatestStableResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixChannelLatestStableResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixChannelLatestStableResponse): NixChannelLatestStableResponse; internalBinaryWrite(message: NixChannelLatestStableResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixChannelLatestStableResponse */ export declare const NixChannelLatestStableResponse: NixChannelLatestStableResponse$Type; declare class NixPackageSearchRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageSearchRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageSearchRequest): NixPackageSearchRequest; internalBinaryWrite(message: NixPackageSearchRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageSearchRequest */ export declare const NixPackageSearchRequest: NixPackageSearchRequest$Type; declare class NixPackageSearchResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageSearchResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageSearchResponse): NixPackageSearchResponse; internalBinaryWrite(message: NixPackageSearchResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageSearchResponse */ export declare const NixPackageSearchResponse: NixPackageSearchResponse$Type; declare class NixPackageInfoRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageInfoRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageInfoRequest): NixPackageInfoRequest; internalBinaryWrite(message: NixPackageInfoRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageInfoRequest */ export declare const NixPackageInfoRequest: NixPackageInfoRequest$Type; declare class NixPackageInfoResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): NixPackageInfoResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NixPackageInfoResponse): NixPackageInfoResponse; internalBinaryWrite(message: NixPackageInfoResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.NixPackageInfoResponse */ export declare const NixPackageInfoResponse: NixPackageInfoResponse$Type; declare class StartLSP$Type extends MessageType { constructor(); create(value?: PartialMessage): StartLSP; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartLSP): StartLSP; internalBinaryWrite(message: StartLSP, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.StartLSP */ export declare const StartLSP: StartLSP$Type; declare class Audio$Type extends MessageType