ambral 0.1.0 → 0.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 (3) hide show
  1. package/README.md +4 -22
  2. package/dist/ambral.js +54326 -20433
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,32 +1,14 @@
1
1
  # ambral
2
2
 
3
- The `ambral` command: use Ambral from a terminal, or let a coding agent use it. It signs in through the browser,
4
- then calls Ambral as you.
5
-
6
- Requires Node 22 or later.
3
+ The `ambral` command: use Ambral from a terminal, or let a coding agent use it. Requires Node 22 or later.
7
4
 
8
5
  ```sh
9
6
  npx ambral login
7
+ npx ambral skill install
10
8
  ```
11
9
 
12
- `login` prints a link and a code. Open the link, check the code matches, and approve. In a terminal it also opens
13
- the browser and waits for you. An agent, with no terminal, gets the link and exits; `ambral login --wait` then
14
- returns once you approve.
15
-
16
- ## Commands
17
-
18
- | Command | What it does |
19
- | --------------------------- | -------------------------------------------------------------------- |
20
- | `ambral login [--wait]` | Sign in through the browser |
21
- | `ambral whoami` | Show the account you're signed in as, the address, and the org |
22
- | `ambral logout` | End this CLI's session on the server and forget it |
23
- | `ambral orgs list` | List your orgs, with your role and each org's status |
24
- | `ambral orgs use <slug>` | Link this project to an org: commands run in it act in that org |
25
- | `ambral orgs create <name>` | Create an org you own, linking this project to it if it isn't linked |
26
- | `ambral keys list` | List the org's API keys: names and starts, never their secrets |
27
-
28
- Every command takes `--json`, which prints the result, or the failure, as JSON. `--org <slug>` acts in that org
29
- in place of the one the project is linked to. Create and revoke API keys in the web app.
10
+ `login` signs in through the browser. `skill install` teaches the project's coding agents to use Ambral with this
11
+ CLI; run it again after updating `ambral`. `ambral --help` lists every command.
30
12
 
31
13
  ## Where it connects
32
14