auto-save 2026-05-09 19:09 (~5)

This commit is contained in:
2026-05-09 19:10:01 +08:00
parent 385ecbb8da
commit 0aba599503
5 changed files with 130 additions and 24 deletions

View File

@@ -1,26 +1,5 @@
{
"entries": [
{
"files_changed": 1,
"hash": "d05884a",
"message": "auto-save 2026-05-07 18:12 (~1)",
"ts": "2026-05-07T18:12:29+08:00",
"type": "commit"
},
{
"files_changed": 1,
"hash": "c44f01c",
"message": "auto-save 2026-05-07 18:17 (~1)",
"ts": "2026-05-07T18:18:01+08:00",
"type": "commit"
},
{
"files_changed": 1,
"hash": "a2e9313",
"message": "auto-save 2026-05-07 18:23 (~1)",
"ts": "2026-05-07T18:23:33+08:00",
"type": "commit"
},
{
"files_changed": 1,
"hash": "a6b2ace",
@@ -3459,6 +3438,25 @@
"message": "auto-save 2026-05-09 18:58 (~2)",
"hash": "9f4d1d2",
"files_changed": 2
},
{
"ts": "2026-05-09T19:04:28+08:00",
"type": "commit",
"message": "auto-save 2026-05-09 19:04 (~6)",
"hash": "385ecbb",
"files_changed": 6
},
{
"ts": "2026-05-09T11:05:53Z",
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 master · 1 项未提交变更 · 最近提交auto-save 2026-05-09 19:04 (~6)",
"files_changed": 1
},
{
"ts": "2026-05-09T11:08:28Z",
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 master · 2 项未提交变更 · 最近提交auto-save 2026-05-09 19:04 (~6)",
"files_changed": 2
}
]
}

View File

@@ -15,8 +15,9 @@
- 飞书主动通知https://hermes.kang-kang.com/feishu/notify
- 飞书机器人列表https://hermes.kang-kang.com/feishu/apps只读展示 App ID / 回调地址,不含 Secret / Token
- 爱马仕前端「集成 → 飞书集成」可自助添加 / 更新飞书机器人Secret / Token 只写入服务器 `/etc/hermes-feishu-bridge.env`
- 爱马仕前端「仪表盘」同步了上游 Hermes 的快捷入口板块个人版展示主站、API、飞书机器人列表、文档/解析入口
- 爱马仕前端「设置 → 连接」可自助维护 API 地址 / API Key 并测试连接;「对话 → 存周报」和「设置 → 周报记录」会在本地保存任务描述、上下文片段和最终周报
- 当前前端静态壳缓存版本:`hermes-ui-v14`
- 当前前端静态壳缓存版本:`hermes-ui-v15`
- 文档 / 解析https://styles.kang-kang.com
- 管理后台:待定
- 代码仓https://git.kang-kang.com/kangwan/hermes-glass-ui-personal

View File

@@ -844,7 +844,7 @@ git push # Gitea kangwan/hermes-glass-ui-personal
<div class="panel-head-row">
<div>
<h2>仪表盘</h2>
<p>用量、系统状态和实时日志。</p>
<p>用量、系统状态、快捷入口和实时日志。</p>
</div>
<div class="panel-head-actions">
<button class="glass-btn-sm" onclick="refreshDashboard()">
@@ -857,6 +857,50 @@ git push # Gitea kangwan/hermes-glass-ui-personal
<div class="dash-scroll">
<!-- 快捷入口 -->
<div class="deploy-links">
<a href="https://hermes.kang-kang.com/" target="_blank" rel="noopener" class="deploy-link">
<div class="deploy-link-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
</div>
<div class="deploy-link-body">
<div class="deploy-link-label">个人版 · 主站</div>
<div class="deploy-link-url">hermes.kang-kang.com</div>
</div>
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
</a>
<a href="https://hermes.kang-kang.com/api/v1/models" target="_blank" rel="noopener" class="deploy-link">
<div class="deploy-link-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>
</div>
<div class="deploy-link-body">
<div class="deploy-link-label">后端 · OpenAI 兼容</div>
<div class="deploy-link-url">/api/v1/models</div>
</div>
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
</a>
<a href="https://hermes.kang-kang.com/feishu/apps" target="_blank" rel="noopener" class="deploy-link">
<div class="deploy-link-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"/><path d="M8 9h8"/><path d="M8 13h5"/></svg>
</div>
<div class="deploy-link-body">
<div class="deploy-link-label">飞书 · 机器人列表</div>
<div class="deploy-link-url">/feishu/apps</div>
</div>
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
</a>
<a href="https://styles.kang-kang.com/" target="_blank" rel="noopener" class="deploy-link">
<div class="deploy-link-icon">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z"/></svg>
</div>
<div class="deploy-link-body">
<div class="deploy-link-label">文档 · 解析</div>
<div class="deploy-link-url">styles.kang-kang.com</div>
</div>
<svg class="deploy-link-arrow" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
</a>
</div>
<!-- Hero 数据区 -->
<div class="dash-hero">
<div class="dash-hero-main">

View File

@@ -2105,6 +2105,69 @@ a { color: var(--orange-3); text-decoration: none; }
align-content: start;
margin-bottom: 18px;
}
.deploy-links {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 12px;
margin-bottom: 18px;
}
.deploy-link {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 18px;
background: var(--card-bg);
border: 1px solid var(--line);
border-radius: 16px;
text-decoration: none;
color: var(--text);
transition: border-color 0.2s, background 0.2s, transform 0.2s;
min-width: 0;
}
.deploy-link:hover {
border-color: var(--orange-3);
background: var(--card-hover-bg);
transform: translateY(-1px);
}
.deploy-link-icon {
flex: 0 0 38px;
width: 38px;
height: 38px;
border-radius: 10px;
background: linear-gradient(135deg, rgba(255,105,0,0.18), rgba(255,136,48,0.08));
border: 1px solid var(--line-strong);
display: flex;
align-items: center;
justify-content: center;
color: var(--orange-3);
}
.deploy-link-body {
flex: 1 1 auto;
min-width: 0;
}
.deploy-link-label {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--text-dim2);
font-weight: 700;
margin-bottom: 3px;
}
.deploy-link-url {
font-size: 15px;
font-weight: 700;
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.deploy-link-arrow {
flex: 0 0 14px;
color: var(--text-dim2);
transition: color 0.2s;
}
.deploy-link:hover .deploy-link-arrow { color: var(--orange-3); }
.stat {
padding: 20px 22px;
background: var(--card-bg);

View File

@@ -1,6 +1,6 @@
// 爱马仕 Hermes · 轻量 Service Worker
// 静态壳走 network-first拿不到再回退缓存API 直通
const CACHE = "hermes-ui-v14";
const CACHE = "hermes-ui-v15";
const ASSETS = [
"./",
"./index.html",