feat(publish): add bilibili and qiehao desktop adapters
Wire bilibili and qiehao (om.qq.com) into the publish adapter registry and auth-failure classifier. Bilibili bind uses WBI-signed space-info fallback to retrieve the avatar when nav lacks a face URL, and the account list image renders with a no-referrer policy so bilibili CDN serves the avatar cross-origin. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,8 +18,10 @@ import { getAIPlatformCatalogItem, isAIPlatformId } from "@geo/shared-types";
|
||||
|
||||
import {
|
||||
baijiahaoAdapter,
|
||||
bilibiliAdapter,
|
||||
getMonitorAdapter,
|
||||
jianshuAdapter,
|
||||
qiehaoAdapter,
|
||||
toutiaoAdapter,
|
||||
zhihuAdapter,
|
||||
type AdapterExecutionResult,
|
||||
@@ -2868,6 +2870,12 @@ function selectPublishAdapter(platform: string): PublishAdapter | null {
|
||||
if (platform === jianshuAdapter.platform) {
|
||||
return jianshuAdapter;
|
||||
}
|
||||
if (platform === qiehaoAdapter.platform) {
|
||||
return qiehaoAdapter;
|
||||
}
|
||||
if (platform === bilibiliAdapter.platform) {
|
||||
return bilibiliAdapter;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user