mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 02:36:57 -04:00
8c06aa3707
Sprint 6 - Gateway Stability: - Add exponential backoff to Telegram poll loop - Fix process timeout with SIGKILL - Add fetch timeouts with AbortController to all HTTP calls - Fix WhatsApp init race condition - Add WhatsApp event listener cleanup tracking Sprint 7 - Error Visibility: - Fix silent error catches in share, canvas-tool, council, qdrant - Replace console.log with structured logging across surface, browser, mcp - Add JSON validation with zod for config and API responses Sprint 8 - Type Safety: - Define LogMeta type to replace Record<string, any> - Add WhatsApp type guards (isChatMessage, isValidPersona) - Create util/net.ts with shared helpers Sprint 9 - Test Coverage: - Create WhatsApp API mock for testing - Add WhatsApp gateway tests (13 tests passing) - Export mocks from test/mock/index Sprint 10 - Debug Ergonomics: - Fix fact extraction getSessionContent to retrieve actual messages - Enhance debug memory search with semantic search - Add debug errors command with follow mode Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>