release: v0.24.0 — script-aware caption limits, encrypted-store seed report, agent install - #118
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
lintholds 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),--fixre-wraps between characters, and an explicit--max-chars/--max-cpsapplies to every script. Library:captionScript,captionLimits,scriptLimitsExcept,CJK_SCRIPT_LIMITS,LintOptions.scriptLimits(nullkeeps the Latin limits everywhere).init,quickstartandcompilereport 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.warningin the JSON, the quickstartcreatestep and the compilewarningslist.lintreportstemplate-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.npx skills add renezander030/capcut-cli, and the Claude Code plugin route. Thecapcut-editskill also triggers on Chinese requests (剪映, 字幕, 草稿). Plugin manifest 0.2.0.docs/jianying-encryption(both languages) and the regenerated command reference.Verification
npm run lintclean;npm test969/969 (13 new tests intest/lint-cjk.test.mjsandtest/init-seed-encrypted.test.mjs: zh/ja/ko limits, Latin and mixed text unchanged, explicit flags per rule,--fixre-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-cliresolves the repo and finds thecapcut-editskill.template.store,template.warning).Review notes
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-srtstill group by--max-chars), rendering, store write paths.line-too-long/caption-too-fast;--max-chars/--max-cpsrestore the old limits.