Provide a language agnostic way to determine mode in which a Positron session is running #4082
Labels
area: builds
Issues related to Builds category.
area: core
Issues related to Core category.
enhancement
New feature or request
Milestone
While RStudio uses
.rs.api.versionInfo()
to describe version and session mode metadata, we want a language agnostic way to provide similar information consistently. Positron currently has ENV vars:POSITRON=1
andPOSITRON_VERSION=YYYY.MM.PP
format, which is a reasonable way to achieve this. We need to extend the env with more metadata including the precise build number (the "long" form of the version info), and at least the session mode (e.g. desktop vs. server) once it is hosted in Workbench.The text was updated successfully, but these errors were encountered: