Skip to content

ux(cli): change /copy command to copy last message - #10929

Merged
marius-kilocode merged 1 commit into
Kilo-Org:mainfrom
shssoichiro:fix/copy-command-scope
Jun 16, 2026
Merged

ux(cli): change /copy command to copy last message#10929
marius-kilocode merged 1 commit into
Kilo-Org:mainfrom
shssoichiro:fix/copy-command-scope

Conversation

@shssoichiro

Copy link
Copy Markdown
Contributor

Issue

Closes #10928

Context/Implementation

Renames the current /copy command to /copy-session, to clarify that its purpose is to copy the entire session transcript. Creates a new /copy command to copy only the most recent message. Markdown formatting is preserved, making this ideal for pasting to other locations such as Github and Discord.

Screenshots / Video

N/A

How to Test

Manual/local verification

  • Verify that /copy copies the most recent message from the agent
  • Verify that /copy-session copies the entire session transcript

Checklist

  • Issue linked above, or exception explained
  • Tests/verification described
  • Screenshots/video included for visual changes, or marked N/A
  • Changeset considered for user-facing changes
  • I personally reviewed the diff and can explain the changes, including any AI-assisted work.

Get in Touch

ExpedientFalcon on Discord

@kilo-code-bot

kilo-code-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

The change is clean and correct. The messages.copy action already existed (previously only accessible via keybind <leader>y) and is now also exposed as /copy. The old /copy slash command is moved to /copy-session with a kilocode_change marker. All three documentation surfaces (changeset, CLI docs, kilo-config skill) are updated consistently.

Files Reviewed (4 files)
  • .changeset/copy-command-scope.md — patch changeset, description is user-facing and clear
  • packages/kilo-docs/pages/code-with-ai/platforms/cli.md — docs table updated correctly
  • packages/opencode/src/cli/cmd/tui/routes/session/index.tsx/copy slash added to messages.copy, /copy-session replaces /copy on session.copy, markers are correct
  • packages/opencode/src/kilocode/skills/kilo-config.md — keybind reference table updated to reflect /copy now mapped to <leader>y

Reviewed by claude-4.6-sonnet-20260217 · 297,901 tokens

Review guidance: REVIEW.md from base branch main

@johnnyeric
johnnyeric requested a review from catrielmuller June 15, 2026 16:54

@marius-kilocode marius-kilocode left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this, looks good. Thanks!

@marius-kilocode
marius-kilocode merged commit 11be7dd into Kilo-Org:main Jun 16, 2026
20 checks passed
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
…cope

ux(cli): change `/copy` command to copy last message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UX]: Make /copy copy just the most recent message

2 participants