Commit Graph
287 Commits
Author SHA1 Message Date
GitHub Action d49dba7af7 chore(release): 0.2.9 [skip ci] 2025-08-21 01:02:41 +00:00
GitHub Action a83bb5f11a chore(release): 0.2.8 [skip ci] 2025-08-21 00:34:54 +00:00
GitHub Action 424359586c chore(release): 0.2.7 [skip ci] 2025-08-20 10:58:54 +00:00
GitHub Action 165c5f87fb chore(release): 0.2.6 [skip ci] 2025-08-20 01:12:56 +00:00
GitHub Action 5204c58db9 chore(release): 0.2.5 [skip ci] 2025-08-19 22:00:49 +00:00
James Peter ca55c2e1a9 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 c0fe2c5009 chore(release): 0.2.4 [skip ci] 2025-08-19 04:06:32 +00:00
James Peter bb21419ecb 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 c46185dc8e chore(release): 0.2.3 [skip ci] 2025-08-19 02:31:52 +00:00
GitHub Action 36b106c42c chore(release): 0.2.2 [skip ci] 2025-08-19 02:09:43 +00:00
James Peter 785435640f 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 0b626e50ab 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 b8548a07d1 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 430da705b3 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 3fc9d0c450 chore(release): 0.1.7 [skip ci] 2025-08-18 14:02:28 +00:00
GitHub Action 9d08e502de chore(release): 0.1.6 [skip ci] 2025-08-17 10:59:58 +00:00
James Peter 791239333b 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 347a2f4d89 chore(release): nudge workflow by touching postinstall.js (no functional change) 2025-08-17 20:31:10 +10:00
James Peter cb5e1fdd24 chore(release): bump version to 0.1.14 2025-08-17 20:14:20 +10:00
James Peter b7179e4e24 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 9bc21c0906 chore(release): 0.1.4 [skip ci] 2025-08-17 09:12:38 +00:00
James Peter dddb75bd41 chore: commit pending changes on main (CLI, TUI, core, docs) 2025-08-17 18:55:58 +10:00
GitHub Action 2bc72eea30 chore(release): 0.1.13 [skip ci] 2025-08-16 02:50:20 +00:00
James Peter 0f1974af4c 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 b3176fea7f 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 839a815591 chore(release): 0.1.11 [skip ci] 2025-08-14 10:11:28 +00:00
GitHub Action 6c7595d3d9 chore(release): 0.1.10 [skip ci] 2025-08-14 09:32:01 +00:00
James Peter 9bafe869f2 Merge branch 'main' of https://github.com/just-every/coder into main 2025-08-14 08:56:55 +10:00
James Peter ab2b794d2e 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 4d34c10ace chore(release): 0.1.9 [skip ci] 2025-08-13 21:12:39 +00:00
DylanandGitHub 99a242ef41 [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 dc73e51158 chore(release): 0.1.8 [skip ci] 2025-08-13 11:39:54 +00:00
GitHub Action e453836e5f chore(release): 0.1.7 [skip ci] 2025-08-12 13:34:27 +00:00
GitHub Action a2dd87d074 chore(release): 0.1.6 [skip ci] 2025-08-12 06:58:55 +00:00
GitHub Action d2f9a76961 chore(release): 0.1.5 [skip ci] 2025-08-12 01:53:33 +00:00
GitHub Action 86c17e3aab chore(release): 0.1.4 [skip ci] 2025-08-12 00:17:37 +00:00
GitHub Action b2523b60a8 chore(release): 0.1.3 [skip ci] 2025-08-11 22:57:49 +00:00
James Peter f9941559bf revert: undo version bump to 0.1.3 2025-08-12 08:03:03 +10:00
James Peter 61c563b932 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 240efb844f 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 aea984541c 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 98853167ab 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 5d40d09636 feat: add coder fork enhancements - mouse scrolling, glitch animation, and improved TUI 2025-08-11 21:51:46 +10:00
James Peter f2e5c97035 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 27cbd5767c 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 ff8378b2af 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 408c7ca142 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
Michael BolinandGitHub 39a4d4ed8e fix: try building the npm package in CI (#2043)
Historically, the release process for the npm module has been:

- I run `codex-rs/scripts/create_github_release.sh` to kick off a
release for the native artifacts.
- I wait until it is done.
- I run `codex-cli/scripts/stage_rust_release.py` to build the npm
release locally
- I run `npm publish` from my laptop

It has been a longstanding issue to move the npm build to CI. I may
still have to do the `npm publish` manually because it requires 2fac
with `npm`, though I assume we can work that out later.

Note I asked Codex to make these updates, and while they look pretty
good to me, I'm not 100% certain, but let's just merge this and I'll
kick off another alpha build and we'll see what happens?
2025-08-08 15:17:54 -07:00
Michael BolinandGitHub d0cf036799 feat: include Windows binary of the CLI in the npm release (#2040)
To date, the build scripts in `codex-cli` still supported building the
old TypeScript version of the Codex CLI to give Windows users something
they can run, but we are just going to have them use the Rust version
like everyone else, so:

- updates `codex-cli/bin/codex.js` so that we run the native binary or
throw if the target platform/arch is not supported (no more conditional
usage based on `CODEX_RUST`, `use-native` file, etc.)
- drops the `--native` flag from `codex-cli/scripts/stage_release.sh`
and updates all the code paths to behave as if `--native` were passed
(i.e., it is the only way to run it now)

Tested this by running:

```
./codex-cli/scripts/stage_rust_release.py --release-version 0.20.0-alpha.2
```
2025-08-08 14:44:35 -07:00
1e4bf81653 Update copy (#1935)
Updated copy

---------

Co-authored-by: pap-openai <[email protected]>
2025-08-07 03:29:33 -07:00