Add skip SSH host key verification and fix self-hosted server support (#121)

* Add SSH host key verification with automatic trust and SCP-style URL support

* Fix TypeScript errors for SSH host key schema and test mocks
This commit is contained in:
Chris Scott authored and GitHub committed 2026-02-11 22:58:13 -05:00
1 parent 677ce748cd
commit 7341dce1ef
25 files changed
+203 -123

No files matched your search

@@ -12,9 +12,11 @@ import { Alert, AlertDescription } from '@/components/ui/alert'
import { CopyButton } from '@/components/ui/copy-button'
import { Shield, ShieldAlert } from 'lucide-react'
import { cn } from '@/lib/utils'
import type { SSHHostKeyRequest, SSHHostKeyResponse } from '@/api/types'
import type { SSHHostKeyRequest } from '@/api/types'
import { showToast } from '@/lib/toast'
type SSHHostKeyResponse = 'accept' | 'reject'
interface SSHHostKeyDialogProps {
request: SSHHostKeyRequest | null
onRespond: (requestId: string, response: SSHHostKeyResponse) => Promise<void>
@@ -100,7 +102,7 @@ export function SSHHostKeyDialog({
</DialogDescription>
</DialogHeader>
<div className="space-y-3">
<div className="space-y-4">
{request.isKeyChanged && (
<Alert variant="destructive">
<AlertDescription className="text-sm">