auto-save 2026-05-11 16:09 (~4)
This commit is contained in:
@@ -1,18 +1,5 @@
|
|||||||
{
|
{
|
||||||
"entries": [
|
"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,
|
"files_changed": 1,
|
||||||
"message": "Codex 会话活跃 · 最近命令:codex · 分支 master · 1 项未提交变更 · 最近提交:auto-save 2026-05-10 07:45 (~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)",
|
"message": "auto-save 2026-05-11 15:58 (~4)",
|
||||||
"hash": "8f80417",
|
"hash": "8f80417",
|
||||||
"files_changed": 4
|
"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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
2
RULES.md
2
RULES.md
@@ -20,7 +20,7 @@
|
|||||||
- 爱马仕前端「仪表盘」活动热力图已重做为带摘要、月份标尺、紧凑格子和细分色阶的活动卡片
|
- 爱马仕前端「仪表盘」活动热力图已重做为带摘要、月份标尺、紧凑格子和细分色阶的活动卡片
|
||||||
- 爱马仕前端「设置 → 连接」可自助维护 API 地址 / API Key 并测试连接;「对话 → 存周报」和「设置 → 周报记录」会在本地保存任务描述、上下文片段和最终周报
|
- 爱马仕前端「设置 → 连接」可自助维护 API 地址 / API Key 并测试连接;「对话 → 存周报」和「设置 → 周报记录」会在本地保存任务描述、上下文片段和最终周报
|
||||||
- 爱马仕前端「设置 → AI 模型接入」和「设置 → MCP 工具接入」可分别维护 LXC 内 `/opt/hermes-agent/config.yaml` 的 `model` 与 `mcp_servers` 块,保存后重启 Docker `hermes-agent`
|
- 爱马仕前端「设置 → 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://styles.kang-kang.com
|
||||||
- 管理后台:待定
|
- 管理后台:待定
|
||||||
- 代码仓:https://git.kang-kang.com/kangwan/hermes-glass-ui-personal
|
- 代码仓:https://git.kang-kang.com/kangwan/hermes-glass-ui-personal
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<link rel="icon" type="image/svg+xml" href="./icon.svg">
|
<link rel="icon" type="image/svg+xml" href="./icon.svg">
|
||||||
<link rel="apple-touch-icon" href="./icon.svg">
|
<link rel="apple-touch-icon" href="./icon.svg">
|
||||||
<title>爱马仕 · AI</title>
|
<title>爱马仕 · AI</title>
|
||||||
<link rel="stylesheet" href="./styles.css?v=20260511-settings-v30">
|
<link rel="stylesheet" href="./styles.css?v=20260511-settings-v31">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@@ -1408,6 +1408,6 @@ git push # Gitea kangwan/hermes-glass-ui-personal
|
|||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="./app.js?v=20260511-settings-v30"></script>
|
<script src="./app.js?v=20260511-settings-v31"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
11
src/sw.js
11
src/sw.js
@@ -1,11 +1,9 @@
|
|||||||
// 爱马仕 Hermes · 轻量 Service Worker
|
// 爱马仕 Hermes · 轻量 Service Worker
|
||||||
// 静态壳走 network-first(拿不到再回退缓存),API 直通
|
// 静态壳走 network-first(拿不到再回退缓存),API 直通
|
||||||
const CACHE = "hermes-ui-v30";
|
const CACHE = "hermes-ui-v31";
|
||||||
const ASSETS = [
|
const ASSETS = [
|
||||||
"./",
|
"./styles.css?v=20260511-settings-v31",
|
||||||
"./index.html",
|
"./app.js?v=20260511-settings-v31",
|
||||||
"./styles.css?v=20260511-settings-v30",
|
|
||||||
"./app.js?v=20260511-settings-v30",
|
|
||||||
"./manifest.webmanifest",
|
"./manifest.webmanifest",
|
||||||
"./icon.svg",
|
"./icon.svg",
|
||||||
];
|
];
|
||||||
@@ -32,8 +30,9 @@ self.addEventListener("fetch", (e) => {
|
|||||||
if (url.pathname.startsWith("/feishu/")) return;
|
if (url.pathname.startsWith("/feishu/")) return;
|
||||||
if (url.pathname.startsWith("/hermes-skills/")) return;
|
if (url.pathname.startsWith("/hermes-skills/")) return;
|
||||||
if (e.request.method !== "GET") 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(
|
e.respondWith(
|
||||||
fetch(e.request)
|
fetch(e.request)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user