From 09d4e2f1a1bc206c80d8d3287d070c70ec7fd63d Mon Sep 17 00:00:00 2001
From: chunhualin1 <chunhualin1@lenovo.com>
Date: 星期五, 14 八月 2026 20:00:52 +0800
Subject: [PATCH] Merge branch 'master' of http://git.linmoli.cn/r/Moli.Desktop
---
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