Commit Graph

1 Commits

Author SHA1 Message Date
spiceoogway
c2904c14ab Fix clipboard module crash on linux-arm-gnueabihf (#4596)
Fixes #4596

The @mariozechner/clipboard dependency was missing native bindings for
32-bit ARM Linux (linux-arm-gnueabihf), causing OpenClaw to crash on
startup on platforms like Raspberry Pi 3 and earlier.

This patch makes the clipboard module gracefully handle missing native
bindings by:
- Emitting a warning instead of throwing a fatal error
- Providing stub implementations that throw informative errors when called
- Allowing OpenClaw to start and run normally (clipboard ops will fail
  if called, but the pi-coding-agent should still work)

The patch is applied via pnpm's patch mechanism, which allows us to
modify the clipboard module at install time without forking it.
2026-01-30 11:03:16 -05:00