BrowserRuntimeConfig
Defined in: packages/runtime/src/platform/browser.ts:28
RuntimeConfig specialization for browser hosts.
Remarks
Section titled “Remarks”Extends RuntimeConfig with browser-specific knobs. Today only
prompt, passed through to the
xterm / TTY harness at .boot() time.
Extends
Section titled “Extends”Properties
Section titled “Properties”capabilities?
Section titled “capabilities?”
optionalcapabilities?:Partial<PlatformCapabilities>
Defined in: packages/runtime/src/platform/types.ts:233
Selectively override individual PlatformCapabilities methods.
Remarks
Section titled “Remarks”Merged over the platform defaults via { ...defaults, ...overrides } —
any method you supply replaces the default. Useful for tests that want
to spy on fetch without reimplementing the others, or for hosts that
have a stricter importEsm (e.g. a sandboxed iframe).
Inherited from
Section titled “Inherited from”prompt?
Section titled “prompt?”
optionalprompt?:string
Defined in: packages/runtime/src/platform/browser.ts:33
Shell prompt string passed to the browser TTY adapter. When omitted, the shell’s own default is used.