From 58c70b8ca6a358c46d09ac8386969c68aa0ac14a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 23 Nov 2025 13:50:35 +0800 Subject: [PATCH] chore: bump version to 2.8.6 in package.json and add global AI assistant settings in locales and AccountSettingSystem.vue --- package.json | 2 +- src/locales/en-US.ts | 2 ++ src/locales/zh-CN.ts | 2 ++ src/locales/zh-TW.ts | 2 ++ src/views/setting/AccountSettingSystem.vue | 9 +++++++++ 5 files changed, 16 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d9d78dca..25687354 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "2.8.5", + "version": "2.8.6", "private": true, "type": "module", "bin": "dist/service.js", diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 870262ab..004d3a53 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -1256,6 +1256,8 @@ export default { llmApiKeyPlaceholder: 'Please enter API key', llmBaseUrl: 'LLM Base URL', llmBaseUrlHint: 'Base URL for LLM API, used for custom API endpoints', + aiAgentGlobal: 'Global AI Assistant', + aiAgentGlobalHint: 'Enable global AI assistant functionality, all message conversations will be answered by the AI agent without using the /ai command', advancedSettings: 'Advanced Settings', advancedSettingsDesc: 'System advanced settings, only need to be adjusted in special cases', downloaders: 'Downloaders', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 92a6fb31..27a39711 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -1252,6 +1252,8 @@ export default { llmApiKeyPlaceholder: '请输入API密钥', llmBaseUrl: 'LLM基础URL', llmBaseUrlHint: 'LLM API的基础URL地址,用于自定义API端点', + aiAgentGlobal: '全局智能助手', + aiAgentGlobalHint: '启用全局智能助手功能,所有消息对话均使用智能体回答而不用使用/ai命令', advancedSettings: '高级设置', advancedSettingsDesc: '系统进阶设置,特殊情况下才需要调整', downloaders: '下载器', diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index 1dcc4be9..d8361e09 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -1240,6 +1240,8 @@ export default { llmApiKeyPlaceholder: '請輸入API密鑰', llmBaseUrl: 'LLM基礎URL', llmBaseUrlHint: 'LLM API的基礎URL地址,用於自定義API端點', + aiAgentGlobal: '全局智能助手', + aiAgentGlobalHint: '啟用全局智能助手功能,所有消息對話均使用智能體回答而不用使用/ai命令', advancedSettings: '高級設置', advancedSettingsDesc: '系統進階設置,特殊情況下才需要調整', downloaders: '下載器', diff --git a/src/views/setting/AccountSettingSystem.vue b/src/views/setting/AccountSettingSystem.vue index 26a71ce9..b13f54d4 100644 --- a/src/views/setting/AccountSettingSystem.vue +++ b/src/views/setting/AccountSettingSystem.vue @@ -32,6 +32,7 @@ const SystemSettings = ref({ OCR_HOST: null, CUSTOMIZE_WALLPAPER_API_URL: null, AI_AGENT_ENABLE: false, + AI_AGENT_GLOBAL: false, LLM_PROVIDER: 'deepseek', LLM_MODEL: 'deepseek-chat', LLM_API_KEY: null, @@ -707,6 +708,14 @@ onDeactivated(() => { + + +