Skip to content

lf 0.3.0

Choose a tag to compare

@tns15june tns15june released this 25 Oct 12:09
· 14 commits to main since this release

What's new

  • --output-summary: JSON output larger than 16 KB is written to a private temp file, and the command prints a short summary instead ("summary": true, the file path, its size, the row count and the keys). Smaller output is unchanged.
  • lf setup: keeps working credentials or asks for them, installs the agent skill that matches this version (through npx skills), and runs lf doctor. lf setup --yes never prompts, so coding agents can run it.
  • INSTALL.md: installation steps a coding agent can follow.
  • On PyPI: pipx install langfuse-agent-cli or uv tool install langfuse-agent-cli.

Fixes from review

  • lf setup never replaces saved keys unasked. It offers a login only when a saved profile is missing or its keys are rejected, and never for keys from LANGFUSE_* variables, --env-file or key flags, which take precedence over profiles.
  • lf auth login refuses empty keys.
  • lf setup exits 1 when the skill could not be installed.
  • Lone UTF-16 surrogates in server data are printed escaped instead of stopping the output.

Upgrade

pipx upgrade langfuse-agent-cli && lf setup   # or: uv tool upgrade langfuse-agent-cli && lf setup

lf setup installs the skill version that matches the CLI, so run it after each upgrade.