TerminalClipboardPolicy
Permission policy for terminal-originated clipboard protocols such as OSC 52.
This policy describes what would be permitted by an embedding host. The host adapter never writes to a platform clipboard directly; it audits every request and emits decoded write payloads only when the configured policy permits the operation or requires a product-host write prompt. Allowlists, read responses, and platform clipboard access remain product-host responsibilities.
Constructors
Properties
whether the embedding product has already matched this session/profile/remote against its clipboard allowlist.
write policy for local PTY-style sessions.
maximum decoded clipboard payload size accepted for write requests before the adapter reports a size denial.
trust boundary of the terminal session that produced the request.
policy for clipboard read/query requests. This defaults to deny because read responses can exfiltrate user clipboard data.
write policy for SSH or otherwise remote sessions.