From 51c1ee84f03624322ff4045d4555e97d34654d12 Mon Sep 17 00:00:00 2001 From: qinglong Date: Sat, 13 Jun 2026 18:06:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Sentinel=20=E5=8D=A1=E7=89=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=88=B7=E6=96=B0=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 卡片更新时背景闪烁 (card-flash keyframe) - 进度条平滑过渡 (cubic-bezier .6s) - 数值涨跌颜色: 绿涨↑ 红跌↓ 不变灰色 - 渐变进度条背景 - 存储前值用于趋势对比 Co-Authored-By: Claude --- config/permissions/pending_requests.json | 22 ++++++++++++++++ config/plugins/commands.yaml | 2 +- config/services/network_routes.yaml | 2 +- plugins/sentinel/dashboard.html | 32 ++++++++++++++++++------ 4 files changed, 48 insertions(+), 10 deletions(-) diff --git a/config/permissions/pending_requests.json b/config/permissions/pending_requests.json index a6b2c4b..a1a18ca 100644 --- a/config/permissions/pending_requests.json +++ b/config/permissions/pending_requests.json @@ -174,5 +174,27 @@ "framework.command.execute" ], "timestamp": 26605.866739485 + }, + "8e60727b": { + "plugin_name": "example_plugin", + "permissions": [ + "plugin.example.read", + "plugin.example.write", + "plugin.example.execute", + "framework.event.subscribe", + "framework.command.execute" + ], + "timestamp": 26822.1525256 + }, + "25a21431": { + "plugin_name": "sentinel", + "permissions": [ + "plugin.sentinel.read", + "plugin.sentinel.write", + "plugin.network.access", + "framework.event.subscribe", + "framework.command.execute" + ], + "timestamp": 26822.157063829 } } \ No newline at end of file diff --git a/config/plugins/commands.yaml b/config/plugins/commands.yaml index 6a5dced..b1868ba 100644 --- a/config/plugins/commands.yaml +++ b/config/plugins/commands.yaml @@ -101,7 +101,7 @@ commands: permissions: - framework.command.test source: internal -last_updated: 26605.852289433 +last_updated: 26822.134496381 plugin_commands: example_plugin: echo: *id001 diff --git a/config/services/network_routes.yaml b/config/services/network_routes.yaml index 9041167..80444c6 100644 --- a/config/services/network_routes.yaml +++ b/config/services/network_routes.yaml @@ -1,5 +1,5 @@ http_port: 4200 -last_updated: 26605.865204328 +last_updated: 26822.153658933 plugin_routes: example_plugin: - methods: diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index b9c8bef..89f65a1 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -41,19 +41,22 @@