auto-save 2026-05-11 16:09 (~4)

This commit is contained in:
2026-05-11 16:09:23 +08:00
parent 0b4d811b2f
commit 6b105471cb
4 changed files with 21 additions and 22 deletions

View File

@@ -1,18 +1,5 @@
{
"entries": [
{
"files_changed": 1,
"hash": "ee2e220",
"message": "auto-save 2026-05-10 07:45 (~1)",
"ts": "2026-05-10T07:45:42+08:00",
"type": "commit"
},
{
"files_changed": 1,
"message": "Codex 会话活跃 · 最近命令codex · 分支 master · 1 项未提交变更 · 最近提交auto-save 2026-05-10 07:45 (~1)",
"ts": "2026-05-09T23:45:55Z",
"type": "session-heartbeat"
},
{
"files_changed": 1,
"message": "Codex 会话活跃 · 最近命令codex · 分支 master · 1 项未提交变更 · 最近提交auto-save 2026-05-10 07:45 (~1)",
@@ -3260,6 +3247,19 @@
"message": "auto-save 2026-05-11 15:58 (~4)",
"hash": "8f80417",
"files_changed": 4
},
{
"ts": "2026-05-11T16:03:46+08:00",
"type": "commit",
"message": "auto-save 2026-05-11 16:03 (~5)",
"hash": "0b4d811",
"files_changed": 5
},
{
"ts": "2026-05-11T08:06:28Z",
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 master · 1 项未提交变更 · 最近提交auto-save 2026-05-11 16:03 (~5)",
"files_changed": 1
}
]
}

View File

@@ -20,7 +20,7 @@
- 爱马仕前端「仪表盘」活动热力图已重做为带摘要、月份标尺、紧凑格子和细分色阶的活动卡片
- 爱马仕前端「设置 → 连接」可自助维护 API 地址 / API Key 并测试连接;「对话 → 存周报」和「设置 → 周报记录」会在本地保存任务描述、上下文片段和最终周报
- 爱马仕前端「设置 → AI 模型接入」和「设置 → MCP 工具接入」可分别维护 LXC 内 `/opt/hermes-agent/config.yaml``model``mcp_servers` 块,保存后重启 Docker `hermes-agent`
- 当前前端静态壳缓存版本:`hermes-ui-v30`
- 当前前端静态壳缓存版本:`hermes-ui-v31`
- 文档 / 解析https://styles.kang-kang.com
- 管理后台:待定
- 代码仓https://git.kang-kang.com/kangwan/hermes-glass-ui-personal

View File

@@ -11,7 +11,7 @@
<link rel="icon" type="image/svg+xml" href="./icon.svg">
<link rel="apple-touch-icon" href="./icon.svg">
<title>爱马仕 · AI</title>
<link rel="stylesheet" href="./styles.css?v=20260511-settings-v30">
<link rel="stylesheet" href="./styles.css?v=20260511-settings-v31">
</head>
<body>
@@ -1408,6 +1408,6 @@ git push # Gitea kangwan/hermes-glass-ui-personal
</main>
</div>
<script src="./app.js?v=20260511-settings-v30"></script>
<script src="./app.js?v=20260511-settings-v31"></script>
</body>
</html>

View File

@@ -1,11 +1,9 @@
// 爱马仕 Hermes · 轻量 Service Worker
// 静态壳走 network-first拿不到再回退缓存API 直通
const CACHE = "hermes-ui-v30";
const CACHE = "hermes-ui-v31";
const ASSETS = [
"./",
"./index.html",
"./styles.css?v=20260511-settings-v30",
"./app.js?v=20260511-settings-v30",
"./styles.css?v=20260511-settings-v31",
"./app.js?v=20260511-settings-v31",
"./manifest.webmanifest",
"./icon.svg",
];
@@ -32,8 +30,9 @@ self.addEventListener("fetch", (e) => {
if (url.pathname.startsWith("/feishu/")) return;
if (url.pathname.startsWith("/hermes-skills/")) return;
if (e.request.method !== "GET") return;
if (e.request.mode === "navigate" || e.request.destination === "document") return;
// 静态network-first离线再回退缓存
// 静态资源network-first离线再回退缓存HTML 导航始终交给 nginx。
e.respondWith(
fetch(e.request)
.then((res) => {