popost 4.6.1 → 4.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +59 -3
- package/README.md +20 -7
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- package/assets/video/examples/audio-bars.html +125 -0
- package/assets/video/examples/bouncing-ball.html +182 -0
- package/assets/video/examples/card-flip.html +92 -0
- package/assets/video/examples/catalogue.json +16221 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/dist/cli.js +35440 -2563
- package/dist/index.js +35143 -2437
- package/dist/types/args.d.ts +2 -0
- package/dist/types/cloud/service.d.ts +13 -0
- package/dist/types/commands/usage.d.ts +2 -0
- package/dist/types/commands/video.d.ts +10 -0
- package/dist/types/cpu-budget.d.ts +43 -0
- package/dist/types/images/batch-jobs.d.ts +2 -0
- package/dist/types/images/batch-run.d.ts +2 -1
- package/dist/types/images/jobs.d.ts +7 -0
- package/dist/types/images/pending.d.ts +40 -0
- package/dist/types/images/retry.d.ts +4 -1
- package/dist/types/images/run.d.ts +9 -1
- package/dist/types/node-runtime.d.ts +6 -1
- package/dist/types/providers/api.d.ts +9 -0
- package/dist/types/providers/base.d.ts +2 -0
- package/dist/types/providers/cli-generate.d.ts +5 -1
- package/dist/types/providers/cli-pending.d.ts +24 -0
- package/dist/types/providers/errors.d.ts +2 -1
- package/dist/types/providers/ledger.d.ts +10 -6
- package/dist/types/providers/popost-async.d.ts +35 -0
- package/dist/types/providers/popost-tasks.d.ts +16 -5
- package/dist/types/providers/popost.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -0
- package/dist/types/render/browser.d.ts +16 -2
- package/dist/types/runtime.d.ts +73 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/align/index.d.ts +43 -0
- package/dist/types/video/capture/director.d.ts +70 -0
- package/dist/types/video/capture/index.d.ts +141 -0
- package/dist/types/video/capture/stage.d.ts +99 -0
- package/dist/types/video/capture/steps.d.ts +138 -0
- package/dist/types/video/commands/cast.d.ts +3 -0
- package/dist/types/video/commands/clips.d.ts +2 -0
- package/dist/types/video/commands/compare-scope.d.ts +7 -0
- package/dist/types/video/commands/credits.d.ts +19 -0
- package/dist/types/video/commands/elements.d.ts +22 -0
- package/dist/types/video/commands/eval.d.ts +2 -0
- package/dist/types/video/commands/example.d.ts +1 -0
- package/dist/types/video/commands/generate.d.ts +14 -0
- package/dist/types/video/commands/loop-shared.d.ts +12 -0
- package/dist/types/video/commands/loop.d.ts +4 -0
- package/dist/types/video/commands/make.d.ts +9 -0
- package/dist/types/video/commands/materials.d.ts +1 -0
- package/dist/types/video/commands/measure.d.ts +2 -0
- package/dist/types/video/commands/media.d.ts +2 -0
- package/dist/types/video/commands/music-plan.d.ts +1 -0
- package/dist/types/video/commands/music.d.ts +2 -0
- package/dist/types/video/commands/read.d.ts +19 -0
- package/dist/types/video/commands/replication.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +50 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-run.d.ts +54 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +56 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +150 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +51 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +40 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +54 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/encode.d.ts +49 -0
- package/dist/types/video/render/index.d.ts +90 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +64 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +163 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +7 -0
- package/dist/types/video/retarget/index.d.ts +248 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +41 -0
- package/dist/types/video/retarget/tempo.d.ts +40 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +41 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +51 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +52 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +81 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +36 -0
- package/dist/types/video/voice/index.d.ts +61 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +38 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/post-bundle.d.ts +2 -2
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +1 -1
- package/references/providers.md +5 -2
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +605 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +86 -0
- package/references/video-project.md +63 -0
- package/references/video-replication.md +276 -0
- package/references/video-scenes.md +366 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +207 -0
- package/references/video-templates.md +177 -0
- package/references/video-tools.md +560 -0
- package/references/video.md +756 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* elements.json: what a model read from describe's frame pictures, shot by shot. Programs measure when and where (cuts,
|
|
3
|
+
* spans, text boxes, colours); they cannot say what a thing is or how it looks. So a model that looks at the pictures
|
|
4
|
+
* writes, for every measured shot, its layers (each with a box, a look precise enough to redraw it, what it shows and
|
|
5
|
+
* its role), the change into it, its captions, its marks and why each is there. `popost video elements check` holds
|
|
6
|
+
* the file to the measurement, `template save` carries it into the template, and the checks of a fill and a project
|
|
7
|
+
* use it. Nothing here names a kind of video: a screen, a product or a platform is one kind of layer among others.
|
|
8
|
+
*/
|
|
9
|
+
import type { Box, KnownAs, TransitionKind, Unrecovered } from '../types';
|
|
10
|
+
/** The file, in the directory describe wrote. */
|
|
11
|
+
export declare const ELEMENTS_FILE = "elements.json";
|
|
12
|
+
/** What a layer is. */
|
|
13
|
+
export declare const LAYER_KINDS: readonly ["ground", "frame", "screen", "footage", "picture", "person", "product", "caption", "title", "sticker", "highlight", "pointer", "object", "platform", "other"];
|
|
14
|
+
export type LayerKind = (typeof LAYER_KINDS)[number];
|
|
15
|
+
/**
|
|
16
|
+
* What a re-make does with a layer. design: keeps its look. content: shows the new subject in its place. platform: the
|
|
17
|
+
* watermark, the account, the platform's own pages and buttons; creator: the original author's face, name or avatar.
|
|
18
|
+
* Neither of the last two is ever re-made.
|
|
19
|
+
*/
|
|
20
|
+
export declare const ROLES: readonly ["design", "content", "platform", "creator"];
|
|
21
|
+
export type LayerRole = (typeof ROLES)[number];
|
|
22
|
+
export type DroppedRole = Extract<LayerRole, 'platform' | 'creator'>;
|
|
23
|
+
export declare const isDropped: (role: LayerRole) => role is DroppedRole;
|
|
24
|
+
/** The kinds of mark a shot puts on something. */
|
|
25
|
+
export declare const MARKS: readonly ["box", "zoom", "pointer", "circle", "underline", "arrow", "other"];
|
|
26
|
+
export type MarkKind = (typeof MARKS)[number];
|
|
27
|
+
/** The change into a shot as the reader saw it: one of the engine's kinds, or "custom" for an effect of its own. */
|
|
28
|
+
export type ReadKind = TransitionKind | 'custom';
|
|
29
|
+
/**
|
|
30
|
+
* How the fields of an entry are known, by field name: "measured" (copied from the reading: shots/NN.md, timeline.md),
|
|
31
|
+
* "inferred" (seen in the frames by the model that wrote the entry) or "unknown" (could not be told; the value is a
|
|
32
|
+
* guess or is left out). With a note when it needs one: { "status": "inferred", "note": "why it differs from the
|
|
33
|
+
* measured value" }. A field without a label is unlabelled, as in every file written before labels existed.
|
|
34
|
+
*/
|
|
35
|
+
export type FieldLabel = KnownAs | {
|
|
36
|
+
status: KnownAs;
|
|
37
|
+
note?: string;
|
|
38
|
+
};
|
|
39
|
+
export type FieldStatus = Record<string, FieldLabel>;
|
|
40
|
+
export declare const labelOf: (s: FieldStatus | undefined, field: string) => {
|
|
41
|
+
status?: KnownAs;
|
|
42
|
+
note?: string;
|
|
43
|
+
};
|
|
44
|
+
/** The fields of each object that may be labelled, and those of them the reading measures (the others are never "measured"). */
|
|
45
|
+
export declare const STATUS_FIELDS: {
|
|
46
|
+
readonly shot: readonly ["time", "job", "layout", "captions", "emphasis"];
|
|
47
|
+
readonly layer: readonly ["box", "look", "content", "enters", "moves", "leaves"];
|
|
48
|
+
readonly transition: readonly ["kind", "seconds", "description"];
|
|
49
|
+
};
|
|
50
|
+
export declare const MEASURABLE: readonly string[];
|
|
51
|
+
export interface Layer {
|
|
52
|
+
/** Unique in its shot; the template names content places by it. */
|
|
53
|
+
id: string;
|
|
54
|
+
kind: LayerKind;
|
|
55
|
+
/** [x, y, width, height] as shares of the frame. */
|
|
56
|
+
box: Box;
|
|
57
|
+
/** Precise enough to redraw: colours, shape, weight, outline, plate, angle. */
|
|
58
|
+
look: string;
|
|
59
|
+
/** What it shows or says. */
|
|
60
|
+
content?: string;
|
|
61
|
+
role: LayerRole;
|
|
62
|
+
/** How and when (seconds of the video) it enters, moves and leaves. */
|
|
63
|
+
enters?: string;
|
|
64
|
+
moves?: string;
|
|
65
|
+
leaves?: string;
|
|
66
|
+
/** How box, look, content, enters, moves and leaves are known. */
|
|
67
|
+
status?: FieldStatus;
|
|
68
|
+
}
|
|
69
|
+
export interface ReadTransition {
|
|
70
|
+
kind: ReadKind;
|
|
71
|
+
/** How long it lasts. */
|
|
72
|
+
seconds?: number;
|
|
73
|
+
/** Frame by frame what happens (which object moves, its path, the shape of the edge, what is revealed); for "custom", or a standard kind the measurement doubted, why it is that kind. */
|
|
74
|
+
description?: string;
|
|
75
|
+
/** How kind, seconds and description are known. */
|
|
76
|
+
status?: FieldStatus;
|
|
77
|
+
}
|
|
78
|
+
/** A mark on something: what kind, on what, and what the line at that moment says that makes it worth marking. */
|
|
79
|
+
export interface Mark {
|
|
80
|
+
what: MarkKind;
|
|
81
|
+
on: string;
|
|
82
|
+
why?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface ShotReading {
|
|
85
|
+
/** The measured shot, from 1, and its time in seconds as the measurement gives it. */
|
|
86
|
+
shot: number;
|
|
87
|
+
time: [number, number];
|
|
88
|
+
/** What the shot does in the story, in free words (a hook, a proof, a demo, a call to action). */
|
|
89
|
+
job?: string;
|
|
90
|
+
/** The kind of picture in generic words: a full-frame screen recording, a window on a designed ground, a title card, a person to camera. */
|
|
91
|
+
layout: string;
|
|
92
|
+
/** An animation of this shot runs across the boundary into the next one. */
|
|
93
|
+
sameEffectAsNext?: boolean;
|
|
94
|
+
/** The change into the shot; absent on the first. */
|
|
95
|
+
transitionIn?: ReadTransition;
|
|
96
|
+
layers: Layer[];
|
|
97
|
+
/** The captions' style, the style of the words drawn differently and which words ("none" when there are none), and how a line appears (at once, word by word, letter by letter, wipes on). */
|
|
98
|
+
captions?: {
|
|
99
|
+
base: string;
|
|
100
|
+
highlight?: string;
|
|
101
|
+
reveal?: string; /** Visually confirmed caption lines; [] means no captions in this shot. OCR supplies their times. */
|
|
102
|
+
lines?: string[];
|
|
103
|
+
};
|
|
104
|
+
emphasis?: Mark[];
|
|
105
|
+
/** Two or three sentences on how to draw the shot. */
|
|
106
|
+
rebuild?: string;
|
|
107
|
+
/** The whole shot is not re-made (the platform's end card, the author's sign-off), and why; only shots at the end. */
|
|
108
|
+
drop?: string;
|
|
109
|
+
/** How time, job, layout, captions and emphasis are known. */
|
|
110
|
+
status?: FieldStatus;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* unrecovered: what the reader could not see or tell in the frames, appended to the reading's own list
|
|
114
|
+
* (unrecovered.json): what, where ({"shot"}, {"transition"} or {"time": [from, to]}), why, and "assumed": what the
|
|
115
|
+
* re-make does instead.
|
|
116
|
+
*/
|
|
117
|
+
export interface Elements {
|
|
118
|
+
shots: ShotReading[];
|
|
119
|
+
unrecovered?: Unrecovered[];
|
|
120
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a caption stands out from what is behind it. A text reader is no judge of that: on synthetic renders it read
|
|
3
|
+
* white letters on a #f5f5f5 page (1.1:1) and black letters over a page full of black text, which a viewer barely
|
|
4
|
+
* makes out. So the frame is measured as a viewer's eye takes it, against the colour the project gives the letters:
|
|
5
|
+
* - What is behind the letters: an outline at least a pixel wide outside the glyphs (half of style.stroke) is; else
|
|
6
|
+
* the pixels of the frame in a ring around the line (ringOf), which are the plate when the caption has one, as it
|
|
7
|
+
* was drawn, and the picture when it has none. A shadow does not count: white letters with a soft dark shadow over
|
|
8
|
+
* a page of text were as hard to make out as without it (the reader missed three of four).
|
|
9
|
+
* - A reading is a caption in one frame: the median WCAG contrast ratio of the letters to the ring, the share of the
|
|
10
|
+
* ring under LOW_CONTRAST, and how busy the ring is (changes between "about as light as the letters" and "not" per
|
|
11
|
+
* em along its rows). Three samples per caption and shot; the median of each counts.
|
|
12
|
+
* - A caption does not stand out when its median ratio is under CALM, the share is PART or more, or the ring is BUSY
|
|
13
|
+
* or busier: one warning per shot, with the worst caption.
|
|
14
|
+
* Thresholds, from 78 synthetic captions (1280x720, bold CJK at 4 to 6.5% of the height; plain white, black and
|
|
15
|
+
* yellow, an outline, two plates, a shadow; over flat colours, pages full of text at 14, 20 and 28 px, a white window
|
|
16
|
+
* with text over a dark desktop, a sky, colourful blocks), judged by eye on full-size crops:
|
|
17
|
+
* - letters and background of about one colour came out at 1.0 to 2.1:1, yellow on mid grey or over the colourful
|
|
18
|
+
* blocks (weak but readable) at 2.84, white on mid grey (fine) at 4.06: CALM is 3, WCAG's ratio for large text;
|
|
19
|
+
* - page text running behind or through a plain caption gave 0.78 to 5.95 changes per em, flat backgrounds and a
|
|
20
|
+
* caption on a dark band under a window full of text 0, the colourful blocks 0.19 to 0.23: BUSY is 0.6;
|
|
21
|
+
* - plain white or black over the colourful blocks (readable) left 25 to 28% of the ring under 3:1; a caption half
|
|
22
|
+
* over a light area and half over a dark one leaves about half, which the median alone may pass: PART is 0.4.
|
|
23
|
+
* The reader read 19 of the 41 captions warned about. One warning is too strict: white letters with a soft shadow
|
|
24
|
+
* over a light sky (1.79:1) read well.
|
|
25
|
+
*/
|
|
26
|
+
import type { Runtime } from '../../runtime';
|
|
27
|
+
import type { Problem, Resolved, ResolvedItem } from '../types';
|
|
28
|
+
/** A pixel this close to the letters' colour (WCAG ratio) does not set them apart. */
|
|
29
|
+
export declare const LOW_CONTRAST = 3;
|
|
30
|
+
/** Under this median ratio to what is behind them, the letters are drawn too close to its colour. */
|
|
31
|
+
export declare const CALM = 3;
|
|
32
|
+
/** From this share of what is around them under LOW_CONTRAST, the letters sit in part on something like themselves. */
|
|
33
|
+
export declare const PART = 0.4;
|
|
34
|
+
/** From this many changes per em around the line, text or fine detail of the picture runs behind it. */
|
|
35
|
+
export declare const BUSY = 0.6;
|
|
36
|
+
type Rgb = [number, number, number];
|
|
37
|
+
export interface Rgba {
|
|
38
|
+
rgb: Rgb;
|
|
39
|
+
alpha: number;
|
|
40
|
+
}
|
|
41
|
+
/** A colour the project schema accepts (hex, rgb(), rgba(), hsl(), hsla(), a few names); undefined for anything else. */
|
|
42
|
+
export declare const parseColour: (text: string) => Rgba | undefined;
|
|
43
|
+
/** WCAG relative luminance of an sRGB colour, 0 (black) to 1 (white). */
|
|
44
|
+
export declare const luminance: (c: readonly number[]) => number;
|
|
45
|
+
/** The WCAG contrast ratio of two luminances, 1 (the same) to 21 (black on white). */
|
|
46
|
+
export declare const ratioOf: (a: number, b: number) => number;
|
|
47
|
+
export interface Rect {
|
|
48
|
+
x0: number;
|
|
49
|
+
y0: number;
|
|
50
|
+
x1: number;
|
|
51
|
+
y1: number;
|
|
52
|
+
}
|
|
53
|
+
/** Where the glyphs of a text item are, in pixels of the canvas: its lines set in its box, centred across it, aligned along it. */
|
|
54
|
+
export declare const textExtent: (item: ResolvedItem, canvas: {
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
}) => Rect | undefined;
|
|
58
|
+
export type Behind = 'outline' | 'shadow' | 'plate' | 'picture';
|
|
59
|
+
/** How a caption is drawn apart from the picture: an outline wide enough to see, a plate, a tight shadow (measured as the picture), or none. */
|
|
60
|
+
export declare const behindOf: (item: ResolvedItem, canvas: {
|
|
61
|
+
height: number;
|
|
62
|
+
}) => {
|
|
63
|
+
behind: Behind;
|
|
64
|
+
colour?: Rgba;
|
|
65
|
+
pad: number;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* The ring around a line where what is behind its letters is read: from just past its glyphs to half an em above and
|
|
69
|
+
* below and an em to each side (where a line of the picture's own text that runs through the caption shows), or the
|
|
70
|
+
* inside of its plate when it has one.
|
|
71
|
+
*/
|
|
72
|
+
export declare const ringOf: (extent: Rect, em: number, pad: number) => {
|
|
73
|
+
inner: Rect;
|
|
74
|
+
outer: Rect;
|
|
75
|
+
};
|
|
76
|
+
export interface ContrastReading {
|
|
77
|
+
/** Median WCAG ratio of the letters to the ring, and the share of the ring under LOW_CONTRAST. */
|
|
78
|
+
ratio: number;
|
|
79
|
+
low: number;
|
|
80
|
+
/** Changes between "about as light as the letters" and "not", per em along the rows of the ring: text or fine detail behind the line. */
|
|
81
|
+
busy: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The contrast of a caption over a frame (rgb rows from top, width w; rectangles in the frame's pixels). Letters drawn
|
|
85
|
+
* at an opacity under 1 are blended with each pixel. With an outline, the outline is what is behind.
|
|
86
|
+
*/
|
|
87
|
+
export declare const readContrast: (o: {
|
|
88
|
+
rgb: Uint8Array;
|
|
89
|
+
w: number;
|
|
90
|
+
h: number;
|
|
91
|
+
top: number;
|
|
92
|
+
letters: Rgba;
|
|
93
|
+
opacity: number;
|
|
94
|
+
inner: Rect;
|
|
95
|
+
outer: Rect;
|
|
96
|
+
em: number;
|
|
97
|
+
outline?: Rgba;
|
|
98
|
+
}) => ContrastReading | undefined;
|
|
99
|
+
/** One caption in one shot: what is behind its letters and how far they stand out, the median over its samples. */
|
|
100
|
+
export interface CaptionContrast {
|
|
101
|
+
id: string;
|
|
102
|
+
text: string;
|
|
103
|
+
/** The shot (segments[i]) and the seconds of it the caption is up in. */
|
|
104
|
+
at: string;
|
|
105
|
+
seconds: [number, number];
|
|
106
|
+
behind: Behind;
|
|
107
|
+
/** Median WCAG ratio of the letters to what is behind them; share of that under LOW_CONTRAST. */
|
|
108
|
+
ratio: number;
|
|
109
|
+
low: number;
|
|
110
|
+
/** Texture behind the line (ContrastReading.busy). */
|
|
111
|
+
busy: number;
|
|
112
|
+
samples: number;
|
|
113
|
+
}
|
|
114
|
+
interface Sample {
|
|
115
|
+
item: ResolvedItem;
|
|
116
|
+
segment: number;
|
|
117
|
+
frame: number;
|
|
118
|
+
seconds: [number, number];
|
|
119
|
+
}
|
|
120
|
+
/** The frames to look at: SAMPLES per caption and shot it stays a second or more in, past its entrance and before its exit. */
|
|
121
|
+
export declare const contrastSamples: (resolved: Resolved, most?: number) => Sample[];
|
|
122
|
+
/** Measures every caption of a render against what is behind it (contrastSamples), one ffmpeg pass over the band the captions sit in. */
|
|
123
|
+
export declare const measureContrast: (rt: Runtime, video: string, resolved: Resolved) => Promise<CaptionContrast[]>;
|
|
124
|
+
/** Whether a caption stands out from what is behind it (see the thresholds above). */
|
|
125
|
+
export declare const standsOut: (c: Pick<CaptionContrast, "ratio" | "low" | "busy">) => boolean;
|
|
126
|
+
/** One warning per shot with a caption that does not stand out from what is behind it; the lowest ratio first. */
|
|
127
|
+
export declare const contrastProblems: (resolved: Resolved, captions: readonly CaptionContrast[]) => Problem[];
|
|
128
|
+
/** Per shot with captions, for the command's summary: how many, how many do not stand out, the lowest ratio and the busiest ring. */
|
|
129
|
+
export declare const contrastByShot: (captions: readonly CaptionContrast[]) => {
|
|
130
|
+
at: string;
|
|
131
|
+
captions: number;
|
|
132
|
+
weak: number;
|
|
133
|
+
lowestRatio: number;
|
|
134
|
+
busiest: number;
|
|
135
|
+
}[];
|
|
136
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The real evaluation set lives outside the repository (POPOST_VIDEO_DATA). Two files describe it:
|
|
3
|
+
* cases.json [{ id, type, video (path relative to the data directory), materials, brief }]
|
|
4
|
+
* split.json { dev: [ids], heldout: [ids] }
|
|
5
|
+
* Nothing of it is ever committed, and file names of its videos never go into the ledger.
|
|
6
|
+
*/
|
|
7
|
+
import type { Runtime } from '../../runtime';
|
|
8
|
+
/** The evaluation set cannot be read. The message says what to set. */
|
|
9
|
+
export declare class EvalSetError extends Error {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface EvalCase {
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
video: string;
|
|
16
|
+
materials: string[];
|
|
17
|
+
brief: string;
|
|
18
|
+
}
|
|
19
|
+
export type EvalSet = 'dev' | 'heldout';
|
|
20
|
+
/** The cases of one set, with absolute video paths. */
|
|
21
|
+
export declare const loadSet: (rt: Runtime, dataDir: string, set: EvalSet) => Promise<EvalCase[]>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The floor: a reference video is measured, the draft is built from the measurement with no model, the draft is
|
|
3
|
+
* rendered, the render is measured the same way, and the two measurements are compared. The score says how far
|
|
4
|
+
* measurement alone gets; any model step has to beat it.
|
|
5
|
+
*/
|
|
6
|
+
import type { Runtime } from '../../runtime';
|
|
7
|
+
import { type DraftNote } from '../draft/build';
|
|
8
|
+
import type { Measure, Score } from '../types';
|
|
9
|
+
export interface FloorOptions {
|
|
10
|
+
video: string;
|
|
11
|
+
workDir: string;
|
|
12
|
+
scale?: number;
|
|
13
|
+
footage?: 'still' | 'video';
|
|
14
|
+
}
|
|
15
|
+
export interface FloorResult {
|
|
16
|
+
reference: Measure;
|
|
17
|
+
replica: Measure;
|
|
18
|
+
score: Score;
|
|
19
|
+
notes: DraftNote[];
|
|
20
|
+
seconds: {
|
|
21
|
+
measure: number;
|
|
22
|
+
draft: number;
|
|
23
|
+
render: number;
|
|
24
|
+
measureReplica: number;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export declare const runFloor: (rt: Runtime, o: FloorOptions) => Promise<FloorResult>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The loop's ledger: one JSON line per run. A line is never edited afterwards; a later run adds a new line.
|
|
3
|
+
*/
|
|
4
|
+
import type { Runtime } from '../../runtime';
|
|
5
|
+
export interface LedgerRow {
|
|
6
|
+
/** ISO time of the run. */
|
|
7
|
+
at: string;
|
|
8
|
+
/** 'roundtrip' (synthetic truth), 'floor' (model-free draft against a real reference), or 'decision': what was
|
|
9
|
+
* decided about the runs before it, and why. A decision is its own line because lines are never edited. */
|
|
10
|
+
kind: 'roundtrip' | 'floor' | 'decision';
|
|
11
|
+
/** One sentence: what was changed and what was expected. 'baseline' for a baseline run. */
|
|
12
|
+
hypothesis: string;
|
|
13
|
+
/** git commit of the code that ran, with '+dirty' when the tree had changes. */
|
|
14
|
+
commit: string;
|
|
15
|
+
/** What was run on: the seeds, or the dataset's name and version. */
|
|
16
|
+
data: string;
|
|
17
|
+
cases: number;
|
|
18
|
+
/** Mean score per dimension over the cases that had something to compare. */
|
|
19
|
+
scores: Record<string, number>;
|
|
20
|
+
/** Anything else worth a number: per-kind accuracy, error in frames. */
|
|
21
|
+
detail: Record<string, number | string>;
|
|
22
|
+
seconds: number;
|
|
23
|
+
/** 'baseline', 'accepted', 'rejected' or 'open'; with the reason. */
|
|
24
|
+
decision: string;
|
|
25
|
+
}
|
|
26
|
+
/** Adds one line at the end. The file system has no append: the lines already there are read and written back unchanged. */
|
|
27
|
+
export declare const appendLedger: (rt: Runtime, file: string, row: LedgerRow) => Promise<void>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How large the text of a render is, shot by shot. The text reader's boxes give every line it read; the size of a
|
|
3
|
+
* line is estimated from its width (a full-width character is about one em wide, any other character about 0.48 em),
|
|
4
|
+
* because the height of a reader's box has a floor of its own: a line of 6 px came back in a box of 16 px. A line
|
|
5
|
+
* that stays a second or more and is smaller than SMALL_TEXT of the frame's height is reported.
|
|
6
|
+
*
|
|
7
|
+
* The reader is not where reading ends: on synthetic renders it read dark text from 7 to 9 px of font size (1.0% to
|
|
8
|
+
* 1.2% of a 720 px frame, 0.5% to 0.6% of a 1280 px one), grey thin text a step later. A person on a phone needs more,
|
|
9
|
+
* so the floor is a viewer's, and everything under it that the reader saw is measured; text under the reader's own
|
|
10
|
+
* floor is not seen at all.
|
|
11
|
+
*/
|
|
12
|
+
import type { TextCue, TextTrack } from '../text/types';
|
|
13
|
+
import type { Problem, Resolved } from '../types';
|
|
14
|
+
/** A line smaller than this share of the frame's height (font size, about one em) is hard to read on a phone. */
|
|
15
|
+
export declare const SMALL_TEXT = 0.018;
|
|
16
|
+
export interface ShotText {
|
|
17
|
+
at: string;
|
|
18
|
+
id: string;
|
|
19
|
+
/** Seconds of the render the shot covers. */
|
|
20
|
+
seconds: [number, number];
|
|
21
|
+
/** Lines measured: read, on screen a second or more inside the shot, MEASURED_FROM characters or more. */
|
|
22
|
+
lines: number;
|
|
23
|
+
/** The smallest and the median size of those lines, as a share of the frame's height. */
|
|
24
|
+
smallest?: number;
|
|
25
|
+
median?: number;
|
|
26
|
+
}
|
|
27
|
+
/** The font size of a line as a share of the frame's height: from its width, never above the height of its box. */
|
|
28
|
+
export declare const lineSize: (cue: Pick<TextCue, "text" | "box" | "size">, width: number, height: number) => number | undefined;
|
|
29
|
+
/** Per shot, the sizes of the lines the reader read in it; a warning for each shot whose lasting text is small. */
|
|
30
|
+
export declare const shotTextSizes: (resolved: Resolved, text: TextTrack) => {
|
|
31
|
+
shots: ShotText[];
|
|
32
|
+
problems: Problem[];
|
|
33
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The frames readback reads (T014). Readback knows from the project when every text is on screen, so it reads each
|
|
3
|
+
* text item where it stands whole, and each shot the same way, clear of the transitions, for the text its scene draws
|
|
4
|
+
* (legibility.ts measures text per shot). A window wants a frame in the first fifth of a second after it settles and
|
|
5
|
+
* one in the last fifth before it leaves, each in its own half: a line read once is dropped unless the reader is very
|
|
6
|
+
* sure of it (text/cues.ts), and captions of 0.4 s read once were lost that way. The fewest frames that give every
|
|
7
|
+
* window what it wants are read (the greedy on the wants' last frames, which is optimal), so items and shots that
|
|
8
|
+
* meet share them; a frame that only starts windows then moves to the first one they all accept. At most
|
|
9
|
+
* MAX_PER_SECOND frames a second of video are read, spread evenly over the chosen ones when that bites. One step for
|
|
10
|
+
* the whole video, set by its shortest item, read 502 frames of a 100 s video with many captions under a second and
|
|
11
|
+
* took 237 s at a CPU budget of 3.
|
|
12
|
+
*/
|
|
13
|
+
import type { Runtime } from '../../runtime';
|
|
14
|
+
import type { OnStage } from '../progress';
|
|
15
|
+
import type { TextReading } from '../text/index';
|
|
16
|
+
import type { TextReader } from '../text/types';
|
|
17
|
+
import type { Resolved, ResolvedItem } from '../types';
|
|
18
|
+
/** At most this many frames a second of video are read. */
|
|
19
|
+
export declare const MAX_PER_SECOND = 2;
|
|
20
|
+
/** Frames where a reading of a window counts (inclusive): the text has settled and has not started to leave. */
|
|
21
|
+
export interface Window {
|
|
22
|
+
lo: number;
|
|
23
|
+
hi: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* How many frames a reading stands for (text/cues.ts puts a cue's edges half of it out): the margin a reading keeps
|
|
27
|
+
* from where its text stands whole, and a frame, so that a cue covers its item and stops short of the next one.
|
|
28
|
+
*/
|
|
29
|
+
export declare const readingSpan: (fps: number) => number;
|
|
30
|
+
/** The text items readback checks: text with words in it. */
|
|
31
|
+
export declare const readTextItems: (resolved: Resolved) => ResolvedItem[];
|
|
32
|
+
/** The frames to read, in order: per text item and per shot, shared where they can be, at most MAX_PER_SECOND a second. */
|
|
33
|
+
export declare const readbackFrames: (resolved: Resolved, total: number) => number[];
|
|
34
|
+
/**
|
|
35
|
+
* Reads the given frames of a video whole (one pass of ffmpeg, the longer side at most 1280 px), as text/index.ts
|
|
36
|
+
* reads its samples. step: how many frames a reading stands for, which puts a cue's edges half of it out.
|
|
37
|
+
*/
|
|
38
|
+
export declare const readFrames: (rt: Runtime, video: string, reader: TextReader, frames: readonly number[], o: {
|
|
39
|
+
step: number;
|
|
40
|
+
onStage?: OnStage;
|
|
41
|
+
}) => Promise<TextReading>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import type { Transcriber, Transcript } from '../speech/types';
|
|
3
|
+
import { type CaptionContrast } from './contrast';
|
|
4
|
+
import type { TextReader, TextTrack } from '../text/types';
|
|
5
|
+
import type { Resolved } from '../types';
|
|
6
|
+
/** Where the transcript of the last readback is kept, in the project. */
|
|
7
|
+
export declare const TRANSCRIPT_CACHE = "readback.transcript.json";
|
|
8
|
+
/** Frames read first, spread over the video, to see how much text a frame holds before the rest is read. */
|
|
9
|
+
export declare const FIRST_LOOK = 8;
|
|
10
|
+
export declare const textFactor: (linesPerFrame: number) => number;
|
|
11
|
+
/** About how long readback takes, in seconds, to ten. */
|
|
12
|
+
export declare const readbackEstimate: (o: {
|
|
13
|
+
frames: number;
|
|
14
|
+
soundSeconds: number;
|
|
15
|
+
cpus: number;
|
|
16
|
+
together: boolean;
|
|
17
|
+
text?: number;
|
|
18
|
+
}) => number;
|
|
19
|
+
/** Whether the project keeps a transcript of this sound (the render's WAV as the transcribers hear it): hearing it again is free. */
|
|
20
|
+
export declare const keptFor: (rt: Runtime, dir: string, language?: string) => (wav: Uint8Array, fps: number) => Promise<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* A reader that reads FIRST_LOOK frames spread over its first list before the rest, and says how much text they held;
|
|
23
|
+
* the samples are the same as reading the list at once (each frame is read on its own).
|
|
24
|
+
*/
|
|
25
|
+
export declare const lookingFirst: (reader: TextReader, onFirst: (linesPerFrame: number) => void) => TextReader;
|
|
26
|
+
export interface ReadbackRun {
|
|
27
|
+
text: TextTrack;
|
|
28
|
+
transcript?: Transcript;
|
|
29
|
+
/** Every caption against what is behind it, per shot (contrast.ts). */
|
|
30
|
+
contrast: CaptionContrast[];
|
|
31
|
+
/** What was done: frames the reader read and how many frames a reading stands for, whether the transcript was the kept one, seconds of each part. */
|
|
32
|
+
took: {
|
|
33
|
+
frames: number;
|
|
34
|
+
step: number;
|
|
35
|
+
transcriptReused?: boolean;
|
|
36
|
+
seconds: {
|
|
37
|
+
text: number;
|
|
38
|
+
speech?: number;
|
|
39
|
+
contrast: number;
|
|
40
|
+
};
|
|
41
|
+
expected: number;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/** Reads and hears a render for readback, side by side when the CPU budget has room; progress on o.write. */
|
|
45
|
+
export declare const runReadback: (rt: Runtime, o: {
|
|
46
|
+
dir: string;
|
|
47
|
+
video: string;
|
|
48
|
+
resolved: Resolved;
|
|
49
|
+
reader: TextReader;
|
|
50
|
+
transcriber?: Transcriber;
|
|
51
|
+
language?: string;
|
|
52
|
+
write?: (line: string) => void;
|
|
53
|
+
everyMs?: number;
|
|
54
|
+
}) => Promise<ReadbackRun>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { TextTrack } from '../text/types';
|
|
2
|
+
import type { Transcript } from '../speech/types';
|
|
3
|
+
import type { Problem, Resolved } from '../types';
|
|
4
|
+
import { type RetargetPlan } from '../retarget/index';
|
|
5
|
+
import { type ShotText } from './legibility';
|
|
6
|
+
import { type CaptionContrast } from './contrast';
|
|
7
|
+
export interface ReadbackLine {
|
|
8
|
+
id: string;
|
|
9
|
+
text: string;
|
|
10
|
+
start: number;
|
|
11
|
+
end: number;
|
|
12
|
+
/** What the text reader found in that place and time, and how close it is (1 = the same words). */
|
|
13
|
+
read?: string;
|
|
14
|
+
legible: number;
|
|
15
|
+
/** What was heard while the line was up, and how close it is to the line; undefined when speech was not checked. */
|
|
16
|
+
heard?: string;
|
|
17
|
+
heardScore?: number;
|
|
18
|
+
/** Frames from the first word heard to the line's appearance (positive: the caption comes after the word). */
|
|
19
|
+
lag?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface Readback {
|
|
22
|
+
lines: ReadbackLine[];
|
|
23
|
+
/** Share of the text items that were read back (legible >= 0.7). */
|
|
24
|
+
legibleShare: number;
|
|
25
|
+
/** Share of the spoken lines that were heard (heardScore >= 0.5); undefined when speech was not checked. */
|
|
26
|
+
heardShare?: number;
|
|
27
|
+
meanLag?: number;
|
|
28
|
+
/** Per shot, how large the text the reader read is (legibility.ts). */
|
|
29
|
+
shots: ShotText[];
|
|
30
|
+
/** Per caption and shot, how far it stands out from what is behind it (contrast.ts); empty when not measured. */
|
|
31
|
+
contrast: CaptionContrast[];
|
|
32
|
+
problems: Problem[];
|
|
33
|
+
}
|
|
34
|
+
/** 1 when b contains a (as a whole or nearly), falling towards 0 with the edits needed. */
|
|
35
|
+
export declare const closeness: (expected: string, found: string) => number;
|
|
36
|
+
/**
|
|
37
|
+
* spoken: which item ids are spoken lines (the cues of the caption track when the project has a voice).
|
|
38
|
+
* text: what the text reader found in the render. transcript: what the transcriber heard in it.
|
|
39
|
+
* spokenForms: how each cue of the spoken track is said, by cue index; say: the plan's spoken forms, applied to a cue's
|
|
40
|
+
* own text (a plan whose beats are not all drawn has fewer cues than lines, so an index into its lines would slip).
|
|
41
|
+
*/
|
|
42
|
+
export declare const readback: (resolved: Resolved, text: TextTrack, o?: {
|
|
43
|
+
transcript?: Transcript;
|
|
44
|
+
spokenTrack?: string;
|
|
45
|
+
spokenForms?: string[];
|
|
46
|
+
say?: RetargetPlan["say"];
|
|
47
|
+
contrast?: CaptionContrast[];
|
|
48
|
+
}) => Readback;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The synthetic round trip: random project -> render -> measure -> compare with the truth the project implies.
|
|
3
|
+
* It answers one question: how well does the measurement read what the renderer drew?
|
|
4
|
+
*/
|
|
5
|
+
import type { Runtime } from '../../runtime';
|
|
6
|
+
import { type SynthOptions } from '../synth/generate';
|
|
7
|
+
import type { Score } from '../types';
|
|
8
|
+
/**
|
|
9
|
+
* Threads of the encoder of every render, whatever the CPU budget: x264 writes other bytes for another count, and the
|
|
10
|
+
* scores of the same release moved with them (eval-r5, seeds 1-40: 0.869 / 0.8162 at a budget of 3, 0.8682 / 0.8176
|
|
11
|
+
* at 4). Fixed, ledger lines compare across machines and budgets.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ENCODER_THREADS = 4;
|
|
14
|
+
export interface RoundTripOptions {
|
|
15
|
+
seeds: number[];
|
|
16
|
+
workDir: string;
|
|
17
|
+
/** Render scale. The measurement works on thumbnails, so a small render is enough. Default 0.25. */
|
|
18
|
+
scale?: number;
|
|
19
|
+
synth?: Omit<SynthOptions, 'seed'>;
|
|
20
|
+
keep?: boolean;
|
|
21
|
+
onCase?: (done: number, total: number, seed: number) => void;
|
|
22
|
+
}
|
|
23
|
+
export interface KindStat {
|
|
24
|
+
truth: number;
|
|
25
|
+
found: number;
|
|
26
|
+
kindRight: number;
|
|
27
|
+
startError: number;
|
|
28
|
+
endError: number;
|
|
29
|
+
directionRight: number;
|
|
30
|
+
directed: number;
|
|
31
|
+
}
|
|
32
|
+
export interface EventStat {
|
|
33
|
+
truth: number;
|
|
34
|
+
found: number;
|
|
35
|
+
howRight: number;
|
|
36
|
+
startError: number;
|
|
37
|
+
directionRight: number;
|
|
38
|
+
directed: number;
|
|
39
|
+
easeRight: number;
|
|
40
|
+
}
|
|
41
|
+
export interface RoundTripCase {
|
|
42
|
+
seed: number;
|
|
43
|
+
frames: number;
|
|
44
|
+
score: Score;
|
|
45
|
+
falseBoundaries: number;
|
|
46
|
+
falseEvents: number;
|
|
47
|
+
renderMs: number;
|
|
48
|
+
measureMs: number;
|
|
49
|
+
}
|
|
50
|
+
export interface RoundTripResult {
|
|
51
|
+
cases: RoundTripCase[];
|
|
52
|
+
/** By the true transition kind. */
|
|
53
|
+
boundaries: Record<string, KindStat>;
|
|
54
|
+
/** By the true entrance / exit ('appear:pop', 'disappear:fade' ...). */
|
|
55
|
+
events: Record<string, EventStat>;
|
|
56
|
+
camera: {
|
|
57
|
+
shots: number;
|
|
58
|
+
kindRight: number;
|
|
59
|
+
zoomError: number;
|
|
60
|
+
panError: number;
|
|
61
|
+
};
|
|
62
|
+
falseBoundaries: number;
|
|
63
|
+
falseEvents: number;
|
|
64
|
+
}
|
|
65
|
+
export declare const runRoundTrip: (rt: Runtime, o: RoundTripOptions) => Promise<RoundTripResult>;
|
|
66
|
+
/** The result as plain-text tables for the terminal and for PROGRESS notes. */
|
|
67
|
+
export declare const formatRoundTrip: (r: RoundTripResult) => string;
|
|
68
|
+
/** Mean of each score dimension over the cases where it had something to compare. */
|
|
69
|
+
export declare const meanScores: (cases: {
|
|
70
|
+
score: Score;
|
|
71
|
+
}[]) => Record<string, number>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
export declare const APPROVED_FILE = "production/approved-clips.json";
|
|
3
|
+
/** Apply existing user authority to explicit keys; the clip guard does not infer a commission's scope. */
|
|
4
|
+
export declare const unplannedNext: (key?: string) => string;
|
|
5
|
+
/** A clip paid for under the agreement. */
|
|
6
|
+
export interface ApprovedClip {
|
|
7
|
+
/** The request key: the idempotency key of its first attempt (a retry after a failure keeps it). */
|
|
8
|
+
readonly key: string;
|
|
9
|
+
/** Where it goes in the project. */
|
|
10
|
+
readonly file?: string;
|
|
11
|
+
/** What it shows: the start of its prompt. */
|
|
12
|
+
readonly what: string;
|
|
13
|
+
readonly seconds?: number;
|
|
14
|
+
/** The agreed price. */
|
|
15
|
+
readonly credits: number;
|
|
16
|
+
/** plan: one of the agreed list; user: specific authorization applied with --approve-unplanned. */
|
|
17
|
+
readonly by: 'plan' | 'user';
|
|
18
|
+
readonly at: string;
|
|
19
|
+
}
|
|
20
|
+
/** A clip of the agreed list: its file, the hash of its request as written, and its key once it is made. */
|
|
21
|
+
export interface PlannedClip {
|
|
22
|
+
readonly file: string;
|
|
23
|
+
readonly request: string;
|
|
24
|
+
readonly key?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ClipRecord {
|
|
27
|
+
readonly plan: readonly PlannedClip[];
|
|
28
|
+
readonly clips: readonly ApprovedClip[];
|
|
29
|
+
}
|
|
30
|
+
/** What a paid clip that was not agreed to says: the confirm.clip of exit code 3. */
|
|
31
|
+
export interface UnplannedClip {
|
|
32
|
+
readonly key: string;
|
|
33
|
+
readonly file?: string;
|
|
34
|
+
readonly what: string;
|
|
35
|
+
readonly seconds?: number;
|
|
36
|
+
readonly aspect?: string;
|
|
37
|
+
}
|
|
38
|
+
/** Where the built-in generator looks for the agreement of a clip, and what the caller says about it. */
|
|
39
|
+
export interface ClipGate {
|
|
40
|
+
/** The project directory; its production/approved-clips.json is the agreement. */
|
|
41
|
+
readonly project: string;
|
|
42
|
+
/** The clip's file in the project, as materials names it. */
|
|
43
|
+
readonly file?: string;
|
|
44
|
+
/** Set by materials: the hash of the request as written (requestHash), for a run under the agreed plan. */
|
|
45
|
+
readonly planned?: string;
|
|
46
|
+
/** Exact keys covered by user authorization and explicitly applied with --approve-unplanned. */
|
|
47
|
+
readonly approve: readonly string[];
|
|
48
|
+
}
|
|
49
|
+
export declare const recordPath: (rt: Runtime, project: string) => string;
|
|
50
|
+
/** The record of a project, or undefined when it has none (no confirmed materials run yet: nothing is gated). */
|
|
51
|
+
export declare const readClipRecord: (rt: Runtime, project: string) => Promise<ClipRecord | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The hash of a request of the materials list as written (its note aside: it only describes the clip), with the model
|
|
54
|
+
* and resolution of the environment: another prompt, length, aspect, reference, model or resolution is another request.
|
|
55
|
+
*/
|
|
56
|
+
export declare const requestHash: (rt: Runtime, request: {
|
|
57
|
+
readonly note?: unknown;
|
|
58
|
+
}) => string;
|
|
59
|
+
/** The first confirmed materials run of a project that asks for clips makes its list the plan; later runs leave it. */
|
|
60
|
+
export declare const startPlan: (rt: Runtime, project: string, planned: readonly PlannedClip[]) => Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* How a paid clip under `key` stands: 'agreed' (paid before: nothing new), 'plan' or 'user' (to be recorded once it is
|
|
63
|
+
* paid), or 'unplanned'. undefined: the project has no agreement, so nothing is gated.
|
|
64
|
+
*/
|
|
65
|
+
export declare const clipStanding: (rt: Runtime, gate: ClipGate, key: string) => Promise<"agreed" | "plan" | "user" | "unplanned" | undefined>;
|
|
66
|
+
/** Adds a clip that was just paid for to the record, and gives its plan entry the key. */
|
|
67
|
+
export declare const recordClip: (rt: Runtime, gate: ClipGate, clip: Omit<ApprovedClip, "at">) => Promise<void>;
|
|
68
|
+
/** The start of a prompt, for the record and for the user. */
|
|
69
|
+
export declare const shortWhat: (prompt: string) => string;
|
|
70
|
+
/**
|
|
71
|
+
* The project of a clip made outside materials: the nearest folder above `out` that has production/approved-clips.json.
|
|
72
|
+
* A clip written into a project with an agreement is gated even when the generator is called on its own.
|
|
73
|
+
*/
|
|
74
|
+
export declare const projectOf: (rt: Runtime, out: string) => Promise<string | undefined>;
|