feat: Implement Qwen adapter and enhance AI platform detection

- Added a new Qwen adapter to facilitate monitoring through Playwright, leveraging internal text/chat managers.
- Updated account detection logic to recognize Qwen sessions based on persisted cookies, improving binding reliability.
- Relaxed authentication requirements for monitor tasks, allowing anonymous execution for certain AI platforms.
- Enhanced the generic AI platform detection to include Qwen-specific logic, ensuring accurate session identification.
- Modified the monitoring dashboard to include runtime state indicating if the current user's desktop client is online.
- Updated various files including `account-binder.ts`, `runtime-controller.ts`, and `monitoring_service.go` to support new features and improvements.
This commit is contained in:
2026-04-20 19:10:35 +08:00
parent 69fd182755
commit 7abac1e9c4
13 changed files with 973 additions and 105 deletions
+1
View File
@@ -52,6 +52,7 @@ const errorMessageMap: Record<string, string> = {
publish_cover_required: "已选择百家号,请先上传封面图",
desktop_account_client_missing: "所选账号还没有绑定桌面客户端,暂时无法发布",
desktop_account_not_found: "所选桌面账号不存在,请刷新后重试",
desktop_client_offline: "当前登录账号的桌面客户端未在线,请先打开 desktop-client",
desktop_publish_job_store_unavailable: "发布队列暂时不可用,请稍后重试",
desktop_media_api_removed: "旧版媒体接口已下线,请刷新页面后重试",
publisher_plugin_timeout: "浏览器插件响应超时,请刷新当前页面后重试",