version

package
v1.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the build version of the CLI, set from cmd/dash0/main.go.

Functions

func UserAgent added in v1.5.0

func UserAgent() string

UserAgent returns the User-Agent string for HTTP requests. For release builds it returns "dash0-cli/1.4.0". For dev builds it returns "dash0-cli/dev" or "dash0-cli/dev(abc1234)" when the commit is known. When agent mode is active, " agent/<slug>" is appended so the Dash0 backend can distinguish requests driven by specific AI coding agents (e.g. "agent/claude-code", "agent/cursor", "agent/unknown" when the agent could not be identified).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL