kimi doctor 输出中 config.toml 与 tui.toml 的路径斜杠格式不一致
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
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.
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 命令的路径显示格式问题。
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 41m
- Merged PRs (30d)
- 345
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.
More from MoonshotAI/kimi-code
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
MoonshotAI/kimi-code#3947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MoonshotAI/kimi-code#3836 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
MoonshotAI/kimi-code#3790 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MoonshotAI/kimi-code#3755 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MoonshotAI/kimi-code#3627 ·
All issues in MoonshotAI/kimi-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·