Skip to content

@jsvision/core / Degradation

Interface: Degradation ​

Defined in: safety/essentials.ts:22

A non-essential capability gap the SDK runs around in a reduced mode instead of stopping.

Properties ​

cap ​

readonly cap: "mouse" | "altScreen" | "color"

Defined in: safety/essentials.ts:24

The missing capability.


message ​

readonly message: string

Defined in: safety/essentials.ts:28

A short, screen-safe human notice (no secrets).


mode ​

readonly mode: "keyboard-only" | "monochrome" | "inline"

Defined in: safety/essentials.ts:26

The reduced mode the SDK runs in for this gap.