Commit Graph

10 Commits

Author SHA1 Message Date
Chatwoot AI Agent Dev 3e3768fc69 fix: resolve merge conflict, keep full README 2026-06-26 01:22:05 +00:00
admin 8f86761083 Initial commit 2026-06-26 08:50:32 +08:00
GreatQiu 91104e58cf v1.8: FastAdmin chathub-addon — register/plan/payment/member-center + 5 channel bindings
- New fastadmin/chathub/ (11 files, 204K): user-facing FastAdmin ThinkPHP 5 addon
- _markOrderPaid() now calls _provisionAsync() on empty embed_code (closes 'paid but no code' gap)
- New reprovision() action — user-initiated resource rebuild
- payReturn() smart redirect: 3 branches (just_paid / provisioning / pending / fallback)
- status badge updated with 'provisioning' state (blue)
- _initialize() whitelist expanded: reprovision (user) + payNotify/payReturn (public webhook)
- 5 chathub_* tables (tenant/log/order/channel_account/gateway_log) + MIGRATIONS.md

Bugfixes during E2E:
- payNotify HTTP 500: tenant.status ENUM missing 'provisioning' value (DBA migration)
- payNotify HTTP 500: chathub_log.status='received' (not in ENUM) — changed to 'success'
- TP5 method signature: function reprovision(\$ids) does not read query string — use \$this->request->param('ids')
2026-06-05 14:20:00 +08:00
Chatwoot AI Agent Dev bdf3537c19 license: AGPL v3 (was MIT) 2026-06-05 05:42:16 +00:00
Chatwoot AI Agent Dev e608d6ba1c v1.7: session-id mapping + conversation summary + contact profiling + exponential backoff reconnect 2026-06-05 05:16:36 +00:00
Chatwoot AI Agent Dev 3b321c9c75 docs: README — add Platform Gateway section, architecture diagram, env vars 2026-06-05 04:31:42 +00:00
Chatwoot AI Agent Dev 989e21d1f6 v1.6: Platform Gateway — Amazon/JD/Taobao/PDD/TikTok 5平台API集成 + start_provision_v2.sh 2026-06-05 04:30:48 +00: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
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
hanmolabiqiu fc0d4648e7 Add README.md 2026-06-02 12:07:03 +08:00