mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 03:30:40 +00:00
feat(channels): add mock channel package for E2E testing
- Add @qwen-code/channel-mock package with MockPluginChannel - Add createMockServer for programmatic test control via WebSocket - Refactor integration test to use real WebSocket E2E flow This enables testing the full channel pipeline (WebSocket → ChannelBase → AcpBridge → agent) instead of the previous in-process loopback approach. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
2b10a2dc54
commit
0f9e4409df
9 changed files with 526 additions and 174 deletions
|
|
@ -10,7 +10,8 @@
|
|||
"packages/channels/base",
|
||||
"packages/channels/telegram",
|
||||
"packages/channels/weixin",
|
||||
"packages/channels/dingtalk"
|
||||
"packages/channels/dingtalk",
|
||||
"packages/channels/mock"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue