Repository navigation
VFG-93 Shorts を場面の型で描く (つかみ・つながり・数字・締め) - #57
Merged
Merged
Conversation
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.
概要
Shorts を、語りの文ごとの「場面の型」と「型のデータ」で描く。台本の段の出力に文ごとの場面を足し、描画が型の部品 (ネオン HUD) で描く。字幕は語りの全文をやめ、要点のテロップにする。
変更内容
hook・network・counter・outro・pointsを、既存の画面の部品の仕組み (RenderVisual) に足した。上限はsrc/render/scene.ts。shorts.scenes[](型・データ・caption・highlights)。LLM の呼び出しは増えない。スキーマは 1 つのオブジェクトの配列で、anyOfと長いenumは使わない。プロンプトに型ごとの例とテロップの例を入れた。pointsに落とす。テロップは検査に通らなければ語りの文から機械的に作る。THIRD_PARTY_LICENSES.md)、粒の流れ、灯る点、数え上がり、グリッチの題、テロップの帯。scene-timing.tsの純粋な関数で、イベント一覧 (timelineSceneEvents) を返せる。optical.ts)。題の枠で、英字・日本語・混在とも上下の余白の差が 3px 以内。subtitles: falseで帯を出さない。設定script.captionChars(既定 24)。scripts/shorts-scenes/render.ts。設計メモdocs/design/shorts-scenes.md。動作確認
pnpm lint、pnpm typecheck、pnpm test(858 件)、pnpm format:checkリスクの確認
.env*、キー、トークン) を含めていない人が確認すること
補足