Spot it. Save it. Free, local-first Chrome extension for images, videos and prompts. Explore 2,000+ curated cases and connect your library to AI Agents via MCP. 提示词导演
JavaScript ai-artai-videochrome-extensionclaude-codecodexhiggsfieldjimenglocal-firstmcpmidjourneymoodboardprompt-engineeringprompt-libraryprompt-managerreference-libraryseedancevisual-bookmarksweb-clipper
明确商店包与固定身份安装包的发布边界
MigenAIe164ee2f0207
diff --git a/README.md b/README.mdindex c0f18f4..03af754 100644--- a/README.md+++ b/README.md@@ -22,9 +22,9 @@ PromptDirector 是一个免费、开源、本地优先的 Chrome 扩展。它把## 安装-优先从 [GitHub Releases](https://github.com/wchao6891/PromptDirector/releases) 下载最新 ZIP 并解压。在 Chrome 或 Edge 的扩展管理页开启“开发者模式”,选择“加载已解压的扩展程序”,然后选择解压后的目录。+优先从 [GitHub Releases](https://github.com/wchao6891/PromptDirector/releases) 下载名称带 `FIXED-ID-DEV` 的最新 ZIP 并解压。在 Chrome 或 Edge 的扩展管理页开启“开发者模式”,选择“加载已解压的扩展程序”,然后选择解压后的目录。这个包保留 Chrome Web Store 分配的固定扩展身份,适合本地安装和升级。-升级前请先在“更多 → 备份与同步”创建并验证完整资料夹备份。当前 GitHub 包仍是开发身份包;换电脑、移动目录或扩展 ID 变化时,请按[扩展身份迁移说明](docs/EXTENSION_ID_MIGRATION.md)恢复资料。+不带 `FIXED-ID-DEV` 的同版本 ZIP 仅供维护者上传 Chrome Web Store,清单中按商店要求移除了 `key`,不要把它作为本地解压安装包。升级前请先在“更多 → 备份与同步”创建并验证完整资料夹备份;如曾使用其他扩展 ID,请按[扩展身份迁移说明](docs/EXTENSION_ID_MIGRATION.md)恢复资料。## 从源码构建@@ -35,7 +35,7 @@ npm installnpm run verify```-`npm run package` 会生成开发验证包。正式发布包需要 Chrome Web Store 为该扩展分配的稳定身份;缺失时命令会明确失败,避免覆盖已有用户资料。+`npm run package` 生成保留固定身份的本地安装包;`npm run package:release` 生成移除 `key` 的 Chrome Web Store 上传包。两者包含相同的运行代码,只有安装身份用途不同。正式身份缺失时命令会明确失败,避免用户资料被错误扩展 ID 隔离。## 参与与许可diff --git a/store/CHROME_WEB_STORE_SUBMISSION.md b/store/CHROME_WEB_STORE_SUBMISSION.mdindex 09e2590..782d297 100644--- a/store/CHROME_WEB_STORE_SUBMISSION.md+++ b/store/CHROME_WEB_STORE_SUBMISSION.md@@ -6,9 +6,9 @@ This file is the source-of-truth worksheet for the current PromptDirector manife- Chrome Web Store item public key: stored in the source `manifest.json` for local identity verification only; `package:release` removes `key` from the upload manifest.- Expected extension ID: `iahakaahijddcjjldidbclicedibgpjm`.-- Current release candidate: `dist/PromptDirector-1.18.7.zip`.-- Candidate size: `8,124,631` bytes.-- Candidate SHA-256: `92b51bbe253b29a41e7e9869dd6d9d643812d16452a24e5e9140375f26d7e516`.+- Current release candidate: `dist/PromptDirector-1.18.8.zip`.+- Candidate size: `8,126,575` bytes.+- Candidate SHA-256: `204ae3f814ce3a188c95f9bd92e650f863eb5a85ef2299832a502bb56d0c65f2`.- Generate a candidate only with `npm run package:release`; the command verifies the source public key against the expected identity, then removes `key` from the Web Store upload manifest.## Store listingdiff --git a/tools/check-store-readiness.mjs b/tools/check-store-readiness.mjsindex 206dab3..ba9ba80 100644--- a/tools/check-store-readiness.mjs+++ b/tools/check-store-readiness.mjs@@ -28,6 +28,7 @@ for (const phrase of ["Chrome Web Store User Data Policy", "Limited Use", "不const listingZh = await text("store/LISTING_ZH_CN.md");const listingEn = await text("store/LISTING_EN.md");const submission = await text("store/CHROME_WEB_STORE_SUBMISSION.md");+requireText(submission, `dist/PromptDirector-${manifest.version}.zip`, "商店提交清单版本与 manifest 不一致");requireText(listingZh, locales.zh_CN.extensionName.message, "中文商店名称与 manifest 不一致");requireText(listingEn, locales.en.extensionName.message, "英文商店名称与 manifest 不一致");for (const permission of [