feat(baoyu-post-to-x): add post-composition verification and improve stability

Add automatic check after article images are inserted: verifies remaining
XIMGPH placeholders and expected vs actual image count. Increase CDP timeout
to 60s and add 3s DOM stabilization delay between image insertions.
This commit is contained in:
Jim Liu 宝玉
2026-03-05 00:55:56 -06:00
parent 4c9e57777b
commit 42931d6294
3 changed files with 52 additions and 4 deletions
@@ -132,8 +132,12 @@ JSON output:
- Select the placeholder
- Copy image to clipboard
- Paste to replace selection
9. **Review**: Browser stays open for 60s preview
10. **Publish**: Only with `--submit` flag
9. **Post-Composition Check** (automatic):
- Scan editor for remaining `XIMGPH_` placeholders
- Compare expected vs actual image count
- Warn if issues found
10. **Review**: Browser stays open for 60s preview
11. **Publish**: Only with `--submit` flag
## Example Session