@koda-sl/baker-cli 0.92.1 → 0.94.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 CHANGED
@@ -882,9 +882,13 @@ baker ads linkedin analytics
882
882
  baker ads linkedin analytics --level campaign --campaign-id 1234 \
883
883
  --pivot job-title --intent baseline --last-days 30
884
884
 
885
- # "Top companies seeing this campaign" (ABM feedback loop)
885
+ # "Top companies seeing this campaign" (ABM feedback loop) — org names auto-resolved
886
886
  baker ads linkedin top-companies --campaign-id 1234 --last-days 30
887
887
 
888
+ # "Who are these org URNs?" — resolve org URNs to company names (probe leakage)
889
+ baker ads linkedin resolve --urns urn:li:organization:17719,urn:li:organization:19022
890
+ baker ads linkedin resolve --ids 17719,19022 --output csv
891
+
888
892
  # "Who is in our audience by industry/seniority/function/title — all at once?"
889
893
  baker ads linkedin demographics --campaign-id 1234 --last-days 30
890
894
 
@@ -2311,8 +2315,11 @@ Manage action items for the current chat. Most write operations stage on the cha
2311
2315
  `BAKER_CHAT_ID` must be set for any command that stages or claims against a chat.
2312
2316
 
2313
2317
  ```bash
2314
- baker actions list # default: bucketed (claimable, myClaims, blocked, claimedByOthers, completed, discarded)
2318
+ baker actions list # default: bucketed (claimable, myClaims, blocked, claimedByOthers, completed, discarded, draftCreates)
2315
2319
  baker actions list --bucketed=false --status pending
2320
+ # With BAKER_CHAT_ID, the bucketed list folds in THIS chat's draft: staged creates appear in
2321
+ # `draftCreates`; published actions being completed/discarded/updated carry a `draftStatus` marker.
2322
+ # Only the caller's own chat draft is reflected — never another chat's staged work.
2316
2323
 
2317
2324
  baker actions get <action-id>
2318
2325
  baker actions status temp_hero jx123 # batch resolve real IDs and temp_* refs
@@ -2322,15 +2329,25 @@ baker actions release <action-id>
2322
2329
 
2323
2330
  baker actions create --name "Build hero" --description "..."
2324
2331
  # → returns { ok, data: { tempId }, hints: [...] } — check hints for dependencies/description reminders
2332
+ # If the name/description reads as recurring or future-dated (e.g. "weekly", "every Monday", "schedule"),
2333
+ # create emits a hint to use `baker scheduled-actions create` instead of a Work Action.
2325
2334
  baker actions update <action-id> --name "Better name"
2326
2335
  baker actions complete <action-id-or-tempId> --note "What was done" # stages — applies on chat publish
2327
2336
  baker actions discard <action-id> --reason "obsolete"
2328
2337
 
2329
2338
  baker actions link --blocker <id-or-tempId> --blocked <id-or-tempId>
2330
2339
  baker actions unlink --blocker <id> --blocked <id>
2340
+
2341
+ # Review and edit the ops staged in THIS chat before publish
2342
+ baker actions draft # show every staged op + footgun warnings
2343
+ baker actions draft remove temp_hero # drop a staged create (cascades its complete/link ops)
2344
+ baker actions draft remove <id> --op complete # drop a staged op on a real action (--op update|complete|discard|tagAdd|tagRemove)
2345
+ baker actions draft clear # drop everything staged in this chat
2331
2346
  ```
2332
2347
 
2333
- `baker actions status <ref...>` reads live Work Action status without requiring `BAKER_CHAT_ID`. It sends all refs in one request to `/api/actions/status` and preserves the backend JSON envelope:
2348
+ `baker actions draft` is the detailed, op-by-op view of staged (pre-publish) ops plus footgun `warnings`, and the place to edit the draft (`draft remove`/`clear`). The bucketed `list` and a chat-scoped `status` also surface this chat's draft (staged creates, `draftStatus` markers, `draft` ref status), so `draft` is mainly for the full changelog and edits. Do not stage `complete` to cancel an unwanted action — that publishes it as an already-completed item; remove the staged create (or `discard` a published action) instead.
2349
+
2350
+ `baker actions status <ref...>` resolves refs in one request to `/api/actions/status`. It works without `BAKER_CHAT_ID`, but when the CLI has a chat id it includes it so a temp still staged in **that** chat resolves to `status: "draft"` instead of `not_found` (only the caller's own chat draft is consulted). It preserves the backend JSON envelope:
2334
2351
 
2335
2352
  ```json
2336
2353
  {
@@ -2342,10 +2359,16 @@ baker actions unlink --blocker <id> --blocked <id>
2342
2359
  "status": "completed",
2343
2360
  "name": "Build hero section"
2344
2361
  },
2362
+ {
2363
+ "ref": "temp_staged",
2364
+ "status": "draft",
2365
+ "name": "Brand new task",
2366
+ "hint": "Created in this chat's draft, not yet published. It applies when this chat publishes."
2367
+ },
2345
2368
  {
2346
2369
  "ref": "temp_old",
2347
2370
  "status": "not_found",
2348
- "hint": "Temp ref was not published, was discarded before publish, or belongs to another company."
2371
+ "hint": "Temp ref was not published, was discarded before publish, does not exist, or belongs to another company."
2349
2372
  }
2350
2373
  ]
2351
2374
  }