Files
lefarcen da7c4ae051 fix(web): rank Community "Newest" by shipped publishedAt, not local install timestamps (#5597)
* fix(web): rank Community "Newest" by shipped publishedAt, not local install timestamps

The Community gallery Newest toggle sorted by the installed-record
updatedAt/installedAt. Those are stamped when a machine seeds its own
database, so a fresh install (or an upgrade that re-stamps the catalog)
writes the whole bundled catalog milliseconds apart in folder-walk
order — Newest showed reverse walk order (roughly reverse-alphabetical),
unrelated to publication recency.

Root-cause fix: bundled templates now ship a real publication date.

- packages/contracts: add optional manifest field publishedAt (ISO 8601).
- apps/web sortByNewest: freshness = publishedAt when parseable, else
  updatedAt (right signal for user-installed plugins); tie-breaks and
  stability unchanged.
- plugins/_official: backfill publishedAt into all 460 bundled manifests
  from each folder's first-appearance commit date in upstream git
  history.
- e2e: repository-resource guard requiring every bundled manifest to
  declare a parseable publishedAt, so the signal cannot silently erode.
- docs: field reference entries in plugins-spec (en + zh-CN).

Issue: https://plane.powerformer.net/open-design/projects/49832a02-3158-4faf-bf2f-d0e39c40c7e6/issues/ca0778af-97f5-4fc0-bc63-739280904979

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)

* worker: 模板用最新筛选,筛选出来的不是最新的

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)

* fix(web): keep shipped appeal order inside same-publishedAt batches

Review follow-up (#5597, nettee): after the freshness tie on an equal
publishedAt, the comparator still consulted local updatedAt/installedAt,
which a fresh install stamps in folder-walk order — so every
same-publication batch (largest: 322 manifests on one catalog date)
re-sorted per machine instead of keeping the shipped visual-appeal
ranking. Same-publishedAt records now preserve their incoming position;
local timestamps break ties only when at least one side has no usable
publishedAt. Adds the requested regression spec pinning
same-publishedAt / different-updatedAt records.

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)

* fix(web): gate publishedAt freshness to bundled records; untrack oversized looper attachment

Review follow-up (#5597, nettee round 2): publishedAt was overriding
updatedAt for every visible plugin, so a user-installed github/local/
marketplace plugin carrying an old manifest publishedAt would be buried
behind bundled templates despite a newer local install. publishedAtMs
now returns null for non-bundled records — "Newest" means install
recency for user installs, catalog publication for bundled ones. Adds
the requested regression (non-bundled, old publishedAt, newer
updatedAt) and clarifies the field docs (en + zh-CN).

CI repair: commit 578f7a9 tracked .looper-attachments/bug13_1.png
(3.8MB bug screenshot), tripping the Static gate 1MiB blob guard and
the Validate workspace aggregate. Untrack it and gitignore
.looper-attachments/ so harness attachments stay out of the repo.

Generated-By: looper 0.0.0-dev (runner=worker, agent=claude-code)
2026-07-14 08:43:57 +00:00

124 lines
4.9 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://open-design.ai/schemas/plugin.v1.json",
"specVersion": "1.0.0",
"name": "example-video-hyperframes",
"title": "Hyperframes Video",
"title_i18n": {
"en": "Hyperframes Video",
"zh-CN": "Hyperframes 视频脚本",
"zh-TW": "Hyperframes 影片",
"ja": "Hyperframes ビデオ",
"ko": "Hyperframes 비디오",
"de": "Hyperframes Video",
"fr": "Vidéo Hyperframes",
"ru": "Видео Hyperframes",
"es": "Video Hyperframes",
"pt-BR": "Vídeo Hyperframes",
"it": "Video Hyperframes",
"vi": "Video Hyperframes",
"pl": "Wideo Hyperframes",
"id": "Video Hyperframes",
"nl": "Hyperframes Video",
"ar": "فيديو Hyperframes",
"tr": "Hyperframes Video",
"uk": "Відео Hyperframes"
},
"version": "0.1.0",
"publishedAt": "2026-05-13T13:02:05Z",
"description": "Hyperframes / Remotion-compatible continuous frame animation with autoplay support.",
"description_i18n": {
"en": "Hyperframes / Remotion-compatible continuous frame animation with autoplay support.",
"zh-CN": "Hyperframes / Remotion 兼容的连续帧动画, 可自动播放",
"zh-TW": "支援 Hyperframes / Remotion 的連續幀動畫,具備自動播放功能。",
"ja": "Hyperframes / Remotion 対応の連続フレームアニメーションで、自動再生をサポート。",
"ko": "Hyperframes / Remotion 호환 연속 프레임 애니메이션 및 자동 재생 지원.",
"de": "Hyperframes / Remotion-kompatible kontinuierliche Frame-Animation mit Autoplay-Unterstützung.",
"fr": "Animation continue d'images compatible Hyperframes / Remotion avec lecture automatique.",
"ru": "Непрерывная покадровая анимация, совместимая с Hyperframes / Remotion, с поддержкой автовоспроизведения.",
"es": "Animación continua de fotogramas compatible con Hyperframes / Remotion con reproducción automática.",
"pt-BR": "Animação contínua de quadros compatível com Hyperframes / Remotion com reprodução automática.",
"it": "Animazione continua a fotogrammi compatibile con Hyperframes / Remotion con supporto per la riproduzione automatica.",
"vi": "Hoạt ảnh khung hình liên tục tương thích Hyperframes / Remotion với hỗ trợ tự động phát.",
"pl": "Ciągła animacja klatek kompatybilna z Hyperframes / Remotion z obsługą autoodtwarzania.",
"id": "Animasi frame berkelanjutan kompatibel Hyperframes / Remotion dengan dukungan autoplay.",
"nl": "Hyperframes / Remotion-compatibele continue frame-animatie met autoplay-ondersteuning.",
"ar": "رسوم متحركة متواصلة للإطارات متوافقة مع Hyperframes / Remotion مع دعم التشغيل التلقائي.",
"tr": "Hyperframes / Remotion uyumlu sürekli kare animasyonu ve otomatik oynatma desteği.",
"uk": "Безперервна покадрова анімація, сумісна з Hyperframes / Remotion, з підтримкою автовідтворення."
},
"license": "MIT",
"author": {
"name": "Open Design",
"url": "https://github.com/nexu-io"
},
"homepage": "https://github.com/nexu-io/open-design/tree/main/plugins/_official/examples/video-hyperframes",
"tags": [
"example",
"first-party",
"video",
"hyperframes",
"remotion",
"untitled"
],
"compat": {
"agentSkills": [
{
"path": "./SKILL.md"
}
]
},
"od": {
"kind": "scenario",
"taskKind": "new-generation",
"mode": "video",
"scenario": "video",
"surface": "video",
"featured": 0.13,
"preview": {
"type": "html",
"entry": "./example.html"
},
"useCase": {
"query": {
"en": "Use the Hyperframes Video template to turn my content into a Hyperframes / Remotion-compatible continuous frame animation with autoplay support. Preserve the template's visual signature, use real content and data, and avoid lorem ipsum or placeholder images.",
"zh-CN": "用「Hyperframes 视频脚本」模板把我的内容做成一段「Hyperframes / Remotion 兼容的连续帧动画, 可自动播放」。保持模板的视觉签名,使用真实内容和数据,避免 lorem ipsum 和占位图片。"
},
"exampleOutputs": [
{
"path": "./example.html",
"title": "Hyperframes Video",
"title_i18n": {
"en": "Hyperframes Video",
"zh-CN": "Hyperframes 视频脚本"
}
}
]
},
"context": {
"skills": [
{
"path": "./SKILL.md"
}
],
"assets": [
"./example.html"
]
},
"pipeline": {
"stages": [
{
"id": "generate",
"atoms": [
"file-write",
"live-artifact"
]
}
]
},
"capabilities": [
"prompt:inject",
"fs:write"
]
}
}