diff --git a/packages/cli/README.md b/packages/cli/README.md index 3ae0fe2..2772d50 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -7,22 +7,19 @@ interactive front-end and to [`pi-coding-agent`](https://www.npmjs.com/package/@earendil-works/pi-coding-agent)'s coding tools for workspace access. -## Install (from the monorepo) +## Install ```bash -# from the repo root: -npm install -# run directly from source via tsx (no global install required): -npx tsx packages/cli/src/cli.ts --help - -# optional: pin a shell function in your rc so `cua` works from any cwd -# while preserving the caller's directory (so `--out`, transcript -# bucketing, and `.agents/skills` discovery use the directory you -# invoked from): -# CUA_REPO=/absolute/path/to/cua -# cua() { "$CUA_REPO/node_modules/.bin/tsx" "$CUA_REPO/packages/cli/src/cli.ts" "$@"; } +# global install (puts `cua` on your PATH): +npm install -g @onkernel/cua-cli +cua --help + +# or run a one-off without installing: +npx @onkernel/cua-cli --help ``` +Requires Node >= 22.19.0. + ## Usage ```bash diff --git a/packages/cli/package.json b/packages/cli/package.json index 7c4d432..738145d 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/cua-cli", - "version": "0.1.1", + "version": "0.1.2", "description": "Kernel-cloud-browser computer-use TUI built on @onkernel/cua-agent and pi-tui", "license": "MIT", "type": "module",