yiling
5855134236
fix(agent): pass latest version asset from version stack to prompt builder
2026-07-21 15:04:38 +08:00
yiling
f158d04686
feat(asset): replace mediaType/mimeType logic with proxyType
2026-07-20 10:22:36 +08:00
yiling
6643d63e81
refactor(api/chat): remove direct Prisma query from API layer
...
API layer routes in packages/api/src/chat.ts accessed the database directly via prisma, violating communication layer boundaries.
This refactoring migrates these queries to packages/core/src/chat/chat.ts:
- Added getNewSessionMessages to fetch mapped SSE entries.
- Added getChatWorkflowStatus to check task completions.
- Added abortSession to handle workflow cancellation and task updates in core.
- Updated both core and API tests to match refactored signatures and mock boundaries.
2026-07-14 16:40:55 +08:00
yiling
636e92af4c
fix(agent): unregister temporal cancellation listener on completion
2026-07-14 16:08:43 +08:00
yiling
cd48d2d389
fix(agent): resolve lint, typecheck, and stop button UI issues
2026-07-14 10:35:25 +08:00
yiling
8a942d4f4e
feat(agent): support aborting agent execution in local and temporal modes
2026-07-14 10:25:06 +08:00
yiling
b57a3e0239
chore(chat): support isNewChat payload flag and fix any casts
2026-07-11 21:05:47 +08:00
yiling
c5ce4d07e9
feat(chat): add chatbot session name generation
2026-07-11 20:54:09 +08:00
yiling
482df3315c
feat(chat): append and display context_display_info custom entry for attached assets
2026-07-11 16:58:09 +08:00
yiling
10279d74bc
feat(chatbot): append turn-specific agentsInstruction as a custom message session entry
2026-07-07 21:51:10 +08:00
yiling
bea81a207a
fix(settings): support type-safe thinkingLevel and propagate to AgentHarness
2026-06-22 09:58:35 +08:00
yiling
e01c348fde
fix(db): automatically update project updatedAt on asset modification
2026-06-18 21:53:16 +08:00
yiling
eaf2c867b3
feat(agent): implement overlapping video chunks for semantic search and update docs
2026-06-18 19:45:58 +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
9d1e8378f7
fix(embedding): resolve transcoded MIME type and validate EMBEDDING_CHUNK_DURATION positive limits
2026-06-18 11:14:09 +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
0c89616a4e
feat(api): use enum for API protocol in provider config
2026-06-17 16:07:48 +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
e9e096ac9e
feat(sandbox): reject blocked request on bash tool result
2026-06-15 09:28:11 +08:00
yiling
6a63e99044
feat(sandbox): add pending domains support for network sandbox
2026-06-15 00:01:55 +08:00
yiling
74de1aba48
fix(agent): remove redundant fileCount increments in tool activities
2026-06-09 09:09:33 +08:00
yiling
a464499077
feat(search): remove includeCount and add infinite scroll to search dialog
2026-06-07 17:07:38 +08:00
yiling
b56d880d33
fix(agent): use current comment ID for media tools in subsequent turns of a session
2026-06-05 23:41:58 +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
6dc060b04f
refactor(agent): use concrete Prisma model types in agent database activity tests
2026-06-03 16:17:25 +08:00
yiling
6a903478e1
test(agent): verify prompt builder instructions exactly in agent-chat workflow tests
2026-06-03 16:02:06 +08:00
yiling
729d16d3ee
test(agent): write solid tests for agent workflows and activities
2026-06-03 15:48:25 +08:00
yiling
9dc2d07151
fix(agent,webui): show agent error messages and fix IME enter key bug
2026-06-03 11:46:24 +08:00
yiling
35cfe68280
feat(workflow): integrate temporal workflow bundles and support dev/prod mode
2026-06-03 09:10:31 +08:00
yiling
5947c3c9a7
refactor(workflow): eliminate worker-db package and simplify workflows
2026-06-02 16:06:24 +08:00
yiling
1f341c15d0
refactor(monorepo): decouple api and webui into workspaces packages
2026-06-01 23:35:00 +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