Documentation

DOC / 22 / DELIVERY

Adaptive assets

Plan reproducible images, video, fonts, and 3D variants under explicit device budgets.

In this guideAdaptive assets
Getting startedProject structureCLI referenceDeveloper loopIncremental buildsRouting and pagesRust viewsEvents and foldsSchemas and snapshotsHyphae verified syncTyped contentBrowser runtimeDOM ownershipNative runtime previewPortable deploymentFull-stack betaOpenSDK previewComponents and languagesBrowser framework conformanceTooling protocolCompatibility and deprecationAdaptive assetsArtifact trustRelease trustPerformance evidenceErrors and diagnosticsVoluntary telemetryBuild and deployCrates and APILicensing and policy

Asset manifest

An asset manifest records source identity, variants, media type, dimensions, duration, bytes, digest, fallback relationships, and the route or scene that consumes them.

json
{
  "id": "hero-fold",
  "source": "media/fold-master.png",
  "variants": [
    { "path": "media/fold.avif", "width": 1672, "bytes": 19746 },
    { "path": "media/fold.webp", "width": 1672, "bytes": 59306 }
  ]
}

Reproducible profiles

image
AVIF/WebP variants, dimensions, quality, fit, and fallback
video
Codec, bitrate, dimensions, duration, poster, and reduced-data alternative
font
Subset, axes, preload policy, license, and fallback metrics
3D
Geometry, textures, compression, renderer tier, and static fallback

Resume external asset work

shell
pliego-assets status target/assets/plan.json \
  --output-root target/site --format json
pending
The exact planned staging artifact is absent
ready
Signature, codec or scene contract, size, and streaming SHA-256 are valid
invalid
The staged path or bytes failed a stable validation reason

Status is read-only and deterministic. It creates, deletes, rewrites, and publishes nothing, so a runner can resume only unfinished jobs without trusting timestamps.

Device budgets

Budgets are evaluated by route and capability tier. The first viewport, complete document, scene memory, and long-task behavior remain separate evidence instead of being collapsed into one marketing score.

Fallbacks are part of the design

Every optional 3D, video, or motion surface defines a meaningful static or lower-tier representation. Save-Data and reduced motion never produce a blank composition.