How magic-garden-modding-group/starweaver-mod-catalog works
Starweaver Mod Catalog maintains the volatile version metadata consumed by the Starweaver Mod Manager. On a scheduled or manual run, the updater reads the tracked-mod configuration, resolves each source repository’s selected release, tag, or branch, fetches the script, extracts its version and computes its hash, then updates the catalog index when needed. The extension periodically fetches that index and overlays its fields on baked-in baselines; permission governance remains in the extension. The updater’s implementation is excerpted; extension behavior and scheduling details are represented from README documentation.
Main entry points: update-index.ts Update Orchestrator · index.json Catalog Index · update-index.yml Update Workflow · tracked-mods.json Tracked Mods
Components 10
Tracking Configuration
- Tracked Mods
tracked-mods.json - Catalog Index
index.json
Catalog Updater
- Update Workflow
.github/workflows/update-index.yml - Update Orchestrator
scripts/update-index.ts - Commit Resolver
scripts/update-index.ts - Script Fetcher
scripts/update-index.ts - Version and Hash Extraction
scripts/update-index.ts
Other components
- Scheduled or Manual Run
- GitHub Repositories
- Starweaver Mod Manager
Connections 11
- Scheduled or Manual Run → Update Workflow: triggers
README.md - Update Workflow → Update Orchestrator: runs
README.md - Update Orchestrator → Tracked Mods: reads
scripts/update-index.ts - Update Orchestrator → Catalog Index: reads
scripts/update-index.ts - Update Orchestrator → Commit Resolver: resolves commits
scripts/update-index.ts - Commit Resolver → GitHub Repositories: queries
scripts/update-index.ts - Update Orchestrator → Script Fetcher: fetches scripts
scripts/update-index.ts - Script Fetcher → GitHub Repositories: downloads from
scripts/update-index.ts - Update Orchestrator → Version and Hash Extraction: extracts metadata
scripts/update-index.ts - Update Orchestrator → Catalog Index: writes changes
scripts/update-index.ts - Starweaver Mod Manager → Catalog Index: fetches periodically
README.md