Commit graph

24 commits

Author SHA1 Message Date
Armin Ronacher
caf6dfe731
feat(tui): Simplify clipboard handling (#9163)
Replace the external clipboard dependency with small macOS, Windows,
and X11 helpers and integrate them into coding-agent.

Run native clipboard operations on worker threads and make command
fallbacks asynchronous. Preserve incremental X11 transfers, legacy text
encodings, native image formats, and existing Wayland and platform tools.

Include native prebuilds with ARM64 page alignment, packaging updates,
and regression coverage.
2026-09-05 23:52:32 +02:00
Armin Ronacher
309b524f4f fix(coding-agent): avoid duplicate clipboard binaries 2026-08-23 09:28:36 +02:00
Ilya
beeca6ab74
fix(coding-agent): disable bunfig autoload in compiled binaries (#7685)
Bun standalone binaries load cwd bunfig.toml preload before pi starts,
so project preloads can crash even pi --version. Compile with
--no-compile-autoload-bunfig.

fixes #7684
2026-08-06 17:16:12 +02:00
Armin Ronacher
95a6aa7bd0 fix: isolate cross-platform native dependency install 2026-08-06 12:38:51 +02:00
David Brailovsky
816237c101
fix(coding-agent): target baseline x64 CPUs (#7390)
Fixes #7149

Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
2026-08-03 13:57:51 +02:00
Armin Ronacher
fc8048d237 fix(coding-agent): bundle model data in release source 2026-07-24 07:33:09 +02:00
David Brailovsky
62f45badae
Fix native clipboard in bun release (#6418)
* copy native clipboard .node files to the clipboard package

under the bun binary packaging, require("@mariozechner/clipboard-linux-x64-gnu")
doesn't work so instead we rely on require("./clipboard.linux-x64-gnu.node")
for that we need to copy the .node files to the clipboard package dir

* fallback to xclip if native clipboard fails on x11
2026-07-08 11:20:24 +02:00
Mario Zechner
31b961f2ac fix(coding-agent): sync clipboard binary archive deps
closes #5184
2026-05-30 00:52:03 +02:00
Armin Ronacher
c5181a266e fix(tui): detect Apple Terminal Shift+Enter 2026-05-23 15:09:01 +02:00
Mario Zechner
8100046cb8 Finish async tool cleanup 2026-05-23 11:36:41 +02:00
Mario Zechner
c4f86e3992 Merge remote-tracking branch 'origin/main' into pr-4756-squash-cleanup
# Conflicts:
#	scripts/build-binaries.sh
2026-05-23 10:52:28 +02:00
Mario Zechner
3f89350cef fix(coding-agent): ship clipboard sidecar in bun binaries
closes #4307
2026-05-23 10:47:35 +02:00
Mario Zechner
e9146a5ff7 fix(coding-agent): use async operations in tools 2026-05-23 09:50:03 +02:00
Mario Zechner
4868222e34 chore(tui): replace koffi with Windows VT input helper
Some checks are pending
CI / build-check-test (push) Waiting to run
closes #4480
2026-05-21 00:21:21 +02:00
Mario Zechner
17cc86a479 chore: harden dependency workflows 2026-05-20 15:57:41 +02:00
Mario Zechner
715c82ce04 chore: shrinkwrap coding agent release deps 2026-05-20 14:19:40 +02:00
Mario Zechner
0b54c87e24 fix(release): finalize Windows ARM64 binary support
closes #4410
2026-05-14 22:44:28 +02:00
Brian Michel
a5cbd8e1aa Add Windows arm64 binary support
Update build-binaries workflow and shell script to allow for packaging
of both arm64 and x64 versions of the Windows application.
2026-05-12 21:42:25 -04:00
Lajos Papp
75c72d888d
fix: include announcement image asset into binaries (#2961) 2026-04-09 02:27:06 +02:00
Mario Zechner
8dc2bb969c fix(coding-agent,ai): restore Bun binary lazy provider loading closes #2314 2026-03-17 23:30:18 +01:00
Mario Zechner
8386a807ff fix(tui): externalize koffi from bun binary builds
Changed koffi import from top-level to dynamic require in
enableWindowsVTInput() and added --external koffi to bun build.
This prevents embedding all 18 platform .node files (~74MB) into
every compiled binary. For Windows builds, only the win32_x64
koffi.node is shipped alongside the binary.

Binary size reduction: darwin-arm64 142MB -> 67MB, archive 43MB -> 28MB.
2026-02-22 14:29:21 +01:00
nathyong
d1560a9640
fix(build): add HTML templates and documentation to binary builds (#999)
Co-authored-by: nathyong <nathyong@noreply.github.com>
2026-01-30 01:44:24 +01:00
Mario Zechner
964f17b8d1 fix(coding-agent): load photon wasm in compiled binaries 2026-01-18 17:11:49 +01:00
Mario Zechner
5aa0689828 fix(coding-agent): fix standalone binary WASM loading on Linux, fixes #784
- Import photon-node from ESM entry point (photon_rs_bg.js) instead of CJS
  entry, allowing Bun to embed WASM in compiled binaries
- Add photon.d.ts for TypeScript support of ESM entry
- Add scripts/build-binaries.sh for local binary builds
- Simplify GitHub workflow to use the build script
- Add binaries/ to gitignore
2026-01-16 21:11:01 +01:00