Skip to main content

Module panel

Module panel 

Source
Expand description

Wire protocol + on-disk session records for the murmur Panel (companion window). Shared by the murmur TUI (socket server side) and mur-gui-core::panel_bridge (Hub client side). One JSON object per line. Design: docs/superpowers/specs/2026-07-05-murmur-panel-companion-design.md

Structs§

PanelSession
On-disk session record (<pid>.json) and Hello payload.

Enums§

HubFrame
Hub → murmur frames. Insert-only by design: nothing here may ever execute — Insert fills the input box and the user presses Enter (fail-closed; see spec security section).
PanelFrame
murmur → Hub frames.
PanelTab
PreviewKind

Constants§

PANEL_PROTO_VERSION

Functions§

decode_line
Tolerant single-line decode: unknown/malformed frames are None (forward compatibility across proto versions).
murmur_run_dir
Directory holding one <pid>.json + <pid>.sock per live murmur session. Under the existing ~/.mur/runtime convention (see media::runtime_dir).