Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
feat: remove TierBoard ranking surface
rponef87a566fcd7a
diff --git a/packages/ranking/README.md b/packages/ranking/README.mdindex eab167d7..c144a750 100644--- a/packages/ranking/README.md+++ b/packages/ranking/README.md@@ -1,85 +1,23 @@# @hypit/ranking-Three independent progressive-ranking author components over one private schedule utility:+Progressive-ranking author components over a shared schedule utility:-- `TierBoard`- `Column`- `TopThree`-The package owns variant-specific Programs and Styles. It consumes explicit Program/Segment/Selection/Moment,-SemanticTrack, Canvas, SpatialFrame, font, image and optional sound edges, then lowers to peer-`VisualTrack` and optional `AudioTrack` values. It adds no Ranking field to Core, Composition or-Visual IR.+The package consumes SemanticTrack timing, spatial frames, fonts, optional icons and sound, then+lowers each component to peer `VisualTrack` and optional `AudioTrack` values. Styles are compiled+from typed SVS Recipes and exact font references. Visible copy may be literal or an existing graph+`Text` reference.-Each `*Style` declaration compiles one SVS Recipe and exact font reference into its visual Style-plus a private named `.sound` Style output. A Ranking component connects both outputs when authored-sound exists; no sound produces no audio branch.--Ranking Recipe vocabulary is typed at the domain boundary. `rank-colors` and-the exactly-three `slot-colors` are color lists; Tier `rows` is a list of-`{ id, label, color }` records. SVS therefore preserves those values directly-instead of hiding them in `|`- or `:`-delimited strings. Studio may render the-same schema as a palette/list through `ranking-studio`, while other editors and-diagnostic tools can consume it without depending on Studio.--Visible author copy may be literal or an ordinary graph `Text` reference. Column and TopThree use-`label={copy}`. When a reference is used, the graph first materializes the package-owned item shell-from that exact Text and then shares the one result across schedule, event and render work. Tier row-names remain Style configuration because they define the board vocabulary rather than dynamic item-copy.+`Column` assigns rows by explicit rank. Non-preset rows own disjoint reveal windows inside the+board lifetime; preset rows are settled from the first frame. `TopThree` assigns up to three items+to explicit trigger instants and a terminal instant.```svml-<import as="copy" from="@hypit/text@1"/>--<copy:Value id="winner">No hidden runtime choice</copy:Value>-<ranking:Column id="priorities" semantic={speech.semantic} canvas={vertical}- frame={layout.ranking} during={story.segment.ranking}- style={ranking-style}>- <ranking:ColumnItem rank="1" label={winner}- during={story.selection.winner-reveal}/>+ frame={layout.ranking} during={story.segment.ranking} style={ranking-style}>+ <ranking:ColumnItem rank="1" label="Winner" during={story.selection.winner}/><ranking:ColumnItem rank="2" preset="true" label="Already placed"/></ranking:Column>```--Column separates placement from reveal time. `rank` determines the numbered row only. Every-non-preset Item owns one Segment or Selection whose projected window is its reveal interval. Every sibling-window must already be disjoint and contained by the container's Program/Segment/Selection `during` span;-invalid input is refused instead of clamped or rearranged. Reveal time, child order and rank may all differ. A preset Item-has no child `during` and is settled from the beginning of the outer window.--TierBoard follows the same window contract. A preset Item is settled from the start and has no-`during` or `entry`. Every other Item owns one Segment or Selection and explicitly chooses `entry="direct"` or-`entry="drop"`. The windows must be contained, non-empty and mutually disjoint. Presets take the-innermost cells in author order; non-preset Items then take cells from inside to outside in strict-window order, regardless of child order. Its board and explanation stage are independent: `frame`-is only the continuous colored-label/dark-content tier table, while `canvas` supplies the coordinate-space for the stage. A direct Item appears in place at its target cell with a quick scale overshoot-and soft settle. A drop Item uses the same in-place entrance on the stage, holds perfectly still-while that Item is discussed, and only follows an eased curved glide into its target cell during the-final `move-frames` ending exactly at the window boundary. It then remains settled.--TierBoard and Column accept `during="program"` when their outer lifetime is the complete-SemanticTrack domain. The author Surface projects that Program source to the same `TemporalWindow`-consumed by the Ranking schedule; the component does not learn a separate Program timing mode.--```svml-<ranking:TierBoard id="tiers" semantic={speech.semantic} canvas={vertical}- frame={layout.tiers} during={story.segment.tiers} style={tier-style}>- <ranking:TierItem tier="s" preset="true" icon={brand}/>- <ranking:TierItem tier="a" entry="direct" icon={first}- during={story.selection.first}/>- <ranking:TierItem tier="a" entry="drop" icon={second}- during={story.selection.second}/>-</ranking:TierBoard>-```--TopThree triggers and its terminal remain explicit `TemporalInstant` values. TierBoard and Column-outer/reveal inputs are `TemporalWindow` values. Ranking consumes those projections plus-ProgramSpace and owns only the subsequent visual schedule; it never locates Moment/Selection-frames internally.--TierBoard and Column both separate their compact `frame` from an independent Canvas stage.-`stage-x` and `stage-y` are normalized Canvas coordinates, and `stage-size` is independent from the-settled cell size. Column reveals rise from below the Canvas; Tier entries appear in place, and only-`drop` entries later move from the stage into the board.diff --git a/packages/ranking/preview/TierBoard.svg b/packages/ranking/preview/TierBoard.svgdeleted file mode 100644index 52fcbbe2..00000000--- a/packages/ranking/preview/TierBoard.svg+++ /dev/null@@ -1,36 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" width="274" height="392" viewBox="0 0 274 392" fill="none">- <!-- A compact crop of the real TierBoard: one continuous square-edged- table, original row paint and typography, and icons inside its dark- content column. The 24px side gutters remain visible when repeated. -->- <g>- <path d="M24 16H137V136H24Z" fill="#EE5F52"/>- <path d="M24 136H137V256H24Z" fill="#F0A04C"/>- <path d="M24 256H137V376H24Z" fill="#F0C84D"/>- <path d="M137 16H250V376H137Z" fill="#2B2B30"/>-- <g fill="#2C2C2C" font-family="Inter,Arial,sans-serif" font-size="36" font-weight="400" text-anchor="middle">- <text x="80.5" y="88">S</text>- <text x="80.5" y="208">A</text>- <text x="80.5" y="328">B</text>- </g>-- <g>- <rect x="145" y="28" width="96" height="96" rx="12" fill="#5B65C9"/>- <circle cx="193" cy="76" r="26" fill="#FFFFFF" fill-opacity=".16"/>- <path d="M186 59L210 76L186 93Z" fill="#FFFFFF"/>-- <rect x="145" y="148" width="96" height="96" rx="12" fill="#279CA8"/>- <path d="M164 176H208V185H164ZM164 191H197V200H164ZM164 206H208V215H164Z" fill="#FFFFFF"/>- <path d="M201 190L217 196L201 202Z" fill="#FFFFFF"/>-- <rect x="145" y="268" width="96" height="96" rx="12" fill="#C96254"/>- <circle cx="185" cy="316" r="19" fill="none" stroke="#FFFFFF" stroke-width="8"/>- <circle cx="207" cy="316" r="19" fill="none" stroke="#FFFFFF" stroke-width="8"/>- </g>-- <g stroke="#111315" stroke-width="3">- <path d="M24 136H250M24 256H250M137 16V376"/>- <rect x="24" y="16" width="226" height="360"/>- </g>- </g>-</svg>diff --git a/packages/ranking/src/activation.ts b/packages/ranking/src/activation.tsindex cf9ef4fd..60a14dba 100644--- a/packages/ranking/src/activation.ts+++ b/packages/ranking/src/activation.ts@@ -3,8 +3,6 @@ import { createMarkupSurfaceHostFacet } from "@hypit/markup";import {decodeColumnStyleSurface,decodeColumnSurface,- decodeTierBoardStyleSurface,- decodeTierBoardSurface,decodeTopThreeStyleSurface,decodeTopThreeSurface,rankingComponent,@@ -14,10 +12,8 @@ import {} from "./index.js";const facets = [- ["tier-style", decodeTierBoardStyleSurface],["column-style", decodeColumnStyleSurface],["top-three-style", decodeTopThreeStyleSurface],- ["tier", decodeTierBoardSurface],["column", decodeColumnSurface],["top-three", decodeTopThreeSurface],] as const;diff --git a/packages/ranking/src/manifest.ts b/packages/ranking/src/manifest.tsindex 0987319e..500a6c34 100644--- a/packages/ranking/src/manifest.ts+++ b/packages/ranking/src/manifest.ts@@ -244,7 +244,7 @@ const programDefinitions = [[rankingTypes.topThreeProgram, rankingTypes.topThreeStyle, rankingTypes.topThreeItems, rankingProducers.topThreeProgram, rankingProducers.topThreeEvents, rankingProducers.renderTopThree],] as const;-export const rankingMarkupSurfaces = [+const allRankingMarkupSurfaces = [{ name: "tier-style", tag: "TierBoardStyle", mode: "structured", outputs: [rankingTypes.tierStyle, rankingTypes.soundStyle],vocabulary: {summary: "Compiles one SVS Recipe and one exact font into the Style a TierBoard is drawn in, and the private sound Style it connects.",@@ -688,8 +688,9 @@ export const rankingMarkupSurfaces = ["Authoring the appear sound also connects the Style's `.sound` output, so `style` must name a TopThreeStyle written in this Source.",],} },- ] as const;+] as const;+export const rankingMarkupSurfaces = allRankingMarkupSurfaces.filter((surface) => surface.name !== "tier-style" && surface.name !== "tier");export const rankingManifest: ModuleManifest = {format: "hypit.module@1", name: rankingModuleRef.name, version: rankingModuleRef.version,