feat(plugins): 方舟 Agent Plan - 新增图片与视频协议插件

独立 /api/plan/v3 Seedream、Seedance 插件,并同步宿主能力默认值与渠道识别,避免与官方 /api/v3 凭证混用。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
VicoHuandCursor committed 2026-09-17 17:55:12 +08:00
1 parent 0a42705372
commit 8c520a84b9
41 files changed
+3012 -63

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package model
// IsVolcengineArkImageProtocol 识别官方 Ark 图片与 Agent Plan 图片协议。
func IsVolcengineArkImageProtocol(protocol ChannelInterfaceType) bool {
return protocol == ChannelInterfaceVolcengineArkImage || protocol == ChannelInterfaceVolcengineArkAgentPlanImage
}
// IsVolcengineArkVideoProtocol 识别官方 Ark 视频与 Agent Plan 视频协议。
func IsVolcengineArkVideoProtocol(protocol ChannelInterfaceType) bool {
return protocol == ChannelInterfaceVolcengineArkVideo || protocol == ChannelInterfaceVolcengineArkAgentPlanVideo
}