Skip to content

DiagnosticCheck

Defined in: src/types.ts:218

One probe result. hintKey is a UI message-key STRING (e.g. “diagnostics_hint_herdr_missing”) the client resolves through m.* — NEVER raw stdout, tokens, absolute paths, or account identity.

hintKey: string

Defined in: src/types.ts:221


id: string

Defined in: src/types.ts:219


optional remediation?: string

Defined in: src/types.ts:226

A non-secret public install command (e.g. “curl -fsSL https://bun.sh/install | bash”) the operator can one-click-run via POST /api/diagnostics/fix. Set ONLY on non-ok, auto-fixable checks (autoFixCommandFor resolved) — never on ok checks and never on guidance-only ones (tailscale). Still no stdout/tokens/paths/identity ever cross here.


state: DiagnosticState

Defined in: src/types.ts:220