diff --git a/CHANGELOG.md b/CHANGELOG.md index 98b5cbd..abd7fed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to capcut-cli are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.37.1] - 2026-11-23 + +### Fixed +- The Chinese command reference (`docs/command-reference.zh-CN.md`) lists every command `capcut describe` knows, `dub`, `matting`, `catalogue` and `detect-retakes` among them, with current usages; it is generated with the English reference and checked against `describe` like it. +- The Windows relocation check of the portable archive waits for Windows to release the folder after the bundled runtime exits, instead of failing on a momentary lock. + ## [0.37.0] - 2026-11-22 ### Added diff --git a/README.md b/README.md index 177f9e9..6a36332 100644 --- a/README.md +++ b/README.md @@ -34,16 +34,16 @@ npm install -g capcut-cli ### Portable downloads without installing Node or npm -Download `capcut-cli-v0.37.0-linux-x64.tar.gz` and its `.sha256` file from the [release assets](https://github.com/renezander030/capcut-cli/releases). Verify and extract them together: +Download `capcut-cli-v0.37.1-linux-x64.tar.gz` and its `.sha256` file from the [release assets](https://github.com/renezander030/capcut-cli/releases). Verify and extract them together: ```sh -sha256sum -c capcut-cli-v0.37.0-linux-x64.tar.gz.sha256 -tar -xzf capcut-cli-v0.37.0-linux-x64.tar.gz -./capcut-cli-v0.37.0-linux-x64/capcut --version -./capcut-cli-v0.37.0-linux-x64/capcut describe --compact +sha256sum -c capcut-cli-v0.37.1-linux-x64.tar.gz.sha256 +tar -xzf capcut-cli-v0.37.1-linux-x64.tar.gz +./capcut-cli-v0.37.1-linux-x64/capcut --version +./capcut-cli-v0.37.1-linux-x64/capcut describe --compact ``` -On Linux arm64 (aarch64), choose `capcut-cli-v0.37.0-linux-arm64.tar.gz` and its matching `.sha256` file, then use the same verification and extraction commands with that filename. Use the archive matching the machine architecture; these archives bundle Node, not ffmpeg or the desktop editor. +On Linux arm64 (aarch64), choose `capcut-cli-v0.37.1-linux-arm64.tar.gz` and its matching `.sha256` file, then use the same verification and extraction commands with that filename. Use the archive matching the machine architecture; these archives bundle Node, not ffmpeg or the desktop editor. Keep the whole extracted directory together; it includes the Node runtime and its license. Both `capcut` and `capcut-cli` launchers work after moving the directory. Linux archives target x64 or arm64 with glibc (not Alpine/musl); optional FFmpeg/Whisper tools remain separate. This is a portable directory, not a single-file executable. @@ -52,18 +52,18 @@ You can add the extracted directory to `PATH` or create symbolic links to `capcu On macOS, choose `darwin-arm64` for Apple Silicon or `darwin-x64` for Intel. Download the matching archive and checksum from the same release, then verify and extract them (Apple Silicon example): ```sh -shasum -a 256 -c capcut-cli-v0.37.0-darwin-arm64.tar.gz.sha256 -tar -xzf capcut-cli-v0.37.0-darwin-arm64.tar.gz -./capcut-cli-v0.37.0-darwin-arm64/capcut --version +shasum -a 256 -c capcut-cli-v0.37.1-darwin-arm64.tar.gz.sha256 +tar -xzf capcut-cli-v0.37.1-darwin-arm64.tar.gz +./capcut-cli-v0.37.1-darwin-arm64/capcut --version ``` -On Windows x64 (from release 0.37.0 on), download `capcut-cli-v0.37.0-win-x64.zip` and its `.sha256` file. In PowerShell, compare the hash with the one in the `.sha256` file, extract, and run the `capcut.cmd` launcher: +On Windows x64 (from release 0.37.1 on), download `capcut-cli-v0.37.1-win-x64.zip` and its `.sha256` file. In PowerShell, compare the hash with the one in the `.sha256` file, extract, and run the `capcut.cmd` launcher: ```powershell -(Get-FileHash capcut-cli-v0.37.0-win-x64.zip -Algorithm SHA256).Hash.ToLower() -Get-Content capcut-cli-v0.37.0-win-x64.zip.sha256 -Expand-Archive capcut-cli-v0.37.0-win-x64.zip -DestinationPath . -.\capcut-cli-v0.37.0-win-x64\capcut.cmd --version +(Get-FileHash capcut-cli-v0.37.1-win-x64.zip -Algorithm SHA256).Hash.ToLower() +Get-Content capcut-cli-v0.37.1-win-x64.zip.sha256 +Expand-Archive capcut-cli-v0.37.1-win-x64.zip -DestinationPath . +.\capcut-cli-v0.37.1-win-x64\capcut.cmd --version ``` The folder holds the official Node runtime (`runtime\node.exe` and its license); `capcut.cmd` and `capcut-cli.cmd` work from any location, also with spaces in the path, and you can add the folder to `PATH`. Arguments pass through `cmd.exe`, so quote values containing `&`, `|`, `<`, `>` or `^`. Every release builds this archive on a Windows runner and runs it there before publishing. diff --git a/docs/command-reference.json b/docs/command-reference.json index 062726c..269a2c4 100644 --- a/docs/command-reference.json +++ b/docs/command-reference.json @@ -1,6 +1,6 @@ { "name": "capcut-cli", - "version": "0.37.0", + "version": "0.37.1", "schema_version": 2, "description": "Edit CapCut/JianYing draft_content.json directly. JSON in, JSON out.", "global_flags": [ diff --git a/docs/command-reference.zh-CN.md b/docs/command-reference.zh-CN.md index 6f0c3d7..0665359 100644 --- a/docs/command-reference.zh-CN.md +++ b/docs/command-reference.zh-CN.md @@ -23,7 +23,7 @@ | `opacity` | `capcut opacity ` | 是 | 设置片段不透明度(0.0-1.0)。 | | `export-srt` | `capcut export-srt [options]` | 否 | 把字幕导出为 SRT 或 WebVTT(输出到 stdout),按行或按词。 | | `export-ass` | `capcut export-ass [--karaoke] [--out ]` | 否 | 把带样式的 ASS 字幕导出到 stdout 或 --out,支持按区间的样式覆盖;--karaoke 输出逐词时间。 | -| `export-timeline` | `capcut export-timeline [--out ]` | 否 | 把视频/音频轨道导出为 OpenTimelineIO JSON,交接给 NLE(DaVinci Resolve 原生导入 .otio)。 | +| `export-timeline` | `capcut export-timeline [--out ] [--captions skip\|markers]` | 否 | 把视频/音频轨道导出为 OpenTimelineIO JSON,交接给 NLE(DaVinci Resolve 原生导入 .otio)。 | | `import-timeline` | `capcut import-timeline (--out \| --into )` | 是 | 导入 OpenTimelineIO JSON,把嵌套的 Timeline/Stack/Track 展平,生成新草稿(--out)或追加到已有草稿(--into);不支持的 OTIO 特性一律报告,绝不静默丢弃。 | | `materials` | `capcut materials [--type ]` | 否 | 列出素材类型与数量;用 --type 过滤。 | | `segment` | `capcut segment ` | 否 | 单个片段及其素材的完整详情。 | @@ -31,7 +31,8 @@ | `add-audio` | `capcut add-audio [duration] [options]` | 是 | 在音频轨道上添加本地或 Wikimedia 音频文件。 | | `add-video` | `capcut add-video [duration] [options]` | 是 | 在视频轨道上添加本地或 Wikimedia 视频/图片。 | | `add-text` | `capcut add-text [options]` | 是 | 添加文本片段,带字体/颜色/位置选项。 | -| `tts` | `capcut tts [start] [duration] (--text \| --text-file ) --tts-cmd