Commit Graph
364 Commits
Author SHA1 Message Date
James Peter 592b3f65e9 ci(release): ensure unique npm version across packages; idempotent publish steps; bump codex-cli to 0.2.62 2025-09-05 21:47:50 +10:00
GitHub Action 0a39d39cd5 chore(release): 0.2.60 [skip ci] 2025-09-05 10:22:38 +00:00
GitHub Action 879705bcc4 docs(changelog): update for v0.2.59 2025-09-05 09:32:51 +00:00
GitHub Action a7bc1f59ae chore(release): 0.2.59 [skip ci] 2025-09-05 09:31:33 +00:00
James Peter d1f32a990f ci(release): publish npm packages last; bump codex-cli to 0.2.58 and compute version across all npm targets to avoid E403 overwrite 2025-09-05 18:51:00 +10:00
James Peter 4de65f4db7 fix(tui/input): normalize KeyEvent kind on non-enhanced terminals to restore typing on Git Bash/mintty (Windows)
This maps Release-only key events to Press when keyboard enhancement flags are unsupported, fixing unresponsive input and Ctrl+C on some Windows terminals.

Closes #18. Closes #14.
2025-09-03 21:44:29 +10:00
James Peter 08609e46c7 merge: integrate upstream/main (prefer ours); keep TUI fork, drop legacy vt100 tests, retain local common.rs 2025-09-03 19:49:35 +10:00
Michael BolinandGitHub b720b45461 fix: include arm64 Windows executable in npm module (#3067)
This is in support of https://github.com/openai/codex/issues/2979.

Tested by running:

```
./codex-cli/scripts/install_native_deps.sh --workflow-url https://github.com/openai/codex/actions/runs/17416421450
```
2025-09-02 15:43:42 -07:00
GitHub Action 802e83520a chore(release): 0.2.56 [skip ci] 2025-09-01 12:34:52 +00:00
GitHub Action bdf61adc22 chore(release): 0.2.55 [skip ci] 2025-09-01 11:36:53 +00:00
GitHub Action 215ec0ac23 chore(release): 0.2.54 [skip ci] 2025-09-01 11:01:13 +00:00
GitHub Action 7cb373d73b chore(release): 0.2.53 [skip ci] 2025-09-01 08:14:33 +00:00
GitHub Action 12a1760804 chore(release): 0.2.52 [skip ci] 2025-08-30 05:25:35 +00:00
GitHub Action 409b12f643 chore(release): 0.2.51 [skip ci] 2025-08-30 04:23:54 +00:00
James Peter 7acc3f7363 Merge origin/main: adopt 0.2.50 version bump metadata 2025-08-30 14:15:30 +10:00
James Peter 8a0251e908 fix(cli/coder): de-duplicate validateBinary to avoid ESM redeclare error under Bun/Node 23 2025-08-30 14:15:21 +10:00
GitHub Action 04ac2f002a chore(release): 0.2.50 [skip ci] 2025-08-30 04:13:21 +00:00
James Peter 1458d1c5e9 Merge origin/main: adopt remote version bumps; keep ours elsewhere (cli bin/postinstall, coder bootstrap) 2025-08-30 14:05:09 +10:00
James Peter d4c65fc01f fix(cli/coder): make bootstrap helper async; fix Bun global install when postinstall is blocked\n\nBun can block postinstall; our coder entry bootstraps the native binary.\nIt used an await inside a non-async function, causing a syntax error under Node.\nNow the helper is async and the top-level call awaits it correctly. 2025-08-30 13:59:41 +10:00
GitHub Action 4dc9dfa799 chore(release): 0.2.49 [skip ci] 2025-08-30 03:57:57 +00:00
James Peter 64ad0a937a Merge origin/main: adopt remote version bumps; keep ours elsewhere (cli bootstrap, windows artifact parsing) 2025-08-30 13:48:57 +10:00
James Peter 791aedc1d7 chore(cli): restore windows optionalDependency for parity with published metadata\n\nKeep @just-every/code-win32-x64 in source so local packs and git installs have fast-path; release workflow still overwrites versions and includes all platform packages. Bun 404 is harmless. 2025-08-30 13:44:00 +10:00
James Peter 3da2934f7d fix(cli/install): bootstrap native binary on first run; drop unpublished win optional dep\n\n- Add self-bootstrap in bin/coder.js to fetch validated platform binary when postinstall is blocked (e.g., Bun global)\n- Prefer cached binary, then optional platform pkg, then GitHub release download\n- Remove @just-every/code-win32-x64 from optionalDependencies to avoid Bun 404 noise on non-Windows installs\n- Build verified with ./build-fast.sh 2025-08-30 13:39:39 +10:00
GitHub Action c60feb1ce2 chore(release): 0.2.48 [skip ci] 2025-08-30 02:51:18 +00:00
James Peter 1bad7bf41e Merge origin/main: adopt remote codex-cli/package.json version bumps; keep local TUI changes (tui/chatwidget) 2025-08-30 12:42:15 +10:00
James Peter 7588a47618 fix(cli/install): stop publishing 'code' bin; create wrapper only when safe and remove on collision\n\nPrevents overriding VS Code's 'code' CLI. Postinstall now:\n- Detects PATH collisions and removes legacy npm shim if present\n- Creates a 'code' wrapper -> 'coder' only when no conflict exists (npm/bun)\n- Keeps 'coder' as the canonical entrypoint\n\nThis matches the goal: never hijack an existing 'code' while preserving a friendly alias when safe. 2025-08-30 11:56:26 +10:00
GitHub Action c1e89e9775 chore(release): 0.2.47 [skip ci] 2025-08-30 01:54:51 +00:00
GitHub Action 00f79bf89d chore(release): 0.2.46 [skip ci] 2025-08-30 01:00:49 +00:00
James Peter def0085863 Merge origin/main: sync with upstream before push 2025-08-30 10:52:31 +10:00
James Peter 8bdb21e9ef fix(cli/postinstall): print collision guidance to stderr and suggest 'coder' when VS Code's 'code' is on PATH 2025-08-30 10:52:06 +10:00
GitHub Action 74292799ee chore(release): 0.2.45 [skip ci] 2025-08-30 00:37:24 +00:00
GitHub Action 5581f2ed28 chore(release): 0.2.44 [skip ci] 2025-08-29 20:42:00 +00:00
James Peter 33268e7aa5 Merge origin/main: adopt remote codex-cli version bumps; keep ours elsewhere 2025-08-30 06:32:47 +10:00
James Peter dcedda693e feat(tui/file-completion): prioritize CWD matches; related UX fixes
- TUI: prioritize files from current working directory in completions;
  refine redraw debounce for lower latency; history/markdown rendering tweaks.
- Core/web_fetch: safer HTML sanitization, basic GitHub issue extraction,
  and trimmed payload heuristics.
- Core/agent_tool: more robust command_exists on unix/windows; improve fallbacks.
- Fix: remove unused var in JSON-LD scan to silence warning.

Build: verified with ./build-fast.sh (no warnings).
2025-08-30 06:19:34 +10:00
James Peter 90904eda59 ui(tui/assistant): remove inner top/bottom padding from code cards\n\n- Drop 1-row inner pads; keep only top/bottom border\n- Update height math: +2 (borders) instead of +4\n- Adjust render skip/visible calculations to match\n- Keeps left/right padding and language title logic intact 2025-08-29 17:44:33 +10:00
GitHub Action 86270422e9 chore(release): 0.2.43 [skip ci] 2025-08-29 06:19:39 +00:00
James Peter 853c6451e3 Merge fix/npx-bin-collision: restore correct npx behavior; robust global PATH collision handling\n\n- Runtime: always run bundled binary; show npx path; never delegate to VS Code\n- Postinstall: detect any PATH collisions, remove our 'code' shim, keep 'coder'\n- Logs: clear guidance for both npx and global installs 2025-08-29 16:10:54 +10:00
James Peter 25c5a5945c fix(cli/postinstall): if any other 'code' exists on PATH, remove our global shim and log clear guidance\n\n- Detect collisions using all candidates (which -a) not just the first\n- Remove npm global 'code' shim to avoid shadowing VS Code et al.\n- Keep 'coder' as the stable entrypoint; still create code-tui/exec wrappers\n- Offer optional 'vscode' alias to the detected editor path\n\nPairs with runtime change to always exec our bundled binary under npx. 2025-08-29 16:09:11 +10:00
James Peter a8c4832940 fix(cli/bin): stop delegating to system 'code' (VS Code) when invoked via npm/npx; always run bundled binary and show path\n\n- Remove fragile delegation heuristic that caused to open VS Code\n- Print a concise notice under npx showing the exact binary path in use\n- Keep postinstall collision handling for global installs unchanged\n\nThis restores expected behavior and makes collisions visible during npx runs. 2025-08-29 15:44:56 +10:00
GitHub Action 4858f9a156 chore(release): 0.2.42 [skip ci] 2025-08-29 04:29:17 +00:00
James Peter 17363091f4 merge(main<-origin/main): keep ours; adopt version bumps 2025-08-29 14:20:26 +10:00
James Peter f25c5f3199 chore: commit local work (CLI + core + TUI) 2025-08-29 14:20:24 +10:00
GitHub Action 505f68256f chore(release): 0.2.41 [skip ci] 2025-08-29 03:51:11 +00:00
GitHub Action 8da80fee18 chore(release): 0.2.40 [skip ci] 2025-08-29 03:07:58 +00:00
James Peter c84b285080 merge(upstream-2025-08-29): integrate upstream main with -X ours; align web_search events; fix TUI popup APIs; clean warnings; build passes 2025-08-29 12:55:03 +10:00
GitHub Action d781084b7a chore(release): 0.2.38 [skip ci] 2025-08-29 01:55:54 +00:00
GitHub Action d4193f29d8 chore(release): 0.2.37 [skip ci] 2025-08-27 02:17:20 +00:00
James Peter 10116b03e5 packaging: move binaries to npm optionalDependencies per target; postinstall resolves platform package before GitHub fallback 2025-08-27 11:51:13 +10:00
GitHub Action 9b0a07b36e chore(release): 0.2.36 [skip ci] 2025-08-27 01:30:14 +00:00
James Peter ebb15a6519 packaging: download single binary + create code-tui/code-exec wrappers; CI builds only 'code' 2025-08-27 11:06:08 +10:00