perchai-cli 2.4.0

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.
Files changed (4) hide show
  1. package/README.md +15 -0
  2. package/bin/perch +3 -0
  3. package/dist/perch.cjs +221721 -0
  4. package/package.json +20 -0
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # Perch CLI
2
+
3
+ Run Perch from a terminal without installing the Desktop app.
4
+
5
+ ```sh
6
+ npm install -g perchai-cli
7
+ perch login --app-url https://app.perchai.app
8
+ perch status
9
+ perch run "Summarize this folder" --cwd .
10
+ perch ap packet ./01-ap
11
+ ```
12
+
13
+ `perch login` opens your browser, completes OAuth through Perch, and saves the CLI session in the macOS Keychain or `~/.perch/cli-auth-session.json` on other platforms.
14
+
15
+ The CLI uses the hosted Perch model proxy by default when `--app-url` or `PERCH_CLI_APP_URL` points at a Perch app.
package/bin/perch ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require("../dist/perch.cjs");