Skip to main content

Module javascript

Module javascript 

Source

Structs§

CreateJavascriptContextRequest
GuestRuntimeConfig
Per-execution guest-runtime config carried as typed fields rather than AGENTOS_* env vars. The sidecar populates these from kernel state (user_profile(), resource_limits()) and CreateVmConfig; the runtime shim interpolates them into a _processConfig object the guest reads, so the guest’s virtual identity no longer rides the ambient env channel. None keeps the guest-runtime default. See the env-vs-wire rule in crates/sidecar/CLAUDE.md.
JavascriptContext
JavascriptExecution
JavascriptExecutionEngine
JavascriptExecutionLimits
Per-execution JavaScript runtime limits, carried as typed fields on the execution request rather than AGENTOS_* env vars. The sidecar populates these from the per-VM VmLimits (which originate from CreateVmConfig on the BARE wire); None selects the engine default. See the env-vs-wire rule in crates/sidecar/CLAUDE.md.
JavascriptExecutionResult
JavascriptSyncRpcRequest
LocalModuleResolutionCache
ModuleResolver
Standard Node module resolution executed as pure path algebra over a ModuleFsReader. The same algorithm backs both the legacy host-direct path (reader = host path translator) and the live VM path (reader = kernel VFS), guaranteeing they resolve identically.
StartJavascriptExecutionRequest

Enums§

JavascriptExecutionError
JavascriptExecutionEvent
LocalResolvedModuleFormat
ModuleResolveMode

Traits§

ModuleFsReader
Read-only filesystem primitives the module resolver needs. The resolution algorithm itself is pure path algebra over these four operations; pointing it at a different backing store (host files vs. the kernel VFS) is purely a matter of supplying a different ModuleFsReader.

Functions§

record_sync_bridge_request_enqueued
record_sync_bridge_request_observed