Patch Changes
-
f6a1d02: Add support for event patterns in MCP server, reduce code duplication
-
253cf5b: Fix CLI version flag reporting hardcoded 0.1.0 instead of the actual package version
-
4104364: feat: support multiple teams and kubectx-style team switching in the CLI
Adds three new commands for users that belong to multiple teams (HyperDX Cloud /
EE):hdx team list— list every team the authenticated user belongs to, marking
the active onehdx team current— print the currently active teamhdx team use <name-or-id>— switch the active team (matched by team ID or
case-insensitive name)
The active team is persisted to
~/.config/hyperdx/cli/session.jsonso the
choice survives across CLI invocations, and the CLI now sends anx-hdx-team
header on every API and ClickHouse-proxy request so the server scopes data to
the chosen team.hdx auth statusalso surfaces the active team.On single-team OSS deployments these commands are effectively no-ops.