From e83a6a913667e45cf8ad2578731b2ded85db5f79 Mon Sep 17 00:00:00 2001 From: chaoszhu Date: Sat, 1 Aug 2026 13:57:51 +0800 Subject: [PATCH] feat: update desc --- server/app/ai/tools/executors.js | 2 +- web/src/components/ai-entry.vue | 2 +- web/src/composables/useAgentSession.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/app/ai/tools/executors.js b/server/app/ai/tools/executors.js index 13e6c48..bef3bec 100644 --- a/server/app/ai/tools/executors.js +++ b/server/app/ai/tools/executors.js @@ -30,7 +30,7 @@ const restrictedToolPath = path.join(currentDir, '../plus.js') const DEFAULT_READ_BYTES = 64 * 1024 const PLUS_REQUIRED_CODE = 'PLUS_REQUIRED' -const PLUS_REQUIRED_MESSAGE = '修改远端状态,需要激活 Plus 后使用' +const PLUS_REQUIRED_MESSAGE = '非读取操作需激活 [Plus] 使用(解锁完整AI能力)' function fail(error, code) { return { ok: false, error, ...(code ? { code } : {}) } diff --git a/web/src/components/ai-entry.vue b/web/src/components/ai-entry.vue index d305f3f..5fd00d3 100644 --- a/web/src/components/ai-entry.vue +++ b/web/src/components/ai-entry.vue @@ -149,7 +149,7 @@ onBeforeUnmount(() => { box-shadow: 0 6px 18px rgba(73, 62, 185, 0.3); color: #fff; font-size: 14px; - cursor: grab; + cursor: default; touch-action: none; user-select: none; transition: filter 0.2s, box-shadow 0.2s; diff --git a/web/src/composables/useAgentSession.js b/web/src/composables/useAgentSession.js index 148ba90..590b44a 100644 --- a/web/src/composables/useAgentSession.js +++ b/web/src/composables/useAgentSession.js @@ -106,7 +106,7 @@ export function useAgentSession(config = {}) { state.plusRequired = { tool: event.tool, effect: event.effect, - message: event.message || '修改远端状态,需要激活 Plus 后使用', + message: event.message || '非读取操作需激活 [Plus] 使用(解锁完整AI能力)', activationPath: event.activationPath || '/setting?tabKey=plus' } plusRequiredRemainingMs = 10 * 1000