H-43: fix WEB Captain takeover E2E flow (#8)

* test(shangwutong): cover CID rename reliability

* H-43: fix WEB Captain takeover flow

* H-48: preserve compatible provider model

* H-49: make Captain takeover atomic

* H-50: prevent duplicate widget initialization

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-13 14:49:04 +08:00
committed by GitHub
co-authored by rogee
parent fff3dce1bd
commit 74eb006985
21 changed files with 431 additions and 63 deletions
@@ -48,6 +48,8 @@ func setupCaptainAssistantHandlerTestWithSummaryProvider(t *testing.T, provider
&model.CaptainDocument{},
&model.CaptainAssistantResponse{},
&model.CaptainMessageReport{},
&model.AgentBot{},
&model.AgentBotInbox{},
))
t.Cleanup(func() {
sqlDB, _ := db.DB()