Module constants

Source

Structs§

COLORS_ENABLED
Whether i/o interactions are allowed in the current CLI.
IS_A_TTY
Whether i/o interactions are allowed in the current CLI.
IS_INTERACTIVE_CLI
Whether i/o interactions are allowed in the current CLI.
SERVER_NAME_MAP
Map of qualities to the server name
ServerQualityInfo
TUNNEL_SERVICE_USER_AGENT
WIN32_APP_IDS
Map of quality names to arrays of app IDs used for them, for example, {"stable":["ABC123"]}

Constants§

APPLICATION_NAME
Application name as it appears on the CLI.
CONTROL_PORT
DEFAULT_DATA_PARENT_DIR
Default data CLI data directory.
DOCUMENTATION_URL
EDITOR_WEB_URL
Web URL the editor is hosted at. For VS Code, this is vscode.dev.
PRODUCT_DOWNLOAD_URL
Download URL of the desktop product.
PRODUCT_NAME_LONG
Full name of the product with its version.
PROTOCOL_VERSION
Protocol version sent to clients. This can be used to indiciate new or changed capabilities that clients may wish to leverage. 1 - Initial protocol version 2 - Addition of serve.compressed property to control whether servermsg’s are compressed bidirectionally. 3 - The server’s connection token is set to a SHA256 hash of the tunnel ID 4 - The server’s msgpack messages are no longer length-prefixed
PROTOCOL_VERSION_TAG
Tag for the current protocol version, which is included in dev tunnels.
PROTOCOL_VERSION_TAG_PREFIX
Prefix for the tunnel tag that includes the version.
QUALITY
QUALITYLESS_PRODUCT_NAME
Name of the application without quality information.
QUALITYLESS_SERVER_NAME
Name of the application without quality information.
TUNNEL_ACTIVITY_NAME
Name shown in places where we need to tell a user what a process is, e.g. in sleep inhibition.
TUNNEL_CLI_LOCK_NAME
Windows lock name for the running tunnel without a service. Used by the setup script to detect a tunnel process. See #179265.
TUNNEL_SERVICE_LOCK_NAME
Windows lock name for the running tunnel service. Used by the setup script to detect a tunnel process. See #179265.
TUNNEL_SERVICE_USER_AGENT_ENV_VAR
VSCODE_CLI_AI_ENDPOINT
VSCODE_CLI_AI_KEY
VSCODE_CLI_COMMIT
VSCODE_CLI_QUALITY
VSCODE_CLI_UPDATE_ENDPOINT
VSCODE_CLI_VERSION

Functions§

get_default_user_agent