Defer CLI socket auth for VM commands and fix retry wording
Moves the CLI product changes out of https://github.com/manaflow-ai/cmux/pull/13079.
The VM dev, layout, and env commands defer socket connection until their first request, so local planning and validation can finish before transport discovery. Deferred requests configure socket authentication on the request path because authenticateClientIfNeeded is skipped for these commands. SSH control-option merging now compares the resolved host settings with an OpenSSH -F /dev/null baseline, preserving explicit host opt-outs while still allowing ordinary defaults to use cmux sharing.
Retry notices use complete localized format strings for immediate and delayed retries, including the attempt label, delay unit, punctuation, and all 20 supported locale entries.
Testing: Swift syntax parsing, localization JSON validation, and diff checks pass. A tagged build is required by repository instructions; ./scripts/reload-cloud.sh --tag cli-retry was attempted but the fleet backend timed out and no shared fleet slot was available. No local Xcode tests were run.
Summary by CodeRabbit
-
New Features
- VM and cloud development, layout, and environment commands now complete local validation and planning before connecting, improving behavior when the service is unavailable.
- Explicit SSH options are now honored more accurately when configuring connection sharing.
-
Bug Fixes
- SSH retry messages now clearly distinguish immediate retries from retries with a delay and provide clearer attempt information.
-
Localization
- Added translated retry status messages for supported languages, including Arabic, German, English, Spanish, French, Japanese, Korean, Chinese, Italian, Polish, Portuguese, Russian, Thai, Turkish, Ukrainian, and others.