Repository navigation
v0.5.6: Fix AcervoManager model resolution for short/component IDs
SwiftAcervo v0.5.6
Bug Fix: AcervoManager Short/Component ID Resolution
Fixes a crash where AcervoManager.perform would throw invalidModelId when called with a short component ID (e.g. t5-xxl-encoder-int4) that lacks an org/repo prefix.
Fix Details
AcervoManagernow uses a two-stage resolution strategy in the sharedperformhelper:- Try the direct
org/repopath lookup as before (existing behavior preserved) - On failure, fall back to the component registry (
Acervo.component(_:)) and derive the directory fromdescriptor.repoIdviaAcervo.slugify
- Try the direct
- Throws
AcervoError.invalidModelIdonly when both resolution paths fail - Change confined to
Sources/SwiftAcervo/AcervoManager.swift(+16 / -2)
Testing
- 371 unit tests passing
- Test on macOS: pass
- Test on iOS Simulator: pass
Documentation
- Version updated across AGENTS.md, CLAUDE.md, GEMINI.md, README.md
- README SPM installation example updated to
from: "0.5.6"
Full Changelog: v0.5.5...v0.5.6