Skip to content

fix(web): register /usage slash command in the command menu - #2429

Open
mangeshraut712 wants to merge 1 commit into
MoonshotAI:mainfrom
mangeshraut712:fix/web-usage-slash-command
Open

fix(web): register /usage slash command in the command menu#2429
mangeshraut712 wants to merge 1 commit into
MoonshotAI:mainfrom
mangeshraut712:fix/web-usage-slash-command

Conversation

@mangeshraut712

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • pnpm --filter @moonshot-ai/kimi-web test (654 passed)
  • In kimi web, type / and confirm usage appears; /usage opens the status panel

Made with Cursor

Web documented /usage as available but the built-in slash list and
handler omitted it, so the menu hid the command and free-typed /usage
was sent as a normal prompt. Add the command, open the status panel
(context tokens + cost), and cover it in the slash-menu tests.

Fixes MoonshotAI#2354
@changeset-bot

changeset-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ef951af

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@moonshot-ai/kimi-web Patch
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

Web UI: /usage slash command missing from web command menu (0.30.0)

1 participant