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
+3 -2
View File
@@ -1,9 +1,10 @@
[package]
name = "ias-http"
version = "0.1.15"
version = "0.1.17"
edition = "2024"
[dependencies]
ias-common = { path = "../ias-common" }
anyhow = "1"
axum = "0.8.9"
chrono = { version = "0.4", features = ["serde"] }
@@ -15,6 +16,6 @@ sqlx = { version = "0.9.0", features = [
"postgres",
"chrono",
] }
tokio = { version = "1.0", features = ["net", "sync"] }
tokio = { version = "1.0", features = ["net", "sync", "io-util"] }
tower-http = { version = "0.6", features = ["cors", "fs"] }
uuid = { version = "1", features = ["v4", "serde"] }