Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openai/codex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: tyrchen/codex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 33 files changed
  • 2 contributors

Commits on Aug 24, 2025

  1. feat: add codex-agent-lib with dedicated plan channel architecture

    Introduces a new library for embedding Codex agent capabilities into Rust applications
    with a three-channel architecture (input, plan, output) for clean separation of concerns.
    
    Key features:
    - Separate plan channel for task tracking updates
    - Support for Codex's internal PlanUpdate events
    - Converts between Codex and library plan formats
    - Interactive Python agent example with TUI
    - Clean API with input_rx, plan_tx, output_tx channels
    
    The plan channel architecture ensures:
    - Plan updates are cleanly separated from other output
    - Tasks panel receives structured plan data directly
    - No parsing or filtering of mixed messages needed
    - Both internal plans and tool-based updates are captured
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    tyrchen and claude committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    ea436b3 View commit details
    Browse the repository at this point in the history
  2. feat(agent-lib): major improvements to reduce boilerplate by 95%

    Implemented comprehensive improvements to codex-agent-lib that dramatically
    simplify agent development while maintaining full backwards compatibility.
    
    Key improvements:
    - Added optional TUI module (disabled by default, requires --features tui)
    - Implemented message processing pipeline with builder pattern
    - Added simplified execution API (query, interactive, stream methods)
    - Created 8 pre-configured agent templates for common use cases
    - Added output utilities for ANSI stripping, text wrapping, etc.
    - Implemented session management with save/load capabilities
    - Added prelude module for convenient imports
    
    The interactive Python agent example reduced from 772 lines to 30 lines,
    demonstrating a 95%+ reduction in boilerplate code.
    
    Features are modular and can be enabled independently:
    - default: utils, templates, session (no TUI)
    - tui: Terminal UI components (optional)
    - full: All features enabled
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    tyrchen and claude committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    b84dbf0 View commit details
    Browse the repository at this point in the history
  3. fix(agent-lib): fix TUI display issues and add approval policy

    - Added ApprovalPolicy::Never to python_developer template to fix -y flag error
    - Fixed TUI to properly display initial user message in chat history
    - Added welcome message to AppState initialization
    - Ensured initial prompt is shown in the UI before processing
    
    These fixes resolve the empty chat/task display issues in the TUI.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    tyrchen and claude committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    a2b69f4 View commit details
    Browse the repository at this point in the history
  4. fix(agent-lib): fix todo list and bash command execution in Python te…

    …mplate
    
    - Updated Python developer prompt to emphasize update_plan usage
    - Added requirement to create task list before starting work
    - Clarified that bash tool should be used instead of shell
    - Added explicit workflow steps for task planning
    - Fixed command execution by directing agent to use bash tool
    
    This ensures the todo list is populated and commands execute properly.
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <[email protected]>
    tyrchen and claude committed Aug 24, 2025
    Configuration menu
    Copy the full SHA
    e428069 View commit details
    Browse the repository at this point in the history
Loading