Files
hermes-agent/plugins
Teknium 7bf5a982a6 fix(slack): over the section cap, shorten each option instead of cutting the list
Review finding from @guvengursel: the numbered list is appended and the
section body was then hard-cut at Slack's 3000-char cap, so with several
long options the cut landed mid-list and buttons "3", "4" pointed at lines
no longer visible — positional labels without their list are unanswerable,
the same failure this PR fixes. Now every option keeps its numbered line:
when the list is over the cap, each option's own text is shortened (ending
in "…"), measured on the escaped text. Buttons, values and the full choice
the click resolves to are unchanged.
2026-11-08 11:44:52 -08:00
..
…