Skip to content

@hyperdx/cli v0.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Jun 21:24
e2103f7

@hyperdx/cli v0.5.1

Patch Changes

  • 5c46215: Bump @clickhouse/client* to 1.23.0-head.fae5998.1 and fix the type
    incompatibility it introduces.

    In @clickhouse/client* 1.23 each platform package (@clickhouse/client,
    @clickhouse/client-web) bundles its own copy of the shared types, so their
    ClickHouseSettings types — which reference the nominally-compared SettingsMap
    class — are no longer the same type as @clickhouse/client-common's. The shared
    processClickhouseSettings() helper produces the client-common flavor, so
    assigning it into the per-platform clients' query() now requires an explicit
    bridge. Guard the existing as ClickHouseSettings assertions at those
    boundaries (node.ts, browser.ts, cli) with a scoped
    @typescript-eslint/no-unsafe-type-assertion disable, matching the existing
    "client library type mismatch" pattern. No runtime behavior changes.

  • 45954c3: Import ClickHouse client types from the platform packages
    (@clickhouse/client / @clickhouse/client-web) instead of the deprecated
    @clickhouse/client-common. This makes the packages forward-compatible with
    @clickhouse/client* 1.23 (where client-common is deprecated and each
    platform package bundles and re-exports its own copy of the shared types)
    without bumping the pinned version. No runtime behavior changes.

  • 1a64796: Removing relative imports and using path aliases


Installation

npm (recommended):

npm install -g @hyperdx/cli

Or run directly with npx:

npx @hyperdx/cli tui -s <your-hyperdx-api-url>

Manual download (standalone binary, no Node.js required):

# macOS Apple Silicon
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.5.1/hdx-darwin-arm64 -o hdx
# macOS Intel
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.5.1/hdx-darwin-x64 -o hdx
# Linux x64
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.5.1/hdx-linux-x64 -o hdx

chmod +x hdx && sudo mv hdx /usr/local/bin/

Usage

hdx auth login -s <your-hyperdx-api-url>
hdx tui