@lingjingai/scriptctl 0.63.15 → 0.63.17

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
@@ -161,3 +161,8 @@ scriptctl ingest --source-path ./video.mp4 --video-provider gemini
161
161
 
162
162
  `--provider-api-key` 与 `--provider-api-key-env` 互斥。豆包仅支持默认的 `--upload-mode file-api`;
163
163
  直接选择豆包必须提供模型,且不需要 Gemini key。这些参数只影响视频理解阶段。
164
+
165
+
166
+ ### Official Gemini via Vertex AI
167
+
168
+ 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.
@@ -0,0 +1,5 @@
1
+ # 0.63.17
2
+
3
+ ## Fixed
4
+ - Route CLI console diagnostics to stderr so Vertex SDK initialization messages do not corrupt JSON or NDJSON results on stdout.
5
+ - Add a no-network regression test using the Google SDK to verify the production CLI output boundary.
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{b as o}from"./chunk-3LPIMYYI.js";o(process.argv.slice(2)).then(e=>{process.exitCode=e}).catch(e=>{console.error(e),process.exitCode=70});
2
+ import{b as s}from"./chunk-YOCQDDQC.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});