@curviate/cli 0.21.1 → 0.22.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 (27) hide show
  1. package/CHANGELOG.md +171 -116
  2. package/README.md +18 -18
  3. package/dist/{account-OIV73PXX.js → account-QRGWUQXF.js} +25 -25
  4. package/dist/{chunk-HZFK45IW.js → chunk-H6XD3F66.js} +1 -1
  5. package/dist/{chunk-VPKMJYIF.js → chunk-JA3NNST6.js} +9 -1
  6. package/dist/{chunk-M6UDWFHX.js → chunk-PMRQXBCP.js} +1 -1
  7. package/dist/{chunk-WYRYCTUM.js → chunk-RFUO2G3M.js} +2 -2
  8. package/dist/{chunk-OE7OMTCM.js → chunk-T5LPGAGJ.js} +6 -6
  9. package/dist/cli.js +58 -26
  10. package/dist/{comment-W4XTOTHN.js → comment-MCGXFMN4.js} +3 -3
  11. package/dist/{company-NT4VO6JV.js → company-WDDLWP7E.js} +12 -12
  12. package/dist/{connect-VXWRLGQZ.js → connect-5OROSY5C.js} +12 -12
  13. package/dist/{exit-codes-63JE5GM5.js → exit-codes-KAVZN5BQ.js} +1 -1
  14. package/dist/{feed-4Q3B56WI.js → feed-SFVYEAYP.js} +3 -3
  15. package/dist/{group-43PHTFP7.js → group-HSZY2IJU.js} +3 -3
  16. package/dist/{inbox-GZAOUWZP.js → inbox-L6JBGZIB.js} +4 -4
  17. package/dist/{inboxes-6AZOB43U.js → inboxes-UIO74C5Q.js} +5 -5
  18. package/dist/{job-VOVQZGCK.js → job-75ML7R7I.js} +4 -4
  19. package/dist/{message-FIEWH2BU.js → message-DAQHRBSJ.js} +2 -2
  20. package/dist/{notification-65V67NWK.js → notification-DYJN4ZHN.js} +3 -3
  21. package/dist/{post-G4IMWUE2.js → post-RGDOCGC4.js} +5 -5
  22. package/dist/{profile-GADE33FY.js → profile-TJS2YAZD.js} +8 -8
  23. package/dist/{recruiter-LI2TMRHY.js → recruiter-NSM33IEK.js} +10 -10
  24. package/dist/{sales-nav-OXLRN6YK.js → sales-nav-5O7FR57S.js} +6 -6
  25. package/dist/{search-V35MFTXL.js → search-TDSLK2MB.js} +13 -13
  26. package/dist/{webhook-5HXMJQFO.js → webhook-7ESDSIRU.js} +9 -9
  27. package/package.json +4 -3
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-OE7OMTCM.js";
4
+ } from "./chunk-T5LPGAGJ.js";
5
5
  import "./chunk-HOQ7EUHJ.js";
6
6
  import {
7
7
  AttachError,
@@ -16,11 +16,11 @@ import {
16
16
  slimSearchJobs,
17
17
  slimSearchPeople,
18
18
  slimSearchPosts
19
- } from "./chunk-WYRYCTUM.js";
19
+ } from "./chunk-RFUO2G3M.js";
20
20
  import {
21
21
  pageDelayFromFlags,
22
22
  streamAll
23
- } from "./chunk-HZFK45IW.js";
23
+ } from "./chunk-H6XD3F66.js";
24
24
  import "./chunk-UWO2D4HW.js";
25
25
  import {
26
26
  resolveIdentifier
@@ -34,7 +34,7 @@ import {
34
34
  renderSuccess,
35
35
  renderUnexpectedError,
36
36
  resolveEffectiveConfig
37
- } from "./chunk-VPKMJYIF.js";
37
+ } from "./chunk-JA3NNST6.js";
38
38
  import {
39
39
  GLOBAL_FLAGS,
40
40
  WRITE_FLAGS
@@ -89,7 +89,7 @@ async function resolveCompanyId(ns, raw) {
89
89
  async function handleSdkError(err, outOpts, out) {
90
90
  const { CurviateError } = await import("@curviate/sdk");
91
91
  if (err instanceof CurviateError) {
92
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
92
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
93
93
  renderError(err, outOpts, out);
94
94
  process.exit(getExitCode(err.code));
95
95
  }
@@ -597,14 +597,14 @@ var companyInvitableFollowersCommand = defineCommand({
597
597
  var companyFollowInviteCommand = defineCommand({
598
598
  meta: {
599
599
  name: "follow-invite",
600
- description: "Invite the account's 1st-degree connections to follow the administered company page. Write, admin-gated (the account must administer the page with invite rights). Pass the AC\u2026 member ids from `company invitable-followers`, one --invitee per invitee. All-or-nothing: for an all-valid request you get one outcome per invitee, in request order (invited/already_invited/ineligible/not_found); if any invitee id is invalid the whole request rejects with a 404, not a partial result. Re-inviting an already-invited member is a safe no-op (the same invitation id, never a duplicate)."
600
+ description: "Invite the account's 1st-degree connections to follow the administered company page. Write, admin-gated (the account must administer the page with invite rights). Pass the AC... member ids from `company invitable-followers`, one --invitee per invitee. All-or-nothing: for an all-valid request you get one outcome per invitee, in request order (invited/already_invited/ineligible/not_found); if any invitee id is invalid the whole request rejects with a 404, not a partial result. Re-inviting an already-invited member is a safe no-op (the same invitation id, never a duplicate)."
601
601
  },
602
602
  args: {
603
603
  ...WRITE_FLAGS,
604
604
  id: { type: "positional", description: "Company identifier (URL, slug, or numeric id), resolved to the numeric id first, including under --preview." },
605
605
  invitee: {
606
606
  type: "string",
607
- description: "AC\u2026 member id to invite (from `company invitable-followers`). Repeatable, at least one required, max 50 per request."
607
+ description: "AC... member id to invite (from `company invitable-followers`). Repeatable, at least one required, max 50 per request."
608
608
  }
609
609
  },
610
610
  async run({ args }) {
@@ -705,7 +705,7 @@ var companyChatCommand = defineCommand({
705
705
  args: {
706
706
  ...GLOBAL_FLAGS,
707
707
  id: { type: "positional", description: "Company identifier (URL, slug, or numeric id), a slug/URL is resolved to the numeric id first." },
708
- chatId: { type: "positional", description: "The 2-\u2026 chat id from `company chats`, passed through verbatim." }
708
+ chatId: { type: "positional", description: "The 2-... chat id from `company chats`, passed through verbatim." }
709
709
  },
710
710
  async run({ args }) {
711
711
  const flags = args;
@@ -733,7 +733,7 @@ var companyMessagesCommand = defineCommand({
733
733
  args: {
734
734
  ...GLOBAL_FLAGS,
735
735
  id: { type: "positional", description: "Company identifier (URL, slug, or numeric id), a slug/URL is resolved to the numeric id first." },
736
- chatId: { type: "positional", description: "The 2-\u2026 chat id from `company chats`, passed through verbatim." }
736
+ chatId: { type: "positional", description: "The 2-... chat id from `company chats`, passed through verbatim." }
737
737
  },
738
738
  async run({ args }) {
739
739
  const flags = args;
@@ -761,7 +761,7 @@ var companyMessageCommand = defineCommand({
761
761
  args: {
762
762
  ...GLOBAL_FLAGS,
763
763
  id: { type: "positional", description: "Company identifier (URL, slug, or numeric id), a slug/URL is resolved to the numeric id first." },
764
- chatId: { type: "positional", description: "The 2-\u2026 chat id from `company chats`, passed through verbatim." },
764
+ chatId: { type: "positional", description: "The 2-... chat id from `company chats`, passed through verbatim." },
765
765
  messageId: { type: "positional", description: "The message id from `company messages`, passed through verbatim." }
766
766
  },
767
767
  async run({ args }) {
@@ -815,14 +815,14 @@ var companySearchChatsCommand = defineCommand({
815
815
  var companyReplyCommand = defineCommand({
816
816
  meta: {
817
817
  name: "reply",
818
- description: "Reply to a company-inbox conversation, as the page (write, admin-gated: the account must administer the page). Takes the normal 2-\u2026 chat id from `company chats`; the endpoint resolves the page mailbox internally from the company id. Reply-only, this cannot start a new conversation on the page's behalf. See also: `company chats` (the read that returns the chat id) and `message send` (the personal equivalent)."
818
+ description: "Reply to a company-inbox conversation, as the page (write, admin-gated: the account must administer the page). Takes the normal 2-... chat id from `company chats`; the endpoint resolves the page mailbox internally from the company id. Reply-only, this cannot start a new conversation on the page's behalf. See also: `company chats` (the read that returns the chat id) and `message send` (the personal equivalent)."
819
819
  },
820
820
  args: {
821
821
  ...WRITE_FLAGS,
822
822
  id: { type: "positional", description: "Company identifier (URL, slug, or numeric id), resolved to the numeric id first, including under --preview." },
823
823
  chatId: {
824
824
  type: "positional",
825
- description: "The 2-\u2026 chat id from `company chats`, passed through verbatim (no client-side check)."
825
+ description: "The 2-... chat id from `company chats`, passed through verbatim (no client-side check)."
826
826
  },
827
827
  text: { type: "positional", stdinArg: true, description: "Reply text. Pass - to read from stdin (e.g. via heredoc or pipe)." },
828
828
  attach: { type: "string", description: "File to attach (repeatable)." }
@@ -7,11 +7,11 @@ import {
7
7
  slimInviteReceivedItem,
8
8
  slimInviteSent,
9
9
  slimInviteSentItem
10
- } from "./chunk-WYRYCTUM.js";
10
+ } from "./chunk-RFUO2G3M.js";
11
11
  import {
12
12
  pageDelayFromFlags,
13
13
  streamAll
14
- } from "./chunk-HZFK45IW.js";
14
+ } from "./chunk-H6XD3F66.js";
15
15
  import {
16
16
  resolveIdentifier
17
17
  } from "./chunk-DMQZEPQE.js";
@@ -24,7 +24,7 @@ import {
24
24
  renderSuccess,
25
25
  renderUnexpectedError,
26
26
  resolveEffectiveConfig
27
- } from "./chunk-VPKMJYIF.js";
27
+ } from "./chunk-JA3NNST6.js";
28
28
  import {
29
29
  GLOBAL_FLAGS,
30
30
  WRITE_FLAGS
@@ -86,7 +86,7 @@ async function runConnectSend(client, flags, out) {
86
86
  } catch (err) {
87
87
  const { CurviateError } = await import("@curviate/sdk");
88
88
  if (err instanceof CurviateError) {
89
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
89
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
90
90
  renderError(err, outOpts, out);
91
91
  process.exit(getExitCode(err.code));
92
92
  }
@@ -124,7 +124,7 @@ async function runConnectSent(client, flags, out) {
124
124
  } catch (err) {
125
125
  const { CurviateError } = await import("@curviate/sdk");
126
126
  if (err instanceof CurviateError) {
127
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
127
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
128
128
  renderError(err, outOpts, out);
129
129
  process.exit(getExitCode(err.code));
130
130
  }
@@ -162,7 +162,7 @@ async function runConnectReceived(client, flags, out) {
162
162
  } catch (err) {
163
163
  const { CurviateError } = await import("@curviate/sdk");
164
164
  if (err instanceof CurviateError) {
165
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
165
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
166
166
  renderError(err, outOpts, out);
167
167
  process.exit(getExitCode(err.code));
168
168
  }
@@ -191,7 +191,7 @@ async function runConnectAccept(client, flags, out) {
191
191
  } catch (err) {
192
192
  const { CurviateError } = await import("@curviate/sdk");
193
193
  if (err instanceof CurviateError) {
194
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
194
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
195
195
  renderError(err, outOpts, out);
196
196
  process.exit(getExitCode(err.code));
197
197
  }
@@ -220,7 +220,7 @@ async function runConnectDecline(client, flags, out) {
220
220
  } catch (err) {
221
221
  const { CurviateError } = await import("@curviate/sdk");
222
222
  if (err instanceof CurviateError) {
223
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
223
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
224
224
  renderError(err, outOpts, out);
225
225
  process.exit(getExitCode(err.code));
226
226
  }
@@ -249,7 +249,7 @@ async function runConnectCancel(client, flags, out) {
249
249
  } catch (err) {
250
250
  const { CurviateError } = await import("@curviate/sdk");
251
251
  if (err instanceof CurviateError) {
252
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
252
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
253
253
  renderError(err, outOpts, out);
254
254
  process.exit(getExitCode(err.code));
255
255
  }
@@ -404,18 +404,18 @@ function guardBareConnectForm(id, out) {
404
404
  var connectCommand = defineCommand({
405
405
  meta: {
406
406
  name: "connect",
407
- description: "Send or manage connection invitations. Connection requests may take 10\u201330 seconds to appear in the recipient's received list (LinkedIn propagation delay)."
407
+ description: "Send or manage connection invitations. Connection requests may take 10-30 seconds to appear in the recipient's received list (LinkedIn propagation delay)."
408
408
  },
409
409
  args: {
410
410
  ...WRITE_FLAGS,
411
411
  id: {
412
412
  type: "positional",
413
- description: "Recipient's LinkedIn URL, public slug, or provider_id (ACoAAA\u2026 from `curviate profile`). LinkedIn URN (`urn:li:member:N`) also accepted but the numeric member ID is not exposed by this API.",
413
+ description: "Recipient's LinkedIn URL, public slug, or provider_id (ACoAAA... from `curviate profile`). LinkedIn URN (`urn:li:member:N`) also accepted but the numeric member ID is not exposed by this API.",
414
414
  required: false
415
415
  },
416
416
  note: {
417
417
  type: "string",
418
- description: "Personalized message shown to the recipient alongside the connection request (\u2264300 chars; LinkedIn cap). Omit to send a generic note. Personalized messages increase acceptance rates."
418
+ description: "Personalized message shown to the recipient alongside the connection request (<=300 chars; LinkedIn cap). Omit to send a generic note. Personalized messages increase acceptance rates."
419
419
  }
420
420
  },
421
421
  subCommands: {
@@ -3,7 +3,7 @@ import {
3
3
  AUTH_NEEDED,
4
4
  EXIT_CODE_MAP,
5
5
  getExitCode
6
- } from "./chunk-M6UDWFHX.js";
6
+ } from "./chunk-PMRQXBCP.js";
7
7
  export {
8
8
  AUTH_NEEDED,
9
9
  EXIT_CODE_MAP,
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-HZFK45IW.js";
5
+ } from "./chunk-H6XD3F66.js";
6
6
  import {
7
7
  createClient,
8
8
  renderError,
9
9
  renderSuccess,
10
10
  renderUnexpectedError,
11
11
  resolveEffectiveConfig
12
- } from "./chunk-VPKMJYIF.js";
12
+ } from "./chunk-JA3NNST6.js";
13
13
  import {
14
14
  GLOBAL_FLAGS
15
15
  } from "./chunk-CUTMZWL6.js";
@@ -47,7 +47,7 @@ function resolveOutputOpts(flags) {
47
47
  async function handleSdkError(err, outOpts, out) {
48
48
  const { CurviateError } = await import("@curviate/sdk");
49
49
  if (err instanceof CurviateError) {
50
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
50
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
51
51
  renderError(err, outOpts, out);
52
52
  process.exit(getExitCode(err.code));
53
53
  }
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-HZFK45IW.js";
5
+ } from "./chunk-H6XD3F66.js";
6
6
  import {
7
7
  createClient,
8
8
  renderError,
9
9
  renderSuccess,
10
10
  renderUnexpectedError,
11
11
  resolveEffectiveConfig
12
- } from "./chunk-VPKMJYIF.js";
12
+ } from "./chunk-JA3NNST6.js";
13
13
  import {
14
14
  GLOBAL_FLAGS,
15
15
  READ_SINGLE_FLAGS
@@ -54,7 +54,7 @@ function resolveOutputOpts(flags) {
54
54
  async function handleSdkError(err, outOpts, out) {
55
55
  const { CurviateError } = await import("@curviate/sdk");
56
56
  if (err instanceof CurviateError) {
57
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
57
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
58
58
  renderError(err, outOpts, out);
59
59
  process.exit(getExitCode(err.code));
60
60
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-HZFK45IW.js";
5
+ } from "./chunk-H6XD3F66.js";
6
6
  import {
7
7
  normalizeChatId
8
8
  } from "./chunk-DMQZEPQE.js";
@@ -15,7 +15,7 @@ import {
15
15
  renderSuccess,
16
16
  renderUnexpectedError,
17
17
  resolveEffectiveConfig
18
- } from "./chunk-VPKMJYIF.js";
18
+ } from "./chunk-JA3NNST6.js";
19
19
  import {
20
20
  GLOBAL_FLAGS,
21
21
  READ_SINGLE_FLAGS,
@@ -85,7 +85,7 @@ function validateLimitRange(raw, out) {
85
85
  async function handleSdkError(err, outOpts, out) {
86
86
  const { CurviateError } = await import("@curviate/sdk");
87
87
  if (err instanceof CurviateError) {
88
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
88
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
89
89
  renderError(err, outOpts, out);
90
90
  process.exit(getExitCode(err.code));
91
91
  }
@@ -229,7 +229,7 @@ var inboxListCommand = defineCommand({
229
229
  unread: {
230
230
  type: "boolean",
231
231
  description: "Show unread chats only (--no-unread for read-only; omit for all)."
232
- // No default three-way semantics: undefined when omitted, true for --unread, false for --no-unread
232
+ // No default -> three-way semantics: undefined when omitted, true for --unread, false for --no-unread
233
233
  }
234
234
  },
235
235
  async run({ args }) {
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-HZFK45IW.js";
5
+ } from "./chunk-H6XD3F66.js";
6
6
  import {
7
7
  createClient,
8
8
  renderError,
9
9
  renderSuccess,
10
10
  renderUnexpectedError,
11
11
  resolveEffectiveConfig
12
- } from "./chunk-VPKMJYIF.js";
12
+ } from "./chunk-JA3NNST6.js";
13
13
  import {
14
14
  GLOBAL_FLAGS,
15
15
  READ_SINGLE_FLAGS
@@ -54,7 +54,7 @@ function resolveOutputOpts(flags) {
54
54
  async function handleSdkError(err, outOpts, out) {
55
55
  const { CurviateError } = await import("@curviate/sdk");
56
56
  if (err instanceof CurviateError) {
57
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
57
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
58
58
  renderError(err, outOpts, out);
59
59
  process.exit(getExitCode(err.code));
60
60
  }
@@ -121,7 +121,7 @@ var inboxesListCommand = defineCommand({
121
121
  meta: { name: "list", description: "Discover the account's inboxes (personal + company pages)." },
122
122
  args: {
123
123
  // Single-object-shaped read: READ_SINGLE_FLAGS omits pagination flags
124
- // (this response carries no cursor every inbox comes back in one call).
124
+ // (this response carries no cursor, every inbox comes back in one call).
125
125
  ...READ_SINGLE_FLAGS,
126
126
  kind: {
127
127
  type: "string",
@@ -153,7 +153,7 @@ var inboxesListCommand = defineCommand({
153
153
  var inboxesChatsCommand = defineCommand({
154
154
  meta: {
155
155
  name: "chats",
156
- description: "List an inbox's conversations. Each chat id is send-ready: reply with `message send <chat_id> \"<text>\"`. A company inbox's chat id (e.g. COMPANY_83734124_2-\u2026) sends AS THE PAGE, no separate flag needed. Company inboxes are reply-only and cannot start a new conversation."
156
+ description: "List an inbox's conversations. Each chat id is send-ready: reply with `message send <chat_id> \"<text>\"`. A company inbox's chat id (e.g. COMPANY_83734124_2-...) sends AS THE PAGE, no separate flag needed. Company inboxes are reply-only and cannot start a new conversation."
157
157
  },
158
158
  args: {
159
159
  ...GLOBAL_FLAGS,
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  slimJob
4
- } from "./chunk-WYRYCTUM.js";
4
+ } from "./chunk-RFUO2G3M.js";
5
5
  import {
6
6
  DEFAULT_PAGE_DELAY_MS,
7
7
  ndjsonModeNotice,
8
8
  pageDelayFromFlags,
9
9
  streamAll
10
- } from "./chunk-HZFK45IW.js";
10
+ } from "./chunk-H6XD3F66.js";
11
11
  import {
12
12
  BinaryOutputError,
13
13
  writeBinaryOutput
@@ -24,7 +24,7 @@ import {
24
24
  renderSuccess,
25
25
  renderUnexpectedError,
26
26
  resolveEffectiveConfig
27
- } from "./chunk-VPKMJYIF.js";
27
+ } from "./chunk-JA3NNST6.js";
28
28
  import {
29
29
  GLOBAL_FLAGS,
30
30
  READ_SINGLE_FLAGS,
@@ -99,7 +99,7 @@ function requireEnum(value, allowed, flag, out) {
99
99
  async function handleSdkError(err, outOpts, out) {
100
100
  const { CurviateError } = await import("@curviate/sdk");
101
101
  if (err instanceof CurviateError) {
102
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
102
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
103
103
  renderError(err, outOpts, out);
104
104
  process.exit(getExitCode(err.code));
105
105
  }
@@ -13,13 +13,13 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-OE7OMTCM.js";
16
+ } from "./chunk-T5LPGAGJ.js";
17
17
  import "./chunk-HOQ7EUHJ.js";
18
18
  import "./chunk-BGZW6B7G.js";
19
19
  import "./chunk-UWO2D4HW.js";
20
20
  import "./chunk-DMQZEPQE.js";
21
21
  import "./chunk-R3VLWLVV.js";
22
- import "./chunk-VPKMJYIF.js";
22
+ import "./chunk-JA3NNST6.js";
23
23
  import "./chunk-CUTMZWL6.js";
24
24
  import "./chunk-ZYURL5VK.js";
25
25
  export {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-HZFK45IW.js";
5
+ } from "./chunk-H6XD3F66.js";
6
6
  import {
7
7
  buildPreviewOutput
8
8
  } from "./chunk-R3VLWLVV.js";
@@ -12,7 +12,7 @@ import {
12
12
  renderSuccess,
13
13
  renderUnexpectedError,
14
14
  resolveEffectiveConfig
15
- } from "./chunk-VPKMJYIF.js";
15
+ } from "./chunk-JA3NNST6.js";
16
16
  import {
17
17
  GLOBAL_FLAGS,
18
18
  WRITE_SINGLE_FLAGS
@@ -51,7 +51,7 @@ function resolveOutputOpts(flags) {
51
51
  async function handleSdkError(err, outOpts, out) {
52
52
  const { CurviateError } = await import("@curviate/sdk");
53
53
  if (err instanceof CurviateError) {
54
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
54
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
55
55
  renderError(err, outOpts, out);
56
56
  process.exit(getExitCode(err.code));
57
57
  }
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  pageDelayFromFlags,
12
12
  streamAll
13
- } from "./chunk-HZFK45IW.js";
13
+ } from "./chunk-H6XD3F66.js";
14
14
  import "./chunk-DMQZEPQE.js";
15
15
  import {
16
16
  buildPreviewOutput
@@ -21,7 +21,7 @@ import {
21
21
  renderSuccess,
22
22
  renderUnexpectedError,
23
23
  resolveEffectiveConfig
24
- } from "./chunk-VPKMJYIF.js";
24
+ } from "./chunk-JA3NNST6.js";
25
25
  import {
26
26
  GLOBAL_FLAGS,
27
27
  WRITE_FLAGS,
@@ -79,7 +79,7 @@ function normalizeAttachPaths(attach) {
79
79
  async function handleSdkError(err, outOpts, out) {
80
80
  const { CurviateError } = await import("@curviate/sdk");
81
81
  if (err instanceof CurviateError) {
82
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
82
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
83
83
  renderError(err, outOpts, out);
84
84
  process.exit(getExitCode(err.code));
85
85
  }
@@ -448,7 +448,7 @@ var postReactCommand = defineCommand({
448
448
  reaction: {
449
449
  type: "positional",
450
450
  required: false,
451
- description: "Write-side reaction (lowercase). Write values: like, celebrate, support, love, insightful, funny. Read-side vocabulary (in the value and user_reacted response fields): LIKE, PRAISE, APPRECIATION, EMPATHY, INTEREST, ENTERTAINMENT. Confirmed write\u2192read mappings: like=LIKE, celebrate=PRAISE, insightful=INTEREST. (support, love, and funny are valid write values; their read-side pairings are unconfirmed.)"
451
+ description: "Write-side reaction (lowercase). Write values: like, celebrate, support, love, insightful, funny. Read-side vocabulary (in the value and user_reacted response fields): LIKE, PRAISE, APPRECIATION, EMPATHY, INTEREST, ENTERTAINMENT. Confirmed write->read mappings: like=LIKE, celebrate=PRAISE, insightful=INTEREST. (support, love, and funny are valid write values; their read-side pairings are unconfirmed.)"
452
452
  },
453
453
  reactionAlias: {
454
454
  type: "string",
@@ -606,7 +606,7 @@ var postCommand = defineCommand({
606
606
  },
607
607
  async run() {
608
608
  process.stderr.write(
609
- 'Usage: curviate post <subcommand>\n get <post_id>\n create "<text>" [--attach <file>\u2026]\n react <post_id> <reaction> [--as-organization <org_id>]\n reactions <post_id>\n delete <post_id>\n unreact <post_id> <reaction>\n saved\n save <post_id>\n unsave <post_id>\n user-posts <user_id>\n user-reactions <user_id>\n\nComment operations moved to the `comment` command group.\n'
609
+ 'Usage: curviate post <subcommand>\n get <post_id>\n create "<text>" [--attach <file>...]\n react <post_id> <reaction> [--as-organization <org_id>]\n reactions <post_id>\n delete <post_id>\n unreact <post_id> <reaction>\n saved\n save <post_id>\n unsave <post_id>\n user-posts <user_id>\n user-reactions <user_id>\n\nComment operations moved to the `comment` command group.\n'
610
610
  );
611
611
  }
612
612
  });
@@ -11,11 +11,11 @@ import {
11
11
  import {
12
12
  slimProfile,
13
13
  slimProfileMe
14
- } from "./chunk-WYRYCTUM.js";
14
+ } from "./chunk-RFUO2G3M.js";
15
15
  import {
16
16
  pageDelayFromFlags,
17
17
  streamAll
18
- } from "./chunk-HZFK45IW.js";
18
+ } from "./chunk-H6XD3F66.js";
19
19
  import {
20
20
  resolveIdentifier
21
21
  } from "./chunk-DMQZEPQE.js";
@@ -28,7 +28,7 @@ import {
28
28
  renderSuccess,
29
29
  renderUnexpectedError,
30
30
  resolveEffectiveConfig
31
- } from "./chunk-VPKMJYIF.js";
31
+ } from "./chunk-JA3NNST6.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  READ_SINGLE_FLAGS,
@@ -191,7 +191,7 @@ async function runProfileMe(client, flags, out) {
191
191
  } catch (err) {
192
192
  const { CurviateError } = await import("@curviate/sdk");
193
193
  if (err instanceof CurviateError) {
194
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
194
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
195
195
  renderError(err, outOpts, out);
196
196
  process.exit(getExitCode(err.code));
197
197
  }
@@ -217,7 +217,7 @@ async function runProfileMe(client, flags, out) {
217
217
  } catch (err) {
218
218
  const { CurviateError } = await import("@curviate/sdk");
219
219
  if (err instanceof CurviateError) {
220
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
220
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
221
221
  renderError(err, outOpts, out);
222
222
  process.exit(getExitCode(err.code));
223
223
  }
@@ -343,7 +343,7 @@ async function runProfileGet(client, flags, out) {
343
343
  } catch (err) {
344
344
  const { CurviateError } = await import("@curviate/sdk");
345
345
  if (err instanceof CurviateError) {
346
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
346
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
347
347
  renderError(err, outOpts, out);
348
348
  process.exit(getExitCode(err.code));
349
349
  }
@@ -380,7 +380,7 @@ async function runProfileRelations(client, flags, out) {
380
380
  } catch (err) {
381
381
  const { CurviateError } = await import("@curviate/sdk");
382
382
  if (err instanceof CurviateError) {
383
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
383
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
384
384
  renderError(err, outOpts, out);
385
385
  process.exit(getExitCode(err.code));
386
386
  }
@@ -420,7 +420,7 @@ async function runProfileEndorse(client, flags, out) {
420
420
  async function handleSdkError(err, outOpts, out) {
421
421
  const { CurviateError } = await import("@curviate/sdk");
422
422
  if (err instanceof CurviateError) {
423
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
423
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
424
424
  renderError(err, outOpts, out);
425
425
  process.exit(getExitCode(err.code));
426
426
  }
@@ -11,11 +11,11 @@ import {
11
11
  } from "./chunk-BGZW6B7G.js";
12
12
  import {
13
13
  slimJob
14
- } from "./chunk-WYRYCTUM.js";
14
+ } from "./chunk-RFUO2G3M.js";
15
15
  import {
16
16
  pageDelayFromFlags,
17
17
  streamAll
18
- } from "./chunk-HZFK45IW.js";
18
+ } from "./chunk-H6XD3F66.js";
19
19
  import {
20
20
  BinaryOutputError,
21
21
  writeBinaryOutput
@@ -33,7 +33,7 @@ import {
33
33
  renderSuccess,
34
34
  renderUnexpectedError,
35
35
  resolveEffectiveConfig
36
- } from "./chunk-VPKMJYIF.js";
36
+ } from "./chunk-JA3NNST6.js";
37
37
  import {
38
38
  GLOBAL_FLAGS,
39
39
  READ_SINGLE_FLAGS,
@@ -81,7 +81,7 @@ function normalizeAttachPaths(attach) {
81
81
  async function handleSdkError(err, outOpts, out) {
82
82
  const { CurviateError } = await import("@curviate/sdk");
83
83
  if (err instanceof CurviateError) {
84
- const { getExitCode } = await import("./exit-codes-63JE5GM5.js");
84
+ const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
85
85
  renderError(err, outOpts, out);
86
86
  process.exit(getExitCode(err.code));
87
87
  }
@@ -897,7 +897,7 @@ var recruiterMessageNewCommand = defineCommand({
897
897
  ...WRITE_FLAGS,
898
898
  to: {
899
899
  type: "string",
900
- description: "Recipient's LinkedIn provider ID (AE\u2026 format, e.g. from a Recruiter search result or profile). Not resolved from a URL/slug. Pass the provider ID directly.",
900
+ description: "Recipient's LinkedIn provider ID (AE... format, e.g. from a Recruiter search result or profile). Not resolved from a URL/slug. Pass the provider ID directly.",
901
901
  required: true
902
902
  },
903
903
  subject: { type: "string", description: "Message subject line (required for Recruiter InMail).", required: true },
@@ -932,7 +932,7 @@ var recruiterMessageCommand = defineCommand({
932
932
  new: recruiterMessageNewCommand
933
933
  },
934
934
  async run() {
935
- process.stderr.write('Usage: curviate recruiter message new --to <id> "<text>" [--attach <file>\u2026]\n');
935
+ process.stderr.write('Usage: curviate recruiter message new --to <id> "<text>" [--attach <file>...]\n');
936
936
  }
937
937
  });
938
938
  var recruiterProfileCommand = defineCommand({
@@ -1133,7 +1133,7 @@ var recruiterProjectCommand = defineCommand({
1133
1133
  const flags = args;
1134
1134
  if (!flags.projectId) {
1135
1135
  process.stderr.write(
1136
- "Usage: curviate recruiter project <project_id>\n curviate recruiter project update <project_id> [flags\u2026]\n"
1136
+ "Usage: curviate recruiter project <project_id>\n curviate recruiter project update <project_id> [flags...]\n"
1137
1137
  );
1138
1138
  return;
1139
1139
  }
@@ -1389,7 +1389,7 @@ var recruiterJobCommand = defineCommand({
1389
1389
  },
1390
1390
  async run() {
1391
1391
  process.stderr.write(
1392
- "Usage: curviate recruiter job create [flags\u2026]\n curviate recruiter job publish <project_id> <job_id> --mode <FREE|PROMOTED|PROMOTED_PLUS>\n curviate recruiter job close <project_id> <job_id>\n curviate recruiter job get <url|id>\n"
1392
+ "Usage: curviate recruiter job create [flags...]\n curviate recruiter job publish <project_id> <job_id> --mode <FREE|PROMOTED|PROMOTED_PLUS>\n curviate recruiter job close <project_id> <job_id>\n curviate recruiter job get <url|id>\n"
1393
1393
  );
1394
1394
  }
1395
1395
  });
@@ -1513,7 +1513,7 @@ var recruiterProjectJobCommand = defineCommand({
1513
1513
  const flags = args;
1514
1514
  if (!flags.projectId) {
1515
1515
  process.stderr.write(
1516
- "Usage: curviate recruiter project-job get <project_id>\n curviate recruiter project-job create <project_id> [flags\u2026]\n curviate recruiter project-job budget <project_id> <job_id>\n curviate recruiter project-job update <project_id> <job_id> [flags\u2026]\n"
1516
+ "Usage: curviate recruiter project-job get <project_id>\n curviate recruiter project-job create <project_id> [flags...]\n curviate recruiter project-job budget <project_id> <job_id>\n curviate recruiter project-job update <project_id> <job_id> [flags...]\n"
1517
1517
  );
1518
1518
  return;
1519
1519
  }
@@ -1648,7 +1648,7 @@ var recruiterCommand = defineCommand({
1648
1648
  },
1649
1649
  async run() {
1650
1650
  process.stderr.write(
1651
- 'Usage: curviate recruiter message new --to <id> "<text>"\n curviate recruiter profile <identifier>\n curviate recruiter search people [--keywords <k>]\n curviate recruiter search parameters --source <s> --type <t>\n curviate recruiter search <url>\n curviate recruiter projects\n curviate recruiter project <project_id>\n curviate recruiter project update <project_id> [flags\u2026]\n curviate recruiter pipeline <project_id>\n curviate recruiter project-job get <project_id>\n curviate recruiter project-job create <project_id> [flags\u2026]\n curviate recruiter project-job budget <project_id> <job_id>\n curviate recruiter project-job update <project_id> <job_id> [flags\u2026]\n curviate recruiter talent-search <project_id> --channel-id <id>\n curviate recruiter save-candidate <project_id> --stage-id <id> --candidate-id <id>\n curviate recruiter applicants <project_id> --channel-id <id>\n curviate recruiter jobs\n curviate recruiter job create [flags\u2026]\n curviate recruiter job publish <project_id> <job_id> --mode <FREE|PROMOTED|PROMOTED_PLUS>\n curviate recruiter job close <project_id> <job_id>\n curviate recruiter job get <url|id>\n curviate recruiter applicant <project_id> <applicant_id>\n curviate recruiter applicant resume <project_id> <applicant_id> -o <file>\n'
1651
+ 'Usage: curviate recruiter message new --to <id> "<text>"\n curviate recruiter profile <identifier>\n curviate recruiter search people [--keywords <k>]\n curviate recruiter search parameters --source <s> --type <t>\n curviate recruiter search <url>\n curviate recruiter projects\n curviate recruiter project <project_id>\n curviate recruiter project update <project_id> [flags...]\n curviate recruiter pipeline <project_id>\n curviate recruiter project-job get <project_id>\n curviate recruiter project-job create <project_id> [flags...]\n curviate recruiter project-job budget <project_id> <job_id>\n curviate recruiter project-job update <project_id> <job_id> [flags...]\n curviate recruiter talent-search <project_id> --channel-id <id>\n curviate recruiter save-candidate <project_id> --stage-id <id> --candidate-id <id>\n curviate recruiter applicants <project_id> --channel-id <id>\n curviate recruiter jobs\n curviate recruiter job create [flags...]\n curviate recruiter job publish <project_id> <job_id> --mode <FREE|PROMOTED|PROMOTED_PLUS>\n curviate recruiter job close <project_id> <job_id>\n curviate recruiter job get <url|id>\n curviate recruiter applicant <project_id> <applicant_id>\n curviate recruiter applicant resume <project_id> <applicant_id> -o <file>\n'
1652
1652
  );
1653
1653
  }
1654
1654
  });