Skip to content

Extract user input preparation into codex-user-input - #61949

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/77d0f94a4cd4c2edc008b9e2e63a989995aab058
Nov 17, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/77d0f94a4cd4c2edc008b9e2e63a989995aab058

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Extract user input preparation into codex-user-input

What changed

Move local attachment snapshotting and conversion from UserInput to model request content out of codex-protocol into a dedicated codex-user-input crate. Update core, the TUI, and the queue extension to use the new crate, replacing the ResponseInputItem conversion methods with from_user_input.

Move the associated attachment and message conversion tests alongside the implementation, preserving coverage for image positions, media labels, serialization, and error placeholders.

## What changed

Move local attachment snapshotting and conversion from `UserInput` to model request content out of `codex-protocol` into a dedicated `codex-user-input` crate. Update core, the TUI, and the queue extension to use the new crate, replacing the `ResponseInputItem` conversion methods with `from_user_input`.

Move the associated attachment and message conversion tests alongside the implementation, preserving coverage for image positions, media labels, serialization, and error placeholders.

GitOrigin-RevId: 77d0f94a4cd4c2edc008b9e2e63a989995aab058
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/77d0f94a4cd4c2edc008b9e2e63a989995aab058 branch from a0fc04a to 5b3d2c7 Compare November 17, 2026 02:44
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-17T02:44:18.333057Z a0fc04a PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 5b3d2c7 into main Nov 17, 2026
10 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/77d0f94a4cd4c2edc008b9e2e63a989995aab058 branch November 17, 2026 02:44
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 5b3d2c7f Deployed Nov 17, 2026 by trevistt via Translate non-English issue #26343
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants