Desktop app: cannot copy text from assistant output

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

@aliarain đang làm issue này rồi.

Từ ngày 21/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

desktop
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
  1. Open the desktop app and send any prompt that returns a multi-paragraph response.
  2. Select text in that response and press Cmd+C, or look for a per-message copy button.
  3. 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.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 CommandCodeAI/command-code

Tất cả issue của CommandCodeAI/command-code

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.