Desktop app: cannot copy text from assistant output
@aliarain 已经在做这个了。
开始于 2026年9月21日。
评估
这个 Issue 还没有评估数据。
描述
Summary
In the desktop app I cannot copy text out of the assistant's output. Copy-paste is core to how I iterate — read a response, quote the relevant part, add further instructions — and that loop is impossible in the UI.
Expected Behavior
Text in an assistant response should be selectable and copyable, with a per-message (and per-code-block) copy button that writes the raw markdown. Copying a paragraph and pasting it into my next prompt, with extra instructions appended, should just work.
Actual Behavior
Selecting text in the assistant output does not copy, and there is no copy affordance on a message. To reuse part of a response I have to retype it or re-ask for it. Copy is fundamental to prompting — the user reads the model's output, quotes it, and adds direction — so the missing copy path blocks normal workflow.
Steps to reproduce the issue
- Open the desktop app and send any prompt that returns a multi-paragraph response.
- Select text in that response and press Cmd+C, or look for a per-message copy button.
- Paste elsewhere — nothing is copied / no affordance exists.
Command Code Version
Desktop app 0.1.35 (bundle ai.commandcode.desktop); the bundled CLI reports 1.58.0. Using the app version because this is a UI issue.
Operating System
macOS
Terminal/IDE
Command Code desktop app (ai.commandcode.desktop) — not a terminal or IDE integration.
Shell
zsh (/bin/zsh)
Fix prompt (optional)
Add copy support to assistant output in the desktop app. Make response text selectable and add per-message and per-code-block copy buttons that write the raw markdown to the clipboard (including fenced code, reasoning, and tool output). Verify: select a paragraph from a long response, copy it, paste into a new prompt, and confirm the text matches the original exactly, with code fences preserved.
Additional context
macOS 26.6.2 (build 25G83), arm64.
Workarounds that exist today: /copy copies the last response, /export md|html|jsonl dumps the session, /ide shares the open file plus selected lines. These help but do not substitute for in-UI copy.
- 主要语言
- 没有语言数据
- 星标
- 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 ·