diff --git a/.memory/worklog.json b/.memory/worklog.json index 662acad..6b95208 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1,11 +1,5 @@ { "entries": [ - { - "files_changed": 1, - "message": "Codex 会话活跃 · 最近命令:codex · 分支 master · 1 项未提交变更 · 最近提交:auto-save 2026-05-10 07:16 (~1)", - "ts": "2026-05-09T23:18:29Z", - "type": "session-heartbeat" - }, { "files_changed": 1, "hash": "09dca61", @@ -3258,6 +3252,13 @@ "type": "session-heartbeat", "message": "Codex 会话活跃 · 最近命令:codex · 分支 master · 1 项未提交变更 · 最近提交:auto-save 2026-05-11 15:24 (~5)", "files_changed": 1 + }, + { + "ts": "2026-05-11T15:30:18+08:00", + "type": "commit", + "message": "auto-save 2026-05-11 15:30 (~5)", + "hash": "4addeb5", + "files_changed": 5 } ] } diff --git a/RULES.md b/RULES.md index 0799229..ecfaff0 100644 --- a/RULES.md +++ b/RULES.md @@ -20,7 +20,7 @@ - 爱马仕前端「仪表盘」活动热力图已重做为带摘要、月份标尺、紧凑格子和细分色阶的活动卡片 - 爱马仕前端「设置 → 连接」可自助维护 API 地址 / API Key 并测试连接;「对话 → 存周报」和「设置 → 周报记录」会在本地保存任务描述、上下文片段和最终周报 - 爱马仕前端「设置 → 模型与 MCP」可读取 / 写入 LXC 内 `/opt/hermes-agent/config.yaml`,保存后重启 Docker `hermes-agent` -- 当前前端静态壳缓存版本:`hermes-ui-v24` +- 当前前端静态壳缓存版本:`hermes-ui-v26` - 文档 / 解析:https://styles.kang-kang.com - 管理后台:待定 - 代码仓:https://git.kang-kang.com/kangwan/hermes-glass-ui-personal diff --git a/src/index.html b/src/index.html index 71c44c7..d477c96 100644 --- a/src/index.html +++ b/src/index.html @@ -11,7 +11,7 @@ 爱马仕 · AI - + @@ -1161,7 +1161,7 @@ git push # Gitea kangwan/hermes-glass-ui-personal
-
+
@@ -1376,6 +1376,6 @@ git push # Gitea kangwan/hermes-glass-ui-personal
- + diff --git a/src/styles.css b/src/styles.css index 3f349d2..0b86be3 100644 --- a/src/styles.css +++ b/src/styles.css @@ -3953,6 +3953,17 @@ a { color: var(--orange-3); text-decoration: none; } #tab-settings .settings-group.wide { grid-column: 1 / -1; } +#tab-settings .settings-connection-group { + grid-column: 1 / -1; +} +#tab-settings .settings-connection-group .settings-group-body { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + align-items: start; +} +#tab-settings .settings-connection-group .settings-actions { + grid-column: 1 / -1; +} #tab-settings .settings-group-body { display: flex; flex-direction: column; @@ -3979,7 +3990,8 @@ a { color: var(--orange-3); text-decoration: none; } grid-template-columns: 1fr; } .settings-group.wide, - #tab-settings .settings-group.wide { + #tab-settings .settings-group.wide, + #tab-settings .settings-connection-group { grid-column: auto; } } @@ -4002,6 +4014,9 @@ a { color: var(--orange-3); text-decoration: none; } padding: 14px 16px 16px; gap: 14px; } + #tab-settings .settings-connection-group .settings-group-body { + display: flex; + } .settings-actions { align-items: stretch; } diff --git a/src/sw.js b/src/sw.js index 26c5852..8fd6d88 100644 --- a/src/sw.js +++ b/src/sw.js @@ -1,11 +1,11 @@ // 爱马仕 Hermes · 轻量 Service Worker // 静态壳走 network-first(拿不到再回退缓存),API 直通 -const CACHE = "hermes-ui-v24"; +const CACHE = "hermes-ui-v26"; const ASSETS = [ "./", "./index.html", - "./styles.css?v=20260511-settings-v24", - "./app.js?v=20260511-settings-v24", + "./styles.css?v=20260511-settings-v26", + "./app.js?v=20260511-settings-v26", "./manifest.webmanifest", "./icon.svg", ];