harnest-cli
v0.1.1
Published
Authenticated background sync for local AI coding-agent sessions
Maintainers
Readme
Harnest CLI
Harnest securely syncs local AI coding-agent sessions to the Harnest service for ingestion and analytics.
Requirements
- Node.js 20 or newer
- macOS or Windows for scheduled background sync
Install
npm install --global harnest-cliThe package installs the harnest command.
For an interactive personal setup:
harnest login
harnest daemon install --run-nowFor tenant-managed recruitment setup, use the candidate-specific token supplied by the tenant:
HARNEST_TOKEN='hsa_cli_...' harnest provisionProvisioning validates and stores the token, installs five-minute background sync, and asks the platform scheduler to start the first sync without waiting for uploads to finish.
Inspect and manage
harnest status
harnest daemon status
harnest daemon uninstall
harnest logoutData notice
Raw session data can contain prompts, source code, terminal output, file paths, tool results, credentials, and other secrets. Install and provision Harnest only with the informed consent of the person whose sessions will be synchronized.
Harnest discovers supported sessions from Codex, Claude Code, Pi, and Cursor. CLI output is sanitized so routine commands do not print transcript contents or native paths.
Cursor scanning prefers Node.js's built-in SQLite module on Node.js 22.13 and newer. Node.js 20 and older Node.js 22 releases automatically use the native SQLite binaries packaged with the CLI. Supported packaged platforms are macOS, Windows, and Linux on x64 and arm64; no compiler or separate SQLite installation is required.
