pub(super) async fn resolve_connection(
state: &AppState,
req: &PtyShellCreateRequest,
) -> Result<(AgentTarget, String), Response>Expand description
Where the shell runs and its connection name, or the refusal. A refused connection fails the call with its reason rather than opening a local shell.