@koda-sl/baker-cli 0.122.0-dev.fff192e73 → 0.122.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 +2 -19
- package/dist/{chunk-MWFJ5NOP.js → chunk-IWPAXJC3.js} +4 -4
- package/dist/chunk-IWPAXJC3.js.map +1 -0
- package/dist/cli.js +1242 -1556
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-MWFJ5NOP.js.map +0 -1
package/README.md
CHANGED
|
@@ -2511,36 +2511,19 @@ Read the client's marketing/analytics tags (Meta pixel, GA4, Google Ads, GTM, Cl
|
|
|
2511
2511
|
`BAKER_CHAT_ID` must be set.
|
|
2512
2512
|
|
|
2513
2513
|
```bash
|
|
2514
|
-
baker tags list # effective view: production + staged,
|
|
2514
|
+
baker tags list # effective view: production + staged, full readable config + secret status
|
|
2515
2515
|
baker tags draft # review the staged changes awaiting publish
|
|
2516
2516
|
```
|
|
2517
2517
|
|
|
2518
2518
|
Notes:
|
|
2519
2519
|
|
|
2520
|
+
- **`list` prints each tag's full readable config.** Every non-secret field is shown in full under the tag — the Clarity `projectId`, GA4 `measurementId`, the entire custom `code` snippet, etc. — so the agent reuses a stored value to pre-fill a follow-up change instead of asking the user for something already installed. Secrets are never among these fields. (`--json` emits the same data as the raw envelope.)
|
|
2520
2521
|
- **Secrets never travel through this CLI or the chat.** Secret fields (`accessToken`, `apiSecret`, `authorizationToken`, `apiKey`, `conversionToken`, `oauthProviderId`) are entered only in the dashboard's secure tag form and flow straight into the staged draft; tool responses only ever name which secret fields are set/pending.
|
|
2521
2522
|
- Staged creates get a server-generated `tag_temp_*` ref (returned in the tool result and printed by `list`). Use it (or a real tag id) as flow side-effect `tagIds` — the published tag keeps resolving under the temp ref.
|
|
2522
2523
|
- Proposing a delete on a `tag_temp_*` ref drops the staged create instead.
|
|
2523
2524
|
- Single-instance types (`code`, `posthog`, `datafast`) reject a second instance against the chat's effective view.
|
|
2524
2525
|
- Conflicts at publish (tag deleted in the dashboard, config invalid) skip the op with a recorded reason — they never block the publish.
|
|
2525
2526
|
|
|
2526
|
-
### Forms / Flows (`baker flows`)
|
|
2527
|
-
|
|
2528
|
-
Read this workspace's Forms (flows) and the configuration status of each one's **confidential fields** — side-effect connection secrets, OAuth connections, and third-party field definitions (HubSpot, Calendly, HighLevel, SavvyCal). Reads the local `_data.json` files; no secret values are ever decrypted or printed.
|
|
2529
|
-
|
|
2530
|
-
**The CLI is read-only.** Author a Form's structure (nodes, conditions, side effects, field mappings) by editing its `_data.json` with the flow-builder skill. Configure the confidential fields it reports as `[missing]` / `[needs connection]` / `not selected` through the `request_flow_input` tool (`baker_ui` MCP server): the agent authors the surrounding structure, references it by `nodeId`/`sideEffectId`, and the user enters secrets, connects/picks OAuth accounts, and picks third-party forms in the dashboard. Those values are written (encrypted, where a secret) into the Form on the chat's branch and go live when the chat is published.
|
|
2531
|
-
|
|
2532
|
-
```bash
|
|
2533
|
-
baker flows list # every Form + how many confidential fields still need setup
|
|
2534
|
-
baker flows show contact # one Form's confidential fields and their status
|
|
2535
|
-
baker flows show contact --full # include the full flow tree (secret values redacted)
|
|
2536
|
-
```
|
|
2537
|
-
|
|
2538
|
-
Notes:
|
|
2539
|
-
|
|
2540
|
-
- **Secrets never travel through this CLI or the chat.** `show` reports only whether each field is configured (`[set]`/`[missing]`, `[connected]`/`[needs connection]`, selected/not selected) — never a value. Configured secrets appear only as `[configured]` ciphertext markers.
|
|
2541
|
-
- Confidential side-effect types: `httpWebhook`, `zapier`, `crmble` (typed credentials); `pipedrive`, `googleSpreadsheet`, `hubspotForm`, `goHighlevelContact` (OAuth connection + resource); `email`. Widget node types needing a resource pick: `calendly`, `savvycal`, `hubspot`, `hubspotMeeting`, `highlevel`, `highlevelForm`.
|
|
2542
|
-
- `request_flow_input` changes stage on the chat's branch and apply when the chat is published; discarding the chat drops them.
|
|
2543
|
-
|
|
2544
2527
|
### Action Items (`baker actions`)
|
|
2545
2528
|
|
|
2546
2529
|
Manage action items for the current chat. Most write operations stage on the chat's draft and apply atomically when the chat is published. Claim/release run live so other chats can see who's working on what.
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
__toESM
|
|
4
4
|
} from "./chunk-5WRI5ZAA.js";
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
|
|
7
7
|
var require_safe_stable_stringify = __commonJS({
|
|
8
|
-
"
|
|
8
|
+
"../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
9
9
|
"use strict";
|
|
10
10
|
var { hasOwnProperty } = Object.prototype;
|
|
11
11
|
var stringify = configure2();
|
|
@@ -901,7 +901,7 @@ function describeCause(c) {
|
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
//
|
|
904
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
905
905
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
906
906
|
var configure = import__.default.configure;
|
|
907
907
|
var wrapper_default = import__.default;
|
|
@@ -6542,4 +6542,4 @@ export {
|
|
|
6542
6542
|
defaultRegistry,
|
|
6543
6543
|
createEngineFromEnv
|
|
6544
6544
|
};
|
|
6545
|
-
//# sourceMappingURL=chunk-
|
|
6545
|
+
//# sourceMappingURL=chunk-IWPAXJC3.js.map
|