feat: expand onboarding wizard

This commit is contained in:
Peter Steinberger
2026-01-01 18:23:16 +01:00
parent f10abc8ee0
commit 7c2c541729
12 changed files with 1395 additions and 935 deletions

View File

@@ -0,0 +1,28 @@
export type OnboardMode = "local" | "remote";
export type AuthChoice = "oauth" | "apiKey" | "minimax" | "skip";
export type GatewayAuthChoice = "off" | "token" | "password";
export type ResetScope = "config" | "config+creds+sessions" | "full";
export type GatewayBind = "loopback" | "lan" | "tailnet" | "auto";
export type TailscaleMode = "off" | "serve" | "funnel";
export type NodeManagerChoice = "npm" | "pnpm" | "bun";
export type ProviderChoice = "whatsapp" | "telegram" | "discord" | "signal";
export type OnboardOptions = {
mode?: OnboardMode;
workspace?: string;
nonInteractive?: boolean;
authChoice?: AuthChoice;
anthropicApiKey?: string;
gatewayPort?: number;
gatewayBind?: GatewayBind;
gatewayAuth?: GatewayAuthChoice;
gatewayToken?: string;
gatewayPassword?: string;
tailscale?: TailscaleMode;
tailscaleResetOnExit?: boolean;
installDaemon?: boolean;
skipSkills?: boolean;
skipHealth?: boolean;
nodeManager?: NodeManagerChoice;
json?: boolean;
};