From 9b5711d3124622b1f1b18500d442c76492da877a Mon Sep 17 00:00:00 2001
From: chunhualin1 <chunhualin1@lenovo.com>
Date: 星期一, 17 八月 2026 16:52:33 +0800
Subject: [PATCH] 优化llm插件及bug修复

---
 docs/data/configuration-and-storage.md |   38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/docs/data/configuration-and-storage.md b/docs/data/configuration-and-storage.md
index 16476cc..be15b85 100644
--- a/docs/data/configuration-and-storage.md
+++ b/docs/data/configuration-and-storage.md
@@ -24,13 +24,14 @@
 
 ## 閰嶇疆鏂囦欢
 
-MVP 鏈湴閰嶇疆鍖呭惈 3 涓� JSON 鏂囦欢銆�
+MVP 鏈湴閰嶇疆鍖呭惈 4 涓� JSON 鏂囦欢銆�
 
 | 鏂囦欢 | 璐熻矗鍐呭 | 榛樿琛屼负 |
 | --- | --- | --- |
 | `appsettings.json` | 鍚姩椤广�丄PI 绔彛銆佽繍琛屾ā寮忔寔涔呯姸鎬� | 缂哄け鏃剁敓鎴愰粯璁ゅ�� |
 | `plugins.json` | 鎻掍欢鍚敤/绂佺敤鐘舵�佹敞鍐岃〃 | 缂哄け鏃剁敓鎴愮┖鍒楄〃锛屽苟鐢遍粯璁ゅ唴瀹瑰畨瑁呭櫒琛ユ牱渚嬫彃浠� |
 | `layout.json` | 鏄剧ず鍣ㄥ揩鐓у拰 widget 瀹炰緥甯冨眬 | 缂哄け鏃剁敓鎴愮┖甯冨眬锛屽苟鐢遍粯璁ゅ唴瀹瑰畨瑁呭櫒琛ユ牱渚� widget |
+| `hotkeys.json` | 鍏ㄥ眬蹇嵎閿粦瀹� | 缂哄け鏃剁敓鎴愬甫榛樿 `Ctrl+Shift+K` 缁戝畾鐨勬枃妗� |
 
 鎵�鏈夐厤缃枃妗e寘鍚� `schemaVersion`锛屽綋鍓嶇増鏈负 `1`銆�
 
@@ -223,3 +224,38 @@
 - `schemaVersion` 浣滀负鍗囩骇鍏ュ彛銆�
 - 鎻掍欢 manifest 涓庣敤鎴峰竷灞�鍒嗙锛岄伩鍏嶆彃浠跺崌绾ц鐩栫敤鎴峰竷灞�銆�
 - API 鍜� UI 閫氳繃 `IDesktopRuntime` 淇敼鐘舵�侊紝涓嶇洿鎺ュ啓閰嶇疆鏂囦欢銆�
+
+## hotkeys.json
+
+```json
+{
+  "schemaVersion": 1,
+  "bindings": [
+    {
+      "id": "llm-palette-toggle-interactable",
+      "keys": "Ctrl+Shift+K",
+      "action": "widget.toggleInteractable",
+      "target": {
+        "pluginId": "sample.llm-command-palette"
+      },
+      "enabled": true,
+      "source": "builtin"
+    }
+  ]
+}
+```
+
+瀛楁璇存槑锛�
+
+| 瀛楁 | 绫诲瀷 | 璇存槑 |
+| --- | --- | --- |
+| `id` | string | 缁戝畾鏍囪瘑銆傚唴缃� id 涓� `llm-palette-toggle-interactable` |
+| `keys` | string | 缁勫悎閿紝渚嬪 `Ctrl+Shift+K` |
+| `action` | string | 鐧藉悕鍗曞姩浣� |
+| `target.pluginId` | string | 鐩爣鎻掍欢銆傚懡涓鎻掍欢鍏ㄩ儴瀹炰緥 |
+| `target.instanceId` | string | 鍙�夛紝鏀剁獎鍒板崟涓疄渚� |
+| `enabled` | boolean | 鏄惁鍚敤 |
+| `source` | `builtin` 鎴� `user` | 鍐呯疆缁戝畾鍙敼閿�/绂佺敤銆佷笉鍙垹 |
+
+浼氳瘽鍙氦浜掑拰浼氳瘽鏄鹃殣涓嶅啓鍏� `layout.json`銆�
+

--
Gitblit v1.9.1