Handle JIT for ssh

This commit is contained in:
Owen 2026-03-06 15:47:41 -08:00
parent 9405b0b70a
commit 0503c6e66e
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
6 changed files with 96 additions and 57 deletions

View file

@ -409,6 +409,9 @@ export const clientSitesAssociationsCache = sqliteTable(
isRelayed: integer("isRelayed", { mode: "boolean" })
.notNull()
.default(false),
isJitMode: integer("isJitMode", { mode: "boolean" })
.notNull()
.default(false),
endpoint: text("endpoint"),
publicKey: text("publicKey") // this will act as the session's public key for hole punching so we can track when it changes
}