Commit Graph
194 Commits
Author SHA1 Message Date
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
yiling cb80822637 refactor: extract core service domain layer to @shumai/core 2026-06-01 23:16:22 +08:00
yiling 2362a7f373 refactor: establish workspaces and extract db and dtos packages 2026-06-01 23:08:58 +08:00
yiling 1a164bf9a0 feat(sidebar): add bottom borders to all collapsible sections 2026-06-01 17:03:17 +08:00
yiling 2114e68737 feat(sidebar): add smooth transition animations for collapse/expand 2026-06-01 16:59:43 +08:00
yiling aaade94ec0 feat(sidebar): make whole header row clickable and fix database sortIndex generation 2026-06-01 16:57:35 +08:00
yiling 4302dad7c3 feat(sidebar): only show chevrons on header hover and allow Assets to take at least 1/2 height 2026-06-01 16:54:49 +08:00
yiling 143c59c899 feat(sidebar): use ChevronsDownUp/ChevronsUpDown and set Assets expanded height to 1/2 2026-06-01 16:50:13 +08:00
yiling b35ba645f7 feat(sidebar): support collapsible sections with dynamic flexbox heights 2026-06-01 16:47:24 +08:00
yiling 5cd2c83599 update 2026-06-01 15:11:20 +08:00
yiling bde873aa25 chore(ui): remove unused placeholder images and old fallback icons 2026-06-01 14:57:57 +08:00
yiling 70644d315d feat(ui): integrate new favicon assets and tags 2026-06-01 14:55:36 +08:00
yiling df57c9d2b9 feat(agent): strip and restore skill content and preserve envs on session rebuild 2026-06-01 14:34:23 +08:00
yiling ec356cf6bf fix(ui): improve sort controls and nested theme switcher in user menu 2026-06-01 11:46:06 +08:00
yiling 3bde1c1a82 feat(upload): list user-only tasks, show date-time using formatTimeAgo, and use Shadcn Progress 2026-06-01 11:20:58 +08:00
yiling 747efe0358 style(upload): integrate Shadcn Progress component into UploadTaskItem 2026-06-01 11:11:05 +08:00
yiling 69d1e7c5d0 style(upload): adapt card design to use system color variables & document ui rules in AGENTS.md 2026-06-01 11:08:00 +08:00
yiling 104b162be4 feat(upload): support grouping upload tasks by day and displaying uploader name 2026-06-01 11:06:40 +08:00
yiling 8175e903fd ui improvement 2026-06-01 10:45:06 +08:00
yiling 42f78016dd feat(ui): migrate components and pages to system colors
Update folder card, file card, dual sidebar, notifications, upload tasks, and team settings components to remove all hardcoded slate, blue, and red colors. They now fully leverage standard semantic system/theme tokens, providing polished, consistent dark mode support.
2026-06-01 10:34:22 +08:00
yiling 7bd808df0b refactor(ui): redesign chat input replying to thread header card 2026-06-01 09:12:55 +08:00
yiling 1ffa25803c refactor(ui): collapse spacing and merge corners for reply card stacks 2026-05-31 23:25:17 +08:00
yiling fb81fc6ed3 refactor(ui): align message card avatar and thread lines via flexbox 2026-05-31 23:21:29 +08:00
yiling 81d7e2b845 chore(agent): remove unused os import from index.ts 2026-05-31 19:16:38 +08:00
yiling b53c40cbde update 2026-05-31 19:11:27 +08:00
yiling be7dc45051 feat(agent): restrict sandbox filesystem access and update system prompt instructions 2026-05-31 12:55:45 +08:00
yiling 9c20938628 fix(agent): assign lower sortIndex to newer versions to ensure they are marked as latest 2026-05-31 10:56:52 +08:00
yiling 3f5b564726 fix(agent): upload files and versions using compliant S3 keys 2026-05-31 10:48:06 +08:00
yiling c3cce15d7a feat(agent): format available skills as standard XML with absolute path locations 2026-05-31 10:20:20 +08:00
yiling 975a0cfcda feat(agent): add structured error logging to sandboxed-bash tool 2026-05-31 10:02:05 +08:00
yiling c2fbd3ed53 fix(agent): trigger post-upload transcode and AI workflows for agent-created assets 2026-05-31 09:38:18 +08:00
yiling a8df6b382d feat(agent): add local write filesystem constraints to agent system prompt 2026-05-30 23:27:49 +08:00
yiling ff5196a517 fix(agent): pre-upload files in agent tools before database workflow execution to ensure worker isolation 2026-05-30 19:24:04 +08:00
yiling 2e685ceccb perf(workflow): optimize getMimeType to read first 4100 bytes instead of whole file 2026-05-30 19:03:13 +08:00
yiling 2fe66a74e3 feat(agent): update agent system prompt with platform instructions and file system constraints 2026-05-30 18:50:12 +08:00
yiling 2362d050a4 fix(agent): populate userId in agent workflow chat task payloads 2026-05-30 18:42:55 +08:00
yiling 64bdccaa8a fix(ui): resolve comments and fields sidebar overflow and restore scrolling 2026-05-30 17:24:35 +08:00
yiling 39d45a1dc7 feat(agent): implement secure database-backed agent tools and comments context 2026-05-30 17:09:18 +08:00
yiling 68f21bc258 feat(ui): redesign project create and edit dialog 2026-05-30 14:59:55 +08:00
yiling 5a60e175b1 fix(transcode): match target long sides exactly and dynamic resolution mapping 2026-05-30 14:21:55 +08:00
yiling 5073651721 feat(transcode): migrate video quality matching to Frame.io long-edge scaling approach 2026-05-30 14:15:45 +08:00
yiling f6656dce2f fix(ui): prevent memory leak and ensure Safari/iOS compatibility in image copying 2026-05-30 13:46:25 +08:00
yiling ec14e12b3f feat(transcode): implement new image and video transcode strategies with UI detail enhancements 2026-05-30 12:09:27 +08:00
yiling 53c2792cf5 feat(workflow): use atomic updateMany CAS locking to prevent multi-replica polling race conditions 2026-05-30 11:19:15 +08:00
yiling 2119eb4194 feat(workflow): lock task status and start heartbeat immediately upon queueing 2026-05-30 11:12:58 +08:00
yiling aebe90f280 fix(workflow): resolve microtask race condition in ConcurrencyLimiter 2026-05-30 10:58:08 +08:00
yiling 29f7a97a4a feat(workflow): add concurrency control and task heartbeat loop to local executor 2026-05-30 10:13:31 +08:00
yiling 0b61f90028 increase sidebar width 2026-05-30 09:36:33 +08:00
yiling 724e120969 chore(shadcn): upgrade shadcn style to v4 and resolve typecheck issues 2026-05-30 09:29:24 +08:00
yiling 1a865eac88 feat(notification): optimistically clear unread badge on mark all as read 2026-05-29 23:35:26 +08:00