@lingjingai/scriptctl 0.65.7 → 0.65.8

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
@@ -231,3 +231,7 @@ scriptctl ingest --source-path ./video.mp4 --video-provider gemini
231
231
  ### Official Gemini via Vertex AI
232
232
 
233
233
  The built-in official Gemini provider uses `google-vertex` with Google Application Default Credentials (ADC). Set `GOOGLE_CLOUD_PROJECT` and configure ADC on each execution machine. All official calls use the global location; tokens refresh automatically. Video requests send inline media; text requests use the Vertex OpenAI-compatible API. A custom provider can declare `protocol: google-vertex`, `timeoutMs` and `maxAttempts` without an `apiKey` field. Custom Gemini gateways retain the `google-gemini` protocol and their own credentials.
234
+
235
+ ### 已授权的跨语言台词检查
236
+
237
+ 仅在已核实并授权的跨语言审核任务中设置 `SCRIPTCTL_ALLOW_DIALOGUE_MISMATCH=1`。该开关只允许超过10%的字符差异继续进入ASR校时和模型审核,仍写入原始差异报告,不修改剧本;未设置时保留硬拦截。它不跳过梗概必填检查或模型审核。
@@ -0,0 +1,7 @@
1
+ # 0.65.8
2
+
3
+ ## Fixed
4
+ - 梗概解析识别繁体结构标题(單句梗概、關鍵事件等),保留正文和必填非空检查,避免有效模型响应被误判缺失。
5
+
6
+ ## Added
7
+ - 显式环境开关 SCRIPTCTL_ALLOW_DIALOGUE_MISMATCH=1,供已授权跨语言任务保留差异报告并继续ASR校时及模型审核;默认仍保留10%硬拦截。
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{b as s}from"./chunk-OC2YTU5O.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-T7ZYKPXV.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});