hanmolabiqiu
d22380b252
v1.5: debounce (5s coalesce) + AI retry (exp backoff)
2026-06-05 12:28:09 +08:00
Chatwoot AI Agent Dev
d0b20a0e14
v1.4: 多租户开通 + 安全性重构 + 数据脱敏
...
新增:
- provision_server.py HTTP API 服务 (Bottle, 端口 5566)
- 状态持久化 (JSON, 每30秒保存, 1小时内可恢复)
- 会议室模式 (开发团队 Inbox 多 AI 路由)
- supervisor 托管, SIGTERM 优雅退出
- PUBSUB_TOKEN 三级 fallback
修复:
- 所有硬编码凭证清除 (CW_EMAIL/CW_PASSWORD 无 fallback)
- 双重 WebSocket 重连
- 内存泄漏 (无界 Set 清理)
- INBOX_CONFIG 兜底 (skip+log 不崩溃)
- PID 文件竞争, Metrics 热路径优化
- 幂等性正确实现 (存真实响应含 HTTP 状态码)
安全:
- 完整数据脱敏 (无 URL/邮箱/密码/token 硬编码)
- .env.example / chatwoot_auth.example.json / inboxes.example.json
2026-06-04 12:56:11 +00:00
hanmolabiqiu
504b9b2e40
feat: meeting room support — forward to QWEN + OpenCode, [SKIP] filtering
...
- MEETING_ROOM_INBOX_ID = 22 (开发团队)
- handle_meeting_message(): all messages → both AI agents
- [SKIP] replies filtered out, rest sent with [QWEN]/[OpenCode] prefix
- Routing in _on_message_created for inbox 22
2026-06-03 15:14:56 +08:00
Q (AI Agent)
ad8243d9d7
docs: CHANGELOG v1.3 — metrics monitoring + code cleanup
2026-06-03 02:42:30 +00:00
Q (AI Agent)
c7dbbb0404
docs: update README to v1.3 — full feature set, file structure, CLI docs
2026-06-03 02:36:47 +00:00
Q (AI Agent)
8cbad0bdb3
refactor: cleanup inbox-stats CLI + add Metrics/Health/DefaultConfig
...
Changes from v1.2:
- Add Metrics class: track WS connection, per-inbox AI reply success rate and latency
- Add DEFAULT_INBOX_CONFIG hardcoded fallback (demo sites work without inboxes.json)
- Add _validate_config() for config structure validation
- Add log levels (INFO/WARN/ERROR)
- Add CLI commands: --health, --metrics, --ws-status, --list-inboxes, --inbox-stats
- Cleanup: remove 30+ redundant --inbox-stats-* argparse variants, keep 4 useful formats
- Fix f-string nested quote syntax errors
- Net: 1374 -> 1025 lines (-349 lines of bloat)
2026-06-03 02:23:24 +00:00
hanmolabiqiu
73dd1b2a77
docs: CHANGELOG v1.2 — hot-reload + provision
2026-06-02 13:29:38 +08:00
hanmolabiqiu
449aba667b
feat: provision.py — hot-reload inbox config + provision script
2026-06-02 13:28:40 +08:00
hanmolabiqiu
de672ba3ec
feat: inboxes.json — hot-reload inbox config + provision script
2026-06-02 13:28:37 +08:00
hanmolabiqiu
adea9cc090
feat: chatwoot_ws_agent.py — hot-reload inbox config + provision script
2026-06-02 13:28:34 +08:00
hanmolabiqiu
21e0f07ad7
Add CHANGELOG.md with v1.0 and v1.1 release notes
2026-06-02 13:02:33 +08:00
hanmolabiqiu
9194db6c71
fix: API Inbox human detection + Amazon agent ID
2026-06-02 12:57:51 +08:00
hanmolabiqiu
bf051c7450
Add Amazon Integration - Inbox 8 routing + amazon-agent
2026-06-02 12:23:07 +08:00
hanmolabiqiu
e1bd6dc193
Add Amazon Integration - Inbox 8 routing + amazon-agent
2026-06-02 12:23:06 +08:00
hanmolabiqiu
be7a42acf1
Update: Amazon Integration - Inbox 8 routing
2026-06-02 12:23:04 +08:00
hanmolabiqiu
d6ec087d0f
Add .gitignore
2026-06-02 12:07:14 +08:00
hanmolabiqiu
44d1209bdb
Add requirements.txt
2026-06-02 12:07:12 +08:00
hanmolabiqiu
2890aeda36
Add .env.example
2026-06-02 12:07:11 +08:00
hanmolabiqiu
28a2917f3f
Add SOUL-halo-blog-agent.md
2026-06-02 12:07:07 +08:00
hanmolabiqiu
56ba80cb30
Add knowledge-base.md
2026-06-02 12:07:05 +08:00
hanmolabiqiu
538a0242d6
Add chatwoot_ws_agent.py
2026-06-02 12:07:04 +08:00
hanmolabiqiu
fc0d4648e7
Add README.md
2026-06-02 12:07:03 +08:00