Files
hermes-agent/tools/environments
kshitijk4poor 1a3b6bb08a fix(modal): surface a fallback retry's client error, not the private wrapper
Follow-up to the snapshot-preserving client error handling.

When a bad snapshot falls back to the base image and that retry's own
routed client build fails, the inner handler is already past its unwrap
clause, so the module-private _ClientBuildError reached the caller. The
outer cleanup handler now re-raises its original cause after abandoning
the startup's builds and stopping the worker. KeyboardInterrupt and
SystemExit cleanup is unchanged.

The three host-login tests also patch Path.home to the test's directory,
because on Windows Path.home() reads USERPROFILE and setting HOME alone
lets them read the real home's ~/.modal.toml.

The Modal setup docs now say the ~/.modal.toml login applies only to a
single-profile Hermes, and that a routed profile on a multiplexed
gateway needs both tokens in its own secret scope.
2026-11-20 03:14:20 +05:30
..
…
…