feat(settings): add browser setup and administration (#10)

This commit is contained in:
Florian Schmidt
2026-11-16 10:15:04 +01:00
parent 4fe7e4e376
commit 02a22bef40
20 changed files with 939 additions and 24 deletions
+9
View File
@@ -126,3 +126,12 @@ export type ServerEvent =
export type TerminalClientMessage =
| { type: "input"; data: string }
| { type: "resize"; cols: number; rows: number };
// Settings and first-run setup (#10). Only GET/POST /auth/setup is public.
export interface SetupStatusResponse { required: boolean }
export interface NewPasswordRequest { newPassword: string; confirmPassword: string }
export interface SetupRequest extends NewPasswordRequest { token: string }
export interface ChangePasswordRequest extends NewPasswordRequest { currentPassword: string }
export interface SessionSettingsResponse { lifetimeSeconds: number }
export interface ClaudeStatusResponse { available: boolean; version: string | null; loginAppearsPresent: boolean }
export interface SystemInfoResponse { version: string; workspacePath: string; dataDirPath: string; nodeVersion: string }