mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-07 01:21:37 +00:00
Typing / in the iOS composer offered nothing; web and Android show the session's commands. While the input is a lone /token, a list above the card shows matching commands. A tap inserts "/name " so the user can add arguments. As on Android, the sources are metadata.slashCommands plus the /slash-commands RPC. The RPC is fetched once, when the input first enters slash mode, and its entries override bare names. A failed fetch retries on the next /. There is no copy of the shared built-in table, so the CLI stays the source of truth. Ranking follows web: exact, prefix, contains, then near-miss typos. The list is hidden in Scratchlist mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>