Repository navigation
Releases
Releases · yxhpy/playwright-openai-plugin
v0.3.6 - Browser publisher coverage
Highlights
- Adds X Articles publisher CLI, docs, skill, and tests for draft-safe Markdown article preparation.
- Adds Xiaohongshu publisher CLI, docs, skill, and tests for draft-safe note preparation with local media and settings.
- Brings newer ChatGPT chat tool-mode and image revision readiness handling into the standalone plugin.
- Updates plugin metadata, install docs, and package bins for the new publisher entrypoints.
Verification
- npm run check
- node scripts/x-articles-publish.mjs --help
- node scripts/xhs-publish.mjs --help
- git diff --check
v0.3.5 - CSDN install surface alignment
Changes
- Update package metadata to describe both OpenAI and CSDN browser workflows.
- Update install docs to verify
scripts/csdn-publish.mjs --helpafter install. - Update local install script output to include the CSDN publisher verification command.
Verification
npm run check- 56 tests passed
Notes
Core CSDN automation behavior is unchanged from v0.3.4. This release closes the install/documentation surface so new users can discover and verify the publisher after installation.
v0.3.4 - Verified CSDN publish settings
Changes
- Verify requested CSDN publish settings before returning success.
- Confirm cover, summary, tags, category, article type, source URL, and visibility from the publish dialog.
- Add
--source-urlfor reposted or translated articles. - Block
repostandtranslateddry-runs when--source-urlis missing. - Expand CSDN docs, skill guidance, and regression tests.
Verification
npm run check- 56 tests passed
- Dry-run blocks
--article-type repostwithout--source-url - Dry-run passes
--article-type repost --source-url https://example.com/original
Safety
--publish is still gated by --confirm-publish "<exact title>". Normal operation should use --dry-run, --inspect, or --draft.
v0.3.3 - CSDN draft publishing
Changes
- Add
csdn-publishCLI for CSDN Markdown publishing automation. - Add CSDN draft workflow for title, Markdown import, local body image upload, cover upload, summary, tags, category, article type, and visibility.
- Add exact-title confirmation guard: final publication requires
--publish --confirm-publish "<exact title>". - Add
skills/csdn-publish/SKILL.mdso Codex can route CSDN publishing work through the plugin. - Add CSDN usage docs and regression tests.
Verification
npm run check- 53 tests passed
Safety
Normal automation should use --dry-run, --inspect, or --draft. The final publish path is intentionally gated by exact title confirmation.
v0.3.2 - Sprite Action Pack Reliability
v0.3.2 - Sprite Action Pack Reliability
Added
- Recover foreground sprite poses from the whole sheet before splitting cells, preserving small cross-cell spillovers like feet, hats, and effects.
- Add bottom-center frame anchoring plus
package/contact_sheet.pngfor fast sprite review. - Add
--frame-orderfor manual frame curation and rhythm fixes without regenerating.
Fixed
- Prevent selective regeneration failures from crashing
action-pack create. - Avoid collecting uploaded reference images as generated outputs.
Validation
npm run check- Live smoke: generated a Wu Zetian water-jutsu action pack with strict QA pass, 9 frames, 0 errors, 0 warnings.
v0.3.1
Highlights
- Adds difficulty-aware image model routing for
poai image send,submit,revise, and action-pack generation. - Routes simple image requests to Instant and harder image work to Thinking, including explicit
light,extended,heavy,xhigh, and related aliases. - Avoids treating Pro as the normal image-generation route;
--model prois interpreted as high-quality image intent and routed to Thinking/Heavy. - Updates model matching for GPT-5.5 Pro and GPT-5.5 Thinking labels while keeping GPT-5.4 fallbacks.
Notes
standardandadvancedremain image-surface mode requests, but they depend on the current ChatGPT Images UI exposing that mode selector.- The CLI records requested thinking effort in non-secret job metadata. It does not yet mutate a separate ChatGPT Web thinking-time selector because that selector still needs stable live verification.
Validation
npm run checkpassed with 41 tests.scripts/poai --helpshows the new image model aliases.scripts/poai status --jsonreported the managed CDP endpoint ready.- Live image smoke completed and collected one PNG each for
instant,thinking, andheavy.
v0.3.0
Changes
- Add the gpt-image-prompt-router Codex skill.
- Bundle an attributed offline prompt catalogue adapted from YouMind-OpenLab/awesome-gpt-image-2 under CC BY 4.0.
- Add dependency-free route/search/show/categories prompt lookup.
- Add regression tests for prompt-router catalogue search and attribution.
Verification
- npm run check: 37 tests passed.
- skill-creator quick_validate.py: Skill is valid.
- prompt_router.py smoke checks for Chinese search, route, show, and category lookup passed.
v0.2.1
Highlights
- Speeds up image wait/collect workflows when ChatGPT shows a stale generation indicator after a generated artifact is already available.
- Improves action-pack background cleanup by removing darker same-hue background spill, including foot shadow residue.
- Tightens action-pack generation prompts to ask for no cast shadows or ground shadows.
Verification
npm run checkpassed with 34 tests.scripts/poai --helpverified CLI wiring.- Offline action-pack smoke passed with strict QA using existing raw sheets.
Safety
- No browser login state, cookies, local storage, auth headers, job metadata, generated outputs, prompt text, or generated source URLs are included in the plugin release.
v0.2.0
Highlights
- Added one-command action-pack workflow: generate/package sprite sheets into transparent frames, atlas, GIF, manifest, QA report, and zip.
- Added strict action-pack QA gate with frame bounds, center drift, scale drift, edge residue, blank-frame, and crop-safety checks.
- Added selective action regeneration with --regen-failed and bounded --regen-attempts.
- Hardened model picker handling for current ChatGPT UI drift.
- Added offline packaging from existing sheets with --from-dir.
Verification
- npm run check passes with 31 tests.
- Plugin manifest and package versions are 0.2.0.
v0.1.0 Initial release
Initial installable Codex plugin release for Playwright OpenAI.
Highlights:
- Codex plugin manifest and skill for the poai CLI.
- Browser-backed ChatGPT status/discover/chat/image workflows.
- Image submit, wait, collect, revise, inspect, and jobs management.
- One-reference-image upload support.
- Safety-first redaction: no browser credentials, jobs, profiles, or outputs are included.
Install:
git clone https://github.com/yxhpy/playwright-openai-plugin ~/.codex/plugins/playwright-openai-plugin
cd ~/.codex/plugins/playwright-openai-plugin
npm install
scripts/poai --helpVerification before release: npm run check passed with 23 tests.