Skip to content

(cleanup) add link to https://cookbook.openai.com for apply_patch and minor tidy up - #2

Merged
ibigio merged 1 commit into
mainfrom
tibo/codex/1
Apr 16, 2025
Merged

ibigio merged 1 commit into
mainfrom
tibo/codex/1

Conversation

@tibo-openai

Copy link
Copy Markdown
Collaborator

No description provided.

@tibo-openai tibo-openai changed the title (cleanup) add link to https://cookbook.openai.com and minor tidy up (cleanup) add link to https://cookbook.openai.com for apply_patch and minor tidy up Apr 16, 2025
@ibigio
ibigio merged commit 1c26c27 into main Apr 16, 2025
@ibigio
ibigio deleted the tibo/codex/1 branch April 16, 2025 17:15
rumple pushed a commit to rumple/codex that referenced this pull request Apr 24, 2025
avalanchexia pushed a commit to avalanchexia/codex that referenced this pull request Jun 7, 2025
mazdak pushed a commit to mazdak/codex that referenced this pull request Sep 3, 2025
shepting pushed a commit to shepting/codex that referenced this pull request Sep 16, 2025
DioNanos referenced this pull request in DioNanos/codex-termux Nov 15, 2025
Critical bugfix - auto-update detection now working

Fixes:
- Version parser now handles -termux suffix correctly
- Tag parser accepts both rust-v* and v*-termux formats
- Added test coverage for Termux tag validation

Technical details:
- v0.58.0 upstream merge overwrote -termux suffix support
- New upstream code rejected v*-termux tag format
- Prevented version.json creation and update notifications

Affected versions: v0.58.0 through v0.58.3

Termux patches (4 total):
- Patch #1: Browser login fix (termux-open-url)
- Patch #2: RAM optimizations (lto=false, codegen-units=16)
- Patch #3: Auto-update URL (@mmmbuto/codex-cli-termux)
- Patch #4: Auto-update detection (this release)
DioNanos referenced this pull request in DioNanos/codex-termux Nov 21, 2025
Upstream changes (40+ commits):
- New: codex-shell-tool-mcp MCP server
- New: execpolicycheck CLI command
- New: TUI animations toggle feature
- New: Shell timeout increased to 1 hour
- Refactor: execpolicy migration (execpolicy2 -> execpolicy)
- Removed: tiktoken-rs, shell_command feature
- Improved: FreeBSD portability, fuzzy search (8->20 results)

Termux patches verified compatible:
- #1 Browser login (termux-open-url) ✅
- #2 RAM optimizations (lto=false, codegen-units=16) ✅
- #8 Bash execution (sandbox, LD_*, shell detection) ✅
- #9 Auto-update execution ✅

Stats: 195 files changed, +5915 insertions, -2293 deletions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
DioNanos referenced this pull request in DioNanos/codex-termux Nov 27, 2025
- 8 new tests to validate Termux patches after upstream merge
- Critical tests for Patch #1, #2, #4, #9 (conflicting patches)
- Test auto-update execution, browser login, RAM optimization
- Essential for post-merge validation before npm publish

Test suite v1.2 → v1.3 (90 total tests)
DioNanos referenced this pull request in DioNanos/codex-termux Nov 27, 2025
Merged 61 commits from openai/codex upstream (Nov 21-27, 2025).

✅ ALL TERMUX PATCHES PRESERVED:
- Patch #1: Browser login (termux-open-url) - VERIFIED ✅
- Patch #2: RAM optimization (lto=false) - VERIFIED ✅
- Patch #4: Auto-update URL (DioNanos/codex-termux) - VERIFIED ✅
- Patch #5: Version parser (-termux suffix) - VERIFIED ✅
- Patch #6: NPM package name (@mmmbuto/codex-cli-termux) - VERIFIED ✅
- Patch #9: Auto-update execution (npm install) - VERIFIED ✅

NEW UPSTREAM FEATURES:
- Enterprise skip upgrade config (check_for_update_on_startup)
- Unified exec pruning strategy
- Custom env for unified exec process
- Compaction events
- Thread/turn ID in notifications
- Config management app-server
- Cargo audit workflow + cargo-deny
- NetBSD build fixes
- Windows sandbox enhancements
- Documentation improvements

UPSTREAM CHANGES:
- 232 files changed
- +11247 insertions, -7808 deletions
- New codex-api/ and codex-client/ crates
- Rollout session error improvements
- Apply patch parsing fixes

CONFLICTS RESOLVED:
- README.md: Merged Testing section (Termux) + Documentation links (upstream)

NEXT: Compilation + Category 13 test suite validation
DioNanos referenced this pull request in DioNanos/codex-termux Jan 10, 2026
- Updated workspace version to 0.80.0-termux
- Termux patch #2 (compilation) preserved: lto=false, codegen-units=16
- Termux patch #9 (auto-update execution) preserved in main.rs
- Process hardening removal upstream improves bash execution (patch #8)

Upstream changes (77 commits from rust-v0.79.0):
- Metrics capabilities (otel/metrics modules)
- Requirements/list API
- Thread fork endpoints
- Elevated sandbox onboarding
- Skills explicit invocation via V2 API
- Updated dependencies: lru 0.16.3, zstd added
- Removed codex-process-hardening from Codex CLI
- Updated models.json
DioNanos referenced this pull request in DioNanos/codex-termux Feb 4, 2026
- Set version = "0.95.0"
- Applied Patch #2: lto = false, codegen-units = 16
- Preserved all upstream v0.95.0 workspace members and dependencies
- All Termux patches (#1-#6, #9) verified present
- Next step: Build ARM64 binaries
DioNanos referenced this pull request in DioNanos/codex-termux Feb 18, 2026
Patches applied:
- Patch #1: Browser login fix (termux-open-url)
- Patch #2: Compilation optimizations (lto=false, codegen-units=16)
- Patch #3: Version alignment (0.104.0)
- Patch #4: Auto-update URL (DioNanos/codex-termux)
- Patch #5: Version parser (-termux suffix)
- Patch #6: NPM package name (@mmmbuto/codex-cli-termux)
- Patch #9: Auto-update execution (tui/src/main.rs)

Updated files:
- codex-rs/Cargo.toml: version 0.104.0
- codex-rs/tui/src/main.rs: add update_action execution
- npm-package/package.json: 0.104.0-termux
- patches/README.md: update validated version
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.

2 participants