Connection and diagnostics
sp targets a Supaterm app socket, then applies command-specific space, tab, or pane targeting.
Inside Supaterm
Inside a Supaterm pane, sp gets its socket and pane context from the environment:
SUPATERM_SOCKET_PATHSUPATERM_CLI_PATHSUPATERM_SURFACE_IDSUPATERM_TAB_ID
Most commands can omit explicit targets inside Supaterm:
sp ls
sp tab new
sp pane split right
sp pane capture
Outside Supaterm
Outside Supaterm, discover reachable app instances and pass an explicit target when needed:
sp instance ls
sp instance ls --json
sp ls --instance work-mac
sp diagnostic --instance work-mac --json
Every socket-backed command accepts:
--instance <name-or-endpoint-id>--socket <path>
Examples:
sp ls --socket /tmp/supaterm-501/instance-default-pid-1234
sp pane capture --instance work-mac 1/2/3
sp tab new --instance work-mac --in 1
If multiple reachable app instances exist, sp requires --instance or --socket.
Diagnostics
Use diagnostics when a command cannot find or reach the app:
sp diagnostic
sp diagnostic --json
sp diagnostic --instance work-mac
The Current Pane section shows the live foreground process-group ID and tty. JSON output exposes
the same values as foregroundProcessGroupID and ttyName on each live pane under app.windows;
unavailable values are omitted.
Use onboarding to print shortcuts and integration setup commands:
sp onboard
sp onboard --plain
Config
Inspect and change Supaterm settings:
sp config path
sp config list
sp config get updates.channel
sp config set appearance.mode system
sp config set notifications.sound supaterm
sp config set notifications.system_notifications true
sp config set notifications.tab_move_haptics false
sp config reset privacy.analytics_enabled
sp config validate
notifications.tab_move_haptics controls feedback when a dragged tab enters a new drop target.
Notifications start off. Set notifications.sound to supaterm for the bundled sound, or set notifications.system_notifications to true for macOS notifications. System notifications request permission only after that setting is enabled. Supaterm uses one output for each event, so system notifications take priority over the local sound.
Validate another settings file:
sp config validate --path ./settings.toml --json
The app owns the settings file. list, get, set, reset, and validate run in the app, so they need a reachable instance and exit 64 without one. A set or reset takes effect at once. Only sp config path works with no app running.