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

+1
View File
@@ -23,6 +23,7 @@ export const CreateRepoRequestSchema = z.object({
branch: z.string().optional(),
openCodeConfigName: z.string().optional(),
useWorktree: z.boolean().optional(),
skipSSHVerification: z.boolean().optional(),
}).refine(
(data) => data.repoUrl || data.localPath,
{
+4 -1
View File
@@ -10,7 +10,10 @@ export const SSHHostKeyRequestSchema = z.object({
isKeyChanged: z.boolean()
})
export const SSHHostKeyResponseSchema = z.enum(['accept', 'reject'])
export const SSHHostKeyResponseSchema = z.object({
requestId: z.string(),
response: z.enum(['accept', 'reject'])
})
export const TrustedSSHHostSchema = z.object({
id: z.number(),