Skip to content

Make Codex /goal resume prompt clickable - #15630

Merged
teamleaderleo merged 2 commits into
manaflow-ai:feat/agent-key-hintsfrom
teamleaderleo:codex-goal-click
Sep 29, 2026
Merged

teamleaderleo merged 2 commits into
manaflow-ai:feat/agent-key-hintsfrom
teamleaderleo:codex-goal-click

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Make the exact /goal resume action prompt in a live Codex terminal row clickable. Clicking it sends /goal resume followed by Enter through the existing deferred agent-hint click path.

The command detector is deliberately narrow: it only recognizes the allowlisted command when the rendered row contains that command and whitespace padding, only for Codex, and only in the live region. Prose, shell examples, partial commands, and scrollback remain inert.

Changelog

Added

Clickable Codex /goal resume action prompt.

Validation

  • git diff --check
  • Local compile/tests were not run per contributor environment constraints.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Makes Codex's /goal resume prompt clickable in a live terminal row. Clicking sends the command and Enter through the existing deferred agent-hint path; hovering the prompt shows an affordance. The prompt was inert before.

New Features

  • Hovering the exact /goal resume prompt underlines it and shows a tooltip; when the agent has captured the mouse, only Command-click activates it.
  • A click sends the command plus Enter as text, bypassing the keybinding path.
  • The detector allowlist matches only the exact command with whitespace padding on a live Codex row; prose, shell examples, and partial commands stay inert.

Bug Fixes

  • Reads the pointer's exact viewport row instead of bottom-aligning the trimmed viewport text, which mapped a click on a blank row to a line above it.
  • A released click waits out the double-click interval before pressing, so double and triple clicks still select text, and the cell is re-read before sending input.

Written for commit 661a6df. Summary will update on new commits.

Review in cubic

Add a narrow, live-row allowlist for the exact /goal resume prompt. A click sends the command and Enter through the existing deferred agent hint path.
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: manaflow-ai/cmux/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 3cb322d2-f938-4706-bab9-14885713d6b9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@teamleaderleo
teamleaderleo changed the base branch from feat/agent-action-buttons to feat/agent-key-hints September 29, 2026 15:44
@teamleaderleo
teamleaderleo merged commit b9f2d3b into manaflow-ai:feat/agent-key-hints Sep 29, 2026
17 checks passed
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