Interface: LaunchTerminalWithBackendOptions
@termwright/driver/experimental
@termwright/driver/experimental / LaunchTerminalWithBackendOptions
Interface: LaunchTerminalWithBackendOptions
Section titled “Interface: LaunchTerminalWithBackendOptions”Defined in: session.ts:221
Low-level integration options exported only from @termwright/driver/experimental.
Extends
Section titled “Extends”LaunchTerminalOptions
Properties
Section titled “Properties”artifactSecurity?
Section titled “artifactSecurity?”
readonlyoptionalartifactSecurity?:ArtifactSecurityPolicy
Defined in: api.ts:135
One policy for every artifact boundary. Defaults to secure redacted.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.artifactSecurity
backend
Section titled “backend”
readonlybackend:PtyBackend
Defined in: session.ts:222
columns?
Section titled “columns?”
readonlyoptionalcolumns?:number
Defined in: api.ts:113
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.columns
command
Section titled “command”
readonlycommand: readonlystring[]
Defined in: api.ts:88
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.command
readonlyoptionalcwd?:string
Defined in: api.ts:89
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.cwd
debug?
Section titled “debug?”
readonlyoptionaldebug?:boolean
Defined in: api.ts:97
Streams a live log of API calls, waits, revisions and diagnostics to
stderr. Also enabled by TERMWRIGHT_DEBUG=1 (=all adds raw PTY traffic).
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.debug
readonlyoptionalenv?:Readonly<Record<string,string>>
Defined in: api.ts:90
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.env
envMode?
Section titled “envMode?”
readonlyoptionalenvMode?:EnvMode
Defined in: api.ts:92
Defaults to 'replace': a test process’s secrets are not the child’s.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.envMode
readonlyoptionallogs?: readonlyAppLogSource[]
Defined in: api.ts:103
Log files to follow for the lifetime of the session. A file that does not exist yet is waited for; one that already exists is followed from its current end, so a session never replays a previous run.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.logs
modesObservable?
Section titled “modesObservable?”
readonlyoptionalmodesObservable?:boolean
Defined in: session.ts:217
Whether the child’s input-mode requests are observable. Defaults to true for every certified backend, including pinned passthrough ConPTY. Set false only for an embedding or synthetic backend that cannot expose DECSET.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.modesObservable
operationBudget?
Section titled “operationBudget?”
readonlyoptionaloperationBudget?:OperationBudget
Defined in: api.ts:132
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.operationBudget
recording?
Section titled “recording?”
readonlyoptionalrecording?:RecordingOptions
Defined in: api.ts:133
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.recording
requiredCapabilities?
Section titled “requiredCapabilities?”
readonlyoptionalrequiredCapabilities?: readonly ("semantic-tree"|"stable-identity"|"intended-geometry"|"clipped-geometry"|"painted-region"|"pointer-geometry"|"pointer-hit-testing"|"focus"|"scroll"|"render-order"|"action-strategies"|"keyboard-input"|"pointer-input"|"focus-input"|"paired-revisions")[]
Defined in: api.ts:146
Capabilities that must be present in the frozen session contract.
Launch waits for negotiation and throws CapabilityUnavailableError
before returning a harness when any requirement is missing.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.requiredCapabilities
readonlyoptionalrows?:number
Defined in: api.ts:114
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.rows
scrollbackLines?
Section titled “scrollbackLines?”
readonlyoptionalscrollbackLines?:number
Defined in: api.ts:130
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.scrollbackLines
semanticFrameQueueCapacity?
Section titled “semanticFrameQueueCapacity?”
readonlyoptionalsemanticFrameQueueCapacity?:number
Defined in: api.ts:129
Negotiated ceiling for semantic frames in flight between a framework probe and the driver. Defaults to 32 and is capped at 256. Compatible probes may use it as their publication budget; a full queue still fails closed instead of dropping or retrying a semantic revision.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.semanticFrameQueueCapacity
semanticNegotiationMs?
Section titled “semanticNegotiationMs?”
readonlyoptionalsemanticNegotiationMs?:number
Defined in: api.ts:122
Maximum time to discover an optional semantic adapter. Defaults to 2,000
ms for generic auto-detection. A peer accepted within that window keeps
its own bounded hello deadline; peers first seen afterwards are refused.
When requiredCapabilities is non-empty, the default discovery budget is
the larger of 2,000 ms and the session ready timeout.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.semanticNegotiationMs
shellIntegration?
Section titled “shellIntegration?”
readonlyoptionalshellIntegration?:"external"|"termwright-posix"|"termwright-powershell"
Defined in: api.ts:140
Termwright-managed modes instrument an interactive shell with exact
command markers. Test authors should normally use terminal.openShell().
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.shellIntegration
terminalProfile?
Section titled “terminalProfile?”
readonlyoptionalterminalProfile?:TerminalProfileId
Defined in: api.ts:112
Terminal profile: which width tables and which of the switches terminals
disagree on this session uses. The built-in ids are 'default' and
'cjk-wide'.
It is recorded with the session so a replay, a screenshot and the runner pane can count characters exactly as the live session did.
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.terminalProfile
timeouts?
Section titled “timeouts?”
readonlyoptionaltimeouts?:TimeoutClasses
Defined in: api.ts:131
Inherited from
Section titled “Inherited from”LaunchTerminalOptions.timeouts