/** * ConfigStore 类型定义 * * 与 store/config-store.ts 分离以便专注维护配置类型结构 */ export interface BridgeSettings { FEISHU_ENABLED?: string; FEISHU_APP_ID?: string; FEISHU_APP_SECRET?: string; FEISHU_ENCRYPT_KEY?: string; FEISHU_VERIFICATION_TOKEN?: string; ALLOWED_USERS?: string; ENABLED_PLATFORMS?: string; DISCORD_ENABLED?: string; DISCORD_TOKEN?: string; DISCORD_CLIENT_ID?: string; DISCORD_ALLOWED_BOT_IDS?: string; WECOM_ENABLED?: string; WECOM_BOT_ID?: string; WECOM_SECRET?: string; WEIXIN_ENABLED?: string; DINGTALK_ENABLED?: string; TELEGRAM_ENABLED?: string; TELEGRAM_BOT_TOKEN?: string; QQ_ENABLED?: string; QQ_PROTOCOL?: string; QQ_ONEBOT_HTTP_URL?: string; QQ_ONEBOT_WS_URL?: string; QQ_APP_ID?: string; QQ_SECRET?: string; QQ_CALLBACK_URL?: string; QQ_ENCRYPT_KEY?: string; WHATSAPP_ENABLED?: string; WHATSAPP_MODE?: string; WHATSAPP_SESSION_PATH?: string; WHATSAPP_BUSINESS_PHONE_ID?: string; WHATSAPP_BUSINESS_ACCESS_TOKEN?: string; WHATSAPP_BUSINESS_WEBHOOK_VERIFY_TOKEN?: string; OPENCODE_HOST?: string; OPENCODE_PORT?: string; OPENCODE_AUTO_START?: string; /** @deprecated 不再使用,保留供旧配置读取 */ OPENCODE_AUTO_START_CMD?: string; OPENCODE_AUTO_START_FOREGROUND?: string; OPENCODE_SERVER_USERNAME?: string; OPENCODE_SERVER_PASSWORD?: string; OPENCODE_CONFIG_FILE?: string; RELIABILITY_CRON_ENABLED?: string; RELIABILITY_CRON_API_ENABLED?: string; RELIABILITY_CRON_API_HOST?: string; RELIABILITY_CRON_API_PORT?: string; RELIABILITY_CRON_API_TOKEN?: string; RELIABILITY_CRON_JOBS_FILE?: string; RELIABILITY_CRON_ORPHAN_AUTO_CLEANUP?: string; RELIABILITY_CRON_FORWARD_TO_PRIVATE?: string; RELIABILITY_CRON_FALLBACK_FEISHU_CHAT_ID?: string; RELIABILITY_CRON_FALLBACK_DISCORD_CONVERSATION_ID?: string; RELIABILITY_PROACTIVE_HEARTBEAT_ENABLED?: string; RELIABILITY_INBOUND_HEARTBEAT_ENABLED?: string; RELIABILITY_HEARTBEAT_INTERVAL_MS?: string; RELIABILITY_HEARTBEAT_AGENT?: string; RELIABILITY_HEARTBEAT_PROMPT?: string; RELIABILITY_HEARTBEAT_ALERT_CHATS?: string; RELIABILITY_FAILURE_THRESHOLD?: string; RELIABILITY_WINDOW_MS?: string; RELIABILITY_COOLDOWN_MS?: string; RELIABILITY_REPAIR_BUDGET?: string; RELIABILITY_MODE?: string; RELIABILITY_LOOPBACK_ONLY?: string; GROUP_REQUIRE_MENTION?: string; GROUP_REPLY_REQUIRE_MENTION?: string; SHOW_THINKING_CHAIN?: string; SHOW_TOOL_CHAIN?: string; FEISHU_SHOW_THINKING_CHAIN?: string; FEISHU_SHOW_TOOL_CHAIN?: string; DISCORD_SHOW_THINKING_CHAIN?: string; DISCORD_SHOW_TOOL_CHAIN?: string; WECOM_SHOW_THINKING_CHAIN?: string; WECOM_SHOW_TOOL_CHAIN?: string; TELEGRAM_SHOW_THINKING_CHAIN?: string; TELEGRAM_SHOW_TOOL_CHAIN?: string; QQ_SHOW_THINKING_CHAIN?: string; QQ_SHOW_TOOL_CHAIN?: string; WHATSAPP_SHOW_THINKING_CHAIN?: string; WHATSAPP_SHOW_TOOL_CHAIN?: string; WEIXIN_SHOW_THINKING_CHAIN?: string; WEIXIN_SHOW_TOOL_CHAIN?: string; DINGTALK_SHOW_THINKING_CHAIN?: string; DINGTALK_SHOW_TOOL_CHAIN?: string; ALLOWED_DIRECTORIES?: string; DEFAULT_WORK_DIRECTORY?: string; PROJECT_ALIASES?: string; GIT_ROOT_NORMALIZATION?: string; TOOL_WHITELIST?: string; PERMISSION_REQUEST_TIMEOUT_MS?: string; OUTPUT_UPDATE_INTERVAL?: string; MAX_DELAYED_RESPONSE_WAIT_MS?: string; ENABLE_MANUAL_SESSION_BIND?: string; ROUTER_MODE?: string; ATTACHMENT_MAX_SIZE?: string; IMAGE_VISION_PREPROCESS?: string; VISION_OCR_MODEL?: string; VISION_OCR_PROMPT?: string; DEFAULT_PROVIDER?: string; DEFAULT_MODEL?: string; CHAT_MODEL_WHITELIST?: string; CLI_LANG?: string; WEB_ADMIN_DISABLED?: string; ADMIN_PORT?: string; } export interface WeixinAccountRow { account_id: string; user_id: string; base_url: string; cdn_base_url: string; token: string; name: string; enabled: number; last_login_at: string | null; created_at: string; updated_at: string; } export interface DingtalkAccountRow { account_id: string; client_id: string; client_secret: string; name: string; enabled: number; endpoint: string; created_at: string; updated_at: string; } //# sourceMappingURL=config-store-types.d.ts.map