WeKnora/internal/im
nullkey fff9efb4f5 feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements
- Wire slash-command registry into Service and HandleMessage dispatch
- Add bounded QA worker pool (qaQueue) with per-user backpressure
- Add sliding-window rate limiter to prevent message abuse
- Support /stop cancellation for queued and in-flight QA requests
- Fix WeCom group chat replies via appchat API with user fallback
- Fix WeCom longconn nil map panic and stream buffer memory leak
- Add Feishu stream reaper to clean orphaned streams (memory leak fix)
- Show "正在思考..." placeholder during Feishu streaming
- Handle empty-stream fallback when no visible content is produced
- Derive WebSearchEnabled from agent config for IM channels
2026-03-20 15:49:59 +08:00
..
feishu feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements 2026-03-20 15:49:59 +08:00
slack feat(IM): support both websocket/webhook mode im channel for slack 2026-03-18 21:26:53 +08:00
wecom feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements 2026-03-20 15:49:59 +08:00
adapter.go feat(IM): support both websocket/webhook mode im channel for slack 2026-03-18 21:26:53 +08:00
cmd_clear.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
cmd_help.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
cmd_info.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
cmd_search.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
cmd_stop.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
command.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
command_registry.go feat(im): add slash-command system with /help, /info, /search, /stop, /clear 2026-03-20 15:49:59 +08:00
qaqueue.go feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements 2026-03-20 15:49:59 +08:00
ratelimit.go feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements 2026-03-20 15:49:59 +08:00
service.go feat(im): integrate command dispatch, QA queue, rate limiting, and streaming improvements 2026-03-20 15:49:59 +08:00
stream_test.go feat: enhance IM integration with streaming support and documentation 2026-03-16 02:26:17 +08:00
types.go feat(im): add file support and knowledge base integration 2026-03-17 22:23:24 +08:00