@koda-sl/baker-cli 0.215.0 → 0.216.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 +13 -2
- package/dist/cli.js +115 -86
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,6 +100,17 @@ question — and nothing in the output said so. Both spellings of an option work
|
|
|
100
100
|
(`--run-id` and `--runId`), as they always did. Run `baker schema <command>` to see
|
|
101
101
|
every option a command takes.
|
|
102
102
|
|
|
103
|
+
### Fresh reads: `--no-cache`
|
|
104
|
+
|
|
105
|
+
Every command that caches takes `--no-cache`, and it skips **both** cache layers — the
|
|
106
|
+
CLI's own disk cache and the server's. The Google, GA4, GSC, research and X families
|
|
107
|
+
used `--no-cache` while LinkedIn and Meta used `--skip-cache`, a split that named our
|
|
108
|
+
two cache layers rather than anything a caller wanted to choose between. Once an
|
|
109
|
+
unrecognised option started failing the call, it broke every consumer that could not
|
|
110
|
+
know which family it was talking to — including report refresh, which appends
|
|
111
|
+
`--no-cache` for any source. `--skip-cache` is still accepted as the old spelling and
|
|
112
|
+
is rewritten to `--no-cache` before parsing; it will be removed.
|
|
113
|
+
|
|
103
114
|
Use `--output` to change format:
|
|
104
115
|
|
|
105
116
|
| Format | Description | Best for | Available on |
|
|
@@ -885,7 +896,7 @@ The HTTP backend exposes more endpoints (catalogs, ad-studies, ad-images, labels
|
|
|
885
896
|
- Tokens auto-refresh server-side (60-day rolling long-lived user tokens). On `code 190` reconnect Meta from the dashboard.
|
|
886
897
|
- Account scoping: backend rejects any call against an account not in the picker selection — pick accounts via Settings → Connections → Meta Ads first.
|
|
887
898
|
- All cached actions are keyed per company; two companies that connect to the same Meta account never share cache entries.
|
|
888
|
-
- `--
|
|
899
|
+
- `--no-cache` on any command forces a re-fetch.
|
|
889
900
|
|
|
890
901
|
#### Restricted pixel fields
|
|
891
902
|
|
|
@@ -1114,7 +1125,7 @@ Each finding: `{id, area, check, status, severity, evidence, fix: {explanation,
|
|
|
1114
1125
|
- Account scoping: backend rejects calls against an account not in the picker selection.
|
|
1115
1126
|
- Pinned API version: `Linkedin-Version: 202606` (declared in `oauth/constants.ts`). Bump as a coordinated change — LinkedIn deprecates monthly with a ~12-month support window. The floor is `TRACKING_PARAM_DYNAMIC_MIN_API_VERSION` (`CREATIVE_NAME` needs 202606), asserted in `ads/linkedin/utils.test.ts`.
|
|
1116
1127
|
- Cache TTLs: accounts/account-detail 1h, listings 30m, analytics 15m–6h (depends on date range), facets 7d, urn-resolve 1h, bid-pricing/forecast 6h, audience-size 1h.
|
|
1117
|
-
- `--
|
|
1128
|
+
- `--no-cache` on any command skips both cache layers (the CLI's own and the server's).
|
|
1118
1129
|
|
|
1119
1130
|
#### LinkedIn-specific gotchas
|
|
1120
1131
|
|