拖拽文件到 CodePilot 对话框,系统默认把它当图片上传(存到 .codepilot-uploads/),不会识别文件路径。

Đang mở
#656 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
50/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
electron, next.js, typescript
Lĩnh vực
desktop, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug P0-data-loss-risk
CodePilot 版本 / Version

0.58.0

操作系统与架构 / OS & arch

macOS26.5.1 arm64

Runtime

Claude Code (SDK)

Provider / Model

deepseek v4pro

是否可复现 / Reproducible?

每次都能复现 / always

复现步骤 / Steps to reproduce
Image Image
期望 vs 实际 / Expected vs actual

拖动文件自动识别文件路径调用

日志 / 截图 / session id

No response

影响面 / Impact
  • 涉及文件写入或可能误改/丢失数据 / involves file write or possible data loss
  • 导致崩溃、闪退或对话被自动中断 / causes crash / quit / auto-interrupt
Ngôn ngữ chính
TypeScript
Star
6.5k
Fork
697
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của op7418/CodePilot

Tất cả issue của op7418/CodePilot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.