@onkernel/cua-cli 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,22 +7,19 @@ interactive front-end and to
7
7
  [`pi-coding-agent`](https://www.npmjs.com/package/@earendil-works/pi-coding-agent)'s
8
8
  coding tools for workspace access.
9
9
 
10
- ## Install (from the monorepo)
10
+ ## Install
11
11
 
12
12
  ```bash
13
- # from the repo root:
14
- npm install
15
- # run directly from source via tsx (no global install required):
16
- npx tsx packages/cli/src/cli.ts --help
17
-
18
- # optional: pin a shell function in your rc so `cua` works from any cwd
19
- # while preserving the caller's directory (so `--out`, transcript
20
- # bucketing, and `.agents/skills` discovery use the directory you
21
- # invoked from):
22
- # CUA_REPO=/absolute/path/to/cua
23
- # cua() { "$CUA_REPO/node_modules/.bin/tsx" "$CUA_REPO/packages/cli/src/cli.ts" "$@"; }
13
+ # global install (puts `cua` on your PATH):
14
+ npm install -g @onkernel/cua-cli
15
+ cua --help
16
+
17
+ # or run a one-off without installing:
18
+ npx @onkernel/cua-cli --help
24
19
  ```
25
20
 
21
+ Requires Node >= 22.19.0.
22
+
26
23
  ## Usage
27
24
 
28
25
  ```bash
package/dist/cli.js CHANGED
@@ -1315,7 +1315,7 @@ async function runPrintCommand(prompt, flags) {
1315
1315
  /** Run the interactive TUI through the new harness wiring. */
1316
1316
  async function runInteractiveCommand(initialPrompt, flags) {
1317
1317
  const runtime = await setupHarnessRuntime(flags);
1318
- const { runInteractive } = await import("./main-DRtiOMAk.js");
1318
+ const { runInteractive } = await import("./main-BJ1jOxe3.js");
1319
1319
  try {
1320
1320
  return await runInteractive({
1321
1321
  cwd: process.cwd(),
@@ -504,7 +504,7 @@ function padToWidth(text, width) {
504
504
  //#endregion
505
505
  //#region src/tui/version.ts
506
506
  function cuaVersion() {
507
- return "0.1.1";
507
+ return "0.1.2";
508
508
  }
509
509
  //#endregion
510
510
  //#region src/tui/main.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onkernel/cua-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Kernel-cloud-browser computer-use TUI built on @onkernel/cua-agent and pi-tui",
5
5
  "license": "MIT",
6
6
  "type": "module",