@curviate/cli 0.31.1 → 0.32.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 (25) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/{account-DZRX4YOK.js → account-JDSZC633.js} +2 -2
  3. package/dist/{chunk-Y3H55OSY.js → chunk-5EJDQ47B.js} +2 -2
  4. package/dist/{chunk-X3YWBMBC.js → chunk-EIEF2KFH.js} +10 -15
  5. package/dist/{chunk-A73TUZBK.js → chunk-V3PB4HSF.js} +1 -1
  6. package/dist/cli.js +18 -18
  7. package/dist/{comment-6JI4Q6QY.js → comment-YOFNFQUE.js} +3 -3
  8. package/dist/{company-RLU5SHUO.js → company-6PKHDK6L.js} +4 -4
  9. package/dist/{connect-63NUITEZ.js → connect-DG2AVGVL.js} +8 -8
  10. package/dist/{doctor-KSLZNAKH.js → doctor-FK7B6754.js} +1 -1
  11. package/dist/{exit-codes-RUKZC4WV.js → exit-codes-AAFTOAXF.js} +1 -1
  12. package/dist/{feed-PAWXR56T.js → feed-HXBKXKAQ.js} +3 -3
  13. package/dist/{group-ZIIWI7JV.js → group-UYX3KTX3.js} +3 -3
  14. package/dist/{inbox-GIPLWRHQ.js → inbox-EVE2ZTHC.js} +3 -3
  15. package/dist/{inboxes-ECGEMDH7.js → inboxes-JBB34WMQ.js} +3 -3
  16. package/dist/{job-WPWIAVQY.js → job-GXUZANYN.js} +3 -3
  17. package/dist/{message-JQL2XABC.js → message-34AGROW2.js} +3 -3
  18. package/dist/{notification-URSGC7OR.js → notification-SKKZS2C5.js} +3 -3
  19. package/dist/{post-2HI6KL73.js → post-FIW522Q6.js} +3 -3
  20. package/dist/{profile-4BXLUYMH.js → profile-SX6JOYMD.js} +7 -7
  21. package/dist/{recruiter-OUXQ5XYU.js → recruiter-H7ROBEVC.js} +3 -3
  22. package/dist/{sales-nav-MJAMCSBO.js → sales-nav-7KCK562X.js} +3 -3
  23. package/dist/{search-M3R35BIB.js → search-PASMDQEH.js} +11 -11
  24. package/dist/{webhook-3TEYA3B2.js → webhook-GPLFPC6N.js} +1 -1
  25. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -6,6 +6,45 @@ 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
+ ## [0.32.0] - 2026-09-11
10
+
11
+ Follows `@curviate/sdk` `0.31.0`: step two of the tier retirement, and one
12
+ billing refusal mapped on purpose instead of by default.
13
+
14
+ **Breaking only for a script that still expects exit `5` or `8` from the two
15
+ retired codes**, and no deployment sends either any more.
16
+
17
+ ### Removed
18
+
19
+ - **`TIER_NOT_ACTIVE` (exit `5`) and `PREMIUM_CONFLICT` (exit `8`) are no
20
+ longer mapped.** `0.31.0` kept both because a deployment predating the
21
+ seat-based entitlement rollout could still answer them. Every deployment now
22
+ carries the new contract and the SDK has withdrawn both codes, so the rows
23
+ would map codes that cannot arrive. Exit `5` still carries `NO_ACTIVE_SEAT`,
24
+ `LINKEDIN_FEATURE_NOT_SUBSCRIBED` and `BETA_NOT_ENABLED`; exit `8` keeps
25
+ every other account and connection-state code. No documented exit code
26
+ loses its last mapping.
27
+
28
+ ### Added
29
+
30
+ - **`STRIPE_DRIFT_DETECTED` exits `1`.** Checkout refused closed (503) because
31
+ Curviate's own seat-price configuration disagrees with the price it
32
+ displays. It is mapped explicitly, with the same flags and bucket as
33
+ `PLATFORM_NOT_IMPLEMENTED` (neither `userFixable` nor retry-likely), and
34
+ deliberately not `7` or `11`: `7` tells you to retry with backoff, and `11`
35
+ tells you your workspace's billing is at fault, which it is not. The
36
+ `--json` envelope carries the real code, so a script can tell it apart from
37
+ an unexpected failure.
38
+
39
+ ### Changed
40
+
41
+ - **`@curviate/sdk` pinned at `0.31.0`** (exact, as always), and
42
+ `test/fixtures/openapi.json` re-vendored from that release
43
+ (`server_git_sha 9696b172...`, 125 paths), with `VENDORED_FROM.json`'s
44
+ `sdkVersion`, salted `sha256`, `vendoredAt` and `sourceServerGitSha`
45
+ refreshed together so `check:fixture-pin` stays closed. The re-vendored
46
+ document no longer carries `seat_tier_mismatch`.
47
+
9
48
  ## [0.31.1] - 2026-09-10
10
49
 
11
50
  ### Fixed
@@ -26,7 +26,7 @@ import {
26
26
  import "./chunk-PKSKQ3LN.js";
27
27
  import {
28
28
  AUTH_NEEDED
29
- } from "./chunk-X3YWBMBC.js";
29
+ } from "./chunk-EIEF2KFH.js";
30
30
  import "./chunk-TQJ77SL4.js";
31
31
  import {
32
32
  GLOBAL_FLAGS,
@@ -223,7 +223,7 @@ function resolveOutputOpts(flags) {
223
223
  async function handleError(err, outOpts, out) {
224
224
  const { CurviateError } = await import("@curviate/sdk");
225
225
  if (err instanceof CurviateError) {
226
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
226
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
227
227
  renderError(err, outOpts, out);
228
228
  process.exit(getExitCode(err.code));
229
229
  }
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-R3VLWLVV.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-A73TUZBK.js";
24
+ } from "./chunk-V3PB4HSF.js";
25
25
  import {
26
26
  renderError,
27
27
  renderSuccess,
@@ -73,7 +73,7 @@ var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
73
73
  async function handleSdkError(err, outOpts, out) {
74
74
  const { CurviateError } = await import("@curviate/sdk");
75
75
  if (err instanceof CurviateError) {
76
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
76
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
77
77
  renderError(err, outOpts, out);
78
78
  process.exit(getExitCode(err.code));
79
79
  }
@@ -25,14 +25,6 @@ var EXIT_CODE_MAP = {
25
25
  NO_ACTIVE_SEAT: 5,
26
26
  LINKEDIN_FEATURE_NOT_SUBSCRIBED: 5,
27
27
  BETA_NOT_ENABLED: 5,
28
- // DEPRECATED, and mapped anyway. `TIER_NOT_ACTIVE` is what a deployment
29
- // predating the seat-based entitlement rollout answers instead of
30
- // `NO_ACTIVE_SEAT`, and this CLI is pointed at whichever deployment the
31
- // caller configured. Unmapped it would fall to exit 1 and read as "the tool
32
- // broke" for a plain billing refusal, on exactly the deployments most likely
33
- // to send it. Same bucket as its replacement, because the caller's remedy is
34
- // identical. Removed once every deployment carries the new contract.
35
- TIER_NOT_ACTIVE: 5,
36
28
  // Rate-limited (6)
37
29
  RATE_LIMIT_ACCOUNT: 6,
38
30
  RATE_LIMIT_TENANT: 6,
@@ -52,12 +44,6 @@ var EXIT_CODE_MAP = {
52
44
  LINKEDIN_OPERATION_NOT_SUPPORTED: 8,
53
45
  CONNECTION_REQUEST_CONFLICT: 8,
54
46
  REAUTH_REQUIRED: 8,
55
- // DEPRECATED, mapped for the same reason as `TIER_NOT_ACTIVE` above: the
56
- // connect rework made it unreachable on current deployments, and an older one
57
- // can still send it. A seat resolving to both individual-Premium products at
58
- // once, which is the same "this account/seat is in a state that blocks the
59
- // request" shape as `ACCOUNT_RESTRICTED`.
60
- PREMIUM_CONFLICT: 8,
61
47
  // Checkpoint flow (9)
62
48
  CHECKPOINT_NOT_FOUND: 9,
63
49
  CHECKPOINT_EXPIRED: 9,
@@ -137,7 +123,16 @@ var EXIT_CODE_MAP = {
137
123
  TRIAL_IDENTITY_UNRESOLVED: 11,
138
124
  // Internal / uncaught (1), last resort bucket
139
125
  INTERNAL: 1,
140
- PLATFORM_NOT_IMPLEMENTED: 1
126
+ PLATFORM_NOT_IMPLEMENTED: 1,
127
+ // 1, chosen rather than defaulted, and deliberately not 7 or 11.
128
+ // `STRIPE_DRIFT_DETECTED` is a 503 on checkout: Curviate's own seat-price
129
+ // configuration disagrees with the price it displays, so it refuses closed
130
+ // until Curviate corrects it. It carries the same flags as
131
+ // `PLATFORM_NOT_IMPLEMENTED` (neither user_fixable nor retry-likely), so it
132
+ // takes the same bucket. Not 7, which tells the caller to retry with
133
+ // backoff. Not 11, which tells the caller the tenant's billing is at fault,
134
+ // and here it is not. The `--json` envelope still names the real code.
135
+ STRIPE_DRIFT_DETECTED: 1
141
136
  };
142
137
  function getExitCode(code) {
143
138
  return EXIT_CODE_MAP[code] ?? 1;
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  getExitCode
4
- } from "./chunk-X3YWBMBC.js";
4
+ } from "./chunk-EIEF2KFH.js";
5
5
  import {
6
6
  assertNoStdinPlaceholder
7
7
  } from "./chunk-SKJNLN37.js";
package/dist/cli.js CHANGED
@@ -348,29 +348,29 @@ var main = defineCommand({
348
348
  // the handler implementation is loaded lazily on first invocation.
349
349
  subCommands: {
350
350
  setup: () => import("./setup-YV5PVIU5.js").then((m) => m.setupCommand),
351
- doctor: () => import("./doctor-KSLZNAKH.js").then((m) => m.doctorCommand),
351
+ doctor: () => import("./doctor-FK7B6754.js").then((m) => m.doctorCommand),
352
352
  login: () => import("./login-3OAUY7TG.js").then((m) => m.loginCommand),
353
353
  config: () => import("./config-FUHT23SX.js").then((m) => m.configCommand),
354
354
  // ---------------------------------------------------------------------------
355
355
  // Noun groups, lazy-loaded on first invocation.
356
356
  // ---------------------------------------------------------------------------
357
- profile: () => import("./profile-4BXLUYMH.js").then((m) => m.profileCommand),
358
- company: () => import("./company-RLU5SHUO.js").then((m) => m.companyCommand),
359
- job: () => import("./job-WPWIAVQY.js").then((m) => m.jobCommand),
360
- connect: () => import("./connect-63NUITEZ.js").then((m) => m.connectCommand),
361
- search: () => import("./search-M3R35BIB.js").then((m) => m.searchCommand),
362
- inbox: () => import("./inbox-GIPLWRHQ.js").then((m) => m.inboxCommand),
363
- inboxes: () => import("./inboxes-ECGEMDH7.js").then((m) => m.inboxesCommand),
364
- message: () => import("./message-JQL2XABC.js").then((m) => m.messageCommand),
365
- post: () => import("./post-2HI6KL73.js").then((m) => m.postCommand),
366
- comment: () => import("./comment-6JI4Q6QY.js").then((m) => m.commentCommand),
367
- account: () => import("./account-DZRX4YOK.js").then((m) => m.accountCommand),
368
- webhook: () => import("./webhook-3TEYA3B2.js").then((m) => m.webhookCommand),
369
- "sales-nav": () => import("./sales-nav-MJAMCSBO.js").then((m) => m.salesNavCommand),
370
- recruiter: () => import("./recruiter-OUXQ5XYU.js").then((m) => m.recruiterCommand),
371
- group: () => import("./group-ZIIWI7JV.js").then((m) => m.groupCommand),
372
- feed: () => import("./feed-PAWXR56T.js").then((m) => m.feedCommand),
373
- notification: () => import("./notification-URSGC7OR.js").then((m) => m.notificationCommand)
357
+ profile: () => import("./profile-SX6JOYMD.js").then((m) => m.profileCommand),
358
+ company: () => import("./company-6PKHDK6L.js").then((m) => m.companyCommand),
359
+ job: () => import("./job-GXUZANYN.js").then((m) => m.jobCommand),
360
+ connect: () => import("./connect-DG2AVGVL.js").then((m) => m.connectCommand),
361
+ search: () => import("./search-PASMDQEH.js").then((m) => m.searchCommand),
362
+ inbox: () => import("./inbox-EVE2ZTHC.js").then((m) => m.inboxCommand),
363
+ inboxes: () => import("./inboxes-JBB34WMQ.js").then((m) => m.inboxesCommand),
364
+ message: () => import("./message-34AGROW2.js").then((m) => m.messageCommand),
365
+ post: () => import("./post-FIW522Q6.js").then((m) => m.postCommand),
366
+ comment: () => import("./comment-YOFNFQUE.js").then((m) => m.commentCommand),
367
+ account: () => import("./account-JDSZC633.js").then((m) => m.accountCommand),
368
+ webhook: () => import("./webhook-GPLFPC6N.js").then((m) => m.webhookCommand),
369
+ "sales-nav": () => import("./sales-nav-7KCK562X.js").then((m) => m.salesNavCommand),
370
+ recruiter: () => import("./recruiter-H7ROBEVC.js").then((m) => m.recruiterCommand),
371
+ group: () => import("./group-UYX3KTX3.js").then((m) => m.groupCommand),
372
+ feed: () => import("./feed-HXBKXKAQ.js").then((m) => m.feedCommand),
373
+ notification: () => import("./notification-SKKZS2C5.js").then((m) => m.notificationCommand)
374
374
  },
375
375
  async run() {
376
376
  const { runMain } = await import("citty");
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-R3VLWLVV.js";
19
19
  import {
20
20
  requireAccount
21
- } from "./chunk-A73TUZBK.js";
21
+ } from "./chunk-V3PB4HSF.js";
22
22
  import {
23
23
  renderError,
24
24
  renderSuccess,
@@ -29,7 +29,7 @@ import {
29
29
  resolveEffectiveConfig
30
30
  } from "./chunk-TD2ZIXFR.js";
31
31
  import "./chunk-PKSKQ3LN.js";
32
- import "./chunk-X3YWBMBC.js";
32
+ import "./chunk-EIEF2KFH.js";
33
33
  import "./chunk-TQJ77SL4.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
@@ -69,7 +69,7 @@ function buildListQuery(flags) {
69
69
  async function handleSdkError(err, outOpts, out) {
70
70
  const { CurviateError } = await import("@curviate/sdk");
71
71
  if (err instanceof CurviateError) {
72
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
72
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
73
73
  renderError(err, outOpts, out);
74
74
  process.exit(getExitCode(err.code));
75
75
  }
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-LKF5MZIP.js";
15
15
  import {
16
16
  sentAsNotice
17
- } from "./chunk-Y3H55OSY.js";
17
+ } from "./chunk-5EJDQ47B.js";
18
18
  import "./chunk-UWO2D4HW.js";
19
19
  import "./chunk-HOQ7EUHJ.js";
20
20
  import {
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-R3VLWLVV.js";
31
31
  import {
32
32
  requireAccount
33
- } from "./chunk-A73TUZBK.js";
33
+ } from "./chunk-V3PB4HSF.js";
34
34
  import {
35
35
  renderError,
36
36
  renderSuccess,
@@ -41,7 +41,7 @@ import {
41
41
  resolveEffectiveConfig
42
42
  } from "./chunk-TD2ZIXFR.js";
43
43
  import "./chunk-PKSKQ3LN.js";
44
- import "./chunk-X3YWBMBC.js";
44
+ import "./chunk-EIEF2KFH.js";
45
45
  import "./chunk-TQJ77SL4.js";
46
46
  import {
47
47
  GLOBAL_FLAGS,
@@ -88,7 +88,7 @@ async function resolveCompanyId(ns, raw) {
88
88
  async function handleSdkError(err, outOpts, out) {
89
89
  const { CurviateError } = await import("@curviate/sdk");
90
90
  if (err instanceof CurviateError) {
91
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
91
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
92
92
  renderError(err, outOpts, out);
93
93
  process.exit(getExitCode(err.code));
94
94
  }
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-R3VLWLVV.js";
21
21
  import {
22
22
  requireAccount
23
- } from "./chunk-A73TUZBK.js";
23
+ } from "./chunk-V3PB4HSF.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
@@ -31,7 +31,7 @@ import {
31
31
  resolveEffectiveConfig
32
32
  } from "./chunk-TD2ZIXFR.js";
33
33
  import "./chunk-PKSKQ3LN.js";
34
- import "./chunk-X3YWBMBC.js";
34
+ import "./chunk-EIEF2KFH.js";
35
35
  import "./chunk-TQJ77SL4.js";
36
36
  import {
37
37
  GLOBAL_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-RUKZC4WV.js");
89
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.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-RUKZC4WV.js");
127
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.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-RUKZC4WV.js");
165
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.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-RUKZC4WV.js");
194
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.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-RUKZC4WV.js");
223
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.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-RUKZC4WV.js");
252
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
253
253
  renderError(err, outOpts, out);
254
254
  process.exit(getExitCode(err.code));
255
255
  }
@@ -6,7 +6,7 @@ import {
6
6
  import "./chunk-PKSKQ3LN.js";
7
7
  import {
8
8
  getExitCode
9
- } from "./chunk-X3YWBMBC.js";
9
+ } from "./chunk-EIEF2KFH.js";
10
10
  import {
11
11
  getConfigPath,
12
12
  readConfig
@@ -3,7 +3,7 @@ import {
3
3
  AUTH_NEEDED,
4
4
  EXIT_CODE_MAP,
5
5
  getExitCode
6
- } from "./chunk-X3YWBMBC.js";
6
+ } from "./chunk-EIEF2KFH.js";
7
7
  export {
8
8
  AUTH_NEEDED,
9
9
  EXIT_CODE_MAP,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-LKF5MZIP.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-A73TUZBK.js";
8
+ } from "./chunk-V3PB4HSF.js";
9
9
  import {
10
10
  renderError,
11
11
  renderSuccess,
@@ -16,7 +16,7 @@ import {
16
16
  resolveEffectiveConfig
17
17
  } from "./chunk-TD2ZIXFR.js";
18
18
  import "./chunk-PKSKQ3LN.js";
19
- import "./chunk-X3YWBMBC.js";
19
+ import "./chunk-EIEF2KFH.js";
20
20
  import "./chunk-TQJ77SL4.js";
21
21
  import {
22
22
  GLOBAL_FLAGS
@@ -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-RUKZC4WV.js");
50
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
51
51
  renderError(err, outOpts, out);
52
52
  process.exit(getExitCode(err.code));
53
53
  }
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-UEAX6KUB.js";
9
9
  import {
10
10
  requireAccount
11
- } from "./chunk-A73TUZBK.js";
11
+ } from "./chunk-V3PB4HSF.js";
12
12
  import {
13
13
  renderError,
14
14
  renderSuccess,
@@ -19,7 +19,7 @@ import {
19
19
  resolveEffectiveConfig
20
20
  } from "./chunk-TD2ZIXFR.js";
21
21
  import "./chunk-PKSKQ3LN.js";
22
- import "./chunk-X3YWBMBC.js";
22
+ import "./chunk-EIEF2KFH.js";
23
23
  import "./chunk-TQJ77SL4.js";
24
24
  import {
25
25
  GLOBAL_FLAGS,
@@ -57,7 +57,7 @@ function resolveOutputOpts(flags) {
57
57
  async function handleSdkError(err, outOpts, out) {
58
58
  const { CurviateError } = await import("@curviate/sdk");
59
59
  if (err instanceof CurviateError) {
60
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
60
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
61
61
  renderError(err, outOpts, out);
62
62
  process.exit(getExitCode(err.code));
63
63
  }
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-R3VLWLVV.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-A73TUZBK.js";
18
+ } from "./chunk-V3PB4HSF.js";
19
19
  import {
20
20
  renderError,
21
21
  renderSuccess,
@@ -26,7 +26,7 @@ import {
26
26
  resolveEffectiveConfig
27
27
  } from "./chunk-TD2ZIXFR.js";
28
28
  import "./chunk-PKSKQ3LN.js";
29
- import "./chunk-X3YWBMBC.js";
29
+ import "./chunk-EIEF2KFH.js";
30
30
  import "./chunk-TQJ77SL4.js";
31
31
  import {
32
32
  GLOBAL_FLAGS,
@@ -99,7 +99,7 @@ function validateInboxFolder(raw, 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-RUKZC4WV.js");
102
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
103
103
  renderError(err, outOpts, out);
104
104
  process.exit(getExitCode(err.code));
105
105
  }
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-LKF5MZIP.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-A73TUZBK.js";
8
+ } from "./chunk-V3PB4HSF.js";
9
9
  import {
10
10
  renderError,
11
11
  renderSuccess,
@@ -16,7 +16,7 @@ import {
16
16
  resolveEffectiveConfig
17
17
  } from "./chunk-TD2ZIXFR.js";
18
18
  import "./chunk-PKSKQ3LN.js";
19
- import "./chunk-X3YWBMBC.js";
19
+ import "./chunk-EIEF2KFH.js";
20
20
  import "./chunk-TQJ77SL4.js";
21
21
  import {
22
22
  GLOBAL_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-RUKZC4WV.js");
57
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
58
58
  renderError(err, outOpts, out);
59
59
  process.exit(getExitCode(err.code));
60
60
  }
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-R3VLWLVV.js";
21
21
  import {
22
22
  requireAccount
23
- } from "./chunk-A73TUZBK.js";
23
+ } from "./chunk-V3PB4HSF.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
@@ -31,7 +31,7 @@ import {
31
31
  resolveEffectiveConfig
32
32
  } from "./chunk-TD2ZIXFR.js";
33
33
  import "./chunk-PKSKQ3LN.js";
34
- import "./chunk-X3YWBMBC.js";
34
+ import "./chunk-EIEF2KFH.js";
35
35
  import "./chunk-TQJ77SL4.js";
36
36
  import {
37
37
  GLOBAL_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-RUKZC4WV.js");
102
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
103
103
  renderError(err, outOpts, out);
104
104
  process.exit(getExitCode(err.code));
105
105
  }
@@ -13,17 +13,17 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-Y3H55OSY.js";
16
+ } from "./chunk-5EJDQ47B.js";
17
17
  import "./chunk-UWO2D4HW.js";
18
18
  import "./chunk-HOQ7EUHJ.js";
19
19
  import "./chunk-BGZW6B7G.js";
20
20
  import "./chunk-UEAX6KUB.js";
21
21
  import "./chunk-R3VLWLVV.js";
22
- import "./chunk-A73TUZBK.js";
22
+ import "./chunk-V3PB4HSF.js";
23
23
  import "./chunk-KQXYEQAD.js";
24
24
  import "./chunk-TD2ZIXFR.js";
25
25
  import "./chunk-PKSKQ3LN.js";
26
- import "./chunk-X3YWBMBC.js";
26
+ import "./chunk-EIEF2KFH.js";
27
27
  import "./chunk-TQJ77SL4.js";
28
28
  import "./chunk-SKJNLN37.js";
29
29
  export {
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-R3VLWLVV.js";
9
9
  import {
10
10
  requireAccount
11
- } from "./chunk-A73TUZBK.js";
11
+ } from "./chunk-V3PB4HSF.js";
12
12
  import {
13
13
  renderError,
14
14
  renderSuccess,
@@ -19,7 +19,7 @@ import {
19
19
  resolveEffectiveConfig
20
20
  } from "./chunk-TD2ZIXFR.js";
21
21
  import "./chunk-PKSKQ3LN.js";
22
- import "./chunk-X3YWBMBC.js";
22
+ import "./chunk-EIEF2KFH.js";
23
23
  import "./chunk-TQJ77SL4.js";
24
24
  import {
25
25
  GLOBAL_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-RUKZC4WV.js");
54
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
55
55
  renderError(err, outOpts, out);
56
56
  process.exit(getExitCode(err.code));
57
57
  }
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-R3VLWLVV.js";
18
18
  import {
19
19
  requireAccount
20
- } from "./chunk-A73TUZBK.js";
20
+ } from "./chunk-V3PB4HSF.js";
21
21
  import {
22
22
  renderError,
23
23
  renderSuccess,
@@ -28,7 +28,7 @@ import {
28
28
  resolveEffectiveConfig
29
29
  } from "./chunk-TD2ZIXFR.js";
30
30
  import "./chunk-PKSKQ3LN.js";
31
- import "./chunk-X3YWBMBC.js";
31
+ import "./chunk-EIEF2KFH.js";
32
32
  import "./chunk-TQJ77SL4.js";
33
33
  import {
34
34
  GLOBAL_FLAGS,
@@ -78,7 +78,7 @@ function normalizeAttachPaths(attach) {
78
78
  async function handleSdkError(err, outOpts, out) {
79
79
  const { CurviateError } = await import("@curviate/sdk");
80
80
  if (err instanceof CurviateError) {
81
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
81
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
82
82
  renderError(err, outOpts, out);
83
83
  process.exit(getExitCode(err.code));
84
84
  }
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-R3VLWLVV.js";
30
30
  import {
31
31
  requireAccount
32
- } from "./chunk-A73TUZBK.js";
32
+ } from "./chunk-V3PB4HSF.js";
33
33
  import {
34
34
  renderError,
35
35
  renderSuccess,
@@ -40,7 +40,7 @@ import {
40
40
  resolveEffectiveConfig
41
41
  } from "./chunk-TD2ZIXFR.js";
42
42
  import "./chunk-PKSKQ3LN.js";
43
- import "./chunk-X3YWBMBC.js";
43
+ import "./chunk-EIEF2KFH.js";
44
44
  import "./chunk-TQJ77SL4.js";
45
45
  import {
46
46
  GLOBAL_FLAGS,
@@ -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-RUKZC4WV.js");
217
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
218
218
  renderError(err, outOpts, out);
219
219
  process.exit(getExitCode(err.code));
220
220
  }
@@ -240,7 +240,7 @@ async function runProfileMe(client, flags, out) {
240
240
  } catch (err) {
241
241
  const { CurviateError } = await import("@curviate/sdk");
242
242
  if (err instanceof CurviateError) {
243
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
243
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
244
244
  renderError(err, outOpts, out);
245
245
  process.exit(getExitCode(err.code));
246
246
  }
@@ -368,7 +368,7 @@ async function runProfileGet(client, flags, out) {
368
368
  } catch (err) {
369
369
  const { CurviateError } = await import("@curviate/sdk");
370
370
  if (err instanceof CurviateError) {
371
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
371
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
372
372
  renderError(err, outOpts, out);
373
373
  process.exit(getExitCode(err.code));
374
374
  }
@@ -405,7 +405,7 @@ async function runProfileRelations(client, flags, out) {
405
405
  } catch (err) {
406
406
  const { CurviateError } = await import("@curviate/sdk");
407
407
  if (err instanceof CurviateError) {
408
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
408
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
409
409
  renderError(err, outOpts, out);
410
410
  process.exit(getExitCode(err.code));
411
411
  }
@@ -445,7 +445,7 @@ async function runProfileEndorse(client, flags, out) {
445
445
  async function handleSdkError(err, outOpts, out) {
446
446
  const { CurviateError } = await import("@curviate/sdk");
447
447
  if (err instanceof CurviateError) {
448
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
448
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
449
449
  renderError(err, outOpts, out);
450
450
  process.exit(getExitCode(err.code));
451
451
  }
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-R3VLWLVV.js";
30
30
  import {
31
31
  requireAccount
32
- } from "./chunk-A73TUZBK.js";
32
+ } from "./chunk-V3PB4HSF.js";
33
33
  import {
34
34
  renderError,
35
35
  renderSuccess,
@@ -40,7 +40,7 @@ import {
40
40
  resolveEffectiveConfig
41
41
  } from "./chunk-TD2ZIXFR.js";
42
42
  import "./chunk-PKSKQ3LN.js";
43
- import "./chunk-X3YWBMBC.js";
43
+ import "./chunk-EIEF2KFH.js";
44
44
  import "./chunk-TQJ77SL4.js";
45
45
  import {
46
46
  GLOBAL_FLAGS,
@@ -80,7 +80,7 @@ function normalizeAttachPaths(attach) {
80
80
  async function handleSdkError(err, outOpts, out) {
81
81
  const { CurviateError } = await import("@curviate/sdk");
82
82
  if (err instanceof CurviateError) {
83
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
83
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
84
84
  renderError(err, outOpts, out);
85
85
  process.exit(getExitCode(err.code));
86
86
  }
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-R3VLWLVV.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-A73TUZBK.js";
24
+ } from "./chunk-V3PB4HSF.js";
25
25
  import {
26
26
  renderError,
27
27
  renderSuccess,
@@ -32,7 +32,7 @@ import {
32
32
  resolveEffectiveConfig
33
33
  } from "./chunk-TD2ZIXFR.js";
34
34
  import "./chunk-PKSKQ3LN.js";
35
- import "./chunk-X3YWBMBC.js";
35
+ import "./chunk-EIEF2KFH.js";
36
36
  import "./chunk-TQJ77SL4.js";
37
37
  import {
38
38
  GLOBAL_FLAGS,
@@ -68,7 +68,7 @@ function normalizeAttachPaths(attach) {
68
68
  async function handleSdkError(err, outOpts, out) {
69
69
  const { CurviateError } = await import("@curviate/sdk");
70
70
  if (err instanceof CurviateError) {
71
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
71
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
72
72
  renderError(err, outOpts, out);
73
73
  process.exit(getExitCode(err.code));
74
74
  }
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-LKF5MZIP.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-A73TUZBK.js";
24
+ } from "./chunk-V3PB4HSF.js";
25
25
  import {
26
26
  renderError,
27
27
  renderSuccess,
@@ -32,7 +32,7 @@ import {
32
32
  resolveEffectiveConfig
33
33
  } from "./chunk-TD2ZIXFR.js";
34
34
  import "./chunk-PKSKQ3LN.js";
35
- import "./chunk-X3YWBMBC.js";
35
+ import "./chunk-EIEF2KFH.js";
36
36
  import "./chunk-TQJ77SL4.js";
37
37
  import {
38
38
  GLOBAL_FLAGS
@@ -222,7 +222,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
222
222
  } catch (err) {
223
223
  const { CurviateError } = await import("@curviate/sdk");
224
224
  if (err instanceof CurviateError) {
225
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
225
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
226
226
  renderError(err, outOpts, out);
227
227
  process.exit(getExitCode(err.code));
228
228
  }
@@ -263,7 +263,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
263
263
  } catch (err) {
264
264
  const { CurviateError } = await import("@curviate/sdk");
265
265
  if (err instanceof CurviateError) {
266
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
266
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
267
267
  renderError(err, outOpts, out);
268
268
  process.exit(getExitCode(err.code));
269
269
  }
@@ -304,7 +304,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
304
304
  } catch (err) {
305
305
  const { CurviateError } = await import("@curviate/sdk");
306
306
  if (err instanceof CurviateError) {
307
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
307
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
308
308
  renderError(err, outOpts, out);
309
309
  process.exit(getExitCode(err.code));
310
310
  }
@@ -345,7 +345,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
345
345
  } catch (err) {
346
346
  const { CurviateError } = await import("@curviate/sdk");
347
347
  if (err instanceof CurviateError) {
348
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
348
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
349
349
  renderError(err, outOpts, out);
350
350
  process.exit(getExitCode(err.code));
351
351
  }
@@ -378,7 +378,7 @@ async function runSearchParameters(client, flags, out) {
378
378
  } catch (err) {
379
379
  const { CurviateError } = await import("@curviate/sdk");
380
380
  if (err instanceof CurviateError) {
381
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
381
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
382
382
  renderError(err, outOpts, out);
383
383
  process.exit(getExitCode(err.code));
384
384
  }
@@ -418,7 +418,7 @@ async function runSearchGroups(client, flags, out) {
418
418
  } catch (err) {
419
419
  const { CurviateError } = await import("@curviate/sdk");
420
420
  if (err instanceof CurviateError) {
421
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
421
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
422
422
  renderError(err, outOpts, out);
423
423
  process.exit(getExitCode(err.code));
424
424
  }
@@ -460,7 +460,7 @@ async function runSearchServices(client, flags, out) {
460
460
  } catch (err) {
461
461
  const { CurviateError } = await import("@curviate/sdk");
462
462
  if (err instanceof CurviateError) {
463
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
463
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
464
464
  renderError(err, outOpts, out);
465
465
  process.exit(getExitCode(err.code));
466
466
  }
@@ -487,7 +487,7 @@ async function runSearchServiceParameters(client, flags, out) {
487
487
  } catch (err) {
488
488
  const { CurviateError } = await import("@curviate/sdk");
489
489
  if (err instanceof CurviateError) {
490
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
490
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
491
491
  renderError(err, outOpts, out);
492
492
  process.exit(getExitCode(err.code));
493
493
  }
@@ -524,7 +524,7 @@ async function runSearchFromUrl(client, flags, out) {
524
524
  } catch (err) {
525
525
  const { CurviateError } = await import("@curviate/sdk");
526
526
  if (err instanceof CurviateError) {
527
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
527
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
528
528
  renderError(err, outOpts, out);
529
529
  process.exit(getExitCode(err.code));
530
530
  }
@@ -54,7 +54,7 @@ function resolveOutputOpts(flags) {
54
54
  async function handleError(err, outOpts, out) {
55
55
  const { CurviateError } = await import("@curviate/sdk");
56
56
  if (err instanceof CurviateError) {
57
- const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
57
+ const { getExitCode } = await import("./exit-codes-AAFTOAXF.js");
58
58
  renderError(err, outOpts, out);
59
59
  process.exit(getExitCode(err.code));
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.31.1",
3
+ "version": "0.32.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.30.0",
49
+ "@curviate/sdk": "0.31.0",
50
50
  "citty": "^0.1.6",
51
51
  "open": "^10.1.0"
52
52
  },