fix(coding-agent): convert clipboard BMP images to PNG on paste
WSL2/WSLg often provides clipboard images as image/bmp only. Previously this resulted in invalid PNG files being written. Now readClipboardImage() converts unsupported formats to PNG via Photon before returning. Closes #1109 Based on #1112 by @lightningRalf
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
|
||||
- Added `newSession`, `tree`, and `fork` keybinding actions for `/new`, `/tree`, and `/fork` commands. All unbound by default. ([#1114](https://github.com/badlogic/pi-mono/pull/1114) by [@juanibiapina](https://github.com/juanibiapina))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed clipboard image paste on WSL2/WSLg writing invalid PNG files when clipboard provides `image/bmp` format. BMP images are now converted to PNG before saving. ([#1112](https://github.com/badlogic/pi-mono/pull/1112) by [@lightningRalf](https://github.com/lightningRalf))
|
||||
|
||||
## [0.50.7] - 2026-01-31
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user