Skip to content

Add slash commands to chat TUI (/exit, /quit, /help, /clear) #63

Closed

Description

@pavelanni

Problem

The chat TUI only supports Ctrl+C to exit. Users instinctively type
/exit or /quit to leave, which gets sent as a message to the agent.

Proposed commands

Command Action
/exit, /quit Exit the chat (same as Ctrl+C)
/help Show available commands and key bindings
/clear Clear the chat display (keep session)
/session Show current session ID

Implementation

Intercept input starting with / in the Update method before
sending to the agent. Unknown / commands should show an error
rather than being sent as messages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions