feat: add environment variable injection for Docker sandbox

- Add environment field to sandbox config for injecting env vars into container
- Support $VAR syntax to resolve values from host environment variables
- Refactor frontend API modules to use centralized getBackendBaseURL()
- Improve Doraemon skill with explicit input/output path arguments
- Add .env.example file

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hetao
2026-01-24 22:33:29 +08:00
parent 48b5428000
commit 5671642dbe
8 changed files with 72 additions and 18 deletions

View File

@@ -12,7 +12,7 @@ Generate JSON spec for 8 panels arranged on ONE 9:16 vertical canvas (1080x1920)
1. Extract story context (theme, gadget, conflict, punchline)
2. Map to 8 narrative beats
3. Output JSON to `/mnt/user-data/outputs/prompt.json`
4. Run `python /mnt/skills/custom/doraemon-comic-aigc/scripts/generate.py`
4. Run `python /mnt/skills/custom/doraemon-comic-aigc/scripts/generate.py --input_path /mnt/user-data/outputs/prompt.json --output_path /mnt/user-data/outputs/doraemon.png `
5. Directly present the output image as well as the `prompt.json` using the `present_files` tool without checking the file existence
## Panel Layout