拖拽文件到 CodePilot 对话框,系统默认把它当图片上传(存到 .codepilot-uploads/),不会识别文件路径。
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- electron, next.js, typescript
Research direction
Start by reproducing the drag-and-drop behavior in CodePilot 0.58.0 on macOS and inspect the conversation dialog's file-drop handling. The issue says dropped files are uploaded as images to .codepilot-uploads/ rather than recognized by path, but names no source files or tests; trace the drop entry point and its upload flow. Done means a dropped file is handled by path as requested, instead of being treated as an image upload.
Written by the indexing model from the issue text.
Description
CodePilot 版本 / Version
0.58.0
操作系统与架构 / OS & arch
macOS26.5.1 arm64
Runtime
Claude Code (SDK)
Provider / Model
deepseek v4pro
是否可复现 / Reproducible?
每次都能复现 / always
复现步骤 / Steps to reproduce
期望 vs 实际 / Expected vs actual
拖动文件自动识别文件路径调用
日志 / 截图 / session id
No response
影响面 / Impact
- 涉及文件写入或可能误改/丢失数据 / involves file write or possible data loss
- 导致崩溃、闪退或对话被自动中断 / causes crash / quit / auto-interrupt
- Dominant language
- TypeScript
- Stars
- 6.5k
- Forks
- 697
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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 op7418/CodePilot
-
发生错误时提醒Error:successOpenbug P0-crash-or-interrupt
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Effort selector dropdown hidden for GLM models — blocks access to GLM-5.2 High/Max effort tiersOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug P0-crash-or-interrupt
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in op7418/CodePilot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
backnotprop/plannotator#2914 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/vscode-containers#655 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 comment ·