Skip to content

v0.12.0: Bundle Components

Choose a tag to compare

@stovak stovak released this 07 May 00:14
· 36 commits to main since this release

SwiftAcervo v0.12.0

📦 Bundle Components — Many Components, One CDN Manifest

This release formalizes the bundle component pattern: multiple ComponentDescriptors can now share a single repoId, with one CDN manifest covering many logical components. Plugin authors targeting bundled repositories (such as black-forest-labs/FLUX.2-klein-4B) can now declare one descriptor per logical component without tripping the re-register canary.

New Features

  • Bundle component pattern — registering N distinct component IDs against the same repoId is now a documented, first-class supported shape. The re-register canary fires only on genuine id-collisions.
  • See API_REFERENCE.md — Bundle Components for declaration examples and the full R1–R6 contract guarantees.

Bug Fixes

  • deleteComponent is now sibling-safe for bundle components. Previously, calling deleteComponent on any component removed the entire org_repo/ slug directory, destroying all sibling components that shared the same repoId. The new implementation iterates the component's declared files, removes only those, and prunes empty subdirectories up to (but not including) the slug directory. The slug directory itself is removed only when it is completely empty.

Migration

Non-breaking. All existing consumers continue to work without changes. Plugin authors targeting bundled repos can now declare one ComponentDescriptor per logical component using the explicit-files initializer.

Testing

  • 1077-line BundleComponentTests.swift exercising the full R1–R6 contract
  • 203-line BundleComponentSmokeTests.swift for end-to-end coverage
  • Shared BundleFixtures for deterministic manifest construction in tests

Documentation

  • New "Bundle Components" section in API_REFERENCE.md
  • Updated AGENTS.md, CLAUDE.md, GEMINI.md, README.md
  • Mission docs preserved in Docs/complete/shared-pantry-01/

Skill

  • New acervo-download-ship skill: detached, long-running model shipping for the agent

Full Changelog: v0.11.1...v0.12.0