Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@harness-lab/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Harness CLI
Small Harness Lab CLI for facilitator auth, workshop operations, and repo-local skill installation.
Current shipped scope:
harness versionharness skill installharness auth loginharness auth logoutharness auth statusharness workshop statusharness workshop archiveharness workshop phase set <phase-id>
Current implementation posture:
- targets the existing shared dashboard facilitator APIs
- defaults to a browser/device approval flow backed by dashboard-side facilitator broker sessions
- keeps
--auth basicand--auth neonas explicit local-dev/bootstrap fallback modes - stores session material in a local file under
HARNESS_CLI_HOMEor~/.harnessby default - supports macOS Keychain, Windows Credential Manager, and Linux Secret Service as explicit
HARNESS_SESSION_STORAGEoverrides - supports brokered facilitator commands over the same workshop APIs used by the dashboard
Usage
Install
Participant-facing default install:
npm install -g @harness-lab/cliVerify the binary:
harness --version
harness --helpDevelopment or fallback install from this repository:
npm install -g ./harness-clior:
cd harness-cli
npm linkVerify the local install:
harness version
harness --helpInstall the repo-local workshop skill bundle for Codex/OpenCode discovery:
harness skill installThis creates .agents/skills/harness-lab-workshop in the current Harness Lab repo checkout.
After install, the CLI prints the first recommended agent commands, starting with /workshop reference.
Default device/browser login:
harness auth login \
--dashboard-url https://harness-lab-dashboard.vercel.appThe CLI prints a verification URL plus user code, optionally opens the browser when supported, then polls until the facilitator approves the request on /admin/device.
Explicit local file-mode / Basic Auth fallback:
harness auth login \
--auth basic \
--dashboard-url http://localhost:3000 \
--username facilitator \
--password secretExplicit Neon email/password bootstrap fallback:
harness auth login \
--auth neon \
--dashboard-url https://harness-lab-dashboard.vercel.app \
--email facilitator@example.comWorkshop commands:
harness auth status
harness skill install
harness workshop status
harness workshop phase set rotation
harness workshop archive --notes "Manual archive"
harness auth logoutEnvironment variables:
HARNESS_DASHBOARD_URLHARNESS_AUTH_MODEHARNESS_ADMIN_USERNAMEHARNESS_ADMIN_PASSWORDHARNESS_FACILITATOR_EMAILHARNESS_FACILITATOR_PASSWORDHARNESS_CLI_HOMEHARNESS_SESSION_STORAGE(file,keychain,credential-manager, orsecret-service)
Release Gate
Public npm publication is controlled by the release gate in docs/harness-cli-publication-gate.md. Normal development should still happen from this repository; npm is the participant-facing distribution path, not a substitute for repo-local development.