@waitcher/cli 0.2.29 → 0.2.32
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 +35 -5
- package/dist/cli.mjs +476 -216
- package/dist/model-client.mjs +46 -8
- package/package.json +22 -2
package/README.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Synthetic monitoring from your repository. Describe monitors in `waitcher.json` next to your code and the end-to-end tests you already have, then plan and deploy them from your terminal, CI or coding agent. Waitcher runs them on a schedule, keeps the evidence and alerts you when something breaks.
|
|
4
4
|
|
|
5
|
+
The CLI is built for coding agents such as Claude Code and Codex: every command prints JSON, `waitcher doctor` reports the setup with the exact next commands, and `waitcher skill install` adds the workflow the agent follows.
|
|
6
|
+
|
|
7
|
+
## What it monitors
|
|
8
|
+
|
|
9
|
+
- `http`: a page or endpoint answers with the status and content you expect
|
|
10
|
+
- `certificate`: a TLS certificate is valid and not close to expiry
|
|
11
|
+
- `tcp` and `dns`: a port accepts connections, a name resolves to the records you expect
|
|
12
|
+
- `heartbeat`: a cron job or backup reports in on time
|
|
13
|
+
- `api` and `browser`: an `e2e` test of several requests or a user journey in Chromium
|
|
14
|
+
- `visual`: a page still looks the way you approved
|
|
15
|
+
- `mcp`: a remote MCP server opens a session, lists its tools and answers one call
|
|
16
|
+
- Agent checks: a real coding agent does your users' task on a schedule and your test judges the result
|
|
17
|
+
- AI checks: test prompts to your AI feature, with rules on the answer
|
|
18
|
+
|
|
19
|
+
Alerts go to email, Slack, webhooks and other channels, and public status pages show the services you name. Each type has its page in the [guide](https://waitcher.dev/docs/).
|
|
20
|
+
|
|
21
|
+
## Install
|
|
22
|
+
|
|
5
23
|
Requires Node.js 24.15 or later.
|
|
6
24
|
|
|
7
25
|
```sh
|
|
@@ -9,11 +27,18 @@ npm install --global @waitcher/cli
|
|
|
9
27
|
waitcher --version
|
|
10
28
|
```
|
|
11
29
|
|
|
30
|
+
## Sign in and check the setup
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
waitcher auth login # signs in through your browser
|
|
34
|
+
waitcher auth login --token-file FILE # or with an automation token, for CI
|
|
35
|
+
waitcher doctor # checks the setup and prints next steps
|
|
36
|
+
```
|
|
37
|
+
|
|
12
38
|
## Quickstart
|
|
13
39
|
|
|
14
40
|
```sh
|
|
15
41
|
cd your-repository
|
|
16
|
-
waitcher auth login # signs in through your browser
|
|
17
42
|
waitcher config init --target https://example.com/
|
|
18
43
|
waitcher deploy plan --env production
|
|
19
44
|
waitcher deploy apply --env production --based-on none
|
|
@@ -40,12 +65,17 @@ To watch how a page looks, add a visual entry: Waitcher screenshots the page on
|
|
|
40
65
|
waitcher skill install
|
|
41
66
|
```
|
|
42
67
|
|
|
43
|
-
installs the Waitcher skill where Claude Code and other agents look for it
|
|
68
|
+
installs the Waitcher skill where Claude Code and other agents look for it (`--path .agents/skills` for Codex). Then ask your agent: "Use the waitcher skill to set up monitoring for this repository." `waitcher explain CODE` explains any issue code, and `waitcher help TOPIC` prints exact syntax for this version. The skill and example monitors for five real sites are also public at https://github.com/waitcher/skills.
|
|
69
|
+
|
|
70
|
+
## Plans
|
|
71
|
+
|
|
72
|
+
A free Starter account is enough to begin; Pro, Business and Team raise the monitor count, check frequency, test runs and evidence retention. Current limits and prices are on https://waitcher.dev/pricing, and `waitcher account billing` shows your own plan and usage.
|
|
44
73
|
|
|
45
74
|
## More
|
|
46
75
|
|
|
47
76
|
- Guide: https://waitcher.dev/docs/
|
|
48
|
-
- For agents: https://waitcher.dev/llms.txt
|
|
49
|
-
-
|
|
77
|
+
- For agents: https://waitcher.dev/llms.txt (index) and https://waitcher.dev/llms-full.txt (whole guide)
|
|
78
|
+
- `waitcher.json` schema: https://waitcher.dev/schema/project-v1.json
|
|
79
|
+
- Contact: hello@waitcher.dev
|
|
50
80
|
|
|
51
|
-
|
|
81
|
+
Help and `--version` work offline.
|