Skip to content

🐞 Restore native Codex clipboard queueing - #865

Merged
JFWooten4 merged 3 commits into
mainfrom
slate-stone
Dec 4, 2026
Merged

JFWooten4 merged 3 commits into
mainfrom
slate-stone

Conversation

@kefania-pony

@kefania-pony kefania-pony Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

The clipboard button should submit immediately when Codex is idle and the queue is empty, but append the clipboard prompt to the native queue when a response is running or messages are already waiting. Recent composer changes can leave the pasted text in the draft because the visible primary action may be Steer or Stop rather than Queue.

  • Replace the modern footer submission fallback introduced in 🐝 Fix Codex queue edits and clipboard follow-up submission #735 with the native composer.queue shortcut. Detect active turns through turn.serverInProgress, retain support for older footer handlers, and never substitute an ambiguous Send or Steer action for Queue.
  • Preserve the FIFO behavior established in 🐝 Route Codex clipboard through FIFO and make Send interrupt configurable #530 by waiting for the native queue action to become available. If no safe action becomes available, leave the pasted prompt in the composer for manual submission.
  • Expose the enabled Queue callback on its own editor element through a reversible bundle patch. Use React's layout-effect lifecycle to refresh the callback as its dependencies change and remove it when the editor unmounts. Only inject the hook when its native registration can be identified uniquely.
  • Add regression coverage for delayed Queue readiness, Steer-only and Stop-only footers, an idle composer with pending messages, and the hook's enablement, cleanup, and patch reversibility.

Live clipboard-button behavior in VS Code remains unverified.

🔗 Source

Online · Local · Desktop

JFWooten4 and others added 3 commits December 4, 2026 14:03
Co-authored-by: Codex <noreply@openai.com>
Extend the existing stable and pre-release Ubuntu compatibility matrix to require the native clipboard Queue hook, editor bridge, payload, valid JavaScript, and exact restoration. Exercise missing and ambiguous anchors in regression fixtures, trigger the workflow for relevant PR changes, and check upstream releases daily.

Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Keep the daily release schedule and path-scoped PR trigger intentional by updating the installation regression to check both. Preserve the aggregate CI gate and unrelated workflow assertions.

Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
@JFWooten4
JFWooten4 merged commit fbe1b66 into main Dec 4, 2026
26 checks passed
@JFWooten4
JFWooten4 deleted the slate-stone branch December 4, 2026 20:32
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