@curviate/cli 0.44.0 → 0.46.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 +80 -0
- package/dist/{account-FDPUPVFB.js → account-YVUERVO2.js} +68 -18
- package/dist/{chunk-BLJGV6ST.js → chunk-2FECYCAC.js} +3 -3
- package/dist/{chunk-XZJQQJBE.js → chunk-76E3O6HY.js} +11 -0
- package/dist/{chunk-PCZH5QJA.js → chunk-DGIDAO2H.js} +1 -1
- package/dist/{chunk-B5NIX4G6.js → chunk-FXF5FF3W.js} +6 -0
- package/dist/{chunk-EGDDVF3Q.js → chunk-LCGXJGPB.js} +7 -11
- package/dist/{chunk-FD4AANAA.js → chunk-LD6WPZZM.js} +3 -3
- package/dist/cli.js +20 -20
- package/dist/{comment-G4EXIIAQ.js → comment-BKGVJYS2.js} +6 -6
- package/dist/{company-IOSYYCXY.js → company-F2AZTDPK.js} +6 -6
- package/dist/{connect-GHABKXB2.js → connect-TX6PT7NV.js} +10 -10
- package/dist/{doctor-ICAEETCL.js → doctor-USTZQ75D.js} +2 -2
- package/dist/{exit-codes-YSFFFWMS.js → exit-codes-TMAIV7EM.js} +1 -1
- package/dist/{feed-XC5235UF.js → feed-ANBPRGFQ.js} +5 -5
- package/dist/{group-JDP2HVSV.js → group-HFF7LDDQ.js} +4 -4
- package/dist/{inbox-W3KR65VD.js → inbox-XQMGW6RT.js} +4 -4
- package/dist/{inboxes-XYS3IRT6.js → inboxes-CILMIVVD.js} +4 -4
- package/dist/{job-OJB4VSI2.js → job-TOJDDJ2P.js} +5 -5
- package/dist/{message-VZHXBKTO.js → message-WCBNBPAJ.js} +4 -4
- package/dist/{notification-RIUSYJV6.js → notification-CJ3LEHFL.js} +4 -4
- package/dist/{post-ZQIYCN7A.js → post-OQWJRL4B.js} +13 -12
- package/dist/{profile-COLBPBGO.js → profile-GT6ZD37M.js} +10 -10
- package/dist/{recruiter-4KFVMKZQ.js → recruiter-ZKWG6QG3.js} +5 -5
- package/dist/{sales-nav-IOBEJ4OP.js → sales-nav-WV3YHYD6.js} +4 -4
- package/dist/{search-3MRQE6VC.js → search-VAZEQ2WJ.js} +14 -14
- package/dist/{setup-BPNLAHPC.js → setup-GGXMHXAF.js} +2 -2
- package/dist/{webhook-ND7XZ7FW.js → webhook-HBME6K76.js} +2 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2FECYCAC.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
resolveEffectiveConfig,
|
|
15
15
|
streamAll,
|
|
16
16
|
writeNdjsonItem
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-FXF5FF3W.js";
|
|
18
|
+
import "./chunk-76E3O6HY.js";
|
|
19
19
|
import {
|
|
20
20
|
createClient
|
|
21
21
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -43,7 +43,7 @@ function resolveOutputOpts(flags) {
|
|
|
43
43
|
async function handleSdkError(err, outOpts, out) {
|
|
44
44
|
const { CurviateError } = await import("@curviate/sdk");
|
|
45
45
|
if (err instanceof CurviateError) {
|
|
46
|
-
const { getExitCode } = await import("./exit-codes-
|
|
46
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
47
47
|
renderError(err, outOpts, out);
|
|
48
48
|
process.exit(getExitCode(err));
|
|
49
49
|
}
|
|
@@ -91,7 +91,7 @@ var FEED_ARGS = {
|
|
|
91
91
|
var feedHomeCommand = defineCommand({
|
|
92
92
|
meta: {
|
|
93
93
|
name: "home",
|
|
94
|
-
description: "Read the connected account's LinkedIn home feed as agent-actionable posts. On the default recent sort
|
|
94
|
+
description: "Read the connected account's LinkedIn home feed as agent-actionable posts. Every post carries its text and created_at. On the default recent sort every engagement count is null (unknown, not zero) and only the author's name resolves; --sort relevant fills engagement and the author's ids.",
|
|
95
95
|
examples: [
|
|
96
96
|
"curviate feed home",
|
|
97
97
|
"curviate feed home --sort relevant",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2FECYCAC.js";
|
|
8
8
|
import {
|
|
9
9
|
pageDelayFromFlags,
|
|
10
10
|
readCursorFlag,
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
resolveEffectiveConfig,
|
|
19
19
|
streamAll,
|
|
20
20
|
writeNdjsonItem
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FXF5FF3W.js";
|
|
22
|
+
import "./chunk-76E3O6HY.js";
|
|
23
23
|
import {
|
|
24
24
|
createClient
|
|
25
25
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -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-
|
|
57
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
58
58
|
renderError(err, outOpts, out);
|
|
59
59
|
process.exit(getExitCode(err));
|
|
60
60
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-UEAX6KUB.js";
|
|
9
9
|
import {
|
|
10
10
|
requireAccount
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2FECYCAC.js";
|
|
12
12
|
import {
|
|
13
13
|
buildPreviewOutput
|
|
14
14
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
resolveEffectiveConfig,
|
|
26
26
|
streamAll,
|
|
27
27
|
writeNdjsonItem
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-FXF5FF3W.js";
|
|
29
|
+
import "./chunk-76E3O6HY.js";
|
|
30
30
|
import {
|
|
31
31
|
createClient
|
|
32
32
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -97,7 +97,7 @@ function validateInboxFolder(raw, out) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2FECYCAC.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
resolveEffectiveConfig,
|
|
16
16
|
streamAll,
|
|
17
17
|
writeNdjsonItem
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-FXF5FF3W.js";
|
|
19
|
+
import "./chunk-76E3O6HY.js";
|
|
20
20
|
import {
|
|
21
21
|
createClient
|
|
22
22
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -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-
|
|
54
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
55
55
|
renderError(err, outOpts, out);
|
|
56
56
|
process.exit(getExitCode(err));
|
|
57
57
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
slimJob
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LCGXJGPB.js";
|
|
5
5
|
import {
|
|
6
6
|
BinaryOutputError,
|
|
7
7
|
writeBinaryOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-UEAX6KUB.js";
|
|
12
12
|
import {
|
|
13
13
|
requireAccount
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2FECYCAC.js";
|
|
15
15
|
import {
|
|
16
16
|
buildPreviewOutput
|
|
17
17
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
resolveEffectiveConfig,
|
|
31
31
|
streamAll,
|
|
32
32
|
writeNdjsonItem
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-FXF5FF3W.js";
|
|
34
|
+
import "./chunk-76E3O6HY.js";
|
|
35
35
|
import {
|
|
36
36
|
createClient,
|
|
37
37
|
downloadBinary
|
|
@@ -97,7 +97,7 @@ function requireEnum(value, allowed, flag, out) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
runMessageSend,
|
|
14
14
|
sentAsNotice,
|
|
15
15
|
willSendAsNotice
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LD6WPZZM.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
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2FECYCAC.js";
|
|
22
22
|
import "./chunk-TCUYH5GO.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-FXF5FF3W.js";
|
|
24
|
+
import "./chunk-76E3O6HY.js";
|
|
25
25
|
import "./chunk-UJOTQPL6.js";
|
|
26
26
|
import "./chunk-TC4ZPUWI.js";
|
|
27
27
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2FECYCAC.js";
|
|
5
5
|
import {
|
|
6
6
|
buildPreviewOutput
|
|
7
7
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
resolveEffectiveConfig,
|
|
18
18
|
streamAll,
|
|
19
19
|
writeNdjsonItem
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-FXF5FF3W.js";
|
|
21
|
+
import "./chunk-76E3O6HY.js";
|
|
22
22
|
import {
|
|
23
23
|
createClient
|
|
24
24
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -47,7 +47,7 @@ function resolveOutputOpts(flags) {
|
|
|
47
47
|
async function handleSdkError(err, outOpts, out) {
|
|
48
48
|
const { CurviateError } = await import("@curviate/sdk");
|
|
49
49
|
if (err instanceof CurviateError) {
|
|
50
|
-
const { getExitCode } = await import("./exit-codes-
|
|
50
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
51
51
|
renderError(err, outOpts, out);
|
|
52
52
|
process.exit(getExitCode(err));
|
|
53
53
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DGIDAO2H.js";
|
|
5
5
|
import {
|
|
6
6
|
AttachError,
|
|
7
7
|
readAttachment,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import "./chunk-UEAX6KUB.js";
|
|
11
11
|
import {
|
|
12
12
|
requireAccount
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2FECYCAC.js";
|
|
14
14
|
import {
|
|
15
15
|
buildPreviewOutput
|
|
16
16
|
} 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-FXF5FF3W.js";
|
|
31
|
+
import "./chunk-76E3O6HY.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient
|
|
34
34
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -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-
|
|
80
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
81
81
|
renderError(err, outOpts, out);
|
|
82
82
|
process.exit(getExitCode(err));
|
|
83
83
|
}
|
|
@@ -382,6 +382,7 @@ async function runPostUserReactions(client, flags, out) {
|
|
|
382
382
|
await handleSdkError(err, outOpts, out);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
+
var POST_ID_FORMS = "Post id in any form the CLI returns: the `id` from search posts or a post read, a bare numeric activity id, urn:li:activity|ugcPost|share:N, or a full LinkedIn post URL (activity-, ugcPost- or share- slug).";
|
|
385
386
|
var postGetCommand = defineCommand({
|
|
386
387
|
meta: {
|
|
387
388
|
name: "get",
|
|
@@ -395,7 +396,7 @@ var postGetCommand = defineCommand({
|
|
|
395
396
|
...readOnly(READ_SINGLE_FLAGS),
|
|
396
397
|
postId: {
|
|
397
398
|
type: "positional",
|
|
398
|
-
description:
|
|
399
|
+
description: POST_ID_FORMS + " POSTID is always the post's id. To list comments on a post, use 'comment list <post_id>'."
|
|
399
400
|
}
|
|
400
401
|
},
|
|
401
402
|
async run({ args }) {
|
|
@@ -466,7 +467,7 @@ var postReactCommand = defineCommand({
|
|
|
466
467
|
...WRITE_FLAGS,
|
|
467
468
|
postId: {
|
|
468
469
|
type: "positional",
|
|
469
|
-
description:
|
|
470
|
+
description: POST_ID_FORMS + " POSTID is always the post's id."
|
|
470
471
|
},
|
|
471
472
|
reaction: {
|
|
472
473
|
type: "positional",
|
|
@@ -514,7 +515,7 @@ var postReactionsCommand = defineCommand({
|
|
|
514
515
|
...readOnly(GLOBAL_FLAGS),
|
|
515
516
|
postId: {
|
|
516
517
|
type: "positional",
|
|
517
|
-
description:
|
|
518
|
+
description: POST_ID_FORMS + " POSTID is always the post's id."
|
|
518
519
|
}
|
|
519
520
|
},
|
|
520
521
|
async run({ args }) {
|
|
@@ -561,7 +562,7 @@ var postDeleteCommand = defineCommand({
|
|
|
561
562
|
},
|
|
562
563
|
args: {
|
|
563
564
|
...WRITE_SINGLE_FLAGS,
|
|
564
|
-
postId: { type: "positional", description:
|
|
565
|
+
postId: { type: "positional", description: POST_ID_FORMS }
|
|
565
566
|
},
|
|
566
567
|
async run({ args }) {
|
|
567
568
|
await withClient(args, runPostDelete);
|
|
@@ -577,7 +578,7 @@ var postUnreactCommand = defineCommand({
|
|
|
577
578
|
},
|
|
578
579
|
args: {
|
|
579
580
|
...WRITE_SINGLE_FLAGS,
|
|
580
|
-
postId: { type: "positional", description:
|
|
581
|
+
postId: { type: "positional", description: POST_ID_FORMS },
|
|
581
582
|
reaction: { type: "positional", description: "Reaction to remove: like|celebrate|support|love|insightful|funny." }
|
|
582
583
|
},
|
|
583
584
|
async run({ args }) {
|
|
@@ -607,7 +608,7 @@ var postSaveCommand = defineCommand({
|
|
|
607
608
|
},
|
|
608
609
|
args: {
|
|
609
610
|
...WRITE_SINGLE_FLAGS,
|
|
610
|
-
postId: { type: "positional", description:
|
|
611
|
+
postId: { type: "positional", description: POST_ID_FORMS }
|
|
611
612
|
},
|
|
612
613
|
async run({ args }) {
|
|
613
614
|
await withClient(args, runPostSave);
|
|
@@ -623,7 +624,7 @@ var postUnsaveCommand = defineCommand({
|
|
|
623
624
|
},
|
|
624
625
|
args: {
|
|
625
626
|
...WRITE_SINGLE_FLAGS,
|
|
626
|
-
postId: { type: "positional", description:
|
|
627
|
+
postId: { type: "positional", description: POST_ID_FORMS }
|
|
627
628
|
},
|
|
628
629
|
async run({ args }) {
|
|
629
630
|
await withClient(args, runPostUnsave);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
slimProfile,
|
|
5
5
|
slimProfileMe,
|
|
6
6
|
withRequestedSections
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LCGXJGPB.js";
|
|
8
8
|
import {
|
|
9
9
|
RETRIEVAL_FLAGS,
|
|
10
10
|
hasRetrievalFlags,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
resolveMemberOrMeProviderId,
|
|
15
15
|
resolveMemberProviderId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DGIDAO2H.js";
|
|
17
17
|
import {
|
|
18
18
|
AttachError,
|
|
19
19
|
readAttachment,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-UEAX6KUB.js";
|
|
25
25
|
import {
|
|
26
26
|
requireAccount
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2FECYCAC.js";
|
|
28
28
|
import {
|
|
29
29
|
buildPreviewOutput
|
|
30
30
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -42,8 +42,8 @@ import {
|
|
|
42
42
|
resolveEffectiveConfig,
|
|
43
43
|
streamAll,
|
|
44
44
|
writeNdjsonItem
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-FXF5FF3W.js";
|
|
46
|
+
import "./chunk-76E3O6HY.js";
|
|
47
47
|
import {
|
|
48
48
|
createClient
|
|
49
49
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -180,7 +180,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
180
180
|
} catch (err) {
|
|
181
181
|
const { CurviateError } = await import("@curviate/sdk");
|
|
182
182
|
if (err instanceof CurviateError) {
|
|
183
|
-
const { getExitCode } = await import("./exit-codes-
|
|
183
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
184
184
|
renderError(err, outOpts, out);
|
|
185
185
|
process.exit(getExitCode(err));
|
|
186
186
|
}
|
|
@@ -207,7 +207,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
207
207
|
} catch (err) {
|
|
208
208
|
const { CurviateError } = await import("@curviate/sdk");
|
|
209
209
|
if (err instanceof CurviateError) {
|
|
210
|
-
const { getExitCode } = await import("./exit-codes-
|
|
210
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
211
211
|
renderError(err, outOpts, out);
|
|
212
212
|
process.exit(getExitCode(err));
|
|
213
213
|
}
|
|
@@ -339,7 +339,7 @@ async function runProfileGet(client, flags, out) {
|
|
|
339
339
|
} catch (err) {
|
|
340
340
|
const { CurviateError } = await import("@curviate/sdk");
|
|
341
341
|
if (err instanceof CurviateError) {
|
|
342
|
-
const { getExitCode } = await import("./exit-codes-
|
|
342
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
343
343
|
renderError(err, outOpts, out);
|
|
344
344
|
process.exit(getExitCode(err));
|
|
345
345
|
}
|
|
@@ -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-
|
|
380
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
381
381
|
renderError(err, outOpts, out);
|
|
382
382
|
process.exit(getExitCode(err));
|
|
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-
|
|
420
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
421
421
|
renderError(err, outOpts, out);
|
|
422
422
|
process.exit(getExitCode(err));
|
|
423
423
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-KJ24DIAJ.js";
|
|
7
7
|
import {
|
|
8
8
|
slimJob
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LCGXJGPB.js";
|
|
10
10
|
import {
|
|
11
11
|
BinaryOutputError,
|
|
12
12
|
writeBinaryOutput
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-UEAX6KUB.js";
|
|
23
23
|
import {
|
|
24
24
|
requireAccount
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2FECYCAC.js";
|
|
26
26
|
import {
|
|
27
27
|
buildPreviewOutput
|
|
28
28
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
resolveEffectiveConfig,
|
|
40
40
|
streamAll,
|
|
41
41
|
writeNdjsonItem
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-FXF5FF3W.js";
|
|
43
|
+
import "./chunk-76E3O6HY.js";
|
|
44
44
|
import {
|
|
45
45
|
createClient,
|
|
46
46
|
downloadBinary
|
|
@@ -79,7 +79,7 @@ function normalizeAttachPaths(attach) {
|
|
|
79
79
|
async function handleSdkError(err, outOpts, out) {
|
|
80
80
|
const { CurviateError } = await import("@curviate/sdk");
|
|
81
81
|
if (err instanceof CurviateError) {
|
|
82
|
-
const { getExitCode } = await import("./exit-codes-
|
|
82
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
83
83
|
renderError(err, outOpts, out);
|
|
84
84
|
process.exit(getExitCode(err));
|
|
85
85
|
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-UEAX6KUB.js";
|
|
15
15
|
import {
|
|
16
16
|
requireAccount
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2FECYCAC.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
resolveEffectiveConfig,
|
|
32
32
|
streamAll,
|
|
33
33
|
writeNdjsonItem
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-FXF5FF3W.js";
|
|
35
|
+
import "./chunk-76E3O6HY.js";
|
|
36
36
|
import {
|
|
37
37
|
createClient
|
|
38
38
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -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-
|
|
68
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
69
69
|
renderError(err, outOpts, out);
|
|
70
70
|
process.exit(getExitCode(err));
|
|
71
71
|
}
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
slimSearchPeopleItem,
|
|
15
15
|
slimSearchPosts,
|
|
16
16
|
slimSearchPostsItem
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LCGXJGPB.js";
|
|
18
18
|
import {
|
|
19
19
|
requireAccount
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2FECYCAC.js";
|
|
21
21
|
import {
|
|
22
22
|
pageDelayFromFlags,
|
|
23
23
|
readCursorFlag,
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
resolveEffectiveConfig,
|
|
31
31
|
streamAll,
|
|
32
32
|
writeNdjsonItem
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-FXF5FF3W.js";
|
|
34
|
+
import "./chunk-76E3O6HY.js";
|
|
35
35
|
import {
|
|
36
36
|
createClient
|
|
37
37
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -214,7 +214,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
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-
|
|
217
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
218
218
|
renderError(err, outOpts, out);
|
|
219
219
|
process.exit(getExitCode(err));
|
|
220
220
|
}
|
|
@@ -256,7 +256,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
256
256
|
} catch (err) {
|
|
257
257
|
const { CurviateError } = await import("@curviate/sdk");
|
|
258
258
|
if (err instanceof CurviateError) {
|
|
259
|
-
const { getExitCode } = await import("./exit-codes-
|
|
259
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
260
260
|
renderError(err, outOpts, out);
|
|
261
261
|
process.exit(getExitCode(err));
|
|
262
262
|
}
|
|
@@ -298,7 +298,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
298
298
|
} catch (err) {
|
|
299
299
|
const { CurviateError } = await import("@curviate/sdk");
|
|
300
300
|
if (err instanceof CurviateError) {
|
|
301
|
-
const { getExitCode } = await import("./exit-codes-
|
|
301
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
302
302
|
renderError(err, outOpts, out);
|
|
303
303
|
process.exit(getExitCode(err));
|
|
304
304
|
}
|
|
@@ -340,7 +340,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
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-
|
|
343
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
344
344
|
renderError(err, outOpts, out);
|
|
345
345
|
process.exit(getExitCode(err));
|
|
346
346
|
}
|
|
@@ -388,7 +388,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
388
388
|
} catch (err) {
|
|
389
389
|
const { CurviateError } = await import("@curviate/sdk");
|
|
390
390
|
if (err instanceof CurviateError) {
|
|
391
|
-
const { getExitCode } = await import("./exit-codes-
|
|
391
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
392
392
|
renderError(err, outOpts, out);
|
|
393
393
|
process.exit(getExitCode(err));
|
|
394
394
|
}
|
|
@@ -430,7 +430,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
430
430
|
} catch (err) {
|
|
431
431
|
const { CurviateError } = await import("@curviate/sdk");
|
|
432
432
|
if (err instanceof CurviateError) {
|
|
433
|
-
const { getExitCode } = await import("./exit-codes-
|
|
433
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
434
434
|
renderError(err, outOpts, out);
|
|
435
435
|
process.exit(getExitCode(err));
|
|
436
436
|
}
|
|
@@ -474,7 +474,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
474
474
|
} catch (err) {
|
|
475
475
|
const { CurviateError } = await import("@curviate/sdk");
|
|
476
476
|
if (err instanceof CurviateError) {
|
|
477
|
-
const { getExitCode } = await import("./exit-codes-
|
|
477
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
478
478
|
renderError(err, outOpts, out);
|
|
479
479
|
process.exit(getExitCode(err));
|
|
480
480
|
}
|
|
@@ -516,7 +516,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
516
516
|
} catch (err) {
|
|
517
517
|
const { CurviateError } = await import("@curviate/sdk");
|
|
518
518
|
if (err instanceof CurviateError) {
|
|
519
|
-
const { getExitCode } = await import("./exit-codes-
|
|
519
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
520
520
|
renderError(err, outOpts, out);
|
|
521
521
|
process.exit(getExitCode(err));
|
|
522
522
|
}
|
|
@@ -555,7 +555,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
555
555
|
} catch (err) {
|
|
556
556
|
const { CurviateError } = await import("@curviate/sdk");
|
|
557
557
|
if (err instanceof CurviateError) {
|
|
558
|
-
const { getExitCode } = await import("./exit-codes-
|
|
558
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
559
559
|
renderError(err, outOpts, out);
|
|
560
560
|
process.exit(getExitCode(err));
|
|
561
561
|
}
|
|
@@ -649,7 +649,7 @@ var searchCompaniesCommand = defineCommand({
|
|
|
649
649
|
var searchPostsCommand = defineCommand({
|
|
650
650
|
meta: {
|
|
651
651
|
name: "posts",
|
|
652
|
-
description: "Search posts.",
|
|
652
|
+
description: "Search posts. Each result's text can repeat fragments around links, mentions and hashtags; use `curviate post get <id>` for the clean body.",
|
|
653
653
|
examples: [
|
|
654
654
|
'curviate search posts --keywords "agent infrastructure"',
|
|
655
655
|
'curviate search posts --keywords "agent infrastructure" --date-posted past_week'
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
readablePage,
|
|
7
7
|
resolveEffectiveConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FXF5FF3W.js";
|
|
9
9
|
import {
|
|
10
10
|
getExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-76E3O6HY.js";
|
|
12
12
|
import {
|
|
13
13
|
createClient,
|
|
14
14
|
getConfigPath,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveEffectiveConfig,
|
|
16
16
|
streamAll,
|
|
17
17
|
writeNdjsonItem
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FXF5FF3W.js";
|
|
19
19
|
import {
|
|
20
20
|
createClient
|
|
21
21
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -53,7 +53,7 @@ function resolveOutputOpts(flags) {
|
|
|
53
53
|
async function handleError(err, outOpts, out) {
|
|
54
54
|
const { CurviateError } = await import("@curviate/sdk");
|
|
55
55
|
if (err instanceof CurviateError) {
|
|
56
|
-
const { getExitCode } = await import("./exit-codes-
|
|
56
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
57
57
|
renderError(err, outOpts, out);
|
|
58
58
|
process.exit(getExitCode(err));
|
|
59
59
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@curviate/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Official command-line interface for the Curviate API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@curviate/sdk": "0.
|
|
50
|
+
"@curviate/sdk": "0.41.0",
|
|
51
51
|
"citty": "^0.1.6",
|
|
52
52
|
"open": "^10.1.0"
|
|
53
53
|
},
|