Repository navigation
feat(rewords-ai): add ReWords AI image text editing & translation plugin - #368
Open
wangneo276-lgtm wants to merge 1 commit into
Open
wangneo276-lgtm wants to merge 1 commit into
wangneo276-lgtm wants to merge 1 commit into
Conversation
wangneo276-lgtm
requested review from
jacksonliuyn and
panda920
as code owners
November 30, 2026 07:46
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
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) / 涉及的插件名称:
rewords-ai(UI Plugin —edit_image_textandget_edit_job_statusreturn_meta.ui.resourceUri: "ui://rewords/editor-card.html"withtext/html;profile=mcp-app)What / 改动内容
Adds the ReWords AI (
rewords-ai, v1.0.0) community plugin underexternal_plugins/rewords-ai/, connecting ZCode to the ReWords AI Remote HTTP MCP server (https://rewordsai.app/mcp).Problem solved / 解决的用户痛点
Developers, indie makers, and designers working in ZCode often need to localize product screenshots, landing-page graphics, posters, or UI visuals without going back to design source files. ReWords AI lets users:
edit_image_text,mode: "replace").edit_image_text,mode: "translate").edit_image_text,mode: "remove").extract_image_text, 0 credits).ui://rewords/editor-card.html).Included files & registration / 包含内容
external_plugins/rewords-ai/.zcode-plugin/plugin.json— plugin manifest (1.0.0,en&zh-CNi18n)external_plugins/rewords-ai/.mcp.json— remote HTTP MCP endpoint (https://rewordsai.app/mcp) with browser OAuth 2.1 (PKCE + RFC 7591 DCR; no manual API key required)external_plugins/rewords-ai/commands/{edit,translate,ocr}.md— slash commands (/rewords-ai:edit,/rewords-ai:translate,/rewords-ai:ocr)external_plugins/rewords-ai/skills/{get-started,edit-image-text}/SKILL.md— onboarding and workflow skillsexternal_plugins/rewords-ai/{README.md,README_CN.md,LICENSE}— equivalent English & Chinese docs and MIT licenseassets/rewords-ai/icon.png+assets/icon-sources.json— 512x512 full-bleed square PNG derived from ReWords AI's official brand SVG (no baked corner radius), sha256 verifiedmarketplace.json— registeredrewords-ai(category: "productivity",version: "1.0.0")Dependencies, network access & side effects / 依赖与网络边界
https://rewordsai.app(/mcp,/.well-known/oauth-*,/oauth/*, and job-scoped/mcp/execute/:id+/mcp/poll/:idfrom the MCP Apps preview card).extract_image_text,get_edit_job_status, andget_account_creditsare free (0 credits).edit_image_textconsumes credits from the user's connected ReWords AI account (10 for1k, 20 for2k, 30 for4k; new accounts include 10 free trial credits). No payments are processed inside ZCode.Verification / 测试验证
python3 scripts/validate.py— passed (OK: 59 plugin(s) validated)python3 -m unittest tests/test_icon_assets.py tests/test_catalog_classification.py tests/test_tree_safety.py tests/test_mcp_app_manifest.py— passed (30 tests OK)build_dist.build_zip(Path("external_plugins/rewords-ai"), ...)+validate_local_mcp_paths— passed (10900 bytes, 10 files)git diff --check— passedhttps://rewordsai.app:/.well-known/oauth-protected-resource&/.well-known/oauth-authorization-server->200 OK/oauth/register(DCR withhttp://127.0.0.1:43210/oauth/callback) ->201 CreatedPOST /mcp(initialize,tools/list,resources/list,resources/read ui://rewords/editor-card.html) ->200 OK(text/html;profile=mcp-app, 14029 bytes)Self-check / 自查清单
external_plugins/<name>/; existing fixes retain ownership / 插件名唯一且 kebab-case,外部新增插件位于external_plugins/<name>/,已有插件修复保留原归属categoryis set independently of publisher ownership / 用途分类category已填写,与维护归属分开versionbumped in BOTHplugin.jsonandmarketplace.json(artifacts are immutable) /plugin.json与marketplace.json两处版本号已同步升级(制品不可变)README.md(EN) andREADME_CN.md(中文) both updated and equivalent / 中英文 README 均已更新且语义一致description_i18nhas bothenandzh-CN/description_i18n包含en与zh-CNpython3 scripts/validate.pyandpython3 scripts/build_dist.pypass locally / 本地校验与构建均通过