MoonshotAI / MoonshotAI/kimi-code
kimi doctor 输出中 config.toml 与 tui.toml 的路径斜杠格式不一致
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
你运行的 Kimi Code 版本是?
0.38.0
你使用的是哪个开放平台/订阅?
第三方 API(非 Kimi Code OAuth / Moonshot 官方开放平台,使用第三方兼容 API 接入)
你使用的是哪个模型?
Claude Opus 4 8 thinking: high
你的电脑平台是?
Windows 11 Pro 10.0.26200 x64
你遇到了什么问题?
运行 kimi doctor 时,两个配置文件的路径使用了不同的斜杠风格,同一份输出里既有正斜杠又有反斜杠,显示不统一:
PS C:\Users\Administrator> kimi doctor
Kimi doctor
OK config.toml C:/Users/Administrator/.kimi-code/config.toml
OK tui.toml C:\Users\Administrator.kimi-code\tui.toml
其中 config.toml 的路径用的是正斜杠 /,而 tui.toml 用的是 Windows 风格的反斜杠 \。建议在同一份 doctor 输出中统一路径分隔符风格(在 Windows 上建议统一为反斜杠 \)。
复现步骤?
- 在 Windows 上安装 Kimi Code CLI(版本 0.38.0)
- 在 PowerShell 中运行:kimi doctor
- 观察输出中 config.toml 与 tui.toml 两行的路径分隔符不一致
期望的行为是什么?
kimi doctor 输出中所有文件路径使用统一的分隔符风格(Windows 上统一为反斜杠 \)。
补充信息
使用第三方兼容 API 接入,该问题与具体模型/接入方式无关,仅为 doctor 命令的路径显示格式问题。
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 doctor entry point and reproduce the output on Windows 11 using the paths for config.toml and tui.toml. Trace how each path is formatted, then make the output use one separator style consistently and verify both displayed paths match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100