Skip to content

Slash commands unavailable until the first message is sent #30

Description

@LordLox

Problem / Motivation

When a new chat session opens, the slash-command menu is empty: typing / shows nothing and the command button is unavailable. The commands only appear after the user has sent at least one ordinary message. That is backwards for the most common reason people reach for a command in the first place — starting a session with /resume, /model, /init or a project skill — and it makes the feature look broken on first contact, since nothing on screen explains that a message has to be sent first.

Goal

The command menu is populated and usable as soon as a session is ready, without the user having to send a throwaway message to unlock it — for every agent integration that supports commands.

Scope

  • Commands are available in a freshly opened session, before any message has been sent.
  • The same holds for a session reopened from history and for a session started in a new tab.
  • Audit every supported agent integration, not just the default one: for each, either commands are available at session start, or the fact that the integration offers no commands is presented honestly instead of looking like a menu that failed to load.
  • When an integration genuinely cannot report its commands until later, the interface should not present an empty, silent menu — it should make clear that the list is still loading or unavailable.

Non-goals

  • Adding, renaming, or changing what any command does.
  • Inventing a command list for an integration that does not actually support commands.
  • Changes to the file-mention picker or attachments, beyond keeping their behaviour unchanged.

Acceptance Criteria

  • In a brand-new session with no messages sent, typing / opens the command menu with the expected entries.
  • The command button in the composer is usable in a brand-new session.
  • Selecting a command as the very first action of a session runs it correctly.
  • Reopening an existing session from history shows the command menu immediately, without sending a message.
  • Each supported agent integration has been checked and its behaviour documented in this issue or its follow-up: commands available at start, or explicitly none.
  • No integration shows a permanently empty command menu with no explanation.

Open Questions

  • For an integration that offers no commands at all, should the command button be hidden entirely or shown disabled with a short explanation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions