Desktop app: allow attaching files (not just images) to a prompt
@aliarain 已經在處理了。
開始於 2026年9月21日。
評估
這個 Issue 還沒有評估資料。
描述
Feature Description
Let the prompt composer attach arbitrary files, not only images.
Drag-and-drop and a file picker should accept .md, .txt, .json, .csv, .log, and source files. Text files get inlined into the message context with a token estimate; binaries and images continue through the existing image path. Show a chip per attachment with a remove action, and enforce a size cap.
Use Case
Right now I can only attach images. To get a .md file into context I have to describe its location inside the prompt ("the file is at x, go read it") and rely on the agent to open the right path — indirect, slow, and it fails when the agent guesses wrong. Attaching the file directly is more reliable and cheaper in tokens than narrating a path.
Additional Context
macOS 26.6.2 (build 25G83), arm64. Desktop app 0.1.35 (bundle ai.commandcode.desktop).
The two prose fields on this form (Feature Description, Use Case) have no id, so the app's prefilled issue URL cannot fill them — they are paste-only. Worth an id if attachment/prefill is ever wanted.
How important is this to you?
Important for my workflow
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommandCodeAI/command-code 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#903 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#608 ·