@curviate/cli 0.46.1 → 0.47.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.
- package/CHANGELOG.md +25 -0
- package/README.md +33 -0
- package/dist/{account-O5UX5UAH.js → account-RFJ63QYL.js} +3 -3
- package/dist/{chunk-BGZW6B7G.js → chunk-5I6JJJIV.js} +1 -0
- package/dist/{chunk-76E3O6HY.js → chunk-76SWLAZ6.js} +13 -0
- package/dist/{chunk-DGIDAO2H.js → chunk-ERBYEC5P.js} +1 -1
- package/dist/{chunk-LD6WPZZM.js → chunk-FXYK2GTO.js} +4 -4
- package/dist/{chunk-2FECYCAC.js → chunk-PD2I5TYC.js} +2 -2
- package/dist/{chunk-FXF5FF3W.js → chunk-V3MVOVQT.js} +2 -1
- package/dist/cli.js +21 -20
- package/dist/{comment-BKGVJYS2.js → comment-MCXE7B7V.js} +6 -6
- package/dist/{company-F2AZTDPK.js → company-EUUN372H.js} +6 -6
- package/dist/{connect-TX6PT7NV.js → connect-2AL7XVJO.js} +9 -9
- package/dist/{doctor-USTZQ75D.js → doctor-WPYI7X2T.js} +2 -2
- package/dist/draft-G65DVXT7.js +458 -0
- package/dist/{exit-codes-TMAIV7EM.js → exit-codes-AW6KHDDN.js} +1 -1
- package/dist/{feed-ANBPRGFQ.js → feed-HV24WME4.js} +4 -4
- package/dist/{group-HFF7LDDQ.js → group-HADXNVJW.js} +4 -4
- package/dist/{inbox-XQMGW6RT.js → inbox-G3EE54OB.js} +4 -4
- package/dist/{inboxes-CILMIVVD.js → inboxes-237XOBTP.js} +4 -4
- package/dist/{job-TOJDDJ2P.js → job-LIN6RWD7.js} +4 -4
- package/dist/{message-WCBNBPAJ.js → message-U2O2JQSW.js} +5 -5
- package/dist/{notification-CJ3LEHFL.js → notification-3VG32LWM.js} +4 -4
- package/dist/{post-OQWJRL4B.js → post-ECDK2KJL.js} +6 -6
- package/dist/{profile-GT6ZD37M.js → profile-JOHS6SDW.js} +10 -10
- package/dist/{recruiter-ZKWG6QG3.js → recruiter-7VXEIXN3.js} +5 -5
- package/dist/{sales-nav-WV3YHYD6.js → sales-nav-K4BMBH7R.js} +5 -5
- package/dist/{search-VAZEQ2WJ.js → search-C2UYO6PI.js} +12 -12
- package/dist/{setup-GGXMHXAF.js → setup-GYEZFDEN.js} +2 -2
- package/dist/{webhook-5M47UX6U.js → webhook-KCOQOH7D.js} +7 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,31 @@ a new command or flag is a minor; a breaking command/flag/exit-code change is a
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.47.0] - 2026-10-07
|
|
12
|
+
|
|
13
|
+
Requires `@curviate/sdk` 0.42.0.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **`webhook create --source post`** (scheduled-post results: `post.published`,
|
|
18
|
+
`post.publish_failed`). Like `messaging` and `user`, it requires `--account-ids`.
|
|
19
|
+
- **`curviate draft`**: `list`, `get`, `create`, `update`, `delete`, `publish`.
|
|
20
|
+
A Draft is a stored, editable, unpublished post; with `--schedule-at` (ISO 8601
|
|
21
|
+
with an offset, passed to the API unchanged) Curviate publishes it at that time.
|
|
22
|
+
`update --unschedule` cancels a schedule. `--account` is never defaulted from
|
|
23
|
+
config: a Draft without one has no account yet. `list --status` takes a comma
|
|
24
|
+
list of `draft`, `scheduled`, `failed`, `published` (`published` lists publish
|
|
25
|
+
records, not Drafts), with `--account` (an `acc_` id or `none`), `--from`,
|
|
26
|
+
`--to`, `--order` and `--all`.
|
|
27
|
+
- **`--attach <file>`** on `draft create` and `draft update` (repeatable). Files up
|
|
28
|
+
to 5 MiB go inline in the request; larger ones use the upload route, in the
|
|
29
|
+
order given. `update --attach` appends and keeps existing files.
|
|
30
|
+
An image over 5 MiB (the API's image cap) is refused with exit 2 before any
|
|
31
|
+
request, so a failed upload cannot leave a half-made Draft behind.
|
|
32
|
+
- **Exit codes** for the six new API codes: `DRAFT_LIMIT_REACHED`,
|
|
33
|
+
`MEDIA_QUOTA_EXCEEDED`, `ACCOUNT_REQUIRED`, `DRAFT_NOT_PUBLISHABLE` and
|
|
34
|
+
`SCHEDULE_CONFLICT` exit 2; `DRAFT_PUBLISHING` exits 7.
|
|
35
|
+
|
|
11
36
|
## [0.46.1] - 2026-10-04
|
|
12
37
|
|
|
13
38
|
Requires `@curviate/sdk` 0.41.0.
|
package/README.md
CHANGED
|
@@ -267,6 +267,39 @@ curviate company posts 112013061 --limit 5 --account acc_1 --json
|
|
|
267
267
|
curviate company jobs 112013061 --all --account acc_1 --json # streams every page
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
+
## Drafts and scheduled posts
|
|
271
|
+
|
|
272
|
+
A Draft is a stored, editable, unpublished post. Give it an account and `--schedule-at` and Curviate publishes it at that time. Drafts are tenant-wide: `--account` is optional and is never defaulted from your config, so a Draft you create without it has no account yet. `curviate post create` still publishes immediately and does not schedule.
|
|
273
|
+
|
|
274
|
+
### 1. Draft a post, schedule it, change your mind
|
|
275
|
+
|
|
276
|
+
```bash
|
|
277
|
+
curviate draft create "Three things we learned shipping our first agent integration." --account acc_1 --schedule-at 2026-10-12T09:00:00+02:00 --json
|
|
278
|
+
curviate draft update drf_1 --unschedule --json # back to a plain Draft
|
|
279
|
+
curviate draft publish drf_1 --json # or publish now: prints the post id
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
`--schedule-at` is an ISO 8601 time with an offset, 5 minutes to 365 days ahead, passed to the API unchanged. Two scheduled Drafts on one account must be at least 5 minutes apart.
|
|
283
|
+
|
|
284
|
+
### 2. Attach media
|
|
285
|
+
|
|
286
|
+
```sh
|
|
287
|
+
curviate draft create "Launch day." --account acc_1 --attach shot1.png --attach shot2.png --json
|
|
288
|
+
curviate draft update drf_1 --attach demo.pdf --json # appends; existing files stay
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
Up to 20 images (JPEG, PNG, GIF, WEBP, each up to 5 MiB), or one MP4 video, or one PDF (each up to 50 MiB), never mixed. An image over 5 MiB is refused before anything is sent. Files up to 5 MiB go inline in the request; larger ones are uploaded separately, in the order you gave them.
|
|
292
|
+
|
|
293
|
+
### 3. List what is queued, and what went out
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
curviate draft list --status scheduled --account acc_1 --order asc --json
|
|
297
|
+
curviate draft list --status published --from 2026-10-01T00:00:00Z --json # publish records, not Drafts
|
|
298
|
+
curviate draft list --account none --all --json # Drafts with no account, every page
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
A scheduled post that fails to publish becomes a `failed` Draft with a `failure` code; any `draft update` on it clears the failure. Failed `outcome_unknown` means the post may be live: check the account's posts before retrying.
|
|
302
|
+
|
|
270
303
|
## Sales Navigator
|
|
271
304
|
|
|
272
305
|
Sales Navigator commands (`curviate sales-nav ...`) are **beta**: this surface has not been
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
resolveEffectiveConfig,
|
|
26
26
|
streamAll,
|
|
27
27
|
writeNdjsonItem
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-V3MVOVQT.js";
|
|
29
29
|
import {
|
|
30
30
|
AUTH_NEEDED
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-76SWLAZ6.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient
|
|
34
34
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -199,7 +199,7 @@ function resolveOutputOpts(flags) {
|
|
|
199
199
|
async function handleError(err, outOpts, out) {
|
|
200
200
|
const { CurviateError } = await import("@curviate/sdk");
|
|
201
201
|
if (err instanceof CurviateError) {
|
|
202
|
-
const { getExitCode } = await import("./exit-codes-
|
|
202
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
203
203
|
renderError(err, outOpts, out);
|
|
204
204
|
process.exit(getExitCode(err));
|
|
205
205
|
}
|
|
@@ -20,6 +20,16 @@ var EXIT_CODE_MAP = {
|
|
|
20
20
|
// a country). `account link` refuses this itself before any request with the
|
|
21
21
|
// same exit, so the API's 400 and the CLI's own guard read alike.
|
|
22
22
|
CONNECTION_LOCATION_REQUIRED: 2,
|
|
23
|
+
// 2: Draft refusals the caller fixes by changing the request, none of which
|
|
24
|
+
// clears on an unchanged retry: the bucket is full (`DRAFT_LIMIT_REACHED`),
|
|
25
|
+
// the media quota is used (`MEDIA_QUOTA_EXCEEDED`), the Draft has no account
|
|
26
|
+
// (`ACCOUNT_REQUIRED`), a content gap (`DRAFT_NOT_PUBLISHABLE`), or another
|
|
27
|
+
// scheduled Draft is within 5 minutes (`SCHEDULE_CONFLICT`).
|
|
28
|
+
DRAFT_LIMIT_REACHED: 2,
|
|
29
|
+
MEDIA_QUOTA_EXCEEDED: 2,
|
|
30
|
+
ACCOUNT_REQUIRED: 2,
|
|
31
|
+
DRAFT_NOT_PUBLISHABLE: 2,
|
|
32
|
+
SCHEDULE_CONFLICT: 2,
|
|
23
33
|
// Not found (4)
|
|
24
34
|
RESOURCE_NOT_FOUND: 4,
|
|
25
35
|
ACCOUNT_NOT_FOUND: 4,
|
|
@@ -37,6 +47,9 @@ var EXIT_CODE_MAP = {
|
|
|
37
47
|
// Transient platform (7)
|
|
38
48
|
PLATFORM_ERROR: 7,
|
|
39
49
|
LINKEDIN_SERVICE_UNAVAILABLE: 7,
|
|
50
|
+
// 7: a publish of this Draft is in flight (or being settled); read it again
|
|
51
|
+
// in a few seconds. A busy state, not a malformed request.
|
|
52
|
+
DRAFT_PUBLISHING: 7,
|
|
40
53
|
// Account / connection state (8)
|
|
41
54
|
ACCOUNT_RESTRICTED: 8,
|
|
42
55
|
RESOURCE_ACCESS_RESTRICTED: 8,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
AttachError,
|
|
12
12
|
readAttachment,
|
|
13
13
|
toAttachmentPayload
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5I6JJJIV.js";
|
|
15
15
|
import {
|
|
16
16
|
normalizeChatId,
|
|
17
17
|
resolveIdentifier
|
|
18
18
|
} from "./chunk-UEAX6KUB.js";
|
|
19
19
|
import {
|
|
20
20
|
requireAccount
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PD2I5TYC.js";
|
|
22
22
|
import {
|
|
23
23
|
buildPreviewOutput
|
|
24
24
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
renderSuccess,
|
|
30
30
|
renderUnexpectedError,
|
|
31
31
|
resolveEffectiveConfig
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-V3MVOVQT.js";
|
|
33
33
|
import {
|
|
34
34
|
createClient,
|
|
35
35
|
downloadBinary
|
|
@@ -105,7 +105,7 @@ var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
|
|
|
105
105
|
async function handleSdkError(err, outOpts, out) {
|
|
106
106
|
const { CurviateError } = await import("@curviate/sdk");
|
|
107
107
|
if (err instanceof CurviateError) {
|
|
108
|
-
const { getExitCode } = await import("./exit-codes-
|
|
108
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
109
109
|
renderError(err, outOpts, out);
|
|
110
110
|
process.exit(getExitCode(err));
|
|
111
111
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V3MVOVQT.js";
|
|
5
5
|
import {
|
|
6
6
|
getExitCode
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-76SWLAZ6.js";
|
|
8
8
|
import {
|
|
9
9
|
assertNoStdinPlaceholder
|
|
10
10
|
} from "./chunk-TC4ZPUWI.js";
|
|
@@ -116,7 +116,8 @@ function detectUnknownFields(data, fields) {
|
|
|
116
116
|
});
|
|
117
117
|
return unknown.length > 0 ? { unknown, available } : null;
|
|
118
118
|
}
|
|
119
|
-
function renderSuccess(
|
|
119
|
+
function renderSuccess(rawData, opts, out) {
|
|
120
|
+
const data = rawData === void 0 ? {} : rawData;
|
|
120
121
|
const json = isJsonMode(opts);
|
|
121
122
|
const fields = parseFields(opts.fields);
|
|
122
123
|
const slimmed = !opts.verbose && opts.slim ? opts.slim(data) : data;
|
package/dist/cli.js
CHANGED
|
@@ -27,30 +27,31 @@ var main = defineCommand({
|
|
|
27
27
|
// Subcommand registry, names and descriptions are static for help rendering;
|
|
28
28
|
// the handler implementation is loaded lazily on first invocation.
|
|
29
29
|
subCommands: {
|
|
30
|
-
setup: () => import("./setup-
|
|
31
|
-
doctor: () => import("./doctor-
|
|
30
|
+
setup: () => import("./setup-GYEZFDEN.js").then((m) => m.setupCommand),
|
|
31
|
+
doctor: () => import("./doctor-WPYI7X2T.js").then((m) => m.doctorCommand),
|
|
32
32
|
login: () => import("./login-OHAHNBRW.js").then((m) => m.loginCommand),
|
|
33
33
|
config: () => import("./config-K4G3VSBA.js").then((m) => m.configCommand),
|
|
34
34
|
// ---------------------------------------------------------------------------
|
|
35
35
|
// Noun groups, lazy-loaded on first invocation.
|
|
36
36
|
// ---------------------------------------------------------------------------
|
|
37
|
-
profile: () => import("./profile-
|
|
38
|
-
company: () => import("./company-
|
|
39
|
-
job: () => import("./job-
|
|
40
|
-
connect: () => import("./connect-
|
|
41
|
-
search: () => import("./search-
|
|
42
|
-
inbox: () => import("./inbox-
|
|
43
|
-
inboxes: () => import("./inboxes-
|
|
44
|
-
message: () => import("./message-
|
|
45
|
-
post: () => import("./post-
|
|
46
|
-
comment: () => import("./comment-
|
|
47
|
-
account: () => import("./account-
|
|
48
|
-
webhook: () => import("./webhook-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
profile: () => import("./profile-JOHS6SDW.js").then((m) => m.profileCommand),
|
|
38
|
+
company: () => import("./company-EUUN372H.js").then((m) => m.companyCommand),
|
|
39
|
+
job: () => import("./job-LIN6RWD7.js").then((m) => m.jobCommand),
|
|
40
|
+
connect: () => import("./connect-2AL7XVJO.js").then((m) => m.connectCommand),
|
|
41
|
+
search: () => import("./search-C2UYO6PI.js").then((m) => m.searchCommand),
|
|
42
|
+
inbox: () => import("./inbox-G3EE54OB.js").then((m) => m.inboxCommand),
|
|
43
|
+
inboxes: () => import("./inboxes-237XOBTP.js").then((m) => m.inboxesCommand),
|
|
44
|
+
message: () => import("./message-U2O2JQSW.js").then((m) => m.messageCommand),
|
|
45
|
+
post: () => import("./post-ECDK2KJL.js").then((m) => m.postCommand),
|
|
46
|
+
comment: () => import("./comment-MCXE7B7V.js").then((m) => m.commentCommand),
|
|
47
|
+
account: () => import("./account-RFJ63QYL.js").then((m) => m.accountCommand),
|
|
48
|
+
webhook: () => import("./webhook-KCOQOH7D.js").then((m) => m.webhookCommand),
|
|
49
|
+
draft: () => import("./draft-G65DVXT7.js").then((m) => m.draftCommand),
|
|
50
|
+
"sales-nav": () => import("./sales-nav-K4BMBH7R.js").then((m) => m.salesNavCommand),
|
|
51
|
+
recruiter: () => import("./recruiter-7VXEIXN3.js").then((m) => m.recruiterCommand),
|
|
52
|
+
group: () => import("./group-HADXNVJW.js").then((m) => m.groupCommand),
|
|
53
|
+
feed: () => import("./feed-HV24WME4.js").then((m) => m.feedCommand),
|
|
54
|
+
notification: () => import("./notification-3VG32LWM.js").then((m) => m.notificationCommand)
|
|
54
55
|
},
|
|
55
56
|
async run() {
|
|
56
57
|
const { runMain } = await import("citty");
|
|
@@ -447,7 +448,7 @@ async function dispatch(root, rawArgs) {
|
|
|
447
448
|
}
|
|
448
449
|
const { CurviateError } = await import("@curviate/sdk");
|
|
449
450
|
if (err instanceof CurviateError) {
|
|
450
|
-
const { getExitCode } = await import("./exit-codes-
|
|
451
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
451
452
|
process.exit(getExitCode(err));
|
|
452
453
|
}
|
|
453
454
|
process.exit(code === "EARG" ? 2 : 1);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ERBYEC5P.js";
|
|
5
5
|
import {
|
|
6
6
|
AttachError,
|
|
7
7
|
describeAttachment,
|
|
8
8
|
readAttachment,
|
|
9
9
|
toAttachmentPayload
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5I6JJJIV.js";
|
|
11
11
|
import "./chunk-UEAX6KUB.js";
|
|
12
12
|
import {
|
|
13
13
|
requireAccount
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PD2I5TYC.js";
|
|
15
15
|
import {
|
|
16
16
|
buildPreviewOutput
|
|
17
17
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
resolveEffectiveConfig,
|
|
28
28
|
streamAll,
|
|
29
29
|
writeNdjsonItem
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-V3MVOVQT.js";
|
|
31
|
+
import "./chunk-76SWLAZ6.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient
|
|
34
34
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -66,7 +66,7 @@ function buildListQuery(flags, out) {
|
|
|
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-
|
|
69
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
70
70
|
renderError(err, outOpts, out);
|
|
71
71
|
process.exit(getExitCode(err));
|
|
72
72
|
}
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
} from "./chunk-LCGXJGPB.js";
|
|
11
11
|
import {
|
|
12
12
|
sentAsNotice
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FXYK2GTO.js";
|
|
14
14
|
import "./chunk-UWO2D4HW.js";
|
|
15
15
|
import "./chunk-HOQ7EUHJ.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachError,
|
|
18
18
|
readAttachment,
|
|
19
19
|
toAttachmentPayload
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5I6JJJIV.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveIdentifier
|
|
23
23
|
} from "./chunk-UEAX6KUB.js";
|
|
24
24
|
import {
|
|
25
25
|
requireAccount
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PD2I5TYC.js";
|
|
27
27
|
import {
|
|
28
28
|
buildPreviewOutput
|
|
29
29
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -41,8 +41,8 @@ import {
|
|
|
41
41
|
resolveEffectiveConfig,
|
|
42
42
|
streamAll,
|
|
43
43
|
writeNdjsonItem
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-V3MVOVQT.js";
|
|
45
|
+
import "./chunk-76SWLAZ6.js";
|
|
46
46
|
import {
|
|
47
47
|
createClient
|
|
48
48
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -86,7 +86,7 @@ async function resolveCompanyId(ns, raw) {
|
|
|
86
86
|
async function handleSdkError(err, outOpts, out) {
|
|
87
87
|
const { CurviateError } = await import("@curviate/sdk");
|
|
88
88
|
if (err instanceof CurviateError) {
|
|
89
|
-
const { getExitCode } = await import("./exit-codes-
|
|
89
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
90
90
|
renderError(err, outOpts, out);
|
|
91
91
|
process.exit(getExitCode(err));
|
|
92
92
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-UEAX6KUB.js";
|
|
14
14
|
import {
|
|
15
15
|
requireAccount
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PD2I5TYC.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
resolveEffectiveConfig,
|
|
30
30
|
streamAll,
|
|
31
31
|
writeNdjsonItem
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-V3MVOVQT.js";
|
|
33
|
+
import "./chunk-76SWLAZ6.js";
|
|
34
34
|
import {
|
|
35
35
|
createClient
|
|
36
36
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -82,7 +82,7 @@ async function runConnectSend(client, flags, out) {
|
|
|
82
82
|
} catch (err) {
|
|
83
83
|
const { CurviateError } = await import("@curviate/sdk");
|
|
84
84
|
if (err instanceof CurviateError) {
|
|
85
|
-
const { getExitCode } = await import("./exit-codes-
|
|
85
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
86
86
|
renderError(err, outOpts, out);
|
|
87
87
|
process.exit(getExitCode(err));
|
|
88
88
|
}
|
|
@@ -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-
|
|
124
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
125
125
|
renderError(err, outOpts, out);
|
|
126
126
|
process.exit(getExitCode(err));
|
|
127
127
|
}
|
|
@@ -160,7 +160,7 @@ async function runConnectReceived(client, flags, out) {
|
|
|
160
160
|
} catch (err) {
|
|
161
161
|
const { CurviateError } = await import("@curviate/sdk");
|
|
162
162
|
if (err instanceof CurviateError) {
|
|
163
|
-
const { getExitCode } = await import("./exit-codes-
|
|
163
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
164
164
|
renderError(err, outOpts, out);
|
|
165
165
|
process.exit(getExitCode(err));
|
|
166
166
|
}
|
|
@@ -189,7 +189,7 @@ async function runConnectAccept(client, flags, out) {
|
|
|
189
189
|
} catch (err) {
|
|
190
190
|
const { CurviateError } = await import("@curviate/sdk");
|
|
191
191
|
if (err instanceof CurviateError) {
|
|
192
|
-
const { getExitCode } = await import("./exit-codes-
|
|
192
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
193
193
|
renderError(err, outOpts, out);
|
|
194
194
|
process.exit(getExitCode(err));
|
|
195
195
|
}
|
|
@@ -218,7 +218,7 @@ async function runConnectDecline(client, flags, out) {
|
|
|
218
218
|
} catch (err) {
|
|
219
219
|
const { CurviateError } = await import("@curviate/sdk");
|
|
220
220
|
if (err instanceof CurviateError) {
|
|
221
|
-
const { getExitCode } = await import("./exit-codes-
|
|
221
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
222
222
|
renderError(err, outOpts, out);
|
|
223
223
|
process.exit(getExitCode(err));
|
|
224
224
|
}
|
|
@@ -247,7 +247,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
247
247
|
} catch (err) {
|
|
248
248
|
const { CurviateError } = await import("@curviate/sdk");
|
|
249
249
|
if (err instanceof CurviateError) {
|
|
250
|
-
const { getExitCode } = await import("./exit-codes-
|
|
250
|
+
const { getExitCode } = await import("./exit-codes-AW6KHDDN.js");
|
|
251
251
|
renderError(err, outOpts, out);
|
|
252
252
|
process.exit(getExitCode(err));
|
|
253
253
|
}
|