@waitcher/cli 0.2.29 → 0.2.31
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 +465 -213
- package/dist/model-client.mjs +46 -8
- package/package.json +22 -2
package/dist/model-client.mjs
CHANGED
|
@@ -54867,14 +54867,14 @@ var entries = {
|
|
|
54867
54867
|
fix: "A built monitor script must fit 50,000 characters. Split the journey into smaller monitors or remove unused helpers."
|
|
54868
54868
|
},
|
|
54869
54869
|
RUNTIME_VERSION_MISMATCH: {
|
|
54870
|
-
title: "Project runtime
|
|
54871
|
-
meaning: "
|
|
54872
|
-
fix: "Run waitcher runtime
|
|
54870
|
+
title: "Project runtime is not a supported generation",
|
|
54871
|
+
meaning: "The project's installed e2e, @e2e-dev/web and esbuild versions are not one supported runtime generation, so local runs and hosted checks could differ.",
|
|
54872
|
+
fix: "Run waitcher runtime upgrade --file PATH_TO_waitcher.json and follow its steps: it installs a supported generation after the user agrees (--yes). If the server names a generation this CLI does not know, install the CLI the server offers first."
|
|
54873
54873
|
},
|
|
54874
|
-
|
|
54875
|
-
title: "Project runtime
|
|
54876
|
-
meaning: "The project
|
|
54877
|
-
fix: "Run waitcher runtime
|
|
54874
|
+
RUNTIME_VERSION_ENDING: {
|
|
54875
|
+
title: "Project runtime generation ends soon",
|
|
54876
|
+
meaning: "The project's runtime generation stops being supported on the date in the message. Until then it builds, deploys and runs as before.",
|
|
54877
|
+
fix: "Run waitcher runtime upgrade --file PATH_TO_waitcher.json and follow its steps, or hand the prompt in the runtime docs to a coding agent."
|
|
54878
54878
|
},
|
|
54879
54879
|
SECRET_MISSING: {
|
|
54880
54880
|
title: "Secret not set for this environment",
|
|
@@ -55151,7 +55151,42 @@ var RUNTIME_ENGINE = Object.freeze({
|
|
|
55151
55151
|
chromiumRevision: "1255",
|
|
55152
55152
|
chromiumVersion: "159.0.8154.6"
|
|
55153
55153
|
});
|
|
55154
|
-
var
|
|
55154
|
+
var RUNTIME_GENERATIONS = Object.freeze([
|
|
55155
|
+
{
|
|
55156
|
+
id: "2026.11",
|
|
55157
|
+
e2e: RUNTIME_PINS.e2e,
|
|
55158
|
+
web: RUNTIME_PINS["@e2e-dev/web"],
|
|
55159
|
+
esbuild: RUNTIME_PINS.esbuild,
|
|
55160
|
+
playwright: RUNTIME_ENGINE.playwright,
|
|
55161
|
+
chromiumVersion: RUNTIME_ENGINE.chromiumVersion,
|
|
55162
|
+
released: "2026-11-20"
|
|
55163
|
+
}
|
|
55164
|
+
]);
|
|
55165
|
+
var RUNTIME_GENERATION = RUNTIME_GENERATIONS[0].id;
|
|
55166
|
+
var RUNTIME_CHANGES = Object.freeze({
|
|
55167
|
+
"2026.11": [
|
|
55168
|
+
{
|
|
55169
|
+
package: "e2e",
|
|
55170
|
+
since: "0.23.0",
|
|
55171
|
+
change: "inputValue() and isChecked() throw on elements that have no value",
|
|
55172
|
+
find: "\\.(inputValue|isChecked)\\(",
|
|
55173
|
+
fix: "Call them only on input, textarea, select or checkbox locators; read other elements with textContent() or getAttribute()."
|
|
55174
|
+
},
|
|
55175
|
+
{
|
|
55176
|
+
package: "e2e",
|
|
55177
|
+
since: "0.24.0",
|
|
55178
|
+
change: "Fixtures are set up only when a test uses them",
|
|
55179
|
+
fix: "A test that relies on a fixture's side effect names that fixture in its arguments."
|
|
55180
|
+
},
|
|
55181
|
+
{
|
|
55182
|
+
package: "@e2e-dev/web",
|
|
55183
|
+
since: "0.16.0",
|
|
55184
|
+
change: "Configured headers and basicAuth apply only to the app's own origin",
|
|
55185
|
+
find: "\\b(headers|basicAuth)\\s*:",
|
|
55186
|
+
fix: "Pass headers for another origin with that request instead of the app configuration."
|
|
55187
|
+
}
|
|
55188
|
+
]
|
|
55189
|
+
});
|
|
55155
55190
|
var RUNTIME_OVERRIDES = Object.freeze({ e2e: { zod: "4.6.7" } });
|
|
55156
55191
|
var PROJECT_SCHEMA_PATH = "/schema/project-v1.json";
|
|
55157
55192
|
var PROJECT_SCHEMA_URL = `https://waitcher.dev${PROJECT_SCHEMA_PATH}`;
|
|
@@ -55200,6 +55235,9 @@ var deployRequestSchema = external_exports.object({
|
|
|
55200
55235
|
activateNew: external_exports.boolean().default(false),
|
|
55201
55236
|
version: external_exports.string().trim().min(1).max(100).optional(),
|
|
55202
55237
|
basedOn: external_exports.string().uuid().nullable().optional(),
|
|
55238
|
+
// The runtime generation the project's installed pins match; its checks
|
|
55239
|
+
// run on it. Without it new checks get the newest and others keep theirs.
|
|
55240
|
+
runtime: external_exports.string().regex(/^\d{4}\.\d{2}$/).optional(),
|
|
55203
55241
|
adopt: external_exports.record(external_exports.string().regex(MONITOR_KEY), external_exports.string().uuid()).refine(
|
|
55204
55242
|
(a) => Object.keys(a).length <= CONFIG_LIMITS.monitors,
|
|
55205
55243
|
"Too many adoptions"
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waitcher/cli",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Synthetic monitoring from your repository: deploy HTTP, certificate, heartbeat, API, browser and
|
|
3
|
+
"version": "0.2.31",
|
|
4
|
+
"description": "Synthetic monitoring from your repository: deploy HTTP, certificate, TCP, DNS, heartbeat, API, browser, visual, MCP server and coding agent checks from waitcher.json, with AI checks and status pages.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Sławomir Radzymiński",
|
|
7
7
|
"homepage": "https://waitcher.dev/docs/",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"email": "hello@waitcher.dev"
|
|
10
|
+
},
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
10
13
|
"url": "git+https://github.com/slawekradzyminski/synthetic-watch.git",
|
|
@@ -13,8 +16,25 @@
|
|
|
13
16
|
"keywords": [
|
|
14
17
|
"monitoring",
|
|
15
18
|
"synthetic-monitoring",
|
|
19
|
+
"monitoring-as-code",
|
|
16
20
|
"uptime",
|
|
21
|
+
"uptime-monitoring",
|
|
22
|
+
"api-monitoring",
|
|
23
|
+
"browser-testing",
|
|
17
24
|
"e2e",
|
|
25
|
+
"playwright",
|
|
26
|
+
"visual-regression",
|
|
27
|
+
"ssl-certificate",
|
|
28
|
+
"heartbeat",
|
|
29
|
+
"cron-monitoring",
|
|
30
|
+
"tcp",
|
|
31
|
+
"dns",
|
|
32
|
+
"mcp",
|
|
33
|
+
"ai-agents",
|
|
34
|
+
"agent-checks",
|
|
35
|
+
"claude-code",
|
|
36
|
+
"codex",
|
|
37
|
+
"status-page",
|
|
18
38
|
"ci",
|
|
19
39
|
"cli"
|
|
20
40
|
],
|