Skip to content

feat(agent): copy review prompt directly - #618

Open
kerim1510 wants to merge 1 commit into
modem-dev:mainfrom
kerim1510:feat/copy-agent-prompt
Open

feat(agent): copy review prompt directly#618
kerim1510 wants to merge 1 commit into
modem-dev:mainfrom
kerim1510:feat/copy-agent-prompt

Conversation

@kerim1510

@kerim1510 kerim1510 commented Jul 28, 2026

Copy link
Copy Markdown

Motivation

As a happy Hunk user, I copy the agent prompt every now and then. Opening a dialog just to copy it felt unnecessarily cumbersome, so this PR makes the menu action copy the prompt directly.

Less is more.

Summary

  • replace the Agent skill dialog with a direct Copy agent prompt menu action
  • expose the action as the unbound hunk.app.copyAgentPrompt command
  • hide and disable the action when OSC 52 clipboard support is unavailable
  • move the canonical agent prompt beside the Hunk review skill surface
  • remove the obsolete modal state, rendering, lazy import, and Escape handling
  • update keybinding documentation and release notes

Testing

  • bun run typecheck
  • bun run lint
  • targeted AppHost, command, and menu tests (92 passed)
  • bun run test:integration (64 passed)
  • real TTY smoke run against the working-tree diff

The full unit and transcript-smoke runs were attempted, but this sandbox prevents
loopback socket binding and some smoke subprocess startup. The feature-specific
tests and the complete PTY integration suite pass.

@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

@kerim1510 is attempting to deploy a commit to the Modem Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant