{"_id":"@ai-welopc/opc-content-factory","name":"@ai-welopc/opc-content-factory","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ai-welopc/opc-content-factory","version":"0.1.0","description":"WelOPC OPC content factory scene pack for WeChat article production, image deconstruction, prompt reverse engineering, and draft import preparation.","type":"module","bin":{"opc-content-factory":"bin/opc-content-factory.js"},"keywords":["welopc","opc","scene-pack","wechat","content-factory","prompt-engineering"],"author":{"name":"WelOPC"},"license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"engines":{"node":">=18"},"scripts":{"smoke":"node ./bin/opc-content-factory.js --help","pack:dry":"npm pack --dry-run","publish:dry":"npm publish --access public --dry-run"},"_id":"@ai-welopc/opc-content-factory@0.1.0","gitHead":"2b8e6a52378e640bd2ab94ed0b4ba08b7f30a68e","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-o+y5F8cefSlT6KlDqIc8svMZR9ymLSUedNmcZ7SnSWkwo0Oxy3EFcTsoe/sOtq1WS+bsHrDWCNNgY8Ms4M4blg==","shasum":"91938bad81db82e033c6387f8898156394e5a856","tarball":"https://registry.npmjs.org/@ai-welopc/opc-content-factory/-/opc-content-factory-0.1.0.tgz","fileCount":18,"unpackedSize":56608,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDfXwBidUDu+2F+3JXWkpk+wellO7L2ETAl1WXXrJ4tfAIhAImssuaPkEgdZVKSsgU9rArHkC1Sd7eF6dwLryPBssEd"}]},"_npmUser":{"name":"welopcaiopc","email":"lzq70392000@outlook.com"},"directories":{},"maintainers":[{"name":"welopcaiopc","email":"lzq70392000@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opc-content-factory_0.1.0_1779337243765_0.09444257801813616"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-21T04:20:43.600Z","0.1.0":"2026-05-21T04:20:43.921Z","modified":"2026-05-21T04:20:44.154Z"},"maintainers":[{"name":"welopcaiopc","email":"lzq70392000@outlook.com"}],"description":"WelOPC OPC content factory scene pack for WeChat article production, image deconstruction, prompt reverse engineering, and draft import preparation.","keywords":["welopc","opc","scene-pack","wechat","content-factory","prompt-engineering"],"author":{"name":"WelOPC"},"license":"MIT","readme":"# OPC 内容工厂\n\n这是 WelOPC 的 `opc-content-factory` 场景包，用于把公众号链接、文章截图、商品图、工作流 demo 或 AI 视频案例拆解成可发布的中文图文内容包。\n\n默认输出 HTML 审稿页、公众号草稿箱导入文件、配图脚本、提示词模板、图片/媒体资源目录和草稿箱 API dry-run payload。\n\n## 安装\n\n平台安装口径：\n\n```bash\nnpx @ai-welopc/cli add opc-content-factory\n```\n\n独立 npx 入口：\n\n```bash\nnpx @ai-welopc/opc-content-factory init \"女装带货 OPC 文章\" --root ./articles\n```\n\n## 命令\n\n创建标准文章工作区：\n\n```bash\nopc-content-factory init \"女装带货 OPC 文章\" --root ./articles\n```\n\n提取公众号文章：\n\n```bash\nopc-content-factory extract \"https://mp.weixin.qq.com/s/...\" --out ./articles/demo/source\n```\n\n生成公众号草稿箱 dry-run payload：\n\n```bash\nopc-content-factory push-draft --title \"标题\" --digest \"摘要\" --html-file ./wechat_draft.html --cover-image ./cover.png --out ./draft/wechat_draft_payload.json\n```\n\n查看打包后的 Skill 路径：\n\n```bash\nopc-content-factory skill-path\n```\n\n## 包含内容\n\n- `skill/SKILL.md`：内容工厂工作流说明。\n- `skill/references/`：公众号提取、图片反推、输出规范、内容方法论。\n- `skill/scripts/`：工作区创建、公众号提取、草稿箱导入脚本。\n- `skill/assets/scene-package/`：HTML 模板、草稿箱 env 示例、场景包清单。\n- `package-manifest.json`：官网和安装器可读取的场景包元数据。\n\n## 边界\n\n这个包只负责内容生产、审稿和草稿箱准备；不自动发布、不群发、不输出密钥、Cookie、token 或后台敏感数据。\n","readmeFilename":"README.md","_rev":"1-8a52ffc2eb70b42cc555fde58693626c"}