Skip to content

Render control-socket injected messages in TUI#5

Merged
rajeshgoli merged 8 commits into
mainfrom
codex/control-socket-visible-input
Mar 1, 2026
Merged

Render control-socket injected messages in TUI#5
rajeshgoli merged 8 commits into
mainfrom
codex/control-socket-visible-input

Conversation

@rajeshgoli

@rajeshgoli rajeshgoli commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • route control-socket submit_message (when no thread override is provided) through a dedicated app event that uses ChatWidget message submission
  • preserve deterministic control-socket request/response semantics while rendering injected input in the transcript
  • keep explicit thread_id submissions on the direct op path and update control-socket test expectations

Why

Programmatic control submissions were accepted and processed, but injected user text was not visible in the TUI transcript while attached via tmux.

Testing

  • not run (not requested)

@rajeshgoli

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 623d0e6de4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/tui/src/chatwidget.rs Outdated
Comment thread codex-rs/tui/src/control_socket.rs
@rajeshgoli

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@rajeshgoli rajeshgoli merged commit 8ef67cf into main Mar 1, 2026
7 of 32 checks passed
@rajeshgoli rajeshgoli deleted the codex/control-socket-visible-input branch March 1, 2026 23:49
rajeshgoli added a commit that referenced this pull request Mar 5, 2026
* Add interactive control socket with idempotent request routing

* Handle control clients concurrently with capped request reads

* Serialize dedupe checks to enforce request idempotency

* Refuse live control socket paths unless stale

* Bound control worker fanout and request id size

* Render control-socket submit_message in TUI

* Preserve literal control input semantics and harden socket cleanup
rajeshgoli added a commit that referenced this pull request Mar 25, 2026
* Add interactive control socket with idempotent request routing

* Handle control clients concurrently with capped request reads

* Serialize dedupe checks to enforce request idempotency

* Refuse live control socket paths unless stale

* Bound control worker fanout and request id size

* Render control-socket submit_message in TUI

* Preserve literal control input semantics and harden socket cleanup
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