Trace CLI

The terminal-native client for interacting with the Trace ecosystem.

Installation

npm install -g @probebrowser/trace

Commands

trace init

Scaffolds a `trace.config.js` file in the current directory and auto-detects the framework environment to recommend the right SDK bindings.

trace login

Authenticates the machine with your Trace account. Required to sync remote traces or use cloud AI models for vibe verification.

trace dev <command>

Proxies a local development server and injects the Trace global SDK wrapper object. Intercepts fetch, console, and DOM events via playwright shims.

trace analyze

Runs static analysis over the current repository directory to generate a report on heavy-rendering components, memory leaks, or unhandled promise chains. Operates similarly to the Sniff agent logic locally.