Alec Jiang
d9f9da639d
fix(baoyu-chrome-cdp): support Chrome 146 native remote debugging (approval mode)
...
Chrome 146+ blocks all HTTP endpoints (/json/version) in approval mode.
Read DevToolsActivePort ws path directly and use TCP port check instead
of HTTP discovery. Add WebSocket connect retry loop for approval dialog.
Unify findExistingChromeDebugPort to use the same mechanism.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-16 18:00:58 +08:00
bviews
126b3040e6
fix(gemini-web): reuse openPageSession and fix orphaned tab leak
...
- Replace manual CDP target orchestration with openPageSession, keeping
behavior consistent with fetch_google_cookies_via_cdp
- Move created-tab cleanup into finally block so tabs are always closed
even when Target.attachToTarget or Network.enable throws
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-16 16:44:53 +08:00
bviews
682888cc95
feat(baoyu-chrome-cdp): support connecting to existing Chrome session
...
Add ability to discover and connect to an already-running Chrome browser
(v144+) for cookie extraction, avoiding the need to launch a new window
and re-login. Uses Chrome's DevToolsActivePort from default user data
directories and process scanning as discovery mechanisms.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-16 15:51:57 +08:00
Jim Liu 宝玉
926f74e9c9
feat(baoyu-cover-image): add character preservation from reference images
2026-03-14 23:07:56 -05:00
Jim Liu 宝玉
339990e87e
feat(baoyu-article-illustrator): add configurable output directory support
2026-03-14 23:07:56 -05:00
shixy
2aa9790789
fix: preserve inline code in cjk emphasis
2026-03-14 17:12:03 +08:00
shixy
38fc733b99
fix(markdown-to-html): preserve inline code inside bold/emphasis
...
The `extractText()` helper in `preprocessCjkEmphasis()` only handled
`text` nodes and nodes with `children`. `inlineCode` AST nodes (which
have a `value` but no `children`) fell through to the default empty-
string return, silently dropping their content.
For example `**算出 \`logits\`**` rendered as `<strong>算出 </strong>`
with the code span completely lost.
Add an `inlineCode` branch that wraps the node value in backticks so
the downstream `marked` pass can turn it into a proper `<code>` element.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-14 16:13:02 +08:00
JianJang2017
ac2ce0b8b6
Add qwen-image-2.0-pro support for baoyu-image-gen
2026-03-13 19:09:54 -05:00
Jim Liu 宝玉
de7dc85361
chore: sync shared skill package vendor test files
2026-03-13 17:56:53 -05:00
Jim Liu 宝玉
774ad784d8
test: migrate tests from centralized mjs to colocated TypeScript
...
Move test files from tests/ directory to colocate with source code,
convert from .mjs to .ts using tsx runner, add workspaces and npm
cache to CI workflow.
2026-03-13 16:36:06 -05:00
Jim Liu 宝玉
70d9f63727
docs(baoyu-image-gen): add Jimeng and Seedream provider documentation
2026-03-13 16:16:57 -05:00
Jim Liu 宝玉
3398509d9e
refactor(baoyu-image-gen): export functions for testability and add module entry guard
2026-03-13 16:16:50 -05:00
Jim Liu 宝玉
a11613c11b
Merge pull request #88 from JimLiu/lindaifeng/main
...
fix(image-gen): tighten Jimeng provider behavior
2026-03-13 15:58:07 -05:00
Jim Liu 宝玉
cb17cb9cca
fix(image-gen): tighten Jimeng provider behavior
2026-03-13 15:39:46 -05:00
Jim Liu 宝玉
88d6e09472
Merge pull request #87 from lindaifeng/main
...
Integrate DreamGraph and DoubaoGraph
2026-03-13 15:35:15 -05:00
Jim Liu 宝玉
7e07c1bb84
refactor(baoyu-translate): replace remark/unified with markdown-it for chunk parsing
...
Simplifies dependencies and adds main.ts CLI entry point with exported
functions for programmatic reuse.
2026-03-13 15:27:25 -05:00
lindaifeng
c151f33775
Merge branch 'JimLiu:main' into main
2026-03-14 00:39:44 +08:00
ldf
32003da694
集成即梦生图和豆包生图
2026-03-14 00:37:46 +08:00
Jim Liu 宝玉
374a6b28fd
feat(baoyu-post-to-wechat): add placeholder image upload and fix frontmatter parsing
2026-03-13 10:58:13 -05:00
Jim Liu 宝玉
fc324319d8
fix: preserve weibo image metadata in shared md package
2026-03-13 10:44:23 -05:00
Jim Liu 宝玉
056fa06c3b
refactor: share markdown renderer via baoyu-md
2026-03-13 10:20:28 -05:00
Jim Liu 宝玉
12b43e166d
feat(baoyu-image-gen): add OpenRouter provider support
2026-03-13 09:18:34 -05:00
Jim Liu 宝玉
0279fa403d
feat(baoyu-url-to-markdown): add defuddle.md API fallback, YouTube transcripts, and modular converter architecture
2026-03-13 00:22:03 -05:00
Jim Liu 宝玉
1e6e6637ac
feat(baoyu-infographic): support flexible aspect ratios
...
Accept custom W:H ratios (e.g., 3:4, 4:3, 2.35:1) in addition to
named presets (landscape/portrait/square).
2026-03-12 01:50:36 -05:00
Jim Liu 宝玉
873b60aee5
docs(wechat): replace credential-like placeholders
2026-03-12 00:53:33 -05:00
Jim Liu 宝玉
5276fae6bd
feat(baoyu-post-to-wechat): add multi-account support
...
Support multiple WeChat Official Accounts via EXTEND.md accounts block.
Each account gets isolated Chrome profile, credential resolution chain
(inline → prefixed env → unprefixed env), and --account CLI arg.
2026-03-11 23:24:02 -05:00
Jim Liu 宝玉
c79066e96e
fix(baoyu-post-to-x): add missing fs import in x-article
2026-03-11 22:18:11 -05:00
Jim Liu 宝玉
3bba18c1fe
build: commit vendored shared skill packages
2026-03-11 20:45:25 -05:00
Jim Liu 宝玉
069c5dc7d7
refactor: unify skill cdp and release artifacts
2026-03-11 19:38:59 -05:00
Jim Liu 宝玉
00bf946403
支持复用已有 Chrome CDP 实例,修复端口检测顺序问题
2026-03-11 17:24:18 -05:00
Jim Liu 宝玉
7b8247544d
refactor(baoyu-post-to-weibo): add entry point guard to md-to-html.ts
2026-03-11 16:45:56 -05:00
Jim Liu 宝玉
a9576ebc67
fix(baoyu-post-to-x): remove disable-blink-features Chrome flag
2026-03-11 16:45:55 -05:00
Jim Liu 宝玉
79ca378229
fix(baoyu-translate): improve annotation density and style preset passing
...
- Add short text (<5 sentences) annotation reduction rule to translator's notes
- Explicitly pass resolved style preset to 02-prompt.md assembly in all modes
2026-03-11 16:45:51 -05:00
Jim Liu 宝玉
df9ce95c46
fix: restore Google as default provider when multiple keys available
...
EXTEND.md default_provider still takes priority over auto-detect.
Priority: CLI --provider > EXTEND.md default_provider > auto-detect (Google first).
2026-03-09 00:52:53 -05:00
Jim Liu 宝玉
88b433d565
docs: improve skill documentation clarity
...
- Fix Provider Selection: default to Replicate when multiple keys available (matches code)
- Add Replicate column to Quality Presets table (normal→1K, 2k→2K)
- Add Replicate aspect ratio behavior (match_input_image when --ref without --ar)
- Remove stale Google Imagen reference from Aspect Ratios
- Add batch file format example with JSON schema to SKILL.md
- Note that batch paths resolve relative to batch file directory
- Move batch execution strategy in article-illustrator before numbered steps
- Fix translate image-language reminder to use standard markdown syntax
with note to match article's own image syntax convention
2026-03-09 00:43:05 -05:00
Jim Liu 宝玉
5acef7151b
feat: add batch parallel image generation and provider-level throttling
...
- Add --batchfile and --jobs flags for multi-image parallel generation
with per-provider concurrency control and rate limiting
- Refactor main.ts into prepareSingleTask/prepareBatchTasks/runBatchTasks
with worker pool pattern and up to 3 retries per image
- Fix Replicate provider: use image_input array (nano-banana-pro schema),
add match_input_image aspect ratio, add quality-to-resolution mapping
- Improve OpenAI error message for missing API key (Codex auth hint)
- Expand non-retryable error detection (4xx codes, disabled models)
- Add batch config to EXTEND.md schema (max_workers, provider_limits)
- Add build-batch.ts for article-illustrator batch workflow integration
- Add image-language awareness pass to baoyu-translate
Co-authored-by: 敖氏 <aoshi@MacBook-Air.local >
2026-03-09 00:07:45 -05:00
Jim Liu 宝玉
4935dc8b1a
fix: surface agent-browser startup errors
2026-03-08 22:25:34 -05:00
Jim Liu 宝玉
c43ed57ffc
Merge pull request #69 from liby/feat/xdg-config-path
...
feat: add XDG config path support for EXTEND.md
2026-03-08 22:19:52 -05:00
Jim Liu 宝玉
d96368492e
Merge pull request #66 from luojiyin1987/fix/harden-command-exec-and-js-escaping
...
fix: harden command execution and JS literal escaping
2026-03-08 22:10:45 -05:00
Jim Liu 宝玉
fa82c3d910
refactor(baoyu-xhs-images): use skill interface instead of direct script invocation for image generation
2026-03-08 19:24:03 -05:00
Jim Liu 宝玉
90730bc551
refactor(baoyu-comic): use skill interface instead of direct script invocation for image generation
2026-03-08 19:24:02 -05:00
Jim Liu 宝玉
154ccfe3ff
refactor: add openclaw metadata and rename SKILL_DIR to baseDir across all skills
2026-03-08 19:22:24 -05:00
Jim Liu 宝玉
93efa5aeb1
refactor(baoyu-comic): add openclaw metadata, baseDir rename, and decouple image skill path
2026-03-08 19:22:19 -05:00
Jim Liu 宝玉
40ccbed74a
refactor(baoyu-danger-x-to-markdown): add openclaw metadata, baseDir rename, and dynamic script path
2026-03-08 19:22:18 -05:00
Jim Liu 宝玉
fbf2bc02c5
refactor(baoyu-danger-gemini-web): add openclaw metadata, baseDir rename, and dynamic script path
2026-03-08 19:22:18 -05:00
Bryan Lee
a702513487
feat: add XDG config path support for EXTEND.md
...
Add $XDG_CONFIG_HOME/baoyu-skills/<skill>/EXTEND.md as second priority
path between project-level and legacy $HOME/.baoyu-skills/ paths.
Priority order:
1. .baoyu-skills/<skill>/EXTEND.md (project)
2. $XDG_CONFIG_HOME/baoyu-skills/<skill>/EXTEND.md (XDG, new)
3. $HOME/.baoyu-skills/<skill>/EXTEND.md (legacy fallback)
Updated: CLAUDE.md template, 16 SKILL.md files, 2 workflow.md
references, and 2 extend-config.ts runtime loaders.
2026-03-09 04:54:26 +08:00
Jim Liu 宝玉
059ebc759c
fix(baoyu-post-to-weibo): simplify article image insertion with Backspace-based placeholder deletion
2026-03-08 15:49:54 -05:00
Jim Liu 宝玉
b3b2f8ea36
feat(baoyu-xhs-images): streamline workflow with smart confirm (6→4 steps)
2026-03-08 14:07:59 -05:00
Jim Liu 宝玉
f19ed00cb2
fix(baoyu-post-to-wechat): improve image upload with file chooser interception
2026-03-08 14:07:55 -05:00
Jim Liu 宝玉
8e58855047
feat(baoyu-article-illustrator): add preset-first selection and categorized style presets
2026-03-08 14:07:53 -05:00