Repository navigation
Added
doctorends with acontractcheck. When the server version from its
health probe would make--api-version autopick a different API contract
than the one in use — a self-hosted Langfuse 3.162.0 against the bundled
4.16.0, for example — its message names both versions and the fix:
langfuse-cli profile update <profile> --api-version auto, or
--api-version auto/LANGFUSE_API_VERSION=autowithout a profile. The
check is advice: it passes, sends no extra request, and leaveshealthyand
the exit code unchanged.
Changed
- The bundled skill explains when to query traces or observations under each API
contract, how to count traces and failed traces in a time window, that omitted
--fieldsgroups come back empty rather than missing, and thatprojects list
shows only the current key's project. Its CLI reference usesapi schema --json
andLANGFUSE_HOST.
Fixed
- Action help, such as
langfuse-cli api traces list --help, prints every
option and body-field description in full, wrapped to the terminal width
(100 columns when stdout is not a terminal), instead of cutting it with "…".
The bundled contracts no longer cut descriptions at 200 characters either, so
--filtershows its columns and examples andapi schema --jsoncarries the
whole text. api versions list|current|detecthonor--jsonand--raw, emitting
{"versions": [...]},{"version", "requested"}(plus"detected"under
auto) and{"detected", "version"}. Without a format flag they print the
same plain text as before, also in a pipe.
Install
npm i -g @cognelis/langfuse-cli@2.4.0Or take the standalone executable for your platform. It embeds every bundled API
contract and needs no Node installation:
curl -fsSL -o langfuse-cli https://github.com/cognelis/langfuse-cli/releases/download/v2.4.0/langfuse-cli-darwin-arm64
chmod +x langfuse-cli && ./langfuse-cli --versionEach binary was built and smoke-tested on a runner of its own platform. Verify a
download against checksums.txt:
shasum -a 256 --ignore-missing -c checksums.txt