OpenCode CLI's --file flag is a yargs [array] type that greedily
consumes subsequent arguments as file paths. Without a -- separator,
the prompt text following --file was parsed as a filename, causing
"File not found" errors when images were attached.
Reported-by: community user via image analysis
Made-with: Cursor
Add two focused tests to prevent regression:
1. TestOpencodeSessionEntry_Unmarshal - verifies OpenCode's JSON output
with int64 timestamps can be unmarshaled (prevents the type mismatch
error: cannot unmarshal number into ... of type string)
2. TestNewOpencodeSession_ContinueSessionTreatedAsFresh - verifies the
__continue__ sentinel is not passed as literal session ID to CLI
(regression test for PR #249)
Co-authored-by: Liujing <liujing@LiujingdeMacBook-Pro.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>