free-short-video 5.7.1 → 5.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,19 @@
1
+ ---
2
+
3
+ # What's New in v5.7.2
4
+
5
+ ## What's New
6
+
7
+ ### Bug Fixes
8
+
9
+ - **Intermediate artifacts restored in the progress panel** — after the v5.7.0 frontend re-architecture, intermediate artifacts (story, reference images, scene videos, subtitles, etc.) were no longer shown while a task runs. The progress panel now loads artifacts on task start, refreshes them as each step completes during polling, and shows the final output when finished. Viewing a task from the task list also opens the progress panel with its artifacts and result video.
10
+ - **GitHub Code Scanning security fixes** — sensitive data no longer logged at startup (`get_api_keys_source`); key IDs are now derived with HMAC-SHA256 (blake2b keyed mode) instead of plain SHA-256; task-directory deletion/existence checks operate only on realpath-resolved paths (path-injection hardening).
11
+ - **Release pipeline fixes** — the npm README preparation step no longer fails when the format string starts with `-`, and the release workflow now tolerates missing release-notes docs with a warning instead of aborting.
12
+
13
+ ---
14
+
15
+ ---
16
+
1
17
  ## Quick Start (npm)
2
18
 
3
19
  ```bash
@@ -17,7 +17,7 @@ import itertools
17
17
  import logging
18
18
  import threading
19
19
 
20
- from core.config import get_api_keys, get_api_keys_source
20
+ from core.config import get_api_keys
21
21
 
22
22
  logger = logging.getLogger(__name__)
23
23
 
@@ -71,10 +71,7 @@ def get_key_ring() -> KeyRing:
71
71
  "No Agnes API Key configured (AGNES_API_KEY or config api_key)"
72
72
  )
73
73
  _instance = KeyRing(keys)
74
- logger.info(
75
- f"[KeyManager] KeyRing 初始化: {len(keys)} 个 Key "
76
- f"({get_api_keys_source()})"
77
- )
74
+ logger.info(f"[KeyManager] KeyRing 初始化: {len(keys)} 个 Key")
78
75
  return _instance
79
76
 
80
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-short-video",
3
- "version": "5.7.1",
3
+ "version": "5.7.2",
4
4
  "description": "Free AI short-video generator — run the full free-short-video service locally with one command. Text-to-video, image generation, Edge-TTS narration, subtitles, and compositing, all free. Official site: https://video.lichuanyang.top",
5
5
  "bin": {
6
6
  "free-short-video": "bin/cli.js",