@mp-lb/berth 0.0.0-stage → 0.1.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 (3) hide show
  1. package/README.md +27 -2
  2. package/dist/berth.js +25343 -0
  3. package/package.json +38 -3
package/README.md CHANGED
@@ -1,3 +1,28 @@
1
- # Temporary Holding Version
1
+ # Berth CLI
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Install the published CLI and sign in to production:
4
+
5
+ ```sh
6
+ npm install -g @mp-lb/berth
7
+ berth auth login
8
+ berth auth status
9
+ berth project list
10
+ ```
11
+
12
+ Login displays a code and opens the production web app. Sign in, enter the code,
13
+ and approve it. Credentials last 30 days and are stored with owner-only permissions
14
+ in `~/.config/berth/auth.json` (or `$XDG_CONFIG_HOME/berth/auth.json`).
15
+ `berth auth logout` revokes the credential and removes the local copy.
16
+
17
+ The default API is `https://api.berth.mp-lb.dev`. No environment variable or
18
+ local checkout is needed. `BERTH_API_URL` explicitly selects a different API;
19
+ credentials are isolated by API URL. `BERTH_TOKEN` supplies a token explicitly
20
+ for automation and takes precedence over saved login.
21
+
22
+ Use `berth --help` for commands and `berth --version` for the installed version.
23
+ Schema commands work offline. Session/instance commands also require their local
24
+ tools (such as Git and tmux).
25
+
26
+ For CLI development, build and run `node apps/cli/dist/berth.js` from the repo
27
+ with an explicit `BERTH_API_URL`. Do not replace the installed production command
28
+ with a checkout link.