From 4df6165fa93c7caeea86385312415e312de4d11f Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期二, 05 五月 2026 01:10:39 +0800
Subject: [PATCH] 暂存

---
 samples/plugins/sample.llm-command-palette/plugin.json |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/samples/plugins/sample.llm-command-palette/plugin.json b/samples/plugins/sample.llm-command-palette/plugin.json
new file mode 100644
index 0000000..2751927
--- /dev/null
+++ b/samples/plugins/sample.llm-command-palette/plugin.json
@@ -0,0 +1,104 @@
+{
+  "id": "sample.llm-command-palette",
+  "name": "LLM Command Palette",
+  "version": "1.0.0",
+  "type": "widget",
+  "entry": "index.html",
+  "description": "A translucent desktop prompt bar for streaming LLM responses.",
+  "author": "Moli.Desktop",
+  "permissions": [
+    "llm.stream",
+    "config.read"
+  ],
+  "defaultLayout": {
+    "x": 580,
+    "y": 32,
+    "width": 760,
+    "height": 72,
+    "locked": true,
+    "clickThrough": false,
+    "opacity": 0.96,
+    "scale": 1,
+    "displayLayer": "desktop"
+  },
+  "config": {
+    "mode": "provider-direct",
+    "aichat": {
+      "baseUrl": "http://192.168.1.111:13000",
+      "account": {
+        "email": "linmolilin@163.com",
+        "password": null,
+        "passwordEnv": "MOLI_AICHAT_PASSWORD"
+      },
+      "defaultProjectId": "cmnd8uzcl0002c9usch183a01",
+      "memory": {
+        "enabledInProviderDirect": true,
+        "defaultScope": "PROJECT",
+        "recallLimit": 8
+      }
+    },
+    "defaultModel": "deepseek-v4-flash",
+    "models": [
+      {
+        "id": "deepseek-v4-flash",
+        "label": "deepseek-v4-flash",
+        "provider": "deepseek",
+        "endpoint": "https://api.deepseek.com/chat/completions",
+        "authRef": "llm_deepseek_api_key",
+        "apiModel": "deepseek-v4-flash",
+        "supportsStreaming": true,
+        "enabled": true,
+        "requestDefaults": {
+          "temperature": 0.9,
+          "maxTokens": 2560000,
+          "timeoutMs": 60000
+        }
+      },
+      {
+        "id": "kimi-k2.6",
+        "label": "kimi-k2.6",
+        "provider": "kimi",
+        "endpoint": "https://api.moonshot.cn/v1/chat/completions",
+        "authRef": "llm_kimi_api_key",
+        "apiModel": "kimi-k2.6",
+        "supportsStreaming": true,
+        "enabled": true,
+        "requestDefaults": {
+          "temperature": 0.9,
+          "maxTokens": 2560000,
+          "timeoutMs": 60000
+        }
+      },
+      {
+        "id": "glm-4.7-flash",
+        "label": "glm-4.7-flash",
+        "provider": "bigmodel",
+        "endpoint": "https://open.bigmodel.cn/api/paas/v4/chat/completions",
+        "authRef": "llm_bigmodel_api_key",
+        "apiModel": "glm-4.7-flash",
+        "supportsStreaming": true,
+        "enabled": true,
+        "requestDefaults": {
+          "temperature": 0.9,
+          "maxTokens": 2000000,
+          "timeoutMs": 60000
+        }
+      },
+      {
+        "id": "qwen3.6-plus",
+        "label": "qwen3.6-plus",
+        "provider": "qwen",
+        "endpoint": "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",
+        "authRef": "llm_bigmodel_api_key",
+        "apiModel": "qwen3.6-plus",
+        "supportsStreaming": true,
+        "enabled": true,
+        "requestDefaults": {
+          "temperature": 0.9,
+          "maxTokens": 2560000,
+          "timeoutMs": 60000
+        }
+      }
+    ]
+  }
+}
\ No newline at end of file

--
Gitblit v1.9.1