fix: use temp file for message to avoid shell parsing issues #196

Merged
shoko merged 1 commits from fix/issue-message-encoding into main 2026-04-07 04:27:50 +02:00

1 Commits

Author SHA1 Message Date
shokollm
a130a79bd7 fix: use temp file for message to avoid shell parsing issues
The message passed to opencode run contains newlines and special
characters (parentheses, etc.) which break shell parsing when passed
directly in double quotes.

Fix by writing message to temp file and using '@msg_file' syntax
to pass to opencode run. This handles any characters in the message.
2026-04-07 01:55:34 +00:00