debug(cli): add verbose event logging for CI debugging with message content and tool details

- logEventVerbose() logs all event types including message content, tool calls, and results
- Session tags distinguish main vs child sessions for multi-session tracking
- completion.ts error logging instead of silently swallowing API errors
- Helps diagnose realtime streaming behavior in CI environments

🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-25 21:55:32 +09:00
parent accedb59b7
commit d9cfc1ec97
2 changed files with 76 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ export async function checkCompletionConditions(ctx: RunContext): Promise<boolea
}
return true
} catch {
// API errors are transient - silently continue polling
} catch (err) {
console.error(pc.red(`[completion] API error: ${err}`))
return false
}
}