refactor(e2e/copilot): extract startup-dialog detection into helper

main

Commit

Soph3mo ago

Pull the inline "is this the prompt or a startup dialog?" check in StartSession out into a named isStartupDialog() helper. Pure refactor, no behavior change — this isolates the dialog-detection logic so the follow-up fix has a single place to harden.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 94ef96b560e5

Checkpoints

Fix Copilot CLI e2e Trust Dialog Detection

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1