Skip to content

panel.*

Read-only view of the canvas panels a surface has open. Panels are created by the sideband protocol, not by RPC; this method exposes the bun-side mirror of that state.

MethodParamsResult
panel.list{ surface_id? }Panel[] — empty array when the surface has none

surface_id defaults to the focused surface (or HT_SURFACE from the CLI).

See ht list-panels.