@lingjingai/scriptctl 0.74.2 → 0.76.0

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
@@ -28,6 +28,8 @@ scriptctl update # 更新全局安装的 scriptctl
28
28
  scriptctl changelog # 查看当前版本功能变更
29
29
  scriptctl migrate -p <source.json> -o <target.json> --to <version>
30
30
  scriptctl ingest --source-path <file|dir>
31
+ scriptctl soundtrack -s <file|dir> --episodes 1,3-5 -w workspace # BGM 与音效的时间分布和情绪
32
+ scriptctl soundtrack-view -w workspace --host <地址> # 起网页服务:看各集汇总,点进去细看
31
33
  scriptctl checkout --script-path workspace/script.json
32
34
  scriptctl actions --in '@ep:2/scn:1' --script-path workspace/script.json
33
35
  scriptctl export episodes --in epA3kP9x..epQ7mN2v --output rewrite.scriptctl
@@ -0,0 +1,14 @@
1
+ # 0.75.0
2
+
3
+ ## Added
4
+ - 新增 `scriptctl soundtrack`:给一集或多集视频(`--episodes 3`、`--episodes 1,3-5`),先只听音频定下 BGM 和音效的时间,再带着结果看视频,结合剧情标出情绪、这样配的理由和改进建议,输出 `soundtrack/ep_NNN.json` 和可播放的 `ep_NNN.html`,点时间轴或列表就跳到对应视频。需要本机有 ffmpeg 和 ffprobe。
5
+ - 新增 `scriptctl soundtrack-view`:起一个网页服务,用同一把时间尺看各集的情绪时间轴和汇总,点色块跳到那一集的对应时间。默认只有本机能打开,`--host` 可以换成局域网或 Tailscale 地址。`soundtrack` 跑完也会写 `soundtrack/index.html`。
6
+
7
+ ## Changed
8
+ - None.
9
+
10
+ ## Fixed
11
+ - None.
12
+
13
+ ## Breaking
14
+ - None.
@@ -0,0 +1,18 @@
1
+ # 0.76.0
2
+
3
+ ## Added
4
+ - 模型用量记录新增 `longest_silence_ms`:这次调用的流式响应里最长的一段静默,用来判断卡住的时限是否合适。
5
+
6
+ ## Changed
7
+ - 审核默认用中等思考(`review-agent`、`review-text`、`review-comic`、`review-media` 和它们的 Gemini 备用渠道)。
8
+ - 视频逐集审核把本集结构、正文、本集校验问题和资产卡直接写进任务,不再分多轮读取。
9
+ - 全剧审核之后,只有被交回问题的集才回到逐集审核,而且只处理这些问题,首轮结论保留;全剧审核改过但没有交回问题的集不再整集重审。
10
+ - 能靠重跑解决的失败单元(超时、模型不可用、未收口等)在本轮自动重跑一次,对外仍只报告一个结果,重跑前多一条带 `message` 的 `unit-started` 事件。间隔默认 30 秒,可用 `SCRIPTCTL_REVIEW_RERUN_DELAY_MS` 调整。
11
+
12
+ ## Fixed
13
+ - 模型流式响应卡住时,等待时间从 180 秒缩短到 90 秒,可用 `SCRIPTCTL_STREAM_IDLE_MS` 调整。
14
+ - 单次流卡住不再让整条渠道冷却:连续 3 次才冷却,中间有一次正常回答就重新计数。
15
+ - 渠道返回 429 时,自动减半该渠道同时进行的请求,持续正常回答后逐步加回。
16
+
17
+ ## Breaking
18
+ - None.
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{b as s}from"./chunk-GIHAHL2F.js";import{Console as r}from"node:console";var o=new r({stdout:process.stderr,stderr:process.stderr});console.debug=o.debug.bind(o);console.info=o.info.bind(o);console.log=o.log.bind(o);s(process.argv.slice(2)).then(e=>{process.exitCode=e}).catch(e=>{console.error(e),process.exitCode=70});
2
+ import{b as s}from"./chunk-RWQ4MEHV.js";import{Console as r}from"node:console";var o=new r({stdout:process.stderr,stderr:process.stderr});console.debug=o.debug.bind(o);console.info=o.info.bind(o);console.log=o.log.bind(o);s(process.argv.slice(2)).then(e=>{process.exitCode=e}).catch(e=>{console.error(e),process.exitCode=70});