Commit Graph
5 Commits
Author SHA1 Message Date
yiling 6fc754838b fix(transcode): update WEBP_MAX_DIMENSION to 7680 2026-06-09 11:20:41 +08:00
yiling ff44170304 fix(transcode): handle large images by disabling pixel limit and capping WebP dimensions 2026-06-08 17:13:19 +08:00
yiling 9d8c57ddc2 test(transcode): add test case for Buffer input in transcodeImage 2026-06-08 12:30:14 +08:00
yiling 49f010ca85 fix(transcode): replace unsafe shell execution with execFile to prevent command injection 2026-06-05 23:32:27 +08:00
yiling e3f4fa219e refactor(monorepo): decouple and split background workflow workers into packages
Splits monolithic workflow workers into four decoupled workspaces under the Bun workspaces monorepo:
- @shumai/workflow-core containing the core execution engine and utilities.
- @shumai/agent containing agent-specific logic, workflows, and activities.
- @shumai/transcode containing transcoding workflows, transcoder, and transcode activities.
- @shumai/worker-db containing database activities.

Introduces a dynamic workflow and activity registration pattern on LocalExecutor to eliminate circular dependencies. Updates worker bootstrapping and test suites to cleanly leverage generic workspace modules.
2026-06-01 23:29:11 +08:00