From 19360aa6e8ff6f72484e1e00bb7e6962c352f837 Mon Sep 17 00:00:00 2001 From: QQ Date: Thu, 12 Nov 2026 00:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/page.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page.ts | 273 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 189 insertions(+), 84 deletions(-) diff --git a/src/page.ts b/src/page.ts index ff0783b..9ab7897 100644 --- a/src/page.ts +++ b/src/page.ts @@ -29,94 +29,193 @@ export function renderConfigPage(options: { version: string; settingsPath: strin -云端记忆 · DSH 插件 +DSH Brain · 云端记忆
-

云端记忆 · DSH 插件

-

v${escapeHtml(options.version)} · 每轮结束上报活动计数 · 提供 memory_search / memory_read / memory_add 工具

-

技能管理(列表 · 启停 · 安装)→

+
+ +
+

DSH Brain · 云端记忆v${escapeHtml(options.version)}

+

每轮结束上报活动计数 · 提供 memory_search / memory_read / memory_add 工具

+
+ +
+
-

当前状态

+
📊

当前状态

每 15 秒自动刷新
加载中…
-

连接配置

+
🔌

连接配置

@@ -137,24 +236,26 @@ code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size
-
-
-

账号登录

+
🔑

账号登录

用账号一次性换取令牌,密码不保存
@@ -165,7 +266,7 @@ code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size
-
+
@@ -176,7 +277,7 @@ code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size
-

访问令牌

+
🎫

访问令牌

只存本机,页面只显示掩码
@@ -194,7 +295,7 @@ code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size
用于 POST /activity/summary:只把已脱敏摘要送进待确认队列。
-
+
@@ -205,7 +306,7 @@ code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size
-

诊断

+
🩺

诊断

@@ -215,14 +316,18 @@ code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size
-

最近上报

- - - - - -
时间状态结果HTTPturn_id
暂无记录
+
🕘

最近上报

+
+ + + + + +
时间状态结果HTTPturn_id
暂无记录
+
+ +

DSH Brain · 云端记忆插件 — 配置只保存在这台机器上