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
+5
View File
@@ -1115,8 +1115,13 @@ export interface MonitoringCitedArticle {
citation_rate: number | null;
}
export interface MonitoringDashboardRuntime {
current_user_client_online: boolean;
}
export interface MonitoringDashboardCompositeResponse {
overview: MonitoringOverview;
runtime: MonitoringDashboardRuntime;
platform_breakdown: MonitoringPlatformBreakdownItem[];
brand_time_buckets: MonitoringTimeBucket[];
hot_questions: MonitoringHotQuestion[];