From 9e5aaf193232b6dfaef5e406b32e051c93c35cb2 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 4 Dec 2025 13:22:17 +0100 Subject: [PATCH] Add /copy command docs and changelog entry, closes #105 --- packages/coding-agent/CHANGELOG.md | 4 ++++ packages/coding-agent/README.md | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 6cd4a62e..bbda6126 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -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) diff --git a/packages/coding-agent/README.md b/packages/coding-agent/README.md index a170c80f..cd12e872 100644 --- a/packages/coding-agent/README.md +++ b/packages/coding-agent/README.md @@ -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: