pub struct PtyShellCreateRequest {
pub agent_block_id: String,
pub cwd: Option<String>,
pub rows: Option<u16>,
pub cols: Option<u16>,
pub connection: Option<String>,
pub auth: Option<UiAutomationAuth>,
}Expand description
POST /api/v1/ptyshell/create
Fields§
§agent_block_id: String§cwd: Option<String>§rows: Option<u16>§cols: Option<u16>§connection: Option<String>Where the shell runs: local (the default) or wsl://<distro>. An
SSH destination is refused until SSH terminals ship
(SPEC_REMOTE_TERMINALS_AND_DURABLE_SESSIONS_2026_10_02.md §8).
auth: Option<UiAutomationAuth>The calling agent’s signed identity (UiAutomationAuth, its own jekt
key). Required for an SSH connection: srv derives the agent’s pane
from it and refuses a request naming another pane, so no agent can
borrow another’s SSH consent.
Trait Implementations§
Source§impl Clone for PtyShellCreateRequest
impl Clone for PtyShellCreateRequest
Source§fn clone(&self) -> PtyShellCreateRequest
fn clone(&self) -> PtyShellCreateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PtyShellCreateRequest
impl Debug for PtyShellCreateRequest
Source§impl<'de> Deserialize<'de> for PtyShellCreateRequest
impl<'de> Deserialize<'de> for PtyShellCreateRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PtyShellCreateRequest
impl RefUnwindSafe for PtyShellCreateRequest
impl Send for PtyShellCreateRequest
impl Sync for PtyShellCreateRequest
impl Unpin for PtyShellCreateRequest
impl UnsafeUnpin for PtyShellCreateRequest
impl UnwindSafe for PtyShellCreateRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more