
M57andM57
fafba3231b
feat(#216): dynamic commands catalog + mid-turn slash command support (#395)
* feat(ws): add commands.catalog RPC constants and data models
* feat(catalog): fetch commands.catalog on WS gateway ready, store in state
* feat(commands): rewrite dispatcher to forward non-local commands via WS command.dispatch
* feat(input): always-visible send button + compact stop icon, allow / commands mid-turn
* test(commands): update tests for WS-based command dispatch
* fix: add missing CommandCatalog + JsonRpcError imports
* fix(test): assert errorMessage instead of messages for unknown command
* chore: remove unused CommandDispatchResponse data class
---------
Co-authored-by: M57 <hy4ri@users.noreply.github.com>