264 Commits

Author SHA1 Message Date
Aibo117 ff391c31c1 fix: rename request-human route to handoff for Iris MVC compatibility
PostHandoff maps to POST /handoff correctly in Iris MVC auto-routing.
2026-05-26 15:59:56 +08:00
Aibo117 ec69ea88e3 fix: s.buildEventPayload method call 2026-05-26 15:54:53 +08:00
Aibo117 63dec1d8f1 feat: add manual "转人工" (request human) action for conversations
- Backend: RequestHuman service method changes status from AI_SERVING to PENDING
- Backend: POST /api/dashboard/conversation/request-human endpoint
- Frontend: requestHumanConversation API client
- Frontend: "转人工" button in conversation list dropdown and detail dialog
2026-05-26 15:46:09 +08:00
Aibo117 fa9f64752b fix: reduce chunk size to prevent embedding context overflow
nomic-embed-text tokenizes Chinese characters differently from the
estimateTokenCount heuristic (3-5 real tokens per character vs 1
estimated). Large chunks overflow the 8192 token context. Reduce
TargetTokens/MaxTokens to keep chunks within limits.
2026-05-26 14:56:24 +08:00
Aibo117 be91feea63 fix: propagate document indexing errors to caller
Previously indexing failures were silently logged, returning success
even when the embedding model was not configured or Qdrant was down.
Now the error is returned to the frontend so the user sees it.
2026-05-26 14:33:13 +08:00
Aibo117 0f40930a41 refactor: rebrand from cs-agent to BossChat
- Rename Go module: cs-agent → bosschat
- Rename all import paths across 200+ Go files
- Rename SDK: cs-ai-agent-sdk → bosschat-sdk
- Rename message protocol: cs-agent:* → bosschat:*
- Rename JS globals: CSAgentConfig → BossChatConfig
- Rename CSS classes: cs-agent-* → bosschat-*
- Update Makefile APP_NAME and ARCHIVE_NAME
- Update logo assets
- Fix display name: BoosChat → BossChat
2026-05-26 13:17:07 +08:00
mlogclub 7a9cffe21e fix: add structured graph tool results 2026-05-10 00:02:23 +08:00
mlogclub 59b3509ca9 fix: prevent repeated off-hours handoff notices 2026-05-09 23:46:56 +08:00
mlogclub af8ec71bb8 fix: continue agent flow on knowledge retrieval errors 2026-05-09 23:38:42 +08:00
mlogclub bce4c18c10 refactor: use controlled RAG no-context policy 2026-05-09 23:33:35 +08:00
mlogclub d30e211996 refactor: enhance conversation handling and websocket integration with new team ID support 2026-05-09 22:05:34 +08:00
mlogclub 664e418115 refactor: implement off-hours handoff logic and enhance related tests 2026-05-08 23:26:25 +08:00
mlogclub 6f4c026320 refactor: enhance event consumption logic and add graph tool completion test 2026-05-08 23:13:32 +08:00
mlogclub 1a2550a089 refactor: streamline conversation ID usage in message service methods 2026-05-08 21:54:08 +08:00
mlogclub 33b4caab03 refactor: update alert links and simplify buildAlerts parameters in dashboard service 2026-05-08 20:08:28 +08:00
mlogclub aef72ed6cc test: cover ticket rich text persistence 2026-05-06 17:40:11 +08:00
mlogclub 2447efab33 feat: record ticket assignment progress 2026-05-06 17:40:11 +08:00
mlogclub f2a7eb3295 refactor(ticket): simplify ticket number generation and remove SQLite lock 2026-05-06 17:40:11 +08:00
mlogclub dba175b0fa feat(ticket): add customer linking functionality to tickets 2026-05-06 17:40:11 +08:00
mlogclub ac0f25f10c refactor(ticket): rename TicketNoService to TicketNoSequenceService and update references 2026-05-06 17:40:11 +08:00
mlogclub 2f33783f7e fix(ticket): change description wrapper from div to span in TicketDetailDialog 2026-05-06 17:40:10 +08:00
mlogclub d181ff4947 fix(ticket): remove batch assign and restructure detail dialog 2026-05-06 17:40:10 +08:00
mlogclub d10c6cee67 fix(ticket): align progress routes 2026-05-02 21:05:11 +08:00
mlogclub 6d75ea9988 fix(ticket): close final integration gaps 2026-05-02 21:00:00 +08:00
mlogclub d9130d6d56 fix(ticket): remove obsolete ticket permissions 2026-05-02 20:48:44 +08:00
mlogclub 872f28fd3f fix(ticket): complete stale request guards 2026-05-02 20:23:32 +08:00
mlogclub 8102f89308 fix(ticket): guard stale responses and stale hours 2026-05-02 20:20:30 +08:00
mlogclub 7f867e1699 refactor(ticket): remove obsolete ai ticket fields 2026-05-02 20:09:12 +08:00
mlogclub 3130d4f14d fix(ticket): filter stale ticket list 2026-05-02 20:05:35 +08:00
mlogclub 5ccee6f714 fix(ticket): align lightweight frontend API 2026-05-02 19:53:18 +08:00
mlogclub 0fed6dc144 fix(ticket): close ticket number concurrency gap 2026-05-02 19:29:04 +08:00
mlogclub fa9d431cbe fix(ticket): harden lightweight backend core 2026-05-02 19:19:18 +08:00
mlogclub a06ce7074e fix(ticket): close backend core review gaps 2026-05-02 18:57:40 +08:00
mlogclub fce0b5709d refactor(ticket): contract backend ticket core 2026-05-02 18:49:10 +08:00
mlogclub 0609ad758c fix: remove redundant human support suggestion in fallback reply 2026-05-02 15:37:04 +08:00
mlogclub a8f032d332 fix: bypass answerability gate for runtime actions 2026-05-02 15:04:17 +08:00
mlogclub 3eff8b5c3a fix: simplify fallback reply handling in knowledge guard 2026-05-02 14:51:39 +08:00
mlogclub 2737f660f7 fix: close answerability gate review gaps 2026-05-02 14:40:16 +08:00
mlogclub 8f968fe3ca feat: wire answerability gate into ai runtime 2026-05-02 14:21:49 +08:00
mlogclub 0230e05dce fix: harden rag answerability gate 2026-05-02 14:14:31 +08:00
mlogclub 9e30167eaf feat: implement rag answerability gate graph 2026-05-02 14:06:23 +08:00
mlogclub 269042b9d4 feat: add rag answerability gate types 2026-05-02 13:56:01 +08:00
mlogclub 28913ad440 feat: add answerability runtime trace fields 2026-05-02 13:51:26 +08:00
mlogclub a959477617 fix(knowledge-guard): enhance fallback logic for knowledge retrieval and add tests 2026-05-02 13:38:44 +08:00
mlogclub 1f36717d17 feat(conversation): send welcome message on new chat 2026-05-02 12:30:27 +08:00
mlogclub 84a0dba286 fix(customer): sync conversation name callback 2026-05-02 11:36:32 +08:00
mlogclub 0e0747bfc4 feat(conversation): expose current team in responses 2026-05-02 11:34:32 +08:00
mlogclub 11998799c9 feat(conversation): support team-pool dispatch fallback 2026-05-02 11:33:58 +08:00
mlogclub 24802b23ce feat(conversation): add schedule-aware handoff decisions 2026-05-02 11:32:39 +08:00
mlogclub 56d57f10c5 fix(auth): keep lockout window stable 2026-04-30 18:20:36 +08:00