Jim Liu 宝玉
9c06b92a74
chore(baoyu-image-gen): add deprecation notice redirecting to baoyu-imagine
2026-03-26 09:51:48 -05:00
Jim Liu 宝玉
6909c016b2
chore(baoyu-image-gen): remove deprecated redirect skill
2026-03-26 09:41:04 -05:00
Jim Liu 宝玉
aaf0f188dd
feat(baoyu-image-gen): add deprecation redirect skill to guide migration to baoyu-imagine
2026-03-25 17:36:49 -05:00
Jim Liu 宝玉
69355b4ee1
feat(baoyu-imagine): rename baoyu-image-gen to baoyu-imagine
2026-03-25 16:28:06 -05:00
Jim Liu 宝玉
ad8781c1c5
feat(baoyu-image-gen): add MiniMax provider with subject reference and custom sizes
2026-03-25 15:39:40 -05:00
Jim Liu 宝玉
151f1ec2a8
fix(baoyu-image-gen): use correct prompt field name for Jimeng API
2026-03-24 20:04:21 -05:00
Jim Liu 宝玉
00e74ab071
feat(baoyu-image-gen): improve Azure OpenAI provider with flexible endpoint parsing and deployment resolution
2026-03-24 19:19:49 -05:00
优弧
1653b8544b
feat(baoyu-image-gen): add Azure OpenAI as independent image generation provider ( #111 )
...
Azure OpenAI differs from standard OpenAI in two ways:
1. Auth via api-key header instead of Authorization: Bearer
2. URL requires ?api-version query param with deployment path
Changes:
- New file: scripts/providers/azure.ts (generations + edits, reuses openai utilities)
- types.ts: add "azure" to Provider type and default_model
- main.ts: register azure across rate limits, CLI args, auto-detection,
provider loading, model resolution, help text, ref validation,
EXTEND.md parsing, and batch logging
Env vars: AZURE_OPENAI_API_KEY, AZURE_OPENAI_BASE_URL (required),
AZURE_API_VERSION, AZURE_OPENAI_IMAGE_MODEL (optional)
Co-authored-by: CatFly <zw.catfly@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 19:04:34 -05:00
Jim Liu 宝玉
7d12526e90
fix(baoyu-image-gen): broaden OpenRouter model detection and aspect ratio validation
2026-03-21 00:03:20 -05:00
cwandev
e43eec260a
fix(baoyu-image-gen): narrow OpenRouter Gemini ratios
2026-03-19 22:09:23 +08:00
cwandev
96ef6e2251
fix(baoyu-image-gen): harden OpenRouter image support
2026-03-19 21:59:41 +08:00
cwandev
efb7a1917a
fix(baoyu-image-gen): require OpenRouter image parameters
2026-03-19 21:26:19 +08:00
cwandev
1af984a64f
fix(baoyu-image-gen): align OpenRouter image generation with current API
2026-03-19 17:36:03 +08:00
Jim Liu 宝玉
fc2f0d042a
feat(baoyu-image-gen): add Seedream reference image support and model-specific validation
2026-03-17 11:40:24 -05:00
JianJang2017
ac2ce0b8b6
Add qwen-image-2.0-pro support for baoyu-image-gen
2026-03-13 19:09:54 -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 宝玉
cb17cb9cca
fix(image-gen): tighten Jimeng provider behavior
2026-03-13 15:39:46 -05:00
ldf
32003da694
集成即梦生图和豆包生图
2026-03-14 00:37:46 +08:00
Jim Liu 宝玉
12b43e166d
feat(baoyu-image-gen): add OpenRouter provider support
2026-03-13 09:18:34 -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 宝玉
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 宝玉
154ccfe3ff
refactor: add openclaw metadata and rename SKILL_DIR to baseDir across all skills
2026-03-08 19:22:24 -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
luojiyin
366e7b5403
fix: use execFileSync for google curl requests
2026-03-08 20:34:39 +08:00
Jim Liu 宝玉
67e3e11cce
feat(skills): add cross-platform PowerShell support for EXTEND.md checks
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 19:32:35 -06:00
Jim Liu 宝玉
bd4db203f8
refactor(skills): replace hardcoded npx -y bun with ${BUN_X} runtime variable
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 10:31:29 -06:00
Jim Liu 宝玉
8412392788
fix(baoyu-image-gen): use standard size presets for DashScope aspect ratio mapping
...
Replace free-form dimension calculation with closest-match from predefined
standard sizes to avoid invalid resolution errors from the API.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 00:08:30 -06:00
Jim Liu 宝玉
cc016f3b16
feat(baoyu-image-gen): clarify model resolution priority and add model display requirement
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 01:38:10 -06:00
jeff.zhao
7dfa2b6e6c
feat(baoyu-image-gen): support OpenAI chat completions endpoint for image generation
...
Add OPENAI_IMAGE_USE_CHAT env var (true|false) to route image generation
through /chat/completions instead of /images/generations. Extracts base64
image data URLs from the chat response, enabling compatibility with
OpenAI-compatible providers that return images via chat API.
2026-02-28 14:46:05 +08:00
Jim Liu 宝玉
3bd5fdeb1b
feat(baoyu-image-gen): add gemini-3.1-flash-image-preview model and improve first-time setup
...
- Add gemini-3.1-flash-image-preview to supported Google multimodal models
- Improve preferences loading with blocking first-time setup flow
- Add first-time-setup.md reference for guided configuration
- Update model references in SKILL.md and preferences schema
2026-02-27 10:12:52 -06:00
李野
b1f568d03d
fix(baoyu-image-gen): use curl fallback for Google API when HTTP proxy is detected
...
Bun's fetch implementation has a known issue where long-lived connections
through HTTP proxies (e.g., Clash, V2Ray) get their sockets closed
unexpectedly, causing Google image generation requests to fail with
"The socket connection was closed unexpectedly".
This change adds automatic proxy detection and falls back to curl as the
HTTP client when a proxy is configured (via https_proxy, http_proxy,
HTTPS_PROXY, HTTP_PROXY, or ALL_PROXY environment variables). When no
proxy is detected, the original fetch-based implementation is used.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 17:16:15 +08:00
justnodejs
36b9c5e197
docs(baoyu-image-gen): add replicate model configuration documentation
2026-02-24 23:25:38 +08:00
justnodejs
851497abbd
refactor(baoyu-image-gen): update replicate default model to nano-banana-pro
2026-02-24 20:26:47 +08:00
justnodejs
65a561e654
feat(baoyu-image-gen): add replicate provider
2026-02-24 19:12:36 +08: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
史提芬达
24a17709a8
add EXTEND.md configuration support
2026-02-05 19:46:22 +08: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 宝玉
02b039f2ff
feat(baoyu-image-gen): add parallel generation documentation
2026-01-24 13:37:42 -06:00
Jim Liu 宝玉
7b0c9ca372
chore: release v1.21.0
2026-01-24 03:33:10 -06:00
Jim Liu 宝玉
b15a95e73d
chore: release v1.19.0
2026-01-24 01:24:41 -06:00
Jim Liu 宝玉
07af3c4c21
chore: release v1.18.3
2026-01-23 21:08:11 -06:00
Jim Liu 宝玉
7842e4d188
chore: release v1.18.2
2026-01-23 16:10:04 -06:00
Jim Liu 宝玉
776afba5d8
chore: release v1.11.0
2026-01-21 10:16:12 -06:00