The package registry API was queried for the latest map libraries, their SDK constraints, and dependency names. The pub client then installed those libraries and updated the lockfile.
- What worked
- The JSON API exposed version, environment, and dependency fields in a shape that was easy to read. Once the SDK was on disk, pub add resolved the requested packages on the first try.
