@lingjingai/scriptctl 0.62.0 → 0.62.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingjingai/scriptctl",
3
- "version": "0.62.0",
3
+ "version": "0.62.1",
4
4
  "description": "剧本阶段统一 CLI:素材转 Script v4,并兼容 Script v3 的本地写作、精修、校验和发布。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,7 +3,7 @@ name: scriptctl
3
3
  description: "剧本 script.json 的本地阅读、定位、原子修改、整场整集回写、素材 ingest 与 revision publish CLI。处理 Script v3/v4、剧本资产与 state、Action、场景引用或视频证据核对时使用。"
4
4
  metadata:
5
5
  version: "0.31.1"
6
- scriptctl_version: "0.61.3"
6
+ scriptctl_version: "0.62.1"
7
7
  author: "official"
8
8
  ---
9
9
 
@@ -67,6 +67,8 @@ acR8cV4n → 三天后。
67
67
  scriptctl find '真能蒙' -p "$S" # 按正文正则
68
68
  scriptctl find '' -a 向北 -t inner_thought -p "$S" # 按说话人 + 类型
69
69
  scriptctl find '球' -i 3 -t dialogue -p "$S" # 限定范围
70
+ scriptctl refs 向北 -p "$S" # 场景绑定、说话引用、正文提及及上下文
71
+ scriptctl refs 向北/default --context 2 -p "$S" # 某造型的显式引用位置
70
72
  scriptctl span 3-1 -p "$S" # 换算成集内视频时间窗口
71
73
  scriptctl issues --severity error -p "$S"
72
74
  scriptctl validate -p "$S"
@@ -75,6 +77,12 @@ scriptctl validate -p "$S"
75
77
  `find` 返回锚点 + 位置 + 命中窗口而不是整条,命中多时不炸上下文。
76
78
  `span` 给出半开区间(`start_timestamp` / `end_timestamp` / `end_open`)供视频核对使用。
77
79
 
80
+ `refs` 接受人物、场景、道具或 `<资产>/<造型>`,返回可继续 `read` 的地址。
81
+ 默认每批 20 条,按返回的 `next_offset`(文本尾部 `--offset` 提示)继续;`--limit` 调整批量,
82
+ `--context` 指定正文命中前后条数。`scene_binding` 是场级绑定,需继续读全场;
83
+ `speaker` 是说话引用;`text_mention` 只是名字/别名/ID 的正文提及,不证明人在场。
84
+ 具体造型只查显式绑定,不从名字提及猜造型。`--json` 为程序提供独立地址字段。
85
+
78
86
  ## 改
79
87
 
80
88
  单条命令直接生效。**没有 plan、没有确认码、没有两阶段提交**。