* fix: capture exact OpenCode session ID from JSON stream to prevent orphan sessions - Primary: Extract session_id from opencode run --format json step_start event - Fallback: Title-based match with newest-first sorting for delayed visibility - Core: Add atomic reserveSessionId check in spawnOrchestrator to prevent race conditions - Prevents orphan sessions when multiple spawns use same title or delayed discovery (cherry picked from commit |
||
|---|---|---|
| .. | ||
| index.test.ts | ||
| index.ts | ||