compute: expose commit metadata to output command
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/27976.
This allows compute output commands to reference and substitute commit data like $author
when a search query yields commit results.