@curviate/cli 0.50.0-next.3 → 0.50.0-next.5

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 (57) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +14 -0
  3. package/dist/{account-LRQXYUPU.js → account-WF27VTZF.js} +10 -10
  4. package/dist/{analytics-IQ2ZE3TZ.js → analytics-Z7AE5JEI.js} +4 -4
  5. package/dist/{beta-consent-NWO2YQJC.js → beta-consent-VETVR6KP.js} +3 -3
  6. package/dist/{billing-JIC22PSI.js → billing-TYXPR6ZC.js} +4 -4
  7. package/dist/{chunk-VNK3HERF.js → chunk-5YQXZIFH.js} +1 -1
  8. package/dist/{chunk-A57ZILRU.js → chunk-6SBO4WXA.js} +1 -1
  9. package/dist/{chunk-QL55Z56R.js → chunk-EHTSCHKM.js} +1 -1
  10. package/dist/{chunk-WR6FIP24.js → chunk-GGJTO3PN.js} +1 -1
  11. package/dist/{chunk-AQCLTQXN.js → chunk-HOS3JH4L.js} +1 -1
  12. package/dist/{chunk-J2RPEWQB.js → chunk-I3HD5UFH.js} +1 -1
  13. package/dist/{chunk-TYNVJDYK.js → chunk-PHKICMO7.js} +14 -0
  14. package/dist/{chunk-VJTEJUO4.js → chunk-QLBNUWM2.js} +82 -32
  15. package/dist/{chunk-V2ENBR5Q.js → chunk-RLZP2PL4.js} +10 -10
  16. package/dist/{chunk-MYVSB7NJ.js → chunk-UFHZGBFD.js} +1 -1
  17. package/dist/{chunk-SOU3K3IZ.js → chunk-X62K5XDP.js} +5 -5
  18. package/dist/{chunk-GHMRPX5H.js → chunk-XDG3TOKG.js} +2 -0
  19. package/dist/cli.js +23 -23
  20. package/dist/{comment-FNQE64XL.js → comment-YAQSZNYS.js} +4 -4
  21. package/dist/{company-C4DRLLIU.js → company-4K75VGBM.js} +5 -5
  22. package/dist/{config-2OR7Y23Q.js → config-OESEJHKZ.js} +1 -1
  23. package/dist/{connect-5P53KY6N.js → connect-LZJQOYX2.js} +5 -5
  24. package/dist/{contact-WKF4REZ6.js → contact-XE7HK4RI.js} +6 -6
  25. package/dist/{contact-groups-4IM5RVLE.js → contact-groups-IHF7GMNG.js} +8 -8
  26. package/dist/{contact-import-MDPIZ67M.js → contact-import-SSPUBHAH.js} +8 -8
  27. package/dist/{core-74JCW5WM.js → core-524AMFTQ.js} +17 -17
  28. package/dist/{do-not-contact-73TURNLU.js → do-not-contact-LOUCA7JT.js} +4 -4
  29. package/dist/{doctor-WFEO7MCW.js → doctor-Q3434Q7N.js} +2 -2
  30. package/dist/{document-GFRWPQFV.js → document-RXBOZG6M.js} +1 -1
  31. package/dist/{draft-AFNYKVUZ.js → draft-SOO3UJIO.js} +2 -2
  32. package/dist/{enrollment-QA2UMNVS.js → enrollment-YQMSDXVJ.js} +5 -5
  33. package/dist/{examples-JJB4DZKK.js → examples-74FXGJ7X.js} +1 -1
  34. package/dist/{export-CFBKC74G.js → export-F6ZFNZ7L.js} +3 -3
  35. package/dist/{feed-UIVSY4JT.js → feed-YE4HOQ2M.js} +3 -3
  36. package/dist/{group-LFYIBVPL.js → group-OCKSOR65.js} +3 -3
  37. package/dist/{inbox-EY7NGUKV.js → inbox-VGCODDRH.js} +3 -3
  38. package/dist/{inboxes-G74QYE54.js → inboxes-XHP6F3MQ.js} +3 -3
  39. package/dist/{incoming-ZOUMXKAF.js → incoming-AA3MTRAG.js} +4 -4
  40. package/dist/{job-VPTJWSCJ.js → job-KFZNTBXT.js} +4 -4
  41. package/dist/{login-UNEMKIJN.js → login-BD7JQXGX.js} +1 -1
  42. package/dist/{message-2V66HGCG.js → message-IXUDKHBW.js} +4 -4
  43. package/dist/{motion-DTPCDJAM.js → motion-QSANYJKR.js} +9 -9
  44. package/dist/{network-GRZNGB2M.js → network-A5M6SLRI.js} +4 -4
  45. package/dist/{notification-C4ZBZOCV.js → notification-XRCV5XNX.js} +3 -3
  46. package/dist/{notifications-ASDF3HPE.js → notifications-SU7NKFGF.js} +4 -4
  47. package/dist/{post-EOJ7JA2F.js → post-YWXQ2MVL.js} +4 -4
  48. package/dist/{profile-K3TVVRBO.js → profile-JVNJAAZ7.js} +5 -5
  49. package/dist/{recruiter-45UOJBFV.js → recruiter-34G433BX.js} +6 -6
  50. package/dist/{sales-nav-C2F62WMI.js → sales-nav-34WK5HF6.js} +5 -5
  51. package/dist/{search-EVJFYKRW.js → search-43YUBUEH.js} +6 -6
  52. package/dist/{setup-GI36YFHD.js → setup-RFSXQVN6.js} +2 -2
  53. package/dist/{team-H3SRAP4J.js → team-WSRM74PS.js} +4 -4
  54. package/dist/{tier-HHTD226N.js → tier-JQYS4MMF.js} +3 -3
  55. package/dist/{unibox-MED2B6XX.js → unibox-LFTLITLA.js} +12 -5
  56. package/dist/{webhook-RE7YXPWW.js → webhook-HX2NOPNE.js} +4 -4
  57. package/package.json +2 -2
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-UEAX6KUB.js";
13
13
  import {
14
14
  requireAccount
15
- } from "./chunk-AQCLTQXN.js";
15
+ } from "./chunk-HOS3JH4L.js";
16
16
  import {
17
17
  buildPreviewOutput
18
18
  } from "./chunk-TCUYH5GO.js";
@@ -24,7 +24,7 @@ import {
24
24
  readablePage,
25
25
  rejectPaginationModifiersWithoutAll,
26
26
  streamAll
27
- } from "./chunk-MYVSB7NJ.js";
27
+ } from "./chunk-UFHZGBFD.js";
28
28
  import {
29
29
  renderError,
30
30
  renderSuccess,
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  createClient,
36
36
  resolveEffectiveConfig
37
- } from "./chunk-J2RPEWQB.js";
37
+ } from "./chunk-I3HD5UFH.js";
38
38
  import {
39
39
  GLOBAL_FLAGS,
40
40
  READ_SINGLE_FLAGS,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-AQCLTQXN.js";
4
+ } from "./chunk-HOS3JH4L.js";
5
5
  import {
6
6
  pageDelayFromFlags,
7
7
  readCursorFlag,
@@ -10,7 +10,7 @@ import {
10
10
  readablePage,
11
11
  rejectPaginationModifiersWithoutAll,
12
12
  streamAll
13
- } from "./chunk-MYVSB7NJ.js";
13
+ } from "./chunk-UFHZGBFD.js";
14
14
  import {
15
15
  renderError,
16
16
  renderSuccess,
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  createClient,
22
22
  resolveEffectiveConfig
23
- } from "./chunk-J2RPEWQB.js";
23
+ } from "./chunk-I3HD5UFH.js";
24
24
  import {
25
25
  GLOBAL_FLAGS,
26
26
  READ_SINGLE_FLAGS,
@@ -4,7 +4,7 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-WR6FIP24.js";
7
+ } from "./chunk-GGJTO3PN.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
@@ -18,12 +18,12 @@ import {
18
18
  readablePage,
19
19
  rejectPaginationModifiersWithoutAll,
20
20
  streamAll
21
- } from "./chunk-MYVSB7NJ.js";
21
+ } from "./chunk-UFHZGBFD.js";
22
22
  import {
23
23
  renderSuccess,
24
24
  writeNdjsonItem
25
25
  } from "./chunk-QM57YDJE.js";
26
- import "./chunk-J2RPEWQB.js";
26
+ import "./chunk-I3HD5UFH.js";
27
27
  import {
28
28
  GLOBAL_FLAGS,
29
29
  READ_SINGLE_FLAGS,
@@ -209,7 +209,7 @@ var incomingCommand = defineCommand({
209
209
  meta: { name: "incoming", description: DESCRIPTIONS.incoming },
210
210
  subCommands: { create: createCmd, list: listCmd, get: getCmd, update: updateCmd, delete: deleteCmd, rotate: rotateCmd, capture: captureCmd, arrivals: arrivalsCmd },
211
211
  async run() {
212
- const { showHelp } = await import("./examples-JJB4DZKK.js");
212
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
213
213
  await showHelp(incomingCommand, ["curviate", "incoming"]);
214
214
  }
215
215
  });
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-UEAX6KUB.js";
13
13
  import {
14
14
  slimJob
15
- } from "./chunk-GHMRPX5H.js";
15
+ } from "./chunk-XDG3TOKG.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-AQCLTQXN.js";
18
+ } from "./chunk-HOS3JH4L.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -29,7 +29,7 @@ import {
29
29
  readablePage,
30
30
  rejectPaginationModifiersWithoutAll,
31
31
  streamAll
32
- } from "./chunk-MYVSB7NJ.js";
32
+ } from "./chunk-UFHZGBFD.js";
33
33
  import {
34
34
  renderError,
35
35
  renderSuccess,
@@ -40,7 +40,7 @@ import {
40
40
  createClient,
41
41
  downloadBinary,
42
42
  resolveEffectiveConfig
43
- } from "./chunk-J2RPEWQB.js";
43
+ } from "./chunk-I3HD5UFH.js";
44
44
  import {
45
45
  GLOBAL_FLAGS,
46
46
  READ_SINGLE_FLAGS,
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  baseUrlProblem,
7
7
  writeProfile
8
- } from "./chunk-J2RPEWQB.js";
8
+ } from "./chunk-I3HD5UFH.js";
9
9
  import {
10
10
  GLOBAL_FLAGS
11
11
  } from "./chunk-RYWWSZUH.js";
@@ -13,16 +13,16 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-VJTEJUO4.js";
16
+ } from "./chunk-QLBNUWM2.js";
17
17
  import "./chunk-5I6JJJIV.js";
18
18
  import "./chunk-UWO2D4HW.js";
19
19
  import "./chunk-Q3ZPRFUX.js";
20
20
  import "./chunk-UEAX6KUB.js";
21
- import "./chunk-AQCLTQXN.js";
21
+ import "./chunk-HOS3JH4L.js";
22
22
  import "./chunk-TCUYH5GO.js";
23
- import "./chunk-MYVSB7NJ.js";
23
+ import "./chunk-UFHZGBFD.js";
24
24
  import "./chunk-QM57YDJE.js";
25
- import "./chunk-J2RPEWQB.js";
25
+ import "./chunk-I3HD5UFH.js";
26
26
  import "./chunk-RYWWSZUH.js";
27
27
  import "./chunk-73DJ3KNE.js";
28
28
  import "./chunk-FDJMAF7D.js";
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sendInChunks
4
- } from "./chunk-VNK3HERF.js";
4
+ } from "./chunk-5YQXZIFH.js";
5
5
  import {
6
6
  fail,
7
7
  listFlag,
8
8
  outputOpts,
9
9
  rootClient,
10
10
  usage
11
- } from "./chunk-WR6FIP24.js";
11
+ } from "./chunk-GGJTO3PN.js";
12
12
  import {
13
13
  buildPreviewOutput
14
14
  } from "./chunk-TCUYH5GO.js";
@@ -23,12 +23,12 @@ import {
23
23
  readablePage,
24
24
  rejectPaginationModifiersWithoutAll,
25
25
  streamAll
26
- } from "./chunk-MYVSB7NJ.js";
26
+ } from "./chunk-UFHZGBFD.js";
27
27
  import {
28
28
  renderSuccess,
29
29
  writeNdjsonItem
30
30
  } from "./chunk-QM57YDJE.js";
31
- import "./chunk-J2RPEWQB.js";
31
+ import "./chunk-I3HD5UFH.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  READ_SINGLE_FLAGS,
@@ -44,7 +44,7 @@ import {
44
44
  readFileFlag,
45
45
  reportIssues,
46
46
  validate
47
- } from "./chunk-TYNVJDYK.js";
47
+ } from "./chunk-PHKICMO7.js";
48
48
  import "./chunk-FDJMAF7D.js";
49
49
  import {
50
50
  isStdinToken
@@ -631,7 +631,7 @@ var MOTION_DOC = `{
631
631
  var createCmd = defineCommand({
632
632
  meta: {
633
633
  name: "create",
634
- description: "Create a Motion from a Motion file, always as a draft: nothing runs until `curviate motion start`. The file is checked before anything is sent, its Sequence as `curviate motion lint` checks it. Needs Automate.",
634
+ description: "Create a Motion from a Motion file, always as a draft: nothing runs until `curviate motion start`. The file is checked before anything is sent, its Sequence as `curviate motion lint` checks it. settings.priority (normal or prioritized) sets the Motion's share of each Account's daily allowance. Needs Automate.",
635
635
  risk: "write",
636
636
  rules: {
637
637
  changes: "Creates a draft Motion. No Contact is enrolled and nothing reaches LinkedIn until it is started.",
@@ -659,7 +659,7 @@ EOF`
659
659
  var updateCmd = defineCommand({
660
660
  meta: {
661
661
  name: "update",
662
- description: "Change a Motion from a Motion file: objects (schedule, settings) merge by key, arrays and the Sequence replace whole, null clears. After start, a structural Sequence change makes a new version; running Enrollments keep theirs. With --if-revision the save is refused when someone saved the Sequence since. Needs Automate.",
662
+ description: "Change a Motion from a Motion file: objects (schedule, settings) merge by key, arrays and the Sequence replace whole, null clears. settings.priority (normal or prioritized) gives the Motion twice a normal Motion's share of each Account's daily allowance; settings.new_enrollments_per_account_per_day and settings.assign even are retired (accepted and ignored until 2027-01-28, with a notice). After start, a structural Sequence change makes a new version; running Enrollments keep theirs. With --if-revision the save is refused when someone saved the Sequence since. Needs Automate.",
663
663
  risk: "write",
664
664
  rules: {
665
665
  changes: "Changes the Motion. A running Motion picks the change up at each Enrollment's next Step.",
@@ -768,7 +768,7 @@ var deleteCmd = lifecycleCmd("delete", {
768
768
  var previewCmd = defineCommand({
769
769
  meta: {
770
770
  name: "preview",
771
- description: "What the Motion would do, in any status: every path through its Sequence, rendered messages for sampled or named Contacts, and the budget projection. A read: never reaches LinkedIn, spends nothing.",
771
+ description: "What the Motion would do, in any status: every path through its Sequence, rendered messages for sampled or named Contacts, and the budget projection: per Account the pool that binds its pace, the expected actions a day, and warnings (hours_below_share, no_sending_account). A read: never reaches LinkedIn, spends nothing.",
772
772
  risk: "read",
773
773
  examples: ["curviate motion preview mot_YOUR_MOTION_ID", "curviate motion preview mot_YOUR_MOTION_ID --sample 3"]
774
774
  },
@@ -866,7 +866,7 @@ var motionCommand = defineCommand({
866
866
  init: initCmd
867
867
  },
868
868
  async run() {
869
- const { showHelp } = await import("./examples-JJB4DZKK.js");
869
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
870
870
  await showHelp(motionCommand, ["curviate", "motion"]);
871
871
  }
872
872
  });
@@ -13,7 +13,7 @@ import {
13
13
  outputOpts,
14
14
  rootClient,
15
15
  usage
16
- } from "./chunk-WR6FIP24.js";
16
+ } from "./chunk-GGJTO3PN.js";
17
17
  import {
18
18
  buildPreviewOutput
19
19
  } from "./chunk-TCUYH5GO.js";
@@ -27,12 +27,12 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-MYVSB7NJ.js";
30
+ } from "./chunk-UFHZGBFD.js";
31
31
  import {
32
32
  renderSuccess,
33
33
  writeNdjsonItem
34
34
  } from "./chunk-QM57YDJE.js";
35
- import "./chunk-J2RPEWQB.js";
35
+ import "./chunk-I3HD5UFH.js";
36
36
  import {
37
37
  GLOBAL_FLAGS,
38
38
  WRITE_SINGLE_FLAGS,
@@ -225,7 +225,7 @@ var networkCommand = defineCommand({
225
225
  meta: { name: "network", description: DESCRIPTIONS.network },
226
226
  subCommands: { list: listCmd, status: statusCmd, export: exportCmd, resync: resyncCmd },
227
227
  async run() {
228
- const { showHelp } = await import("./examples-JJB4DZKK.js");
228
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
229
229
  await showHelp(networkCommand, ["curviate", "network"]);
230
230
  }
231
231
  });
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-Q3ZPRFUX.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-AQCLTQXN.js";
8
+ } from "./chunk-HOS3JH4L.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -16,7 +16,7 @@ import {
16
16
  readablePage,
17
17
  rejectPaginationModifiersWithoutAll,
18
18
  streamAll
19
- } from "./chunk-MYVSB7NJ.js";
19
+ } from "./chunk-UFHZGBFD.js";
20
20
  import {
21
21
  renderError,
22
22
  renderSuccess,
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  createClient,
28
28
  resolveEffectiveConfig
29
- } from "./chunk-J2RPEWQB.js";
29
+ } from "./chunk-I3HD5UFH.js";
30
30
  import {
31
31
  GLOBAL_FLAGS,
32
32
  WRITE_SINGLE_FLAGS,
@@ -4,7 +4,7 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-WR6FIP24.js";
7
+ } from "./chunk-GGJTO3PN.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
@@ -19,12 +19,12 @@ import {
19
19
  readablePage,
20
20
  rejectPaginationModifiersWithoutAll,
21
21
  streamAll
22
- } from "./chunk-MYVSB7NJ.js";
22
+ } from "./chunk-UFHZGBFD.js";
23
23
  import {
24
24
  renderSuccess,
25
25
  writeNdjsonItem
26
26
  } from "./chunk-QM57YDJE.js";
27
- import "./chunk-J2RPEWQB.js";
27
+ import "./chunk-I3HD5UFH.js";
28
28
  import {
29
29
  GLOBAL_FLAGS,
30
30
  READ_SINGLE_FLAGS,
@@ -222,7 +222,7 @@ var notificationsCommand = defineCommand({
222
222
  meta: { name: "notification", description: DESCRIPTIONS.notification },
223
223
  subCommands: { list: listCmd, count: countCmd, read: readCmd, "read-all": readAllCmd, archive: archiveCmd, unarchive: unarchiveCmd },
224
224
  async run() {
225
- const { showHelp } = await import("./examples-JJB4DZKK.js");
225
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
226
226
  await showHelp(notificationsCommand, ["curviate", "notification"]);
227
227
  }
228
228
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-QL55Z56R.js";
4
+ } from "./chunk-EHTSCHKM.js";
5
5
  import {
6
6
  AttachError,
7
7
  readAttachment,
@@ -15,7 +15,7 @@ import {
15
15
  import "./chunk-UEAX6KUB.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-AQCLTQXN.js";
18
+ } from "./chunk-HOS3JH4L.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -27,7 +27,7 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-MYVSB7NJ.js";
30
+ } from "./chunk-UFHZGBFD.js";
31
31
  import {
32
32
  renderError,
33
33
  renderSuccess,
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  createClient,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-J2RPEWQB.js";
40
+ } from "./chunk-I3HD5UFH.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  resolveMemberOrMeProviderId,
9
9
  resolveMemberProviderId
10
- } from "./chunk-QL55Z56R.js";
10
+ } from "./chunk-EHTSCHKM.js";
11
11
  import {
12
12
  AttachError,
13
13
  readAttachment,
@@ -26,10 +26,10 @@ import {
26
26
  slimProfile,
27
27
  slimProfileMe,
28
28
  withRequestedSections
29
- } from "./chunk-GHMRPX5H.js";
29
+ } from "./chunk-XDG3TOKG.js";
30
30
  import {
31
31
  requireAccount
32
- } from "./chunk-AQCLTQXN.js";
32
+ } from "./chunk-HOS3JH4L.js";
33
33
  import {
34
34
  buildPreviewOutput
35
35
  } from "./chunk-TCUYH5GO.js";
@@ -42,7 +42,7 @@ import {
42
42
  readablePage,
43
43
  rejectPaginationModifiersWithoutAll,
44
44
  streamAll
45
- } from "./chunk-MYVSB7NJ.js";
45
+ } from "./chunk-UFHZGBFD.js";
46
46
  import {
47
47
  renderError,
48
48
  renderSuccess,
@@ -52,7 +52,7 @@ import {
52
52
  import {
53
53
  createClient,
54
54
  resolveEffectiveConfig
55
- } from "./chunk-J2RPEWQB.js";
55
+ } from "./chunk-I3HD5UFH.js";
56
56
  import {
57
57
  GLOBAL_FLAGS,
58
58
  READ_SINGLE_FLAGS,
@@ -21,13 +21,13 @@ import {
21
21
  DEFAULT_FILTER_READERS,
22
22
  assembleFilters,
23
23
  splitCsv
24
- } from "./chunk-A57ZILRU.js";
24
+ } from "./chunk-6SBO4WXA.js";
25
25
  import {
26
26
  slimJob
27
- } from "./chunk-GHMRPX5H.js";
27
+ } from "./chunk-XDG3TOKG.js";
28
28
  import {
29
29
  requireAccount
30
- } from "./chunk-AQCLTQXN.js";
30
+ } from "./chunk-HOS3JH4L.js";
31
31
  import {
32
32
  buildPreviewOutput
33
33
  } from "./chunk-TCUYH5GO.js";
@@ -39,7 +39,7 @@ import {
39
39
  readablePage,
40
40
  rejectPaginationModifiersWithoutAll,
41
41
  streamAll
42
- } from "./chunk-MYVSB7NJ.js";
42
+ } from "./chunk-UFHZGBFD.js";
43
43
  import {
44
44
  isJsonMode,
45
45
  renderError,
@@ -51,7 +51,7 @@ import {
51
51
  createClient,
52
52
  downloadBinary,
53
53
  resolveEffectiveConfig
54
- } from "./chunk-J2RPEWQB.js";
54
+ } from "./chunk-I3HD5UFH.js";
55
55
  import {
56
56
  GLOBAL_FLAGS,
57
57
  NON_STREAM_FLAGS,
@@ -69,7 +69,7 @@ import {
69
69
  readFileFlag,
70
70
  reportIssues,
71
71
  validate
72
- } from "./chunk-TYNVJDYK.js";
72
+ } from "./chunk-PHKICMO7.js";
73
73
  import "./chunk-FDJMAF7D.js";
74
74
  import "./chunk-ZYURL5VK.js";
75
75
  import "./chunk-2W4RN5ON.js";
@@ -16,10 +16,10 @@ import {
16
16
  DEFAULT_FILTER_READERS,
17
17
  assembleFilters,
18
18
  splitCsv
19
- } from "./chunk-A57ZILRU.js";
19
+ } from "./chunk-6SBO4WXA.js";
20
20
  import {
21
21
  requireAccount
22
- } from "./chunk-AQCLTQXN.js";
22
+ } from "./chunk-HOS3JH4L.js";
23
23
  import {
24
24
  buildPreviewOutput
25
25
  } from "./chunk-TCUYH5GO.js";
@@ -31,7 +31,7 @@ import {
31
31
  readablePage,
32
32
  rejectPaginationModifiersWithoutAll,
33
33
  streamAll
34
- } from "./chunk-MYVSB7NJ.js";
34
+ } from "./chunk-UFHZGBFD.js";
35
35
  import {
36
36
  renderError,
37
37
  renderSuccess,
@@ -41,7 +41,7 @@ import {
41
41
  import {
42
42
  createClient,
43
43
  resolveEffectiveConfig
44
- } from "./chunk-J2RPEWQB.js";
44
+ } from "./chunk-I3HD5UFH.js";
45
45
  import {
46
46
  GLOBAL_FLAGS,
47
47
  READ_SINGLE_FLAGS,
@@ -51,7 +51,7 @@ import {
51
51
  import {
52
52
  DESCRIPTIONS
53
53
  } from "./chunk-73DJ3KNE.js";
54
- import "./chunk-TYNVJDYK.js";
54
+ import "./chunk-PHKICMO7.js";
55
55
  import "./chunk-FDJMAF7D.js";
56
56
  import "./chunk-ZYURL5VK.js";
57
57
  import "./chunk-2W4RN5ON.js";
@@ -3,7 +3,7 @@ import {
3
3
  DEFAULT_FILTER_READERS,
4
4
  assembleFilters,
5
5
  splitCsv
6
- } from "./chunk-A57ZILRU.js";
6
+ } from "./chunk-6SBO4WXA.js";
7
7
  import {
8
8
  slimSearchCompanies,
9
9
  slimSearchCompaniesItem,
@@ -13,10 +13,10 @@ import {
13
13
  slimSearchPeopleItem,
14
14
  slimSearchPosts,
15
15
  slimSearchPostsItem
16
- } from "./chunk-GHMRPX5H.js";
16
+ } from "./chunk-XDG3TOKG.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-AQCLTQXN.js";
19
+ } from "./chunk-HOS3JH4L.js";
20
20
  import {
21
21
  intFlag,
22
22
  intListFlag
@@ -28,7 +28,7 @@ import {
28
28
  readablePage,
29
29
  rejectPaginationModifiersWithoutAll,
30
30
  streamAll
31
- } from "./chunk-MYVSB7NJ.js";
31
+ } from "./chunk-UFHZGBFD.js";
32
32
  import {
33
33
  renderError,
34
34
  renderSuccess,
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  createClient,
40
40
  resolveEffectiveConfig
41
- } from "./chunk-J2RPEWQB.js";
41
+ } from "./chunk-I3HD5UFH.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  readOnly
@@ -46,7 +46,7 @@ import {
46
46
  import {
47
47
  DESCRIPTIONS
48
48
  } from "./chunk-73DJ3KNE.js";
49
- import "./chunk-TYNVJDYK.js";
49
+ import "./chunk-PHKICMO7.js";
50
50
  import "./chunk-FDJMAF7D.js";
51
51
  import "./chunk-ZYURL5VK.js";
52
52
  import "./chunk-2W4RN5ON.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-MYVSB7NJ.js";
4
+ } from "./chunk-UFHZGBFD.js";
5
5
  import "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  readlineSync
@@ -12,7 +12,7 @@ import {
12
12
  isPlainObject,
13
13
  resolveEffectiveConfig,
14
14
  writeProfile
15
- } from "./chunk-J2RPEWQB.js";
15
+ } from "./chunk-I3HD5UFH.js";
16
16
  import {
17
17
  GLOBAL_FLAGS,
18
18
  getTeamFlag
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-WR6FIP24.js";
8
+ } from "./chunk-GGJTO3PN.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,7 +20,7 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-MYVSB7NJ.js";
23
+ } from "./chunk-UFHZGBFD.js";
24
24
  import {
25
25
  renderSuccess,
26
26
  writeNdjsonItem
@@ -30,7 +30,7 @@ import {
30
30
  readConfig,
31
31
  resolveEffectiveConfig,
32
32
  writeProfile
33
- } from "./chunk-J2RPEWQB.js";
33
+ } from "./chunk-I3HD5UFH.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
@@ -441,7 +441,7 @@ var teamCommand = defineCommand({
441
441
  seats: seatsCmd
442
442
  },
443
443
  async run() {
444
- const { showHelp } = await import("./examples-JJB4DZKK.js");
444
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
445
445
  await showHelp(teamCommand, ["curviate", "team"]);
446
446
  }
447
447
  });
@@ -3,14 +3,14 @@ import {
3
3
  fail,
4
4
  outputOpts,
5
5
  rootClient
6
- } from "./chunk-WR6FIP24.js";
6
+ } from "./chunk-GGJTO3PN.js";
7
7
  import {
8
8
  readableObject
9
- } from "./chunk-MYVSB7NJ.js";
9
+ } from "./chunk-UFHZGBFD.js";
10
10
  import {
11
11
  renderSuccess
12
12
  } from "./chunk-QM57YDJE.js";
13
- import "./chunk-J2RPEWQB.js";
13
+ import "./chunk-I3HD5UFH.js";
14
14
  import {
15
15
  READ_SINGLE_FLAGS,
16
16
  readOnly
@@ -9,7 +9,7 @@ import {
9
9
  outputOpts,
10
10
  rootClient,
11
11
  usage
12
- } from "./chunk-WR6FIP24.js";
12
+ } from "./chunk-GGJTO3PN.js";
13
13
  import {
14
14
  buildPreviewOutput
15
15
  } from "./chunk-TCUYH5GO.js";
@@ -23,12 +23,12 @@ import {
23
23
  readablePage,
24
24
  rejectPaginationModifiersWithoutAll,
25
25
  streamAll
26
- } from "./chunk-MYVSB7NJ.js";
26
+ } from "./chunk-UFHZGBFD.js";
27
27
  import {
28
28
  renderSuccess,
29
29
  writeNdjsonItem
30
30
  } from "./chunk-QM57YDJE.js";
31
- import "./chunk-J2RPEWQB.js";
31
+ import "./chunk-I3HD5UFH.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  WRITE_SINGLE_FLAGS,
@@ -56,6 +56,13 @@ async function paged(f, params, fetch, human) {
56
56
  human(page);
57
57
  if (page["cursor"]) print(`next page: --cursor ${String(page["cursor"])}`);
58
58
  }
59
+ function chatWith(i) {
60
+ const g = i["group"];
61
+ if (!g) return i["counterpart"]?.["name"];
62
+ if (g["title"]) return g["title"];
63
+ const members = g["members"] ?? [];
64
+ return g["members_known"] && members.length ? members.map((m) => m["name"] ?? "Name pending").join(", ") : "Group chat";
65
+ }
59
66
  async function runList(c, f) {
60
67
  const q = {};
61
68
  if (f.accounts !== void 0) q["account_ids"] = listFlag("accounts", f.accounts);
@@ -74,7 +81,7 @@ async function runList(c, f) {
74
81
  const motion = (i) => i["motion_context"]?.["motion_name"];
75
82
  print(table(
76
83
  ["ACCOUNT", "CHAT", "WITH", "UNREAD", "LAST", "FROM", "MOTION", "TAGS"],
77
- page.items.map((i) => [i["account_id"], i["chat_id"], i["counterpart"]?.["name"], unread(i), i["last_activity_at"], i["last_message_from"], motion(i), i["tags"]?.join(", ")])
84
+ page.items.map((i) => [i["account_id"], i["chat_id"], chatWith(i), unread(i), i["last_activity_at"], i["last_message_from"], motion(i), i["tags"]?.join(", ")])
78
85
  ));
79
86
  if (typeof page["total"] === "number") print(`total: ${page["total"]} chats match`);
80
87
  });
@@ -393,7 +400,7 @@ var uniboxCommand = defineCommand({
393
400
  consent: consentCmd
394
401
  },
395
402
  async run() {
396
- const { showHelp } = await import("./examples-JJB4DZKK.js");
403
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
397
404
  await showHelp(uniboxCommand, ["curviate", "unibox"]);
398
405
  }
399
406
  });