@curviate/cli 0.49.0 → 0.50.0-next.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +12 -5
  3. package/dist/{account-2BH2Q6VG.js → account-KGCGUYKF.js} +668 -116
  4. package/dist/analytics-HRAD4ABO.js +27 -0
  5. package/dist/beta-consent-364JI6IL.js +81 -0
  6. package/dist/billing-3SSVRS2Y.js +124 -0
  7. package/dist/{chunk-V7FJWTZW.js → chunk-25MO7BYN.js} +4 -4
  8. package/dist/{chunk-RXWODUWA.js → chunk-2W4RN5ON.js} +18 -2
  9. package/dist/chunk-5S3MJVI5.js +22 -0
  10. package/dist/chunk-67S4JHZZ.js +339 -0
  11. package/dist/chunk-73DJ3KNE.js +54 -0
  12. package/dist/chunk-CQGDMARG.js +525 -0
  13. package/dist/{chunk-JYKYD57J.js → chunk-DOHBOYXN.js} +1 -1
  14. package/dist/{chunk-3RCW7URJ.js → chunk-DSGKYZDK.js} +1 -1
  15. package/dist/{chunk-YLSJ4HKU.js → chunk-ENBIMEKS.js} +26 -1
  16. package/dist/{chunk-LCGXJGPB.js → chunk-GHMRPX5H.js} +7 -1
  17. package/dist/chunk-GOICALYQ.js +28 -0
  18. package/dist/chunk-L4CIJT6F.js +144 -0
  19. package/dist/{chunk-PQWDDSV7.js → chunk-L7JH3W56.js} +1 -1
  20. package/dist/{chunk-Z7OQSWBD.js → chunk-OE6YFYUM.js} +85 -10
  21. package/dist/chunk-PPGKQJKU.js +38 -0
  22. package/dist/{chunk-SA2QHAXG.js → chunk-QM57YDJE.js} +13 -201
  23. package/dist/{chunk-Y7MZZRYR.js → chunk-RYWWSZUH.js} +14 -2
  24. package/dist/{chunk-MGB6FE4A.js → chunk-T6GBS5SS.js} +6 -6
  25. package/dist/{chunk-TEAWYLPO.js → chunk-TE3WBPW6.js} +43 -17
  26. package/dist/chunk-UL53T4O6.js +52 -0
  27. package/dist/chunk-UWQPX4AE.js +20 -0
  28. package/dist/{chunk-5ZGTU4VD.js → chunk-YXVF5UST.js} +77 -4
  29. package/dist/cli.js +34 -18
  30. package/dist/{comment-MRDPDA33.js → comment-5JKGNYOY.js} +90 -11
  31. package/dist/{company-2AEHSGHA.js → company-TXST2VXW.js} +65 -15
  32. package/dist/{config-NRBKHXES.js → config-TVIQUVNK.js} +53 -4
  33. package/dist/{connect-4XEBV5V3.js → connect-RBL6U4KV.js} +63 -18
  34. package/dist/contact-YAHC5QFX.js +32 -0
  35. package/dist/contact-groups-DKOIBC57.js +399 -0
  36. package/dist/contact-import-ITSJQV7K.js +336 -0
  37. package/dist/core-PWMJPPRG.js +46 -0
  38. package/dist/do-not-contact-WDYIBWYA.js +200 -0
  39. package/dist/{doctor-BZ4DA7DV.js → doctor-F7JLPTED.js} +65 -11
  40. package/dist/{document-RKHRWXNT.js → document-BHYAUJ6F.js} +1 -1
  41. package/dist/{draft-C5N6EOO5.js → draft-TDJJUXLH.js} +60 -14
  42. package/dist/{enrollment-BNQOUKI7.js → enrollment-Q6UOKHPY.js} +31 -19
  43. package/dist/{examples-NIMSIXMV.js → examples-DQSVIIXZ.js} +2 -2
  44. package/dist/{exit-codes-TLMKTLRI.js → exit-codes-7DBETBDT.js} +1 -1
  45. package/dist/export-HIJSCJS6.js +96 -0
  46. package/dist/{feed-DFUU7SUJ.js → feed-W56ZTA4Z.js} +13 -10
  47. package/dist/{group-CSD2OWOZ.js → group-AUALYK5H.js} +18 -10
  48. package/dist/{inbox-SNSPWI7J.js → inbox-HLZR2ZPV.js} +31 -12
  49. package/dist/{inboxes-RIRHPS4H.js → inboxes-IZTRD6FE.js} +14 -10
  50. package/dist/incoming-ULB2RNV4.js +218 -0
  51. package/dist/{job-6PNXXZNF.js → job-55IKS6LP.js} +65 -13
  52. package/dist/{login-Y7JBAHCW.js → login-DPZ6CXNO.js} +13 -4
  53. package/dist/{message-2IK4MBBG.js → message-J44YKRDS.js} +9 -7
  54. package/dist/{motion-7ATUXO6R.js → motion-SQI5F2EK.js} +39 -117
  55. package/dist/network-K4QD7APQ.js +235 -0
  56. package/dist/{notification-VYK5NDEB.js → notification-SEDXZHXO.js} +38 -11
  57. package/dist/notifications-HGIBRUNQ.js +231 -0
  58. package/dist/{post-AN6T2OJF.js → post-L467SKIG.js} +92 -12
  59. package/dist/{profile-UQY64642.js → profile-A2N6RMR2.js} +76 -20
  60. package/dist/{recruiter-OY4RN5HH.js → recruiter-AR75RHBO.js} +133 -22
  61. package/dist/{sales-nav-KLODLYMW.js → sales-nav-C2AYFXPV.js} +74 -19
  62. package/dist/{search-NWP5S6CF.js → search-Z4DZIG4X.js} +55 -23
  63. package/dist/{setup-YPPFLH2N.js → setup-45BEVX6B.js} +69 -17
  64. package/dist/team-6QWY4IFP.js +450 -0
  65. package/dist/tier-2HS3BXDF.js +61 -0
  66. package/dist/unibox-DHUKG65Z.js +402 -0
  67. package/dist/{webhook-OHKBL3YS.js → webhook-Q53WUAI2.js} +257 -27
  68. package/package.json +2 -2
  69. package/dist/chunk-D2S5OCYU.js +0 -38
  70. package/dist/core-RGU2SCBN.js +0 -46
package/CHANGELOG.md CHANGED
@@ -6,6 +6,21 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
  Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html):
7
7
  a new command or flag is a minor; a breaking command/flag/exit-code change is a major (before 1.0.0, a minor); a fix is a patch.
8
8
 
9
+ ## Unreleased
10
+
11
+ Requires the next `@curviate/sdk` (a commit pin on the SDK PR build until it is published; `check:sdk-pin` refuses a publish until the pin is a version). The vendored OpenAPI fixture is re-copied from the SDK's, regenerated from the deployed staging document.
12
+
13
+ ### Added
14
+
15
+ - `curviate account update --save-connections-as-contacts` (and `--no-save-connections-as-contacts`): whether the Account's Connections are saved as Contacts (Automate). `account get` shows `save_connections_as_contacts` and `save_connections_paused_reason` (`contact_limit_reached`).
16
+ - `curviate contact list|export|update|delete --connected-account` takes several Accounts (repeat the flag, or a comma list, up to 50): Connections of any of them.
17
+ - `contact get|list --json` carries the read-only `company_linkedin_url`; `account get --json` carries `save_connections_as_contacts` and `save_connections_paused_reason` when the API sends them (Automate); `analytics events` and `account overview` items carry `person_name` for a direct action.
18
+
19
+ ### Changed
20
+
21
+ - Owners and Managers: `team update` (rename; `--billing-owner` stays Owners only), `team invites create|list|resend|revoke` (a Manager invites Members only), `team logo set|remove` and `team remove` (a Manager removes Members) say so in their help and errors; the `team` group reads "Owners and Managers manage".
22
+ - `team members` `name` falls back to the member's email.
23
+
9
24
  ## [0.49.0] - 2026-10-22
10
25
 
11
26
  A minor: Motions and Enrollments arrive as top-level groups. Requires
package/README.md CHANGED
@@ -83,6 +83,13 @@ curviate --api-key <your-api-key> account list
83
83
  > history. Prefer `curviate login` or the `CURVIATE_API_KEY` environment
84
84
  > variable; reserve `--api-key` for one-off, low-trust contexts.
85
85
 
86
+ **Teams.** A key works in one Team, or in all of your Teams. With a key for
87
+ all your Teams, every call names the Team it acts in: `--team <team_id>`, then
88
+ `CURVIATE_TEAM`, then the profile's `team` (which `curviate setup` stores when
89
+ you pick "All my Teams"). The CLI sends it as `X-Curviate-Team`. A Team key acts
90
+ only in its own Team, so leave the Team unset with one. `curviate doctor`
91
+ reports the key's scope and checks the Team against your Teams.
92
+
86
93
  Get your API key from the [Curviate dashboard](https://app.curviate.com).
87
94
 
88
95
  ## Usage
@@ -353,7 +360,7 @@ paid seat entitles every command here. What these commands do need is the Linked
353
360
  own Sales Navigator subscription. A refusal is **exit code `5`** with one of three codes in
354
361
  the JSON body: `NO_ACTIVE_SEAT` (no Curviate seat covers the account, fix it in billing),
355
362
  `LINKEDIN_FEATURE_NOT_SUBSCRIBED` (the LinkedIn account lacks the subscription, fix it on
356
- LinkedIn) or `BETA_NOT_ENABLED` (a human enables beta in Settings, or pass `--beta` for this
363
+ LinkedIn) or `BETA_NOT_ENABLED` (an Owner enables beta with `curviate beta update --enabled true`, or pass `--beta` for this
357
364
  call). Branch on the exit code the same way as example 4 above, and read the code for the
358
365
  remedy. Write commands (`curviate core sales-nav save-lead`, `curviate core sales-nav save-account`, `curviate core sales-nav message new`) accept `--preview` to
359
366
  render the request without sending it.
@@ -453,7 +460,7 @@ entitles every command here. What these commands do need is the LinkedIn account
453
460
  subscription. A refusal is **exit code `5`** with one of three codes in the JSON body:
454
461
  `NO_ACTIVE_SEAT` (no Curviate seat covers the account, fix it in billing),
455
462
  `LINKEDIN_FEATURE_NOT_SUBSCRIBED` (the LinkedIn account lacks the subscription, fix it on
456
- LinkedIn) or `BETA_NOT_ENABLED` (a human enables beta in Settings, or pass `--beta` for this
463
+ LinkedIn) or `BETA_NOT_ENABLED` (an Owner enables beta with `curviate beta update --enabled true`, or pass `--beta` for this
457
464
  call). The surface is project-centric: most
458
465
  operations are scoped to a hiring project id. Write commands (`curviate core recruiter save-candidate`, `curviate core recruiter project update`,
459
466
  `curviate core recruiter project-job create`, `curviate core recruiter project-job update`, `curviate core recruiter job create`,
@@ -701,9 +708,9 @@ rather than parsing the message:
701
708
  LinkedIn regrants on its own schedule. Null-check it before scheduling on it.
702
709
  - `safetyHint.parameter` is addressable on the safety policy, so an agent can
703
710
  choose between waiting, escalating and reconfiguring without reading prose.
704
- - On the default posture nothing is refused at all: the action goes through and
705
- the same payload rides the SUCCESS body under `safety_warning` with
706
- `blocked: false`.
711
+ - A limit is always enforced: at the ceiling, or outside the activity window,
712
+ the action is refused with this error. Nothing is sent and nothing rides a
713
+ success body.
707
714
 
708
715
  A `429` that carries `budgetRow` under `PLATFORM_RATE_LIMIT` is a third thing:
709
716
  that row is PAUSED because LinkedIn refused a recent call on it. The pause is