feat: 拆分 worker 架构并增强 assistant 安全保护

- 新增 daemon/channel/assistant/function/scheduler/logging worker 架构和 JetStream 消息协议

- 修复邮件通知误入 assistant、迁移 checksum、日志 subject 和工具调用无限循环风险

- 新增 assistant 工具轮次熔断、工具结果截断和提示词软收敛规则

- 补充邮件推送关键字、可信发件人配置、升级日志和验证测试
This commit is contained in:
2026-07-10 00:41:36 +08:00
parent 7deae286ca
commit af6cfdaa83
70 changed files with 5953 additions and 1608 deletions
+13
View File
@@ -0,0 +1,13 @@
services:
nats:
image: nats:2
command:
- --jetstream
- --store_dir=/data
- --http_port=8222
ports:
- "127.0.0.1:4222:4222"
- "127.0.0.1:8222:8222"
volumes:
- ./data/nats:/data
restart: unless-stopped