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

This commit is contained in:
2026-05-09 16:35:00 +08:00
parent bdb8fe7f7c
commit 211ce9de23
4 changed files with 24 additions and 10 deletions

View File

@@ -1,12 +1,5 @@
{
"entries": [
{
"files_changed": 1,
"hash": "3bcf781",
"message": "auto-save 2026-05-07 12:40 (~1)",
"ts": "2026-05-07T12:40:16+08:00",
"type": "commit"
},
{
"files_changed": 1,
"hash": "e1ac8cd",
@@ -3489,6 +3482,13 @@
"type": "session-heartbeat",
"message": "Codex 会话活跃 · 最近命令codex · 分支 master · 1 项未提交变更 · 最近提交auto-save 2026-05-09 16:23 (~3)",
"files_changed": 1
},
{
"ts": "2026-05-09T16:29:27+08:00",
"type": "commit",
"message": "auto-save 2026-05-09 16:29 (~1)",
"hash": "bdb8fe7",
"files_changed": 1
}
]
}

View File

@@ -34,6 +34,16 @@
"type" : "app",
"url" : "https:\/\/hermes.kang-kang.com"
},
{
"label" : "feishu-events",
"type" : "backend",
"url" : "https:\/\/hermes.kang-kang.com\/feishu\/events"
},
{
"label" : "feishu-notify",
"type" : "backend",
"url" : "https:\/\/hermes.kang-kang.com\/feishu\/notify"
},
{
"label" : "git",
"type" : "repo",

View File

@@ -17,7 +17,7 @@
- `POST /feishu/events`: 飞书事件回调 → Hermes → 飞书回复
- `POST /feishu/notify`: Hermes / 内部系统主动推送到飞书
凭证通过部署环境变量配置,详见 `server/feishu-bridge.env.example`;不要把 App Secret、Hermes API key 或通知 token 写入仓库。
线上已部署为 systemd `hermes-feishu-bridge.service`nginx 已公开 `/feishu/` 反代。凭证通过部署环境变量配置,详见 `server/feishu-bridge.env.example`;不要把 App Secret、Hermes API key 或通知 token 写入仓库。
## 与公司版的差异

View File

@@ -8,7 +8,9 @@
- 发布状态:已部署
- 主站 / 前端https://hermes.kang-kang.com
- API / 后端:同域 `/api/v1` 转发到 LXC `hermes-personal` 内的 `hermes-agent:8642`
- 飞书桥接:源码在 `server/feishu_bridge.py`;线上计划开放 `/feishu/events`(飞书事件)和 `/feishu/notify`(主动通知)
- 飞书桥接:已部署 systemd `hermes-feishu-bridge.service`,宿主 `127.0.0.1:8787`
- 飞书事件回调https://hermes.kang-kang.com/feishu/events
- 飞书主动通知https://hermes.kang-kang.com/feishu/notify
- 文档 / 解析https://styles.kang-kang.com
- 管理后台:待定
- 代码仓https://git.kang-kang.com/kangwan/hermes-glass-ui-personal
@@ -44,5 +46,7 @@
## 注意事项
- 飞书 App Secret、Hermes API key、主动通知 token 只能放部署环境或忽略的 secrets 文件,不允许写入跟踪文件
- 线上飞书桥接环境:`/etc/hermes-feishu-bridge.env`mode 600
- 飞书后台配置所需回调 URL、verification token、notify token 备份:`/root/hermes-feishu-bridge.tokens`mode 600
- 当前飞书桥接版本按明文事件回调处理;如果飞书后台开启事件加密,需要先补充解密支持
- 主站有 cookie 门禁;部署飞书桥接时必须在 nginx/Coolify 对 `/feishu/events` 放行,否则飞书服务器无法完成 URL 校验和事件投递
- 主站有 cookie 门禁;nginx 已对 `/feishu/` 单独放行并反代到飞书桥接服务