Packages

@statelyai/inspect

0.7.2 · 14 Jun 2026MIT212.8k / weekRepositoryHomepagenpmAtom feed

Your version

0.7.0

8 Apr 2026Where it was published

0.7.2 is the newest release of 0.7.x.

In short

1 new

Release note

Minor Changes

  • Breaking changes

    • ESM-only: the package is now "type": "module" and ships .mjs / .d.mts. Use import / import() instead of require() for @statelyai/inspect and @statelyai/inspect/server.

Features

-   Add **`createInspectorServer()`** for Node.js inspection via WebSocket; import from **`@statelyai/inspect/server`**. The server relays inspection events to the Stately inspector UI in the browser (with buffering and replay for late connections).

Fixes

-   **`createWebSocketInspector()`** now starts the WebSocket connection reliably.  
-   **`stop()`** no longer throws if called before **`start()`**.  
-   Remove noisy **`console.log`** calls from the WebSocket adapter and receiver.

Chores

-   Build with **tsdown** (Rolldown) instead of tsup; align tooling with **`@statelyai/graph`** (pnpm 10, Node 24 in CI, frozen lockfile, **`pnpm verify`**, **publint**).  
-   Release workflow uses **npm trusted publishing (OIDC)**; drop long-lived **`NPM_TOKEN`** from Actions.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.