formatHelp
formatHelp(
registry,keyBindings?):SlashCommandNotice
Defined in: packages/agent/src/modules/slashCommands.ts:2167
Build the /help notice from a registry: one body line per command (/name — description),
followed by the calling surface’s own key bindings when it supplies any (TUI-C63).
The bindings are a PARAMETER, never a constant in this module: /help is the reference for the
surface the reader is looking at, and a key that surface does not have is worse than no entry at
all. A surface that passes nothing gets exactly the command list, byte for byte.
Parameters
Section titled “Parameters”registry
Section titled “registry”keyBindings?
Section titled “keyBindings?”readonly KeyBindingGroup[] = []