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 ·