@curviate/cli 0.25.0 → 0.27.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 (30) hide show
  1. package/CHANGELOG.md +138 -1
  2. package/README.md +104 -0
  3. package/dist/{account-52BUCCTZ.js → account-5KGM6EPR.js} +5 -5
  4. package/dist/{chunk-PMRQXBCP.js → chunk-2OG6M6ME.js} +22 -0
  5. package/dist/{chunk-XHVR32RW.js → chunk-5KANHEBN.js} +66 -5
  6. package/dist/{chunk-PS6QPY67.js → chunk-63X3VI3T.js} +5 -2
  7. package/dist/{chunk-RJTG5YWE.js → chunk-6P52Q2GK.js} +2 -2
  8. package/dist/{chunk-LCLYFE54.js → chunk-GHT2DLZR.js} +1 -1
  9. package/dist/{chunk-VAUKRTRG.js → chunk-LJR4LJG6.js} +2 -1
  10. package/dist/chunk-PQWDDSV7.js +65 -0
  11. package/dist/{chunk-RXIPY4O7.js → chunk-TAOXJNQN.js} +3 -3
  12. package/dist/cli.js +17 -17
  13. package/dist/{comment-XAF7AMHR.js → comment-BLG4WHST.js} +6 -6
  14. package/dist/{company-PAKHOCVR.js → company-ZT65QZ6F.js} +7 -7
  15. package/dist/{connect-5TMGM326.js → connect-57AUN33D.js} +11 -11
  16. package/dist/{exit-codes-KAVZN5BQ.js → exit-codes-U5CHA6FT.js} +1 -1
  17. package/dist/{feed-E5EQMI7T.js → feed-3AWI2URQ.js} +5 -5
  18. package/dist/{group-SNCEAWKI.js → group-DYC2NX5M.js} +5 -5
  19. package/dist/{inbox-R5OSZWTG.js → inbox-CQO2I47N.js} +25 -7
  20. package/dist/{inboxes-6XMIABRX.js → inboxes-XQ2B6X3Q.js} +5 -5
  21. package/dist/{job-3HU7KQQI.js → job-NUT4QMH2.js} +6 -6
  22. package/dist/{message-GA7D3A6Y.js → message-KMNRUD4H.js} +4 -4
  23. package/dist/{notification-B5PTNNPE.js → notification-LEM57IBY.js} +5 -5
  24. package/dist/{post-QAVRVRON.js → post-FXAANNUB.js} +6 -6
  25. package/dist/{profile-REKGQYAW.js → profile-72V55PZM.js} +41 -14
  26. package/dist/{recruiter-N36AROW7.js → recruiter-JUNB5AUR.js} +6 -6
  27. package/dist/{sales-nav-Q5RVL4PR.js → sales-nav-BALVVD35.js} +5 -5
  28. package/dist/{search-SYWHOM5J.js → search-QCXTK33P.js} +14 -14
  29. package/dist/{webhook-RE2BGX3N.js → webhook-D4QRWF7W.js} +3 -3
  30. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-RJTG5YWE.js";
4
+ } from "./chunk-6P52Q2GK.js";
5
5
  import {
6
6
  AttachError,
7
7
  describeAttachment,
@@ -11,11 +11,11 @@ import {
11
11
  import {
12
12
  pageDelayFromFlags,
13
13
  streamAll
14
- } from "./chunk-PS6QPY67.js";
14
+ } from "./chunk-63X3VI3T.js";
15
15
  import "./chunk-UEAX6KUB.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-LCLYFE54.js";
18
+ } from "./chunk-GHT2DLZR.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-R3VLWLVV.js";
@@ -25,14 +25,14 @@ import {
25
25
  renderSuccess,
26
26
  renderUnexpectedError,
27
27
  resolveEffectiveConfig
28
- } from "./chunk-XHVR32RW.js";
28
+ } from "./chunk-5KANHEBN.js";
29
29
  import "./chunk-KTY7R27U.js";
30
30
  import {
31
31
  GLOBAL_FLAGS,
32
32
  WRITE_SINGLE_FLAGS,
33
33
  resolveTextOrStdin
34
34
  } from "./chunk-AHYUM2XQ.js";
35
- import "./chunk-PMRQXBCP.js";
35
+ import "./chunk-2OG6M6ME.js";
36
36
 
37
37
  // src/commands/comment.ts
38
38
  import { defineCommand } from "citty";
@@ -66,7 +66,7 @@ function buildListQuery(flags) {
66
66
  async function handleSdkError(err, outOpts, out) {
67
67
  const { CurviateError } = await import("@curviate/sdk");
68
68
  if (err instanceof CurviateError) {
69
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
69
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
70
70
  renderError(err, outOpts, out);
71
71
  process.exit(getExitCode(err.code));
72
72
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-RXIPY4O7.js";
4
+ } from "./chunk-TAOXJNQN.js";
5
5
  import "./chunk-HOQ7EUHJ.js";
6
6
  import {
7
7
  AttachError,
@@ -16,18 +16,18 @@ import {
16
16
  slimSearchJobs,
17
17
  slimSearchPeople,
18
18
  slimSearchPosts
19
- } from "./chunk-VAUKRTRG.js";
19
+ } from "./chunk-LJR4LJG6.js";
20
20
  import {
21
21
  pageDelayFromFlags,
22
22
  streamAll
23
- } from "./chunk-PS6QPY67.js";
23
+ } from "./chunk-63X3VI3T.js";
24
24
  import "./chunk-UWO2D4HW.js";
25
25
  import {
26
26
  resolveIdentifier
27
27
  } from "./chunk-UEAX6KUB.js";
28
28
  import {
29
29
  requireAccount
30
- } from "./chunk-LCLYFE54.js";
30
+ } from "./chunk-GHT2DLZR.js";
31
31
  import {
32
32
  buildPreviewOutput
33
33
  } from "./chunk-R3VLWLVV.js";
@@ -37,14 +37,14 @@ import {
37
37
  renderSuccess,
38
38
  renderUnexpectedError,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-XHVR32RW.js";
40
+ } from "./chunk-5KANHEBN.js";
41
41
  import "./chunk-KTY7R27U.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  WRITE_FLAGS,
45
45
  resolveTextOrStdin
46
46
  } from "./chunk-AHYUM2XQ.js";
47
- import "./chunk-PMRQXBCP.js";
47
+ import "./chunk-2OG6M6ME.js";
48
48
 
49
49
  // src/commands/company.ts
50
50
  import { defineCommand } from "citty";
@@ -85,7 +85,7 @@ async function resolveCompanyId(ns, raw) {
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-KAVZN5BQ.js");
88
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
89
89
  renderError(err, outOpts, out);
90
90
  process.exit(getExitCode(err.code));
91
91
  }
@@ -7,17 +7,17 @@ import {
7
7
  slimInviteReceivedItem,
8
8
  slimInviteSent,
9
9
  slimInviteSentItem
10
- } from "./chunk-VAUKRTRG.js";
10
+ } from "./chunk-LJR4LJG6.js";
11
11
  import {
12
12
  pageDelayFromFlags,
13
13
  streamAll
14
- } from "./chunk-PS6QPY67.js";
14
+ } from "./chunk-63X3VI3T.js";
15
15
  import {
16
16
  resolveIdentifier
17
17
  } from "./chunk-UEAX6KUB.js";
18
18
  import {
19
19
  requireAccount
20
- } from "./chunk-LCLYFE54.js";
20
+ } from "./chunk-GHT2DLZR.js";
21
21
  import {
22
22
  buildPreviewOutput
23
23
  } from "./chunk-R3VLWLVV.js";
@@ -27,13 +27,13 @@ import {
27
27
  renderSuccess,
28
28
  renderUnexpectedError,
29
29
  resolveEffectiveConfig
30
- } from "./chunk-XHVR32RW.js";
30
+ } from "./chunk-5KANHEBN.js";
31
31
  import "./chunk-KTY7R27U.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  WRITE_FLAGS
35
35
  } from "./chunk-AHYUM2XQ.js";
36
- import "./chunk-PMRQXBCP.js";
36
+ import "./chunk-2OG6M6ME.js";
37
37
 
38
38
  // src/commands/connect.ts
39
39
  import { defineCommand } from "citty";
@@ -83,7 +83,7 @@ async function runConnectSend(client, flags, out) {
83
83
  } catch (err) {
84
84
  const { CurviateError } = await import("@curviate/sdk");
85
85
  if (err instanceof CurviateError) {
86
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
86
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
87
87
  renderError(err, outOpts, out);
88
88
  process.exit(getExitCode(err.code));
89
89
  }
@@ -121,7 +121,7 @@ async function runConnectSent(client, flags, out) {
121
121
  } catch (err) {
122
122
  const { CurviateError } = await import("@curviate/sdk");
123
123
  if (err instanceof CurviateError) {
124
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
124
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
125
125
  renderError(err, outOpts, out);
126
126
  process.exit(getExitCode(err.code));
127
127
  }
@@ -159,7 +159,7 @@ async function runConnectReceived(client, flags, out) {
159
159
  } catch (err) {
160
160
  const { CurviateError } = await import("@curviate/sdk");
161
161
  if (err instanceof CurviateError) {
162
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
162
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
163
163
  renderError(err, outOpts, out);
164
164
  process.exit(getExitCode(err.code));
165
165
  }
@@ -188,7 +188,7 @@ async function runConnectAccept(client, flags, out) {
188
188
  } catch (err) {
189
189
  const { CurviateError } = await import("@curviate/sdk");
190
190
  if (err instanceof CurviateError) {
191
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
191
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
192
192
  renderError(err, outOpts, out);
193
193
  process.exit(getExitCode(err.code));
194
194
  }
@@ -217,7 +217,7 @@ async function runConnectDecline(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-KAVZN5BQ.js");
220
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
221
221
  renderError(err, outOpts, out);
222
222
  process.exit(getExitCode(err.code));
223
223
  }
@@ -246,7 +246,7 @@ async function runConnectCancel(client, flags, out) {
246
246
  } catch (err) {
247
247
  const { CurviateError } = await import("@curviate/sdk");
248
248
  if (err instanceof CurviateError) {
249
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
249
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
250
250
  renderError(err, outOpts, out);
251
251
  process.exit(getExitCode(err.code));
252
252
  }
@@ -3,7 +3,7 @@ import {
3
3
  AUTH_NEEDED,
4
4
  EXIT_CODE_MAP,
5
5
  getExitCode
6
- } from "./chunk-PMRQXBCP.js";
6
+ } from "./chunk-2OG6M6ME.js";
7
7
  export {
8
8
  AUTH_NEEDED,
9
9
  EXIT_CODE_MAP,
@@ -2,22 +2,22 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-63X3VI3T.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-LCLYFE54.js";
8
+ } from "./chunk-GHT2DLZR.js";
9
9
  import {
10
10
  createClient,
11
11
  renderError,
12
12
  renderSuccess,
13
13
  renderUnexpectedError,
14
14
  resolveEffectiveConfig
15
- } from "./chunk-XHVR32RW.js";
15
+ } from "./chunk-5KANHEBN.js";
16
16
  import "./chunk-KTY7R27U.js";
17
17
  import {
18
18
  GLOBAL_FLAGS
19
19
  } from "./chunk-AHYUM2XQ.js";
20
- import "./chunk-PMRQXBCP.js";
20
+ import "./chunk-2OG6M6ME.js";
21
21
 
22
22
  // src/commands/feed.ts
23
23
  import { defineCommand } from "citty";
@@ -44,7 +44,7 @@ function resolveOutputOpts(flags) {
44
44
  async function handleSdkError(err, outOpts, out) {
45
45
  const { CurviateError } = await import("@curviate/sdk");
46
46
  if (err instanceof CurviateError) {
47
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
47
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
48
48
  renderError(err, outOpts, out);
49
49
  process.exit(getExitCode(err.code));
50
50
  }
@@ -2,26 +2,26 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-63X3VI3T.js";
6
6
  import {
7
7
  normalizeGroupId
8
8
  } from "./chunk-UEAX6KUB.js";
9
9
  import {
10
10
  requireAccount
11
- } from "./chunk-LCLYFE54.js";
11
+ } from "./chunk-GHT2DLZR.js";
12
12
  import {
13
13
  createClient,
14
14
  renderError,
15
15
  renderSuccess,
16
16
  renderUnexpectedError,
17
17
  resolveEffectiveConfig
18
- } from "./chunk-XHVR32RW.js";
18
+ } from "./chunk-5KANHEBN.js";
19
19
  import "./chunk-KTY7R27U.js";
20
20
  import {
21
21
  GLOBAL_FLAGS,
22
22
  READ_SINGLE_FLAGS
23
23
  } from "./chunk-AHYUM2XQ.js";
24
- import "./chunk-PMRQXBCP.js";
24
+ import "./chunk-2OG6M6ME.js";
25
25
 
26
26
  // src/commands/group.ts
27
27
  import { defineCommand } from "citty";
@@ -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-KAVZN5BQ.js");
57
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
58
58
  renderError(err, outOpts, out);
59
59
  process.exit(getExitCode(err.code));
60
60
  }
@@ -1,14 +1,18 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ RETRIEVAL_FLAGS,
4
+ parseRetrievalFlags
5
+ } from "./chunk-PQWDDSV7.js";
2
6
  import {
3
7
  pageDelayFromFlags,
4
8
  streamAll
5
- } from "./chunk-PS6QPY67.js";
9
+ } from "./chunk-63X3VI3T.js";
6
10
  import {
7
11
  normalizeChatId
8
12
  } from "./chunk-UEAX6KUB.js";
9
13
  import {
10
14
  requireAccount
11
- } from "./chunk-LCLYFE54.js";
15
+ } from "./chunk-GHT2DLZR.js";
12
16
  import {
13
17
  buildPreviewOutput
14
18
  } from "./chunk-R3VLWLVV.js";
@@ -18,14 +22,14 @@ import {
18
22
  renderSuccess,
19
23
  renderUnexpectedError,
20
24
  resolveEffectiveConfig
21
- } from "./chunk-XHVR32RW.js";
25
+ } from "./chunk-5KANHEBN.js";
22
26
  import "./chunk-KTY7R27U.js";
23
27
  import {
24
28
  GLOBAL_FLAGS,
25
29
  READ_SINGLE_FLAGS,
26
30
  WRITE_SINGLE_FLAGS
27
31
  } from "./chunk-AHYUM2XQ.js";
28
- import "./chunk-PMRQXBCP.js";
32
+ import "./chunk-2OG6M6ME.js";
29
33
 
30
34
  // src/commands/inbox.ts
31
35
  import { defineCommand } from "citty";
@@ -91,7 +95,7 @@ function validateInboxFolder(raw, out) {
91
95
  async function handleSdkError(err, outOpts, out) {
92
96
  const { CurviateError } = await import("@curviate/sdk");
93
97
  if (err instanceof CurviateError) {
94
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
98
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
95
99
  renderError(err, outOpts, out);
96
100
  process.exit(getExitCode(err.code));
97
101
  }
@@ -135,12 +139,18 @@ async function runInboxList(client, flags, out) {
135
139
  async function runInboxGet(client, flags, out) {
136
140
  rejectPreviewOnRead(flags.preview, out);
137
141
  rejectAllOnNonPaginated(flags.all, out);
142
+ const retrieval = parseRetrievalFlags(flags);
143
+ if (!retrieval.ok) {
144
+ out.stderr.write(retrieval.error);
145
+ process.exit(2);
146
+ return;
147
+ }
138
148
  const accountId = await requireAccount(client, flags, out);
139
149
  const chatId = normalizeChatId(flags.chatId ?? "");
140
150
  const ns = client.account(accountId);
141
151
  const outOpts = resolveOutputOpts(flags);
142
152
  try {
143
- const result = await ns.messaging.getChat(chatId);
153
+ const result = await ns.messaging.getChat(chatId, retrieval.query);
144
154
  renderSuccess(result, outOpts, out);
145
155
  } catch (err) {
146
156
  await handleSdkError(err, outOpts, out);
@@ -166,13 +176,19 @@ async function runInboxMarkRead(client, flags, out) {
166
176
  }
167
177
  async function runInboxMessages(client, flags, out) {
168
178
  rejectPreviewOnRead(flags.preview, out);
179
+ const retrieval = parseRetrievalFlags(flags);
180
+ if (!retrieval.ok) {
181
+ out.stderr.write(retrieval.error);
182
+ process.exit(2);
183
+ return;
184
+ }
169
185
  const accountId = await requireAccount(client, flags, out);
170
186
  const chatId = normalizeChatId(flags.chatId ?? "");
171
187
  const ns = client.account(accountId);
172
188
  const outOpts = resolveOutputOpts(flags);
173
189
  const all = flags.all ?? false;
174
190
  const maxPages = flags["max-pages"] ? parseInt(flags["max-pages"], 10) : 100;
175
- const params = buildPaginationParams(flags);
191
+ const params = { ...buildPaginationParams(flags), ...retrieval.query };
176
192
  validateLimitRange(flags.limit, out);
177
193
  if (flags.before !== void 0) {
178
194
  validateIsoZTimestamp(flags.before, "before", out);
@@ -269,6 +285,7 @@ var inboxGetCommand = defineCommand({
269
285
  args: {
270
286
  // Single-object read: READ_SINGLE_FLAGS omits pagination flags, keeps --fields
271
287
  ...READ_SINGLE_FLAGS,
288
+ ...RETRIEVAL_FLAGS,
272
289
  chatId: { type: "positional", description: "Chat ID." }
273
290
  },
274
291
  async run({ args }) {
@@ -318,6 +335,7 @@ var inboxMessagesCommand = defineCommand({
318
335
  meta: { name: "messages", description: "List messages in a chat. A very recent send/delete may take a few minutes to appear or clear here (LinkedIn-side indexing); `message get <chat_id> <message_id>` reflects it immediately." },
319
336
  args: {
320
337
  ...GLOBAL_FLAGS,
338
+ ...RETRIEVAL_FLAGS,
321
339
  limit: { type: "string", description: "Number of items to return per page (1-25, default 20)." },
322
340
  chatId: { type: "positional", description: "Chat ID." },
323
341
  before: {
@@ -2,23 +2,23 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-63X3VI3T.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-LCLYFE54.js";
8
+ } from "./chunk-GHT2DLZR.js";
9
9
  import {
10
10
  createClient,
11
11
  renderError,
12
12
  renderSuccess,
13
13
  renderUnexpectedError,
14
14
  resolveEffectiveConfig
15
- } from "./chunk-XHVR32RW.js";
15
+ } from "./chunk-5KANHEBN.js";
16
16
  import "./chunk-KTY7R27U.js";
17
17
  import {
18
18
  GLOBAL_FLAGS,
19
19
  READ_SINGLE_FLAGS
20
20
  } from "./chunk-AHYUM2XQ.js";
21
- import "./chunk-PMRQXBCP.js";
21
+ import "./chunk-2OG6M6ME.js";
22
22
 
23
23
  // src/commands/inboxes.ts
24
24
  import { defineCommand } from "citty";
@@ -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-KAVZN5BQ.js");
54
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
55
55
  renderError(err, outOpts, out);
56
56
  process.exit(getExitCode(err.code));
57
57
  }
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  slimJob
4
- } from "./chunk-VAUKRTRG.js";
4
+ } from "./chunk-LJR4LJG6.js";
5
5
  import {
6
6
  DEFAULT_PAGE_DELAY_MS,
7
7
  ndjsonModeNotice,
8
8
  pageDelayFromFlags,
9
9
  streamAll
10
- } from "./chunk-PS6QPY67.js";
10
+ } from "./chunk-63X3VI3T.js";
11
11
  import {
12
12
  BinaryOutputError,
13
13
  writeBinaryOutput
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-UEAX6KUB.js";
18
18
  import {
19
19
  requireAccount
20
- } from "./chunk-LCLYFE54.js";
20
+ } from "./chunk-GHT2DLZR.js";
21
21
  import {
22
22
  buildPreviewOutput
23
23
  } from "./chunk-R3VLWLVV.js";
@@ -27,14 +27,14 @@ import {
27
27
  renderSuccess,
28
28
  renderUnexpectedError,
29
29
  resolveEffectiveConfig
30
- } from "./chunk-XHVR32RW.js";
30
+ } from "./chunk-5KANHEBN.js";
31
31
  import "./chunk-KTY7R27U.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  READ_SINGLE_FLAGS,
35
35
  WRITE_SINGLE_FLAGS
36
36
  } from "./chunk-AHYUM2XQ.js";
37
- import "./chunk-PMRQXBCP.js";
37
+ import "./chunk-2OG6M6ME.js";
38
38
 
39
39
  // src/commands/job.ts
40
40
  import { defineCommand } from "citty";
@@ -96,7 +96,7 @@ function requireEnum(value, allowed, flag, out) {
96
96
  async function handleSdkError(err, outOpts, out) {
97
97
  const { CurviateError } = await import("@curviate/sdk");
98
98
  if (err instanceof CurviateError) {
99
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
99
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
100
100
  renderError(err, outOpts, out);
101
101
  process.exit(getExitCode(err.code));
102
102
  }
@@ -13,17 +13,17 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-RXIPY4O7.js";
16
+ } from "./chunk-TAOXJNQN.js";
17
17
  import "./chunk-HOQ7EUHJ.js";
18
18
  import "./chunk-BGZW6B7G.js";
19
19
  import "./chunk-UWO2D4HW.js";
20
20
  import "./chunk-UEAX6KUB.js";
21
- import "./chunk-LCLYFE54.js";
21
+ import "./chunk-GHT2DLZR.js";
22
22
  import "./chunk-R3VLWLVV.js";
23
- import "./chunk-XHVR32RW.js";
23
+ import "./chunk-5KANHEBN.js";
24
24
  import "./chunk-KTY7R27U.js";
25
25
  import "./chunk-AHYUM2XQ.js";
26
- import "./chunk-PMRQXBCP.js";
26
+ import "./chunk-2OG6M6ME.js";
27
27
  export {
28
28
  guardBareMessageForm,
29
29
  messageCommand,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-63X3VI3T.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-LCLYFE54.js";
8
+ } from "./chunk-GHT2DLZR.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-R3VLWLVV.js";
@@ -15,13 +15,13 @@ import {
15
15
  renderSuccess,
16
16
  renderUnexpectedError,
17
17
  resolveEffectiveConfig
18
- } from "./chunk-XHVR32RW.js";
18
+ } from "./chunk-5KANHEBN.js";
19
19
  import "./chunk-KTY7R27U.js";
20
20
  import {
21
21
  GLOBAL_FLAGS,
22
22
  WRITE_SINGLE_FLAGS
23
23
  } from "./chunk-AHYUM2XQ.js";
24
- import "./chunk-PMRQXBCP.js";
24
+ import "./chunk-2OG6M6ME.js";
25
25
 
26
26
  // src/commands/notification.ts
27
27
  import { defineCommand } from "citty";
@@ -48,7 +48,7 @@ function resolveOutputOpts(flags) {
48
48
  async function handleSdkError(err, outOpts, out) {
49
49
  const { CurviateError } = await import("@curviate/sdk");
50
50
  if (err instanceof CurviateError) {
51
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
51
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
52
52
  renderError(err, outOpts, out);
53
53
  process.exit(getExitCode(err.code));
54
54
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-RJTG5YWE.js";
4
+ } from "./chunk-6P52Q2GK.js";
5
5
  import {
6
6
  AttachError,
7
7
  readAttachment,
@@ -10,11 +10,11 @@ import {
10
10
  import {
11
11
  pageDelayFromFlags,
12
12
  streamAll
13
- } from "./chunk-PS6QPY67.js";
13
+ } from "./chunk-63X3VI3T.js";
14
14
  import "./chunk-UEAX6KUB.js";
15
15
  import {
16
16
  requireAccount
17
- } from "./chunk-LCLYFE54.js";
17
+ } from "./chunk-GHT2DLZR.js";
18
18
  import {
19
19
  buildPreviewOutput
20
20
  } from "./chunk-R3VLWLVV.js";
@@ -24,7 +24,7 @@ import {
24
24
  renderSuccess,
25
25
  renderUnexpectedError,
26
26
  resolveEffectiveConfig
27
- } from "./chunk-XHVR32RW.js";
27
+ } from "./chunk-5KANHEBN.js";
28
28
  import "./chunk-KTY7R27U.js";
29
29
  import {
30
30
  GLOBAL_FLAGS,
@@ -32,7 +32,7 @@ import {
32
32
  WRITE_SINGLE_FLAGS,
33
33
  resolveTextOrStdin
34
34
  } from "./chunk-AHYUM2XQ.js";
35
- import "./chunk-PMRQXBCP.js";
35
+ import "./chunk-2OG6M6ME.js";
36
36
 
37
37
  // src/commands/post.ts
38
38
  import { defineCommand } from "citty";
@@ -75,7 +75,7 @@ function normalizeAttachPaths(attach) {
75
75
  async function handleSdkError(err, outOpts, out) {
76
76
  const { CurviateError } = await import("@curviate/sdk");
77
77
  if (err instanceof CurviateError) {
78
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
78
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
79
79
  renderError(err, outOpts, out);
80
80
  process.exit(getExitCode(err.code));
81
81
  }