feat: type the plugin host record, move plugin strings out of core and add lint checks

This commit is contained in:
LukeGus committed 2026-09-29 13:08:39 -05:00
1 parent bba06f7ff6
commit b8bbcd2196
626 files changed
+23884 -4590

No files matched your search

@@ -68,10 +68,9 @@ export function PanePreview({
// The host's own authType travels in the spread, so a Tailscale host still
// gets the Tailscale-aware PTY path. The SSH port may be non-standard.
const hostRecord = host as unknown as Record<string, unknown>;
const resolvedPort = hostRecord.sshPort ?? hostRecord.port;
const resolvedPort = host.sshPort ?? host.port;
const terminalHostConfig = {
...hostRecord,
...host,
port: resolvedPort,
sshPort: resolvedPort,
instanceId: instanceIdRef.current,