@koda-sl/baker-cli 0.347.0-dev.043fc924c → 0.347.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 +4 -4
- package/dist/{chunk-KGDL7F7M.js → chunk-2IC3CGQO.js} +3 -3
- package/dist/chunk-2OKSJNLA.js +855 -0
- package/dist/chunk-2OKSJNLA.js.map +1 -0
- package/dist/{chunk-XPUSSDLR.js → chunk-4QXKWIFC.js} +3 -3
- package/dist/{chunk-JWMLQSGK.js → chunk-NA5CPMUA.js} +4 -4
- package/dist/{chunk-PWGY347J.js → chunk-XWHHYHKQ.js} +2 -2
- package/dist/{chunk-D5P4COPD.js → chunk-YBD3W4M7.js} +9 -8
- package/dist/chunk-YBD3W4M7.js.map +1 -0
- package/dist/cli.js +357 -754
- package/dist/cli.js.map +1 -1
- package/dist/{client-PWRZOA3Q.js → client-ODCNYCP4.js} +4 -4
- package/dist/engine/index.js +3 -3
- package/dist/{env-TQTHWLBN.js → env-BSG7TY5Y.js} +6 -2
- package/dist/{output-HD63GTWI.js → output-2XBCYF7L.js} +5 -5
- package/dist/{shared-5662SBDW.js → shared-RYAF7Y7H.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-4VP5WWPR.js +0 -376
- package/dist/chunk-4VP5WWPR.js.map +0 -1
- package/dist/chunk-D5P4COPD.js.map +0 -1
- /package/dist/{chunk-KGDL7F7M.js.map → chunk-2IC3CGQO.js.map} +0 -0
- /package/dist/{chunk-XPUSSDLR.js.map → chunk-4QXKWIFC.js.map} +0 -0
- /package/dist/{chunk-JWMLQSGK.js.map → chunk-NA5CPMUA.js.map} +0 -0
- /package/dist/{chunk-PWGY347J.js.map → chunk-XWHHYHKQ.js.map} +0 -0
- /package/dist/{client-PWRZOA3Q.js.map → client-ODCNYCP4.js.map} +0 -0
- /package/dist/{env-TQTHWLBN.js.map → env-BSG7TY5Y.js.map} +0 -0
- /package/dist/{output-HD63GTWI.js.map → output-2XBCYF7L.js.map} +0 -0
- /package/dist/{shared-5662SBDW.js.map → shared-RYAF7Y7H.js.map} +0 -0
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@ export BAKER_CHAT_ID="<chat-id>"
|
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
- `BAKER_API_KEY` must start with `bk_` (or `bkr_` for the read-only credential a Session review runs with)
|
|
40
|
+
- A missing or malformed `BAKER_API_KEY` / `BAKER_API_URL` ends any command that talks to Baker with `NOT_CONFIGURED` (non-retryable, with a `fix`) naming the variable and the rule it broke — never its value
|
|
41
|
+
- A malformed `BAKER_GOOGLE_ADS_CUSTOMER_ID`, `BAKER_LINKEDIN_AD_ACCOUNT_ID` or `BAKER_X_ADS_ACCOUNT_ID` ends it with `VALIDATION_ERROR` instead, whose `fix` says to correct or unset the variable
|
|
40
42
|
- `BAKER_API_URL` is your Convex site URL — the deployment the CLI talks to, not an address to show anybody
|
|
41
43
|
- `BAKER_PUBLIC_API_URL` — Baker's own host for the public API (`https://api.withbaker.com`). Set for you; not one to export by hand. It is what `analytics sending-events` publishes the `POST /v1/events` contract on, so that an integration written by a client's developers never names a deployment. Where it is unset the contract falls back to `BAKER_API_URL`, which keeps the printed request runnable against a deployment that fronts itself.
|
|
42
44
|
- `BAKER_GOOGLE_ADS_CUSTOMER_ID` — default Google Ads customer ID (10 digits). Used when `--customer-id` is not passed. If neither is set and the account has exactly one Google Ads customer, it is auto-selected.
|
|
@@ -1279,7 +1281,7 @@ baker analytics tracking --platform meta # the same for one platform, read from
|
|
|
1279
1281
|
baker analytics map --platform google --set kw=keyword # name a parameter, seen or not yet
|
|
1280
1282
|
baker analytics map --platform google --remove kw # take that answer back
|
|
1281
1283
|
baker analytics conversions # what counts, what each produced, and which Forms count nothing
|
|
1282
|
-
baker analytics conversions --candidates # everything these pages do, and which of it is counted
|
|
1284
|
+
baker analytics conversions --candidates --output md # everything these pages do, and which of it is counted, as tables
|
|
1283
1285
|
baker analytics conversions --flow contact # one Form's endings as event keys, traffic or not
|
|
1284
1286
|
baker analytics conversions --event page:request_demo --name "Demo requested"
|
|
1285
1287
|
baker analytics conversions --event page:a --event submit:b --name "Lead" # both, as one number
|
|
@@ -3458,9 +3460,7 @@ baker actions update <tempId> --description "..." # a tempId from `create` in
|
|
|
3458
3460
|
# ...folds into the staged create op — flesh out a task you just created instead of removing and recreating it
|
|
3459
3461
|
baker actions complete <action-id-or-tempId> --note "What was done" # stages — applies on chat publish
|
|
3460
3462
|
# --note is REQUIRED (≥20 chars): what changed, where, and the outcome. It is the durable, client-facing
|
|
3461
|
-
# record surfaced by `baker actions log
|
|
3462
|
-
# a file path, a platform account id, an error code or a `baker` command is rejected with a VALIDATION_ERROR naming them,
|
|
3463
|
-
# as is a missing/too-short note.
|
|
3463
|
+
# record surfaced by `baker actions log`. A missing/too-short note is rejected with a VALIDATION_ERROR.
|
|
3464
3464
|
baker actions discard <action-id> --reason "obsolete"
|
|
3465
3465
|
|
|
3466
3466
|
# Tags — taxonomy is built-in defaults + company custom tags; --tags is STRICT (unknown slugs are rejected)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiError,
|
|
3
3
|
apiGet
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4QXKWIFC.js";
|
|
5
5
|
import {
|
|
6
6
|
getEnv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2OKSJNLA.js";
|
|
8
8
|
|
|
9
9
|
// src/error-handler.ts
|
|
10
10
|
var REQUEST_CONNECTION_PLATFORM = {
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
writeAdsOutput,
|
|
295
295
|
resolveCustomerId
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-2IC3CGQO.js.map
|