@lingjingai/scriptctl 0.74.1 → 0.75.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,19 @@
1
+ # 0.74.2
2
+
3
+ ## Added
4
+ - None.
5
+
6
+ ## Changed
7
+ - None.
8
+
9
+ ## Fixed
10
+ - 对白提示里 `心声` 不在首段(如 `愣住,心声/咬牙`)时不再被存成普通对白;正文回写、换壳写作稿和 `edit`/`insert` 的 `paren` 都按心声读,并从表演提示里去掉 `心声`,`心声/心声/` 这类重复写法也不再产生。
11
+ - 换壳写作和审核提示词讲明心声写法:写作稿 `名字(心声/表演提示):`,审核修改时 `paren` 只写表演提示,类型用 `type` 表达。
12
+ - 人名含 `·` 的人物(如 `文森特·刘·灰Polo`)带造型说话时不再被回写成动作,改说话人也不再被拒;写作稿的说话人、场景人物和 `write` 都按最长已知前缀拆分。
13
+ - `write` 和换壳写作稿共用一套说话行解析,半角冒号、全角括号和提示里含冒号的台词都按台词读;正文本身以 `名字:`、`→` 或时间戳开头的动作,读出时带 `\` 前缀,回写保持原样。
14
+ - 写作稿场头 `## 内 夜 场景名` 按内外景和时段解析,不再把整行当成场景名;审核程序检查列出已混入内外景和日夜的场景名。
15
+ - 写作稿 `名字(提示):` 的说话人没登记时打回重写;写作和审核都检查写成台词的画面描写,以及画面描写里的 `名字·造型`。`validate` 新增 `action_speech_shape`、`action_look_label` 两个警告。
16
+ - 换壳审核工具:`content` 收到整行 `名字(提示):正文` 时拆到对应字段,`speaker` 可传 null 清除,`ref` 对只有一套造型的资产可省略 `states`,造型有多套时报错列出可选项。
17
+
18
+ ## Breaking
19
+ - None.
@@ -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.
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{b as s}from"./chunk-JCD3NHG7.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-7AXMHZL5.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});