36 lines
1.0 KiB
TypeScript
36 lines
1.0 KiB
TypeScript
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"
|
|
| "imessage";
|
|
|
|
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;
|
|
remoteUrl?: string;
|
|
remoteToken?: string;
|
|
json?: boolean;
|
|
};
|