@curviate/cli 0.23.0 → 0.23.2

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 (31) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +65 -23
  3. package/dist/{account-MIPWTAG5.js → account-JBSYX6D2.js} +9 -10
  4. package/dist/{chunk-H6XD3F66.js → chunk-766W25QS.js} +1 -1
  5. package/dist/{chunk-ZYURL5VK.js → chunk-AHYUM2XQ.js} +93 -1
  6. package/dist/{chunk-56ORAZJO.js → chunk-LCIUD7S2.js} +1 -1
  7. package/dist/{chunk-3BO6GVS2.js → chunk-LCLYFE54.js} +1 -1
  8. package/dist/{chunk-MBO4LBLY.js → chunk-S6VAMUCC.js} +4 -6
  9. package/dist/{chunk-CUTMZWL6.js → chunk-SYRFLZ4D.js} +2 -94
  10. package/dist/{chunk-JA3NNST6.js → chunk-TKWW6BV6.js} +2 -2
  11. package/dist/{chunk-RFUO2G3M.js → chunk-VAUKRTRG.js} +5 -4
  12. package/dist/cli.js +107 -68
  13. package/dist/{comment-TUXC7K72.js → comment-SXYTJPXI.js} +6 -7
  14. package/dist/{company-LHYDAO2C.js → company-3UB4P77N.js} +9 -10
  15. package/dist/{config-FPWWYG7G.js → config-YKQ4QEBI.js} +4 -3
  16. package/dist/{connect-5S4TFQAF.js → connect-DFZEYMLV.js} +6 -6
  17. package/dist/{feed-ISNH4NXB.js → feed-ZY27EY52.js} +5 -5
  18. package/dist/{group-PHGUOOJE.js → group-DBE25EID.js} +5 -5
  19. package/dist/{inbox-3IQPPQMH.js → inbox-E6ME3ROZ.js} +5 -5
  20. package/dist/{inboxes-JK36F6SK.js → inboxes-JRX3J32A.js} +5 -5
  21. package/dist/{job-JQG34ATV.js → job-URLZ4GU7.js} +6 -6
  22. package/dist/{login-ZLDDIAFW.js → login-ERQVI27Q.js} +3 -3
  23. package/dist/{message-2WIZESSM.js → message-NPX7UX46.js} +5 -5
  24. package/dist/{notification-ORSZY2IJ.js → notification-XSSA5QOJ.js} +5 -5
  25. package/dist/{post-JRJMGV2I.js → post-OSM7JH65.js} +6 -7
  26. package/dist/{profile-SUKHRWQP.js → profile-HPZII6A5.js} +8 -8
  27. package/dist/{recruiter-NIKKDGMR.js → recruiter-VAZV2JJJ.js} +8 -9
  28. package/dist/{sales-nav-4MFL2JSE.js → sales-nav-LSUBIJWZ.js} +6 -6
  29. package/dist/{search-MZQJDJTX.js → search-52CISWQV.js} +19 -19
  30. package/dist/{webhook-7ESDSIRU.js → webhook-C43C5BK7.js} +5 -10
  31. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -1,8 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
+ GLOBAL_FLAGS,
3
4
  STDIN_SENTINEL,
4
5
  restoreLiteralDashes
5
- } from "./chunk-ZYURL5VK.js";
6
+ } from "./chunk-AHYUM2XQ.js";
6
7
 
7
8
  // src/cli.ts
8
9
  import { defineCommand } from "citty";
@@ -10,6 +11,10 @@ import { createRequire } from "module";
10
11
 
11
12
  // src/dispatch.ts
12
13
  import { runCommand } from "citty";
14
+ var GLOBAL_FLAG_NAMES = new Set(Object.keys(GLOBAL_FLAGS));
15
+ var GLOBAL_BOOLEAN_FLAG_NAMES = new Set(
16
+ Object.entries(GLOBAL_FLAGS).filter(([, def]) => def.type === "boolean").map(([name]) => name)
17
+ );
13
18
  var REMOVED_COMMANDS = {
14
19
  post: {
15
20
  list: "`post list` was removed. Use `post user-posts <user_id>` (accepts `me`).",
@@ -51,8 +56,71 @@ function successorHint(group, token) {
51
56
  async function resolveValue(input) {
52
57
  return typeof input === "function" ? input() : input;
53
58
  }
54
- function firstPositionalIndex(rawArgs) {
55
- return rawArgs.findIndex((a) => !a.startsWith("-"));
59
+ function stripFlagName(token) {
60
+ if (!token.startsWith("-") || token === "-") return null;
61
+ const body = token.replace(/^-+/, "");
62
+ const eq = body.indexOf("=");
63
+ const name = eq === -1 ? body : body.slice(0, eq);
64
+ return name === "" ? null : name;
65
+ }
66
+ function isDeclaredFlagToken(token, declared) {
67
+ const name = stripFlagName(token);
68
+ if (name === null) return false;
69
+ return declared.has(name) || name.startsWith("no-") && declared.has(name.slice(3));
70
+ }
71
+ function walkTokens(rawArgs, booleanFlags, declaredFlags) {
72
+ const positionals = [];
73
+ const flags = [];
74
+ const merges = [];
75
+ let afterDoubleDash = false;
76
+ for (let i = 0; i < rawArgs.length; i++) {
77
+ const arg = rawArgs[i];
78
+ if (afterDoubleDash) {
79
+ positionals.push({ token: arg, index: i });
80
+ continue;
81
+ }
82
+ if (arg === "--") {
83
+ afterDoubleDash = true;
84
+ continue;
85
+ }
86
+ const name = stripFlagName(arg);
87
+ if (name === null) {
88
+ positionals.push({ token: arg, index: i });
89
+ continue;
90
+ }
91
+ flags.push({ token: arg, index: i, name });
92
+ if (arg.replace(/^-+/, "").includes("=")) continue;
93
+ const isBoolean = booleanFlags.has(name) || name.startsWith("no-") && booleanFlags.has(name.slice(3));
94
+ if (isBoolean) continue;
95
+ const next = rawArgs[i + 1];
96
+ if (next === void 0 || next === "--") continue;
97
+ const isDeclared = declaredFlags.has(name) || name.startsWith("no-") && declaredFlags.has(name.slice(3));
98
+ const nextIsDashValue = next.startsWith("-") && next !== "-";
99
+ const consume = isDeclared ? !isDeclaredFlagToken(next, declaredFlags) : !nextIsDashValue;
100
+ if (consume) {
101
+ if (isDeclared && nextIsDashValue) merges.push({ flagIndex: i, valueIndex: i + 1 });
102
+ i++;
103
+ }
104
+ }
105
+ return { positionals, flags, merges };
106
+ }
107
+ async function routingBooleanFlagNames(cmd) {
108
+ return /* @__PURE__ */ new Set([...await booleanFlagNames(cmd), ...GLOBAL_BOOLEAN_FLAG_NAMES]);
109
+ }
110
+ async function routingDeclaredFlagNames(cmd) {
111
+ return /* @__PURE__ */ new Set([...await declaredArgNames(cmd), ...GLOBAL_FLAG_NAMES]);
112
+ }
113
+ function mergeDashPrefixedValues(rawArgs, merges) {
114
+ if (merges.length === 0) return rawArgs;
115
+ const valueIndexOfFlag = new Map(merges.map((m) => [m.flagIndex, m.valueIndex]));
116
+ const consumedValueIndices = new Set(merges.map((m) => m.valueIndex));
117
+ const out = [];
118
+ for (let i = 0; i < rawArgs.length; i++) {
119
+ if (consumedValueIndices.has(i)) continue;
120
+ const valueIndex = valueIndexOfFlag.get(i);
121
+ out.push(valueIndex === void 0 ? rawArgs[i] : `${rawArgs[i]}=${rawArgs[valueIndex]}`);
122
+ }
123
+ return out;
56
124
  }
57
125
  async function nodeHasPositional(cmd) {
58
126
  const argsDef = await resolveValue(cmd.args ?? {});
@@ -87,35 +155,10 @@ function arityPhrase(count) {
87
155
  if (count === 1) return "1 positional argument";
88
156
  return `${count} positional arguments`;
89
157
  }
90
- function positionalTokens(rawArgs, booleanFlags) {
91
- const out = [];
92
- let afterDoubleDash = false;
93
- for (let i = 0; i < rawArgs.length; i++) {
94
- const arg = rawArgs[i];
95
- if (afterDoubleDash) {
96
- out.push({ token: arg, index: i });
97
- continue;
98
- }
99
- if (arg === "--") {
100
- afterDoubleDash = true;
101
- continue;
102
- }
103
- if (arg.startsWith("-") && arg !== "-") {
104
- const body = arg.replace(/^-+/, "");
105
- if (body.includes("=")) continue;
106
- const isBoolean = booleanFlags.has(body) || body.startsWith("no-") && booleanFlags.has(body.slice(3));
107
- if (isBoolean) continue;
108
- const next = rawArgs[i + 1];
109
- if (next !== void 0 && !(next.startsWith("-") && next !== "-")) i++;
110
- continue;
111
- }
112
- out.push({ token: arg, index: i });
113
- }
114
- return out;
115
- }
116
158
  async function extraPositionals(cmd, rawArgs) {
117
- const booleanFlags = await booleanFlagNames(cmd);
118
- const positionals = positionalTokens(rawArgs, booleanFlags);
159
+ const booleanFlags = await routingBooleanFlagNames(cmd);
160
+ const declaredFlags = await routingDeclaredFlagNames(cmd);
161
+ const { positionals } = walkTokens(rawArgs, booleanFlags, declaredFlags);
119
162
  const declaredCount = await nodePositionalCount(cmd);
120
163
  return positionals.slice(declaredCount);
121
164
  }
@@ -142,22 +185,11 @@ async function declaredArgNames(cmd) {
142
185
  }
143
186
  return names;
144
187
  }
145
- function findUnknownFlag(rawArgs, declared) {
146
- let afterDoubleDash = false;
147
- for (const arg of rawArgs) {
148
- if (afterDoubleDash) continue;
149
- if (arg === "--") {
150
- afterDoubleDash = true;
151
- continue;
152
- }
153
- if (!arg.startsWith("-")) continue;
154
- let name = arg.replace(/^-+/, "");
155
- const eq = name.indexOf("=");
156
- if (eq !== -1) name = name.slice(0, eq);
157
- if (name === "") continue;
188
+ function findUnknownFlag(flags, declared) {
189
+ for (const { token, name } of flags) {
158
190
  if (declared.has(name)) continue;
159
191
  if (name.startsWith("no-") && declared.has(name.slice(3))) continue;
160
- return arg;
192
+ return token;
161
193
  }
162
194
  return null;
163
195
  }
@@ -186,12 +218,16 @@ async function resolveLeaf(cmd, rawArgs, descent) {
186
218
  const here = descent ?? { path: [await nodeName(cmd)] };
187
219
  const subCommands = await resolveValue(cmd.subCommands);
188
220
  if (subCommands && Object.keys(subCommands).length > 0) {
189
- const idx = firstPositionalIndex(rawArgs);
221
+ const booleanFlags = await routingBooleanFlagNames(cmd);
222
+ const declaredFlags = await routingDeclaredFlagNames(cmd);
223
+ const { positionals } = walkTokens(rawArgs, booleanFlags, declaredFlags);
224
+ const idx = positionals.length > 0 ? positionals[0].index : -1;
190
225
  const token = idx === -1 ? void 0 : rawArgs[idx];
191
226
  const hasBarePositional = await nodeHasPositional(cmd);
192
227
  if (token !== void 0 && subCommands[token]) {
193
228
  const sub = await resolveValue(subCommands[token]);
194
- return resolveLeaf(sub, rawArgs.slice(idx + 1), {
229
+ const remaining = [...rawArgs.slice(0, idx), ...rawArgs.slice(idx + 1)];
230
+ return resolveLeaf(sub, remaining, {
195
231
  path: [...here.path, token],
196
232
  siblings: subCommands
197
233
  });
@@ -248,12 +284,15 @@ async function dispatch(root, rawArgs) {
248
284
  if (hasEmptyFields(leafArgs)) {
249
285
  usageError("--fields must not be empty.");
250
286
  }
287
+ const booleanFlags = await booleanFlagNames(leaf);
251
288
  const declared = await declaredArgNames(leaf);
252
- const unknown = findUnknownFlag(leafArgs, declared);
289
+ const walk = walkTokens(leafArgs, booleanFlags, declared);
290
+ const unknown = findUnknownFlag(walk.flags, declared);
253
291
  if (unknown !== null) {
254
292
  usageError(`unknown flag \`${unknown}\`.`);
255
293
  }
256
- const processedLeafArgs = leafArgs.map((a) => a === "-" ? STDIN_SENTINEL : a);
294
+ const mergedLeafArgs = mergeDashPrefixedValues(leafArgs, walk.merges);
295
+ const processedLeafArgs = mergedLeafArgs.map((a) => a === "-" ? STDIN_SENTINEL : a);
257
296
  const leafArgsDef = await resolveValue(leaf.args ?? {});
258
297
  const originalRun = leaf.run;
259
298
  const leafToRun = {
@@ -294,28 +333,28 @@ var main = defineCommand({
294
333
  // Subcommand registry, names and descriptions are static for help rendering;
295
334
  // the handler implementation is loaded lazily on first invocation.
296
335
  subCommands: {
297
- login: () => import("./login-ZLDDIAFW.js").then((m) => m.loginCommand),
298
- config: () => import("./config-FPWWYG7G.js").then((m) => m.configCommand),
336
+ login: () => import("./login-ERQVI27Q.js").then((m) => m.loginCommand),
337
+ config: () => import("./config-YKQ4QEBI.js").then((m) => m.configCommand),
299
338
  // ---------------------------------------------------------------------------
300
339
  // Noun groups, lazy-loaded on first invocation.
301
340
  // ---------------------------------------------------------------------------
302
- profile: () => import("./profile-SUKHRWQP.js").then((m) => m.profileCommand),
303
- company: () => import("./company-LHYDAO2C.js").then((m) => m.companyCommand),
304
- job: () => import("./job-JQG34ATV.js").then((m) => m.jobCommand),
305
- connect: () => import("./connect-5S4TFQAF.js").then((m) => m.connectCommand),
306
- search: () => import("./search-MZQJDJTX.js").then((m) => m.searchCommand),
307
- inbox: () => import("./inbox-3IQPPQMH.js").then((m) => m.inboxCommand),
308
- inboxes: () => import("./inboxes-JK36F6SK.js").then((m) => m.inboxesCommand),
309
- message: () => import("./message-2WIZESSM.js").then((m) => m.messageCommand),
310
- post: () => import("./post-JRJMGV2I.js").then((m) => m.postCommand),
311
- comment: () => import("./comment-TUXC7K72.js").then((m) => m.commentCommand),
312
- account: () => import("./account-MIPWTAG5.js").then((m) => m.accountCommand),
313
- webhook: () => import("./webhook-7ESDSIRU.js").then((m) => m.webhookCommand),
314
- "sales-nav": () => import("./sales-nav-4MFL2JSE.js").then((m) => m.salesNavCommand),
315
- recruiter: () => import("./recruiter-NIKKDGMR.js").then((m) => m.recruiterCommand),
316
- group: () => import("./group-PHGUOOJE.js").then((m) => m.groupCommand),
317
- feed: () => import("./feed-ISNH4NXB.js").then((m) => m.feedCommand),
318
- notification: () => import("./notification-ORSZY2IJ.js").then((m) => m.notificationCommand)
341
+ profile: () => import("./profile-HPZII6A5.js").then((m) => m.profileCommand),
342
+ company: () => import("./company-3UB4P77N.js").then((m) => m.companyCommand),
343
+ job: () => import("./job-URLZ4GU7.js").then((m) => m.jobCommand),
344
+ connect: () => import("./connect-DFZEYMLV.js").then((m) => m.connectCommand),
345
+ search: () => import("./search-52CISWQV.js").then((m) => m.searchCommand),
346
+ inbox: () => import("./inbox-E6ME3ROZ.js").then((m) => m.inboxCommand),
347
+ inboxes: () => import("./inboxes-JRX3J32A.js").then((m) => m.inboxesCommand),
348
+ message: () => import("./message-NPX7UX46.js").then((m) => m.messageCommand),
349
+ post: () => import("./post-OSM7JH65.js").then((m) => m.postCommand),
350
+ comment: () => import("./comment-SXYTJPXI.js").then((m) => m.commentCommand),
351
+ account: () => import("./account-JBSYX6D2.js").then((m) => m.accountCommand),
352
+ webhook: () => import("./webhook-C43C5BK7.js").then((m) => m.webhookCommand),
353
+ "sales-nav": () => import("./sales-nav-LSUBIJWZ.js").then((m) => m.salesNavCommand),
354
+ recruiter: () => import("./recruiter-VAZV2JJJ.js").then((m) => m.recruiterCommand),
355
+ group: () => import("./group-DBE25EID.js").then((m) => m.groupCommand),
356
+ feed: () => import("./feed-ZY27EY52.js").then((m) => m.feedCommand),
357
+ notification: () => import("./notification-XSSA5QOJ.js").then((m) => m.notificationCommand)
319
358
  },
320
359
  async run() {
321
360
  const { runMain } = await import("citty");
@@ -11,11 +11,11 @@ import {
11
11
  import {
12
12
  pageDelayFromFlags,
13
13
  streamAll
14
- } from "./chunk-H6XD3F66.js";
14
+ } from "./chunk-766W25QS.js";
15
15
  import "./chunk-UEAX6KUB.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-3BO6GVS2.js";
18
+ } from "./chunk-LCLYFE54.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-R3VLWLVV.js";
@@ -25,14 +25,13 @@ import {
25
25
  renderSuccess,
26
26
  renderUnexpectedError,
27
27
  resolveEffectiveConfig
28
- } from "./chunk-JA3NNST6.js";
28
+ } from "./chunk-TKWW6BV6.js";
29
+ import "./chunk-SYRFLZ4D.js";
29
30
  import {
30
31
  GLOBAL_FLAGS,
31
- WRITE_SINGLE_FLAGS
32
- } from "./chunk-CUTMZWL6.js";
33
- import {
32
+ WRITE_SINGLE_FLAGS,
34
33
  resolveTextOrStdin
35
- } from "./chunk-ZYURL5VK.js";
34
+ } from "./chunk-AHYUM2XQ.js";
36
35
  import "./chunk-PMRQXBCP.js";
37
36
 
38
37
  // src/commands/comment.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-MBO4LBLY.js";
4
+ } from "./chunk-S6VAMUCC.js";
5
5
  import "./chunk-HOQ7EUHJ.js";
6
6
  import {
7
7
  AttachError,
@@ -16,18 +16,18 @@ import {
16
16
  slimSearchJobs,
17
17
  slimSearchPeople,
18
18
  slimSearchPosts
19
- } from "./chunk-RFUO2G3M.js";
19
+ } from "./chunk-VAUKRTRG.js";
20
20
  import {
21
21
  pageDelayFromFlags,
22
22
  streamAll
23
- } from "./chunk-H6XD3F66.js";
23
+ } from "./chunk-766W25QS.js";
24
24
  import "./chunk-UWO2D4HW.js";
25
25
  import {
26
26
  resolveIdentifier
27
27
  } from "./chunk-UEAX6KUB.js";
28
28
  import {
29
29
  requireAccount
30
- } from "./chunk-3BO6GVS2.js";
30
+ } from "./chunk-LCLYFE54.js";
31
31
  import {
32
32
  buildPreviewOutput
33
33
  } from "./chunk-R3VLWLVV.js";
@@ -37,14 +37,13 @@ import {
37
37
  renderSuccess,
38
38
  renderUnexpectedError,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-JA3NNST6.js";
40
+ } from "./chunk-TKWW6BV6.js";
41
+ import "./chunk-SYRFLZ4D.js";
41
42
  import {
42
43
  GLOBAL_FLAGS,
43
- WRITE_FLAGS
44
- } from "./chunk-CUTMZWL6.js";
45
- import {
44
+ WRITE_FLAGS,
46
45
  resolveTextOrStdin
47
- } from "./chunk-ZYURL5VK.js";
46
+ } from "./chunk-AHYUM2XQ.js";
48
47
  import "./chunk-PMRQXBCP.js";
49
48
 
50
49
  // src/commands/company.ts
@@ -495,7 +494,7 @@ var companyEmployeesCommand = defineCommand({
495
494
  ...GLOBAL_FLAGS,
496
495
  id: { type: "positional", description: "Company identifier (URL, slug, or numeric id), a slug/URL is resolved to the numeric id first." },
497
496
  keywords: { type: "string", description: "Free-text keyword filter across employee profile fields." },
498
- location: { type: "string", description: "Opaque location id from `search parameters --type LOCATION`." }
497
+ location: { type: "string", description: "Opaque location id from `curviate search parameters --type LOCATION`." }
499
498
  },
500
499
  async run({ args }) {
501
500
  const flags = args;
@@ -1,14 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- GLOBAL_FLAGS,
4
3
  getConfigPath,
5
4
  readConfig,
6
5
  removeProfile,
7
6
  renameProfile,
8
7
  setActiveProfile,
9
8
  updateProfileField
10
- } from "./chunk-CUTMZWL6.js";
11
- import "./chunk-ZYURL5VK.js";
9
+ } from "./chunk-SYRFLZ4D.js";
10
+ import {
11
+ GLOBAL_FLAGS
12
+ } from "./chunk-AHYUM2XQ.js";
12
13
 
13
14
  // src/commands/config.ts
14
15
  import { defineCommand } from "citty";
@@ -7,17 +7,17 @@ import {
7
7
  slimInviteReceivedItem,
8
8
  slimInviteSent,
9
9
  slimInviteSentItem
10
- } from "./chunk-RFUO2G3M.js";
10
+ } from "./chunk-VAUKRTRG.js";
11
11
  import {
12
12
  pageDelayFromFlags,
13
13
  streamAll
14
- } from "./chunk-H6XD3F66.js";
14
+ } from "./chunk-766W25QS.js";
15
15
  import {
16
16
  resolveIdentifier
17
17
  } from "./chunk-UEAX6KUB.js";
18
18
  import {
19
19
  requireAccount
20
- } from "./chunk-3BO6GVS2.js";
20
+ } from "./chunk-LCLYFE54.js";
21
21
  import {
22
22
  buildPreviewOutput
23
23
  } from "./chunk-R3VLWLVV.js";
@@ -27,12 +27,12 @@ import {
27
27
  renderSuccess,
28
28
  renderUnexpectedError,
29
29
  resolveEffectiveConfig
30
- } from "./chunk-JA3NNST6.js";
30
+ } from "./chunk-TKWW6BV6.js";
31
+ import "./chunk-SYRFLZ4D.js";
31
32
  import {
32
33
  GLOBAL_FLAGS,
33
34
  WRITE_FLAGS
34
- } from "./chunk-CUTMZWL6.js";
35
- import "./chunk-ZYURL5VK.js";
35
+ } from "./chunk-AHYUM2XQ.js";
36
36
  import "./chunk-PMRQXBCP.js";
37
37
 
38
38
  // src/commands/connect.ts
@@ -2,21 +2,21 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-H6XD3F66.js";
5
+ } from "./chunk-766W25QS.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-3BO6GVS2.js";
8
+ } from "./chunk-LCLYFE54.js";
9
9
  import {
10
10
  createClient,
11
11
  renderError,
12
12
  renderSuccess,
13
13
  renderUnexpectedError,
14
14
  resolveEffectiveConfig
15
- } from "./chunk-JA3NNST6.js";
15
+ } from "./chunk-TKWW6BV6.js";
16
+ import "./chunk-SYRFLZ4D.js";
16
17
  import {
17
18
  GLOBAL_FLAGS
18
- } from "./chunk-CUTMZWL6.js";
19
- import "./chunk-ZYURL5VK.js";
19
+ } from "./chunk-AHYUM2XQ.js";
20
20
  import "./chunk-PMRQXBCP.js";
21
21
 
22
22
  // src/commands/feed.ts
@@ -2,25 +2,25 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-H6XD3F66.js";
5
+ } from "./chunk-766W25QS.js";
6
6
  import {
7
7
  normalizeGroupId
8
8
  } from "./chunk-UEAX6KUB.js";
9
9
  import {
10
10
  requireAccount
11
- } from "./chunk-3BO6GVS2.js";
11
+ } from "./chunk-LCLYFE54.js";
12
12
  import {
13
13
  createClient,
14
14
  renderError,
15
15
  renderSuccess,
16
16
  renderUnexpectedError,
17
17
  resolveEffectiveConfig
18
- } from "./chunk-JA3NNST6.js";
18
+ } from "./chunk-TKWW6BV6.js";
19
+ import "./chunk-SYRFLZ4D.js";
19
20
  import {
20
21
  GLOBAL_FLAGS,
21
22
  READ_SINGLE_FLAGS
22
- } from "./chunk-CUTMZWL6.js";
23
- import "./chunk-ZYURL5VK.js";
23
+ } from "./chunk-AHYUM2XQ.js";
24
24
  import "./chunk-PMRQXBCP.js";
25
25
 
26
26
  // src/commands/group.ts
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-H6XD3F66.js";
5
+ } from "./chunk-766W25QS.js";
6
6
  import {
7
7
  normalizeChatId
8
8
  } from "./chunk-UEAX6KUB.js";
9
9
  import {
10
10
  requireAccount
11
- } from "./chunk-3BO6GVS2.js";
11
+ } from "./chunk-LCLYFE54.js";
12
12
  import {
13
13
  buildPreviewOutput
14
14
  } from "./chunk-R3VLWLVV.js";
@@ -18,13 +18,13 @@ import {
18
18
  renderSuccess,
19
19
  renderUnexpectedError,
20
20
  resolveEffectiveConfig
21
- } from "./chunk-JA3NNST6.js";
21
+ } from "./chunk-TKWW6BV6.js";
22
+ import "./chunk-SYRFLZ4D.js";
22
23
  import {
23
24
  GLOBAL_FLAGS,
24
25
  READ_SINGLE_FLAGS,
25
26
  WRITE_SINGLE_FLAGS
26
- } from "./chunk-CUTMZWL6.js";
27
- import "./chunk-ZYURL5VK.js";
27
+ } from "./chunk-AHYUM2XQ.js";
28
28
  import "./chunk-PMRQXBCP.js";
29
29
 
30
30
  // src/commands/inbox.ts
@@ -2,22 +2,22 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-H6XD3F66.js";
5
+ } from "./chunk-766W25QS.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-3BO6GVS2.js";
8
+ } from "./chunk-LCLYFE54.js";
9
9
  import {
10
10
  createClient,
11
11
  renderError,
12
12
  renderSuccess,
13
13
  renderUnexpectedError,
14
14
  resolveEffectiveConfig
15
- } from "./chunk-JA3NNST6.js";
15
+ } from "./chunk-TKWW6BV6.js";
16
+ import "./chunk-SYRFLZ4D.js";
16
17
  import {
17
18
  GLOBAL_FLAGS,
18
19
  READ_SINGLE_FLAGS
19
- } from "./chunk-CUTMZWL6.js";
20
- import "./chunk-ZYURL5VK.js";
20
+ } from "./chunk-AHYUM2XQ.js";
21
21
  import "./chunk-PMRQXBCP.js";
22
22
 
23
23
  // src/commands/inboxes.ts
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  slimJob
4
- } from "./chunk-RFUO2G3M.js";
4
+ } from "./chunk-VAUKRTRG.js";
5
5
  import {
6
6
  DEFAULT_PAGE_DELAY_MS,
7
7
  ndjsonModeNotice,
8
8
  pageDelayFromFlags,
9
9
  streamAll
10
- } from "./chunk-H6XD3F66.js";
10
+ } from "./chunk-766W25QS.js";
11
11
  import {
12
12
  BinaryOutputError,
13
13
  writeBinaryOutput
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-UEAX6KUB.js";
18
18
  import {
19
19
  requireAccount
20
- } from "./chunk-3BO6GVS2.js";
20
+ } from "./chunk-LCLYFE54.js";
21
21
  import {
22
22
  buildPreviewOutput
23
23
  } from "./chunk-R3VLWLVV.js";
@@ -27,13 +27,13 @@ import {
27
27
  renderSuccess,
28
28
  renderUnexpectedError,
29
29
  resolveEffectiveConfig
30
- } from "./chunk-JA3NNST6.js";
30
+ } from "./chunk-TKWW6BV6.js";
31
+ import "./chunk-SYRFLZ4D.js";
31
32
  import {
32
33
  GLOBAL_FLAGS,
33
34
  READ_SINGLE_FLAGS,
34
35
  WRITE_SINGLE_FLAGS
35
- } from "./chunk-CUTMZWL6.js";
36
- import "./chunk-ZYURL5VK.js";
36
+ } from "./chunk-AHYUM2XQ.js";
37
37
  import "./chunk-PMRQXBCP.js";
38
38
 
39
39
  // src/commands/job.ts
@@ -3,13 +3,13 @@ import {
3
3
  readlineSync
4
4
  } from "./chunk-H4KV7MIN.js";
5
5
  import {
6
- GLOBAL_FLAGS,
7
6
  writeProfile
8
- } from "./chunk-CUTMZWL6.js";
7
+ } from "./chunk-SYRFLZ4D.js";
9
8
  import {
9
+ GLOBAL_FLAGS,
10
10
  defaultReadStdin,
11
11
  resolveTextOrStdin
12
- } from "./chunk-ZYURL5VK.js";
12
+ } from "./chunk-AHYUM2XQ.js";
13
13
 
14
14
  // src/commands/login.ts
15
15
  import { defineCommand } from "citty";
@@ -13,16 +13,16 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-MBO4LBLY.js";
16
+ } from "./chunk-S6VAMUCC.js";
17
17
  import "./chunk-HOQ7EUHJ.js";
18
18
  import "./chunk-BGZW6B7G.js";
19
19
  import "./chunk-UWO2D4HW.js";
20
20
  import "./chunk-UEAX6KUB.js";
21
- import "./chunk-3BO6GVS2.js";
21
+ import "./chunk-LCLYFE54.js";
22
22
  import "./chunk-R3VLWLVV.js";
23
- import "./chunk-JA3NNST6.js";
24
- import "./chunk-CUTMZWL6.js";
25
- import "./chunk-ZYURL5VK.js";
23
+ import "./chunk-TKWW6BV6.js";
24
+ import "./chunk-SYRFLZ4D.js";
25
+ import "./chunk-AHYUM2XQ.js";
26
26
  import "./chunk-PMRQXBCP.js";
27
27
  export {
28
28
  guardBareMessageForm,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-H6XD3F66.js";
5
+ } from "./chunk-766W25QS.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-3BO6GVS2.js";
8
+ } from "./chunk-LCLYFE54.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-R3VLWLVV.js";
@@ -15,12 +15,12 @@ import {
15
15
  renderSuccess,
16
16
  renderUnexpectedError,
17
17
  resolveEffectiveConfig
18
- } from "./chunk-JA3NNST6.js";
18
+ } from "./chunk-TKWW6BV6.js";
19
+ import "./chunk-SYRFLZ4D.js";
19
20
  import {
20
21
  GLOBAL_FLAGS,
21
22
  WRITE_SINGLE_FLAGS
22
- } from "./chunk-CUTMZWL6.js";
23
- import "./chunk-ZYURL5VK.js";
23
+ } from "./chunk-AHYUM2XQ.js";
24
24
  import "./chunk-PMRQXBCP.js";
25
25
 
26
26
  // src/commands/notification.ts
@@ -10,11 +10,11 @@ import {
10
10
  import {
11
11
  pageDelayFromFlags,
12
12
  streamAll
13
- } from "./chunk-H6XD3F66.js";
13
+ } from "./chunk-766W25QS.js";
14
14
  import "./chunk-UEAX6KUB.js";
15
15
  import {
16
16
  requireAccount
17
- } from "./chunk-3BO6GVS2.js";
17
+ } from "./chunk-LCLYFE54.js";
18
18
  import {
19
19
  buildPreviewOutput
20
20
  } from "./chunk-R3VLWLVV.js";
@@ -24,15 +24,14 @@ import {
24
24
  renderSuccess,
25
25
  renderUnexpectedError,
26
26
  resolveEffectiveConfig
27
- } from "./chunk-JA3NNST6.js";
27
+ } from "./chunk-TKWW6BV6.js";
28
+ import "./chunk-SYRFLZ4D.js";
28
29
  import {
29
30
  GLOBAL_FLAGS,
30
31
  WRITE_FLAGS,
31
- WRITE_SINGLE_FLAGS
32
- } from "./chunk-CUTMZWL6.js";
33
- import {
32
+ WRITE_SINGLE_FLAGS,
34
33
  resolveTextOrStdin
35
- } from "./chunk-ZYURL5VK.js";
34
+ } from "./chunk-AHYUM2XQ.js";
36
35
  import "./chunk-PMRQXBCP.js";
37
36
 
38
37
  // src/commands/post.ts