pub fn viewer_panels(root: &Path, config: &Config) -> (Vec<Value>, Vec<String>)Expand description
Viewer-panel contributions (§124 item 32): every viewer-panel:*
extension contributes one structured data panel to the viewer via the
plugin’s viewer.panel op (input: panel id). Output is data the CLI
renders into the viewer nav/pages — never arbitrary JS (spec §104).
Each panel carries provenance (plugin id + extension); required-panel
failure is an inline error panel, else the panel is skipped with a note.