What happened?
I install pi via (mise)[https://github.com/jdx/mise] on macos. macos bun-compiled binary doesn't bundle (clipboard)[https://github.com/badlogic/clipboard] optional dep => ctrl+v image paste broken.
macOS path has no shell fallback for image clipboard (only the native module). Linux has wl-paste/xclip fallbacks; macOS doesn't so /copy - works as expected.
Steps to reproduce
- install pi via bun-compiled single binary on macos and run
- ^v - when image is in clipboard
- require throws → clipboard = null (silently caught) → hasImage() never reached → C-v silently does nothing
Expected behavior
Build script needs explicit --external exclusion handled by sidecar .node, or include via bun build --compile --asset for the platform-specific .node file.
Version
0.73.0
What happened?
I install pi via (mise)[https://github.com/jdx/mise] on macos. macos bun-compiled binary doesn't bundle (clipboard)[https://github.com/badlogic/clipboard] optional dep => ctrl+v image paste broken.
macOS path has no shell fallback for image clipboard (only the native module). Linux has wl-paste/xclip fallbacks; macOS doesn't so
/copy- works as expected.Steps to reproduce
Expected behavior
Build script needs explicit
--externalexclusion handled by sidecar.node, or include viabun build --compile --assetfor the platform-specific.nodefile.Version
0.73.0