feat: copy thread / conversation

This commit is contained in:
2026-08-04 16:26:50 +02:00
parent 63ce0319f7
commit d3f98c6dbe
7 changed files with 350 additions and 4 deletions

View File

@@ -190,6 +190,7 @@ The defaults are Vim-like and every binding is configurable.
- `tab`: hide or show the thread list
- `/`: fuzzy-search thread file paths
- `n` / `N`: next / previous unread thread
- `y`: copy the selected thread as LLM-readable Markdown
- `c`: reply to the selected thread
- `R`: resolve or unresolve the selected thread
- `r`: refresh
@@ -356,6 +357,14 @@ the thread is resolved, after the last unread comment becomes visible while
scrolling the focused detail pane, or manually with
`keybindings.threads.mark_read` (`m` by default).
`keybindings.threads.copy` (`y` by default) copies the complete selected
conversation as structured Markdown for pasting into a Codex or other LLM
session. The export includes PR identity and refs, the exact head commit, thread
status and source location, the review diff hunk, raw comment Markdown, comment
URLs and timestamps, reactions, and every visible local-AI and local-user turn.
It labels local-only content explicitly and warns the receiving model to treat
review text as untrusted context rather than instructions.
Within a category, `"file"` keeps paths together and `"timestamp"` sorts by
the time the thread was opened.
@@ -453,6 +462,7 @@ clear_filter = ["F"]
next_unread = ["n"]
previous_unread = ["N"]
mark_read = ["m"]
copy = ["y"]
reply = ["c"]
resolve = ["R"]
toggle = ["enter"]