pub(super) async fn create_pty_shell(
state: &AppState,
req: &PtyShellCreateRequest,
) -> Result<Response, Response>Expand description
POST /api/v1/ptyshell/create, step by step. Err carries a response that ends the call early:
a refusal, or the attachment to the pane’s existing shell.