Jim Liu 宝玉
260b71cdd7
feat(baoyu-danger-x-to-markdown): add --download-media flag and media localization
2026-02-12 01:56:24 -06:00
Jim Liu 宝玉
c83d114a73
fix(baoyu-post-to-x): fix Windows clipboard and path handling
...
- Embed file path directly in PowerShell script with single-quote escaping
instead of using param()/−Path which fails with -Command parameter.
- Use fileURLToPath() for getScriptDir() to handle Windows drive-letter paths.
2026-02-10 16:05:09 -06:00
Jim Liu 宝玉
e964100dd9
fix(baoyu-post-to-wechat): fix PowerShell clipboard copy on Windows
...
Embed file path directly in PowerShell script with single-quote escaping
instead of using param()/−Path which fails with -Command parameter.
2026-02-10 16:05:03 -06:00
Jim Liu 宝玉
52ade637af
fix(baoyu-post-to-x): fix Chrome launch on macOS and cover image path resolution
...
Use open -na on macOS to avoid process blocking; resolve relative cover image
paths to absolute paths.
2026-02-10 15:46:14 -06:00
Jim Liu 宝玉
569beebdd6
feat(baoyu-post-to-wechat): adapt to new WeChat UI and fix digest/cover handling
...
Rename 图文 to 贴图 throughout; add ProseMirror editor support with old editor
fallback; add fallback file input selector; add upload progress monitoring;
improve save button detection with toast verification; truncate digest > 120
chars at punctuation boundary; fix cover image relative path resolution.
2026-02-10 15:46:09 -06:00
Jim Liu 宝玉
5615e6150f
feat(baoyu-post-to-wechat): add comment control, cover fallback chain, and first-time setup
2026-02-07 15:50:23 -06:00
Jim Liu 宝玉
38a1b90db3
refactor(baoyu-article-illustrator): optimize SKILL.md from 197 to 150 lines
2026-02-06 16:21:58 -06:00
Jim Liu 宝玉
372e03cef3
refactor(baoyu-cover-image): optimize SKILL.md from 532 to 233 lines
2026-02-06 16:13:47 -06:00
Jim Liu 宝玉
6fffe252c0
fix(baoyu-cover-image): enhance reference image analysis and prompt generation
...
- Add deep analysis template for extracting specific visual elements
- Require MUST INCORPORATE section with concrete, reproducible details
- Add integration approach for spatial layout instructions
- Clarify ref-capable backend requirements (Google/OpenAI)
2026-02-06 16:07:09 -06:00
Jim Liu 宝玉
86a84739e8
feat(baoyu-image-gen): add OpenAI GPT Image edits support for reference images
...
- Support --ref with OpenAI GPT Image models (gpt-image-1.5)
- Auto-select Google or OpenAI when --ref provided
- Change ref-related warnings to explicit errors with fix hints
- Add reference image validation before generation
- Improve retry logic to skip non-retryable errors
2026-02-06 16:06:58 -06:00
Jim Liu 宝玉
61960961ba
feat(baoyu-cover-image): add font dimension with 4 styles
...
Add 6th dimension for typography control:
- clean: modern geometric sans-serif
- handwritten: warm hand-lettered style
- serif: classic elegant typography
- display: bold decorative headlines
Includes auto-selection rules, compatibility matrix, and warm-flat preset.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 14:55:11 -06:00
Jim Liu 宝玉
c742bfa1af
fix(baoyu-url-to-markdown): improve html extraction and markdown conversion
2026-02-06 13:35:28 -06:00
Jim Liu 宝玉
0faea4ecaa
Merge pull request #38 from kingdomad/feature/baoyu-image-gen-extend-config
...
add EXTEND.md configuration support
2026-02-05 23:10:11 -06:00
史提芬达
24a17709a8
add EXTEND.md configuration support
2026-02-05 19:46:22 +08:00
AlexCheval
a3849af0cf
fix(baoyu-post-to-wechat): fix title and list number duplication in WeChat articles
...
- Remove title from body content when extracting it for WeChat title field
to prevent duplicate title display (one in header, one in content)
- Remove manual ordered list prefix since HTML <ol> already provides numbering,
preventing "1.1.", "2.2.", "3.3." duplication
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-05 10:04:34 +08:00
Jim Liu 宝玉
e7d9ed7917
fix(baoyu-post-to-wechat): remove extra empty lines after image paste and fix summary timing
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-03 11:49:13 -06:00
Jim Liu 宝玉
876c6332f6
feat(baoyu-markdown-to-html): add HTML meta tags and quote stripping for frontmatter
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-03 11:49:07 -06:00
Jim Liu 宝玉
b9e48d9483
fix(baoyu-post-to-wechat): fix placeholder matching to avoid WECHATIMGPH_1 matching WECHATIMGPH_10
2026-02-03 11:06:41 -06:00
Jim Liu 宝玉
12f3d95639
fix(baoyu-post-to-x): improve Chrome reuse and placeholder matching in x-article
2026-02-03 11:01:09 -06:00
Jim Liu 宝玉
be20bdf0be
refactor(baoyu-article-illustrator): simplify SKILL.md and add Core Styles tier
...
- Extract detailed workflow to references/workflow.md
- Add Core Styles for quick selection (vector, minimal-flat, sci-fi, hand-drawn, editorial, scene)
- Add vector-illustration as recommended default style
- Add Illustration Purpose (information/visualization/imagination)
- Add default composition, character rendering, text styling to prompts
2026-02-02 09:11:43 -06:00
Jim Liu 宝玉
e563bbae7b
feat(baoyu-post-to-wechat): add newspic article type support
...
- Add ArticleOptions interface with news/newspic types
- Track all image media IDs for newspic format
- Restructure publishToDraft for dual article type handling
2026-02-01 19:49:14 -06:00
Jim Liu 宝玉
c63d1eec69
refactor(baoyu-xhs-images): enforce blocking first-time setup
...
- Mark preferences loading as BLOCKING operation
- Update workflow flow diagram and checklist
2026-02-01 19:49:05 -06:00
Jim Liu 宝玉
78d6d23359
refactor(baoyu-comic): enforce blocking first-time setup
...
- Mark preferences loading as BLOCKING operation
- Update workflow flow diagram
2026-02-01 19:48:56 -06:00
Jim Liu 宝玉
ec6781a231
feat(baoyu-article-illustrator): add reference image support
...
- Add reference image handling with direct/style/palette usage types
- Enhance first-time setup as blocking operation
- Update prompt construction with reference frontmatter format
2026-02-01 19:48:46 -06:00
Jim Liu 宝玉
edf9030675
feat(baoyu-cover-image): add reference image support and visual elements library
...
- Add --ref parameter for reference images (style/palette/direct usage)
- Add visual-elements.md with icon vocabulary by topic
- Enhance first-time setup as blocking operation
- Remove character limits from titles, use original source titles
- Update prompt template with reference handling
2026-02-01 19:48:37 -06:00
Jim Liu 宝玉
dbab83ff82
feat(baoyu-markdown-to-html): add remark-cjk-friendly for CJK emphasis
...
Preprocess markdown with remark-cjk-friendly to properly handle
CJK emphasis markers before HTML conversion.
2026-02-01 02:14:12 -06:00
Jim Liu 宝玉
478e66a93a
docs(baoyu-infographic): clarify AskUserQuestion usage
...
Emphasize combining multiple questions into single call.
2026-02-01 02:14:06 -06:00
Jim Liu 宝玉
3a5866eb4b
refactor(baoyu-format-markdown): use remark-cjk-friendly for CJK emphasis
...
Replace custom CJK emphasis handling with remark-cjk-friendly library,
significantly simplifying the codebase.
2026-02-01 02:13:58 -06:00
Jim Liu 宝玉
e9342a16f8
fix(baoyu-xhs-images): remove notebook style, add backup rules for prompts and images
2026-01-29 22:01:47 -06:00
Jim Liu 宝玉
5cb86d8e51
feat(baoyu-slide-deck): add backup rules for source, prompt, and slide image files
2026-01-29 22:01:42 -06:00
Jim Liu 宝玉
66ed08f010
feat(baoyu-infographic): add backup rules for source, analysis, prompt, and image files
2026-01-29 22:01:22 -06:00
Jim Liu 宝玉
b179166d28
feat(baoyu-cover-image): add backup rules for source and prompt files
2026-01-29 22:01:17 -06:00
Jim Liu 宝玉
4805526649
feat(baoyu-comic): add backup rules for source, character sheet, prompts, and page images
2026-01-29 22:00:59 -06:00
Jim Liu 宝玉
89159bf86e
feat(baoyu-article-illustrator): add backup rules for source, prompt, and image files
2026-01-29 22:00:37 -06:00
Jim Liu 宝玉
62866426c5
feat(baoyu-xhs-images): add notebook and study-notes styles with mindmap and quadrant layouts
...
- notebook: hand-drawn infographic style with watercolor rendering and Morandi palette
- study-notes: realistic handwritten photo style with blue pen, red annotations, yellow highlighter
- mindmap: center radial layout (4-8 branches)
- quadrant: four-quadrant / circular section layout
2026-01-29 20:59:24 -06:00
Jim Liu 宝玉
28a7db6129
chore: release v1.25.4
2026-01-29 17:17:58 -06:00
Jim Liu 宝玉
058d25d02c
feat(baoyu-format-markdown): add content type detection and CJK punctuation handling
2026-01-28 22:31:25 -06:00
Jim Liu 宝玉
18b71157db
feat(baoyu-markdown-to-html): add CJK content pre-check step
...
Suggest formatting with baoyu-format-markdown before conversion
to fix bold markers with punctuation issues.
2026-01-28 21:49:47 -06:00
Jim Liu 宝玉
81e96ee43c
feat(baoyu-post-to-wechat): add API publishing and external theme support
...
- Add wechat-api.ts for direct API-based article publishing
- Support plain text, HTML, and markdown inputs with auto-conversion
- Add external theme discovery from MD_THEME_DIR environment variable
- Improve CSS inlining with juice library integration
- Support WeChat API credentials via .baoyu-skills/.env
2026-01-28 21:37:40 -06:00
Jim Liu 宝玉
5f994589b3
feat(baoyu-markdown-to-html): add markdown to HTML converter skill
...
Converts markdown to styled HTML with inline CSS, code highlighting,
math, PlantUML, footnotes, alerts, and WeChat-compatible themes.
2026-01-28 21:37:30 -06:00
Jim Liu 宝玉
40363194be
feat(baoyu-format-markdown): add markdown formatter skill
...
Formats plain text or markdown with frontmatter, titles, summaries,
headings, bold, lists, code blocks, and CJK typography fixes.
2026-01-28 21:37:23 -06:00
Jim Liu 宝玉
4d3957ca06
fix(baoyu-post-to-x): ensure Apply button click closes modal before continuing
2026-01-28 14:54:39 -06:00
Jim Liu 宝玉
40fadcb1f6
docs: emphasize updating prompt files before regenerating
2026-01-28 13:56:35 -06:00
Jim Liu 宝玉
fa89eaf2f7
refactor(baoyu-image-gen): default to sequential generation
2026-01-28 13:14:39 -06:00
jianzhang50
907c8ab852
Adapting baoyu-image-gen to the Tongyi Text-to-Image Model
2026-01-28 09:04:57 +08:00
Jim Liu 宝玉
b1af3a3e45
fix(baoyu-post-to-wechat): improve title extraction, summary auto-fill, and content verification
2026-01-27 10:06:11 -06:00
Jim Liu 宝玉
0727296592
Merge pull request #23 from AliceLJY/feat/reuse-existing-chrome
...
feat(baoyu-post-to-wechat): reuse existing Chrome instead of requiring all windows closed
2026-01-27 08:03:46 -06:00
Jim Liu 宝玉
366630f8c3
fix(baoyu-compress-image): rename original as backup instead of deleting
2026-01-27 00:59:30 -06:00
安闲静雅
6bfafe0ec5
feat(baoyu-post-to-wechat): reuse existing Chrome instead of requiring all windows closed
...
Previously, the script always launched a new Chrome instance, which failed
when Chrome was already running due to profile lock conflicts on macOS.
Users had to close all Chrome windows before publishing.
This change adds auto-detection of existing Chrome debug ports and reuses
an already-logged-in WeChat tab when available, falling back to launching
a new instance only when no existing Chrome is found.
Changes:
- cdp.ts: add tryConnectExisting() and findExistingChromeDebugPort()
- wechat-article.ts: try existing Chrome before launching new one,
reuse logged-in WeChat tab (identified by token= in URL),
add waitForElement() for reliable menu detection,
add --cdp-port option for manual override,
fix process not exiting after completion
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-27 13:16:33 +08:00
Jim Liu 宝玉
40f4d2f730
refactor(baoyu-cover-image): replace 20 styles with 5D palette×rendering system
...
Migrate from 4-dimension (Type×Style×Text×Mood) to 5-dimension
(Type×Palette×Rendering×Text×Mood) system. 9 palettes × 6 renderings
= 54 combinations replacing 20 fixed styles. Add style presets for
backward compatibility, v2→v3 schema migration, and new reference
structure (palettes/, renderings/, workflow/).
2026-01-26 11:32:30 -06:00