UAT: TUI clipboard operations not implemented — block copy and auto-copy on selection missing #4397

Closed
opened 2026-04-08 12:05:32 +00:00 by HAL9000 · 1 comment
Owner

Bug Report

Feature Area: TUI — Clipboard Operations

What Was Tested

The spec (§ "Clipboard Operations") defines clipboard integration for copying content from the conversation and other widgets.

Expected Behavior (from spec)

Operation Trigger Behavior
Auto-copy on selection Mouse text selection When ui.auto_copy is true (default), selected text is automatically copied to clipboard
Block copy c in block context menu Copies focused block's text content to clipboard
Block copy to prompt p in block context menu Inserts focused block's text into prompt TextArea
Manual copy OS-native selection + copy Standard terminal copy behavior

Clipboard access uses pyperclip when available, with fallback to OSC 52 escape sequences (works over SSH and in tmux/screen). If neither is available, copy operations display a flash message with the content for manual copying.

Actual Behavior

No clipboard integration exists in the TUI codebase. Searching for pyperclip, OSC 52, auto_copy, clipboard in src/cleveragents/tui/ returns zero results. No block context menu exists (the conversation is a single Static widget). No c or p key handlers exist in the conversation area.

Code Location

  • src/cleveragents/tui/app.py — no clipboard integration
  • No block context menu implementation
  • Spec reference: §"Clipboard Operations" (line ~30125 in docs/specification.md)

Impact

Users cannot copy conversation content to clipboard from the TUI. The block context menu (which provides copy functionality) is also missing.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: uat-tester

## Bug Report **Feature Area:** TUI — Clipboard Operations ### What Was Tested The spec (§ "Clipboard Operations") defines clipboard integration for copying content from the conversation and other widgets. ### Expected Behavior (from spec) | Operation | Trigger | Behavior | |-----------|---------|----------| | Auto-copy on selection | Mouse text selection | When `ui.auto_copy` is `true` (default), selected text is automatically copied to clipboard | | Block copy | `c` in block context menu | Copies focused block's text content to clipboard | | Block copy to prompt | `p` in block context menu | Inserts focused block's text into prompt TextArea | | Manual copy | OS-native selection + copy | Standard terminal copy behavior | Clipboard access uses `pyperclip` when available, with fallback to OSC 52 escape sequences (works over SSH and in tmux/screen). If neither is available, copy operations display a flash message with the content for manual copying. ### Actual Behavior No clipboard integration exists in the TUI codebase. Searching for `pyperclip`, `OSC 52`, `auto_copy`, `clipboard` in `src/cleveragents/tui/` returns zero results. No block context menu exists (the conversation is a single `Static` widget). No `c` or `p` key handlers exist in the conversation area. ### Code Location - `src/cleveragents/tui/app.py` — no clipboard integration - No block context menu implementation - Spec reference: §"Clipboard Operations" (line ~30125 in docs/specification.md) ### Impact Users cannot copy conversation content to clipboard from the TUI. The block context menu (which provides copy functionality) is also missing. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.7.0 milestone 2026-04-08 17:42:38 +00:00
Author
Owner

Closing as duplicate of #4793 — TUI clipboard operations not implemented.


Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Closing as duplicate of #4793 — TUI clipboard operations not implemented. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#4397
No description provided.