mirror of
https://github.com/chenhg5/cc-connect.git
synced 2026-07-07 23:33:38 +08:00
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>