pub fn resolve_session_with_alias(
store: &SessionStore,
alias_store: &AliasStore,
identifier: &str,
interactive: bool,
) -> Result<Session, ResolveError>Expand description
Resolve a session identifier with alias lookup.
Resolution order:
- Check alias store – if alias exists, resolve the aliased target
- Fall through to normal resolution (name -> UUID)
This is the preferred entry point for all commands that accept
a session identifier. The non-alias version resolve_session
remains available for internal use.
§Errors
Returns ResolveError if the session cannot be found by alias, name, or UUID.