Skip to content

fix: suppress prompt channel when usageDisplay is output-only#76

Merged
ComBba merged 1 commit into
masterfrom
fix/suppress-prompt-in-output-mode
Feb 25, 2026
Merged

fix: suppress prompt channel when usageDisplay is output-only#76
ComBba merged 1 commit into
masterfrom
fix/suppress-prompt-in-output-mode

Conversation

@ComBba

@ComBba ComBba commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix [HUD] tool state messages leaking into prompt input area when usageDisplay is output (default)

Problem

dispatchReducerEvent unconditionally passed promptClient to dispatchHudTransition, causing coexistence to emit [HUD] grep status=done duration=2282ms messages into the prompt input area — even when the user had usageDisplay: "output" (the default).

Fix

Only pass promptClient when usageWantsPrompt(runtimeConfig.usageDisplay) returns true (i.e., usageDisplay is "prompt" or "output+prompt").

Verification

  • npm run ci passes (332 tests, typecheck, build)

dispatchReducerEvent was unconditionally passing promptClient to
coexistence, causing [HUD] tool state messages to appear in the
prompt input area even when usageDisplay was set to 'output' (default).

Now only passes promptClient when usageWantsPrompt() is true.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Feb 25, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@ComBba has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 32 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 0d4f33e and e5046af.

📒 Files selected for processing (1)
  • src/plugin.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/suppress-prompt-in-output-mode

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 and usage tips.

@ComBba ComBba merged commit 507d18d into master Feb 25, 2026
3 checks passed
@ComBba ComBba deleted the fix/suppress-prompt-in-output-mode branch February 25, 2026 07:29
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