Переносимая библиотека ассетов

Локальный индекс, выбранные файлы и происхождение.

ArchitecturemanifestdownloadCC0offline

Когда использовать

Download selected licensed resources reproducibly with a local source record.

Решения для реализации

  1. Use a fixed registry snapshot and let the caller select exact asset IDs and a resolution. Never download the entire catalog by default.
  2. Keep original relative file names for glTF dependencies. Save source and license information beside the downloaded files.
  3. Verify hashes supplied by the provider and leave existing destinations untouched. Stage the download in a temporary sibling directory before final rename.
  4. Network-only resources must be identified in the pack README. A link index must not be described as an offline collection of binaries.

Как проверить результат

  • A downloaded glTF finds every included buffer and texture.
  • An interrupted download does not leave a misleading completed asset directory.
  • Existing user assets are not overwritten.

Файлы

SKILL.mdscripts/fetch-assets.py
WEBCRAFT © 2026Оригинальные исходники и интерактивные примерыMIT License