yiling
e51d86e8f0
feat(transcode): trigger ai metadata autofill post transcode
2026-07-28 20:19:10 +08:00
yiling
8d1c51abca
feat(transcode): add PSD support via ImageMagick and enforce sRGB conversion
2026-07-23 16:19:25 +08:00
yiling
208eb6898a
feat(transcode): add markdown file to pdf proxy support
2026-07-20 18:35:16 +08:00
yiling
52edcd1a79
fix(transcode): fix unused import and set proxyType in transcode workflow tests
2026-07-20 14:50:43 +08:00
yiling
3afe0fc3c3
feat(api): remove mediaType and mimeType from DTO responses and DB MediaInfo interface
2026-07-20 14:37:17 +08:00
yiling
f158d04686
feat(asset): replace mediaType/mimeType logic with proxyType
2026-07-20 10:22:36 +08:00
yiling
081dbf6d39
feat(transcode): add PDF proxy support for TXT and CSV files
2026-07-19 21:19:43 +08:00
yiling
aa572bf2d6
docs(transcode): add deprecation notice to legacy transcodeMedia workflow
2026-07-19 14:50:31 +08:00
yiling
cbe622dfeb
feat(transcode): split monolithic transcodeMedia into focused workflows
2026-07-19 12:32:08 +08:00
yiling
f68ba70656
feat(agent): add read_pdf_pages tool and PDF page context support
2026-07-19 09:45:14 +08:00
yiling
bc1491bed5
feat(transcode): add PDF preview, sprite generation, and annotation support
2026-07-18 10:32:38 +08:00
yiling
a7dc7bbff2
perf(agent): optimize active task lookup using indexed sessionId column
2026-07-14 15:44:10 +08:00
yiling
8ad25215dd
refactor(agent): prevent creating autofill and embedding tasks for audio assets
2026-07-05 16:31:14 +08:00
yiling
a2e982f2e6
feat(transcode): add audio file support with AAC stereo mp4 proxy and styled viewer
2026-07-05 15:11:19 +08:00
yiling
b7367bb129
refactor(storage): use original filenames and fix download UX
...
- Store uploaded files as files/{ulid}/{original-name} instead of files/{ulid}/raw
- Store transcoded videos as {stem}-{resolution}.mp4 (e.g. foo-720p.mp4)
- Store transcoded images as {stem}-{width}p.webp (e.g. foo-1920p.webp)
- Add download?: boolean param to presign - only sets Content-Disposition: attachment when true
- Local storage handler only sets Content-Disposition when ?download=1 query param is present
- Add POST /api/files/download-url endpoint for key-based single file downloads
- Uses ResourceType.Asset for permission check
- Validates key belongs to the asset's storage directory
- Fix existing download-links API to pass download: true to presign
- Fix breadcrumb navbar download: video shows resolution submenu, others download directly
- Fix video player download: calls download-url API, shows correct file type label
- Remove filename query param hack from presign URLs
- Add sanitizeFilename() and stemFromKey() utility helpers
- Add key field to VideoTranscode DTO interface
2026-07-02 17:39:23 +08:00
yiling
95f91cd4de
feat(db): add custom migration to backfill totalFrames and startTimecode
2026-06-29 11:27:32 +08:00
yiling
eee7b5a677
feat(video): add SMPTE timecode support and format selection dropdown
2026-06-28 21:04:40 +08:00
yiling
837fe5bd7a
feat(video): add frame-accurate video player and CFR proxy generation
2026-06-28 20:35:47 +08:00
yiling
718d9d5b51
feat(transcode): optimize video chunks for embedding by forcing 1 FPS and dropping audio
2026-06-18 19:53:19 +08:00
yiling
d84950d372
feat(transcode): set loglevel to warning for all ffmpeg commands
2026-06-18 11:57:38 +08:00
yiling
46815736e2
feat(embedding): decouple video chunk transcode and embedding generation
2026-06-18 11:54:30 +08:00
yiling
f399d2c469
feat(embedding): defer embedding workflow, use transcoded assets, and execute chunks in separate activities
2026-06-18 10:57:22 +08:00
yiling
1ad5720f42
fix(transcode): handle high-precision FPS using rational fractions
2026-06-17 22:55:01 +08:00
yiling
5111fcd6a5
refactor(transcode): address code review feedback on imports and dataFormatNames typing
2026-06-16 09:53:28 +08:00
yiling
f16a8a7069
refactor(transcode): relocate TranscodeService to core and flatten API package
2026-06-16 09:47:27 +08:00
yiling
d687ea495b
fix(transcode): make deterministic transcode activity failures non-retryable in Temporal
2026-06-14 10:00:13 +08:00
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
688e1a4ede
feat(api,webui): implement image compression, auto-refresh for uploads, and infinite pagination for collections/shares
2026-06-08 12:14:14 +08:00
yiling
99424aa6e1
update tests
2026-06-07 19:26:07 +08:00
yiling
71f5881228
fix(transcode): automatically populate file_type metadata field
2026-06-07 17:27:47 +08:00
yiling
e790df2812
fix: resolve lint, typecheck, and tsconfig deprecation errors
2026-06-07 11:10:27 +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
25d12d1574
feat(agent): improve agent chat workflow and add media tools
2026-06-05 21:25:08 +08:00
yiling
ef3cf4214c
fix(workflow): ensure correct mocking in tests and strictly follow queue redirection
2026-06-03 09:33:35 +08:00
yiling
4264849f36
feat(workflow): strictly enforce queue redirection and activity registration rules
2026-06-03 09:21:51 +08:00
yiling
35cfe68280
feat(workflow): integrate temporal workflow bundles and support dev/prod mode
2026-06-03 09:10:31 +08:00
yiling
e409f551cc
refactor(db): isolate test hooks and clean up workflow worker options
2026-06-02 18:48:54 +08:00
yiling
5947c3c9a7
refactor(workflow): eliminate worker-db package and simplify workflows
2026-06-02 16:06:24 +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