diff --git a/.changeset/feedback-bug-alias.md b/.changeset/feedback-bug-alias.md new file mode 100644 index 0000000000..a616998039 --- /dev/null +++ b/.changeset/feedback-bug-alias.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +Add /bug as an alias for the /feedback slash command. Type /bug to submit feedback. diff --git a/apps/kimi-code/src/tui/commands/registry.ts b/apps/kimi-code/src/tui/commands/registry.ts index a0d7fbfcf1..48b57aa3f8 100644 --- a/apps/kimi-code/src/tui/commands/registry.ts +++ b/apps/kimi-code/src/tui/commands/registry.ts @@ -342,7 +342,7 @@ export const BUILTIN_SLASH_COMMANDS = [ }, { name: 'feedback', - aliases: [], + aliases: ['bug'], description: 'Send feedback to make Kimi Code better', priority: 60, availability: 'always', diff --git a/apps/kimi-code/test/tui/commands/registry.test.ts b/apps/kimi-code/test/tui/commands/registry.test.ts index bf875b52b4..a1964b5cbb 100644 --- a/apps/kimi-code/test/tui/commands/registry.test.ts +++ b/apps/kimi-code/test/tui/commands/registry.test.ts @@ -34,6 +34,7 @@ describe('built-in slash command registry', () => { expect(findBuiltInSlashCommand('quit')?.name).toBe('exit'); expect(findBuiltInSlashCommand('q')?.name).toBe('exit'); expect(findBuiltInSlashCommand('clear')?.name).toBe('new'); + expect(findBuiltInSlashCommand('bug')?.name).toBe('feedback'); expect(findBuiltInSlashCommand('btw')?.name).toBe('btw'); expect(findBuiltInSlashCommand('mcp')?.name).toBe('mcp'); expect(findBuiltInSlashCommand('status')?.name).toBe('status'); diff --git a/docs/en/reference/slash-commands.md b/docs/en/reference/slash-commands.md index 667fae63e6..f4aa141714 100644 --- a/docs/en/reference/slash-commands.md +++ b/docs/en/reference/slash-commands.md @@ -108,7 +108,7 @@ Prompt mode exits with code `0` when the goal completes, `3` when it blocks, and | `/mcp` | — | List MCP servers and their connection status in the current session | Yes | | `/plugins` | — | Open the interactive plugin manager | Yes | | `/version` | — | Display the Kimi Code CLI version number | Yes | -| `/feedback` | — | Submit feedback with optional diagnostic logs and codebase context | Yes | +| `/feedback` | `/bug` | Submit feedback with optional diagnostic logs and codebase context | Yes | ## Exit diff --git a/docs/zh/reference/slash-commands.md b/docs/zh/reference/slash-commands.md index 247f8bc7b4..4a8b24451f 100644 --- a/docs/zh/reference/slash-commands.md +++ b/docs/zh/reference/slash-commands.md @@ -106,7 +106,7 @@ Prompt 模式在目标完成时以退出码 `0` 退出,在目标阻塞时以 ` | `/mcp` | — | 列出当前会话中的 MCP server 及连接状态 | 是 | | `/plugins` | — | 打开交互式 plugin 管理器 | 是 | | `/version` | — | 显示 Kimi Code CLI 版本号 | 是 | -| `/feedback` | — | 提交反馈,可附加诊断日志和代码库上下文 | 是 | +| `/feedback` | `/bug` | 提交反馈,可附加诊断日志和代码库上下文 | 是 | ## 退出