NodeRuntimeConfig
Defined in: packages/runtime/src/platform/node.ts:27
RuntimeConfig specialization for the Node.js host.
Remarks
Section titled “Remarks”Extends RuntimeConfig with Node-specific knobs. Today only
prompt — passed through to the TTY /
readline 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/node.ts:32
Shell prompt string passed to the Node TTY adapter. When omitted, the shell’s own default is used.