@koda-sl/baker-cli 0.169.2 → 0.170.0-dev.9ace16483
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 +40 -0
- package/dist/{chunk-CG6OTNUU.js → chunk-K424D3CY.js} +4 -4
- package/dist/chunk-K424D3CY.js.map +1 -0
- package/dist/cli.js +2430 -2150
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-CG6OTNUU.js.map +0 -1
package/README.md
CHANGED
|
@@ -1159,6 +1159,46 @@ baker ga4 query --dimensions "date,sessionSourceMedium" --metrics "sessions,conv
|
|
|
1159
1159
|
|
|
1160
1160
|
---
|
|
1161
1161
|
|
|
1162
|
+
### Alarms (`baker alarm`)
|
|
1163
|
+
|
|
1164
|
+
How an unattended run reaches a human about something that cannot wait until tomorrow. This is the only thing that interrupts someone out of hours — anything that can wait is `baker actions create --priority urgent`.
|
|
1165
|
+
|
|
1166
|
+
Every alarm must carry the evidence that contradicts everything being fine, and the backend **refuses** it when the evidence does not. An all-zeros analytics reading is not evidence on its own: broken tracking, no traffic, a dead page and a failed check all look identical. Paid clicks over the same window are what turn zeros into proof.
|
|
1167
|
+
|
|
1168
|
+
---
|
|
1169
|
+
|
|
1170
|
+
### `baker alarm raise`
|
|
1171
|
+
|
|
1172
|
+
Wake a human. Reasons: `tracking_broken`, `spend_anomaly`, `access_lost`, `site_down`.
|
|
1173
|
+
|
|
1174
|
+
```bash
|
|
1175
|
+
baker alarm raise --reason tracking_broken --url https://acme.com/demo --window-hours 24 \
|
|
1176
|
+
--analytics-answered true --sessions 0 --clicks 47 --spend-micros 82000000
|
|
1177
|
+
|
|
1178
|
+
baker alarm raise --reason site_down --url https://acme.com/demo --http-status 503 # 'none' if it never responded
|
|
1179
|
+
baker alarm raise --reason spend_anomaly --platform google-ads --window-hours 24 \
|
|
1180
|
+
--spend-micros 400000000 --baseline-spend-micros 50000000
|
|
1181
|
+
baker alarm raise --reason access_lost --platform google-ads --provider-error "USER_PERMISSION_DENIED"
|
|
1182
|
+
```
|
|
1183
|
+
|
|
1184
|
+
`--analytics-answered false` means the provider errored, timed out, or the token expired. That is **not** zero sessions, and the gate refuses it — otherwise a broken check pages somebody about the client's tracking.
|
|
1185
|
+
|
|
1186
|
+
Response: `raised: true` (a human was contacted), `deduped: true` (already open — counted, not re-sent), or `raised: false` with a `refusal` explaining what the evidence failed to show. Repeats for an open condition never page twice.
|
|
1187
|
+
|
|
1188
|
+
---
|
|
1189
|
+
|
|
1190
|
+
### `baker alarm checked`
|
|
1191
|
+
|
|
1192
|
+
Record that a check came back clean.
|
|
1193
|
+
|
|
1194
|
+
```bash
|
|
1195
|
+
baker alarm checked --reason tracking_broken --scope "6 landings"
|
|
1196
|
+
```
|
|
1197
|
+
|
|
1198
|
+
Run it whenever a check finds nothing. Without it, "nothing was wrong" and "nobody looked" are the same silence. It never closes an alarm somebody was already woken for — one clean reading does not prove a fix.
|
|
1199
|
+
|
|
1200
|
+
---
|
|
1201
|
+
|
|
1162
1202
|
### Google Search Console (`baker gsc`)
|
|
1163
1203
|
|
|
1164
1204
|
GSC commands for PPC-SEO arbitrage, brand halo analysis, and negative keyword discovery.
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
__toESM
|
|
8
8
|
} from "./chunk-RK67WL4O.js";
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js
|
|
11
11
|
var require_safe_stable_stringify = __commonJS({
|
|
12
|
-
"
|
|
12
|
+
"../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
13
13
|
"use strict";
|
|
14
14
|
var { hasOwnProperty } = Object.prototype;
|
|
15
15
|
var stringify = configure2();
|
|
@@ -1075,7 +1075,7 @@ function resolveAdaptFormats(params) {
|
|
|
1075
1075
|
return params.formats ?? [];
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
1078
|
-
//
|
|
1078
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1079
1079
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1080
1080
|
var configure = import__.default.configure;
|
|
1081
1081
|
var wrapper_default = import__.default;
|
|
@@ -8028,4 +8028,4 @@ export {
|
|
|
8028
8028
|
defaultRegistry,
|
|
8029
8029
|
createEngineFromEnv
|
|
8030
8030
|
};
|
|
8031
|
-
//# sourceMappingURL=chunk-
|
|
8031
|
+
//# sourceMappingURL=chunk-K424D3CY.js.map
|