Repository navigation
feat(aifroi-video): add Aifroi Video Director remote MCP plugin - #379
Draft
CoderLin99 wants to merge 1 commit into
Draft
CoderLin99 wants to merge 1 commit into
CoderLin99 wants to merge 1 commit into
Conversation
Adds the community plugin aifroi-video under external_plugins/: six skills for planning and generating 9:16 Douyin e-commerce product videos, plus the Aifroi remote MCP server (https://aifroi.com/mcp) authorized through ZCode's built-in OAuth flow (no Authorization header, no local processes, no Hooks). Registers the plugin in marketplace.json (category productivity, version 1.0.0) and adds its icon under assets/aifroi-video with a provenance record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin type (required) / 插件类型(必填)
Affected plugin name(s) / 涉及的插件名称:
aifroi-videoWhat / 改动内容
Adds
aifroi-video(Aifroi Video Director / AI 爆款编导), a community plugin from Aifroi for Douyin e-commerce sellers and Qianchuan ad teams.新增社区插件
aifroi-video(AI 爆款编导),由 Aifroi 提供,面向抖音电商和巨量千川素材团队。User problem / 解决的问题: turning a product image and a selling point into a usable 9:16 product video takes planning (angles, shot lists, voice-over, ad-compliance wording) and then production. The six skills deliver the planning work on their own; with the Aifroi account authorized they also generate the video and report the exact points used. / 把一张商品图和一句卖点变成可投放的 9:16 带货视频,需要先策划(测款方向、分镜、口播、广告法用语)再制作。6 个技能不授权也能交付策划;授权 Aifroi 账号后可直接出片并核对每条的实际扣点。
Components / 组件
.mcp.jsonserveraifroihttps://aifroi.com/mcp,type: http, noAuthorizationheader, so ZCode runs its own OAuth flow (DCR + PKCE).timeoutMs: 120000. Same pattern astripo-3d.aifroi-video-plan,aifroi-product-video,aifroi-element-swap,aifroi-script-video,aifroi-reference-video,aifroi-video-delivery. Each skill folder carries only the reference files it links to.Marketplace entry / 市场登记: new entry in
marketplace.json, version1.0.0(same as.zcode-plugin/plugin.json), categoryproductivity,description_i18n/displayName_i18nwithenandzh-CN,examplePrompts+examplePrompts_i18n.zh-CN. Icon atassets/aifroi-video/icon.png(512×512 PNG, Aifroi brand artwork) with a provenance record inassets/icon-sources.json; the entry references the CDN URL perassets/README.md.Dependencies, network, permissions and side effects / 依赖、网络、权限与副作用 (also in both READMEs):
https://aifroi.com/mcp; OAuth page onaifroi.com; local media goes to a one-time upload URL issued by Aifroi (https://aifroi.com/api/mcp/upload/..., 10 minutes); finished videos are signed object-storage links returned by Aifroi.curlto the one-time upload URL, and only when the user asks to use a local workspace file or attachment (subject to the user's ZCode permission settings).Source and license / 来源与许可: skills, references, READMEs and icon are written by Aifroi; no third-party code or material. The MCP server is Aifroi's own hosted service, governed by Aifroi's terms and privacy policy. The plugin manifest sets no separate
license; please tell us if you want one declared.Testing / 测试
Ran locally on Windows 11 (Python 3.12.10, Node 24.22.0, pnpm 10.6.5):
pnpm install --frozen-lockfile— passedpnpm build— failed on Windows, unrelated to this plugin:ui-plugins/excalidraw/scripts/build.mjs:90takes the LEGAL file name withf.path.split("/").pop(), which keeps the whole backslash path on Windows (ENOENT ... dist\ui\D:\...\main.js.LEGAL.txt). This plugin has nothing to compile.python3 scripts/validate.py—OK: 59 plugin(s) validatedpython3 scripts/build_dist.pyon the full repo — blocked by thepnpm buildfailure above (UnsafeTree: excalidraw: incomplete build; run pnpm build first).scripts/validate.pyandscripts/build_dist.pyon a copy containing only this plugin's directory, its icon and itsmarketplace.jsonentry —OK: 1 plugin(s) validated; builtplugins/aifroi-video/1.0.0/plugin.zip(111 files, 293,096 bytes, sha256a07071edbc0626eb8db7908042528d013653128b99065cdc078f99ecaade4465), published entrypublisherType: community,componentTypes: [skill, mcp]. CI on Linux should run the full build.git diff --check— passedpython -m unittest tests.test_icon_assets tests.test_catalog_classification tests.test_tree_safety— 27 tests OKRuntime verification in ZCode: not done yet. / ZCode 客户端实测:待补。 The ZCode client has not been installed in this environment, so installing from
dist/local-marketplace, clicking Open authorization, completing the Aifroi OAuth sign-in and running the example prompts have not been exercised. The OAuth part needs the account owner to sign in personally. This PR stays a Draft until that run is recorded here (steps, screenshots or a short recording). Nothing in this PR claims a successful client run.Planned reproduction steps / 计划的复现步骤:
pnpm install --frozen-lockfile && pnpm build, then adddist/local-marketplaceunder Plugin Marketplace → Add, install and enableaifroi-video.aifroirow shows Open authorization; sign in on aifroi.com and grant query / upload / create.Questions for maintainers / 想请教维护者
client_nameand callback path becomeplugin:aifroi-video:aifroi-based; is that stable enough to rely on? / 插件命名空间下 OAuth 的client_name和回调路径是否稳定?Self-check / 自查清单
external_plugins/aifroi-video// 插件名唯一且 kebab-case,位于external_plugins/aifroi-video/categoryis set independently of publisher ownership (productivity) / 用途分类已填写versionis1.0.0in BOTHplugin.jsonandmarketplace.json(new plugin) / 两处版本号一致(新插件)README.md(EN) andREADME_CN.md(中文) both provided and equivalent / 中英文 README 语义一致description_i18nhas bothenandzh-CN/description_i18n包含en与zh-CNpython3 scripts/validate.pyandpython3 scripts/build_dist.pypass locally / 本地校验与构建均通过 —validate.pypasses on the full repo;build_dist.pypasses for this plugin, but the full-repo run is blocked by the Windows-only excalidraw build issue above /validate.py全仓通过;build_dist.py对本插件通过,全仓运行被上面的 excalidraw Windows 构建问题阻塞🤖 Generated with Claude Code