JimLiu-baoyu-skills/skills/baoyu-imagine/scripts
Jim Liu 宝玉 ed401cc7a5 Integrate latest baoyu-imagine updates without regressing Replicate runs
Merged origin/main into the PR branch to pick up the Z.AI provider work and
resolved the shared baoyu-imagine docs/code touches. While reconciling the
branch, fixed the outstanding review findings by preserving explicit
--imageSize validation for Replicate while ignoring inherited config defaults,
and by classifying Replicate multi-output extraction failures as
non-retryable so paid requests are not repeated.

Constraint: Merge had to preserve incoming Z.AI provider support from origin/main
Constraint: Replicate should still reject explicit --imageSize usage while tolerating inherited default_image_size config
Rejected: Silently ignore every Replicate imageSize value | would hide explicit CLI/task misuse
Rejected: Leave multi-output extraction under generic retry logic | repeats deterministic paid failures
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep imageSize source tracking aligned with CLI/config/batch task paths before tightening provider validation
Tested: node --import tsx --test skills/baoyu-imagine/scripts/main.test.ts skills/baoyu-imagine/scripts/providers/replicate.test.ts skills/baoyu-imagine/scripts/providers/zai.test.ts
Tested: npm test
Not-tested: Live GitHub thread resolution/reply actions
2026-04-12 00:39:03 -05:00
..
providers Integrate latest baoyu-imagine updates without regressing Replicate runs 2026-04-12 00:39:03 -05:00
main.test.ts Integrate latest baoyu-imagine updates without regressing Replicate runs 2026-04-12 00:39:03 -05:00
main.ts Integrate latest baoyu-imagine updates without regressing Replicate runs 2026-04-12 00:39:03 -05:00
types.ts Integrate latest baoyu-imagine updates without regressing Replicate runs 2026-04-12 00:39:03 -05:00