Read Firmware Version From Library

Is there a way to read the firmware version in library code? I’m writing a library and would like to have a useful User-Agent header.

There seems to be a SPARK #define somewhere, but it’s just “1”. I would expect this to be something like “023” for the current web IDE similar to the way that in an Arduino sketch ARDUINO is #deineded to “156”.