Skip to content

Comments

align default models & additional small cleanup#8

Merged
tibo-openai merged 1 commit intomainfrom
tibo/codex/3
Apr 16, 2025
Merged

align default models & additional small cleanup#8
tibo-openai merged 1 commit intomainfrom
tibo/codex/3

Conversation

@tibo-openai
Copy link
Collaborator

No description provided.

@tibo-openai tibo-openai merged commit 1b40e19 into main Apr 16, 2025
1 of 2 checks passed
@tibo-openai tibo-openai deleted the tibo/codex/3 branch April 16, 2025 17:32
rumple pushed a commit to rumple/codex that referenced this pull request Apr 24, 2025
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Nov 6, 2025
Three critical fixes for Android/Termux compatibility:

1. Disable sandbox on Android
   - Android/Termux does not support landlock/seccomp
   - Modified get_platform_sandbox() to return None on Android
   - File: core/src/safety.rs

2. Preserve LD_* environment variables on Android
   - Android needs LD_LIBRARY_PATH to find libraries in custom paths
   - Skip LD_* removal in process-hardening on Android
   - File: process-hardening/src/lib.rs

3. Use $SHELL instead of getpwuid() on Android
   - getpwuid() returns 'login' instead of actual shell on Termux
   - Use $SHELL environment variable which is correct
   - File: core/src/shell.rs

Fixes: bash execution 'Permission denied' errors in Agent mode
Platform: Android/Termux only (Linux/Mac/Windows unchanged)
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Nov 6, 2025
….4-termux

- Document Patch openai#8: Fix bash execution in Agent mode on Android/Termux
- Three critical fixes: sandbox disable, LD_* preservation, shell detection
- Update npm package.json to 0.55.4-termux
- Add missing codex.js wrapper for npm binary

Tested successfully: Agent mode bash commands now work without Permission denied errors
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Nov 10, 2025
Three critical fixes for Android/Termux compatibility:

1. Disable sandbox on Android
   - Android/Termux does not support landlock/seccomp
   - Modified get_platform_sandbox() to return None on Android
   - File: core/src/safety.rs

2. Preserve LD_* environment variables on Android
   - Android needs LD_LIBRARY_PATH to find libraries in custom paths
   - Skip LD_* removal in process-hardening on Android
   - File: process-hardening/src/lib.rs

3. Use $SHELL instead of getpwuid() on Android
   - getpwuid() returns 'login' instead of actual shell on Termux
   - Use $SHELL environment variable which is correct
   - File: core/src/shell.rs

Fixes: bash execution 'Permission denied' errors in Agent mode
Platform: Android/Termux only (Linux/Mac/Windows unchanged)
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Nov 10, 2025
….4-termux

- Document Patch openai#8: Fix bash execution in Agent mode on Android/Termux
- Three critical fixes: sandbox disable, LD_* preservation, shell detection
- Update npm package.json to 0.55.4-termux
- Add missing codex.js wrapper for npm binary

Tested successfully: Agent mode bash commands now work without Permission denied errors
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request 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:
- openai#1 Browser login (termux-open-url) ✅
- openai#2 RAM optimizations (lto=false, codegen-units=16) ✅
- openai#8 Bash execution (sandbox, LD_*, shell detection) ✅
- openai#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>
zcg added a commit to byebye-code/codex that referenced this pull request Dec 3, 2025
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Jan 8, 2026
…8+ requirement

- Upstream: OpenAI Codex rust-v0.79.0
- Termux patches validated: openai#1-openai#6, openai#8, openai#9
- Testing: 47/49 passed (2 skipped: WebSearch, Git)
- Documentation:
  - Added GLM-4.7 quickstart guide (docs/GLM4.7-quickstart.md)
  - Updated README with GLM-4.7 Path 2 in Quickstart
  - Node.js requirement updated to >=18 (recommended >=22)
  - Web search safety warning added
  - Tagline updated to "Built from upstream"
- Package: npm-package synced with main README
- Binaries: codex (59M), codex-exec (34M), codex-tui (41M) verified
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Jan 10, 2026
- Updated workspace version to 0.80.0-termux
- Termux patch openai#2 (compilation) preserved: lto=false, codegen-units=16
- Termux patch openai#9 (auto-update execution) preserved in main.rs
- Process hardening removal upstream improves bash execution (patch openai#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 pushed a commit to DioNanos/codex-termux that referenced this pull request Jan 10, 2026
- Updated workspace version to 0.80.0-termux
- All Termux patches verified functional (openai#1-openai#6, openai#9 active)
- Patch openai#8 no longer required (resolved upstream by PR openai#8951)
- Process hardening removed from Codex CLI improves bash execution
- Test suite: 49/49 passed (CODEX_TEST_REPORT_v0.80.0.md)
- Upstream changes:
  * Thread fork endpoints (conversation branching)
  * Requirements/list API
  * Elevated sandbox onboarding NUX
  * Skills explicit invocation via V2 API
  * Metrics capabilities (otel/metrics module)
  * Removed process hardening from Codex CLI
- Binaries compiled: codex (60M), codex-tui (42M), codex-exec (35M), codex-app-server (38M)
- Updated patches/README.md for v0.80.0
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Jan 10, 2026
- Remove old test report (CODEX_TEST_REPORT_v0.79.0.md)
- Update version references from 0.79.0 to 0.80.0
- Update upstream reference from rust-v0.79.0 to rust-v0.80.0
- Update test date from 2026-01-08 to 2026-01-10
- Update test results to 49/49 passed (0 skipped)
- Update patch description: 8 patches (openai#1-openai#6, openai#9) - Patch openai#8 resolved upstream
- Sync npm-package/README.md with root README.md
DioNanos pushed a commit to DioNanos/codex-termux that referenced this pull request Jan 10, 2026
- CHANGELOG.md: Added 0.80.0-termux entry with:
  * Upstream rust-v0.80.0 release details
  * Process hardening removal (PR openai#8951)
  * New features: thread fork, requirements API, elevated sandbox NUX, skills V2, metrics
  * Patch openai#8 no longer required (resolved upstream)
  * Test results: 49/49 passed (0 skipped)
  * Documentation updates

- README.md: Fixed remaining reference to old test report
  * Updated CODEX_TEST_REPORT_v0.79.0.md → CODEX_TEST_REPORT_v0.80.0.md
  * Updated test results: 47 passed → 49 passed, 2 skipped → 0 skipped

- npm-package/README.md: Synchronized with root README.md
  * Same version and test result updates as README.md

All linked files verified and aligned to v0.80.0-termux.
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