feat: release OpsXShell 2.1.1
This commit is contained in:
1 parent
a3dba0c6ed
commit
494ef6b9d0
37 files changed
+2039
-370
No files matched your search
Vendored
+12
-1
@@ -16,7 +16,10 @@ export interface DesktopApiContract {
|
||||
config: import('../shared/types/ipc.types').SSHConnectRequest
|
||||
) => Promise<import('../shared/types/ipc.types').SSHConnectResponse>
|
||||
sshDisconnect: (connectionId: string) => Promise<{ success: boolean; error?: string }>
|
||||
sshExec: (connectionId: string, command: string) => Promise<{ success: boolean; result?: string; error?: string }>
|
||||
sshExec: (
|
||||
connectionId: string,
|
||||
command: string
|
||||
) => Promise<{ success: boolean; result?: string; exitCode?: number; error?: string }>
|
||||
sshKeepalive: (connectionId: string) => Promise<{ success: boolean; error?: string }>
|
||||
sshCreateShell: (
|
||||
connectionId: string,
|
||||
@@ -159,6 +162,14 @@ export interface DesktopApiContract {
|
||||
onMenuOpenSettings: (callback: () => void) => void
|
||||
onSshLinkAvailable: (callback: () => void) => void
|
||||
onShellData: (callback: (event: unknown, connectionId: string, shellId: string, data: Uint8Array) => void) => void
|
||||
onShellClosed: (
|
||||
callback: (
|
||||
event: unknown,
|
||||
connectionId: string,
|
||||
shellId: string,
|
||||
details: { reason: string; idleTimeout: boolean }
|
||||
) => void
|
||||
) => void
|
||||
onConnectionClosed: (callback: (event: unknown, connectionId: string, reason: string) => void) => void
|
||||
onHostKeyPrompt: (
|
||||
callback: (
|
||||
|
||||
Reference in new issue
Block a user