HostPolicy
Host-facing security policy for terminal controls that can affect host state, retain host metadata, or write terminal-generated bytes back to the remote process.
The parser only recognizes protocols. This policy is evaluated in the host adapter before commands touch core state, host callbacks, metadata registries, or terminal-to-host response queues.
Constructors
Properties
deny-by-default permission and audit policy for terminal-triggered clipboard protocols such as OSC 52.
whether OSC 7 current-working-directory reports may be retained and forwarded to the host.
whether OSC 8 hyperlinks may be retained and attached to written cells.
maximum accepted OSC 7 file URI length in UTF-16 code units. Longer or malformed URIs are ignored.
maximum distinct OSC 8 hyperlink keys retained by the adapter before least-recently-used entries are evicted.
maximum accepted OSC 8 id= parameter length in UTF-16 code units. Longer IDs are ignored and mapped to no active hyperlink.
maximum accepted OSC 8 URI length in UTF-16 code units. Longer URIs are ignored and mapped to no active hyperlink.
maximum accepted character length for desktop notification bodies.
maximum accepted character length for desktop notification titles.
whether terminal-triggered desktop notification requests may be forwarded to the host.
whether OSC palette updates and palette query responses may affect core palette state or enqueue terminal-to-host bytes.
whether DA, DSR/CPR, window reports, DECRQSS, and XTGETTCAP requests may enqueue terminal-to-host response bytes.
origin-aware policy for OSC title updates and title-stack restore operations before adapter/core title metadata changes or host callbacks are emitted.
whether terminal-triggered window movement, resize, minimize, raise, lower, and maximize requests may be forwarded.