MoonshotAI / MoonshotAI/kimi-cli

Plan mode can't write file in Zed ACP

Open
#1,745 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

1.28.0

Which open platform/subscription were you using?

/login

Which model were you using?

kimi-for-coding

What platform is your computer?

No response

What issue are you seeing?

WriteFile: /Users/someuser/.kimi/plans/p...ranger-dazzler-elektra.md

Raw Input:
Output:
Failed to write to /Users/someuser/.kimi/plans/phantom-stranger-dazzler-elektra.md. Error: Internal error

What steps can reproduce the bug?

Install the kimi-cli in Zed ACP Registry

/login the account

/plan on

Input the prompt and press Enter key

What is the expected behavior?

No response

Additional information

Update: I think this is not a bug but compatibility. Zed seems not allow the kimi-cli to write to files out of the project directory.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported flow in the Zed ACP Registry with Kimi Code CLI 1.28.0: log in, enable plan mode, and submit a prompt. Investigate the plan-file write failure shown in the report and determine whether the CLI or Zed prevents writes outside the project directory. Done means the compatibility behavior is corrected or clearly documented with a verified reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.