YeonGyu-Kim
07da116671
fix: address Cubic review comments (P2/P3 issues)
...
- Fix empty catch block in opencode-message-dir.ts (P2)
- Add log deduplication for truncateToolResult to prevent spam (P3)
2026-02-16 16:13:40 +09:00
YeonGyu-Kim
b0944b7fd1
feat(session-manager): add version-gated SDK read path for OpenCode beta
...
- Add SDK client injection via setStorageClient()
- Version-gate getMainSessions(), getAllSessions(), readSessionMessages(), readSessionTodos()
- Add comprehensive tests for SDK path (beta mode)
- Maintain backward compatibility with JSON fallback
2026-02-16 16:13:40 +09:00
YeonGyu-Kim
c9c02e0525
refactor(shared): consolidate 13+ getMessageDir copies into single shared function
2026-02-16 16:13:39 +09:00
YeonGyu-Kim
e90734d6d9
fix(todo): make Todo id field optional for OpenCode beta compatibility
...
- Make id field optional in all Todo interfaces (TodoInfo, Todo, TodoItem)
- Fix null-unsafe comparisons in todo-sync.ts to handle missing ids
- Add test case for todos without id field preservation
- All tests pass and typecheck clean
2026-02-16 16:13:39 +09:00