Skip to content

feat: add /clear slash command to clear conversation history#74

Merged
lewis617 merged 1 commit into
mainfrom
feat/clear-slash-command
Jun 25, 2026
Merged

feat: add /clear slash command to clear conversation history#74
lewis617 merged 1 commit into
mainfrom
feat/clear-slash-command

Conversation

@lewis617

Copy link
Copy Markdown
Contributor

Register /clear as a local UI slash command that clears all messages
and resets the session, matching wave-agent's /clear behavior.

  • Add 'clear' to localCommands in messageHandler.ts slash command list
  • Intercept /clear in ChatApp.handleSendMessage to call clearChat
  • Add 'clear' to MessageInput localCommands for immediate dispatch

Register /clear as a local UI slash command that clears all messages
and resets the session, matching wave-agent's /clear behavior.

- Add 'clear' to localCommands in messageHandler.ts slash command list
- Intercept /clear in ChatApp.handleSendMessage to call clearChat
- Add 'clear' to MessageInput localCommands for immediate dispatch
@lewis617 lewis617 merged commit ce08ee7 into main Jun 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant