MoonshotAI / MoonshotAI/kimi-cli
[ACP/Zed] Two UX issues: missing YOLO mode support & silent failure on API errors
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
Bug Description
I've been using kimi-cli in both standalone CLI mode and via Zed ACP integration. Compared to Claude Code ACP, there are two significant UX gaps when using kimi-cli through ACP (specifically in Zed):
Issue 1: YOLO mode not exposed via ACP protocol
Current behavior:
When using kimi-cli as an ACP agent (e.g., in Zed), there's no way to enable YOLO mode through the client UI. The /yolo command works in terminal mode, but the ACP protocol implementation doesn't seem to expose this capability to clients.
Expected behavior:
kimi-cli should expose YOLO mode toggle through the ACP protocol so clients like Zed can provide UI controls (similar to how Claude Code ACP does it).
Issue 2: Silent failure on Moonshot API errors (e.g., high-risk content refusal)
Current behavior:
When the Moonshot CN service returns certain errors (e.g., "high-risk text refused" content policy violation), kimi-cli in ACP mode appears to:
- Not properly propagate the error to the ACP client
- Enter a state where subsequent commands are silently ignored
- Give the user no indication of what went wrong
The Zed UI just appears to stop responding to new messages without any error feedback.
Expected behavior:
kimi-cli should:
- Properly report API errors through the ACP protocol
- Display clear error messages to the user explaining the failure
- Either recover gracefully or clearly indicate that the session needs restart
Environment
Component Version
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OS macOS 26.3.1 (a) / Darwin 25.3.0
Architecture ARM64 (Apple Silicon)
kimi-cli 1.24.0
Zed (please fill in: Cmd+Shift+P → "zed: about")
Steps to Reproduce
Issue 1:
- Configure kimi-cli as ACP agent in Zed (kimi acp)
- Start a new thread in Zed Agent Panel
- Look for YOLO mode toggle → missing
Issue 2:
- Start kimi-cli ACP session in Zed
- Send a message that triggers content policy (e.g., topics flagged as high-risk by Moonshot CN)
- Observe: no error shown in Zed UI, but subsequent messages are ignored
Additional Context
• Standalone CLI mode works fine: /yolo command exists and functions correctly
• Claude Code ACP integration in Zed does expose YOLO mode toggle, suggesting this is an ACP protocol implementation gap in kimi-cli
• The silent failure makes the Zed integration frustrating when content policy issues occur
──────────────────────────────────────────────────────────────────
Bug Description
I've been using kimi-cli in both standalone CLI mode and via Zed ACP integration. Compared to Claude Code ACP, there are two significant UX gaps when using kimi-cli through ACP (specifically in Zed):
Issue 1: YOLO mode not exposed via ACP protocol
Current behavior:
When using kimi-cli as an ACP agent (e.g., in Zed), there's no way to enable YOLO mode through the client UI. The /yolo command works in terminal mode, but the ACP protocol implementation doesn't seem to expose this capability to clients.
Expected behavior:
kimi-cli should expose YOLO mode toggle through the ACP protocol so clients like Zed can provide UI controls (similar to how Claude Code ACP does it).
Issue 2: Silent failure on Moonshot API errors (e.g., high-risk content refusal)
Current behavior:
When the Moonshot CN service returns certain errors (e.g., "high-risk text refused" content policy violation), kimi-cli in ACP mode appears to:
- Not properly propagate the error to the ACP client
- Enter a state where subsequent commands are silently ignored
- Give the user no indication of what went wrong
The Zed UI just appears to stop responding to new messages without any error feedback.
Expected behavior:
kimi-cli should:
- Properly report API errors through the ACP protocol
- Display clear error messages to the user explaining the failure
- Either recover gracefully or clearly indicate that the session needs restart
Environment
Component Version
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OS macOS 26.3.1 (a) / Darwin 25.3.0
Architecture ARM64 (Apple Silicon)
kimi-cli 1.24.0
Zed (please fill in: Cmd+Shift+P → "zed: about")
Steps to Reproduce
Issue 1:
- Configure kimi-cli as ACP agent in Zed (kimi acp)
- Start a new thread in Zed Agent Panel
- Look for YOLO mode toggle → missing
Issue 2:
- Start kimi-cli ACP session in Zed
- Send a message that triggers content policy (e.g., topics flagged as high-risk by Moonshot CN)
- Observe: no error shown in Zed UI, but subsequent messages are ignored
Additional Context
• Standalone CLI mode works fine: /yolo command exists and functions correctly
• Claude Code ACP integration in Zed does expose YOLO mode toggle, suggesting this is an ACP protocol implementation gap in kimi-cli
• The silent failure makes the Zed integration frustrating when content policy issues occur
──────────────────────────────────────────────────────────────────
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the kimi acp entry point and compare its exposed capabilities with the standalone /yolo command. Reproduce the Moonshot CN high-risk refusal in Zed, then trace whether the ACP client receives an error and what happens to subsequent commands. Done means both the YOLO control and API failure behavior are observable and usable through ACP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100