@mmmbuto/zai-codex-bridge 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/CODEX_REPORT_v0.4.9.md +313 -0
- package/CODEX_TEST_SUITE.md +4 -0
- package/README.md +7 -4
- package/package.json +1 -1
- package/scripts/test-curl.js +5 -1
- package/src/server.js +622 -195
- package/CODEX_REPORT_v0.4.8.md +0 -96
package/CODEX_REPORT_v0.4.8.md
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
=====================================
|
|
2
|
-
CODEX CLI TEST SUITE - FINAL REPORT
|
|
3
|
-
=====================================
|
|
4
|
-
|
|
5
|
-
Platform: Android Termux ARM64
|
|
6
|
-
Codex Version: 0.86.0-termux
|
|
7
|
-
Test Date: 2026-01-19
|
|
8
|
-
Test Duration: ~20 minutes
|
|
9
|
-
|
|
10
|
-
SUMMARY:
|
|
11
|
-
--------
|
|
12
|
-
Total Tests: 48
|
|
13
|
-
✅ Passed: 41 (85.4%)
|
|
14
|
-
❌ Failed: 2 (4.2%)
|
|
15
|
-
⚠️ Skipped: 5 (10.4%)
|
|
16
|
-
|
|
17
|
-
CATEGORY BREAKDOWN:
|
|
18
|
-
-------------------
|
|
19
|
-
1. System Information: 3/3 passed
|
|
20
|
-
2. File Operations: 5/8 passed (2 failed, 1 partial)
|
|
21
|
-
3. Search & Discovery: 3/3 passed
|
|
22
|
-
4. Shell Execution: 5/6 passed
|
|
23
|
-
5. Text Processing: 6/6 passed
|
|
24
|
-
6. Web & Network: 0/1 passed (1 skipped)
|
|
25
|
-
7. Git Operations: 1/3 passed (2 skipped)
|
|
26
|
-
8. AI Capabilities: 3/3 passed
|
|
27
|
-
9. Error Handling: 3/3 passed
|
|
28
|
-
10. Termux-Specific: 3/4 passed (1 skipped)
|
|
29
|
-
11. Cleanup: 0/1 failed
|
|
30
|
-
12. Package & Binary Verification: 8/8 passed (CRITICAL!)
|
|
31
|
-
|
|
32
|
-
CRITICAL FAILURES:
|
|
33
|
-
------------------
|
|
34
|
-
None related to Codex CLI functionality.
|
|
35
|
-
|
|
36
|
-
TEST FAILURES (2):
|
|
37
|
-
------------------
|
|
38
|
-
1. TEST-208: Delete File
|
|
39
|
-
- Error: Sandbox policy blocks rm commands
|
|
40
|
-
- Reason: Limitation of test environment, not Codex CLI bug
|
|
41
|
-
|
|
42
|
-
2. TEST-1101: Remove Test Files (Cleanup)
|
|
43
|
-
- Error: Sandbox policy blocks rm commands
|
|
44
|
-
- Reason: Limitation of test environment, not Codex CLI bug
|
|
45
|
-
|
|
46
|
-
WARNINGS:
|
|
47
|
-
---------
|
|
48
|
-
- Sandbox restrictions prevent file deletion operations
|
|
49
|
-
- Some file operations show inconsistent behavior (likely due to working directory issues)
|
|
50
|
-
- Category 6 (Web) tests skipped - WebSearch capability not verified
|
|
51
|
-
- Category 7 (Git) tests partially skipped - only git presence verified
|
|
52
|
-
- Category 2 tests 205-207 skipped due to directory/file creation issues
|
|
53
|
-
|
|
54
|
-
NOTES:
|
|
55
|
-
------
|
|
56
|
-
- Core functionality (Categories 1-5, 8-9, 12) working well
|
|
57
|
-
- Package structure complete: both codex and codex-exec binaries present and functional
|
|
58
|
-
- JSON output flags verified and available in codex-exec
|
|
59
|
-
- Termux environment properly detected (aarch64, Android kernel)
|
|
60
|
-
- Workspace operations (create, read, modify, search) functional
|
|
61
|
-
- Version consistency verified between codex and codex-exec (0.86.0-termux)
|
|
62
|
-
- npm package structure verified: all 4 required files in bin/ directory
|
|
63
|
-
|
|
64
|
-
CRITICAL SUCCESS:
|
|
65
|
-
-----------------
|
|
66
|
-
All Category 12 tests passed - Package & Binary Verification:
|
|
67
|
-
- ✅ TEST-1201: codex-tui binary functional (version 0.86.0-termux)
|
|
68
|
-
- ✅ TEST-1202: codex-exec binary functional (this was missing in v0.62.0!)
|
|
69
|
-
- ✅ TEST-1203: --json flag available for automation
|
|
70
|
-
- ✅ TEST-1204: NPM package has all required files (codex, codex.js, codex-exec, codex-exec.js)
|
|
71
|
-
- ✅ TEST-1205: Binary version consistency confirmed
|
|
72
|
-
- ✅ TEST-1206: package.json exposes both commands
|
|
73
|
-
- ✅ TEST-1207: Both commands available in PATH
|
|
74
|
-
- ✅ TEST-1208: Upstream crates compiled
|
|
75
|
-
|
|
76
|
-
VERDICT: ✅ PASS WITH WARNINGS
|
|
77
|
-
|
|
78
|
-
BRIDGE VERSION: 0.4.8
|
|
79
|
-
Codex integration: ✅ Functional (with noted limitations)
|
|
80
|
-
Automation capabilities: ✅ Verified (codex-exec --json available)
|
|
81
|
-
|
|
82
|
-
RECOMMENDATIONS:
|
|
83
|
-
----------------
|
|
84
|
-
1. Sandbox policy review - file deletion restrictions impact usability
|
|
85
|
-
2. Investigate working directory behavior for file operations
|
|
86
|
-
3. Consider adding WebSearch integration tests for Category 6
|
|
87
|
-
4. Git operations testing can be expanded in future test runs
|
|
88
|
-
5. Despite warnings, critical functionality is intact and package is release-ready
|
|
89
|
-
|
|
90
|
-
TEST EXECUTION NOTES:
|
|
91
|
-
---------------------
|
|
92
|
-
- Used codex-glm-a exec for codex-exec tests
|
|
93
|
-
- All critical tests (Category 12) passed successfully
|
|
94
|
-
- Test workspace created at: ~/codex-test-workspace
|
|
95
|
-
- Both binaries (codex and codex-exec) verified working
|
|
96
|
-
- Package structure verified via npm root -g
|