refactor(agent): decouple agent orchestration and relocate workflows

Decoupled high-level agent orchestration (chat, chatWithAgent, autofill) from sandbox execution in `src/agent` to `src/services/agent/agent.ts`. Relocated all related workflows and activities to `src/workflow`.
This commit is contained in:
yiling
2026-05-20 22:43:31 +08:00
parent 19a8db9edd
commit 6b946d3d5c
15 changed files with 692 additions and 631 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
export * from './ai-transcription'
export * from './ai-embedding'
export * from '@/agent/workflows/ai-autofill'
export * from '@/agent/workflows/ai-chat'
export * from './ai-autofill'
export * from './ai-chat'
export * from '@/transcode/workflows/transcode'