pi-mono/packages/coding-agent/src
Shakti 2d3f555429
fix: await wl-copy exit code and fall through to xclip on failure (#7009)
The /copy command always set copied=true after spawning wl-copy without
awaiting its exit code. When wl-copy fails (e.g. in a sandboxed
environment that inherits WAYLAND_DISPLAY but not the socket), the
xclip/OSC 52 fallbacks never ran because copied was already true.

Fix: await the wl-copy spawn exit code and only claim success on exit
code 0. On failure, fall through to the x11 clipboard fallback.

Fixes #6872.
2026-07-24 06:58:37 +02:00
..
bun fix(coding-agent): bundle OAuth flows in Bun binaries 2026-07-16 15:36:16 +02:00
cli write tui debug/crash logs into the configured pi agent dir (#6958) 2026-07-22 15:48:25 +02:00
core feat(ai): support constrained sampling (#6341) 2026-07-23 23:48:40 +02:00
extensions fix(coding-agent): use llama context for output limit (#7034) 2026-07-23 23:06:03 +02:00
modes feat(coding-agent): emit bash_execution_update events (#6971) 2026-07-23 12:28:12 +02:00
utils fix: await wl-copy exit code and fall through to xclip on failure (#7009) 2026-07-24 06:58:37 +02:00
cli.ts fix(coding-agent): configure HTTP idle timeout (#4759) 2026-05-20 12:45:00 +02:00
config.ts fix(coding-agent): install checked pi update version 2026-06-21 14:46:07 +02:00
index.ts fix: complete extension usage accounting 2026-07-20 17:06:22 +02:00
main.ts fix(coding-agent): defer catalog refresh until after TUI startup 2026-07-21 18:25:38 +02:00
migrations.ts fix(coding-agent): treat uppercase config values as literals 2026-06-13 21:24:22 +02:00
package-manager-cli.ts feat(coding-agent): add model catalog refresh flag 2026-07-16 12:46:49 +02:00
rpc-entry.ts fix: rpc-entry and bun support 2026-06-26 10:01:16 +02:00