dispatch: suggest --repos only where the flag is accepted

Commit

gtrrz-victor14h ago

resolveOriginRepoSlug is shared by cloud and local dispatch, but its errors told the user to pass --repos, which --local refuses. A local dispatch in a checkout whose origin Entire cannot address pointed the user at a flag that then failed with "--repos cannot be used with --local".

The shared helper now names no flag; the cloud caller adds the --repos hint when it wraps the error.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com Entire-Checkpoint: 01M486K59T3T709D8JVZFQARE3

Checkpoints

Fix Dispatch Flag Suggestion for Local Checkouts

Claude CodeOpus 5.5
View session
Checkpoint 1