@withgauge/cli 0.5.0 → 0.7.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.
- package/README.md +27 -17
- package/dist/index.js +4626 -1471
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# @withgauge/cli
|
|
2
2
|
|
|
3
|
-
`gauge` — the [Gauge](https://agents.withgauge.com) command-line interface.
|
|
4
|
-
your prompts,
|
|
5
|
-
terminal.
|
|
3
|
+
`gauge` — the [Gauge](https://agents.withgauge.com) command-line interface.
|
|
4
|
+
Manage your eval sets, Agent Preference prompts, run presets, and agent runs,
|
|
5
|
+
and watch runs live from your terminal.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install -g @withgauge/cli
|
|
9
|
-
gauge
|
|
9
|
+
gauge onboard # sign in, create a workspace, seed starter measurements
|
|
10
|
+
gauge auth login # (or just sign in)
|
|
10
11
|
gauge orgs use <org> # set your default organization
|
|
11
12
|
```
|
|
12
13
|
|
|
@@ -15,30 +16,39 @@ Requires Node.js ≥ 22.12.
|
|
|
15
16
|
## Usage
|
|
16
17
|
|
|
17
18
|
```sh
|
|
18
|
-
gauge
|
|
19
|
-
gauge
|
|
19
|
+
gauge status # the org at a glance
|
|
20
|
+
gauge evals list # judged agent-experience measurements
|
|
21
|
+
gauge preference list # Agent Preference prompts and measurements
|
|
22
|
+
gauge presets list # run configurations (repo × persona × agents × skills × MCP)
|
|
23
|
+
gauge evals attach <id> --preset <presetId> # schedule a preset on an eval (prints the bill first)
|
|
24
|
+
gauge evals run <id> # launch now (ORG-funded, credit-gated)
|
|
20
25
|
gauge runs watch <run-id> # follow a run as the agent works
|
|
21
|
-
gauge runs fork <run-id> --prompt "Try a different approach"
|
|
22
|
-
gauge repos list # your repository catalog
|
|
23
26
|
gauge stats rankings -o json # brand rankings (share of voice) as JSON
|
|
24
|
-
gauge query fields --dataset installs # discover a dataset's dimensions/metrics
|
|
25
27
|
gauge query -d ecosystem -m installs,install_rate -o json # a flexible report
|
|
26
28
|
```
|
|
27
29
|
|
|
28
30
|
Run `gauge --help` (or `gauge <command> --help`) for the full command set:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
evals, preference, presets, personas, skills, mcp, cycles, repos, runs,
|
|
32
|
+
experiments, batches, brands, tags, actions, impl, dashboards, members, org,
|
|
33
|
+
provider keys, billing, usage, stats, query, and more.
|
|
34
|
+
|
|
35
|
+
**Run presets** are the unit of configuration: an eval set or preference
|
|
36
|
+
prompt runs whatever presets are attached to it, every cycle. `gauge presets
|
|
37
|
+
create --name api-main --repo https://github.com/acme/api --agent
|
|
38
|
+
claude-code:claude-opus-4-8 --skill acme-cli@1.2.0` authors one;
|
|
39
|
+
`gauge evals attach` / `gauge preference attach` schedules it. Attaching
|
|
40
|
+
spends money on a schedule, so `attach` and `run` print the per-cycle run
|
|
41
|
+
arithmetic and ask before acting (`--yes` skips the prompt for scripts).
|
|
31
42
|
|
|
32
43
|
`gauge query` builds flexible reports over your event warehouse (a GA4
|
|
33
|
-
`run_report` analog): pick a `--dataset`, group by `--dimensions
|
|
34
|
-
`--metrics`, or pass a whole spec with `--json
|
|
35
|
-
`gauge query datasets` / `gauge query fields --dataset <name>` list what you
|
|
36
|
-
ask for.
|
|
44
|
+
`run_report` analog): pick a `--dataset`, group by `--dimensions` (including
|
|
45
|
+
`run_preset`), and aggregate `--metrics`, or pass a whole spec with `--json`.
|
|
46
|
+
`gauge query datasets` / `gauge query fields --dataset <name>` list what you
|
|
47
|
+
can ask for.
|
|
37
48
|
|
|
38
49
|
To launch runs declaratively, `gauge apply -f <spec>.json`. Discover the spec
|
|
39
50
|
format without leaving the terminal: `gauge apply --example` prints a starter
|
|
40
|
-
spec
|
|
41
|
-
its JSON Schema.
|
|
51
|
+
spec and `gauge apply --schema` prints its JSON Schema.
|
|
42
52
|
|
|
43
53
|
Every read supports `-o json` for scripting. `GAUGE_API_TOKEN` overrides
|
|
44
54
|
stored credentials (useful in CI). Exit codes: `0` ok · `1` error ·
|