Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

thomas-quant/codex-buddy

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codex-buddy

Clean-room Buddy research plus a working Rust wrapper TUI for Codex.

Demo

Terminal screenshot of the Codex wrapper with the Buddy pane visible on the right

Current wrapper UI with the Buddy side pane visible on the right. This capture shows the wrapper shell and Buddy mascot; a future screenshot would be stronger if it also shows the Buddy action menu or status view in use.

What Is Here

  • buddy/ Clean-room Buddy behavior notes, extracted snapshot files, and wrapper-port specs.
  • docs/superpowers/plans/ Planning notes for the missing host behavior and the wrapper implementation.
  • wrapper/ A Rust ratatui wrapper that hosts stock codex in a PTY and renders an always-visible Buddy side pane.

Wrapper Highlights

  • PTY-hosted Codex main pane
  • Always-visible Buddy side pane
  • Focus switching between Codex and Buddy
  • Buddy action menu with hatch, status, pet, mute, unmute, and rebirth
  • Wrapper-owned Buddy persistence
  • Codex hook relay and normalized Buddy events
  • codex exec hatch and quip backends

Run

Prerequisites:

  • Rust toolchain
  • codex on PATH

Launch the wrapper:

cargo run --manifest-path wrapper/Cargo.toml

Controls:

  • Tab: switch focus between Codex and Buddy
  • Enter: open or activate the Buddy action menu when Buddy is focused
  • Up / Down or k / j: move in the Buddy action menu
  • Esc: close Buddy menu or status view
  • Ctrl+Q: quit the wrapper

Verify

cargo test --manifest-path wrapper/Cargo.toml
cargo fmt --manifest-path wrapper/Cargo.toml --check
cargo clippy --manifest-path wrapper/Cargo.toml --all-targets -- -D warnings

Notes

  • Codex hooks are currently Unix-first; Windows is not the target for this wrapper.
  • session_ended is synthesized by the wrapper when the PTY exits because Codex does not expose a documented SessionEnd hook.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.