feat: move unified generation to background worker

This commit is contained in:
2026-04-19 17:29:37 +08:00
parent 5318de670f
commit 6fb128955f
15 changed files with 632 additions and 285 deletions

View File

@@ -101,6 +101,7 @@ function getJobStatusLabel(status?: string) {
function getEventLabel(eventType: string) {
const labels: Record<string, string> = {
request_accepted: '请求接收',
worker_started: '后台任务开始',
context_prepared: '上下文准备',
narrative_generated: '正文生成',
story_saved: '故事保存',