opencode
opencode copied to clipboard
test: cover powershell clipboard escaping
Summary
- add a dedicated PowerShell escaping helper for clipboard writes (backticks and quotes)
- reuse the helper in the Windows clipboard path to match recent PowerShell fixes
- add a unit test to guard the escaping behavior
Testing
- bun test packages/opencode/test/clipboard.test.ts