Add source profiles anthropic:claude-cli and openai-codex:codex-cli; surface them in onboarding/configure. Co-authored-by: pepicrft <pepicrft@users.noreply.github.com>
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
import type { GatewayDaemonRuntime } from "./daemon-runtime.js";
|
|
|
|
export type OnboardMode = "local" | "remote";
|
|
export type AuthChoice =
|
|
| "oauth"
|
|
| "claude-cli"
|
|
| "openai-codex"
|
|
| "codex-cli"
|
|
| "antigravity"
|
|
| "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"
|
|
| "slack"
|
|
| "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;
|
|
daemonRuntime?: GatewayDaemonRuntime;
|
|
skipSkills?: boolean;
|
|
skipHealth?: boolean;
|
|
nodeManager?: NodeManagerChoice;
|
|
remoteUrl?: string;
|
|
remoteToken?: string;
|
|
json?: boolean;
|
|
};
|