{"_id":"@op-lean/emdash-plugin","_rev":"7-2c1e7f6172423e0530111e1ca28594da","name":"@op-lean/emdash-plugin","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@op-lean/emdash-plugin","version":"0.1.0","license":"MIT","_id":"@op-lean/emdash-plugin@0.1.0","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"5fd065474f3f51070c7a5476e5b4914f4e01965a","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.1.0.tgz","fileCount":31,"integrity":"sha512-rh5k/SQX6i55oucTXAYZ1FtzJI8B6xp8HxbyUECIhlfErj/ZPbanM5LNLh6jthGef7IDCn7sAsBIlHd5G1b3sA==","signatures":[{"sig":"MEUCIAjgkpCG7MNEZCImcIg6wKUXDPR7s4zeVachlFeWj5qaAiEArV8+vz948PV6nr5ALGPSBT2igkLghxdy0BzLC6NUwD0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48656},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"gitHead":"403f1c3bc172ae2f0773f76a930ac442becb25d7","scripts":{"test":"node --experimental-strip-types --test test/*.test.ts","build":"tsc -p tsconfig.json && tailwindcss -i src/styles.css -o dist/styles.css --minify","pretest":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"batcave-official","email":"batcavepost@gmail.com"},"repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"11.16.0","description":"Trusted EmDash plugin for scheduled AI-generated draft articles.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"clsx":"2.1.1","streamdown":"2.5.0","tailwind-merge":"3.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.2.7","emdash":"0.35.0","react-dom":"19.2.7","typescript":"6.0.3","tailwindcss":"4.3.1","@types/react":"19.2.17","@tailwindcss/cli":"4.3.1"},"peerDependencies":{"react":"^19.0.0","emdash":"0.35.0"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin_0.1.0_1788460120040_0.4988056739950706","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@op-lean/emdash-plugin","version":"0.1.1","license":"MIT","_id":"@op-lean/emdash-plugin@0.1.1","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"4f842e4ff7b3cba89183fd933b5c270482e02c62","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.1.1.tgz","fileCount":31,"integrity":"sha512-c13P6rzSHOtDiHEkBw7I6znz3Cs5h3L6SqU0X5EUBHJebBtOnjyCLZgj53hNdwX1+YWEFmxKExJYnoQwuoQOZA==","signatures":[{"sig":"MEYCIQDENraVcMOtdHmVCnBR41cB8dPbyuLLNdX2qBc0o40M4AIhAP2x5rPIyDKPF8srDQuWuzzL3Gb0fekPk4DsEj6bY88k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51029},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"gitHead":"fac0da66b093380e1abd91ccc58b59016a954d8c","scripts":{"test":"node --experimental-strip-types --test test/*.test.ts","build":"tsc -p tsconfig.json && tailwindcss -i src/styles.css -o dist/styles.css --minify","pretest":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"batcave-official","email":"batcavepost@gmail.com"},"repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"11.16.0","description":"Trusted EmDash plugin for scheduled AI-generated draft articles.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"clsx":"2.1.1","streamdown":"2.5.0","tailwind-merge":"3.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.2.7","emdash":"0.35.0","react-dom":"19.2.7","typescript":"6.0.3","tailwindcss":"4.3.1","@types/react":"19.2.17","@tailwindcss/cli":"4.3.1"},"peerDependencies":{"react":"^19.0.0","emdash":"0.35.0"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin_0.1.1_1788631984264_0.18341358650316875","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@op-lean/emdash-plugin","version":"0.1.2","license":"MIT","_id":"@op-lean/emdash-plugin@0.1.2","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"6a16430d3d9a1f19129418614f16674c605bf652","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.1.2.tgz","fileCount":31,"integrity":"sha512-H6NINFl5iCnGR7pxUqhMerY1+De3aIbXV4jTd99e3s40zeNezR6dUGzU1URDFHz5VmXEaWQPbnFdUpgCPzpY2w==","signatures":[{"sig":"MEYCIQDw1n72EYnAHf7sChokyCgxNSRWbKhw34ZnkxCy7SHcQAIhAJI0nf8Nsg3arX06cvdlXP2FwbSI1zs0R2ocdY0NwFKE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEBaVXZzR1eUkUVTXoVO84xZ82l6Vsb+J8YQRffKRmOFAiEAlDCrmN/mRf1+802rpBehl/6ZeHw2L6CteqsLT0M2qv4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51160},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"gitHead":"700fd6037d9ac740be9040b483a8a0dd4905790b","scripts":{"test":"node --experimental-strip-types --test test/*.test.ts","build":"tsc -p tsconfig.json && tailwindcss -i src/styles.css -o dist/styles.css --minify","pretest":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"batcave-official","email":"batcavepost@gmail.com"},"repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"10.9.3","description":"Trusted EmDash plugin for scheduled AI-generated draft articles.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"clsx":"2.1.1","streamdown":"2.5.0","tailwind-merge":"3.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.2.7","emdash":"0.39.1","react-dom":"19.2.7","typescript":"6.0.3","tailwindcss":"4.3.1","@types/react":"19.3.0","@tailwindcss/cli":"4.3.1"},"peerDependencies":{"react":"^19.0.0","emdash":"0.39.1"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin_0.1.2_1790281479056_0.5144714466275859","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@op-lean/emdash-plugin","version":"0.1.3","license":"MIT","_id":"@op-lean/emdash-plugin@0.1.3","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"9930d858f0929d527bedab7fd662e0010377c85d","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.1.3.tgz","fileCount":31,"integrity":"sha512-Pce7cAJb+7sd2CiP2oV+vKypdNJwEo3VD3Ws1yOknFQRDPPylN6ceHlEKnhimozh025VgLX6OlEJ5/+uzRnabQ==","signatures":[{"sig":"MEUCIECfVb6t0HsrS+E4UhssMd4z0C6rke00pP8tq1cBc8maAiEA4wjaBoB7Kqo/e/i8gf1Xjg2ECc4dNHjp7YFwew0Wibk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD2DK2I6yQh3yYYCE8PMZt9iVyjyv7neUL/D9tAcsHLmwIgIItc797Z6JGooRj63SZrfN2/afrjU8tdRoOEMPxtzHU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51053},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"gitHead":"4a7d07de513ae0e10bbd384b2a7643eba03deea4","scripts":{"test":"node --experimental-strip-types --test test/*.test.ts","build":"tsc -p tsconfig.json && tailwindcss -i src/styles.css -o dist/styles.css --minify","pretest":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"batcave-official","email":"batcavepost@gmail.com"},"repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"11.16.0","description":"Trusted EmDash plugin for scheduled AI-generated draft articles.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"clsx":"2.1.1","streamdown":"2.5.0","tailwind-merge":"3.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.2.7","emdash":"0.40.1","react-dom":"19.2.7","typescript":"6.0.3","tailwindcss":"4.3.1","@types/react":"19.3.0","@tailwindcss/cli":"4.3.1"},"peerDependencies":{"react":"^19.0.0","emdash":"^0.39.1 || ^0.40.1"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin_0.1.3_1790364145929_0.9068264905435115","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@op-lean/emdash-plugin","version":"0.1.4","license":"MIT","_id":"@op-lean/emdash-plugin@0.1.4","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"23bf4f8dc447e477c48a6bbcf877c4c026fd7384","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.1.4.tgz","fileCount":31,"integrity":"sha512-vsaYjPA18R6SWA5OlC3XwFuHQga0blXpHvF8QOLSTz0duRaNpCid1WwdwK7yqYR8HgwjDHzXx7zo+ABejjXvFw==","signatures":[{"sig":"MEUCIQCVgnE+v8N9apbvK+PZTFsq+L+7MFhFVi/a+TLUz7LLIQIgQdYCZceSTYArFSt0lVzLDyAqwSxw/VClED2tqT47dyc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDzSmVc1ZlStc+oXXl3OqLGbIotTBDsBpTiD5CvYuDg2gIhAIlnfTBCKMShPMhUGrZhxKKK7NKfi632IEHNqEjU4tUn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51135},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"gitHead":"21c91ceb3a2a033084b5ef4fb5d773d6e96e68ca","scripts":{"test":"node --experimental-strip-types --test test/*.test.ts","build":"tsc -p tsconfig.json && tailwindcss -i src/styles.css -o dist/styles.css --minify","pretest":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f6839eb4-2a17-488c-9962-3b5512edec7f"}},"repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"11.19.0","description":"Trusted EmDash plugin for scheduled AI-generated draft articles.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"clsx":"2.1.1","streamdown":"2.5.0","tailwind-merge":"3.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.2.7","emdash":"0.41.0","react-dom":"19.2.7","typescript":"6.0.3","tailwindcss":"4.3.1","@types/react":"19.3.0","@tailwindcss/cli":"4.3.1"},"peerDependencies":{"react":"^19.0.0","emdash":">=0.39.1 <1"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin_0.1.4_1790524881323_0.04653216390387227","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@op-lean/emdash-plugin","version":"0.1.5","license":"MIT","_id":"@op-lean/emdash-plugin@0.1.5","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"33753d16fb9655b4e8250296fb8feb378369d3e6","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.1.5.tgz","fileCount":31,"integrity":"sha512-Vno7RfIdTpSZ1jlZ79X9Ah89bE3RnPNLp8J+v34bl6XzQoBxgnWTW4IBHfHOwbCI02niii0oLbHYAs8L7se4fw==","signatures":[{"sig":"MEQCIBLEfNoYiab6UuP6Rz4WO0Uq5Fs4W2zx8ig5TL9lqvQLAiAeNv8Yzgq3qHh3xs8E0rTi81biem8GZ2hW+OpWysnqTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDKIRlzf2WIuTe5MY6L6QvIr0lmEDD7RLiZmPknewtt+QIhAND0VsnAeHp5+Q8YTtO8TDGkYYN0vIs4Dvfb3sHRmW4E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51144},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"gitHead":"453a43bff22ca1111cb15c92b4192e2b2805c3fd","scripts":{"test":"node --experimental-strip-types --test test/*.test.ts","build":"tsc -p tsconfig.json && tailwindcss -i src/styles.css -o dist/styles.css --minify","pretest":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"f6839eb4-2a17-488c-9962-3b5512edec7f"}},"repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"11.19.0","description":"Trusted EmDash plugin for scheduled AI-generated draft articles.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"clsx":"2.1.1","streamdown":"2.5.0","tailwind-merge":"3.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"19.2.7","emdash":"1.0.1","react-dom":"19.2.7","typescript":"6.0.3","tailwindcss":"4.3.1","@types/react":"19.3.0","@tailwindcss/cli":"4.3.1"},"peerDependencies":{"react":"^19.0.0","emdash":">=0.39.1 <1 || ^1.0.1"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin_0.1.5_1790685605013_0.9788365708917888","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"_id":"@op-lean/emdash-plugin@0.2.0","bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"dist":{"shasum":"d6bbb8df3a13f8ad2fe930a6e6cdfe3963aa3953","tarball":"https://registry.npmjs.org/@op-lean/emdash-plugin/-/emdash-plugin-0.2.0.tgz","fileCount":8,"integrity":"sha512-3lngPf9GQP5X2wCP+7945CT5T1kYdvVWz6zyj5oRmoLp2ogHuFSXhIlTGM8Y8+3NexQWd4iiFjcdRNN6sHbv+w==","signatures":[{"sig":"MEUCIQCa+f0liB7lxZ2DUcfAZWALLTdrLF757U3QzZPa6gUtpAIgHlTI4g5kgJP0c1TuGXh2210zJYaN/SEOxmN7b7nSMhw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEI1ddCv2t+hkpcpAeapzlsuYELbyFrDPu133uH/MMxdAiAbm/I1ZLcF6NsgX7erSlwHFOsa6F21gqI5kXbpXZayMA=="}],"unpackedSize":26485},"name":"@op-lean/emdash-plugin","type":"module","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./sandbox":{"types":"./dist/plugin.d.mts","default":"./dist/plugin.mjs"}},"gitHead":"e52a8414a620fd0e91f8492be622d5c937a0a95e","license":"MIT","scripts":{"test":"vitest run && node --experimental-strip-types --test test/emdash-contract.test.ts","build":"emdash-plugin build","bundle":"emdash-plugin bundle","pretest":"npm run build","validate":"emdash-plugin validate","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node -e \"if(require('node:fs').readFileSync('emdash-plugin.jsonc','utf8').includes('publisher.example.invalid')) throw new Error('Configure a real Atmosphere publisher before releasing the sandbox package')\""},"version":"0.2.0","_npmUser":{"name":"batcave-official","email":"batcavepost@gmail.com"},"homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"_npmVersion":"10.9.3","description":"Sandboxed EmDash plugin for scheduled Original Poster AI drafts.","directories":{},"maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"_nodeVersion":"24.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.3.3","emdash":"1.1.0","vitest":"4.1.11","typescript":"7.0.2","@emdash-cms/blocks":"1.1.0","@emdash-cms/plugin-cli":"0.13.2","@emdash-cms/plugin-test":"0.2.7"},"peerDependencies":{"emdash":"^1.0.1"},"peerDependenciesMeta":{"emdash":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/emdash-plugin_0.2.0_1791477573488_0.9908947055552146"}}},"time":{"created":"2026-09-03T18:28:39.816Z","modified":"2026-10-08T16:39:33.753Z","0.1.0":"2026-09-03T18:28:40.186Z","0.1.1":"2026-09-05T18:13:04.404Z","0.1.2":"2026-09-24T20:24:39.160Z","0.1.3":"2026-09-25T19:22:26.007Z","0.1.4":"2026-09-27T16:01:21.418Z","0.1.5":"2026-09-29T12:40:05.103Z","0.2.0":"2026-10-08T16:39:33.568Z"},"bugs":{"url":"https://github.com/originalposter-ai/emdash-ai-content-pipeline/issues"},"license":"MIT","homepage":"https://github.com/originalposter-ai/emdash-ai-content-pipeline#readme","repository":{"url":"git+https://github.com/originalposter-ai/emdash-ai-content-pipeline.git","type":"git","directory":"plugin"},"description":"Sandboxed EmDash plugin for scheduled Original Poster AI drafts.","maintainers":[{"name":"batcave-official","email":"batcavepost@gmail.com"}],"readme":"# Original Poster for EmDash\r\n\r\nSandboxed plugin for EmDash 1.0.1 or later. It creates article drafts and separate revision drafts through the paid Original Poster service. It never publishes content.\r\n\r\nThe plugin is free and MIT licensed. Generation requires a service subscription sold through Stripe. Topics and selected source content leave the site for the private service and its configured AI provider. Disconnecting stops local scheduling and removes credentials. It does not cancel Stripe or undo a provider call already started.\r\n\r\n## Package installation\r\n\r\nVersion 0.2.0 uses the sandbox descriptor. For local verification, build and pack the plugin workspace, then install its tarball in a test site.\r\n\r\n```sh\r\nnpm run build --workspace plugin\r\nnpm pack --workspace plugin --pack-destination .local\r\n```\r\n\r\n```sh\r\nnpm install @op-lean/emdash-plugin\r\n```\r\n\r\n```js\r\nimport originalPoster from \"@op-lean/emdash-plugin\";\r\n// In the site's existing emdash(...) configuration:\r\nsandboxed: [originalPoster],\r\n```\r\n\r\nUse the site's standard sandbox runner. On Cloudflare it requires Worker Loader, PluginBridge, plugin code storage, an EmDash encryption key and the EmDash scheduler with a Cron Trigger. These belong to the site host. Open Original Poster in the Plugins menu, connect the paid service, then configure topics and a schedule. Credentials are saved in encrypted EmDash settings; no per-plugin Worker secret is needed.\r\n\r\nGeneration runs in the private service's Cloudflare Workflow. A plugin cron task retrieves its result and saves a draft after the browser closes. A job the service reports as failed, for example over the spend limit, is cleared and shown as an error; the next Create draft starts a new paid job. A job whose result could not be read or saved stops automatic polling. Check access and the service spend ledger, then check the result again or discard the job.\r\n\r\nThe destination collection must have `title: string` and `content: portableText`. The default is `posts`. Configure the collection in plugin settings. Revision drafts preserve the source entry.\r\n\r\n## Interrupted draft saves\r\n\r\nA retry of the same generation job uses its stored output. CMS creation is a separate operation. `completeContentWrite` in `src/flow.ts` creates the draft, stores its ID in plugin KV, sends that ID to `/v1/content-complete`, and deletes the KV receipt. `finishPendingDraft` then deletes the pending job.\r\n\r\nAn interruption can create a second draft in two cases:\r\n\r\n1. CMS commits the draft, but its bridge reply is lost or execution stops before the KV receipt is stored. Recovery cannot find the first draft's ID and calls CMS create again.\r\n2. The service confirms completion and the plugin deletes its KV receipt, but execution stops before pending-job deletion. Recovery still sees the job. This polling path does not check the service's completed-write receipt before calling CMS create again.\r\n\r\nWhile the KV receipt exists, recovery reuses its ID, including after a failed completion request. The first gap predates the sandbox migration. The second is in the asynchronous polling path introduced in 0.2.0. Both remain unresolved. They can duplicate a CMS draft using the existing generation output; they do not themselves request another paid generation or publish either draft. These are code-identified failure windows, not an observed production incident. Successful local retry checks do not prove crash-safe CMS creation.\r\n\r\n## Build and verification\r\n\r\n```sh\r\nnpm ci\r\nnpm run check\r\nnpm test\r\nnpm run build\r\nnpm run bundle --workspace plugin\r\n```\r\n\r\nThe pinned official `@emdash-cms/plugin-cli@0.13.2` builds `dist/plugin.mjs`, `dist/manifest.json` and the default npm descriptor `dist/index.mjs`. Only the plugin workspace is distributable. The private service, D1 database and provider secrets are excluded.\r\n\r\n`emdash-plugin.jsonc` pins publisher `did:plc:ug6xwhbclf7z3hprhpje4gdh`, currently `originalposter-ai.bsky.social`. The official CLI checks that the authenticated publisher matches this identity before registry publication. Manual registry releases upload the bundle to this publisher's PDS. Delegated repository releases require a public plugin-only source repository. npm publication does not add a catalog listing. Hosting and rollout belong to `op-lean`.\r\n\r\nThe service must deploy `GenerationWorkflow` and its `GENERATION` binding before client rollout. This migration has not deployed either component.\r\n","readmeFilename":"README.md"}