Add /copy command docs and changelog entry, closes #105

This commit is contained in:
Mario Zechner 2025-12-04 13:22:17 +01:00
parent 6a4a2fdfe9
commit 9e5aaf1932
2 changed files with 14 additions and 0 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased]
### Added
- **`/copy` Command**: Copy the last agent message to clipboard. Works cross-platform (macOS, Windows, Linux). Useful for extracting text from rendered Markdown output. ([#105](https://github.com/badlogic/pi-mono/pull/105) by [@markusylisiurunen](https://github.com/markusylisiurunen))
## [0.12.8] - 2025-12-04
- Fix: Use CTRL+O consistently for compaction expand shortcut (not CMD+O on Mac)

View file

@ -502,6 +502,16 @@ Clear the conversation context and start a fresh session:
Aborts any in-flight agent work, clears all messages, and creates a new session file.
### /copy
Copy the last agent message to clipboard:
```
/copy
```
Extracts text content from the most recent assistant message and copies it to the system clipboard. Works cross-platform (macOS, Windows, Linux). On Linux, requires `xclip` or `xsel` to be installed.
### /compact
Manually compact the conversation context to reduce token usage: