James Peter
dca72e915f
fix(cli/coder): de-duplicate validateBinary to avoid ESM redeclare error under Bun/Node 23
2025-08-30 14:15:21 +10:00
James Peter
bd19a0b159
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
1723dbf3d4
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
3b29df5d6e
chore(release): 0.2.49 [skip ci]
2025-08-30 03:57:57 +00:00
James Peter
2501db1761
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
2b77ac3a69
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
2115b55267
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
c9265150e9
chore(release): 0.2.48 [skip ci]
2025-08-30 02:51:18 +00:00
James Peter
d7afb8bf2f
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
fa561b773c
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
450ac64566
chore(release): 0.2.47 [skip ci]
2025-08-30 01:54:51 +00:00
GitHub Action
864e671c17
chore(release): 0.2.46 [skip ci]
2025-08-30 01:00:49 +00:00
James Peter
92eea170a8
Merge origin/main: sync with upstream before push
2025-08-30 10:52:31 +10:00
James Peter
06379d185b
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
4f94bf92aa
chore(release): 0.2.45 [skip ci]
2025-08-30 00:37:24 +00:00
GitHub Action
e8bb9e635d
chore(release): 0.2.44 [skip ci]
2025-08-29 20:42:00 +00:00
James Peter
5777166026
Merge origin/main: adopt remote codex-cli version bumps; keep ours elsewhere
2025-08-30 06:32:47 +10:00
James Peter
b15f6534de
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
453525f8b3
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
cb141a59c5
chore(release): 0.2.43 [skip ci]
2025-08-29 06:19:39 +00:00
James Peter
7c7ceba418
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
f5907a33ee
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
05047a013c
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
cdf89e6216
chore(release): 0.2.42 [skip ci]
2025-08-29 04:29:17 +00:00
James Peter
e7c9c2d511
merge(main<-origin/main): keep ours; adopt version bumps
2025-08-29 14:20:26 +10:00
James Peter
865393316e
chore: commit local work (CLI + core + TUI)
2025-08-29 14:20:24 +10:00
GitHub Action
4f2e273025
chore(release): 0.2.41 [skip ci]
2025-08-29 03:51:11 +00:00
GitHub Action
fc33d8b7fb
chore(release): 0.2.40 [skip ci]
2025-08-29 03:07:58 +00:00
James Peter
2b3135031c
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
c1e1872c68
chore(release): 0.2.38 [skip ci]
2025-08-29 01:55:54 +00:00
GitHub Action
894f047b0e
chore(release): 0.2.37 [skip ci]
2025-08-27 02:17:20 +00:00
James Peter
35971252dc
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
424a55fd54
chore(release): 0.2.36 [skip ci]
2025-08-27 01:30:14 +00:00
James Peter
35a96e0b66
packaging: download single binary + create code-tui/code-exec wrappers; CI builds only 'code'
2025-08-27 11:06:08 +10:00
GitHub Action
ec65a171b5
chore(release): 0.2.35 [skip ci]
2025-08-27 00:49:13 +00:00
James Peter
7db34b553b
release: slimmer assets + zstd fallback (.zst/.tar.gz)\n\n- Dual-format artifacts for macOS and Linux (.zst + .tar.gz)\n- Postinstall picks one: prefers .zst when zstd available, else .tar.gz\n- Windows stays .zip\n- Trim npm package (no embedded natives)\n- release-prod strips debuginfo; warning cleanup
2025-08-27 10:33:56 +10:00
GitHub Action
bbdc65b13a
chore(release): 0.2.34 [skip ci]
2025-08-26 07:29:26 +00:00
GitHub Action
bffd512384
chore(release): 0.2.33 [skip ci]
2025-08-26 06:10:48 +00:00
GitHub Action
b1675e9441
chore(release): 0.2.32 [skip ci]
2025-08-25 11:11:14 +00:00
GitHub Action
3d69934921
chore(release): 0.2.31 [skip ci]
2025-08-25 01:15:39 +00:00
GitHub Action
e973a0873f
chore(release): 0.2.30 [skip ci]
2025-08-24 23:39:08 +00:00
GitHub Action
5fd30bc882
chore(release): 0.2.29 [skip ci]
2025-08-24 23:05:00 +00:00
GitHub Action
899f666d3b
chore(release): 0.2.28 [skip ci]
2025-08-24 18:28:36 +00:00
GitHub Action
9a5af20c99
chore(release): 0.2.27 [skip ci]
2025-08-24 11:36:47 +00:00
GitHub Action
523179d3b5
chore(release): 0.2.26 [skip ci]
2025-08-24 07:18:28 +00:00
GitHub Action
b86a51578d
chore(release): 0.2.25 [skip ci]
2025-08-24 06:40:03 +00:00
GitHub Action
e8c5ea0e69
chore(release): 0.2.24 [skip ci]
2025-08-24 06:24:57 +00:00
GitHub Action
01e5f1fc99
chore(release): 0.2.23 [skip ci]
2025-08-24 06:00:27 +00:00
GitHub Action
fbf8eaf85a
chore(release): 0.2.22 [skip ci]
2025-08-24 04:53:22 +00:00
GitHub Action
f4aeeb2894
chore(release): 0.2.21 [skip ci]
2025-08-24 02:10:48 +00:00