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,11 @@
## 1. Implementation
- [x] 1.1 Add shared prompt optimization service with scenario registry and Knowledge Base template loading/restoration.
- [x] 1.2 Add shared prompt optimization button component.
- [x] 1.3 Update prompt optimization dialog to consume scenario IDs and async prompt building.
- [x] 1.4 Migrate AI input, image/video prompt input, PPT outline, and music create-song entrypoints.
- [x] 1.5 Move legacy prompt optimization exports out of generation tool utilities.
## 2. Verification
- [x] 2.1 Add/adjust unit tests for scenario registry, Knowledge Base fallback, variable rendering, and dialog scenario behavior.
- [x] 2.2 Run OpenSpec validation.
- [x] 2.3 Run targeted lint/type/test checks.