@curviate/cli 0.33.0 → 0.34.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 +49 -0
- package/README.md +11 -1
- package/dist/{account-IPAW6YRD.js → account-463D5EVY.js} +6 -6
- package/dist/{chunk-REO2BCEX.js → chunk-6W7364S3.js} +1 -1
- package/dist/{chunk-4IPHFPLO.js → chunk-7JU4IXXG.js} +1 -1
- package/dist/{chunk-5SHLELR7.js → chunk-BN7L7WSY.js} +5 -5
- package/dist/{chunk-4EH6EWFW.js → chunk-DCZR4M7G.js} +1 -1
- package/dist/{chunk-27E2M2PS.js → chunk-MNDXMGPX.js} +63 -22
- package/dist/{chunk-4GXO42ZH.js → chunk-XDQHNUEU.js} +1 -1
- package/dist/{chunk-LJR4LJG6.js → chunk-XP2LN6F6.js} +53 -0
- package/dist/{chunk-YCLU5VSN.js → chunk-XZJQQJBE.js} +2 -2
- package/dist/{chunk-REVD4GXL.js → chunk-ZJ7D3NFS.js} +1 -1
- package/dist/cli.js +23 -23
- package/dist/{comment-F2O4UOSD.js → comment-G6RB2PBZ.js} +7 -7
- package/dist/{company-ANZGO2HT.js → company-OWND3W3L.js} +8 -8
- package/dist/{config-ZD3Y5MWP.js → config-RUBXWFQ3.js} +2 -2
- package/dist/{connect-HYJCGYFO.js → connect-3E7EC5ZM.js} +12 -12
- package/dist/{doctor-VPGGB5CW.js → doctor-Z6OSCGKT.js} +4 -4
- package/dist/{exit-codes-ZFWQJYOY.js → exit-codes-YSFFFWMS.js} +1 -1
- package/dist/{feed-IZZYSYYI.js → feed-VDTFIMKN.js} +6 -6
- package/dist/{group-ETDDF2PJ.js → group-KDJHY2IM.js} +6 -6
- package/dist/{inbox-XQQ4YRRO.js → inbox-DQLX2LR7.js} +18 -7
- package/dist/{inboxes-6KHXXEBC.js → inboxes-WMNHOPY7.js} +6 -6
- package/dist/{job-PBTJ5DWL.js → job-ESKS2LDJ.js} +7 -7
- package/dist/{login-HP5URYD6.js → login-YTVPIN27.js} +2 -2
- package/dist/{message-DQQPMRFU.js → message-5W2R3YHS.js} +6 -6
- package/dist/{notification-CXIRJB57.js → notification-IGNUH2GR.js} +6 -6
- package/dist/{post-2S7FYMZO.js → post-NLI76K74.js} +8 -8
- package/dist/{profile-UCERD6RR.js → profile-TBKKIICM.js} +21 -58
- package/dist/{recruiter-PJFUM2ZZ.js → recruiter-AEJRHIX5.js} +8 -8
- package/dist/{sales-nav-7XNJGVIX.js → sales-nav-SW6WJVMD.js} +7 -7
- package/dist/{search-DYGIIODT.js → search-CS6VN5AG.js} +16 -16
- package/dist/{setup-BRULZH53.js → setup-ANHJZJ2S.js} +4 -4
- package/dist/{webhook-2TKWOXYK.js → webhook-NGMRJMQ5.js} +4 -4
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
slimInviteReceivedItem,
|
|
5
5
|
slimInviteSent,
|
|
6
6
|
slimInviteSentItem
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XP2LN6F6.js";
|
|
8
8
|
import {
|
|
9
9
|
nearestSubcommand
|
|
10
10
|
} from "./chunk-HOQ7EUHJ.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-UEAX6KUB.js";
|
|
14
14
|
import {
|
|
15
15
|
requireAccount
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MNDXMGPX.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,15 +27,15 @@ import {
|
|
|
27
27
|
resolveEffectiveConfig,
|
|
28
28
|
streamAll,
|
|
29
29
|
writeNdjsonItem
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-7JU4IXXG.js";
|
|
31
|
+
import "./chunk-XZJQQJBE.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DCZR4M7G.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
WRITE_FLAGS
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XDQHNUEU.js";
|
|
39
39
|
|
|
40
40
|
// src/commands/connect.ts
|
|
41
41
|
import { defineCommand } from "citty";
|
|
@@ -85,7 +85,7 @@ async function runConnectSend(client, flags, out) {
|
|
|
85
85
|
} catch (err) {
|
|
86
86
|
const { CurviateError } = await import("@curviate/sdk");
|
|
87
87
|
if (err instanceof CurviateError) {
|
|
88
|
-
const { getExitCode } = await import("./exit-codes-
|
|
88
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
89
89
|
renderError(err, outOpts, out);
|
|
90
90
|
process.exit(getExitCode(err));
|
|
91
91
|
}
|
|
@@ -125,7 +125,7 @@ async function runConnectSent(client, flags, out) {
|
|
|
125
125
|
} catch (err) {
|
|
126
126
|
const { CurviateError } = await import("@curviate/sdk");
|
|
127
127
|
if (err instanceof CurviateError) {
|
|
128
|
-
const { getExitCode } = await import("./exit-codes-
|
|
128
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
129
129
|
renderError(err, outOpts, out);
|
|
130
130
|
process.exit(getExitCode(err));
|
|
131
131
|
}
|
|
@@ -165,7 +165,7 @@ async function runConnectReceived(client, flags, out) {
|
|
|
165
165
|
} catch (err) {
|
|
166
166
|
const { CurviateError } = await import("@curviate/sdk");
|
|
167
167
|
if (err instanceof CurviateError) {
|
|
168
|
-
const { getExitCode } = await import("./exit-codes-
|
|
168
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
169
169
|
renderError(err, outOpts, out);
|
|
170
170
|
process.exit(getExitCode(err));
|
|
171
171
|
}
|
|
@@ -194,7 +194,7 @@ async function runConnectAccept(client, flags, out) {
|
|
|
194
194
|
} catch (err) {
|
|
195
195
|
const { CurviateError } = await import("@curviate/sdk");
|
|
196
196
|
if (err instanceof CurviateError) {
|
|
197
|
-
const { getExitCode } = await import("./exit-codes-
|
|
197
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
198
198
|
renderError(err, outOpts, out);
|
|
199
199
|
process.exit(getExitCode(err));
|
|
200
200
|
}
|
|
@@ -223,7 +223,7 @@ async function runConnectDecline(client, flags, out) {
|
|
|
223
223
|
} catch (err) {
|
|
224
224
|
const { CurviateError } = await import("@curviate/sdk");
|
|
225
225
|
if (err instanceof CurviateError) {
|
|
226
|
-
const { getExitCode } = await import("./exit-codes-
|
|
226
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
227
227
|
renderError(err, outOpts, out);
|
|
228
228
|
process.exit(getExitCode(err));
|
|
229
229
|
}
|
|
@@ -252,7 +252,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
252
252
|
} catch (err) {
|
|
253
253
|
const { CurviateError } = await import("@curviate/sdk");
|
|
254
254
|
if (err instanceof CurviateError) {
|
|
255
|
-
const { getExitCode } = await import("./exit-codes-
|
|
255
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
256
256
|
renderError(err, outOpts, out);
|
|
257
257
|
process.exit(getExitCode(err));
|
|
258
258
|
}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readablePage,
|
|
4
4
|
resolveEffectiveConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7JU4IXXG.js";
|
|
6
6
|
import {
|
|
7
7
|
getExitCode
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XZJQQJBE.js";
|
|
9
9
|
import {
|
|
10
10
|
createClient,
|
|
11
11
|
getConfigPath,
|
|
12
12
|
isPlainObject,
|
|
13
13
|
readConfigFile,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DCZR4M7G.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XDQHNUEU.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/doctor.ts
|
|
21
21
|
import { defineCommand } from "citty";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MNDXMGPX.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readablePage,
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
resolveEffectiveConfig,
|
|
13
13
|
streamAll,
|
|
14
14
|
writeNdjsonItem
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-7JU4IXXG.js";
|
|
16
|
+
import "./chunk-XZJQQJBE.js";
|
|
17
17
|
import {
|
|
18
18
|
createClient
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DCZR4M7G.js";
|
|
20
20
|
import {
|
|
21
21
|
GLOBAL_FLAGS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XDQHNUEU.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/feed.ts
|
|
25
25
|
import { defineCommand } from "citty";
|
|
@@ -46,7 +46,7 @@ function resolveOutputOpts(flags) {
|
|
|
46
46
|
async function handleSdkError(err, outOpts, out) {
|
|
47
47
|
const { CurviateError } = await import("@curviate/sdk");
|
|
48
48
|
if (err instanceof CurviateError) {
|
|
49
|
-
const { getExitCode } = await import("./exit-codes-
|
|
49
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
50
50
|
renderError(err, outOpts, out);
|
|
51
51
|
process.exit(getExitCode(err));
|
|
52
52
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MNDXMGPX.js";
|
|
8
8
|
import {
|
|
9
9
|
pageDelayFromFlags,
|
|
10
10
|
readablePage,
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
resolveEffectiveConfig,
|
|
16
16
|
streamAll,
|
|
17
17
|
writeNdjsonItem
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-7JU4IXXG.js";
|
|
19
|
+
import "./chunk-XZJQQJBE.js";
|
|
20
20
|
import {
|
|
21
21
|
createClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DCZR4M7G.js";
|
|
23
23
|
import {
|
|
24
24
|
GLOBAL_FLAGS,
|
|
25
25
|
READ_SINGLE_FLAGS
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XDQHNUEU.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/group.ts
|
|
29
29
|
import { defineCommand } from "citty";
|
|
@@ -56,7 +56,7 @@ function resolveOutputOpts(flags) {
|
|
|
56
56
|
async function handleSdkError(err, outOpts, out) {
|
|
57
57
|
const { CurviateError } = await import("@curviate/sdk");
|
|
58
58
|
if (err instanceof CurviateError) {
|
|
59
|
-
const { getExitCode } = await import("./exit-codes-
|
|
59
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
60
60
|
renderError(err, outOpts, out);
|
|
61
61
|
process.exit(getExitCode(err));
|
|
62
62
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-UEAX6KUB.js";
|
|
9
9
|
import {
|
|
10
10
|
requireAccount
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MNDXMGPX.js";
|
|
12
12
|
import {
|
|
13
13
|
buildPreviewOutput
|
|
14
14
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
resolveEffectiveConfig,
|
|
23
23
|
streamAll,
|
|
24
24
|
writeNdjsonItem
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-7JU4IXXG.js";
|
|
26
|
+
import "./chunk-XZJQQJBE.js";
|
|
27
27
|
import {
|
|
28
28
|
createClient
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DCZR4M7G.js";
|
|
30
30
|
import {
|
|
31
31
|
GLOBAL_FLAGS,
|
|
32
32
|
READ_SINGLE_FLAGS,
|
|
33
33
|
WRITE_SINGLE_FLAGS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XDQHNUEU.js";
|
|
35
35
|
|
|
36
36
|
// src/commands/inbox.ts
|
|
37
37
|
import { defineCommand } from "citty";
|
|
@@ -98,7 +98,7 @@ function validateInboxFolder(raw, out) {
|
|
|
98
98
|
async function handleSdkError(err, outOpts, out) {
|
|
99
99
|
const { CurviateError } = await import("@curviate/sdk");
|
|
100
100
|
if (err instanceof CurviateError) {
|
|
101
|
-
const { getExitCode } = await import("./exit-codes-
|
|
101
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
102
102
|
renderError(err, outOpts, out);
|
|
103
103
|
process.exit(getExitCode(err));
|
|
104
104
|
}
|
|
@@ -220,6 +220,17 @@ async function runInboxMessages(client, flags, out) {
|
|
|
220
220
|
renderSuccess(result, outOpts, out);
|
|
221
221
|
}
|
|
222
222
|
} catch (err) {
|
|
223
|
+
const { CurviateError } = await import("@curviate/sdk");
|
|
224
|
+
if (err instanceof CurviateError && err.code === "NOT_STORED") {
|
|
225
|
+
renderError(err, outOpts, out);
|
|
226
|
+
const servable = flags.before === void 0 && flags.after === void 0 && flags.cursor === void 0;
|
|
227
|
+
if (servable) {
|
|
228
|
+
out.stderr.write(
|
|
229
|
+
"hint: a stored listing is served only after a walk of the whole chat, which any unfiltered page fetch restarts. Run `curviate inbox messages <chat_id> --all` without `--mode cache_only` to walk it to the end. A chat whose messages do not fit one page (`--limit`, at most 25) is not served from the store at all.\n"
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
process.exit(14);
|
|
233
|
+
}
|
|
223
234
|
await handleSdkError(err, outOpts, out);
|
|
224
235
|
}
|
|
225
236
|
}
|
|
@@ -348,7 +359,7 @@ var inboxMarkReadCommand = defineCommand({
|
|
|
348
359
|
}
|
|
349
360
|
});
|
|
350
361
|
var inboxMessagesCommand = defineCommand({
|
|
351
|
-
meta: { name: "messages", description: "List messages in a chat. A very recent send/delete may take a few minutes to appear or clear here (LinkedIn-side indexing); `message get <chat_id> <message_id>` reflects it immediately." },
|
|
362
|
+
meta: { name: "messages", description: "List messages in a chat. A very recent send/delete may take a few minutes to appear or clear here (LinkedIn-side indexing); `message get <chat_id> <message_id>` reflects it immediately. `--mode cache_only` is answered only for an unfiltered, uncursored first page of a chat whose whole message set fits in that one page (`--limit`, at most 25), and only after a walk of the chat reached its end: any unfiltered page fetched from LinkedIn (such as `--mode live` without `--all`) restarts that walk, and `--all` walks to the end and closes it. A read carrying `--before`, `--after` or `--cursor` is never served from the store." },
|
|
352
363
|
args: {
|
|
353
364
|
...GLOBAL_FLAGS,
|
|
354
365
|
...RETRIEVAL_FLAGS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MNDXMGPX.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readablePage,
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
resolveEffectiveConfig,
|
|
13
13
|
streamAll,
|
|
14
14
|
writeNdjsonItem
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-7JU4IXXG.js";
|
|
16
|
+
import "./chunk-XZJQQJBE.js";
|
|
17
17
|
import {
|
|
18
18
|
createClient
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DCZR4M7G.js";
|
|
20
20
|
import {
|
|
21
21
|
GLOBAL_FLAGS,
|
|
22
22
|
READ_SINGLE_FLAGS
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XDQHNUEU.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/inboxes.ts
|
|
26
26
|
import { defineCommand } from "citty";
|
|
@@ -53,7 +53,7 @@ function resolveOutputOpts(flags) {
|
|
|
53
53
|
async function handleSdkError(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-YSFFFWMS.js");
|
|
57
57
|
renderError(err, outOpts, out);
|
|
58
58
|
process.exit(getExitCode(err));
|
|
59
59
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
slimJob
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XP2LN6F6.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-MNDXMGPX.js";
|
|
15
15
|
import {
|
|
16
16
|
buildPreviewOutput
|
|
17
17
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
resolveEffectiveConfig,
|
|
28
28
|
streamAll,
|
|
29
29
|
writeNdjsonItem
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-7JU4IXXG.js";
|
|
31
|
+
import "./chunk-XZJQQJBE.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient,
|
|
34
34
|
downloadBinary
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DCZR4M7G.js";
|
|
36
36
|
import {
|
|
37
37
|
GLOBAL_FLAGS,
|
|
38
38
|
READ_SINGLE_FLAGS,
|
|
39
39
|
WRITE_SINGLE_FLAGS
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XDQHNUEU.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/job.ts
|
|
43
43
|
import { defineCommand } from "citty";
|
|
@@ -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-
|
|
102
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
103
103
|
renderError(err, outOpts, out);
|
|
104
104
|
process.exit(getExitCode(err));
|
|
105
105
|
}
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
baseUrlProblem,
|
|
7
7
|
writeProfile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DCZR4M7G.js";
|
|
9
9
|
import {
|
|
10
10
|
GLOBAL_FLAGS,
|
|
11
11
|
defaultReadStdin,
|
|
12
12
|
resolveTextOrStdin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XDQHNUEU.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/login.ts
|
|
16
16
|
import { defineCommand } from "citty";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
runMessageSend,
|
|
14
14
|
sentAsNotice,
|
|
15
15
|
willSendAsNotice
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BN7L7WSY.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-MNDXMGPX.js";
|
|
22
22
|
import "./chunk-TCUYH5GO.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7JU4IXXG.js";
|
|
24
|
+
import "./chunk-XZJQQJBE.js";
|
|
25
|
+
import "./chunk-DCZR4M7G.js";
|
|
26
|
+
import "./chunk-XDQHNUEU.js";
|
|
27
27
|
export {
|
|
28
28
|
guardBareMessageForm,
|
|
29
29
|
messageCommand,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MNDXMGPX.js";
|
|
5
5
|
import {
|
|
6
6
|
buildPreviewOutput
|
|
7
7
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
resolveEffectiveConfig,
|
|
16
16
|
streamAll,
|
|
17
17
|
writeNdjsonItem
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-7JU4IXXG.js";
|
|
19
|
+
import "./chunk-XZJQQJBE.js";
|
|
20
20
|
import {
|
|
21
21
|
createClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DCZR4M7G.js";
|
|
23
23
|
import {
|
|
24
24
|
GLOBAL_FLAGS,
|
|
25
25
|
WRITE_SINGLE_FLAGS
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XDQHNUEU.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/notification.ts
|
|
29
29
|
import { defineCommand } from "citty";
|
|
@@ -50,7 +50,7 @@ function resolveOutputOpts(flags) {
|
|
|
50
50
|
async function handleSdkError(err, outOpts, out) {
|
|
51
51
|
const { CurviateError } = await import("@curviate/sdk");
|
|
52
52
|
if (err instanceof CurviateError) {
|
|
53
|
-
const { getExitCode } = await import("./exit-codes-
|
|
53
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
54
54
|
renderError(err, outOpts, out);
|
|
55
55
|
process.exit(getExitCode(err));
|
|
56
56
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZJ7D3NFS.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-MNDXMGPX.js";
|
|
14
14
|
import {
|
|
15
15
|
buildPreviewOutput
|
|
16
16
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -24,18 +24,18 @@ import {
|
|
|
24
24
|
resolveEffectiveConfig,
|
|
25
25
|
streamAll,
|
|
26
26
|
writeNdjsonItem
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-7JU4IXXG.js";
|
|
28
|
+
import "./chunk-XZJQQJBE.js";
|
|
29
29
|
import {
|
|
30
30
|
createClient
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DCZR4M7G.js";
|
|
32
32
|
import {
|
|
33
33
|
GLOBAL_FLAGS,
|
|
34
34
|
NON_STREAM_FLAGS,
|
|
35
35
|
WRITE_FLAGS,
|
|
36
36
|
WRITE_SINGLE_FLAGS,
|
|
37
37
|
resolveTextOrStdin
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XDQHNUEU.js";
|
|
39
39
|
|
|
40
40
|
// src/commands/post.ts
|
|
41
41
|
import { defineCommand } from "citty";
|
|
@@ -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-
|
|
81
|
+
const { getExitCode } = await import("./exit-codes-YSFFFWMS.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -587,7 +587,7 @@ var postUserPostsCommand = defineCommand({
|
|
|
587
587
|
}
|
|
588
588
|
});
|
|
589
589
|
var postUserReactionsCommand = defineCommand({
|
|
590
|
-
meta: { name: "user-reactions", description: "List a member's own reactions (accepts 'me')." },
|
|
590
|
+
meta: { name: "user-reactions", description: "List a member's own reactions (accepts 'me'). Items carry no time of the reaction: `parent_post.created_at` is when the post was created, not when it was reacted to, so the listing cannot be filtered by date; without `--all`, `--limit` caps the read at one page." },
|
|
591
591
|
args: {
|
|
592
592
|
...GLOBAL_FLAGS,
|
|
593
593
|
userId: { type: "positional", description: "Member identifier (URL, slug, provider id, or 'me')." }
|