Skip to content

[Cross-Platform][Codex] Render high-risk MCP elicitation warnings in TUI#17850

Open
kieraj-oai wants to merge 1 commit intomainfrom
km-high-risk-elicitations-2
Open

[Cross-Platform][Codex] Render high-risk MCP elicitation warnings in TUI#17850
kieraj-oai wants to merge 1 commit intomainfrom
km-high-risk-elicitations-2

Conversation

@kieraj-oai
Copy link
Copy Markdown

Summary

  • pass riskLevel and subtitle through elicitation _meta into the TUI request model
  • render subtitle below the message and render high-risk messages in red with a prefix
  • add focused TUI coverage for subtitle rendering and high-risk styling
  • include the minimal app-server compile fix needed for the local TUI test target to build on this branch

Testing

  • cargo test -p codex-tui mcp_server_elicitation

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 14, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@kieraj-oai kieraj-oai force-pushed the km-high-risk-elicitations-2 branch from 9a11c95 to 18be024 Compare April 14, 2026 22:42
@kieraj-oai kieraj-oai requested a review from leoshimo-oai April 14, 2026 22:45
@kieraj-oai kieraj-oai marked this pull request as ready for review April 14, 2026 22:45
Copy link
Copy Markdown
Contributor

@leoshimo-oai leoshimo-oai left a comment

Choose a reason for hiding this comment

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

Comment on lines 754 to 756
{
self.analytics_events_client.track_request(
connection_id.0,
connection_request_id.connection_id.0,
request_id.clone(),
codex_request.clone(),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

related?

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.

seems like some breakage at HEAD, can we sync the PR to latest and revert this?

Copy link
Copy Markdown
Author

@kieraj-oai kieraj-oai Apr 14, 2026

Choose a reason for hiding this comment

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

This was an unrelated failure with the build i was seeing locally that this addressed, i figured i'd fix it here. Happy to remove or separate into its own PR if that's better.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

removed

@kieraj-oai kieraj-oai force-pushed the km-high-risk-elicitations-2 branch 3 times, most recently from 4d52101 to 640d844 Compare April 14, 2026 23:57
@kieraj-oai
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Apr 15, 2026
@kieraj-oai kieraj-oai force-pushed the km-high-risk-elicitations-2 branch from 640d844 to 6cb51c7 Compare April 15, 2026 01:58
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.

3 participants