Commit Graph
590 Commits
Author SHA1 Message Date
GitHub Action a434fb3bdc chore(release): 0.2.12 [skip ci] 2025-08-23 21:18:13 +00:00
GitHub Action 7d75db9e33 chore(release): 0.2.11 [skip ci] 2025-08-23 20:40:37 +00:00
GitHub Action 063e04b1d9 chore(release): 0.2.10 [skip ci] 2025-08-23 08:46:12 +00:00
GitHub Action 056dcb5c84 chore(release): 0.2.9 [skip ci] 2025-08-21 01:02:41 +00:00
GitHub Action 7b98140dbd chore(release): 0.2.8 [skip ci] 2025-08-21 00:34:54 +00:00
GitHub Action 64759f9702 chore(release): 0.2.7 [skip ci] 2025-08-20 10:58:54 +00:00
GitHub Action 01d37b303b chore(release): 0.2.6 [skip ci] 2025-08-20 01:12:56 +00:00
GitHub Action e21ae16d26 chore(release): 0.2.5 [skip ci] 2025-08-19 22:00:49 +00:00
James Peter 029ce20a38 cli(downloads): verify Content-Length, add retries/timeouts; improve WSL guidance\n\n- postinstall: bytes count vs Content-Length, inactivity/absolute timeouts, retry with backoff\n- coder.js: WSL detection + tailored guidance when binaries missing/invalid 2025-08-20 07:46:25 +10:00
GitHub Action b48f94d634 chore(release): 0.2.4 [skip ci] 2025-08-19 04:06:32 +00:00
James Peter 48d64f24d5 cli(windows): guard against corrupt/empty downloads and improve spawn errors\n\n- postinstall: robust download + header validation (MZ/ELF/Mach-O), delete on failure\n- coder.js: pre-spawn binary header check; clearer EFTYPE/ENOEXEC/EACCES guidance\n- reduces confusing Windows EFTYPE crashes from partial downloads 2025-08-19 13:51:46 +10:00
GitHub Action 326ffff9ed chore(release): 0.2.3 [skip ci] 2025-08-19 02:31:52 +00:00
GitHub Action a47ba7b55e chore(release): 0.2.2 [skip ci] 2025-08-19 02:09:43 +00:00
James Peter 7376c0ae25 chore(release): ensure npm README uses repo root during publish; allow CI in prepublish guard 2025-08-19 08:34:49 +10:00
James Peter 357ab354ba chore(npm): prevent direct publish from codex-cli and replace legacy README with publish note pointing to repo root 2025-08-19 08:26:58 +10:00
James Peter ef9c7370d2 fix(core/mcp/tui): align with latest upstream protocol + type mappings; stabilize interrupt handling and TUI colors 2025-08-19 08:18:26 +10:00
James Peter 5d18030bb1 fix(release): ensure GitHub Release + correct artifacts and repo refs
- Build code/code-tui/code-exec in rust-release workflow
- Always create/push v<tag>; remove skip gate for GH release
- Add permissions: contents: write
- Point staging to just-every/code and code-* artifacts
- Update checker accepts rust-vX.Y.Z or vX.Y.Z and refreshes cache
2025-08-19 03:19:43 +10:00
GitHub Action 3b272b26e6 chore(release): 0.1.7 [skip ci] 2025-08-18 14:02:28 +00:00
GitHub Action 62c5476794 chore(release): 0.1.6 [skip ci] 2025-08-17 10:59:58 +00:00
James Peter b9adced314 refactor(naming): switch binaries and artifacts from 'coder' to 'code'; keep 'coder' as fallback alias only. Update workflows, scripts, and postinstall. 2025-08-17 20:45:10 +10:00
James Peter f42b65f329 chore(release): nudge workflow by touching postinstall.js (no functional change) 2025-08-17 20:31:10 +10:00
James Peter c2dc8cde80 chore(release): bump version to 0.1.14 2025-08-17 20:14:20 +10:00
James Peter 2592584130 feat(cli): add 'coder' bin alias and postinstall notice if existing 'code' is not ours 2025-08-17 19:16:42 +10:00
GitHub Action 654206824c chore(release): 0.1.4 [skip ci] 2025-08-17 09:12:38 +00:00
James Peter 5369437229 chore: commit pending changes on main (CLI, TUI, core, docs) 2025-08-17 18:55:58 +10:00
GitHub Action cdbfcdbadf chore(release): 0.1.13 [skip ci] 2025-08-16 02:50:20 +00:00
James Peter 9fb5f564a3 feat(cli): switch npm bin to 'code' and handle collisions gracefully
- package.json: expose bin as 'code'
- postinstall: detect existing 'code'; create 'coder' fallback and optional 'vscode' alias to existing editor
- keep Rust binary named 'coder' for builds; wrappers updated accordingly
2025-08-16 12:17:04 +10:00
James Peter 424c9d4153 chore(rebrand): rename user-facing Coder → Code; update links to new repo
- Update TUI titles, labels, messages
- Update onboarding copy and links
- Update MCP titles and human-output banner
- Update README branding and URLs
- postinstall: switch release URL to just-every/code; offer optional 'code' alias without collisions
- package.json repository URL updated

Note: CLI command remains 'coder' to avoid VS Code collision; optional alias offered interactively.
2025-08-16 12:10:29 +10:00
GitHub Action 8b10bf9b41 chore(release): 0.1.11 [skip ci] 2025-08-14 10:11:28 +00:00
GitHub Action 3ea182f125 chore(release): 0.1.10 [skip ci] 2025-08-14 09:32:01 +00:00
James Peter 331f4e56dd Merge branch 'main' of https://github.com/just-every/coder into main 2025-08-14 08:56:55 +10:00
James Peter f2f289a82e Merge upstream changes from openai/codex
Successfully merged all upstream changes while preserving our custom functionality:
- Kept our browser integration and screenshot features
- Preserved agent tracking and multi-agent support
- Maintained our live ring widget and custom UI components
- Integrated upstream's streaming improvements and new conversation manager
- Combined both versions' protocol updates and event handling

All conflicts resolved with preference for our functionality where there were genuine differences.
2025-08-14 08:16:36 +10:00
GitHub Action bba3524eb3 chore(release): 0.1.9 [skip ci] 2025-08-13 21:12:39 +00:00
DylanandGitHub 518791f03f [codex-cli] Add ripgrep as a dependency for node environment (#2237)
## Summary
Ripgrep is our preferred tool for file search. When users install via
`brew install codex`, it's automatically installed as a dependency. We
want to ensure that users running via an npm install also have this
tool! Microsoft has already solved this problem for VS Code - let's not
reinvent the wheel.

This approach of appending to the PATH directly might be a bit
heavy-handed, but feels reasonably robust to a variety of environment
concerns. Open to thoughts on better approaches here!

## Testing
- [x] confirmed this import approach works with `node -e "const { rgPath
} = require('@vscode/ripgrep'); require('child_process').spawn(rgPath,
['--version'], { stdio: 'inherit' })"`
- [x] Ran codex.js locally with `rg` uninstalled, asked it to run `which
rg`. Output below:

```
âš¡ Ran command which rg; echo $?
  ⎿ /Users/dylan.hurd/code/dh--npm-rg/node_modules/@vscode/ripgrep/bin/rg
    0

codex
Re-running to confirm the path and exit code.

- Path: `/Users/dylan.hurd/code/dh--npm-rg/node_modules/@vscode/ripgrep/bin/rg`
- Exit code: `0`
```
2025-08-13 13:49:27 -07:00
GitHub Action 9052e096ac chore(release): 0.1.8 [skip ci] 2025-08-13 11:39:54 +00:00
GitHub Action b1bd326ef3 chore(release): 0.1.7 [skip ci] 2025-08-12 13:34:27 +00:00
GitHub Action 140e5ac5d4 chore(release): 0.1.6 [skip ci] 2025-08-12 06:58:55 +00:00
GitHub Action 990387bd32 chore(release): 0.1.5 [skip ci] 2025-08-12 01:53:33 +00:00
GitHub Action da093631f4 chore(release): 0.1.4 [skip ci] 2025-08-12 00:17:37 +00:00
GitHub Action ecd3434ac9 chore(release): 0.1.3 [skip ci] 2025-08-11 22:57:49 +00:00
James Peter 6e08f925a5 revert: undo version bump to 0.1.3 2025-08-12 08:03:03 +10:00
James Peter 3d12d28c8c fix: postinstall script import assertion error
- Replace dynamic import of package.json with readFileSync for Node.js compatibility
- Fixes 'ERR_IMPORT_ATTRIBUTE_MISSING' error during npm install
- Bump version to 0.1.3
2025-08-12 07:58:23 +10:00
James Peter 0cb9e4fedc fix: handle permission errors for binaries on Linux/WSL
- Add automatic chmod +x when running coder.js on Unix systems
- Fix postinstall script to use octal notation for chmod (0o755)
- Add better error messages when binary is not executable
- Always try to fix permissions for existing binaries
- Bump version to 0.1.2 for hotfix release
2025-08-12 06:55:01 +10:00
James Peter 7203071a78 fix: reduce npm package size by downloading binaries on install
- Add postinstall script to download platform-specific binaries from GitHub releases
- Update package.json to exclude binaries from npm package (only include JS wrappers)
- Modify release workflow to upload binaries as GitHub release assets
- Fixes 'Payload Too Large' error when publishing to npm (was 219MB, now <1MB)
2025-08-11 22:49:21 +10:00
James Peter 76d324dcb9 fix: remove dangling symlinks from codex-cli/bin and update gitignore
- Remove tracked symlinks that were causing build failures
- Add gitignore patterns to prevent binary symlinks from being tracked
- Fixes 'cp: not writing through dangling symlink' error in release workflow
2025-08-11 22:29:50 +10:00
James Peter 3e3a46e3f4 feat: add coder fork enhancements - mouse scrolling, glitch animation, and improved TUI 2025-08-11 21:51:46 +10:00
James Peter c14f222536 Merge main branch updates into code-release
Resolve version conflict - use v0.1.1 for next release
2025-08-10 16:33:26 +10:00
James Peter 5a6e42390d feat: update README and package.json for fork
- Add fork-specific README with installation instructions
- Update package.json to @just-every/code v0.1.1
- Prepare for next release with proper versioning
2025-08-10 16:32:54 +10:00
James Peter b4ee925816 feat: set up code fork with rebranding and npm publishing
- Rename binaries from codex to code across all Cargo.toml files
- Create @just-every/code npm package with generic build scripts
- Add CODE_HOME environment variable support (falls back to CODEX_HOME)
- Create GitHub Actions workflow for automated npm releases
- Update JavaScript wrapper from codex.js to code.js
- Add FORK_SETUP.md documentation
- Configure dual-branch strategy for fork management
2025-08-10 15:57:12 +10:00
Michael BolinandGitHub 652c1868bc chore: remove the TypeScript code from the repository (#2048)
This deletes the bulk of the `codex-cli` folder and eliminates the logic
that builds the TypeScript code and bundles it into the release.

Since this PR modifies `.github/workflows/rust-release.yml`, to test
changes to the release process, I locally commented out all of the "is
this commit on upstream `main`" checks in
`scripts/create_github_release.sh` and ran:

```
./codex-rs/scripts/create_github_release.sh 0.20.0-alpha.4
```

Which kicked off:

https://github.com/openai/codex/actions/runs/16842085113

And the release artifacts appear legit!

https://github.com/openai/codex/releases/tag/rust-v0.20.0-alpha.4
2025-08-08 16:09:39 -07:00