@curviate/cli 0.25.0 → 0.26.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 (28) hide show
  1. package/CHANGELOG.md +68 -1
  2. package/README.md +46 -0
  3. package/dist/{account-52BUCCTZ.js → account-ZNBG7C3J.js} +5 -5
  4. package/dist/{chunk-RXIPY4O7.js → chunk-KTKKZGJV.js} +3 -3
  5. package/dist/{chunk-VAUKRTRG.js → chunk-LJR4LJG6.js} +2 -1
  6. package/dist/{chunk-XHVR32RW.js → chunk-PMWEDWJ3.js} +28 -0
  7. package/dist/{chunk-PMRQXBCP.js → chunk-RPRIMRIU.js} +11 -0
  8. package/dist/{chunk-PS6QPY67.js → chunk-RZ36UBML.js} +1 -1
  9. package/dist/{chunk-LCLYFE54.js → chunk-V75UFUF2.js} +1 -1
  10. package/dist/cli.js +17 -17
  11. package/dist/{comment-XAF7AMHR.js → comment-TTOQPMSO.js} +5 -5
  12. package/dist/{company-PAKHOCVR.js → company-HD3WIYP6.js} +7 -7
  13. package/dist/{connect-5TMGM326.js → connect-Y2FWUXDA.js} +11 -11
  14. package/dist/{exit-codes-KAVZN5BQ.js → exit-codes-4RCNQJUB.js} +1 -1
  15. package/dist/{feed-E5EQMI7T.js → feed-I7QG7Y2Y.js} +5 -5
  16. package/dist/{group-SNCEAWKI.js → group-RXZVIOTU.js} +5 -5
  17. package/dist/{inbox-R5OSZWTG.js → inbox-25JJBITH.js} +5 -5
  18. package/dist/{inboxes-6XMIABRX.js → inboxes-CD3OVL76.js} +5 -5
  19. package/dist/{job-3HU7KQQI.js → job-ITLUWM3G.js} +6 -6
  20. package/dist/{message-GA7D3A6Y.js → message-WNYEHK2B.js} +4 -4
  21. package/dist/{notification-B5PTNNPE.js → notification-5PETFBMH.js} +5 -5
  22. package/dist/{post-QAVRVRON.js → post-7IROSWFO.js} +5 -5
  23. package/dist/{profile-REKGQYAW.js → profile-MF5L5BTE.js} +10 -10
  24. package/dist/{recruiter-N36AROW7.js → recruiter-24BX6WU3.js} +6 -6
  25. package/dist/{sales-nav-Q5RVL4PR.js → sales-nav-3EY4H6MR.js} +5 -5
  26. package/dist/{search-SYWHOM5J.js → search-UPYL2NB6.js} +14 -14
  27. package/dist/{webhook-RE2BGX3N.js → webhook-SUCCPKXZ.js} +3 -3
  28. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -6,7 +6,74 @@ 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; a fix is a patch.
8
8
 
9
- ## [Unreleased]
9
+ ## [0.26.0] - 2026-09-05
10
+
11
+ ### Added
12
+
13
+ - **Exit code `13`, account-safety budget.** `BUDGET_EXHAUSTED` is a `429`,
14
+ but it is not a rate limit: it is Curviate's OWN ceiling, on a number you
15
+ configured, and nothing reached LinkedIn. Exit `6` tells a scripted caller
16
+ to back off and retry, which is the wrong action here (the reset can be a
17
+ month out, and raising the limit lifts it now), and leaving it unmapped
18
+ fell to `1`, which reads as an internal failure. `13` is a new bucket for
19
+ a genuinely new condition. Nothing that used to exit `6` changes.
20
+ - **The refusal is rendered as data, not prose.** Human mode names the row,
21
+ whether the cause was the ceiling or the activity window, when it frees (and
22
+ where no clock frees it, which of the two causes that is: the invitation
23
+ backlog, or an InMail credit pool LinkedIn regrants on its own schedule), and
24
+ the exact parameter to change. `--json` carries `budgetRow`, `resetAt`,
25
+ `safetyHint`, `safetyReason` and `blocked` through untouched.
26
+ - **A `429` naming a PAUSED row says so, and says the other rows still work.**
27
+ `PLATFORM_RATE_LIMIT` with a `budgetRow` means LinkedIn refused a recent
28
+ call on that one row. The pause is scoped to `(account, row)`, so the
29
+ recovery is to switch work rather than back off across the account.
30
+ - **`account_states` is a slim field on `account get`.** Platform conditions
31
+ the account is in right now, concurrent with and independent of `status`.
32
+ Two of the three are read on calls that SUCCEEDED (thin search results,
33
+ empty profile views), so projecting them away would hide them exactly when
34
+ they explain what you are looking at.
35
+ - **Exit code `8` for `LINKEDIN_SESSION_EVICTED`.** LinkedIn allows one
36
+ session at a time for some accounts; a person signing in elsewhere breaks
37
+ the connected one. It is the account's connection state, not your
38
+ credentials, and reconnecting does nothing while the other session is open.
39
+ It used to fall to the unmapped `1`.
40
+ - README documents exit `13` beside `6` and shows the refusal envelope.
41
+
42
+ ### Fixed
43
+
44
+ - **`FILTER_CANDIDATES_REQUIRED` now exits `2` instead of `1`.** It has been in
45
+ the SDK's taxonomy and absent from the exit-code table, so it fell to the
46
+ unmapped `1` and read as an internal failure. It is a `422` saying a
47
+ plain-string search filter matched several LinkedIn taxonomy options;
48
+ `unresolved[]` names the fields and their candidate ids, and the fix is to
49
+ re-send with a chosen id, which is the exit-2 contract exactly. Found by the
50
+ new SDK-pin gate on its first run.
51
+
52
+ ### Changed
53
+
54
+ - **`@curviate/sdk` pin bumped `0.24.3` -> `0.25.0`, which is what makes exit
55
+ `13` live.** The previous pin predated `BUDGET_EXHAUSTED`, so the wire code
56
+ decoded to `INTERNAL`, `INTERNAL` is retryable on a GET, and the binary
57
+ answered exit `1` after four requests with every payload field dropped. The
58
+ CLI's own logic was correct throughout; the dependency was the defect. The
59
+ vendored OpenAPI fixture (`test/fixtures/openapi.json`) was re-copied from
60
+ the SDK at that version and `VENDORED_FROM.json` re-recorded with it, as the
61
+ fixture-pin guard requires.
62
+
63
+ ### Removed
64
+
65
+ - **The casts that stood in for the unpublished taxonomy are gone**, on
66
+ schedule and with nothing left to remember: `["BUDGET_EXHAUSTED" as
67
+ ErrorCode]` and `["LINKEDIN_SESSION_EVICTED" as ErrorCode]` in
68
+ `src/lib/exit-codes.ts`, and the `errJson as {...}` widening plus
69
+ `(errJson.code as string)` in `src/lib/output.ts`. `CurviateErrorJSON` now
70
+ declares all six safety fields natively.
71
+ - **The hand-copied `ALL_ERROR_CODES` array in `test/lib/exit-codes.test.ts`**,
72
+ replaced by the SDK's exported `ERROR_CODES`. The copy could not fail for the
73
+ case it existed to catch: a code the SDK added and nobody copied across was
74
+ invisible to a loop that iterated the copy. The taxonomy is now derived from
75
+ the same tuple `ErrorCode` is built from, so the two cannot drift. The
76
+ SDK-pin block that made this possible remains as the pin-REGRESSION gate.
10
77
 
11
78
  ## [0.25.0] - 2026-08-29
12
79
 
package/README.md CHANGED
@@ -459,6 +459,52 @@ curviate recruiter job get "https://www.linkedin.com/jobs/view/4428113858" --acc
459
459
  | 10 | Messaging window expired or recipient unreachable |
460
460
  | 11 | Billing issue (payment required, failed, or seat cancelled) |
461
461
  | 12 | Auth action needed (a pending checkpoint; not an error) |
462
+ | 13 | Account-safety budget: Curviate's own ceiling refused the action |
463
+
464
+ ### 6 and 13 are both `429`, and they need different actions
465
+
466
+ Exit `6` means LinkedIn or Curviate's request limiter refused you: back off and
467
+ retry later.
468
+
469
+ Exit `13` means an account-safety ceiling YOU configured is spent, or the
470
+ account is outside the hours it works in. Nothing reached LinkedIn and nothing
471
+ was spent, so backing off is the wrong move: the reset can be a month out, and
472
+ you can lift it now. The error body names what to do, so branch on the fields
473
+ rather than parsing the message:
474
+
475
+ ```json
476
+ {
477
+ "error": {
478
+ "code": "BUDGET_EXHAUSTED",
479
+ "budgetRow": "profile_views",
480
+ "resetAt": "2026-09-06T00:00:00.000Z",
481
+ "safetyReason": "ceiling",
482
+ "safetyHint": {
483
+ "parameter": "profile_views.ceiling",
484
+ "message": "effective ceiling 15 = 100 x warm-up 0.15 (week 0, account_age)."
485
+ },
486
+ "blocked": true
487
+ }
488
+ }
489
+ ```
490
+
491
+ - `safetyReason` is `ceiling` (the row's limit is spent) or `activity_window`
492
+ (the account is outside its working hours). The fixes differ.
493
+ - `resetAt` is an absolute instant, so it stays true however long you hold it.
494
+ It is `null` in the two cases where no clock frees the account: the
495
+ invitation backlog, which falls when invitations are accepted or withdrawn
496
+ rather than at any window edge, and an InMail credit exhaustion, which
497
+ LinkedIn regrants on its own schedule. Null-check it before scheduling on it.
498
+ - `safetyHint.parameter` is addressable on the safety policy, so an agent can
499
+ choose between waiting, escalating and reconfiguring without reading prose.
500
+ - On the default posture nothing is refused at all: the action goes through and
501
+ the same payload rides the SUCCESS body under `safety_warning` with
502
+ `blocked: false`.
503
+
504
+ A `429` that carries `budgetRow` under `PLATFORM_RATE_LIMIT` is a third thing:
505
+ that row is PAUSED because LinkedIn refused a recent call on it. The pause is
506
+ scoped to that one row, so every other row on the account still works and the
507
+ recovery is to switch work, not to wait out the account.
462
508
 
463
509
  ## License
464
510
 
@@ -6,11 +6,11 @@ import {
6
6
  slimAccountGet,
7
7
  slimAccountList,
8
8
  slimAccountListItem
9
- } from "./chunk-VAUKRTRG.js";
9
+ } from "./chunk-LJR4LJG6.js";
10
10
  import {
11
11
  pageDelayFromFlags,
12
12
  streamAll
13
- } from "./chunk-PS6QPY67.js";
13
+ } from "./chunk-RZ36UBML.js";
14
14
  import {
15
15
  buildPreviewOutput
16
16
  } from "./chunk-R3VLWLVV.js";
@@ -20,7 +20,7 @@ import {
20
20
  renderSuccess,
21
21
  renderUnexpectedError,
22
22
  resolveEffectiveConfig
23
- } from "./chunk-XHVR32RW.js";
23
+ } from "./chunk-PMWEDWJ3.js";
24
24
  import "./chunk-KTY7R27U.js";
25
25
  import {
26
26
  GLOBAL_FLAGS,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-AHYUM2XQ.js";
31
31
  import {
32
32
  AUTH_NEEDED
33
- } from "./chunk-PMRQXBCP.js";
33
+ } from "./chunk-RPRIMRIU.js";
34
34
 
35
35
  // src/commands/account.ts
36
36
  import { defineCommand } from "citty";
@@ -220,7 +220,7 @@ function resolveOutputOpts(flags) {
220
220
  async function handleError(err, outOpts, out) {
221
221
  const { CurviateError } = await import("@curviate/sdk");
222
222
  if (err instanceof CurviateError) {
223
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
223
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
224
224
  renderError(err, outOpts, out);
225
225
  process.exit(getExitCode(err.code));
226
226
  }
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-UEAX6KUB.js";
19
19
  import {
20
20
  requireAccount
21
- } from "./chunk-LCLYFE54.js";
21
+ } from "./chunk-V75UFUF2.js";
22
22
  import {
23
23
  buildPreviewOutput
24
24
  } from "./chunk-R3VLWLVV.js";
@@ -28,7 +28,7 @@ import {
28
28
  renderSuccess,
29
29
  renderUnexpectedError,
30
30
  resolveEffectiveConfig
31
- } from "./chunk-XHVR32RW.js";
31
+ } from "./chunk-PMWEDWJ3.js";
32
32
  import {
33
33
  READ_SINGLE_FLAGS,
34
34
  WRITE_FLAGS,
@@ -71,7 +71,7 @@ var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
71
71
  async function handleSdkError(err, outOpts, out) {
72
72
  const { CurviateError } = await import("@curviate/sdk");
73
73
  if (err instanceof CurviateError) {
74
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
74
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
75
75
  renderError(err, outOpts, out);
76
76
  process.exit(getExitCode(err.code));
77
77
  }
@@ -216,7 +216,8 @@ function slimAccountGet(data) {
216
216
  seat_id: d["seat_id"] ?? null,
217
217
  connected_at: d["connected_at"] ?? null,
218
218
  last_checked_at: d["last_checked_at"] ?? null,
219
- quotas: d["quotas"] ?? []
219
+ quotas: d["quotas"] ?? [],
220
+ account_states: d["account_states"] ?? []
220
221
  };
221
222
  }
222
223
  function slimJob(data) {
@@ -199,6 +199,34 @@ function renderError(err, opts, out) {
199
199
  msg += `
200
200
  Required tier: ${errJson.requiredTier}`;
201
201
  }
202
+ const safety = errJson;
203
+ if (safety.budgetRow) {
204
+ if (errJson.code === "BUDGET_EXHAUSTED") {
205
+ const why = safety.safetyReason === "activity_window" ? "outside its activity window" : "at its ceiling";
206
+ msg += `
207
+ Safety budget: ${safety.budgetRow} is ${why}`;
208
+ if (safety.resetAt === null) {
209
+ const frees = safety.budgetRow === "inmail" ? "when LinkedIn regrants credits" : safety.budgetRow === "pending_invites" ? "when the backlog clears" : "on its own";
210
+ msg += `
211
+ No reset instant: this frees ${frees}, not on a schedule`;
212
+ } else if (safety.resetAt) {
213
+ msg += `
214
+ Resets at: ${safety.resetAt}`;
215
+ }
216
+ if (safety.safetyHint?.parameter) {
217
+ msg += `
218
+ Change: ${safety.safetyHint.parameter}`;
219
+ }
220
+ if (safety.safetyHint?.message) {
221
+ msg += `
222
+ ${safety.safetyHint.message}`;
223
+ }
224
+ } else {
225
+ const wait = safety.retryAfterSeconds ? ` for ${safety.retryAfterSeconds}s` : "";
226
+ msg += `
227
+ Paused budget row: ${safety.budgetRow}${wait} (other rows on this account still work)`;
228
+ }
229
+ }
202
230
  if (errJson.retryAfterMs) {
203
231
  msg += `
204
232
  Retry after: ${errJson.retryAfterMs}ms`;
@@ -8,6 +8,14 @@ var EXIT_CODE_MAP = {
8
8
  INVALID_REQUEST: 2,
9
9
  UNSUPPORTED_MEDIA_TYPE: 2,
10
10
  PAYLOAD_TOO_LARGE: 2,
11
+ // 2, found by the SDK-pin gate at the bottom of test/lib/exit-codes.test.ts
12
+ // on its first run. It has been in the SDK's taxonomy and absent from this
13
+ // table, so it fell to the unmapped 1 and read as an internal failure. It is
14
+ // a 422 saying a plain-string search filter matched several LinkedIn
15
+ // taxonomy options: `unresolved[]` names the fields and their candidate ids,
16
+ // it is user_fixable, and it is never retryable AS SENT. Re-send with a
17
+ // chosen id, which is the exit-2 contract exactly.
18
+ FILTER_CANDIDATES_REQUIRED: 2,
11
19
  // Not found (4)
12
20
  RESOURCE_NOT_FOUND: 4,
13
21
  ACCOUNT_NOT_FOUND: 4,
@@ -29,6 +37,7 @@ var EXIT_CODE_MAP = {
29
37
  ACCOUNT_RESTRICTED: 8,
30
38
  RESOURCE_ACCESS_RESTRICTED: 8,
31
39
  LINKEDIN_AUTH_FAILED: 8,
40
+ LINKEDIN_SESSION_EVICTED: 8,
32
41
  LINKEDIN_COOKIE_INVALID: 8,
33
42
  CONNECTION_IN_PROGRESS: 8,
34
43
  ACCOUNT_ALREADY_LINKED: 8,
@@ -51,6 +60,8 @@ var EXIT_CODE_MAP = {
51
60
  PAYMENT_FAILED: 11,
52
61
  SUBSCRIPTION_BUSY: 11,
53
62
  SEAT_CANCELLED: 11,
63
+ // Account-safety budget (13), see the note above for why this is not 6
64
+ BUDGET_EXHAUSTED: 13,
54
65
  // Internal / uncaught (1), last resort bucket
55
66
  INTERNAL: 1,
56
67
  PLATFORM_NOT_IMPLEMENTED: 1
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  renderNotices
4
- } from "./chunk-XHVR32RW.js";
4
+ } from "./chunk-PMWEDWJ3.js";
5
5
 
6
6
  // src/lib/paginate.ts
7
7
  var PaginateError = class extends Error {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-AHYUM2XQ.js";
5
5
  import {
6
6
  getExitCode
7
- } from "./chunk-PMRQXBCP.js";
7
+ } from "./chunk-RPRIMRIU.js";
8
8
 
9
9
  // src/lib/path-safety.ts
10
10
  var UNSAFE_CHARS = /[\u0000-\u0020\u007F/\\?#%]/;
package/dist/cli.js CHANGED
@@ -340,23 +340,23 @@ var main = defineCommand({
340
340
  // ---------------------------------------------------------------------------
341
341
  // Noun groups, lazy-loaded on first invocation.
342
342
  // ---------------------------------------------------------------------------
343
- profile: () => import("./profile-REKGQYAW.js").then((m) => m.profileCommand),
344
- company: () => import("./company-PAKHOCVR.js").then((m) => m.companyCommand),
345
- job: () => import("./job-3HU7KQQI.js").then((m) => m.jobCommand),
346
- connect: () => import("./connect-5TMGM326.js").then((m) => m.connectCommand),
347
- search: () => import("./search-SYWHOM5J.js").then((m) => m.searchCommand),
348
- inbox: () => import("./inbox-R5OSZWTG.js").then((m) => m.inboxCommand),
349
- inboxes: () => import("./inboxes-6XMIABRX.js").then((m) => m.inboxesCommand),
350
- message: () => import("./message-GA7D3A6Y.js").then((m) => m.messageCommand),
351
- post: () => import("./post-QAVRVRON.js").then((m) => m.postCommand),
352
- comment: () => import("./comment-XAF7AMHR.js").then((m) => m.commentCommand),
353
- account: () => import("./account-52BUCCTZ.js").then((m) => m.accountCommand),
354
- webhook: () => import("./webhook-RE2BGX3N.js").then((m) => m.webhookCommand),
355
- "sales-nav": () => import("./sales-nav-Q5RVL4PR.js").then((m) => m.salesNavCommand),
356
- recruiter: () => import("./recruiter-N36AROW7.js").then((m) => m.recruiterCommand),
357
- group: () => import("./group-SNCEAWKI.js").then((m) => m.groupCommand),
358
- feed: () => import("./feed-E5EQMI7T.js").then((m) => m.feedCommand),
359
- notification: () => import("./notification-B5PTNNPE.js").then((m) => m.notificationCommand)
343
+ profile: () => import("./profile-MF5L5BTE.js").then((m) => m.profileCommand),
344
+ company: () => import("./company-HD3WIYP6.js").then((m) => m.companyCommand),
345
+ job: () => import("./job-ITLUWM3G.js").then((m) => m.jobCommand),
346
+ connect: () => import("./connect-Y2FWUXDA.js").then((m) => m.connectCommand),
347
+ search: () => import("./search-UPYL2NB6.js").then((m) => m.searchCommand),
348
+ inbox: () => import("./inbox-25JJBITH.js").then((m) => m.inboxCommand),
349
+ inboxes: () => import("./inboxes-CD3OVL76.js").then((m) => m.inboxesCommand),
350
+ message: () => import("./message-WNYEHK2B.js").then((m) => m.messageCommand),
351
+ post: () => import("./post-7IROSWFO.js").then((m) => m.postCommand),
352
+ comment: () => import("./comment-TTOQPMSO.js").then((m) => m.commentCommand),
353
+ account: () => import("./account-ZNBG7C3J.js").then((m) => m.accountCommand),
354
+ webhook: () => import("./webhook-SUCCPKXZ.js").then((m) => m.webhookCommand),
355
+ "sales-nav": () => import("./sales-nav-3EY4H6MR.js").then((m) => m.salesNavCommand),
356
+ recruiter: () => import("./recruiter-24BX6WU3.js").then((m) => m.recruiterCommand),
357
+ group: () => import("./group-RXZVIOTU.js").then((m) => m.groupCommand),
358
+ feed: () => import("./feed-I7QG7Y2Y.js").then((m) => m.feedCommand),
359
+ notification: () => import("./notification-5PETFBMH.js").then((m) => m.notificationCommand)
360
360
  },
361
361
  async run() {
362
362
  const { runMain } = await import("citty");
@@ -11,11 +11,11 @@ import {
11
11
  import {
12
12
  pageDelayFromFlags,
13
13
  streamAll
14
- } from "./chunk-PS6QPY67.js";
14
+ } from "./chunk-RZ36UBML.js";
15
15
  import "./chunk-UEAX6KUB.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-LCLYFE54.js";
18
+ } from "./chunk-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.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-KTKKZGJV.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-RZ36UBML.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-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.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-RZ36UBML.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-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.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-4RCNQJUB.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-4RCNQJUB.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-4RCNQJUB.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-4RCNQJUB.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-4RCNQJUB.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-RPRIMRIU.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-RZ36UBML.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-LCLYFE54.js";
8
+ } from "./chunk-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.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-RZ36UBML.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-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.js");
58
58
  renderError(err, outOpts, out);
59
59
  process.exit(getExitCode(err.code));
60
60
  }
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-RZ36UBML.js";
6
6
  import {
7
7
  normalizeChatId
8
8
  } from "./chunk-UEAX6KUB.js";
9
9
  import {
10
10
  requireAccount
11
- } from "./chunk-LCLYFE54.js";
11
+ } from "./chunk-V75UFUF2.js";
12
12
  import {
13
13
  buildPreviewOutput
14
14
  } from "./chunk-R3VLWLVV.js";
@@ -18,14 +18,14 @@ import {
18
18
  renderSuccess,
19
19
  renderUnexpectedError,
20
20
  resolveEffectiveConfig
21
- } from "./chunk-XHVR32RW.js";
21
+ } from "./chunk-PMWEDWJ3.js";
22
22
  import "./chunk-KTY7R27U.js";
23
23
  import {
24
24
  GLOBAL_FLAGS,
25
25
  READ_SINGLE_FLAGS,
26
26
  WRITE_SINGLE_FLAGS
27
27
  } from "./chunk-AHYUM2XQ.js";
28
- import "./chunk-PMRQXBCP.js";
28
+ import "./chunk-RPRIMRIU.js";
29
29
 
30
30
  // src/commands/inbox.ts
31
31
  import { defineCommand } from "citty";
@@ -91,7 +91,7 @@ function validateInboxFolder(raw, out) {
91
91
  async function handleSdkError(err, outOpts, out) {
92
92
  const { CurviateError } = await import("@curviate/sdk");
93
93
  if (err instanceof CurviateError) {
94
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
94
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
95
95
  renderError(err, outOpts, out);
96
96
  process.exit(getExitCode(err.code));
97
97
  }
@@ -2,23 +2,23 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-RZ36UBML.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-LCLYFE54.js";
8
+ } from "./chunk-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.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-RZ36UBML.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-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.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-KTKKZGJV.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-V75UFUF2.js";
22
22
  import "./chunk-R3VLWLVV.js";
23
- import "./chunk-XHVR32RW.js";
23
+ import "./chunk-PMWEDWJ3.js";
24
24
  import "./chunk-KTY7R27U.js";
25
25
  import "./chunk-AHYUM2XQ.js";
26
- import "./chunk-PMRQXBCP.js";
26
+ import "./chunk-RPRIMRIU.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-RZ36UBML.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-LCLYFE54.js";
8
+ } from "./chunk-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.js");
52
52
  renderError(err, outOpts, out);
53
53
  process.exit(getExitCode(err.code));
54
54
  }
@@ -10,11 +10,11 @@ import {
10
10
  import {
11
11
  pageDelayFromFlags,
12
12
  streamAll
13
- } from "./chunk-PS6QPY67.js";
13
+ } from "./chunk-RZ36UBML.js";
14
14
  import "./chunk-UEAX6KUB.js";
15
15
  import {
16
16
  requireAccount
17
- } from "./chunk-LCLYFE54.js";
17
+ } from "./chunk-V75UFUF2.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-PMWEDWJ3.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-RPRIMRIU.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-4RCNQJUB.js");
79
79
  renderError(err, outOpts, out);
80
80
  process.exit(getExitCode(err.code));
81
81
  }
@@ -11,17 +11,17 @@ import {
11
11
  import {
12
12
  slimProfile,
13
13
  slimProfileMe
14
- } from "./chunk-VAUKRTRG.js";
14
+ } from "./chunk-LJR4LJG6.js";
15
15
  import {
16
16
  pageDelayFromFlags,
17
17
  streamAll
18
- } from "./chunk-PS6QPY67.js";
18
+ } from "./chunk-RZ36UBML.js";
19
19
  import {
20
20
  resolveIdentifier
21
21
  } from "./chunk-UEAX6KUB.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-LCLYFE54.js";
24
+ } from "./chunk-V75UFUF2.js";
25
25
  import {
26
26
  buildPreviewOutput
27
27
  } from "./chunk-R3VLWLVV.js";
@@ -31,14 +31,14 @@ import {
31
31
  renderSuccess,
32
32
  renderUnexpectedError,
33
33
  resolveEffectiveConfig
34
- } from "./chunk-XHVR32RW.js";
34
+ } from "./chunk-PMWEDWJ3.js";
35
35
  import "./chunk-KTY7R27U.js";
36
36
  import {
37
37
  GLOBAL_FLAGS,
38
38
  READ_SINGLE_FLAGS,
39
39
  WRITE_SINGLE_FLAGS
40
40
  } from "./chunk-AHYUM2XQ.js";
41
- import "./chunk-PMRQXBCP.js";
41
+ import "./chunk-RPRIMRIU.js";
42
42
 
43
43
  // src/commands/profile.ts
44
44
  import { defineCommand } from "citty";
@@ -188,7 +188,7 @@ async function runProfileMe(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-4RCNQJUB.js");
192
192
  renderError(err, outOpts, out);
193
193
  process.exit(getExitCode(err.code));
194
194
  }
@@ -214,7 +214,7 @@ async function runProfileMe(client, flags, out) {
214
214
  } catch (err) {
215
215
  const { CurviateError } = await import("@curviate/sdk");
216
216
  if (err instanceof CurviateError) {
217
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
217
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
218
218
  renderError(err, outOpts, out);
219
219
  process.exit(getExitCode(err.code));
220
220
  }
@@ -340,7 +340,7 @@ async function runProfileGet(client, flags, out) {
340
340
  } catch (err) {
341
341
  const { CurviateError } = await import("@curviate/sdk");
342
342
  if (err instanceof CurviateError) {
343
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
343
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
344
344
  renderError(err, outOpts, out);
345
345
  process.exit(getExitCode(err.code));
346
346
  }
@@ -377,7 +377,7 @@ async function runProfileRelations(client, flags, out) {
377
377
  } catch (err) {
378
378
  const { CurviateError } = await import("@curviate/sdk");
379
379
  if (err instanceof CurviateError) {
380
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
380
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
381
381
  renderError(err, outOpts, out);
382
382
  process.exit(getExitCode(err.code));
383
383
  }
@@ -417,7 +417,7 @@ async function runProfileEndorse(client, flags, out) {
417
417
  async function handleSdkError(err, outOpts, out) {
418
418
  const { CurviateError } = await import("@curviate/sdk");
419
419
  if (err instanceof CurviateError) {
420
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
420
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
421
421
  renderError(err, outOpts, out);
422
422
  process.exit(getExitCode(err.code));
423
423
  }
@@ -11,11 +11,11 @@ import {
11
11
  } from "./chunk-BGZW6B7G.js";
12
12
  import {
13
13
  slimJob
14
- } from "./chunk-VAUKRTRG.js";
14
+ } from "./chunk-LJR4LJG6.js";
15
15
  import {
16
16
  pageDelayFromFlags,
17
17
  streamAll
18
- } from "./chunk-PS6QPY67.js";
18
+ } from "./chunk-RZ36UBML.js";
19
19
  import {
20
20
  BinaryOutputError,
21
21
  writeBinaryOutput
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-UEAX6KUB.js";
27
27
  import {
28
28
  requireAccount
29
- } from "./chunk-LCLYFE54.js";
29
+ } from "./chunk-V75UFUF2.js";
30
30
  import {
31
31
  buildPreviewOutput
32
32
  } from "./chunk-R3VLWLVV.js";
@@ -36,7 +36,7 @@ import {
36
36
  renderSuccess,
37
37
  renderUnexpectedError,
38
38
  resolveEffectiveConfig
39
- } from "./chunk-XHVR32RW.js";
39
+ } from "./chunk-PMWEDWJ3.js";
40
40
  import "./chunk-KTY7R27U.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
@@ -45,7 +45,7 @@ import {
45
45
  WRITE_SINGLE_FLAGS,
46
46
  isStdinToken
47
47
  } from "./chunk-AHYUM2XQ.js";
48
- import "./chunk-PMRQXBCP.js";
48
+ import "./chunk-RPRIMRIU.js";
49
49
 
50
50
  // src/commands/recruiter.ts
51
51
  import { defineCommand } from "citty";
@@ -77,7 +77,7 @@ function normalizeAttachPaths(attach) {
77
77
  async function handleSdkError(err, outOpts, out) {
78
78
  const { CurviateError } = await import("@curviate/sdk");
79
79
  if (err instanceof CurviateError) {
80
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
80
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
81
81
  renderError(err, outOpts, out);
82
82
  process.exit(getExitCode(err.code));
83
83
  }
@@ -12,13 +12,13 @@ import {
12
12
  import {
13
13
  pageDelayFromFlags,
14
14
  streamAll
15
- } from "./chunk-PS6QPY67.js";
15
+ } from "./chunk-RZ36UBML.js";
16
16
  import {
17
17
  resolveIdentifier
18
18
  } from "./chunk-UEAX6KUB.js";
19
19
  import {
20
20
  requireAccount
21
- } from "./chunk-LCLYFE54.js";
21
+ } from "./chunk-V75UFUF2.js";
22
22
  import {
23
23
  buildPreviewOutput
24
24
  } from "./chunk-R3VLWLVV.js";
@@ -28,14 +28,14 @@ import {
28
28
  renderSuccess,
29
29
  renderUnexpectedError,
30
30
  resolveEffectiveConfig
31
- } from "./chunk-XHVR32RW.js";
31
+ } from "./chunk-PMWEDWJ3.js";
32
32
  import "./chunk-KTY7R27U.js";
33
33
  import {
34
34
  GLOBAL_FLAGS,
35
35
  READ_SINGLE_FLAGS,
36
36
  WRITE_FLAGS
37
37
  } from "./chunk-AHYUM2XQ.js";
38
- import "./chunk-PMRQXBCP.js";
38
+ import "./chunk-RPRIMRIU.js";
39
39
 
40
40
  // src/commands/sales-nav.ts
41
41
  import { defineCommand } from "citty";
@@ -65,7 +65,7 @@ function normalizeAttachPaths(attach) {
65
65
  async function handleSdkError(err, outOpts, out) {
66
66
  const { CurviateError } = await import("@curviate/sdk");
67
67
  if (err instanceof CurviateError) {
68
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
68
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
69
69
  renderError(err, outOpts, out);
70
70
  process.exit(getExitCode(err.code));
71
71
  }
@@ -14,26 +14,26 @@ import {
14
14
  slimSearchPeopleItem,
15
15
  slimSearchPosts,
16
16
  slimSearchPostsItem
17
- } from "./chunk-VAUKRTRG.js";
17
+ } from "./chunk-LJR4LJG6.js";
18
18
  import {
19
19
  pageDelayFromFlags,
20
20
  streamAll
21
- } from "./chunk-PS6QPY67.js";
21
+ } from "./chunk-RZ36UBML.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-LCLYFE54.js";
24
+ } from "./chunk-V75UFUF2.js";
25
25
  import {
26
26
  createClient,
27
27
  renderError,
28
28
  renderSuccess,
29
29
  renderUnexpectedError,
30
30
  resolveEffectiveConfig
31
- } from "./chunk-XHVR32RW.js";
31
+ } from "./chunk-PMWEDWJ3.js";
32
32
  import "./chunk-KTY7R27U.js";
33
33
  import {
34
34
  GLOBAL_FLAGS
35
35
  } from "./chunk-AHYUM2XQ.js";
36
- import "./chunk-PMRQXBCP.js";
36
+ import "./chunk-RPRIMRIU.js";
37
37
 
38
38
  // src/commands/search.ts
39
39
  import { defineCommand } from "citty";
@@ -219,7 +219,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
219
219
  } catch (err) {
220
220
  const { CurviateError } = await import("@curviate/sdk");
221
221
  if (err instanceof CurviateError) {
222
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
222
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
223
223
  renderError(err, outOpts, out);
224
224
  process.exit(getExitCode(err.code));
225
225
  }
@@ -260,7 +260,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
260
260
  } catch (err) {
261
261
  const { CurviateError } = await import("@curviate/sdk");
262
262
  if (err instanceof CurviateError) {
263
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
263
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
264
264
  renderError(err, outOpts, out);
265
265
  process.exit(getExitCode(err.code));
266
266
  }
@@ -301,7 +301,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
301
301
  } catch (err) {
302
302
  const { CurviateError } = await import("@curviate/sdk");
303
303
  if (err instanceof CurviateError) {
304
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
304
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
305
305
  renderError(err, outOpts, out);
306
306
  process.exit(getExitCode(err.code));
307
307
  }
@@ -342,7 +342,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
342
342
  } catch (err) {
343
343
  const { CurviateError } = await import("@curviate/sdk");
344
344
  if (err instanceof CurviateError) {
345
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
345
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
346
346
  renderError(err, outOpts, out);
347
347
  process.exit(getExitCode(err.code));
348
348
  }
@@ -375,7 +375,7 @@ async function runSearchParameters(client, flags, out) {
375
375
  } catch (err) {
376
376
  const { CurviateError } = await import("@curviate/sdk");
377
377
  if (err instanceof CurviateError) {
378
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
378
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
379
379
  renderError(err, outOpts, out);
380
380
  process.exit(getExitCode(err.code));
381
381
  }
@@ -415,7 +415,7 @@ async function runSearchGroups(client, flags, out) {
415
415
  } catch (err) {
416
416
  const { CurviateError } = await import("@curviate/sdk");
417
417
  if (err instanceof CurviateError) {
418
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
418
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
419
419
  renderError(err, outOpts, out);
420
420
  process.exit(getExitCode(err.code));
421
421
  }
@@ -457,7 +457,7 @@ async function runSearchServices(client, flags, out) {
457
457
  } catch (err) {
458
458
  const { CurviateError } = await import("@curviate/sdk");
459
459
  if (err instanceof CurviateError) {
460
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
460
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
461
461
  renderError(err, outOpts, out);
462
462
  process.exit(getExitCode(err.code));
463
463
  }
@@ -484,7 +484,7 @@ async function runSearchServiceParameters(client, flags, out) {
484
484
  } catch (err) {
485
485
  const { CurviateError } = await import("@curviate/sdk");
486
486
  if (err instanceof CurviateError) {
487
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
487
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
488
488
  renderError(err, outOpts, out);
489
489
  process.exit(getExitCode(err.code));
490
490
  }
@@ -521,7 +521,7 @@ async function runSearchFromUrl(client, flags, out) {
521
521
  } catch (err) {
522
522
  const { CurviateError } = await import("@curviate/sdk");
523
523
  if (err instanceof CurviateError) {
524
- const { getExitCode } = await import("./exit-codes-KAVZN5BQ.js");
524
+ const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
525
525
  renderError(err, outOpts, out);
526
526
  process.exit(getExitCode(err.code));
527
527
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-PS6QPY67.js";
5
+ } from "./chunk-RZ36UBML.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-XHVR32RW.js";
15
+ } from "./chunk-PMWEDWJ3.js";
16
16
  import "./chunk-KTY7R27U.js";
17
17
  import {
18
18
  GLOBAL_FLAGS,
@@ -51,7 +51,7 @@ function resolveOutputOpts(flags) {
51
51
  async function handleError(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-4RCNQJUB.js");
55
55
  renderError(err, outOpts, out);
56
56
  process.exit(getExitCode(err.code));
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "clean": "rm -rf dist *.tsbuildinfo"
47
47
  },
48
48
  "dependencies": {
49
- "@curviate/sdk": "0.24.3",
49
+ "@curviate/sdk": "0.25.0",
50
50
  "citty": "^0.1.6",
51
51
  "open": "^10.1.0"
52
52
  },