Initial TrueGrowth source import

This commit is contained in:
2026-07-07 09:36:36 +08:00
commit 3b6781d695
2283 changed files with 691996 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Change: Add PDF-backed prompt start for popular video
## Why
The popular video tool currently starts from an uploaded video or YouTube URL. Users also need to start from a creative prompt and optional PDF context, then continue through the same script editing and video generation workflow.
## What Changes
- Add a prompt-generation input mode before the existing upload video mode in the popular video analysis step.
- Reuse the existing Gemini `TaskType.CHAT` PDF inline-data path from the multi-image tool, avoiding a separate PDF parser or storage entity.
- Generate a `VideoAnalysisData`-compatible script plan from user prompt plus optional PDF context so the existing Script and Generate pages can continue unchanged.
- Persist only lightweight prompt/PDF source metadata and cache references needed for pending or repeatable tasks.
## Impact
- Affected specs: `video-analyzer`
- Affected code: `video-analyzer` Analyze page/types/utils/task sync, `task-queue-service` chat action routing, focused tests