Skip to content

release: v0.24.0 — script-aware caption limits, encrypted-store seed report, agent install - #118

Merged
renezander030 merged 3 commits into
masterfrom
release/v0.24.0
Sep 18, 2026
Merged

renezander030 merged 3 commits into
masterfrom
release/v0.24.0

Conversation

@renezander030

Copy link
Copy Markdown
Owner

What changes

  • lint holds Chinese, Japanese and Korean captions to their own limits. 16 characters per line and 9 per second for Chinese, 13 and 4 for Japanese, 16 and 12 for Korean, in place of the Latin 42 and 20 that let a 32-character Chinese line pass. Messages name the applied default (>16, zh default), --fix re-wraps between characters, and an explicit --max-chars / --max-cps applies to every script. Library: captionScript, captionLimits, scriptLimitsExcept, CJK_SCRIPT_LIMITS, LintOptions.scriptLimits (null keeps the Latin limits everywhere).
  • init, quickstart and compile report what the drafts folder held when the skeleton was chosen (template.store: projects, readable, markerless, encrypted, unreadable). When every project is encrypted (JianYing 6.0+) and nothing could seed the draft, they say so: a WARNING on stderr, template.warning in the JSON, the quickstart create step and the compile warnings list.
  • lint reports template-unverified-store (info) for a bundled-template draft in a drafts folder whose projects are all encrypted: nothing could have seeded it and no version can be compared, so it is unverified for that app rather than stale. The linted draft no longer counts as its own store evidence.
  • README (English and Chinese) documents the one-command agent install, npx skills add renezander030/capcut-cli, and the Claude Code plugin route. The capcut-edit skill also triggers on Chinese requests (剪映, 字幕, 草稿). Plugin manifest 0.2.0.
  • Version 0.24.0, changelog, README highlights (v0.24.0 and v0.23.0 kept, v0.22.0 dropped), docs/jianying-encryption (both languages) and the regenerated command reference.

Verification

  • npm run lint clean; npm test 969/969 (13 new tests in test/lint-cjk.test.mjs and test/init-seed-encrypted.test.mjs: zh/ja/ko limits, Latin and mixed text unchanged, explicit flags per rule, --fix re-wrap to 16, all-encrypted store, readable-beside-encrypted seeding, --template bundled, broken-vs-encrypted classification, template-unverified-store, quickstart note).
  • npx skills add renezander030/capcut-cli resolves the repo and finds the capcut-edit skill.
  • No command removed; existing output shapes unchanged. New fields are additive (template.store, template.warning).

Review notes

  • Base: 11862d7. Touched: src/lint.ts, src/factory.ts, src/index.ts (lint options + store scan), src/quickstart.ts, src/compile.ts, src/command-specs.ts, src/lib.ts, READMEs, skill + plugin manifests, changelog, docs. Untouched: caption generation (caption / import-srt still group by --max-chars), rendering, store write paths.
  • Lint behaviour change for CJK captions: drafts that passed before may now report line-too-long / caption-too-fast; --max-chars / --max-cps restore the old limits.
  • No open PRs overlap.

lint holds captions written in Chinese, Japanese or Korean to their own
limits (zh 16 characters per line / 9 per second, ja 13 / 4, ko 16 / 12)
instead of the Latin 42 / 20 that let a 32-character Chinese line pass.
Messages name the applied default, --fix re-wraps between characters, and
an explicit --max-chars / --max-cps applies to every script. Library:
captionScript, captionLimits, scriptLimitsExcept, CJK_SCRIPT_LIMITS and
LintOptions.scriptLimits.

init, quickstart and compile report what the drafts folder held when the
skeleton was chosen (template.store). When every project is encrypted
(JianYing 6.0+) and nothing could seed the draft, they say so: a WARNING
on stderr, template.warning in the JSON, the quickstart create step and
the compile warnings list. lint reports template-unverified-store (info)
for a bundled-template draft in such a folder, and no longer counts the
linted draft as its own store evidence.

Tests: test/lint-cjk.test.mjs and test/init-seed-encrypted.test.mjs.
…est 0.2.0

README (English and Chinese) gains a section on installing the capcut-edit
skill into Claude Code, Codex, Cursor, OpenCode and the other agents the
skills installer supports (npx skills add renezander030/capcut-cli), plus
the Claude Code plugin route. The skill description now also triggers on
Chinese requests (剪映, 字幕, 草稿, 剪辑, 切片, 视频编辑), and the plugin
manifest's description and keywords match the current command surface.

The v0.24.0 highlights replace v0.22.0 in both READMEs.
Version bump and changelog for the script-aware caption limits, the
encrypted-store seed report and the agent install docs.
@renezander030
renezander030 merged commit 72cd7d3 into master Sep 18, 2026
9 checks passed
@renezander030
renezander030 deleted the release/v0.24.0 branch September 18, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant