@rivet-dev/agentos 0.4.1 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/generated/contract.ts"],"sourcesContent":["// Generated by @rivet-dev/agentos-bindgen. Do not edit.\nimport type { BaseActorDefinition, Client, Registry, Type } from \"rivetkit\";\nimport { createClient } from \"rivetkit/client\";\nimport type {\n\tActorAccessor,\n\tActorConnectOptions,\n\tActorConn,\n\tActorHandle,\n\tClientConfigInput,\n\tCreateOptions,\n\tGetOptions,\n\tGetWithIdOptions,\n} from \"rivetkit/client\";\n\nexport const AGENTOS_API_VERSION = \"agentos-sdk.dev/v1alpha1\" as const;\nexport const AGENTOS_CONTRACT_MAJOR = 1 as const;\nexport const AGENTOS_CONTRACT_HASH =\n\t\"sha256:ebf1dda8056f5fc3821395516407b2b165add49be71efd89c96c8d4b9e4a1393\" as const;\nexport const AGENTOS_CAPABILITIES = [\n\t\"config.merge-patch\",\n\t\"network.pull-streaming\",\n\t\"output.replay\",\n\t\"inspector.filesystem\",\n\t\"inspector.processes\",\n\t\"inspector.software\",\n\t\"inspector.terminals\",\n\t\"inspector.vm\",\n\t\"language.javascript\",\n\t\"language.python\",\n\t\"language.typescript\",\n] as const;\nexport const AGENTOS_CONTRACT = {\n\tapiVersion: AGENTOS_API_VERSION,\n\tcontractMajor: AGENTOS_CONTRACT_MAJOR,\n\tcontractHash: AGENTOS_CONTRACT_HASH,\n\tcapabilities: AGENTOS_CAPABILITIES,\n} as const;\n\nexport namespace Input {\n\texport type ActorCodeEvaluationResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\tvalue?: JsonValue | null;\n\t};\n\texport type ActorCodeExecutionResult = {\n\t\texecution?: ActorExecutionDescriptor | null;\n\t\toutcome: ActorExecutionOutcome;\n\t\texitCode?: number | null;\n\t\terror?: ActorExecutionError | null;\n\t\tstdout?: FileBytes | null;\n\t\tstderr?: FileBytes | null;\n\t\tstdoutTruncated?: boolean | null;\n\t\tstderrTruncated?: boolean | null;\n\t};\n\texport type ActorContextDescriptor = {\n\t\tcontext: ActorContextId;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t};\n\texport type ActorContextId = {\n\t\tgeneration: number | bigint;\n\t\tcontextId: string;\n\t};\n\texport type ActorCronJob = {\n\t\tname: string;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\toptions: ActorSpawnOptions;\n\t\tconfigRevision: number | bigint;\n\t\tnextRunAtMs: number | bigint;\n\t\tlastRunAtMs?: number | bigint | null;\n\t\tmaxHistory: number | bigint;\n\t};\n\texport type ActorExecOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tcaptureStdio?: boolean | null;\n\t};\n\texport type ActorExecResult = {\n\t\tstatus: ActorExitStatus;\n\t\tstdout: string;\n\t\tstderr: string;\n\t};\n\texport type ActorExecutionDescriptor = {\n\t\texecutionId: string;\n\t\tgeneration: number | bigint;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tprocessId?: string | null;\n\t\tpid?: number | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t\tlastOutcome?: ActorExecutionOutcome | null;\n\t\tlastExitCode?: number | null;\n\t};\n\texport type ActorExecutionError = {\n\t\tcode: string;\n\t\tname: string;\n\t\tmessage: string;\n\t\tstack?: string | null;\n\t\tdetails?: JsonValue | null;\n\t};\n\texport type ActorExecutionOutcome =\n\t\t| \"succeeded\"\n\t\t| \"failed\"\n\t\t| \"cancelled\"\n\t\t| \"timedOut\";\n\texport type ActorExecutionOutputOptions = {\n\t\tcapture?: ActorOutputCapture | null;\n\t\tretainEvents?: boolean | null;\n\t};\n\texport type ActorExecutionPtyOptions = {\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorExitStatus = {\n\t\texitCode: number;\n\t\tsignal?: ActorSignal | null;\n\t};\n\texport type ActorFetchStreamChunk = { body: FileBytes; done: boolean };\n\texport type ActorFetchStreamHead = {\n\t\tstream: ActorFetchStreamId;\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t};\n\texport type ActorFetchStreamId = {\n\t\tgeneration: number | bigint;\n\t\tstreamId: string;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorFileStat = {\n\t\tmode: number;\n\t\tsizeBytes: number | bigint;\n\t\tblocks: number | bigint;\n\t\tdev: number | bigint;\n\t\trdev: number | bigint;\n\t\tisDirectory: boolean;\n\t\tisSymbolicLink: boolean;\n\t\tatimeMs: number;\n\t\tmtimeMs: number;\n\t\tctimeMs: number;\n\t\tbirthtimeMs: number;\n\t\tino: number | bigint;\n\t\tnlink: number | bigint;\n\t\tuid: number;\n\t\tgid: number;\n\t};\n\texport type ActorHttpRequest = {\n\t\tport: number;\n\t\tpath: string;\n\t\tmethod?: string;\n\t\theaders?: { [key in string]?: string };\n\t\tbody?: FileContentInput | null;\n\t};\n\texport type ActorHttpResponse = {\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t\tbody: FileBytes;\n\t};\n\texport type ActorInlineExecutionOptions = {\n\t\tprocess?: ActorLanguageExecutionOptions;\n\t\tinputs?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type ActorInstalledSoftware = {\n\t\tpackageId: string;\n\t\tdigest: string;\n\t\tsizeBytes: number | bigint;\n\t\tpackageName: string;\n\t\tversion: string;\n\t\tcommands: Array<string>;\n\t};\n\texport type ActorJavaScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tformat?: ActorJavaScriptModuleFormat | null;\n\t\tfilePath?: string | null;\n\t};\n\texport type ActorJavaScriptModuleFormat = \"module\" | \"commonJs\";\n\texport type ActorLanguageExecutionOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorLanguageSpawnOptions = {\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t};\n\texport type ActorNpmInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tfrozen?: boolean | null;\n\t\tdev?: boolean | null;\n\t\tglobal?: boolean | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorOutputCapture = \"none\" | \"stderr\" | \"all\";\n\texport type ActorOutputEvent = {\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ActorOutputReplay = {\n\t\tgeneration: number | bigint;\n\t\tevents: Array<ActorOutputEvent>;\n\t\tnextCursor?: number | bigint | null;\n\t\thasMore: boolean;\n\t\ttruncated: boolean;\n\t\tend?: ActorExitStatus | null;\n\t};\n\texport type ActorPreview = {\n\t\ttoken: string;\n\t\tpath: string;\n\t\tport: number;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorProcessExit = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorProcessId = { generation: number | bigint; pid: number };\n\texport type ActorProcessInfo = {\n\t\tprocess: ActorProcessId;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\trunning: boolean;\n\t\texit?: ActorExitStatus | null;\n\t\tstartedAtMs: number | bigint;\n\t};\n\texport type ActorProcessTree = {\n\t\tgeneration: number | bigint;\n\t\troots: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorProcessTreeNode = {\n\t\tprocess?: ActorProcessId | null;\n\t\tpid: number;\n\t\tppid: number;\n\t\tpgid: number;\n\t\tsid: number;\n\t\tdriver: string;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\tcwd: string;\n\t\tstatus: ProcessStatus;\n\t\texit?: ActorExitStatus | null;\n\t\tstartTimeMs: number;\n\t\texitTimeMs?: number | null;\n\t\tchildren: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorPythonInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tupgrade?: boolean | null;\n\t\trequirementsFile?: string | null;\n\t\tindexUrl?: string | null;\n\t\textraIndexUrls?: Array<string>;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorSignal = \"SIGTERM\" | \"SIGINT\" | \"SIGKILL\";\n\texport type ActorSpawnOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdio?: SpawnStdio | null;\n\t\tstdinFd?: number | null;\n\t\tstdoutFd?: number | null;\n\t\tstderrFd?: number | null;\n\t};\n\texport type ActorTerminalExit = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorTerminalId = {\n\t\tgeneration: number | bigint;\n\t\tshellId: string;\n\t};\n\texport type ActorTerminalOptions = {\n\t\tcommand?: string | null;\n\t\targs?: Array<string>;\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorTypeScriptCheckOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorTypeScriptCheckResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\thasErrors?: boolean | null;\n\t\tdiagnostics: Array<ActorTypeScriptDiagnostic>;\n\t};\n\texport type ActorTypeScriptDiagnostic = {\n\t\tcode: number;\n\t\tcategory: string;\n\t\tmessage: string;\n\t\tfilePath?: string | null;\n\t\tline?: number | null;\n\t\tcolumn?: number | null;\n\t};\n\texport type ActorTypeScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type AgentOsActorConfig = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts: Array<number>;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem: HostedFilesystemConfig;\n\t\tdefaultSoftware?: boolean | null;\n\t\tsoftware: Array<RemotePackageSource>;\n\t\tpreview: PreviewPolicy;\n\t};\n\texport type AgentOsActorConfigInput = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts?: Array<number> | null;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem?: HostedFilesystemConfigInput | null;\n\t\t/**\n\t\t * Install agentOS default software (coreutils, sed, grep, gawk, findutils,\n\t\t * diffutils, tar, gzip) before `software`. Defaults to true.\n\t\t */\n\t\tdefaultSoftware?: boolean | null;\n\t\tsoftware?: Array<RemotePackageSourceInput> | null;\n\t\tpreview?: PreviewPolicyInput | null;\n\t};\n\texport type AgentOsActorCreateInput = {\n\t\tconfig?: AgentOsActorConfigInput | null;\n\t};\n\texport type AgentOsLimits = {\n\t\tagentosPackages?: AgentOsPackageLimits;\n\t\tresources?: ResourceLimits | null;\n\t\thttp?: HttpLimits | null;\n\t\ttls?: TlsLimits;\n\t\thostFunctions?: HostFunctionLimits | null;\n\t\tplugins?: PluginLimits | null;\n\t\tsqlite?: SqliteLimits | null;\n\t\tjsRuntime?: JsRuntimeLimits | null;\n\t\tpython?: PythonLimits | null;\n\t\twasm?: WasmLimits | null;\n\t\texecution?: ExecutionLimits;\n\t\tprocess?: ProcessLimits | null;\n\t};\n\texport type AgentOsPackageLimits = { maxMounts?: number | bigint };\n\texport type ConfigApplyState =\n\t\t| \"applying\"\n\t\t| \"ready\"\n\t\t| \"restart_required\"\n\t\t| \"failed\";\n\texport type ConfigGet = Record<string, never>;\n\texport type ConfigPatch = {\n\t\tpatch: JsonValue;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSet = {\n\t\tconfig: AgentOsActorConfigInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSnapshot = {\n\t\trevision: number | bigint;\n\t\tdesired: AgentOsActorConfig;\n\t\tappliedRevision?: number | bigint | null;\n\t\tstate: ConfigApplyState;\n\t\tissues: Array<VmIssue>;\n\t\tcreatedAtMs: number | bigint;\n\t\tupdatedAtMs: number | bigint;\n\t};\n\texport type ContextsCreate = { contextId: string };\n\texport type ContextsDelete = { context: ActorContextId };\n\texport type ContextsGet = { context: ActorContextId };\n\texport type ContextsList = Record<string, never>;\n\texport type ContextsReset = { context: ActorContextId };\n\texport type CoreSidecarStatus = { state: string; activeVmCount: number };\n\texport type CronCancel = { name: string };\n\texport type CronFiredEvent = {\n\t\tscheduleName: string;\n\t\tprocess?: ActorProcessId | null;\n\t\terror?: CronLaunchError | null;\n\t\tfiredAtMs: number | bigint;\n\t};\n\texport type CronLaunchError = { code: string; message: string };\n\texport type CronList = Record<string, never>;\n\texport type CronSchedule = {\n\t\tname?: string | null;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t\tmaxHistory?: number | bigint | null;\n\t};\n\texport type DirEntryType = \"file\" | \"directory\" | \"symlink\";\n\texport type ExecutionLimits = {\n\t\tcompletedTtlMs?: number | bigint;\n\t\tmaxCompletedExecutions?: number | bigint;\n\t\tliveExecutionWarningThreshold?: number | bigint;\n\t};\n\texport type FileBytes = Uint8Array;\n\texport type FileContentInput = string | Uint8Array;\n\texport type FilesystemEntry = {\n\t\tpath: string;\n\t\ttype: DirEntryType;\n\t\tmode: string;\n\t\tuid: number;\n\t\tgid: number;\n\t\tcontent?: string | null;\n\t\tencoding?: FilesystemEntryEncoding | null;\n\t\ttarget?: string | null;\n\t};\n\texport type FilesystemEntryEncoding = \"utf8\" | \"base64\";\n\texport type FilesystemExists = { path: string };\n\texport type FilesystemExport = { maxBytes?: number | null };\n\texport type FilesystemListMounts = Record<string, never>;\n\texport type FilesystemMkdir = { path: string; recursive?: boolean };\n\texport type FilesystemMove = { from: string; to: string };\n\texport type FilesystemReadFile = { path: string; maxBytes?: number | null };\n\texport type FilesystemReadFiles = {\n\t\tpaths: Array<string>;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type FilesystemReaddir = { path: string };\n\texport type FilesystemReaddirEntries = { path: string };\n\texport type FilesystemReaddirRecursive = {\n\t\tpath: string;\n\t\tmaxDepth?: number | null;\n\t\texclude?: Array<string>;\n\t};\n\texport type FilesystemRemove = { path: string; recursive?: boolean };\n\texport type FilesystemSnapshotEntries = { entries: Array<FilesystemEntry> };\n\texport type FilesystemSnapshotExport = {\n\t\tformat: string;\n\t\tfilesystem: FilesystemSnapshotEntries;\n\t};\n\texport type FilesystemStat = { path: string };\n\texport type FilesystemWriteEntry = {\n\t\tpath: string;\n\t\tcontent: FileContentInput;\n\t};\n\texport type FilesystemWriteFile = { path: string; content: FileContentInput };\n\texport type FilesystemWriteFiles = { entries: Array<FilesystemWriteEntry> };\n\texport type FsPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpaths?: Array<string> | null;\n\t};\n\texport type FsPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<FsPermissionRule>;\n\texport type HostFunctionLimits = {\n\t\tdefaultTimeoutMs?: number | bigint | null;\n\t\tmaxTimeoutMs?: number | bigint | null;\n\t\tmaxRegisteredCollections?: number | bigint | null;\n\t\tmaxRegisteredFunctionsPerVm?: number | bigint | null;\n\t\tmaxFunctionsPerCollection?: number | bigint | null;\n\t\tmaxSchemaBytes?: number | bigint | null;\n\t\tmaxExamplesPerFunction?: number | bigint | null;\n\t\tmaxExampleInputBytes?: number | bigint | null;\n\t};\n\texport type HostedFilesystemBackend = { type: \"durable\"; namespace: string };\n\texport type HostedFilesystemBackendInput = {\n\t\ttype: \"durable\";\n\t\tnamespace?: string | null;\n\t};\n\texport type HostedFilesystemConfig = {\n\t\troot: HostedRootFilesystem;\n\t\tmounts: Array<HostedFilesystemMount>;\n\t};\n\texport type HostedFilesystemConfigInput = {\n\t\troot?: HostedRootFilesystemInput | null;\n\t\tmounts?: Array<HostedFilesystemMountInput>;\n\t};\n\texport type HostedFilesystemMount = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackend;\n\t\treadOnly: boolean;\n\t};\n\texport type HostedFilesystemMountInput = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackendInput;\n\t\treadOnly?: boolean;\n\t};\n\texport type HostedRootFilesystem =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace: string; readOnly: boolean };\n\texport type HostedRootFilesystemInput =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace?: string | null; readOnly?: boolean };\n\texport type HttpLimits = { maxFetchResponseBytes?: number | bigint | null };\n\texport type JavaScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorNpmInstallOptions;\n\t};\n\texport type JavaScriptNpmRunPackage = {\n\t\tpackageSpec: string;\n\t\tbinary?: string | null;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmRunScript = {\n\t\tscript: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JavaScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JsRuntimeLimits = {\n\t\tv8HeapLimitMb?: number | bigint | null;\n\t\tsyncRpcWaitTimeoutMs?: number | bigint | null;\n\t\tcpuTimeLimitMs?: number | bigint | null;\n\t\twallClockLimitMs?: number | bigint | null;\n\t\timportCacheMaterializeTimeoutMs?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tstdinBufferLimitBytes?: number | bigint | null;\n\t\teventPayloadLimitBytes?: number | bigint | null;\n\t\tv8IpcMaxFrameBytes?: number | bigint | null;\n\t};\n\texport type JsonValue =\n\t\t| number\n\t\t| string\n\t\t| boolean\n\t\t| Array<JsonValue>\n\t\t| { [key in string]?: JsonValue }\n\t\t| null;\n\texport type NetworkFetch = { request: ActorHttpRequest };\n\texport type NetworkFetchStreamCancel = { stream: ActorFetchStreamId };\n\texport type NetworkFetchStreamRead = {\n\t\tstream: ActorFetchStreamId;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type NetworkFetchStreamStart = { request: ActorHttpRequest };\n\texport type NetworkPreviewCreate = {\n\t\tport: number;\n\t\tttlMs?: number | bigint | null;\n\t};\n\texport type NetworkPreviewExpire = { token: string };\n\texport type PackageStartupStatus = {\n\t\trequiredTotal: number;\n\t\trequiredReady: number;\n\t\toptionalPreloadTotal: number;\n\t\toptionalPreloadReady: number;\n\t\toptionalPreloadFailed: number;\n\t\toptionalPreloadSkipped: number;\n\t\toptionalPreloadWarmedBytes: number | bigint;\n\t\toptionalPreloadDeadlineHit: boolean;\n\t\toptionalPreloadCoordinatorAvailable: boolean;\n\t};\n\texport type PatternPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpatterns?: Array<string> | null;\n\t};\n\texport type PatternPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<PatternPermissionRule>;\n\texport type PermissionMode = \"allow\" | \"deny\";\n\texport type Permissions = {\n\t\tfs?: FsPermissions | null;\n\t\tnetwork?: PatternPermissions | null;\n\t\tchildProcess?: PatternPermissions | null;\n\t\tprocess?: PatternPermissions | null;\n\t\tenv?: PatternPermissions | null;\n\t\thostFunction?: PatternPermissions | null;\n\t};\n\texport type PluginLimits = {\n\t\tmaxPersistedManifestBytes?: number | bigint | null;\n\t\tmaxPersistedManifestFileBytes?: number | bigint | null;\n\t};\n\texport type PreviewPolicy = {\n\t\tdefaultTtlMs: number | bigint;\n\t\tmaxTtlMs: number | bigint;\n\t\tmaxActive: number;\n\t};\n\texport type PreviewPolicyInput = {\n\t\tdefaultTtlMs?: number | bigint | null;\n\t\tmaxTtlMs?: number | bigint | null;\n\t\tmaxActive?: number | null;\n\t};\n\texport type ProcessExitEvent = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ProcessGet = { process: ActorProcessId };\n\texport type ProcessLimits = {\n\t\tmaxSpawnFileActions?: number | bigint | null;\n\t\tmaxSpawnFileActionBytes?: number | bigint | null;\n\t\tpendingStdinBytes?: number | bigint | null;\n\t\tpendingEventCount?: number | bigint | null;\n\t\tpendingEventBytes?: number | bigint | null;\n\t};\n\texport type ProcessList = Record<string, never>;\n\texport type ProcessOutputEvent = {\n\t\tprocess: ActorProcessId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ProcessOutputRead = {\n\t\tprocess: ActorProcessId;\n\t\tafter?: number | bigint | null;\n\t\tmaxEvents?: number | null;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type ProcessPtyResize = {\n\t\tprocess: ActorProcessId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type ProcessRun = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorExecOptions;\n\t};\n\texport type ProcessSignal = { process: ActorProcessId; signal: ActorSignal };\n\texport type ProcessSpawn = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t};\n\texport type ProcessStatus = \"running\" | \"exited\";\n\texport type ProcessStdinClose = { process: ActorProcessId };\n\texport type ProcessStdinWrite = {\n\t\tprocess: ActorProcessId;\n\t\tdata: FileContentInput;\n\t};\n\texport type ProcessStream = \"stdout\" | \"stderr\";\n\texport type ProcessTree = Record<string, never>;\n\texport type ProcessWait = { process: ActorProcessId };\n\texport type PythonEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecute = {\n\t\tsource: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonExecuteModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorPythonInstallOptions;\n\t};\n\texport type PythonLimits = {\n\t\toutputBufferMaxBytes?: number | bigint | null;\n\t\texecutionTimeoutMs?: number | bigint | null;\n\t\tmaxOldSpaceMb?: number | bigint | null;\n\t\tvfsRpcTimeoutMs?: number | bigint | null;\n\t};\n\texport type PythonSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type RemotePackageSource = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type RemotePackageSourceInput = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\t/**\n\t\t * Resolution metadata is accepted so a `v1.config.get` snapshot can be sent\n\t\t * back to `v1.config.set`. Core re-resolves the source and never trusts it.\n\t\t */\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type ResourceLimits = {\n\t\tcpuCount?: number | bigint | null;\n\t\tmaxProcesses?: number | bigint | null;\n\t\tmaxOpenFds?: number | bigint | null;\n\t\tmaxPipes?: number | bigint | null;\n\t\tmaxPtys?: number | bigint | null;\n\t\tmaxSockets?: number | bigint | null;\n\t\tmaxConnections?: number | bigint | null;\n\t\tmaxSocketBufferedBytes?: number | bigint | null;\n\t\tmaxSocketDatagramQueueLen?: number | bigint | null;\n\t\tmaxFilesystemBytes?: number | bigint | null;\n\t\tmaxInodeCount?: number | bigint | null;\n\t\tmaxBlockingReadMs?: number | bigint | null;\n\t\tmaxPreadBytes?: number | bigint | null;\n\t\tmaxFdWriteBytes?: number | bigint | null;\n\t\tmaxProcessArgvBytes?: number | bigint | null;\n\t\tmaxProcessEnvBytes?: number | bigint | null;\n\t\tmaxReaddirEntries?: number | bigint | null;\n\t\tmaxWasmFuel?: number | bigint | null;\n\t\tmaxWasmMemoryBytes?: number | bigint | null;\n\t\tmaxWasmStackBytes?: number | bigint | null;\n\t};\n\texport type RootSnapshotExport = {\n\t\tkind: SnapshotExportKind;\n\t\tsource: FilesystemSnapshotExport;\n\t};\n\texport type RulePermissions<T> = {\n\t\tdefault?: PermissionMode | null;\n\t\trules: Array<T>;\n\t};\n\texport type SnapshotExportKind = \"snapshot-export\";\n\texport type SoftwareInstall = {\n\t\tsource: RemotePackageSourceInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SoftwareList = Record<string, never>;\n\texport type SoftwareMutationResult = {\n\t\tsoftware?: ActorInstalledSoftware | null;\n\t\tsource: RemotePackageSource;\n\t\tconfig: ConfigSnapshot;\n\t};\n\texport type SoftwareUninstall = {\n\t\tpackageId: string;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SpawnStdio = \"pipe\" | \"inherit\";\n\texport type SqliteLimits = { maxResultBytes?: number | bigint | null };\n\texport type TerminalClose = { terminal: ActorTerminalId };\n\texport type TerminalExitEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type TerminalList = Record<string, never>;\n\texport type TerminalOpen = { options?: ActorTerminalOptions };\n\texport type TerminalOutputEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type TerminalOutputRead = {\n\t\tterminal: ActorTerminalId;\n\t\tafter?: number | bigint | null;\n\t\tmaxBytes?: number | null;\n\t\tmaxEvents?: number | null;\n\t};\n\texport type TerminalPtyResize = {\n\t\tterminal: ActorTerminalId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type TerminalStdinWrite = {\n\t\tterminal: ActorTerminalId;\n\t\tdata: FileContentInput;\n\t};\n\texport type TerminalWait = { terminal: ActorTerminalId };\n\texport type TlsLimits = { maxBufferedBytes?: number | bigint };\n\texport type TypeScriptCheck = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptCheckProject = {\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type TypeScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type VmBooted = {\n\t\tgeneration: number | bigint;\n\t\tconfigRevision: number | bigint;\n\t\tbootedAtMs: number | bigint;\n\t};\n\texport type VmGroupConfig = {\n\t\tgid: number;\n\t\tname: string;\n\t\tmembers: Array<string>;\n\t};\n\texport type VmIssue = {\n\t\tcode: string;\n\t\tmessage: string;\n\t\tatMs: number | bigint;\n\t};\n\texport type VmLifecycleState =\n\t\t| \"initializing\"\n\t\t| \"preloading\"\n\t\t| \"booting\"\n\t\t| \"ready\"\n\t\t| \"degraded\"\n\t\t| \"stopping\"\n\t\t| \"failed\";\n\texport type VmLimitWarning = {\n\t\tlimit: string;\n\t\tobserved: number | bigint;\n\t\tcapacity: number | bigint;\n\t\tmessage: string;\n\t};\n\texport type VmRestart = Record<string, never>;\n\texport type VmShutdown = {\n\t\tgeneration: number | bigint;\n\t\treason: string;\n\t\tshutdownAtMs: number | bigint;\n\t};\n\texport type VmStatus = Record<string, never>;\n\texport type VmStatusSnapshot = {\n\t\tlifecycle: VmLifecycleState;\n\t\tconfigState: ConfigApplyState;\n\t\tdesiredConfigRevision: number | bigint;\n\t\tappliedConfigRevision?: number | bigint | null;\n\t\tgeneration: number | bigint;\n\t\tlastBootAtMs?: number | bigint | null;\n\t\tlastShutdownAtMs?: number | bigint | null;\n\t\tpackages: PackageStartupStatus;\n\t\tissues: Array<VmIssue>;\n\t\tcore?: CoreSidecarStatus | null;\n\t};\n\texport type VmUserAccountConfig = {\n\t\tuid: number;\n\t\tgid: number;\n\t\tusername: string;\n\t\thomedir: string;\n\t\tshell: string;\n\t\tgecos?: string;\n\t\tsupplementaryGids: Array<number>;\n\t};\n\texport type VmUserConfig = {\n\t\tuid?: number;\n\t\tgid?: number;\n\t\teuid?: number;\n\t\tegid?: number;\n\t\tusername?: string;\n\t\thomedir?: string;\n\t\tshell?: string;\n\t\tgecos?: string;\n\t\tgroupName?: string;\n\t\tsupplementaryGids?: Array<number>;\n\t\taccounts?: Array<VmUserAccountConfig>;\n\t\tgroups?: Array<VmGroupConfig>;\n\t};\n\texport type WasmLimits = {\n\t\tmaxModuleFileBytes?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tsyncReadLimitBytes?: number | bigint | null;\n\t\tprewarmTimeoutMs?: number | bigint | null;\n\t\trunnerHeapLimitMb?: number | bigint | null;\n\t\trunnerCpuTimeLimitMs?: number | bigint | null;\n\t};\n}\n\nexport namespace Output {\n\texport type ActorCodeEvaluationResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\tvalue?: JsonValue | null;\n\t};\n\texport type ActorCodeExecutionResult = {\n\t\texecution?: ActorExecutionDescriptor | null;\n\t\toutcome: ActorExecutionOutcome;\n\t\texitCode?: number | null;\n\t\terror?: ActorExecutionError | null;\n\t\tstdout?: FileBytes | null;\n\t\tstderr?: FileBytes | null;\n\t\tstdoutTruncated?: boolean | null;\n\t\tstderrTruncated?: boolean | null;\n\t};\n\texport type ActorContextDescriptor = {\n\t\tcontext: ActorContextId;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t};\n\texport type ActorContextId = {\n\t\tgeneration: number | bigint;\n\t\tcontextId: string;\n\t};\n\texport type ActorCronJob = {\n\t\tname: string;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\toptions: ActorSpawnOptions;\n\t\tconfigRevision: number | bigint;\n\t\tnextRunAtMs: number | bigint;\n\t\tlastRunAtMs?: number | bigint | null;\n\t\tmaxHistory: number | bigint;\n\t};\n\texport type ActorExecOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tcaptureStdio?: boolean | null;\n\t};\n\texport type ActorExecResult = {\n\t\tstatus: ActorExitStatus;\n\t\tstdout: string;\n\t\tstderr: string;\n\t};\n\texport type ActorExecutionDescriptor = {\n\t\texecutionId: string;\n\t\tgeneration: number | bigint;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tprocessId?: string | null;\n\t\tpid?: number | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t\tlastOutcome?: ActorExecutionOutcome | null;\n\t\tlastExitCode?: number | null;\n\t};\n\texport type ActorExecutionError = {\n\t\tcode: string;\n\t\tname: string;\n\t\tmessage: string;\n\t\tstack?: string | null;\n\t\tdetails?: JsonValue | null;\n\t};\n\texport type ActorExecutionOutcome =\n\t\t| \"succeeded\"\n\t\t| \"failed\"\n\t\t| \"cancelled\"\n\t\t| \"timedOut\";\n\texport type ActorExecutionOutputOptions = {\n\t\tcapture?: ActorOutputCapture | null;\n\t\tretainEvents?: boolean | null;\n\t};\n\texport type ActorExecutionPtyOptions = {\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorExitStatus = {\n\t\texitCode: number;\n\t\tsignal?: ActorSignal | null;\n\t};\n\texport type ActorFetchStreamChunk = { body: FileBytes; done: boolean };\n\texport type ActorFetchStreamHead = {\n\t\tstream: ActorFetchStreamId;\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t};\n\texport type ActorFetchStreamId = {\n\t\tgeneration: number | bigint;\n\t\tstreamId: string;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorFileStat = {\n\t\tmode: number;\n\t\tsizeBytes: number | bigint;\n\t\tblocks: number | bigint;\n\t\tdev: number | bigint;\n\t\trdev: number | bigint;\n\t\tisDirectory: boolean;\n\t\tisSymbolicLink: boolean;\n\t\tatimeMs: number;\n\t\tmtimeMs: number;\n\t\tctimeMs: number;\n\t\tbirthtimeMs: number;\n\t\tino: number | bigint;\n\t\tnlink: number | bigint;\n\t\tuid: number;\n\t\tgid: number;\n\t};\n\texport type ActorHttpRequest = {\n\t\tport: number;\n\t\tpath: string;\n\t\tmethod?: string;\n\t\theaders?: { [key in string]?: string };\n\t\tbody?: FileContentInput | null;\n\t};\n\texport type ActorHttpResponse = {\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t\tbody: FileBytes;\n\t};\n\texport type ActorInlineExecutionOptions = {\n\t\tprocess?: ActorLanguageExecutionOptions;\n\t\tinputs?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type ActorInstalledSoftware = {\n\t\tpackageId: string;\n\t\tdigest: string;\n\t\tsizeBytes: number | bigint;\n\t\tpackageName: string;\n\t\tversion: string;\n\t\tcommands: Array<string>;\n\t};\n\texport type ActorJavaScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tformat?: ActorJavaScriptModuleFormat | null;\n\t\tfilePath?: string | null;\n\t};\n\texport type ActorJavaScriptModuleFormat = \"module\" | \"commonJs\";\n\texport type ActorLanguageExecutionOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorLanguageSpawnOptions = {\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t};\n\texport type ActorNpmInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tfrozen?: boolean | null;\n\t\tdev?: boolean | null;\n\t\tglobal?: boolean | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorOutputCapture = \"none\" | \"stderr\" | \"all\";\n\texport type ActorOutputEvent = {\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ActorOutputReplay = {\n\t\tgeneration: number | bigint;\n\t\tevents: Array<ActorOutputEvent>;\n\t\tnextCursor?: number | bigint | null;\n\t\thasMore: boolean;\n\t\ttruncated: boolean;\n\t\tend?: ActorExitStatus | null;\n\t};\n\texport type ActorPreview = {\n\t\ttoken: string;\n\t\tpath: string;\n\t\tport: number;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorProcessExit = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorProcessId = { generation: number | bigint; pid: number };\n\texport type ActorProcessInfo = {\n\t\tprocess: ActorProcessId;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\trunning: boolean;\n\t\texit?: ActorExitStatus | null;\n\t\tstartedAtMs: number | bigint;\n\t};\n\texport type ActorProcessTree = {\n\t\tgeneration: number | bigint;\n\t\troots: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorProcessTreeNode = {\n\t\tprocess?: ActorProcessId | null;\n\t\tpid: number;\n\t\tppid: number;\n\t\tpgid: number;\n\t\tsid: number;\n\t\tdriver: string;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\tcwd: string;\n\t\tstatus: ProcessStatus;\n\t\texit?: ActorExitStatus | null;\n\t\tstartTimeMs: number;\n\t\texitTimeMs?: number | null;\n\t\tchildren: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorPythonInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tupgrade?: boolean | null;\n\t\trequirementsFile?: string | null;\n\t\tindexUrl?: string | null;\n\t\textraIndexUrls?: Array<string>;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorSignal = \"SIGTERM\" | \"SIGINT\" | \"SIGKILL\";\n\texport type ActorSpawnOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdio?: SpawnStdio | null;\n\t\tstdinFd?: number | null;\n\t\tstdoutFd?: number | null;\n\t\tstderrFd?: number | null;\n\t};\n\texport type ActorTerminalExit = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorTerminalId = {\n\t\tgeneration: number | bigint;\n\t\tshellId: string;\n\t};\n\texport type ActorTerminalOptions = {\n\t\tcommand?: string | null;\n\t\targs?: Array<string>;\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorTypeScriptCheckOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorTypeScriptCheckResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\thasErrors?: boolean | null;\n\t\tdiagnostics: Array<ActorTypeScriptDiagnostic>;\n\t};\n\texport type ActorTypeScriptDiagnostic = {\n\t\tcode: number;\n\t\tcategory: string;\n\t\tmessage: string;\n\t\tfilePath?: string | null;\n\t\tline?: number | null;\n\t\tcolumn?: number | null;\n\t};\n\texport type ActorTypeScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type AgentOsActorConfig = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts: Array<number>;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem: HostedFilesystemConfig;\n\t\tdefaultSoftware?: boolean | null;\n\t\tsoftware: Array<RemotePackageSource>;\n\t\tpreview: PreviewPolicy;\n\t};\n\texport type AgentOsActorConfigInput = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts?: Array<number> | null;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem?: HostedFilesystemConfigInput | null;\n\t\t/**\n\t\t * Install agentOS default software (coreutils, sed, grep, gawk, findutils,\n\t\t * diffutils, tar, gzip) before `software`. Defaults to true.\n\t\t */\n\t\tdefaultSoftware?: boolean | null;\n\t\tsoftware?: Array<RemotePackageSourceInput> | null;\n\t\tpreview?: PreviewPolicyInput | null;\n\t};\n\texport type AgentOsActorCreateInput = {\n\t\tconfig?: AgentOsActorConfigInput | null;\n\t};\n\texport type AgentOsLimits = {\n\t\tagentosPackages?: AgentOsPackageLimits;\n\t\tresources?: ResourceLimits | null;\n\t\thttp?: HttpLimits | null;\n\t\ttls?: TlsLimits;\n\t\thostFunctions?: HostFunctionLimits | null;\n\t\tplugins?: PluginLimits | null;\n\t\tsqlite?: SqliteLimits | null;\n\t\tjsRuntime?: JsRuntimeLimits | null;\n\t\tpython?: PythonLimits | null;\n\t\twasm?: WasmLimits | null;\n\t\texecution?: ExecutionLimits;\n\t\tprocess?: ProcessLimits | null;\n\t};\n\texport type AgentOsPackageLimits = { maxMounts?: number | bigint };\n\texport type ConfigApplyState =\n\t\t| \"applying\"\n\t\t| \"ready\"\n\t\t| \"restart_required\"\n\t\t| \"failed\";\n\texport type ConfigGet = Record<string, never>;\n\texport type ConfigPatch = {\n\t\tpatch: JsonValue;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSet = {\n\t\tconfig: AgentOsActorConfigInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSnapshot = {\n\t\trevision: number | bigint;\n\t\tdesired: AgentOsActorConfig;\n\t\tappliedRevision?: number | bigint | null;\n\t\tstate: ConfigApplyState;\n\t\tissues: Array<VmIssue>;\n\t\tcreatedAtMs: number | bigint;\n\t\tupdatedAtMs: number | bigint;\n\t};\n\texport type ContextsCreate = { contextId: string };\n\texport type ContextsDelete = { context: ActorContextId };\n\texport type ContextsGet = { context: ActorContextId };\n\texport type ContextsList = Record<string, never>;\n\texport type ContextsReset = { context: ActorContextId };\n\texport type CoreSidecarStatus = { state: string; activeVmCount: number };\n\texport type CronCancel = { name: string };\n\texport type CronFiredEvent = {\n\t\tscheduleName: string;\n\t\tprocess?: ActorProcessId | null;\n\t\terror?: CronLaunchError | null;\n\t\tfiredAtMs: number | bigint;\n\t};\n\texport type CronLaunchError = { code: string; message: string };\n\texport type CronList = Record<string, never>;\n\texport type CronSchedule = {\n\t\tname?: string | null;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t\tmaxHistory?: number | bigint | null;\n\t};\n\texport type DirEntryType = \"file\" | \"directory\" | \"symlink\";\n\texport type ExecutionLimits = {\n\t\tcompletedTtlMs?: number | bigint;\n\t\tmaxCompletedExecutions?: number | bigint;\n\t\tliveExecutionWarningThreshold?: number | bigint;\n\t};\n\texport type FileBytes = Uint8Array;\n\texport type FileContentInput = string | Uint8Array;\n\texport type FilesystemEntry = {\n\t\tpath: string;\n\t\ttype: DirEntryType;\n\t\tmode: string;\n\t\tuid: number;\n\t\tgid: number;\n\t\tcontent?: string | null;\n\t\tencoding?: FilesystemEntryEncoding | null;\n\t\ttarget?: string | null;\n\t};\n\texport type FilesystemEntryEncoding = \"utf8\" | \"base64\";\n\texport type FilesystemExists = { path: string };\n\texport type FilesystemExport = { maxBytes?: number | null };\n\texport type FilesystemListMounts = Record<string, never>;\n\texport type FilesystemMkdir = { path: string; recursive?: boolean };\n\texport type FilesystemMove = { from: string; to: string };\n\texport type FilesystemReadFile = { path: string; maxBytes?: number | null };\n\texport type FilesystemReadFiles = {\n\t\tpaths: Array<string>;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type FilesystemReaddir = { path: string };\n\texport type FilesystemReaddirEntries = { path: string };\n\texport type FilesystemReaddirRecursive = {\n\t\tpath: string;\n\t\tmaxDepth?: number | null;\n\t\texclude?: Array<string>;\n\t};\n\texport type FilesystemRemove = { path: string; recursive?: boolean };\n\texport type FilesystemSnapshotEntries = { entries: Array<FilesystemEntry> };\n\texport type FilesystemSnapshotExport = {\n\t\tformat: string;\n\t\tfilesystem: FilesystemSnapshotEntries;\n\t};\n\texport type FilesystemStat = { path: string };\n\texport type FilesystemWriteEntry = {\n\t\tpath: string;\n\t\tcontent: FileContentInput;\n\t};\n\texport type FilesystemWriteFile = { path: string; content: FileContentInput };\n\texport type FilesystemWriteFiles = { entries: Array<FilesystemWriteEntry> };\n\texport type FsPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpaths?: Array<string> | null;\n\t};\n\texport type FsPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<FsPermissionRule>;\n\texport type HostFunctionLimits = {\n\t\tdefaultTimeoutMs?: number | bigint | null;\n\t\tmaxTimeoutMs?: number | bigint | null;\n\t\tmaxRegisteredCollections?: number | bigint | null;\n\t\tmaxRegisteredFunctionsPerVm?: number | bigint | null;\n\t\tmaxFunctionsPerCollection?: number | bigint | null;\n\t\tmaxSchemaBytes?: number | bigint | null;\n\t\tmaxExamplesPerFunction?: number | bigint | null;\n\t\tmaxExampleInputBytes?: number | bigint | null;\n\t};\n\texport type HostedFilesystemBackend = { type: \"durable\"; namespace: string };\n\texport type HostedFilesystemBackendInput = {\n\t\ttype: \"durable\";\n\t\tnamespace?: string | null;\n\t};\n\texport type HostedFilesystemConfig = {\n\t\troot: HostedRootFilesystem;\n\t\tmounts: Array<HostedFilesystemMount>;\n\t};\n\texport type HostedFilesystemConfigInput = {\n\t\troot?: HostedRootFilesystemInput | null;\n\t\tmounts?: Array<HostedFilesystemMountInput>;\n\t};\n\texport type HostedFilesystemMount = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackend;\n\t\treadOnly: boolean;\n\t};\n\texport type HostedFilesystemMountInput = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackendInput;\n\t\treadOnly?: boolean;\n\t};\n\texport type HostedRootFilesystem =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace: string; readOnly: boolean };\n\texport type HostedRootFilesystemInput =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace?: string | null; readOnly?: boolean };\n\texport type HttpLimits = { maxFetchResponseBytes?: number | bigint | null };\n\texport type JavaScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorNpmInstallOptions;\n\t};\n\texport type JavaScriptNpmRunPackage = {\n\t\tpackageSpec: string;\n\t\tbinary?: string | null;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmRunScript = {\n\t\tscript: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JavaScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JsRuntimeLimits = {\n\t\tv8HeapLimitMb?: number | bigint | null;\n\t\tsyncRpcWaitTimeoutMs?: number | bigint | null;\n\t\tcpuTimeLimitMs?: number | bigint | null;\n\t\twallClockLimitMs?: number | bigint | null;\n\t\timportCacheMaterializeTimeoutMs?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tstdinBufferLimitBytes?: number | bigint | null;\n\t\teventPayloadLimitBytes?: number | bigint | null;\n\t\tv8IpcMaxFrameBytes?: number | bigint | null;\n\t};\n\texport type JsonValue =\n\t\t| number\n\t\t| string\n\t\t| boolean\n\t\t| Array<JsonValue>\n\t\t| { [key in string]?: JsonValue }\n\t\t| null;\n\texport type NetworkFetch = { request: ActorHttpRequest };\n\texport type NetworkFetchStreamCancel = { stream: ActorFetchStreamId };\n\texport type NetworkFetchStreamRead = {\n\t\tstream: ActorFetchStreamId;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type NetworkFetchStreamStart = { request: ActorHttpRequest };\n\texport type NetworkPreviewCreate = {\n\t\tport: number;\n\t\tttlMs?: number | bigint | null;\n\t};\n\texport type NetworkPreviewExpire = { token: string };\n\texport type PackageStartupStatus = {\n\t\trequiredTotal: number;\n\t\trequiredReady: number;\n\t\toptionalPreloadTotal: number;\n\t\toptionalPreloadReady: number;\n\t\toptionalPreloadFailed: number;\n\t\toptionalPreloadSkipped: number;\n\t\toptionalPreloadWarmedBytes: number | bigint;\n\t\toptionalPreloadDeadlineHit: boolean;\n\t\toptionalPreloadCoordinatorAvailable: boolean;\n\t};\n\texport type PatternPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpatterns?: Array<string> | null;\n\t};\n\texport type PatternPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<PatternPermissionRule>;\n\texport type PermissionMode = \"allow\" | \"deny\";\n\texport type Permissions = {\n\t\tfs?: FsPermissions | null;\n\t\tnetwork?: PatternPermissions | null;\n\t\tchildProcess?: PatternPermissions | null;\n\t\tprocess?: PatternPermissions | null;\n\t\tenv?: PatternPermissions | null;\n\t\thostFunction?: PatternPermissions | null;\n\t};\n\texport type PluginLimits = {\n\t\tmaxPersistedManifestBytes?: number | bigint | null;\n\t\tmaxPersistedManifestFileBytes?: number | bigint | null;\n\t};\n\texport type PreviewPolicy = {\n\t\tdefaultTtlMs: number | bigint;\n\t\tmaxTtlMs: number | bigint;\n\t\tmaxActive: number;\n\t};\n\texport type PreviewPolicyInput = {\n\t\tdefaultTtlMs?: number | bigint | null;\n\t\tmaxTtlMs?: number | bigint | null;\n\t\tmaxActive?: number | null;\n\t};\n\texport type ProcessExitEvent = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ProcessGet = { process: ActorProcessId };\n\texport type ProcessLimits = {\n\t\tmaxSpawnFileActions?: number | bigint | null;\n\t\tmaxSpawnFileActionBytes?: number | bigint | null;\n\t\tpendingStdinBytes?: number | bigint | null;\n\t\tpendingEventCount?: number | bigint | null;\n\t\tpendingEventBytes?: number | bigint | null;\n\t};\n\texport type ProcessList = Record<string, never>;\n\texport type ProcessOutputEvent = {\n\t\tprocess: ActorProcessId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ProcessOutputRead = {\n\t\tprocess: ActorProcessId;\n\t\tafter?: number | bigint | null;\n\t\tmaxEvents?: number | null;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type ProcessPtyResize = {\n\t\tprocess: ActorProcessId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type ProcessRun = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorExecOptions;\n\t};\n\texport type ProcessSignal = { process: ActorProcessId; signal: ActorSignal };\n\texport type ProcessSpawn = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t};\n\texport type ProcessStatus = \"running\" | \"exited\";\n\texport type ProcessStdinClose = { process: ActorProcessId };\n\texport type ProcessStdinWrite = {\n\t\tprocess: ActorProcessId;\n\t\tdata: FileContentInput;\n\t};\n\texport type ProcessStream = \"stdout\" | \"stderr\";\n\texport type ProcessTree = Record<string, never>;\n\texport type ProcessWait = { process: ActorProcessId };\n\texport type PythonEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecute = {\n\t\tsource: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonExecuteModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorPythonInstallOptions;\n\t};\n\texport type PythonLimits = {\n\t\toutputBufferMaxBytes?: number | bigint | null;\n\t\texecutionTimeoutMs?: number | bigint | null;\n\t\tmaxOldSpaceMb?: number | bigint | null;\n\t\tvfsRpcTimeoutMs?: number | bigint | null;\n\t};\n\texport type PythonSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type RemotePackageSource = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type RemotePackageSourceInput = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\t/**\n\t\t * Resolution metadata is accepted so a `v1.config.get` snapshot can be sent\n\t\t * back to `v1.config.set`. Core re-resolves the source and never trusts it.\n\t\t */\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type ResourceLimits = {\n\t\tcpuCount?: number | bigint | null;\n\t\tmaxProcesses?: number | bigint | null;\n\t\tmaxOpenFds?: number | bigint | null;\n\t\tmaxPipes?: number | bigint | null;\n\t\tmaxPtys?: number | bigint | null;\n\t\tmaxSockets?: number | bigint | null;\n\t\tmaxConnections?: number | bigint | null;\n\t\tmaxSocketBufferedBytes?: number | bigint | null;\n\t\tmaxSocketDatagramQueueLen?: number | bigint | null;\n\t\tmaxFilesystemBytes?: number | bigint | null;\n\t\tmaxInodeCount?: number | bigint | null;\n\t\tmaxBlockingReadMs?: number | bigint | null;\n\t\tmaxPreadBytes?: number | bigint | null;\n\t\tmaxFdWriteBytes?: number | bigint | null;\n\t\tmaxProcessArgvBytes?: number | bigint | null;\n\t\tmaxProcessEnvBytes?: number | bigint | null;\n\t\tmaxReaddirEntries?: number | bigint | null;\n\t\tmaxWasmFuel?: number | bigint | null;\n\t\tmaxWasmMemoryBytes?: number | bigint | null;\n\t\tmaxWasmStackBytes?: number | bigint | null;\n\t};\n\texport type RootSnapshotExport = {\n\t\tkind: SnapshotExportKind;\n\t\tsource: FilesystemSnapshotExport;\n\t};\n\texport type RulePermissions<T> = {\n\t\tdefault?: PermissionMode | null;\n\t\trules: Array<T>;\n\t};\n\texport type SnapshotExportKind = \"snapshot-export\";\n\texport type SoftwareInstall = {\n\t\tsource: RemotePackageSourceInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SoftwareList = Record<string, never>;\n\texport type SoftwareMutationResult = {\n\t\tsoftware?: ActorInstalledSoftware | null;\n\t\tsource: RemotePackageSource;\n\t\tconfig: ConfigSnapshot;\n\t};\n\texport type SoftwareUninstall = {\n\t\tpackageId: string;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SpawnStdio = \"pipe\" | \"inherit\";\n\texport type SqliteLimits = { maxResultBytes?: number | bigint | null };\n\texport type TerminalClose = { terminal: ActorTerminalId };\n\texport type TerminalExitEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type TerminalList = Record<string, never>;\n\texport type TerminalOpen = { options?: ActorTerminalOptions };\n\texport type TerminalOutputEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type TerminalOutputRead = {\n\t\tterminal: ActorTerminalId;\n\t\tafter?: number | bigint | null;\n\t\tmaxBytes?: number | null;\n\t\tmaxEvents?: number | null;\n\t};\n\texport type TerminalPtyResize = {\n\t\tterminal: ActorTerminalId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type TerminalStdinWrite = {\n\t\tterminal: ActorTerminalId;\n\t\tdata: FileContentInput;\n\t};\n\texport type TerminalWait = { terminal: ActorTerminalId };\n\texport type TlsLimits = { maxBufferedBytes?: number | bigint };\n\texport type TypeScriptCheck = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptCheckProject = {\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type TypeScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type VmBooted = {\n\t\tgeneration: number | bigint;\n\t\tconfigRevision: number | bigint;\n\t\tbootedAtMs: number | bigint;\n\t};\n\texport type VmGroupConfig = {\n\t\tgid: number;\n\t\tname: string;\n\t\tmembers: Array<string>;\n\t};\n\texport type VmIssue = {\n\t\tcode: string;\n\t\tmessage: string;\n\t\tatMs: number | bigint;\n\t};\n\texport type VmLifecycleState =\n\t\t| \"initializing\"\n\t\t| \"preloading\"\n\t\t| \"booting\"\n\t\t| \"ready\"\n\t\t| \"degraded\"\n\t\t| \"stopping\"\n\t\t| \"failed\";\n\texport type VmLimitWarning = {\n\t\tlimit: string;\n\t\tobserved: number | bigint;\n\t\tcapacity: number | bigint;\n\t\tmessage: string;\n\t};\n\texport type VmRestart = Record<string, never>;\n\texport type VmShutdown = {\n\t\tgeneration: number | bigint;\n\t\treason: string;\n\t\tshutdownAtMs: number | bigint;\n\t};\n\texport type VmStatus = Record<string, never>;\n\texport type VmStatusSnapshot = {\n\t\tlifecycle: VmLifecycleState;\n\t\tconfigState: ConfigApplyState;\n\t\tdesiredConfigRevision: number | bigint;\n\t\tappliedConfigRevision?: number | bigint | null;\n\t\tgeneration: number | bigint;\n\t\tlastBootAtMs?: number | bigint | null;\n\t\tlastShutdownAtMs?: number | bigint | null;\n\t\tpackages: PackageStartupStatus;\n\t\tissues: Array<VmIssue>;\n\t\tcore?: CoreSidecarStatus | null;\n\t};\n\texport type VmUserAccountConfig = {\n\t\tuid: number;\n\t\tgid: number;\n\t\tusername: string;\n\t\thomedir: string;\n\t\tshell: string;\n\t\tgecos?: string;\n\t\tsupplementaryGids: Array<number>;\n\t};\n\texport type VmUserConfig = {\n\t\tuid?: number;\n\t\tgid?: number;\n\t\teuid?: number;\n\t\tegid?: number;\n\t\tusername?: string;\n\t\thomedir?: string;\n\t\tshell?: string;\n\t\tgecos?: string;\n\t\tgroupName?: string;\n\t\tsupplementaryGids?: Array<number>;\n\t\taccounts?: Array<VmUserAccountConfig>;\n\t\tgroups?: Array<VmGroupConfig>;\n\t};\n\texport type WasmLimits = {\n\t\tmaxModuleFileBytes?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tsyncReadLimitBytes?: number | bigint | null;\n\t\tprewarmTimeoutMs?: number | bigint | null;\n\t\trunnerHeapLimitMb?: number | bigint | null;\n\t\trunnerCpuTimeLimitMs?: number | bigint | null;\n\t};\n}\n\nexport type AgentOsActorCreateInput = Input.AgentOsActorCreateInput;\nexport type AgentOsRivetError = {\n\tgroup: string;\n\tcode: string;\n\tmessage: string;\n\tmetadata: Output.JsonValue | null;\n};\n\nexport type V1ConfigGetInput = Record<string, never>;\nexport type V1ConfigGetOutput = {\n\trevision: number | bigint;\n\tdesired: Output.AgentOsActorConfig;\n\tappliedRevision?: number | bigint | null;\n\tstate: Output.ConfigApplyState;\n\tissues: Array<Output.VmIssue>;\n\tcreatedAtMs: number | bigint;\n\tupdatedAtMs: number | bigint;\n};\nexport type V1ConfigPatchInput = {\n\tpatch: Input.JsonValue;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1ConfigPatchOutput = {\n\trevision: number | bigint;\n\tdesired: Output.AgentOsActorConfig;\n\tappliedRevision?: number | bigint | null;\n\tstate: Output.ConfigApplyState;\n\tissues: Array<Output.VmIssue>;\n\tcreatedAtMs: number | bigint;\n\tupdatedAtMs: number | bigint;\n};\nexport type V1ConfigSetInput = {\n\tconfig: Input.AgentOsActorConfigInput;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1ConfigSetOutput = {\n\trevision: number | bigint;\n\tdesired: Output.AgentOsActorConfig;\n\tappliedRevision?: number | bigint | null;\n\tstate: Output.ConfigApplyState;\n\tissues: Array<Output.VmIssue>;\n\tcreatedAtMs: number | bigint;\n\tupdatedAtMs: number | bigint;\n};\nexport type V1ContextsCreateInput = { contextId: string };\nexport type V1ContextsCreateOutput = {\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n};\nexport type V1ContextsDeleteInput = { context: Input.ActorContextId };\nexport type V1ContextsDeleteOutput = void;\nexport type V1ContextsGetInput = { context: Input.ActorContextId };\nexport type V1ContextsGetOutput = {\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n};\nexport type V1ContextsListInput = Record<string, never>;\nexport type V1ContextsListOutput = Array<{\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n}>;\nexport type V1ContextsResetInput = { context: Input.ActorContextId };\nexport type V1ContextsResetOutput = {\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n};\nexport type V1CronCancelInput = { name: string };\nexport type V1CronCancelOutput = boolean;\nexport type V1CronListInput = Record<string, never>;\nexport type V1CronListOutput = Array<{\n\tname: string;\n\texpression: string;\n\ttimezone?: string | null;\n\tcommand: string;\n\targs: Array<string>;\n\toptions: Output.ActorSpawnOptions;\n\tconfigRevision: number | bigint;\n\tnextRunAtMs: number | bigint;\n\tlastRunAtMs?: number | bigint | null;\n\tmaxHistory: number | bigint;\n}>;\nexport type V1CronScheduleInput = {\n\tname?: string | null;\n\texpression: string;\n\ttimezone?: string | null;\n\tcommand: string;\n\targs?: Array<string>;\n\toptions?: Input.ActorSpawnOptions;\n\tmaxHistory?: number | bigint | null;\n};\nexport type V1CronScheduleOutput = {\n\tname: string;\n\texpression: string;\n\ttimezone?: string | null;\n\tcommand: string;\n\targs: Array<string>;\n\toptions: Output.ActorSpawnOptions;\n\tconfigRevision: number | bigint;\n\tnextRunAtMs: number | bigint;\n\tlastRunAtMs?: number | bigint | null;\n\tmaxHistory: number | bigint;\n};\nexport type V1FilesystemExistsInput = { path: string };\nexport type V1FilesystemExistsOutput = boolean;\nexport type V1FilesystemExportInput = { maxBytes?: number | null };\nexport type V1FilesystemExportOutput = {\n\tkind: Output.SnapshotExportKind;\n\tsource: Output.FilesystemSnapshotExport;\n};\nexport type V1FilesystemListMountsInput = Record<string, never>;\nexport type V1FilesystemListMountsOutput = Array<{\n\tpath: string;\n\tkind: string;\n\treadOnly: boolean;\n}>;\nexport type V1FilesystemMkdirInput = { path: string; recursive?: boolean };\nexport type V1FilesystemMkdirOutput = void;\nexport type V1FilesystemMoveInput = { from: string; to: string };\nexport type V1FilesystemMoveOutput = void;\nexport type V1FilesystemReadFileInput = {\n\tpath: string;\n\tmaxBytes?: number | null;\n};\nexport type V1FilesystemReadFileOutput = Uint8Array;\nexport type V1FilesystemReadFilesInput = {\n\tpaths: Array<string>;\n\tmaxBytes?: number | null;\n};\nexport type V1FilesystemReadFilesOutput = Array<{\n\tpath: string;\n\tcontent?: Output.FileBytes | null;\n\terror?: string | null;\n}>;\nexport type V1FilesystemReaddirInput = { path: string };\nexport type V1FilesystemReaddirOutput = Array<string>;\nexport type V1FilesystemReaddirEntriesInput = { path: string };\nexport type V1FilesystemReaddirEntriesOutput = Array<{\n\tname: string;\n\tisDirectory: boolean;\n\tisSymbolicLink: boolean;\n}>;\nexport type V1FilesystemReaddirRecursiveInput = {\n\tpath: string;\n\tmaxDepth?: number | null;\n\texclude?: Array<string>;\n};\nexport type V1FilesystemReaddirRecursiveOutput = Array<{\n\tpath: string;\n\ttype: Output.DirEntryType;\n\tsizeBytes: number | bigint;\n}>;\nexport type V1FilesystemRemoveInput = { path: string; recursive?: boolean };\nexport type V1FilesystemRemoveOutput = void;\nexport type V1FilesystemStatInput = { path: string };\nexport type V1FilesystemStatOutput = {\n\tmode: number;\n\tsizeBytes: number | bigint;\n\tblocks: number | bigint;\n\tdev: number | bigint;\n\trdev: number | bigint;\n\tisDirectory: boolean;\n\tisSymbolicLink: boolean;\n\tatimeMs: number;\n\tmtimeMs: number;\n\tctimeMs: number;\n\tbirthtimeMs: number;\n\tino: number | bigint;\n\tnlink: number | bigint;\n\tuid: number;\n\tgid: number;\n};\nexport type V1FilesystemWriteFileInput = {\n\tpath: string;\n\tcontent: Input.FileContentInput;\n};\nexport type V1FilesystemWriteFileOutput = void;\nexport type V1FilesystemWriteFilesInput = {\n\tentries: Array<Input.FilesystemWriteEntry>;\n};\nexport type V1FilesystemWriteFilesOutput = Array<{\n\tpath: string;\n\tsuccess: boolean;\n\terror?: string | null;\n}>;\nexport type V1JavaScriptEvaluateInput = {\n\texpression: string;\n\toptions?: Input.ActorJavaScriptExecutionOptions;\n};\nexport type V1JavaScriptEvaluateOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\tvalue?: Output.JsonValue | null;\n};\nexport type V1JavaScriptExecuteInput = {\n\tsource: string;\n\toptions?: Input.ActorJavaScriptExecutionOptions;\n};\nexport type V1JavaScriptExecuteOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptExecuteFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1JavaScriptExecuteFileOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptNpmInstallInput = {\n\tpackages?: Array<string>;\n\toptions?: Input.ActorNpmInstallOptions;\n};\nexport type V1JavaScriptNpmInstallOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptNpmRunPackageInput = {\n\tpackageSpec: string;\n\tbinary?: string | null;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1JavaScriptNpmRunPackageOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptNpmRunScriptInput = {\n\tscript: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1JavaScriptNpmRunScriptOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptSpawnInput = {\n\tsource: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1JavaScriptSpawnOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1JavaScriptSpawnFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1JavaScriptSpawnFileOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1NetworkFetchInput = { request: Input.ActorHttpRequest };\nexport type V1NetworkFetchOutput = {\n\tstatus: number;\n\tstatusText: string;\n\theaders: Array<[string, string]>;\n\tbody: Output.FileBytes;\n};\nexport type V1NetworkFetchStreamCancelInput = {\n\tstream: Input.ActorFetchStreamId;\n};\nexport type V1NetworkFetchStreamCancelOutput = void;\nexport type V1NetworkFetchStreamReadInput = {\n\tstream: Input.ActorFetchStreamId;\n\tmaxBytes?: number | null;\n};\nexport type V1NetworkFetchStreamReadOutput = {\n\tbody: Output.FileBytes;\n\tdone: boolean;\n};\nexport type V1NetworkFetchStreamStartInput = {\n\trequest: Input.ActorHttpRequest;\n};\nexport type V1NetworkFetchStreamStartOutput = {\n\tstream: Output.ActorFetchStreamId;\n\tstatus: number;\n\tstatusText: string;\n\theaders: Array<[string, string]>;\n};\nexport type V1NetworkPreviewCreateInput = {\n\tport: number;\n\tttlMs?: number | bigint | null;\n};\nexport type V1NetworkPreviewCreateOutput = {\n\ttoken: string;\n\tpath: string;\n\tport: number;\n\texpiresAtMs: number | bigint;\n};\nexport type V1NetworkPreviewExpireInput = { token: string };\nexport type V1NetworkPreviewExpireOutput = boolean;\nexport type V1ProcessGetInput = { process: Input.ActorProcessId };\nexport type V1ProcessGetOutput = {\n\tprocess: Output.ActorProcessId;\n\tcommand: string;\n\targs: Array<string>;\n\trunning: boolean;\n\texit?: Output.ActorExitStatus | null;\n\tstartedAtMs: number | bigint;\n};\nexport type V1ProcessListInput = Record<string, never>;\nexport type V1ProcessListOutput = Array<{\n\tprocess: Output.ActorProcessId;\n\tcommand: string;\n\targs: Array<string>;\n\trunning: boolean;\n\texit?: Output.ActorExitStatus | null;\n\tstartedAtMs: number | bigint;\n}>;\nexport type V1ProcessOutputReadInput = {\n\tprocess: Input.ActorProcessId;\n\tafter?: number | bigint | null;\n\tmaxEvents?: number | null;\n\tmaxBytes?: number | null;\n};\nexport type V1ProcessOutputReadOutput = {\n\tgeneration: number | bigint;\n\tevents: Array<Output.ActorOutputEvent>;\n\tnextCursor?: number | bigint | null;\n\thasMore: boolean;\n\ttruncated: boolean;\n\tend?: Output.ActorExitStatus | null;\n};\nexport type V1ProcessPtyResizeInput = {\n\tprocess: Input.ActorProcessId;\n\tcols: number;\n\trows: number;\n};\nexport type V1ProcessPtyResizeOutput = void;\nexport type V1ProcessRunInput = {\n\tcommand: string;\n\targs?: Array<string>;\n\toptions?: Input.ActorExecOptions;\n};\nexport type V1ProcessRunOutput = {\n\tstatus: Output.ActorExitStatus;\n\tstdout: string;\n\tstderr: string;\n};\nexport type V1ProcessSignalInput = {\n\tprocess: Input.ActorProcessId;\n\tsignal: Input.ActorSignal;\n};\nexport type V1ProcessSignalOutput = void;\nexport type V1ProcessSpawnInput = {\n\tcommand: string;\n\targs?: Array<string>;\n\toptions?: Input.ActorSpawnOptions;\n};\nexport type V1ProcessSpawnOutput = { generation: number | bigint; pid: number };\nexport type V1ProcessStdinCloseInput = { process: Input.ActorProcessId };\nexport type V1ProcessStdinCloseOutput = void;\nexport type V1ProcessStdinWriteInput = {\n\tprocess: Input.ActorProcessId;\n\tdata: Input.FileContentInput;\n};\nexport type V1ProcessStdinWriteOutput = void;\nexport type V1ProcessTreeInput = Record<string, never>;\nexport type V1ProcessTreeOutput = {\n\tgeneration: number | bigint;\n\troots: Array<Output.ActorProcessTreeNode>;\n};\nexport type V1ProcessWaitInput = { process: Input.ActorProcessId };\nexport type V1ProcessWaitOutput = {\n\tprocess: Output.ActorProcessId;\n\tstatus: Output.ActorExitStatus;\n};\nexport type V1PythonEvaluateInput = {\n\texpression: string;\n\toptions?: Input.ActorInlineExecutionOptions;\n};\nexport type V1PythonEvaluateOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\tvalue?: Output.JsonValue | null;\n};\nexport type V1PythonExecuteInput = {\n\tsource: string;\n\toptions?: Input.ActorInlineExecutionOptions;\n};\nexport type V1PythonExecuteOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonExecuteFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1PythonExecuteFileOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonExecuteModuleInput = {\n\tmodule: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1PythonExecuteModuleOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonInstallInput = {\n\tpackages?: Array<string>;\n\toptions?: Input.ActorPythonInstallOptions;\n};\nexport type V1PythonInstallOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonSpawnInput = {\n\tsource: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1PythonSpawnOutput = { generation: number | bigint; pid: number };\nexport type V1PythonSpawnFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1PythonSpawnFileOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1PythonSpawnModuleInput = {\n\tmodule: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1PythonSpawnModuleOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1SoftwareInstallInput = {\n\tsource: Input.RemotePackageSourceInput;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1SoftwareInstallOutput = {\n\tsoftware?: Output.ActorInstalledSoftware | null;\n\tsource: Output.RemotePackageSource;\n\tconfig: Output.ConfigSnapshot;\n};\nexport type V1SoftwareListInput = Record<string, never>;\nexport type V1SoftwareListOutput = Array<{\n\tpackageId: string;\n\tdigest: string;\n\tsizeBytes: number | bigint;\n\tpackageName: string;\n\tversion: string;\n\tcommands: Array<string>;\n}>;\nexport type V1SoftwareUninstallInput = {\n\tpackageId: string;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1SoftwareUninstallOutput = {\n\tsoftware?: Output.ActorInstalledSoftware | null;\n\tsource: Output.RemotePackageSource;\n\tconfig: Output.ConfigSnapshot;\n};\nexport type V1TerminalCloseInput = { terminal: Input.ActorTerminalId };\nexport type V1TerminalCloseOutput = void;\nexport type V1TerminalListInput = Record<string, never>;\nexport type V1TerminalListOutput = Array<{\n\tterminal: Output.ActorTerminalId;\n\tpid: number;\n\trunning: boolean;\n\texit?: Output.ActorExitStatus | null;\n}>;\nexport type V1TerminalOpenInput = { options?: Input.ActorTerminalOptions };\nexport type V1TerminalOpenOutput = {\n\tgeneration: number | bigint;\n\tshellId: string;\n};\nexport type V1TerminalOutputReadInput = {\n\tterminal: Input.ActorTerminalId;\n\tafter?: number | bigint | null;\n\tmaxBytes?: number | null;\n\tmaxEvents?: number | null;\n};\nexport type V1TerminalOutputReadOutput = {\n\tgeneration: number | bigint;\n\tevents: Array<Output.ActorOutputEvent>;\n\tnextCursor?: number | bigint | null;\n\thasMore: boolean;\n\ttruncated: boolean;\n\tend?: Output.ActorExitStatus | null;\n};\nexport type V1TerminalPtyResizeInput = {\n\tterminal: Input.ActorTerminalId;\n\tcols: number;\n\trows: number;\n};\nexport type V1TerminalPtyResizeOutput = void;\nexport type V1TerminalStdinWriteInput = {\n\tterminal: Input.ActorTerminalId;\n\tdata: Input.FileContentInput;\n};\nexport type V1TerminalStdinWriteOutput = void;\nexport type V1TerminalWaitInput = { terminal: Input.ActorTerminalId };\nexport type V1TerminalWaitOutput = {\n\tterminal: Output.ActorTerminalId;\n\tstatus: Output.ActorExitStatus;\n};\nexport type V1TypeScriptCheckInput = {\n\tsource: string;\n\toptions?: Input.ActorTypeScriptCheckOptions;\n};\nexport type V1TypeScriptCheckOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\thasErrors?: boolean | null;\n\tdiagnostics: Array<Output.ActorTypeScriptDiagnostic>;\n};\nexport type V1TypeScriptCheckProjectInput = {\n\toptions?: Input.ActorTypeScriptCheckOptions;\n};\nexport type V1TypeScriptCheckProjectOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\thasErrors?: boolean | null;\n\tdiagnostics: Array<Output.ActorTypeScriptDiagnostic>;\n};\nexport type V1TypeScriptEvaluateInput = {\n\texpression: string;\n\toptions?: Input.ActorTypeScriptExecutionOptions;\n};\nexport type V1TypeScriptEvaluateOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\tvalue?: Output.JsonValue | null;\n};\nexport type V1TypeScriptExecuteInput = {\n\tsource: string;\n\toptions?: Input.ActorTypeScriptExecutionOptions;\n};\nexport type V1TypeScriptExecuteOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1TypeScriptExecuteFileInput = {\n\tpath: string;\n\toptions?: Input.ActorTypeScriptExecutionOptions;\n};\nexport type V1TypeScriptExecuteFileOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1TypeScriptSpawnInput = {\n\tsource: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1TypeScriptSpawnOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1TypeScriptSpawnFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1TypeScriptSpawnFileOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1VmRestartInput = Record<string, never>;\nexport type V1VmRestartOutput = {\n\tlifecycle: Output.VmLifecycleState;\n\tconfigState: Output.ConfigApplyState;\n\tdesiredConfigRevision: number | bigint;\n\tappliedConfigRevision?: number | bigint | null;\n\tgeneration: number | bigint;\n\tlastBootAtMs?: number | bigint | null;\n\tlastShutdownAtMs?: number | bigint | null;\n\tpackages: Output.PackageStartupStatus;\n\tissues: Array<Output.VmIssue>;\n\tcore?: Output.CoreSidecarStatus | null;\n};\nexport type V1VmStatusInput = Record<string, never>;\nexport type V1VmStatusOutput = {\n\tlifecycle: Output.VmLifecycleState;\n\tconfigState: Output.ConfigApplyState;\n\tdesiredConfigRevision: number | bigint;\n\tappliedConfigRevision?: number | bigint | null;\n\tgeneration: number | bigint;\n\tlastBootAtMs?: number | bigint | null;\n\tlastShutdownAtMs?: number | bigint | null;\n\tpackages: Output.PackageStartupStatus;\n\tissues: Array<Output.VmIssue>;\n\tcore?: Output.CoreSidecarStatus | null;\n};\n\nexport interface AgentOsActions {\n\treadonly v1: {\n\t\treadonly config: {\n\t\t\treadonly get: (input: V1ConfigGetInput) => Promise<V1ConfigGetOutput>;\n\t\t\treadonly patch: (\n\t\t\t\tinput: V1ConfigPatchInput,\n\t\t\t) => Promise<V1ConfigPatchOutput>;\n\t\t\treadonly set: (input: V1ConfigSetInput) => Promise<V1ConfigSetOutput>;\n\t\t};\n\t\treadonly contexts: {\n\t\t\treadonly create: (\n\t\t\t\tinput: V1ContextsCreateInput,\n\t\t\t) => Promise<V1ContextsCreateOutput>;\n\t\t\treadonly delete: (\n\t\t\t\tinput: V1ContextsDeleteInput,\n\t\t\t) => Promise<V1ContextsDeleteOutput>;\n\t\t\treadonly get: (input: V1ContextsGetInput) => Promise<V1ContextsGetOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1ContextsListInput,\n\t\t\t) => Promise<V1ContextsListOutput>;\n\t\t\treadonly reset: (\n\t\t\t\tinput: V1ContextsResetInput,\n\t\t\t) => Promise<V1ContextsResetOutput>;\n\t\t};\n\t\treadonly cron: {\n\t\t\treadonly cancel: (\n\t\t\t\tinput: V1CronCancelInput,\n\t\t\t) => Promise<V1CronCancelOutput>;\n\t\t\treadonly list: (input: V1CronListInput) => Promise<V1CronListOutput>;\n\t\t\treadonly schedule: (\n\t\t\t\tinput: V1CronScheduleInput,\n\t\t\t) => Promise<V1CronScheduleOutput>;\n\t\t};\n\t\treadonly filesystem: {\n\t\t\treadonly exists: (\n\t\t\t\tinput: V1FilesystemExistsInput,\n\t\t\t) => Promise<V1FilesystemExistsOutput>;\n\t\t\treadonly export: (\n\t\t\t\tinput: V1FilesystemExportInput,\n\t\t\t) => Promise<V1FilesystemExportOutput>;\n\t\t\treadonly listMounts: (\n\t\t\t\tinput: V1FilesystemListMountsInput,\n\t\t\t) => Promise<V1FilesystemListMountsOutput>;\n\t\t\treadonly mkdir: (\n\t\t\t\tinput: V1FilesystemMkdirInput,\n\t\t\t) => Promise<V1FilesystemMkdirOutput>;\n\t\t\treadonly move: (\n\t\t\t\tinput: V1FilesystemMoveInput,\n\t\t\t) => Promise<V1FilesystemMoveOutput>;\n\t\t\treadonly readFile: (\n\t\t\t\tinput: V1FilesystemReadFileInput,\n\t\t\t) => Promise<V1FilesystemReadFileOutput>;\n\t\t\treadonly readFiles: (\n\t\t\t\tinput: V1FilesystemReadFilesInput,\n\t\t\t) => Promise<V1FilesystemReadFilesOutput>;\n\t\t\treadonly readdir: (\n\t\t\t\tinput: V1FilesystemReaddirInput,\n\t\t\t) => Promise<V1FilesystemReaddirOutput>;\n\t\t\treadonly readdirEntries: (\n\t\t\t\tinput: V1FilesystemReaddirEntriesInput,\n\t\t\t) => Promise<V1FilesystemReaddirEntriesOutput>;\n\t\t\treadonly readdirRecursive: (\n\t\t\t\tinput: V1FilesystemReaddirRecursiveInput,\n\t\t\t) => Promise<V1FilesystemReaddirRecursiveOutput>;\n\t\t\treadonly remove: (\n\t\t\t\tinput: V1FilesystemRemoveInput,\n\t\t\t) => Promise<V1FilesystemRemoveOutput>;\n\t\t\treadonly stat: (\n\t\t\t\tinput: V1FilesystemStatInput,\n\t\t\t) => Promise<V1FilesystemStatOutput>;\n\t\t\treadonly writeFile: (\n\t\t\t\tinput: V1FilesystemWriteFileInput,\n\t\t\t) => Promise<V1FilesystemWriteFileOutput>;\n\t\t\treadonly writeFiles: (\n\t\t\t\tinput: V1FilesystemWriteFilesInput,\n\t\t\t) => Promise<V1FilesystemWriteFilesOutput>;\n\t\t};\n\t\treadonly javascript: {\n\t\t\treadonly evaluate: (\n\t\t\t\tinput: V1JavaScriptEvaluateInput,\n\t\t\t) => Promise<V1JavaScriptEvaluateOutput>;\n\t\t\treadonly execute: (\n\t\t\t\tinput: V1JavaScriptExecuteInput,\n\t\t\t) => Promise<V1JavaScriptExecuteOutput>;\n\t\t\treadonly executeFile: (\n\t\t\t\tinput: V1JavaScriptExecuteFileInput,\n\t\t\t) => Promise<V1JavaScriptExecuteFileOutput>;\n\t\t\treadonly npm: {\n\t\t\t\treadonly install: (\n\t\t\t\t\tinput: V1JavaScriptNpmInstallInput,\n\t\t\t\t) => Promise<V1JavaScriptNpmInstallOutput>;\n\t\t\t\treadonly runPackage: (\n\t\t\t\t\tinput: V1JavaScriptNpmRunPackageInput,\n\t\t\t\t) => Promise<V1JavaScriptNpmRunPackageOutput>;\n\t\t\t\treadonly runScript: (\n\t\t\t\t\tinput: V1JavaScriptNpmRunScriptInput,\n\t\t\t\t) => Promise<V1JavaScriptNpmRunScriptOutput>;\n\t\t\t};\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1JavaScriptSpawnInput,\n\t\t\t) => Promise<V1JavaScriptSpawnOutput>;\n\t\t\treadonly spawnFile: (\n\t\t\t\tinput: V1JavaScriptSpawnFileInput,\n\t\t\t) => Promise<V1JavaScriptSpawnFileOutput>;\n\t\t};\n\t\treadonly network: {\n\t\t\treadonly fetch: (\n\t\t\t\tinput: V1NetworkFetchInput,\n\t\t\t) => Promise<V1NetworkFetchOutput>;\n\t\t\treadonly fetchStream: {\n\t\t\t\treadonly cancel: (\n\t\t\t\t\tinput: V1NetworkFetchStreamCancelInput,\n\t\t\t\t) => Promise<V1NetworkFetchStreamCancelOutput>;\n\t\t\t\treadonly read: (\n\t\t\t\t\tinput: V1NetworkFetchStreamReadInput,\n\t\t\t\t) => Promise<V1NetworkFetchStreamReadOutput>;\n\t\t\t\treadonly start: (\n\t\t\t\t\tinput: V1NetworkFetchStreamStartInput,\n\t\t\t\t) => Promise<V1NetworkFetchStreamStartOutput>;\n\t\t\t};\n\t\t\treadonly preview: {\n\t\t\t\treadonly create: (\n\t\t\t\t\tinput: V1NetworkPreviewCreateInput,\n\t\t\t\t) => Promise<V1NetworkPreviewCreateOutput>;\n\t\t\t\treadonly expire: (\n\t\t\t\t\tinput: V1NetworkPreviewExpireInput,\n\t\t\t\t) => Promise<V1NetworkPreviewExpireOutput>;\n\t\t\t};\n\t\t};\n\t\treadonly process: {\n\t\t\treadonly get: (input: V1ProcessGetInput) => Promise<V1ProcessGetOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1ProcessListInput,\n\t\t\t) => Promise<V1ProcessListOutput>;\n\t\t\treadonly output: {\n\t\t\t\treadonly read: (\n\t\t\t\t\tinput: V1ProcessOutputReadInput,\n\t\t\t\t) => Promise<V1ProcessOutputReadOutput>;\n\t\t\t};\n\t\t\treadonly pty: {\n\t\t\t\treadonly resize: (\n\t\t\t\t\tinput: V1ProcessPtyResizeInput,\n\t\t\t\t) => Promise<V1ProcessPtyResizeOutput>;\n\t\t\t};\n\t\t\treadonly run: (input: V1ProcessRunInput) => Promise<V1ProcessRunOutput>;\n\t\t\treadonly signal: (\n\t\t\t\tinput: V1ProcessSignalInput,\n\t\t\t) => Promise<V1ProcessSignalOutput>;\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1ProcessSpawnInput,\n\t\t\t) => Promise<V1ProcessSpawnOutput>;\n\t\t\treadonly stdin: {\n\t\t\t\treadonly close: (\n\t\t\t\t\tinput: V1ProcessStdinCloseInput,\n\t\t\t\t) => Promise<V1ProcessStdinCloseOutput>;\n\t\t\t\treadonly write: (\n\t\t\t\t\tinput: V1ProcessStdinWriteInput,\n\t\t\t\t) => Promise<V1ProcessStdinWriteOutput>;\n\t\t\t};\n\t\t\treadonly tree: (\n\t\t\t\tinput: V1ProcessTreeInput,\n\t\t\t) => Promise<V1ProcessTreeOutput>;\n\t\t\treadonly wait: (\n\t\t\t\tinput: V1ProcessWaitInput,\n\t\t\t) => Promise<V1ProcessWaitOutput>;\n\t\t};\n\t\treadonly python: {\n\t\t\treadonly evaluate: (\n\t\t\t\tinput: V1PythonEvaluateInput,\n\t\t\t) => Promise<V1PythonEvaluateOutput>;\n\t\t\treadonly execute: (\n\t\t\t\tinput: V1PythonExecuteInput,\n\t\t\t) => Promise<V1PythonExecuteOutput>;\n\t\t\treadonly executeFile: (\n\t\t\t\tinput: V1PythonExecuteFileInput,\n\t\t\t) => Promise<V1PythonExecuteFileOutput>;\n\t\t\treadonly executeModule: (\n\t\t\t\tinput: V1PythonExecuteModuleInput,\n\t\t\t) => Promise<V1PythonExecuteModuleOutput>;\n\t\t\treadonly install: (\n\t\t\t\tinput: V1PythonInstallInput,\n\t\t\t) => Promise<V1PythonInstallOutput>;\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1PythonSpawnInput,\n\t\t\t) => Promise<V1PythonSpawnOutput>;\n\t\t\treadonly spawnFile: (\n\t\t\t\tinput: V1PythonSpawnFileInput,\n\t\t\t) => Promise<V1PythonSpawnFileOutput>;\n\t\t\treadonly spawnModule: (\n\t\t\t\tinput: V1PythonSpawnModuleInput,\n\t\t\t) => Promise<V1PythonSpawnModuleOutput>;\n\t\t};\n\t\treadonly software: {\n\t\t\treadonly install: (\n\t\t\t\tinput: V1SoftwareInstallInput,\n\t\t\t) => Promise<V1SoftwareInstallOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1SoftwareListInput,\n\t\t\t) => Promise<V1SoftwareListOutput>;\n\t\t\treadonly uninstall: (\n\t\t\t\tinput: V1SoftwareUninstallInput,\n\t\t\t) => Promise<V1SoftwareUninstallOutput>;\n\t\t};\n\t\treadonly terminal: {\n\t\t\treadonly close: (\n\t\t\t\tinput: V1TerminalCloseInput,\n\t\t\t) => Promise<V1TerminalCloseOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1TerminalListInput,\n\t\t\t) => Promise<V1TerminalListOutput>;\n\t\t\treadonly open: (\n\t\t\t\tinput: V1TerminalOpenInput,\n\t\t\t) => Promise<V1TerminalOpenOutput>;\n\t\t\treadonly output: {\n\t\t\t\treadonly read: (\n\t\t\t\t\tinput: V1TerminalOutputReadInput,\n\t\t\t\t) => Promise<V1TerminalOutputReadOutput>;\n\t\t\t};\n\t\t\treadonly pty: {\n\t\t\t\treadonly resize: (\n\t\t\t\t\tinput: V1TerminalPtyResizeInput,\n\t\t\t\t) => Promise<V1TerminalPtyResizeOutput>;\n\t\t\t};\n\t\t\treadonly stdin: {\n\t\t\t\treadonly write: (\n\t\t\t\t\tinput: V1TerminalStdinWriteInput,\n\t\t\t\t) => Promise<V1TerminalStdinWriteOutput>;\n\t\t\t};\n\t\t\treadonly wait: (\n\t\t\t\tinput: V1TerminalWaitInput,\n\t\t\t) => Promise<V1TerminalWaitOutput>;\n\t\t};\n\t\treadonly typescript: {\n\t\t\treadonly check: (\n\t\t\t\tinput: V1TypeScriptCheckInput,\n\t\t\t) => Promise<V1TypeScriptCheckOutput>;\n\t\t\treadonly checkProject: (\n\t\t\t\tinput: V1TypeScriptCheckProjectInput,\n\t\t\t) => Promise<V1TypeScriptCheckProjectOutput>;\n\t\t\treadonly evaluate: (\n\t\t\t\tinput: V1TypeScriptEvaluateInput,\n\t\t\t) => Promise<V1TypeScriptEvaluateOutput>;\n\t\t\treadonly execute: (\n\t\t\t\tinput: V1TypeScriptExecuteInput,\n\t\t\t) => Promise<V1TypeScriptExecuteOutput>;\n\t\t\treadonly executeFile: (\n\t\t\t\tinput: V1TypeScriptExecuteFileInput,\n\t\t\t) => Promise<V1TypeScriptExecuteFileOutput>;\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1TypeScriptSpawnInput,\n\t\t\t) => Promise<V1TypeScriptSpawnOutput>;\n\t\t\treadonly spawnFile: (\n\t\t\t\tinput: V1TypeScriptSpawnFileInput,\n\t\t\t) => Promise<V1TypeScriptSpawnFileOutput>;\n\t\t};\n\t\treadonly vm: {\n\t\t\treadonly restart: (input: V1VmRestartInput) => Promise<V1VmRestartOutput>;\n\t\t\treadonly status: (input: V1VmStatusInput) => Promise<V1VmStatusOutput>;\n\t\t};\n\t};\n}\n\nexport type AgentOsEvents = {\n\treadonly \"vm.booted\": Type<{\n\t\tgeneration: number | bigint;\n\t\tconfigRevision: number | bigint;\n\t\tbootedAtMs: number | bigint;\n\t}>;\n\treadonly \"vm.shutdown\": Type<{\n\t\tgeneration: number | bigint;\n\t\treason: string;\n\t\tshutdownAtMs: number | bigint;\n\t}>;\n\treadonly \"vm.limitWarning\": Type<{\n\t\tlimit: string;\n\t\tobserved: number | bigint;\n\t\tcapacity: number | bigint;\n\t\tmessage: string;\n\t}>;\n\treadonly \"process.output\": Type<{\n\t\tprocess: Output.ActorProcessId;\n\t\tsequence: number | bigint;\n\t\tstream: Output.ProcessStream;\n\t\tdata: Output.FileBytes;\n\t\ttimestampMs: number | bigint;\n\t}>;\n\treadonly \"process.exit\": Type<{\n\t\tprocess: Output.ActorProcessId;\n\t\tstatus: Output.ActorExitStatus;\n\t}>;\n\treadonly \"terminal.output\": Type<{\n\t\tterminal: Output.ActorTerminalId;\n\t\tsequence: number | bigint;\n\t\tstream: Output.ProcessStream;\n\t\tdata: Output.FileBytes;\n\t\ttimestampMs: number | bigint;\n\t}>;\n\treadonly \"terminal.exit\": Type<{\n\t\tterminal: Output.ActorTerminalId;\n\t\tstatus: Output.ActorExitStatus;\n\t}>;\n\treadonly \"cron.fired\": Type<{\n\t\tscheduleName: string;\n\t\tprocess?: Output.ActorProcessId | null;\n\t\terror?: Output.CronLaunchError | null;\n\t\tfiredAtMs: number | bigint;\n\t}>;\n};\n\nexport type AgentOsActorDefinition = BaseActorDefinition<\n\tundefined,\n\tundefined,\n\tundefined,\n\tundefined,\n\tAgentOsActorCreateInput,\n\tundefined,\n\tAgentOsEvents,\n\tRecord<never, never>,\n\tRecord<never, never>\n>;\nexport type AgentOsActorConnection = ActorConn<AgentOsActorDefinition> &\n\tAgentOsActions;\nexport type AgentOsActorHandle = Omit<\n\tActorHandle<AgentOsActorDefinition>,\n\t\"connect\"\n> &\n\tAgentOsActions & {\n\t\tconnect(\n\t\t\tparams?: unknown,\n\t\t\toptions?: ActorConnectOptions,\n\t\t): AgentOsActorConnection;\n\t};\nexport type AgentOsRegistry = Registry<{ agentOS: AgentOsActorDefinition }>;\n\nexport type AgentOsCreateOptions = Omit<CreateOptions, \"input\"> & {\n\tinput?: AgentOsActorCreateInput;\n};\nexport type AgentOsGetOrCreateOptions = Omit<GetOptions, \"createWithInput\"> & {\n\tcreateWithInput?: AgentOsActorCreateInput;\n};\nexport type AgentOsActorAccessor = Omit<\n\tActorAccessor<AgentOsActorDefinition>,\n\t\"create\" | \"getOrCreate\"\n> & {\n\tgetOrCreate(\n\t\tkey?: string | string[],\n\t\toptions?: AgentOsGetOrCreateOptions,\n\t): AgentOsActorHandle;\n\tcreate(\n\t\tkey?: string | string[],\n\t\toptions?: AgentOsCreateOptions,\n\t): Promise<AgentOsActorHandle>;\n};\nexport type AgentOsClient = Omit<\n\tClient<AgentOsRegistry>,\n\t\"agentOS\" | \"getForId\"\n> & {\n\treadonly agentOS: AgentOsActorAccessor;\n\tgetForId(\n\t\tname: \"agentOS\",\n\t\tactorId: string,\n\t\toptions?: GetWithIdOptions,\n\t): AgentOsActorHandle;\n};\n\n/**\n * Creates a vanilla RivetKit client with the generated agentOS contract.\n * Services runs the agentOS actor in the `services` pool, so the client\n * uses that pool unless the config sets `poolName`.\n */\nexport function createAgentOsClient(\n\tendpointOrConfig?: string | ClientConfigInput,\n): AgentOsClient {\n\tconst config =\n\t\ttypeof endpointOrConfig === \"string\"\n\t\t\t? { endpoint: endpointOrConfig }\n\t\t\t: (endpointOrConfig ?? {});\n\treturn createClient<AgentOsRegistry>({\n\t\tpoolName: \"services\",\n\t\t...config,\n\t}) as unknown as AgentOsClient;\n}\n"],"mappings":";AAEA,SAAS,oBAAoB;AAYtB,IAAM,sBAAsB;AAC5B,IAAM,yBAAyB;AAC/B,IAAM,wBACZ;AACM,IAAM,uBAAuB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AACO,IAAM,mBAAmB;AAAA,EAC/B,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,cAAc;AAAA,EACd,cAAc;AACf;AA+uFO,SAAS,oBACf,kBACgB;AAChB,QAAM,SACL,OAAO,qBAAqB,WACzB,EAAE,UAAU,iBAAiB,IAC5B,oBAAoB,CAAC;AAC1B,SAAO,aAA8B;AAAA,IACpC,UAAU;AAAA,IACV,GAAG;AAAA,EACJ,CAAC;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/generated/contract.ts"],"sourcesContent":["// Generated by @rivet-dev/agentos-bindgen. Do not edit.\nimport type { BaseActorDefinition, Client, Registry, Type } from \"rivetkit\";\nimport { createClient } from \"rivetkit/client\";\nimport type {\n\tActorAccessor,\n\tActorConnectOptions,\n\tActorConn,\n\tActorHandle,\n\tClientConfigInput,\n\tCreateOptions,\n\tGetOptions,\n\tGetWithIdOptions,\n} from \"rivetkit/client\";\n\nexport const AGENTOS_API_VERSION = \"agentos-sdk.dev/v1alpha1\" as const;\nexport const AGENTOS_CONTRACT_MAJOR = 1 as const;\nexport const AGENTOS_CONTRACT_HASH =\n\t\"sha256:06086c42788602d49d762f2b3003a8fe89a3d136219611cdbbc84d0fc4c267ca\" as const;\nexport const AGENTOS_CAPABILITIES = [\n\t\"config.merge-patch\",\n\t\"network.pull-streaming\",\n\t\"output.replay\",\n\t\"inspector.filesystem\",\n\t\"inspector.processes\",\n\t\"inspector.software\",\n\t\"inspector.terminals\",\n\t\"inspector.vm\",\n\t\"language.javascript\",\n\t\"language.python\",\n\t\"language.typescript\",\n\t\"software.registry\",\n] as const;\nexport const AGENTOS_CONTRACT = {\n\tapiVersion: AGENTOS_API_VERSION,\n\tcontractMajor: AGENTOS_CONTRACT_MAJOR,\n\tcontractHash: AGENTOS_CONTRACT_HASH,\n\tcapabilities: AGENTOS_CAPABILITIES,\n} as const;\n\nexport namespace Input {\n\texport type ActorCodeEvaluationResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\tvalue?: JsonValue | null;\n\t};\n\texport type ActorCodeExecutionResult = {\n\t\texecution?: ActorExecutionDescriptor | null;\n\t\toutcome: ActorExecutionOutcome;\n\t\texitCode?: number | null;\n\t\terror?: ActorExecutionError | null;\n\t\tstdout?: FileBytes | null;\n\t\tstderr?: FileBytes | null;\n\t\tstdoutTruncated?: boolean | null;\n\t\tstderrTruncated?: boolean | null;\n\t};\n\texport type ActorContextDescriptor = {\n\t\tcontext: ActorContextId;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t};\n\texport type ActorContextId = {\n\t\tgeneration: number | bigint;\n\t\tcontextId: string;\n\t};\n\texport type ActorCronJob = {\n\t\tname: string;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\toptions: ActorSpawnOptions;\n\t\tconfigRevision: number | bigint;\n\t\tnextRunAtMs: number | bigint;\n\t\tlastRunAtMs?: number | bigint | null;\n\t\tmaxHistory: number | bigint;\n\t};\n\texport type ActorExecOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tcaptureStdio?: boolean | null;\n\t};\n\texport type ActorExecResult = {\n\t\tstatus: ActorExitStatus;\n\t\tstdout: string;\n\t\tstderr: string;\n\t};\n\texport type ActorExecutionDescriptor = {\n\t\texecutionId: string;\n\t\tgeneration: number | bigint;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tprocessId?: string | null;\n\t\tpid?: number | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t\tlastOutcome?: ActorExecutionOutcome | null;\n\t\tlastExitCode?: number | null;\n\t};\n\texport type ActorExecutionError = {\n\t\tcode: string;\n\t\tname: string;\n\t\tmessage: string;\n\t\tstack?: string | null;\n\t\tdetails?: JsonValue | null;\n\t};\n\texport type ActorExecutionOutcome =\n\t\t| \"succeeded\"\n\t\t| \"failed\"\n\t\t| \"cancelled\"\n\t\t| \"timedOut\";\n\texport type ActorExecutionOutputOptions = {\n\t\tcapture?: ActorOutputCapture | null;\n\t\tretainEvents?: boolean | null;\n\t};\n\texport type ActorExecutionPtyOptions = {\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorExitStatus = {\n\t\texitCode: number;\n\t\tsignal?: ActorSignal | null;\n\t};\n\texport type ActorFetchStreamChunk = { body: FileBytes; done: boolean };\n\texport type ActorFetchStreamHead = {\n\t\tstream: ActorFetchStreamId;\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t};\n\texport type ActorFetchStreamId = {\n\t\tgeneration: number | bigint;\n\t\tstreamId: string;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorFileStat = {\n\t\tmode: number;\n\t\tsizeBytes: number | bigint;\n\t\tblocks: number | bigint;\n\t\tdev: number | bigint;\n\t\trdev: number | bigint;\n\t\tisDirectory: boolean;\n\t\tisSymbolicLink: boolean;\n\t\tatimeMs: number;\n\t\tmtimeMs: number;\n\t\tctimeMs: number;\n\t\tbirthtimeMs: number;\n\t\tino: number | bigint;\n\t\tnlink: number | bigint;\n\t\tuid: number;\n\t\tgid: number;\n\t};\n\texport type ActorHttpRequest = {\n\t\tport: number;\n\t\tpath: string;\n\t\tmethod?: string;\n\t\theaders?: { [key in string]?: string };\n\t\tbody?: FileContentInput | null;\n\t};\n\texport type ActorHttpResponse = {\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t\tbody: FileBytes;\n\t};\n\texport type ActorInlineExecutionOptions = {\n\t\tprocess?: ActorLanguageExecutionOptions;\n\t\tinputs?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type ActorInstalledSoftware = {\n\t\tpackageId: string;\n\t\tdigest: string;\n\t\tsizeBytes: number | bigint;\n\t\tpackageName: string;\n\t\tversion: string;\n\t\tcommands: Array<string>;\n\t};\n\texport type ActorJavaScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tformat?: ActorJavaScriptModuleFormat | null;\n\t\tfilePath?: string | null;\n\t};\n\texport type ActorJavaScriptModuleFormat = \"module\" | \"commonJs\";\n\texport type ActorLanguageExecutionOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorLanguageSpawnOptions = {\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t};\n\texport type ActorNpmInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tfrozen?: boolean | null;\n\t\tdev?: boolean | null;\n\t\tglobal?: boolean | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorOutputCapture = \"none\" | \"stderr\" | \"all\";\n\texport type ActorOutputEvent = {\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ActorOutputReplay = {\n\t\tgeneration: number | bigint;\n\t\tevents: Array<ActorOutputEvent>;\n\t\tnextCursor?: number | bigint | null;\n\t\thasMore: boolean;\n\t\ttruncated: boolean;\n\t\tend?: ActorExitStatus | null;\n\t};\n\texport type ActorPreview = {\n\t\ttoken: string;\n\t\tpath: string;\n\t\tport: number;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorProcessExit = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorProcessId = { generation: number | bigint; pid: number };\n\texport type ActorProcessInfo = {\n\t\tprocess: ActorProcessId;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\trunning: boolean;\n\t\texit?: ActorExitStatus | null;\n\t\tstartedAtMs: number | bigint;\n\t};\n\texport type ActorProcessTree = {\n\t\tgeneration: number | bigint;\n\t\troots: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorProcessTreeNode = {\n\t\tprocess?: ActorProcessId | null;\n\t\tpid: number;\n\t\tppid: number;\n\t\tpgid: number;\n\t\tsid: number;\n\t\tdriver: string;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\tcwd: string;\n\t\tstatus: ProcessStatus;\n\t\texit?: ActorExitStatus | null;\n\t\tstartTimeMs: number;\n\t\texitTimeMs?: number | null;\n\t\tchildren: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorPythonInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tupgrade?: boolean | null;\n\t\trequirementsFile?: string | null;\n\t\tindexUrl?: string | null;\n\t\textraIndexUrls?: Array<string>;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorSignal = \"SIGTERM\" | \"SIGINT\" | \"SIGKILL\";\n\texport type ActorSpawnOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdio?: SpawnStdio | null;\n\t\t/**\n\t\t * Keep stdin open for `v1.process.stdin.write`. Without it the process reads EOF, as under\n\t\t * `docker exec` without `-i`, so a command that reads stdin cannot wait forever, and\n\t\t * `v1.process.stdin.write` fails with `invalid_input`.\n\t\t */\n\t\topenStdin?: boolean | null;\n\t\tstdinFd?: number | null;\n\t\tstdoutFd?: number | null;\n\t\tstderrFd?: number | null;\n\t};\n\texport type ActorTerminalExit = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorTerminalId = {\n\t\tgeneration: number | bigint;\n\t\tshellId: string;\n\t};\n\texport type ActorTerminalOptions = {\n\t\tcommand?: string | null;\n\t\targs?: Array<string>;\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorTypeScriptCheckOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorTypeScriptCheckResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\thasErrors?: boolean | null;\n\t\tdiagnostics: Array<ActorTypeScriptDiagnostic>;\n\t};\n\texport type ActorTypeScriptDiagnostic = {\n\t\tcode: number;\n\t\tcategory: string;\n\t\tmessage: string;\n\t\tfilePath?: string | null;\n\t\tline?: number | null;\n\t\tcolumn?: number | null;\n\t};\n\texport type ActorTypeScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type AgentOsActorConfig = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts: Array<number>;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem: HostedFilesystemConfig;\n\t\tdefaultSoftware?: boolean | null;\n\t\tsoftware: Array<RemotePackageSource>;\n\t\tpreview: PreviewPolicy;\n\t};\n\texport type AgentOsActorConfigInput = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts?: Array<number> | null;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem?: HostedFilesystemConfigInput | null;\n\t\t/**\n\t\t * Install agentOS default software (coreutils, sed, grep, gawk, findutils,\n\t\t * diffutils, tar, gzip) before `software`. Defaults to true.\n\t\t */\n\t\tdefaultSoftware?: boolean | null;\n\t\t/**\n\t\t * Software installed after the default software, in order. Registry\n\t\t * entries are resolved to an exact URL and digest when the config is\n\t\t * accepted, so the durable config never follows a moving manifest.\n\t\t */\n\t\tsoftware?: Array<SoftwareSourceInput> | null;\n\t\tpreview?: PreviewPolicyInput | null;\n\t};\n\texport type AgentOsActorCreateInput = {\n\t\tconfig?: AgentOsActorConfigInput | null;\n\t};\n\texport type AgentOsLimits = {\n\t\tagentosPackages?: AgentOsPackageLimits;\n\t\tresources?: ResourceLimits | null;\n\t\thttp?: HttpLimits | null;\n\t\ttls?: TlsLimits;\n\t\thostFunctions?: HostFunctionLimits | null;\n\t\tplugins?: PluginLimits | null;\n\t\tsqlite?: SqliteLimits | null;\n\t\tjsRuntime?: JsRuntimeLimits | null;\n\t\tpython?: PythonLimits | null;\n\t\twasm?: WasmLimits | null;\n\t\texecution?: ExecutionLimits;\n\t\tprocess?: ProcessLimits | null;\n\t};\n\texport type AgentOsPackageLimits = { maxMounts?: number | bigint };\n\texport type ConfigApplyState =\n\t\t| \"applying\"\n\t\t| \"ready\"\n\t\t| \"restart_required\"\n\t\t| \"failed\";\n\texport type ConfigGet = Record<string, never>;\n\texport type ConfigPatch = {\n\t\tpatch: JsonValue;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSet = {\n\t\tconfig: AgentOsActorConfigInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSnapshot = {\n\t\trevision: number | bigint;\n\t\tdesired: AgentOsActorConfig;\n\t\tappliedRevision?: number | bigint | null;\n\t\tstate: ConfigApplyState;\n\t\tissues: Array<VmIssue>;\n\t\tcreatedAtMs: number | bigint;\n\t\tupdatedAtMs: number | bigint;\n\t};\n\texport type ContextsCreate = { contextId: string };\n\texport type ContextsDelete = { context: ActorContextId };\n\texport type ContextsGet = { context: ActorContextId };\n\texport type ContextsList = Record<string, never>;\n\texport type ContextsReset = { context: ActorContextId };\n\texport type CoreSidecarStatus = { state: string; activeVmCount: number };\n\texport type CronCancel = { name: string };\n\texport type CronFiredEvent = {\n\t\tscheduleName: string;\n\t\tprocess?: ActorProcessId | null;\n\t\terror?: CronLaunchError | null;\n\t\tfiredAtMs: number | bigint;\n\t};\n\texport type CronLaunchError = { code: string; message: string };\n\texport type CronList = Record<string, never>;\n\texport type CronSchedule = {\n\t\tname?: string | null;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t\tmaxHistory?: number | bigint | null;\n\t};\n\texport type DirEntryType = \"file\" | \"directory\" | \"symlink\";\n\texport type ExecutionLimits = {\n\t\tcompletedTtlMs?: number | bigint;\n\t\tmaxCompletedExecutions?: number | bigint;\n\t\tliveExecutionWarningThreshold?: number | bigint;\n\t};\n\texport type FileBytes = Uint8Array;\n\texport type FileContentInput = string | Uint8Array;\n\texport type FilesystemEntry = {\n\t\tpath: string;\n\t\ttype: DirEntryType;\n\t\tmode: string;\n\t\tuid: number;\n\t\tgid: number;\n\t\tcontent?: string | null;\n\t\tencoding?: FilesystemEntryEncoding | null;\n\t\ttarget?: string | null;\n\t};\n\texport type FilesystemEntryEncoding = \"utf8\" | \"base64\";\n\texport type FilesystemExists = { path: string };\n\texport type FilesystemExport = { maxBytes?: number | null };\n\texport type FilesystemListMounts = Record<string, never>;\n\texport type FilesystemMkdir = { path: string; recursive?: boolean };\n\texport type FilesystemMove = { from: string; to: string };\n\texport type FilesystemReadFile = { path: string; maxBytes?: number | null };\n\texport type FilesystemReadFiles = {\n\t\tpaths: Array<string>;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type FilesystemReaddir = { path: string };\n\texport type FilesystemReaddirEntries = { path: string };\n\texport type FilesystemReaddirRecursive = {\n\t\tpath: string;\n\t\tmaxDepth?: number | null;\n\t\texclude?: Array<string>;\n\t};\n\texport type FilesystemRemove = { path: string; recursive?: boolean };\n\texport type FilesystemSnapshotEntries = { entries: Array<FilesystemEntry> };\n\texport type FilesystemSnapshotExport = {\n\t\tformat: string;\n\t\tfilesystem: FilesystemSnapshotEntries;\n\t};\n\texport type FilesystemStat = { path: string };\n\texport type FilesystemWriteEntry = {\n\t\tpath: string;\n\t\tcontent: FileContentInput;\n\t};\n\texport type FilesystemWriteFile = { path: string; content: FileContentInput };\n\texport type FilesystemWriteFiles = { entries: Array<FilesystemWriteEntry> };\n\texport type FsPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpaths?: Array<string> | null;\n\t};\n\texport type FsPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<FsPermissionRule>;\n\texport type HostFunctionLimits = {\n\t\tdefaultTimeoutMs?: number | bigint | null;\n\t\tmaxTimeoutMs?: number | bigint | null;\n\t\tmaxRegisteredCollections?: number | bigint | null;\n\t\tmaxRegisteredFunctionsPerVm?: number | bigint | null;\n\t\tmaxFunctionsPerCollection?: number | bigint | null;\n\t\tmaxSchemaBytes?: number | bigint | null;\n\t\tmaxExamplesPerFunction?: number | bigint | null;\n\t\tmaxExampleInputBytes?: number | bigint | null;\n\t};\n\texport type HostedFilesystemBackend = { type: \"durable\"; namespace: string };\n\texport type HostedFilesystemBackendInput = {\n\t\ttype: \"durable\";\n\t\tnamespace?: string | null;\n\t};\n\texport type HostedFilesystemConfig = {\n\t\troot: HostedRootFilesystem;\n\t\tmounts: Array<HostedFilesystemMount>;\n\t};\n\texport type HostedFilesystemConfigInput = {\n\t\troot?: HostedRootFilesystemInput | null;\n\t\tmounts?: Array<HostedFilesystemMountInput>;\n\t};\n\texport type HostedFilesystemMount = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackend;\n\t\treadOnly: boolean;\n\t};\n\texport type HostedFilesystemMountInput = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackendInput;\n\t\treadOnly?: boolean;\n\t};\n\texport type HostedRootFilesystem =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace: string; readOnly: boolean };\n\texport type HostedRootFilesystemInput =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace?: string | null; readOnly?: boolean };\n\texport type HttpLimits = { maxFetchResponseBytes?: number | bigint | null };\n\texport type JavaScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorNpmInstallOptions;\n\t};\n\texport type JavaScriptNpmRunPackage = {\n\t\tpackageSpec: string;\n\t\tbinary?: string | null;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmRunScript = {\n\t\tscript: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JavaScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JsRuntimeLimits = {\n\t\tv8HeapLimitMb?: number | bigint | null;\n\t\tsyncRpcWaitTimeoutMs?: number | bigint | null;\n\t\tcpuTimeLimitMs?: number | bigint | null;\n\t\twallClockLimitMs?: number | bigint | null;\n\t\timportCacheMaterializeTimeoutMs?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tstdinBufferLimitBytes?: number | bigint | null;\n\t\teventPayloadLimitBytes?: number | bigint | null;\n\t\tv8IpcMaxFrameBytes?: number | bigint | null;\n\t};\n\texport type JsonValue =\n\t\t| number\n\t\t| string\n\t\t| boolean\n\t\t| Array<JsonValue>\n\t\t| { [key in string]?: JsonValue }\n\t\t| null;\n\texport type NetworkFetch = { request: ActorHttpRequest };\n\texport type NetworkFetchStreamCancel = { stream: ActorFetchStreamId };\n\texport type NetworkFetchStreamRead = {\n\t\tstream: ActorFetchStreamId;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type NetworkFetchStreamStart = { request: ActorHttpRequest };\n\texport type NetworkPreviewCreate = {\n\t\tport: number;\n\t\tttlMs?: number | bigint | null;\n\t};\n\texport type NetworkPreviewExpire = { token: string };\n\texport type PackageStartupStatus = {\n\t\trequiredTotal: number;\n\t\trequiredReady: number;\n\t\toptionalPreloadTotal: number;\n\t\toptionalPreloadReady: number;\n\t\toptionalPreloadFailed: number;\n\t\toptionalPreloadSkipped: number;\n\t\toptionalPreloadWarmedBytes: number | bigint;\n\t\toptionalPreloadDeadlineHit: boolean;\n\t\toptionalPreloadCoordinatorAvailable: boolean;\n\t};\n\texport type PatternPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpatterns?: Array<string> | null;\n\t};\n\texport type PatternPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<PatternPermissionRule>;\n\texport type PermissionMode = \"allow\" | \"deny\";\n\texport type Permissions = {\n\t\tfs?: FsPermissions | null;\n\t\tnetwork?: PatternPermissions | null;\n\t\tchildProcess?: PatternPermissions | null;\n\t\tprocess?: PatternPermissions | null;\n\t\tenv?: PatternPermissions | null;\n\t\thostFunction?: PatternPermissions | null;\n\t};\n\texport type PluginLimits = {\n\t\tmaxPersistedManifestBytes?: number | bigint | null;\n\t\tmaxPersistedManifestFileBytes?: number | bigint | null;\n\t};\n\texport type PreviewPolicy = {\n\t\tdefaultTtlMs: number | bigint;\n\t\tmaxTtlMs: number | bigint;\n\t\tmaxActive: number;\n\t};\n\texport type PreviewPolicyInput = {\n\t\tdefaultTtlMs?: number | bigint | null;\n\t\tmaxTtlMs?: number | bigint | null;\n\t\tmaxActive?: number | null;\n\t};\n\texport type ProcessExitEvent = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ProcessGet = { process: ActorProcessId };\n\texport type ProcessLimits = {\n\t\tmaxSpawnFileActions?: number | bigint | null;\n\t\tmaxSpawnFileActionBytes?: number | bigint | null;\n\t\tpendingStdinBytes?: number | bigint | null;\n\t\tpendingEventCount?: number | bigint | null;\n\t\tpendingEventBytes?: number | bigint | null;\n\t};\n\texport type ProcessList = Record<string, never>;\n\texport type ProcessOutputEvent = {\n\t\tprocess: ActorProcessId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ProcessOutputRead = {\n\t\tprocess: ActorProcessId;\n\t\tafter?: number | bigint | null;\n\t\tmaxEvents?: number | null;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type ProcessPtyResize = {\n\t\tprocess: ActorProcessId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type ProcessRun = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorExecOptions;\n\t};\n\texport type ProcessSignal = { process: ActorProcessId; signal: ActorSignal };\n\texport type ProcessSpawn = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t};\n\texport type ProcessStatus = \"running\" | \"exited\";\n\texport type ProcessStdinClose = { process: ActorProcessId };\n\texport type ProcessStdinWrite = {\n\t\tprocess: ActorProcessId;\n\t\tdata: FileContentInput;\n\t};\n\texport type ProcessStream = \"stdout\" | \"stderr\";\n\texport type ProcessTree = Record<string, never>;\n\texport type ProcessWait = { process: ActorProcessId };\n\texport type PythonEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecute = {\n\t\tsource: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonExecuteModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorPythonInstallOptions;\n\t};\n\texport type PythonLimits = {\n\t\toutputBufferMaxBytes?: number | bigint | null;\n\t\texecutionTimeoutMs?: number | bigint | null;\n\t\tmaxOldSpaceMb?: number | bigint | null;\n\t\tvfsRpcTimeoutMs?: number | bigint | null;\n\t};\n\texport type PythonSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type RegistrySoftwareSourceInput = {\n\t\t/**\n\t\t * Registry package name, such as `git` or `ripgrep`.\n\t\t */\n\t\tregistry: string;\n\t\t/**\n\t\t * agentOS release whose manifest lists the package, such as `0.4.3` or\n\t\t * `latest`. Defaults to the agentOS release the actor is built with.\n\t\t */\n\t\tversion?: string | null;\n\t};\n\texport type RemotePackageSource = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type RemotePackageSourceInput = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\t/**\n\t\t * Resolution metadata is accepted so a `v1.config.get` snapshot can be sent\n\t\t * back to `v1.config.set`. Core re-resolves the source and never trusts it.\n\t\t */\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type ResourceLimits = {\n\t\tcpuCount?: number | bigint | null;\n\t\tmaxProcesses?: number | bigint | null;\n\t\tmaxOpenFds?: number | bigint | null;\n\t\tmaxPipes?: number | bigint | null;\n\t\tmaxPtys?: number | bigint | null;\n\t\tmaxSockets?: number | bigint | null;\n\t\tmaxConnections?: number | bigint | null;\n\t\tmaxSocketBufferedBytes?: number | bigint | null;\n\t\tmaxSocketDatagramQueueLen?: number | bigint | null;\n\t\tmaxFilesystemBytes?: number | bigint | null;\n\t\tmaxInodeCount?: number | bigint | null;\n\t\tmaxBlockingReadMs?: number | bigint | null;\n\t\tmaxPreadBytes?: number | bigint | null;\n\t\tmaxFdWriteBytes?: number | bigint | null;\n\t\tmaxProcessArgvBytes?: number | bigint | null;\n\t\tmaxProcessEnvBytes?: number | bigint | null;\n\t\tmaxReaddirEntries?: number | bigint | null;\n\t\tmaxWasmFuel?: number | bigint | null;\n\t\tmaxWasmMemoryBytes?: number | bigint | null;\n\t\tmaxWasmStackBytes?: number | bigint | null;\n\t};\n\texport type RootSnapshotExport = {\n\t\tkind: SnapshotExportKind;\n\t\tsource: FilesystemSnapshotExport;\n\t};\n\texport type RulePermissions<T> = {\n\t\tdefault?: PermissionMode | null;\n\t\trules: Array<T>;\n\t};\n\texport type SnapshotExportKind = \"snapshot-export\";\n\texport type SoftwareInstall = {\n\t\t/**\n\t\t * A `{ url, digest? }` artifact or a `{ registry, version? }` package. The\n\t\t * result's `source` is the resolved, digest-pinned URL that is persisted.\n\t\t */\n\t\tsource: SoftwareSourceInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SoftwareList = Record<string, never>;\n\texport type SoftwareMutationResult = {\n\t\tsoftware?: ActorInstalledSoftware | null;\n\t\tsource: RemotePackageSource;\n\t\tconfig: ConfigSnapshot;\n\t};\n\texport type SoftwareSourceInput =\n\t\t| RegistrySoftwareSourceInput\n\t\t| RemotePackageSourceInput;\n\texport type SoftwareUninstall = {\n\t\tpackageId: string;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SpawnStdio = \"pipe\" | \"inherit\";\n\texport type SqliteLimits = { maxResultBytes?: number | bigint | null };\n\texport type TerminalClose = { terminal: ActorTerminalId };\n\texport type TerminalExitEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type TerminalList = Record<string, never>;\n\texport type TerminalOpen = { options?: ActorTerminalOptions };\n\texport type TerminalOutputEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type TerminalOutputRead = {\n\t\tterminal: ActorTerminalId;\n\t\tafter?: number | bigint | null;\n\t\tmaxBytes?: number | null;\n\t\tmaxEvents?: number | null;\n\t};\n\texport type TerminalPtyResize = {\n\t\tterminal: ActorTerminalId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type TerminalStdinWrite = {\n\t\tterminal: ActorTerminalId;\n\t\tdata: FileContentInput;\n\t};\n\texport type TerminalWait = { terminal: ActorTerminalId };\n\texport type TlsLimits = { maxBufferedBytes?: number | bigint };\n\texport type TypeScriptCheck = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptCheckProject = {\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type TypeScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type VmBooted = {\n\t\tgeneration: number | bigint;\n\t\tconfigRevision: number | bigint;\n\t\tbootedAtMs: number | bigint;\n\t};\n\texport type VmGroupConfig = {\n\t\tgid: number;\n\t\tname: string;\n\t\tmembers: Array<string>;\n\t};\n\texport type VmIssue = {\n\t\tcode: string;\n\t\tmessage: string;\n\t\tatMs: number | bigint;\n\t};\n\texport type VmLifecycleState =\n\t\t| \"initializing\"\n\t\t| \"preloading\"\n\t\t| \"booting\"\n\t\t| \"ready\"\n\t\t| \"degraded\"\n\t\t| \"stopping\"\n\t\t| \"failed\";\n\texport type VmLimitWarning = {\n\t\tlimit: string;\n\t\tobserved: number | bigint;\n\t\tcapacity: number | bigint;\n\t\tmessage: string;\n\t};\n\texport type VmRestart = Record<string, never>;\n\texport type VmShutdown = {\n\t\tgeneration: number | bigint;\n\t\treason: string;\n\t\tshutdownAtMs: number | bigint;\n\t};\n\texport type VmStatus = Record<string, never>;\n\texport type VmStatusSnapshot = {\n\t\tlifecycle: VmLifecycleState;\n\t\tconfigState: ConfigApplyState;\n\t\tdesiredConfigRevision: number | bigint;\n\t\tappliedConfigRevision?: number | bigint | null;\n\t\tgeneration: number | bigint;\n\t\tlastBootAtMs?: number | bigint | null;\n\t\tlastShutdownAtMs?: number | bigint | null;\n\t\tpackages: PackageStartupStatus;\n\t\tissues: Array<VmIssue>;\n\t\tcore?: CoreSidecarStatus | null;\n\t};\n\texport type VmUserAccountConfig = {\n\t\tuid: number;\n\t\tgid: number;\n\t\tusername: string;\n\t\thomedir: string;\n\t\tshell: string;\n\t\tgecos?: string;\n\t\tsupplementaryGids: Array<number>;\n\t};\n\texport type VmUserConfig = {\n\t\tuid?: number;\n\t\tgid?: number;\n\t\teuid?: number;\n\t\tegid?: number;\n\t\tusername?: string;\n\t\thomedir?: string;\n\t\tshell?: string;\n\t\tgecos?: string;\n\t\tgroupName?: string;\n\t\tsupplementaryGids?: Array<number>;\n\t\taccounts?: Array<VmUserAccountConfig>;\n\t\tgroups?: Array<VmGroupConfig>;\n\t};\n\texport type WasmLimits = {\n\t\tmaxModuleFileBytes?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tsyncReadLimitBytes?: number | bigint | null;\n\t\tprewarmTimeoutMs?: number | bigint | null;\n\t\trunnerHeapLimitMb?: number | bigint | null;\n\t\trunnerCpuTimeLimitMs?: number | bigint | null;\n\t};\n}\n\nexport namespace Output {\n\texport type ActorCodeEvaluationResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\tvalue?: JsonValue | null;\n\t};\n\texport type ActorCodeExecutionResult = {\n\t\texecution?: ActorExecutionDescriptor | null;\n\t\toutcome: ActorExecutionOutcome;\n\t\texitCode?: number | null;\n\t\terror?: ActorExecutionError | null;\n\t\tstdout?: FileBytes | null;\n\t\tstderr?: FileBytes | null;\n\t\tstdoutTruncated?: boolean | null;\n\t\tstderrTruncated?: boolean | null;\n\t};\n\texport type ActorContextDescriptor = {\n\t\tcontext: ActorContextId;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t};\n\texport type ActorContextId = {\n\t\tgeneration: number | bigint;\n\t\tcontextId: string;\n\t};\n\texport type ActorCronJob = {\n\t\tname: string;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\toptions: ActorSpawnOptions;\n\t\tconfigRevision: number | bigint;\n\t\tnextRunAtMs: number | bigint;\n\t\tlastRunAtMs?: number | bigint | null;\n\t\tmaxHistory: number | bigint;\n\t};\n\texport type ActorExecOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tcaptureStdio?: boolean | null;\n\t};\n\texport type ActorExecResult = {\n\t\tstatus: ActorExitStatus;\n\t\tstdout: string;\n\t\tstderr: string;\n\t};\n\texport type ActorExecutionDescriptor = {\n\t\texecutionId: string;\n\t\tgeneration: number | bigint;\n\t\tstate: string;\n\t\tlanguage?: string | null;\n\t\tprocessId?: string | null;\n\t\tpid?: number | null;\n\t\tcreatedAtMs: number | bigint;\n\t\tlastStartedAtMs?: number | bigint | null;\n\t\tlastCompletedAtMs?: number | bigint | null;\n\t\tlastOutcome?: ActorExecutionOutcome | null;\n\t\tlastExitCode?: number | null;\n\t};\n\texport type ActorExecutionError = {\n\t\tcode: string;\n\t\tname: string;\n\t\tmessage: string;\n\t\tstack?: string | null;\n\t\tdetails?: JsonValue | null;\n\t};\n\texport type ActorExecutionOutcome =\n\t\t| \"succeeded\"\n\t\t| \"failed\"\n\t\t| \"cancelled\"\n\t\t| \"timedOut\";\n\texport type ActorExecutionOutputOptions = {\n\t\tcapture?: ActorOutputCapture | null;\n\t\tretainEvents?: boolean | null;\n\t};\n\texport type ActorExecutionPtyOptions = {\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorExitStatus = {\n\t\texitCode: number;\n\t\tsignal?: ActorSignal | null;\n\t};\n\texport type ActorFetchStreamChunk = { body: FileBytes; done: boolean };\n\texport type ActorFetchStreamHead = {\n\t\tstream: ActorFetchStreamId;\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t};\n\texport type ActorFetchStreamId = {\n\t\tgeneration: number | bigint;\n\t\tstreamId: string;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorFileStat = {\n\t\tmode: number;\n\t\tsizeBytes: number | bigint;\n\t\tblocks: number | bigint;\n\t\tdev: number | bigint;\n\t\trdev: number | bigint;\n\t\tisDirectory: boolean;\n\t\tisSymbolicLink: boolean;\n\t\tatimeMs: number;\n\t\tmtimeMs: number;\n\t\tctimeMs: number;\n\t\tbirthtimeMs: number;\n\t\tino: number | bigint;\n\t\tnlink: number | bigint;\n\t\tuid: number;\n\t\tgid: number;\n\t};\n\texport type ActorHttpRequest = {\n\t\tport: number;\n\t\tpath: string;\n\t\tmethod?: string;\n\t\theaders?: { [key in string]?: string };\n\t\tbody?: FileContentInput | null;\n\t};\n\texport type ActorHttpResponse = {\n\t\tstatus: number;\n\t\tstatusText: string;\n\t\theaders: Array<[string, string]>;\n\t\tbody: FileBytes;\n\t};\n\texport type ActorInlineExecutionOptions = {\n\t\tprocess?: ActorLanguageExecutionOptions;\n\t\tinputs?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type ActorInstalledSoftware = {\n\t\tpackageId: string;\n\t\tdigest: string;\n\t\tsizeBytes: number | bigint;\n\t\tpackageName: string;\n\t\tversion: string;\n\t\tcommands: Array<string>;\n\t};\n\texport type ActorJavaScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tformat?: ActorJavaScriptModuleFormat | null;\n\t\tfilePath?: string | null;\n\t};\n\texport type ActorJavaScriptModuleFormat = \"module\" | \"commonJs\";\n\texport type ActorLanguageExecutionOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorLanguageSpawnOptions = {\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\targs?: Array<string>;\n\t\tstdin?: FileContentInput | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\tpty?: ActorExecutionPtyOptions | null;\n\t};\n\texport type ActorNpmInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tfrozen?: boolean | null;\n\t\tdev?: boolean | null;\n\t\tglobal?: boolean | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorOutputCapture = \"none\" | \"stderr\" | \"all\";\n\texport type ActorOutputEvent = {\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ActorOutputReplay = {\n\t\tgeneration: number | bigint;\n\t\tevents: Array<ActorOutputEvent>;\n\t\tnextCursor?: number | bigint | null;\n\t\thasMore: boolean;\n\t\ttruncated: boolean;\n\t\tend?: ActorExitStatus | null;\n\t};\n\texport type ActorPreview = {\n\t\ttoken: string;\n\t\tpath: string;\n\t\tport: number;\n\t\texpiresAtMs: number | bigint;\n\t};\n\texport type ActorProcessExit = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorProcessId = { generation: number | bigint; pid: number };\n\texport type ActorProcessInfo = {\n\t\tprocess: ActorProcessId;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\trunning: boolean;\n\t\texit?: ActorExitStatus | null;\n\t\tstartedAtMs: number | bigint;\n\t};\n\texport type ActorProcessTree = {\n\t\tgeneration: number | bigint;\n\t\troots: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorProcessTreeNode = {\n\t\tprocess?: ActorProcessId | null;\n\t\tpid: number;\n\t\tppid: number;\n\t\tpgid: number;\n\t\tsid: number;\n\t\tdriver: string;\n\t\tcommand: string;\n\t\targs: Array<string>;\n\t\tcwd: string;\n\t\tstatus: ProcessStatus;\n\t\texit?: ActorExitStatus | null;\n\t\tstartTimeMs: number;\n\t\texitTimeMs?: number | null;\n\t\tchildren: Array<ActorProcessTreeNode>;\n\t};\n\texport type ActorPythonInstallOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tenv?: { [key in string]?: string };\n\t\ttimeoutMs?: number | bigint | null;\n\t\tupgrade?: boolean | null;\n\t\trequirementsFile?: string | null;\n\t\tindexUrl?: string | null;\n\t\textraIndexUrls?: Array<string>;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorSignal = \"SIGTERM\" | \"SIGINT\" | \"SIGKILL\";\n\texport type ActorSpawnOptions = {\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tstdio?: SpawnStdio | null;\n\t\t/**\n\t\t * Keep stdin open for `v1.process.stdin.write`. Without it the process reads EOF, as under\n\t\t * `docker exec` without `-i`, so a command that reads stdin cannot wait forever, and\n\t\t * `v1.process.stdin.write` fails with `invalid_input`.\n\t\t */\n\t\topenStdin?: boolean | null;\n\t\tstdinFd?: number | null;\n\t\tstdoutFd?: number | null;\n\t\tstderrFd?: number | null;\n\t};\n\texport type ActorTerminalExit = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ActorTerminalId = {\n\t\tgeneration: number | bigint;\n\t\tshellId: string;\n\t};\n\texport type ActorTerminalOptions = {\n\t\tcommand?: string | null;\n\t\targs?: Array<string>;\n\t\tenv?: { [key in string]?: string };\n\t\tcwd?: string | null;\n\t\tcols?: number | null;\n\t\trows?: number | null;\n\t};\n\texport type ActorTypeScriptCheckOptions = {\n\t\tcontext?: ActorContextId | null;\n\t\tcwd?: string | null;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t\ttimeoutMs?: number | bigint | null;\n\t\toutput?: ActorExecutionOutputOptions;\n\t};\n\texport type ActorTypeScriptCheckResult = {\n\t\tresult: ActorCodeExecutionResult;\n\t\thasErrors?: boolean | null;\n\t\tdiagnostics: Array<ActorTypeScriptDiagnostic>;\n\t};\n\texport type ActorTypeScriptDiagnostic = {\n\t\tcode: number;\n\t\tcategory: string;\n\t\tmessage: string;\n\t\tfilePath?: string | null;\n\t\tline?: number | null;\n\t\tcolumn?: number | null;\n\t};\n\texport type ActorTypeScriptExecutionOptions = {\n\t\tinline?: ActorInlineExecutionOptions;\n\t\tfilePath?: string | null;\n\t\ttsconfigPath?: string | null;\n\t\tcompilerOptions?: { [key in string]?: JsonValue } | null;\n\t};\n\texport type AgentOsActorConfig = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts: Array<number>;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem: HostedFilesystemConfig;\n\t\tdefaultSoftware?: boolean | null;\n\t\tsoftware: Array<RemotePackageSource>;\n\t\tpreview: PreviewPolicy;\n\t};\n\texport type AgentOsActorConfigInput = {\n\t\tuser?: VmUserConfig | null;\n\t\tenvironment?: { [key in string]?: string } | null;\n\t\tallowedNodeBuiltins?: Array<string> | null;\n\t\thighResolutionTime?: boolean | null;\n\t\tloopbackExemptPorts?: Array<number> | null;\n\t\tlimits?: AgentOsLimits | null;\n\t\tpermissions?: Permissions | null;\n\t\tfilesystem?: HostedFilesystemConfigInput | null;\n\t\t/**\n\t\t * Install agentOS default software (coreutils, sed, grep, gawk, findutils,\n\t\t * diffutils, tar, gzip) before `software`. Defaults to true.\n\t\t */\n\t\tdefaultSoftware?: boolean | null;\n\t\t/**\n\t\t * Software installed after the default software, in order. Registry\n\t\t * entries are resolved to an exact URL and digest when the config is\n\t\t * accepted, so the durable config never follows a moving manifest.\n\t\t */\n\t\tsoftware?: Array<SoftwareSourceInput> | null;\n\t\tpreview?: PreviewPolicyInput | null;\n\t};\n\texport type AgentOsActorCreateInput = {\n\t\tconfig?: AgentOsActorConfigInput | null;\n\t};\n\texport type AgentOsLimits = {\n\t\tagentosPackages?: AgentOsPackageLimits;\n\t\tresources?: ResourceLimits | null;\n\t\thttp?: HttpLimits | null;\n\t\ttls?: TlsLimits;\n\t\thostFunctions?: HostFunctionLimits | null;\n\t\tplugins?: PluginLimits | null;\n\t\tsqlite?: SqliteLimits | null;\n\t\tjsRuntime?: JsRuntimeLimits | null;\n\t\tpython?: PythonLimits | null;\n\t\twasm?: WasmLimits | null;\n\t\texecution?: ExecutionLimits;\n\t\tprocess?: ProcessLimits | null;\n\t};\n\texport type AgentOsPackageLimits = { maxMounts?: number | bigint };\n\texport type ConfigApplyState =\n\t\t| \"applying\"\n\t\t| \"ready\"\n\t\t| \"restart_required\"\n\t\t| \"failed\";\n\texport type ConfigGet = Record<string, never>;\n\texport type ConfigPatch = {\n\t\tpatch: JsonValue;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSet = {\n\t\tconfig: AgentOsActorConfigInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type ConfigSnapshot = {\n\t\trevision: number | bigint;\n\t\tdesired: AgentOsActorConfig;\n\t\tappliedRevision?: number | bigint | null;\n\t\tstate: ConfigApplyState;\n\t\tissues: Array<VmIssue>;\n\t\tcreatedAtMs: number | bigint;\n\t\tupdatedAtMs: number | bigint;\n\t};\n\texport type ContextsCreate = { contextId: string };\n\texport type ContextsDelete = { context: ActorContextId };\n\texport type ContextsGet = { context: ActorContextId };\n\texport type ContextsList = Record<string, never>;\n\texport type ContextsReset = { context: ActorContextId };\n\texport type CoreSidecarStatus = { state: string; activeVmCount: number };\n\texport type CronCancel = { name: string };\n\texport type CronFiredEvent = {\n\t\tscheduleName: string;\n\t\tprocess?: ActorProcessId | null;\n\t\terror?: CronLaunchError | null;\n\t\tfiredAtMs: number | bigint;\n\t};\n\texport type CronLaunchError = { code: string; message: string };\n\texport type CronList = Record<string, never>;\n\texport type CronSchedule = {\n\t\tname?: string | null;\n\t\texpression: string;\n\t\ttimezone?: string | null;\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t\tmaxHistory?: number | bigint | null;\n\t};\n\texport type DirEntryType = \"file\" | \"directory\" | \"symlink\";\n\texport type ExecutionLimits = {\n\t\tcompletedTtlMs?: number | bigint;\n\t\tmaxCompletedExecutions?: number | bigint;\n\t\tliveExecutionWarningThreshold?: number | bigint;\n\t};\n\texport type FileBytes = Uint8Array;\n\texport type FileContentInput = string | Uint8Array;\n\texport type FilesystemEntry = {\n\t\tpath: string;\n\t\ttype: DirEntryType;\n\t\tmode: string;\n\t\tuid: number;\n\t\tgid: number;\n\t\tcontent?: string | null;\n\t\tencoding?: FilesystemEntryEncoding | null;\n\t\ttarget?: string | null;\n\t};\n\texport type FilesystemEntryEncoding = \"utf8\" | \"base64\";\n\texport type FilesystemExists = { path: string };\n\texport type FilesystemExport = { maxBytes?: number | null };\n\texport type FilesystemListMounts = Record<string, never>;\n\texport type FilesystemMkdir = { path: string; recursive?: boolean };\n\texport type FilesystemMove = { from: string; to: string };\n\texport type FilesystemReadFile = { path: string; maxBytes?: number | null };\n\texport type FilesystemReadFiles = {\n\t\tpaths: Array<string>;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type FilesystemReaddir = { path: string };\n\texport type FilesystemReaddirEntries = { path: string };\n\texport type FilesystemReaddirRecursive = {\n\t\tpath: string;\n\t\tmaxDepth?: number | null;\n\t\texclude?: Array<string>;\n\t};\n\texport type FilesystemRemove = { path: string; recursive?: boolean };\n\texport type FilesystemSnapshotEntries = { entries: Array<FilesystemEntry> };\n\texport type FilesystemSnapshotExport = {\n\t\tformat: string;\n\t\tfilesystem: FilesystemSnapshotEntries;\n\t};\n\texport type FilesystemStat = { path: string };\n\texport type FilesystemWriteEntry = {\n\t\tpath: string;\n\t\tcontent: FileContentInput;\n\t};\n\texport type FilesystemWriteFile = { path: string; content: FileContentInput };\n\texport type FilesystemWriteFiles = { entries: Array<FilesystemWriteEntry> };\n\texport type FsPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpaths?: Array<string> | null;\n\t};\n\texport type FsPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<FsPermissionRule>;\n\texport type HostFunctionLimits = {\n\t\tdefaultTimeoutMs?: number | bigint | null;\n\t\tmaxTimeoutMs?: number | bigint | null;\n\t\tmaxRegisteredCollections?: number | bigint | null;\n\t\tmaxRegisteredFunctionsPerVm?: number | bigint | null;\n\t\tmaxFunctionsPerCollection?: number | bigint | null;\n\t\tmaxSchemaBytes?: number | bigint | null;\n\t\tmaxExamplesPerFunction?: number | bigint | null;\n\t\tmaxExampleInputBytes?: number | bigint | null;\n\t};\n\texport type HostedFilesystemBackend = { type: \"durable\"; namespace: string };\n\texport type HostedFilesystemBackendInput = {\n\t\ttype: \"durable\";\n\t\tnamespace?: string | null;\n\t};\n\texport type HostedFilesystemConfig = {\n\t\troot: HostedRootFilesystem;\n\t\tmounts: Array<HostedFilesystemMount>;\n\t};\n\texport type HostedFilesystemConfigInput = {\n\t\troot?: HostedRootFilesystemInput | null;\n\t\tmounts?: Array<HostedFilesystemMountInput>;\n\t};\n\texport type HostedFilesystemMount = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackend;\n\t\treadOnly: boolean;\n\t};\n\texport type HostedFilesystemMountInput = {\n\t\tpath: string;\n\t\tbackend: HostedFilesystemBackendInput;\n\t\treadOnly?: boolean;\n\t};\n\texport type HostedRootFilesystem =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace: string; readOnly: boolean };\n\texport type HostedRootFilesystemInput =\n\t\t| { type: \"default\" }\n\t\t| { type: \"durable\"; namespace?: string | null; readOnly?: boolean };\n\texport type HttpLimits = { maxFetchResponseBytes?: number | bigint | null };\n\texport type JavaScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorJavaScriptExecutionOptions;\n\t};\n\texport type JavaScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorNpmInstallOptions;\n\t};\n\texport type JavaScriptNpmRunPackage = {\n\t\tpackageSpec: string;\n\t\tbinary?: string | null;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptNpmRunScript = {\n\t\tscript: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type JavaScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JavaScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type JsRuntimeLimits = {\n\t\tv8HeapLimitMb?: number | bigint | null;\n\t\tsyncRpcWaitTimeoutMs?: number | bigint | null;\n\t\tcpuTimeLimitMs?: number | bigint | null;\n\t\twallClockLimitMs?: number | bigint | null;\n\t\timportCacheMaterializeTimeoutMs?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tstdinBufferLimitBytes?: number | bigint | null;\n\t\teventPayloadLimitBytes?: number | bigint | null;\n\t\tv8IpcMaxFrameBytes?: number | bigint | null;\n\t};\n\texport type JsonValue =\n\t\t| number\n\t\t| string\n\t\t| boolean\n\t\t| Array<JsonValue>\n\t\t| { [key in string]?: JsonValue }\n\t\t| null;\n\texport type NetworkFetch = { request: ActorHttpRequest };\n\texport type NetworkFetchStreamCancel = { stream: ActorFetchStreamId };\n\texport type NetworkFetchStreamRead = {\n\t\tstream: ActorFetchStreamId;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type NetworkFetchStreamStart = { request: ActorHttpRequest };\n\texport type NetworkPreviewCreate = {\n\t\tport: number;\n\t\tttlMs?: number | bigint | null;\n\t};\n\texport type NetworkPreviewExpire = { token: string };\n\texport type PackageStartupStatus = {\n\t\trequiredTotal: number;\n\t\trequiredReady: number;\n\t\toptionalPreloadTotal: number;\n\t\toptionalPreloadReady: number;\n\t\toptionalPreloadFailed: number;\n\t\toptionalPreloadSkipped: number;\n\t\toptionalPreloadWarmedBytes: number | bigint;\n\t\toptionalPreloadDeadlineHit: boolean;\n\t\toptionalPreloadCoordinatorAvailable: boolean;\n\t};\n\texport type PatternPermissionRule = {\n\t\tmode: PermissionMode;\n\t\toperations?: Array<string> | null;\n\t\tpatterns?: Array<string> | null;\n\t};\n\texport type PatternPermissions =\n\t\t| PermissionMode\n\t\t| RulePermissions<PatternPermissionRule>;\n\texport type PermissionMode = \"allow\" | \"deny\";\n\texport type Permissions = {\n\t\tfs?: FsPermissions | null;\n\t\tnetwork?: PatternPermissions | null;\n\t\tchildProcess?: PatternPermissions | null;\n\t\tprocess?: PatternPermissions | null;\n\t\tenv?: PatternPermissions | null;\n\t\thostFunction?: PatternPermissions | null;\n\t};\n\texport type PluginLimits = {\n\t\tmaxPersistedManifestBytes?: number | bigint | null;\n\t\tmaxPersistedManifestFileBytes?: number | bigint | null;\n\t};\n\texport type PreviewPolicy = {\n\t\tdefaultTtlMs: number | bigint;\n\t\tmaxTtlMs: number | bigint;\n\t\tmaxActive: number;\n\t};\n\texport type PreviewPolicyInput = {\n\t\tdefaultTtlMs?: number | bigint | null;\n\t\tmaxTtlMs?: number | bigint | null;\n\t\tmaxActive?: number | null;\n\t};\n\texport type ProcessExitEvent = {\n\t\tprocess: ActorProcessId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type ProcessGet = { process: ActorProcessId };\n\texport type ProcessLimits = {\n\t\tmaxSpawnFileActions?: number | bigint | null;\n\t\tmaxSpawnFileActionBytes?: number | bigint | null;\n\t\tpendingStdinBytes?: number | bigint | null;\n\t\tpendingEventCount?: number | bigint | null;\n\t\tpendingEventBytes?: number | bigint | null;\n\t};\n\texport type ProcessList = Record<string, never>;\n\texport type ProcessOutputEvent = {\n\t\tprocess: ActorProcessId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type ProcessOutputRead = {\n\t\tprocess: ActorProcessId;\n\t\tafter?: number | bigint | null;\n\t\tmaxEvents?: number | null;\n\t\tmaxBytes?: number | null;\n\t};\n\texport type ProcessPtyResize = {\n\t\tprocess: ActorProcessId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type ProcessRun = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorExecOptions;\n\t};\n\texport type ProcessSignal = { process: ActorProcessId; signal: ActorSignal };\n\texport type ProcessSpawn = {\n\t\tcommand: string;\n\t\targs?: Array<string>;\n\t\toptions?: ActorSpawnOptions;\n\t};\n\texport type ProcessStatus = \"running\" | \"exited\";\n\texport type ProcessStdinClose = { process: ActorProcessId };\n\texport type ProcessStdinWrite = {\n\t\tprocess: ActorProcessId;\n\t\tdata: FileContentInput;\n\t};\n\texport type ProcessStream = \"stdout\" | \"stderr\";\n\texport type ProcessTree = Record<string, never>;\n\texport type ProcessWait = { process: ActorProcessId };\n\texport type PythonEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecute = {\n\t\tsource: string;\n\t\toptions?: ActorInlineExecutionOptions;\n\t};\n\texport type PythonExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonExecuteModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageExecutionOptions;\n\t};\n\texport type PythonInstall = {\n\t\tpackages?: Array<string>;\n\t\toptions?: ActorPythonInstallOptions;\n\t};\n\texport type PythonLimits = {\n\t\toutputBufferMaxBytes?: number | bigint | null;\n\t\texecutionTimeoutMs?: number | bigint | null;\n\t\tmaxOldSpaceMb?: number | bigint | null;\n\t\tvfsRpcTimeoutMs?: number | bigint | null;\n\t};\n\texport type PythonSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type PythonSpawnModule = {\n\t\tmodule: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type RegistrySoftwareSourceInput = {\n\t\t/**\n\t\t * Registry package name, such as `git` or `ripgrep`.\n\t\t */\n\t\tregistry: string;\n\t\t/**\n\t\t * agentOS release whose manifest lists the package, such as `0.4.3` or\n\t\t * `latest`. Defaults to the agentOS release the actor is built with.\n\t\t */\n\t\tversion?: string | null;\n\t};\n\texport type RemotePackageSource = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type RemotePackageSourceInput = {\n\t\turl: string;\n\t\tdigest?: string | null;\n\t\t/**\n\t\t * Resolution metadata is accepted so a `v1.config.get` snapshot can be sent\n\t\t * back to `v1.config.set`. Core re-resolves the source and never trusts it.\n\t\t */\n\t\tsizeBytes?: number | bigint | null;\n\t\tpackageId?: string | null;\n\t};\n\texport type ResourceLimits = {\n\t\tcpuCount?: number | bigint | null;\n\t\tmaxProcesses?: number | bigint | null;\n\t\tmaxOpenFds?: number | bigint | null;\n\t\tmaxPipes?: number | bigint | null;\n\t\tmaxPtys?: number | bigint | null;\n\t\tmaxSockets?: number | bigint | null;\n\t\tmaxConnections?: number | bigint | null;\n\t\tmaxSocketBufferedBytes?: number | bigint | null;\n\t\tmaxSocketDatagramQueueLen?: number | bigint | null;\n\t\tmaxFilesystemBytes?: number | bigint | null;\n\t\tmaxInodeCount?: number | bigint | null;\n\t\tmaxBlockingReadMs?: number | bigint | null;\n\t\tmaxPreadBytes?: number | bigint | null;\n\t\tmaxFdWriteBytes?: number | bigint | null;\n\t\tmaxProcessArgvBytes?: number | bigint | null;\n\t\tmaxProcessEnvBytes?: number | bigint | null;\n\t\tmaxReaddirEntries?: number | bigint | null;\n\t\tmaxWasmFuel?: number | bigint | null;\n\t\tmaxWasmMemoryBytes?: number | bigint | null;\n\t\tmaxWasmStackBytes?: number | bigint | null;\n\t};\n\texport type RootSnapshotExport = {\n\t\tkind: SnapshotExportKind;\n\t\tsource: FilesystemSnapshotExport;\n\t};\n\texport type RulePermissions<T> = {\n\t\tdefault?: PermissionMode | null;\n\t\trules: Array<T>;\n\t};\n\texport type SnapshotExportKind = \"snapshot-export\";\n\texport type SoftwareInstall = {\n\t\t/**\n\t\t * A `{ url, digest? }` artifact or a `{ registry, version? }` package. The\n\t\t * result's `source` is the resolved, digest-pinned URL that is persisted.\n\t\t */\n\t\tsource: SoftwareSourceInput;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SoftwareList = Record<string, never>;\n\texport type SoftwareMutationResult = {\n\t\tsoftware?: ActorInstalledSoftware | null;\n\t\tsource: RemotePackageSource;\n\t\tconfig: ConfigSnapshot;\n\t};\n\texport type SoftwareSourceInput =\n\t\t| RegistrySoftwareSourceInput\n\t\t| RemotePackageSourceInput;\n\texport type SoftwareUninstall = {\n\t\tpackageId: string;\n\t\texpectedRevision?: number | bigint | null;\n\t};\n\texport type SpawnStdio = \"pipe\" | \"inherit\";\n\texport type SqliteLimits = { maxResultBytes?: number | bigint | null };\n\texport type TerminalClose = { terminal: ActorTerminalId };\n\texport type TerminalExitEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tstatus: ActorExitStatus;\n\t};\n\texport type TerminalList = Record<string, never>;\n\texport type TerminalOpen = { options?: ActorTerminalOptions };\n\texport type TerminalOutputEvent = {\n\t\tterminal: ActorTerminalId;\n\t\tsequence: number | bigint;\n\t\tstream: ProcessStream;\n\t\tdata: FileBytes;\n\t\ttimestampMs: number | bigint;\n\t};\n\texport type TerminalOutputRead = {\n\t\tterminal: ActorTerminalId;\n\t\tafter?: number | bigint | null;\n\t\tmaxBytes?: number | null;\n\t\tmaxEvents?: number | null;\n\t};\n\texport type TerminalPtyResize = {\n\t\tterminal: ActorTerminalId;\n\t\tcols: number;\n\t\trows: number;\n\t};\n\texport type TerminalStdinWrite = {\n\t\tterminal: ActorTerminalId;\n\t\tdata: FileContentInput;\n\t};\n\texport type TerminalWait = { terminal: ActorTerminalId };\n\texport type TlsLimits = { maxBufferedBytes?: number | bigint };\n\texport type TypeScriptCheck = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptCheckProject = {\n\t\toptions?: ActorTypeScriptCheckOptions;\n\t};\n\texport type TypeScriptEvaluate = {\n\t\texpression: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecute = {\n\t\tsource: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptExecuteFile = {\n\t\tpath: string;\n\t\toptions?: ActorTypeScriptExecutionOptions;\n\t};\n\texport type TypeScriptSpawn = {\n\t\tsource: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type TypeScriptSpawnFile = {\n\t\tpath: string;\n\t\toptions?: ActorLanguageSpawnOptions;\n\t};\n\texport type VmBooted = {\n\t\tgeneration: number | bigint;\n\t\tconfigRevision: number | bigint;\n\t\tbootedAtMs: number | bigint;\n\t};\n\texport type VmGroupConfig = {\n\t\tgid: number;\n\t\tname: string;\n\t\tmembers: Array<string>;\n\t};\n\texport type VmIssue = {\n\t\tcode: string;\n\t\tmessage: string;\n\t\tatMs: number | bigint;\n\t};\n\texport type VmLifecycleState =\n\t\t| \"initializing\"\n\t\t| \"preloading\"\n\t\t| \"booting\"\n\t\t| \"ready\"\n\t\t| \"degraded\"\n\t\t| \"stopping\"\n\t\t| \"failed\";\n\texport type VmLimitWarning = {\n\t\tlimit: string;\n\t\tobserved: number | bigint;\n\t\tcapacity: number | bigint;\n\t\tmessage: string;\n\t};\n\texport type VmRestart = Record<string, never>;\n\texport type VmShutdown = {\n\t\tgeneration: number | bigint;\n\t\treason: string;\n\t\tshutdownAtMs: number | bigint;\n\t};\n\texport type VmStatus = Record<string, never>;\n\texport type VmStatusSnapshot = {\n\t\tlifecycle: VmLifecycleState;\n\t\tconfigState: ConfigApplyState;\n\t\tdesiredConfigRevision: number | bigint;\n\t\tappliedConfigRevision?: number | bigint | null;\n\t\tgeneration: number | bigint;\n\t\tlastBootAtMs?: number | bigint | null;\n\t\tlastShutdownAtMs?: number | bigint | null;\n\t\tpackages: PackageStartupStatus;\n\t\tissues: Array<VmIssue>;\n\t\tcore?: CoreSidecarStatus | null;\n\t};\n\texport type VmUserAccountConfig = {\n\t\tuid: number;\n\t\tgid: number;\n\t\tusername: string;\n\t\thomedir: string;\n\t\tshell: string;\n\t\tgecos?: string;\n\t\tsupplementaryGids: Array<number>;\n\t};\n\texport type VmUserConfig = {\n\t\tuid?: number;\n\t\tgid?: number;\n\t\teuid?: number;\n\t\tegid?: number;\n\t\tusername?: string;\n\t\thomedir?: string;\n\t\tshell?: string;\n\t\tgecos?: string;\n\t\tgroupName?: string;\n\t\tsupplementaryGids?: Array<number>;\n\t\taccounts?: Array<VmUserAccountConfig>;\n\t\tgroups?: Array<VmGroupConfig>;\n\t};\n\texport type WasmLimits = {\n\t\tmaxModuleFileBytes?: number | bigint | null;\n\t\tcapturedOutputLimitBytes?: number | bigint | null;\n\t\tsyncReadLimitBytes?: number | bigint | null;\n\t\tprewarmTimeoutMs?: number | bigint | null;\n\t\trunnerHeapLimitMb?: number | bigint | null;\n\t\trunnerCpuTimeLimitMs?: number | bigint | null;\n\t};\n}\n\nexport type AgentOsActorCreateInput = Input.AgentOsActorCreateInput;\nexport type AgentOsRivetError = {\n\tgroup: string;\n\tcode: string;\n\tmessage: string;\n\tmetadata: Output.JsonValue | null;\n};\n\nexport type V1ConfigGetInput = Record<string, never>;\nexport type V1ConfigGetOutput = {\n\trevision: number | bigint;\n\tdesired: Output.AgentOsActorConfig;\n\tappliedRevision?: number | bigint | null;\n\tstate: Output.ConfigApplyState;\n\tissues: Array<Output.VmIssue>;\n\tcreatedAtMs: number | bigint;\n\tupdatedAtMs: number | bigint;\n};\nexport type V1ConfigPatchInput = {\n\tpatch: Input.JsonValue;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1ConfigPatchOutput = {\n\trevision: number | bigint;\n\tdesired: Output.AgentOsActorConfig;\n\tappliedRevision?: number | bigint | null;\n\tstate: Output.ConfigApplyState;\n\tissues: Array<Output.VmIssue>;\n\tcreatedAtMs: number | bigint;\n\tupdatedAtMs: number | bigint;\n};\nexport type V1ConfigSetInput = {\n\tconfig: Input.AgentOsActorConfigInput;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1ConfigSetOutput = {\n\trevision: number | bigint;\n\tdesired: Output.AgentOsActorConfig;\n\tappliedRevision?: number | bigint | null;\n\tstate: Output.ConfigApplyState;\n\tissues: Array<Output.VmIssue>;\n\tcreatedAtMs: number | bigint;\n\tupdatedAtMs: number | bigint;\n};\nexport type V1ContextsCreateInput = { contextId: string };\nexport type V1ContextsCreateOutput = {\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n};\nexport type V1ContextsDeleteInput = { context: Input.ActorContextId };\nexport type V1ContextsDeleteOutput = void;\nexport type V1ContextsGetInput = { context: Input.ActorContextId };\nexport type V1ContextsGetOutput = {\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n};\nexport type V1ContextsListInput = Record<string, never>;\nexport type V1ContextsListOutput = Array<{\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n}>;\nexport type V1ContextsResetInput = { context: Input.ActorContextId };\nexport type V1ContextsResetOutput = {\n\tcontext: Output.ActorContextId;\n\tstate: string;\n\tlanguage?: string | null;\n\tcreatedAtMs: number | bigint;\n\tlastStartedAtMs?: number | bigint | null;\n\tlastCompletedAtMs?: number | bigint | null;\n};\nexport type V1CronCancelInput = { name: string };\nexport type V1CronCancelOutput = boolean;\nexport type V1CronListInput = Record<string, never>;\nexport type V1CronListOutput = Array<{\n\tname: string;\n\texpression: string;\n\ttimezone?: string | null;\n\tcommand: string;\n\targs: Array<string>;\n\toptions: Output.ActorSpawnOptions;\n\tconfigRevision: number | bigint;\n\tnextRunAtMs: number | bigint;\n\tlastRunAtMs?: number | bigint | null;\n\tmaxHistory: number | bigint;\n}>;\nexport type V1CronScheduleInput = {\n\tname?: string | null;\n\texpression: string;\n\ttimezone?: string | null;\n\tcommand: string;\n\targs?: Array<string>;\n\toptions?: Input.ActorSpawnOptions;\n\tmaxHistory?: number | bigint | null;\n};\nexport type V1CronScheduleOutput = {\n\tname: string;\n\texpression: string;\n\ttimezone?: string | null;\n\tcommand: string;\n\targs: Array<string>;\n\toptions: Output.ActorSpawnOptions;\n\tconfigRevision: number | bigint;\n\tnextRunAtMs: number | bigint;\n\tlastRunAtMs?: number | bigint | null;\n\tmaxHistory: number | bigint;\n};\nexport type V1FilesystemExistsInput = { path: string };\nexport type V1FilesystemExistsOutput = boolean;\nexport type V1FilesystemExportInput = { maxBytes?: number | null };\nexport type V1FilesystemExportOutput = {\n\tkind: Output.SnapshotExportKind;\n\tsource: Output.FilesystemSnapshotExport;\n};\nexport type V1FilesystemListMountsInput = Record<string, never>;\nexport type V1FilesystemListMountsOutput = Array<{\n\tpath: string;\n\tkind: string;\n\treadOnly: boolean;\n}>;\nexport type V1FilesystemMkdirInput = { path: string; recursive?: boolean };\nexport type V1FilesystemMkdirOutput = void;\nexport type V1FilesystemMoveInput = { from: string; to: string };\nexport type V1FilesystemMoveOutput = void;\nexport type V1FilesystemReadFileInput = {\n\tpath: string;\n\tmaxBytes?: number | null;\n};\nexport type V1FilesystemReadFileOutput = Uint8Array;\nexport type V1FilesystemReadFilesInput = {\n\tpaths: Array<string>;\n\tmaxBytes?: number | null;\n};\nexport type V1FilesystemReadFilesOutput = Array<{\n\tpath: string;\n\tcontent?: Output.FileBytes | null;\n\terror?: string | null;\n}>;\nexport type V1FilesystemReaddirInput = { path: string };\nexport type V1FilesystemReaddirOutput = Array<string>;\nexport type V1FilesystemReaddirEntriesInput = { path: string };\nexport type V1FilesystemReaddirEntriesOutput = Array<{\n\tname: string;\n\tisDirectory: boolean;\n\tisSymbolicLink: boolean;\n}>;\nexport type V1FilesystemReaddirRecursiveInput = {\n\tpath: string;\n\tmaxDepth?: number | null;\n\texclude?: Array<string>;\n};\nexport type V1FilesystemReaddirRecursiveOutput = Array<{\n\tpath: string;\n\ttype: Output.DirEntryType;\n\tsizeBytes: number | bigint;\n}>;\nexport type V1FilesystemRemoveInput = { path: string; recursive?: boolean };\nexport type V1FilesystemRemoveOutput = void;\nexport type V1FilesystemStatInput = { path: string };\nexport type V1FilesystemStatOutput = {\n\tmode: number;\n\tsizeBytes: number | bigint;\n\tblocks: number | bigint;\n\tdev: number | bigint;\n\trdev: number | bigint;\n\tisDirectory: boolean;\n\tisSymbolicLink: boolean;\n\tatimeMs: number;\n\tmtimeMs: number;\n\tctimeMs: number;\n\tbirthtimeMs: number;\n\tino: number | bigint;\n\tnlink: number | bigint;\n\tuid: number;\n\tgid: number;\n};\nexport type V1FilesystemWriteFileInput = {\n\tpath: string;\n\tcontent: Input.FileContentInput;\n};\nexport type V1FilesystemWriteFileOutput = void;\nexport type V1FilesystemWriteFilesInput = {\n\tentries: Array<Input.FilesystemWriteEntry>;\n};\nexport type V1FilesystemWriteFilesOutput = Array<{\n\tpath: string;\n\tsuccess: boolean;\n\terror?: string | null;\n}>;\nexport type V1JavaScriptEvaluateInput = {\n\texpression: string;\n\toptions?: Input.ActorJavaScriptExecutionOptions;\n};\nexport type V1JavaScriptEvaluateOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\tvalue?: Output.JsonValue | null;\n};\nexport type V1JavaScriptExecuteInput = {\n\tsource: string;\n\toptions?: Input.ActorJavaScriptExecutionOptions;\n};\nexport type V1JavaScriptExecuteOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptExecuteFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1JavaScriptExecuteFileOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptNpmInstallInput = {\n\tpackages?: Array<string>;\n\toptions?: Input.ActorNpmInstallOptions;\n};\nexport type V1JavaScriptNpmInstallOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptNpmRunPackageInput = {\n\tpackageSpec: string;\n\tbinary?: string | null;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1JavaScriptNpmRunPackageOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptNpmRunScriptInput = {\n\tscript: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1JavaScriptNpmRunScriptOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1JavaScriptSpawnInput = {\n\tsource: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1JavaScriptSpawnOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1JavaScriptSpawnFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1JavaScriptSpawnFileOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1NetworkFetchInput = { request: Input.ActorHttpRequest };\nexport type V1NetworkFetchOutput = {\n\tstatus: number;\n\tstatusText: string;\n\theaders: Array<[string, string]>;\n\tbody: Output.FileBytes;\n};\nexport type V1NetworkFetchStreamCancelInput = {\n\tstream: Input.ActorFetchStreamId;\n};\nexport type V1NetworkFetchStreamCancelOutput = void;\nexport type V1NetworkFetchStreamReadInput = {\n\tstream: Input.ActorFetchStreamId;\n\tmaxBytes?: number | null;\n};\nexport type V1NetworkFetchStreamReadOutput = {\n\tbody: Output.FileBytes;\n\tdone: boolean;\n};\nexport type V1NetworkFetchStreamStartInput = {\n\trequest: Input.ActorHttpRequest;\n};\nexport type V1NetworkFetchStreamStartOutput = {\n\tstream: Output.ActorFetchStreamId;\n\tstatus: number;\n\tstatusText: string;\n\theaders: Array<[string, string]>;\n};\nexport type V1NetworkPreviewCreateInput = {\n\tport: number;\n\tttlMs?: number | bigint | null;\n};\nexport type V1NetworkPreviewCreateOutput = {\n\ttoken: string;\n\tpath: string;\n\tport: number;\n\texpiresAtMs: number | bigint;\n};\nexport type V1NetworkPreviewExpireInput = { token: string };\nexport type V1NetworkPreviewExpireOutput = boolean;\nexport type V1ProcessGetInput = { process: Input.ActorProcessId };\nexport type V1ProcessGetOutput = {\n\tprocess: Output.ActorProcessId;\n\tcommand: string;\n\targs: Array<string>;\n\trunning: boolean;\n\texit?: Output.ActorExitStatus | null;\n\tstartedAtMs: number | bigint;\n};\nexport type V1ProcessListInput = Record<string, never>;\nexport type V1ProcessListOutput = Array<{\n\tprocess: Output.ActorProcessId;\n\tcommand: string;\n\targs: Array<string>;\n\trunning: boolean;\n\texit?: Output.ActorExitStatus | null;\n\tstartedAtMs: number | bigint;\n}>;\nexport type V1ProcessOutputReadInput = {\n\tprocess: Input.ActorProcessId;\n\tafter?: number | bigint | null;\n\tmaxEvents?: number | null;\n\tmaxBytes?: number | null;\n};\nexport type V1ProcessOutputReadOutput = {\n\tgeneration: number | bigint;\n\tevents: Array<Output.ActorOutputEvent>;\n\tnextCursor?: number | bigint | null;\n\thasMore: boolean;\n\ttruncated: boolean;\n\tend?: Output.ActorExitStatus | null;\n};\nexport type V1ProcessPtyResizeInput = {\n\tprocess: Input.ActorProcessId;\n\tcols: number;\n\trows: number;\n};\nexport type V1ProcessPtyResizeOutput = void;\nexport type V1ProcessRunInput = {\n\tcommand: string;\n\targs?: Array<string>;\n\toptions?: Input.ActorExecOptions;\n};\nexport type V1ProcessRunOutput = {\n\tstatus: Output.ActorExitStatus;\n\tstdout: string;\n\tstderr: string;\n};\nexport type V1ProcessSignalInput = {\n\tprocess: Input.ActorProcessId;\n\tsignal: Input.ActorSignal;\n};\nexport type V1ProcessSignalOutput = void;\nexport type V1ProcessSpawnInput = {\n\tcommand: string;\n\targs?: Array<string>;\n\toptions?: Input.ActorSpawnOptions;\n};\nexport type V1ProcessSpawnOutput = { generation: number | bigint; pid: number };\nexport type V1ProcessStdinCloseInput = { process: Input.ActorProcessId };\nexport type V1ProcessStdinCloseOutput = void;\nexport type V1ProcessStdinWriteInput = {\n\tprocess: Input.ActorProcessId;\n\tdata: Input.FileContentInput;\n};\nexport type V1ProcessStdinWriteOutput = void;\nexport type V1ProcessTreeInput = Record<string, never>;\nexport type V1ProcessTreeOutput = {\n\tgeneration: number | bigint;\n\troots: Array<Output.ActorProcessTreeNode>;\n};\nexport type V1ProcessWaitInput = { process: Input.ActorProcessId };\nexport type V1ProcessWaitOutput = {\n\tprocess: Output.ActorProcessId;\n\tstatus: Output.ActorExitStatus;\n};\nexport type V1PythonEvaluateInput = {\n\texpression: string;\n\toptions?: Input.ActorInlineExecutionOptions;\n};\nexport type V1PythonEvaluateOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\tvalue?: Output.JsonValue | null;\n};\nexport type V1PythonExecuteInput = {\n\tsource: string;\n\toptions?: Input.ActorInlineExecutionOptions;\n};\nexport type V1PythonExecuteOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonExecuteFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1PythonExecuteFileOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonExecuteModuleInput = {\n\tmodule: string;\n\toptions?: Input.ActorLanguageExecutionOptions;\n};\nexport type V1PythonExecuteModuleOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonInstallInput = {\n\tpackages?: Array<string>;\n\toptions?: Input.ActorPythonInstallOptions;\n};\nexport type V1PythonInstallOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1PythonSpawnInput = {\n\tsource: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1PythonSpawnOutput = { generation: number | bigint; pid: number };\nexport type V1PythonSpawnFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1PythonSpawnFileOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1PythonSpawnModuleInput = {\n\tmodule: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1PythonSpawnModuleOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1SoftwareInstallInput = {\n\t/**\n\t * A `{ url, digest? }` artifact or a `{ registry, version? }` package. The\n\t * result's `source` is the resolved, digest-pinned URL that is persisted.\n\t */\n\tsource: Input.SoftwareSourceInput;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1SoftwareInstallOutput = {\n\tsoftware?: Output.ActorInstalledSoftware | null;\n\tsource: Output.RemotePackageSource;\n\tconfig: Output.ConfigSnapshot;\n};\nexport type V1SoftwareListInput = Record<string, never>;\nexport type V1SoftwareListOutput = Array<{\n\tpackageId: string;\n\tdigest: string;\n\tsizeBytes: number | bigint;\n\tpackageName: string;\n\tversion: string;\n\tcommands: Array<string>;\n}>;\nexport type V1SoftwareUninstallInput = {\n\tpackageId: string;\n\texpectedRevision?: number | bigint | null;\n};\nexport type V1SoftwareUninstallOutput = {\n\tsoftware?: Output.ActorInstalledSoftware | null;\n\tsource: Output.RemotePackageSource;\n\tconfig: Output.ConfigSnapshot;\n};\nexport type V1TerminalCloseInput = { terminal: Input.ActorTerminalId };\nexport type V1TerminalCloseOutput = void;\nexport type V1TerminalListInput = Record<string, never>;\nexport type V1TerminalListOutput = Array<{\n\tterminal: Output.ActorTerminalId;\n\tpid: number;\n\trunning: boolean;\n\texit?: Output.ActorExitStatus | null;\n}>;\nexport type V1TerminalOpenInput = { options?: Input.ActorTerminalOptions };\nexport type V1TerminalOpenOutput = {\n\tgeneration: number | bigint;\n\tshellId: string;\n};\nexport type V1TerminalOutputReadInput = {\n\tterminal: Input.ActorTerminalId;\n\tafter?: number | bigint | null;\n\tmaxBytes?: number | null;\n\tmaxEvents?: number | null;\n};\nexport type V1TerminalOutputReadOutput = {\n\tgeneration: number | bigint;\n\tevents: Array<Output.ActorOutputEvent>;\n\tnextCursor?: number | bigint | null;\n\thasMore: boolean;\n\ttruncated: boolean;\n\tend?: Output.ActorExitStatus | null;\n};\nexport type V1TerminalPtyResizeInput = {\n\tterminal: Input.ActorTerminalId;\n\tcols: number;\n\trows: number;\n};\nexport type V1TerminalPtyResizeOutput = void;\nexport type V1TerminalStdinWriteInput = {\n\tterminal: Input.ActorTerminalId;\n\tdata: Input.FileContentInput;\n};\nexport type V1TerminalStdinWriteOutput = void;\nexport type V1TerminalWaitInput = { terminal: Input.ActorTerminalId };\nexport type V1TerminalWaitOutput = {\n\tterminal: Output.ActorTerminalId;\n\tstatus: Output.ActorExitStatus;\n};\nexport type V1TypeScriptCheckInput = {\n\tsource: string;\n\toptions?: Input.ActorTypeScriptCheckOptions;\n};\nexport type V1TypeScriptCheckOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\thasErrors?: boolean | null;\n\tdiagnostics: Array<Output.ActorTypeScriptDiagnostic>;\n};\nexport type V1TypeScriptCheckProjectInput = {\n\toptions?: Input.ActorTypeScriptCheckOptions;\n};\nexport type V1TypeScriptCheckProjectOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\thasErrors?: boolean | null;\n\tdiagnostics: Array<Output.ActorTypeScriptDiagnostic>;\n};\nexport type V1TypeScriptEvaluateInput = {\n\texpression: string;\n\toptions?: Input.ActorTypeScriptExecutionOptions;\n};\nexport type V1TypeScriptEvaluateOutput = {\n\tresult: Output.ActorCodeExecutionResult;\n\tvalue?: Output.JsonValue | null;\n};\nexport type V1TypeScriptExecuteInput = {\n\tsource: string;\n\toptions?: Input.ActorTypeScriptExecutionOptions;\n};\nexport type V1TypeScriptExecuteOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1TypeScriptExecuteFileInput = {\n\tpath: string;\n\toptions?: Input.ActorTypeScriptExecutionOptions;\n};\nexport type V1TypeScriptExecuteFileOutput = {\n\texecution?: Output.ActorExecutionDescriptor | null;\n\toutcome: Output.ActorExecutionOutcome;\n\texitCode?: number | null;\n\terror?: Output.ActorExecutionError | null;\n\tstdout?: Output.FileBytes | null;\n\tstderr?: Output.FileBytes | null;\n\tstdoutTruncated?: boolean | null;\n\tstderrTruncated?: boolean | null;\n};\nexport type V1TypeScriptSpawnInput = {\n\tsource: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1TypeScriptSpawnOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1TypeScriptSpawnFileInput = {\n\tpath: string;\n\toptions?: Input.ActorLanguageSpawnOptions;\n};\nexport type V1TypeScriptSpawnFileOutput = {\n\tgeneration: number | bigint;\n\tpid: number;\n};\nexport type V1VmRestartInput = Record<string, never>;\nexport type V1VmRestartOutput = {\n\tlifecycle: Output.VmLifecycleState;\n\tconfigState: Output.ConfigApplyState;\n\tdesiredConfigRevision: number | bigint;\n\tappliedConfigRevision?: number | bigint | null;\n\tgeneration: number | bigint;\n\tlastBootAtMs?: number | bigint | null;\n\tlastShutdownAtMs?: number | bigint | null;\n\tpackages: Output.PackageStartupStatus;\n\tissues: Array<Output.VmIssue>;\n\tcore?: Output.CoreSidecarStatus | null;\n};\nexport type V1VmStatusInput = Record<string, never>;\nexport type V1VmStatusOutput = {\n\tlifecycle: Output.VmLifecycleState;\n\tconfigState: Output.ConfigApplyState;\n\tdesiredConfigRevision: number | bigint;\n\tappliedConfigRevision?: number | bigint | null;\n\tgeneration: number | bigint;\n\tlastBootAtMs?: number | bigint | null;\n\tlastShutdownAtMs?: number | bigint | null;\n\tpackages: Output.PackageStartupStatus;\n\tissues: Array<Output.VmIssue>;\n\tcore?: Output.CoreSidecarStatus | null;\n};\n\nexport interface AgentOsActions {\n\treadonly v1: {\n\t\treadonly config: {\n\t\t\treadonly get: (input: V1ConfigGetInput) => Promise<V1ConfigGetOutput>;\n\t\t\treadonly patch: (\n\t\t\t\tinput: V1ConfigPatchInput,\n\t\t\t) => Promise<V1ConfigPatchOutput>;\n\t\t\treadonly set: (input: V1ConfigSetInput) => Promise<V1ConfigSetOutput>;\n\t\t};\n\t\treadonly contexts: {\n\t\t\treadonly create: (\n\t\t\t\tinput: V1ContextsCreateInput,\n\t\t\t) => Promise<V1ContextsCreateOutput>;\n\t\t\treadonly delete: (\n\t\t\t\tinput: V1ContextsDeleteInput,\n\t\t\t) => Promise<V1ContextsDeleteOutput>;\n\t\t\treadonly get: (input: V1ContextsGetInput) => Promise<V1ContextsGetOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1ContextsListInput,\n\t\t\t) => Promise<V1ContextsListOutput>;\n\t\t\treadonly reset: (\n\t\t\t\tinput: V1ContextsResetInput,\n\t\t\t) => Promise<V1ContextsResetOutput>;\n\t\t};\n\t\treadonly cron: {\n\t\t\treadonly cancel: (\n\t\t\t\tinput: V1CronCancelInput,\n\t\t\t) => Promise<V1CronCancelOutput>;\n\t\t\treadonly list: (input: V1CronListInput) => Promise<V1CronListOutput>;\n\t\t\treadonly schedule: (\n\t\t\t\tinput: V1CronScheduleInput,\n\t\t\t) => Promise<V1CronScheduleOutput>;\n\t\t};\n\t\treadonly filesystem: {\n\t\t\treadonly exists: (\n\t\t\t\tinput: V1FilesystemExistsInput,\n\t\t\t) => Promise<V1FilesystemExistsOutput>;\n\t\t\treadonly export: (\n\t\t\t\tinput: V1FilesystemExportInput,\n\t\t\t) => Promise<V1FilesystemExportOutput>;\n\t\t\treadonly listMounts: (\n\t\t\t\tinput: V1FilesystemListMountsInput,\n\t\t\t) => Promise<V1FilesystemListMountsOutput>;\n\t\t\treadonly mkdir: (\n\t\t\t\tinput: V1FilesystemMkdirInput,\n\t\t\t) => Promise<V1FilesystemMkdirOutput>;\n\t\t\treadonly move: (\n\t\t\t\tinput: V1FilesystemMoveInput,\n\t\t\t) => Promise<V1FilesystemMoveOutput>;\n\t\t\treadonly readFile: (\n\t\t\t\tinput: V1FilesystemReadFileInput,\n\t\t\t) => Promise<V1FilesystemReadFileOutput>;\n\t\t\treadonly readFiles: (\n\t\t\t\tinput: V1FilesystemReadFilesInput,\n\t\t\t) => Promise<V1FilesystemReadFilesOutput>;\n\t\t\treadonly readdir: (\n\t\t\t\tinput: V1FilesystemReaddirInput,\n\t\t\t) => Promise<V1FilesystemReaddirOutput>;\n\t\t\treadonly readdirEntries: (\n\t\t\t\tinput: V1FilesystemReaddirEntriesInput,\n\t\t\t) => Promise<V1FilesystemReaddirEntriesOutput>;\n\t\t\treadonly readdirRecursive: (\n\t\t\t\tinput: V1FilesystemReaddirRecursiveInput,\n\t\t\t) => Promise<V1FilesystemReaddirRecursiveOutput>;\n\t\t\treadonly remove: (\n\t\t\t\tinput: V1FilesystemRemoveInput,\n\t\t\t) => Promise<V1FilesystemRemoveOutput>;\n\t\t\treadonly stat: (\n\t\t\t\tinput: V1FilesystemStatInput,\n\t\t\t) => Promise<V1FilesystemStatOutput>;\n\t\t\treadonly writeFile: (\n\t\t\t\tinput: V1FilesystemWriteFileInput,\n\t\t\t) => Promise<V1FilesystemWriteFileOutput>;\n\t\t\treadonly writeFiles: (\n\t\t\t\tinput: V1FilesystemWriteFilesInput,\n\t\t\t) => Promise<V1FilesystemWriteFilesOutput>;\n\t\t};\n\t\treadonly javascript: {\n\t\t\treadonly evaluate: (\n\t\t\t\tinput: V1JavaScriptEvaluateInput,\n\t\t\t) => Promise<V1JavaScriptEvaluateOutput>;\n\t\t\treadonly execute: (\n\t\t\t\tinput: V1JavaScriptExecuteInput,\n\t\t\t) => Promise<V1JavaScriptExecuteOutput>;\n\t\t\treadonly executeFile: (\n\t\t\t\tinput: V1JavaScriptExecuteFileInput,\n\t\t\t) => Promise<V1JavaScriptExecuteFileOutput>;\n\t\t\treadonly npm: {\n\t\t\t\treadonly install: (\n\t\t\t\t\tinput: V1JavaScriptNpmInstallInput,\n\t\t\t\t) => Promise<V1JavaScriptNpmInstallOutput>;\n\t\t\t\treadonly runPackage: (\n\t\t\t\t\tinput: V1JavaScriptNpmRunPackageInput,\n\t\t\t\t) => Promise<V1JavaScriptNpmRunPackageOutput>;\n\t\t\t\treadonly runScript: (\n\t\t\t\t\tinput: V1JavaScriptNpmRunScriptInput,\n\t\t\t\t) => Promise<V1JavaScriptNpmRunScriptOutput>;\n\t\t\t};\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1JavaScriptSpawnInput,\n\t\t\t) => Promise<V1JavaScriptSpawnOutput>;\n\t\t\treadonly spawnFile: (\n\t\t\t\tinput: V1JavaScriptSpawnFileInput,\n\t\t\t) => Promise<V1JavaScriptSpawnFileOutput>;\n\t\t};\n\t\treadonly network: {\n\t\t\treadonly fetch: (\n\t\t\t\tinput: V1NetworkFetchInput,\n\t\t\t) => Promise<V1NetworkFetchOutput>;\n\t\t\treadonly fetchStream: {\n\t\t\t\treadonly cancel: (\n\t\t\t\t\tinput: V1NetworkFetchStreamCancelInput,\n\t\t\t\t) => Promise<V1NetworkFetchStreamCancelOutput>;\n\t\t\t\treadonly read: (\n\t\t\t\t\tinput: V1NetworkFetchStreamReadInput,\n\t\t\t\t) => Promise<V1NetworkFetchStreamReadOutput>;\n\t\t\t\treadonly start: (\n\t\t\t\t\tinput: V1NetworkFetchStreamStartInput,\n\t\t\t\t) => Promise<V1NetworkFetchStreamStartOutput>;\n\t\t\t};\n\t\t\treadonly preview: {\n\t\t\t\treadonly create: (\n\t\t\t\t\tinput: V1NetworkPreviewCreateInput,\n\t\t\t\t) => Promise<V1NetworkPreviewCreateOutput>;\n\t\t\t\treadonly expire: (\n\t\t\t\t\tinput: V1NetworkPreviewExpireInput,\n\t\t\t\t) => Promise<V1NetworkPreviewExpireOutput>;\n\t\t\t};\n\t\t};\n\t\treadonly process: {\n\t\t\treadonly get: (input: V1ProcessGetInput) => Promise<V1ProcessGetOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1ProcessListInput,\n\t\t\t) => Promise<V1ProcessListOutput>;\n\t\t\treadonly output: {\n\t\t\t\treadonly read: (\n\t\t\t\t\tinput: V1ProcessOutputReadInput,\n\t\t\t\t) => Promise<V1ProcessOutputReadOutput>;\n\t\t\t};\n\t\t\treadonly pty: {\n\t\t\t\treadonly resize: (\n\t\t\t\t\tinput: V1ProcessPtyResizeInput,\n\t\t\t\t) => Promise<V1ProcessPtyResizeOutput>;\n\t\t\t};\n\t\t\treadonly run: (input: V1ProcessRunInput) => Promise<V1ProcessRunOutput>;\n\t\t\treadonly signal: (\n\t\t\t\tinput: V1ProcessSignalInput,\n\t\t\t) => Promise<V1ProcessSignalOutput>;\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1ProcessSpawnInput,\n\t\t\t) => Promise<V1ProcessSpawnOutput>;\n\t\t\treadonly stdin: {\n\t\t\t\treadonly close: (\n\t\t\t\t\tinput: V1ProcessStdinCloseInput,\n\t\t\t\t) => Promise<V1ProcessStdinCloseOutput>;\n\t\t\t\treadonly write: (\n\t\t\t\t\tinput: V1ProcessStdinWriteInput,\n\t\t\t\t) => Promise<V1ProcessStdinWriteOutput>;\n\t\t\t};\n\t\t\treadonly tree: (\n\t\t\t\tinput: V1ProcessTreeInput,\n\t\t\t) => Promise<V1ProcessTreeOutput>;\n\t\t\treadonly wait: (\n\t\t\t\tinput: V1ProcessWaitInput,\n\t\t\t) => Promise<V1ProcessWaitOutput>;\n\t\t};\n\t\treadonly python: {\n\t\t\treadonly evaluate: (\n\t\t\t\tinput: V1PythonEvaluateInput,\n\t\t\t) => Promise<V1PythonEvaluateOutput>;\n\t\t\treadonly execute: (\n\t\t\t\tinput: V1PythonExecuteInput,\n\t\t\t) => Promise<V1PythonExecuteOutput>;\n\t\t\treadonly executeFile: (\n\t\t\t\tinput: V1PythonExecuteFileInput,\n\t\t\t) => Promise<V1PythonExecuteFileOutput>;\n\t\t\treadonly executeModule: (\n\t\t\t\tinput: V1PythonExecuteModuleInput,\n\t\t\t) => Promise<V1PythonExecuteModuleOutput>;\n\t\t\treadonly install: (\n\t\t\t\tinput: V1PythonInstallInput,\n\t\t\t) => Promise<V1PythonInstallOutput>;\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1PythonSpawnInput,\n\t\t\t) => Promise<V1PythonSpawnOutput>;\n\t\t\treadonly spawnFile: (\n\t\t\t\tinput: V1PythonSpawnFileInput,\n\t\t\t) => Promise<V1PythonSpawnFileOutput>;\n\t\t\treadonly spawnModule: (\n\t\t\t\tinput: V1PythonSpawnModuleInput,\n\t\t\t) => Promise<V1PythonSpawnModuleOutput>;\n\t\t};\n\t\treadonly software: {\n\t\t\treadonly install: (\n\t\t\t\tinput: V1SoftwareInstallInput,\n\t\t\t) => Promise<V1SoftwareInstallOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1SoftwareListInput,\n\t\t\t) => Promise<V1SoftwareListOutput>;\n\t\t\treadonly uninstall: (\n\t\t\t\tinput: V1SoftwareUninstallInput,\n\t\t\t) => Promise<V1SoftwareUninstallOutput>;\n\t\t};\n\t\treadonly terminal: {\n\t\t\treadonly close: (\n\t\t\t\tinput: V1TerminalCloseInput,\n\t\t\t) => Promise<V1TerminalCloseOutput>;\n\t\t\treadonly list: (\n\t\t\t\tinput: V1TerminalListInput,\n\t\t\t) => Promise<V1TerminalListOutput>;\n\t\t\treadonly open: (\n\t\t\t\tinput: V1TerminalOpenInput,\n\t\t\t) => Promise<V1TerminalOpenOutput>;\n\t\t\treadonly output: {\n\t\t\t\treadonly read: (\n\t\t\t\t\tinput: V1TerminalOutputReadInput,\n\t\t\t\t) => Promise<V1TerminalOutputReadOutput>;\n\t\t\t};\n\t\t\treadonly pty: {\n\t\t\t\treadonly resize: (\n\t\t\t\t\tinput: V1TerminalPtyResizeInput,\n\t\t\t\t) => Promise<V1TerminalPtyResizeOutput>;\n\t\t\t};\n\t\t\treadonly stdin: {\n\t\t\t\treadonly write: (\n\t\t\t\t\tinput: V1TerminalStdinWriteInput,\n\t\t\t\t) => Promise<V1TerminalStdinWriteOutput>;\n\t\t\t};\n\t\t\treadonly wait: (\n\t\t\t\tinput: V1TerminalWaitInput,\n\t\t\t) => Promise<V1TerminalWaitOutput>;\n\t\t};\n\t\treadonly typescript: {\n\t\t\treadonly check: (\n\t\t\t\tinput: V1TypeScriptCheckInput,\n\t\t\t) => Promise<V1TypeScriptCheckOutput>;\n\t\t\treadonly checkProject: (\n\t\t\t\tinput: V1TypeScriptCheckProjectInput,\n\t\t\t) => Promise<V1TypeScriptCheckProjectOutput>;\n\t\t\treadonly evaluate: (\n\t\t\t\tinput: V1TypeScriptEvaluateInput,\n\t\t\t) => Promise<V1TypeScriptEvaluateOutput>;\n\t\t\treadonly execute: (\n\t\t\t\tinput: V1TypeScriptExecuteInput,\n\t\t\t) => Promise<V1TypeScriptExecuteOutput>;\n\t\t\treadonly executeFile: (\n\t\t\t\tinput: V1TypeScriptExecuteFileInput,\n\t\t\t) => Promise<V1TypeScriptExecuteFileOutput>;\n\t\t\treadonly spawn: (\n\t\t\t\tinput: V1TypeScriptSpawnInput,\n\t\t\t) => Promise<V1TypeScriptSpawnOutput>;\n\t\t\treadonly spawnFile: (\n\t\t\t\tinput: V1TypeScriptSpawnFileInput,\n\t\t\t) => Promise<V1TypeScriptSpawnFileOutput>;\n\t\t};\n\t\treadonly vm: {\n\t\t\treadonly restart: (input: V1VmRestartInput) => Promise<V1VmRestartOutput>;\n\t\t\treadonly status: (input: V1VmStatusInput) => Promise<V1VmStatusOutput>;\n\t\t};\n\t};\n}\n\nexport type AgentOsEvents = {\n\treadonly \"vm.booted\": Type<{\n\t\tgeneration: number | bigint;\n\t\tconfigRevision: number | bigint;\n\t\tbootedAtMs: number | bigint;\n\t}>;\n\treadonly \"vm.shutdown\": Type<{\n\t\tgeneration: number | bigint;\n\t\treason: string;\n\t\tshutdownAtMs: number | bigint;\n\t}>;\n\treadonly \"vm.limitWarning\": Type<{\n\t\tlimit: string;\n\t\tobserved: number | bigint;\n\t\tcapacity: number | bigint;\n\t\tmessage: string;\n\t}>;\n\treadonly \"process.output\": Type<{\n\t\tprocess: Output.ActorProcessId;\n\t\tsequence: number | bigint;\n\t\tstream: Output.ProcessStream;\n\t\tdata: Output.FileBytes;\n\t\ttimestampMs: number | bigint;\n\t}>;\n\treadonly \"process.exit\": Type<{\n\t\tprocess: Output.ActorProcessId;\n\t\tstatus: Output.ActorExitStatus;\n\t}>;\n\treadonly \"terminal.output\": Type<{\n\t\tterminal: Output.ActorTerminalId;\n\t\tsequence: number | bigint;\n\t\tstream: Output.ProcessStream;\n\t\tdata: Output.FileBytes;\n\t\ttimestampMs: number | bigint;\n\t}>;\n\treadonly \"terminal.exit\": Type<{\n\t\tterminal: Output.ActorTerminalId;\n\t\tstatus: Output.ActorExitStatus;\n\t}>;\n\treadonly \"cron.fired\": Type<{\n\t\tscheduleName: string;\n\t\tprocess?: Output.ActorProcessId | null;\n\t\terror?: Output.CronLaunchError | null;\n\t\tfiredAtMs: number | bigint;\n\t}>;\n};\n\nexport type AgentOsActorDefinition = BaseActorDefinition<\n\tundefined,\n\tundefined,\n\tundefined,\n\tundefined,\n\tAgentOsActorCreateInput,\n\tundefined,\n\tAgentOsEvents,\n\tRecord<never, never>,\n\tRecord<never, never>\n>;\nexport type AgentOsActorConnection = ActorConn<AgentOsActorDefinition> &\n\tAgentOsActions;\nexport type AgentOsActorHandle = Omit<\n\tActorHandle<AgentOsActorDefinition>,\n\t\"connect\"\n> &\n\tAgentOsActions & {\n\t\tconnect(\n\t\t\tparams?: unknown,\n\t\t\toptions?: ActorConnectOptions,\n\t\t): AgentOsActorConnection;\n\t};\nexport type AgentOsRegistry = Registry<{ agentOS: AgentOsActorDefinition }>;\n\nexport type AgentOsCreateOptions = Omit<CreateOptions, \"input\"> & {\n\tinput?: AgentOsActorCreateInput;\n};\nexport type AgentOsGetOrCreateOptions = Omit<GetOptions, \"createWithInput\"> & {\n\tcreateWithInput?: AgentOsActorCreateInput;\n};\nexport type AgentOsActorAccessor = Omit<\n\tActorAccessor<AgentOsActorDefinition>,\n\t\"create\" | \"getOrCreate\"\n> & {\n\tgetOrCreate(\n\t\tkey?: string | string[],\n\t\toptions?: AgentOsGetOrCreateOptions,\n\t): AgentOsActorHandle;\n\tcreate(\n\t\tkey?: string | string[],\n\t\toptions?: AgentOsCreateOptions,\n\t): Promise<AgentOsActorHandle>;\n};\nexport type AgentOsClient = Omit<\n\tClient<AgentOsRegistry>,\n\t\"agentOS\" | \"getForId\"\n> & {\n\treadonly agentOS: AgentOsActorAccessor;\n\tgetForId(\n\t\tname: \"agentOS\",\n\t\tactorId: string,\n\t\toptions?: GetWithIdOptions,\n\t): AgentOsActorHandle;\n};\n\n/**\n * Creates a vanilla RivetKit client with the generated agentOS contract.\n * Services runs the agentOS actor in the `services` pool, so the client\n * uses that pool unless the config sets `poolName`.\n *\n * The client talks to the engine, whose `/metadata` has no client endpoint to\n * redirect to, so it skips that lookup unless the config sets\n * `disableMetadataLookup: false`. RivetKit retries the lookup forever, which\n * makes every call hang when the endpoint is unreachable. A RivetKit app URL\n * that redirects through `/metadata` needs `disableMetadataLookup: false`.\n */\nexport function createAgentOsClient(\n\tendpointOrConfig?: string | ClientConfigInput,\n): AgentOsClient {\n\tconst config =\n\t\ttypeof endpointOrConfig === \"string\"\n\t\t\t? { endpoint: endpointOrConfig }\n\t\t\t: (endpointOrConfig ?? {});\n\treturn createClient<AgentOsRegistry>({\n\t\tpoolName: \"services\",\n\t\tdisableMetadataLookup: true,\n\t\t...config,\n\t}) as unknown as AgentOsClient;\n}\n"],"mappings":";AAEA,SAAS,oBAAoB;AAYtB,IAAM,sBAAsB;AAC5B,IAAM,yBAAyB;AAC/B,IAAM,wBACZ;AACM,IAAM,uBAAuB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AACO,IAAM,mBAAmB;AAAA,EAC/B,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,cAAc;AAAA,EACd,cAAc;AACf;AAmzFO,SAAS,oBACf,kBACgB;AAChB,QAAM,SACL,OAAO,qBAAqB,WACzB,EAAE,UAAU,iBAAiB,IAC5B,oBAAoB,CAAC;AAC1B,SAAO,aAA8B;AAAA,IACpC,UAAU;AAAA,IACV,uBAAuB;AAAA,IACvB,GAAG;AAAA,EACJ,CAAC;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivet-dev/agentos",
3
- "version": "0.4.1",
3
+ "version": "0.4.6",
4
4
  "description": "The agentOS runtime SDK.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  "ghostty-web": "^0.4.0",
35
35
  "react": "^19.0.0",
36
36
  "react-dom": "^19.0.0",
37
- "rivetkit": "2.3.12"
37
+ "rivetkit": "3.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/react": "^19.0.0",
@@ -43,11 +43,12 @@
43
43
  "autoprefixer": "^10.4.20",
44
44
  "class-variance-authority": "^0.7.1",
45
45
  "clsx": "^2.1.1",
46
+ "fast-check": "^4.10.2",
46
47
  "postcss": "^8.4.49",
47
48
  "tailwind-merge": "^2.6.0",
48
49
  "tailwindcss": "^3.4.17",
49
- "tsx": "^4.21.0",
50
50
  "tsup": "^8.4.0",
51
+ "tsx": "^4.21.0",
51
52
  "typescript": "^5.7.3",
52
53
  "vite": "^5.4.20",
53
54
  "@rivet-dev/agentos-bindgen": "0.0.1"
@@ -56,6 +57,7 @@
56
57
  "build": "pnpm --dir ../agentos-bindgen check && tsup src/index.ts && pnpm build:tabs",
57
58
  "build:tabs": "vite build --config vite.tabs.config.ts",
58
59
  "check-types": "pnpm --dir ../agentos-bindgen check && tsc --noEmit",
59
- "test": "node --import tsx --test tests/*.test.mjs"
60
+ "test": "node --import tsx --test --test-force-exit tests/*.test.mjs",
61
+ "test:hosted": "node --import tsx --test --test-concurrency=1 --test-force-exit tests/hosted/*.test.mjs"
60
62
  }
61
63
  }