@wirecat/cli-memo 0.131.46 → 0.131.48

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 (132) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{all-profiles-I2JBJDOR.js → all-profiles-5YVSKBEV.js} +9 -9
  3. package/dist/bundle/{anthropic-CARSCLDG.js → anthropic-BMK6F36V.js} +6 -6
  4. package/dist/bundle/{app-server-SAMZMY3C.js → app-server-PUBWKHUG.js} +48 -45
  5. package/dist/bundle/auto-FXCXORUF.js +86 -0
  6. package/dist/bundle/{bun-T6E2RGI5.js → bun-ZBM364I6.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-WWDLRDBW.js → bun-sqlite-YLBILWBE.js} +5 -5
  8. package/dist/bundle/{chunk-PIHAI7NF.js → chunk-2O32QNK3.js} +7 -7
  9. package/dist/bundle/{chunk-HE535VWC.js → chunk-3A3KPJHP.js} +4 -4
  10. package/dist/bundle/{chunk-XB43J5VQ.js → chunk-3LA6OE35.js} +9 -9
  11. package/dist/bundle/{chunk-IQJQLLAV.js → chunk-4FDK7LVF.js} +7 -7
  12. package/dist/bundle/{chunk-3ZLDPPI4.js → chunk-5BDWOMH6.js} +6 -6
  13. package/dist/bundle/{chunk-IFGMJXND.js → chunk-66KZBRZN.js} +3 -3
  14. package/dist/bundle/{chunk-JY34MQW4.js → chunk-7RNHFNHX.js} +4 -4
  15. package/dist/bundle/{chunk-CWBRCYDY.js → chunk-ADV7DNGM.js} +5 -5
  16. package/dist/bundle/{chunk-YFZ45S6S.js → chunk-BRLVX4V6.js} +1 -1
  17. package/dist/bundle/{chunk-RZ54DSVU.js → chunk-BXTDAGM4.js} +2 -2
  18. package/dist/bundle/{chunk-NFSFUVP2.js → chunk-C3I6L7JZ.js} +6 -6
  19. package/dist/bundle/{chunk-6B75W6XW.js → chunk-C6UTJATA.js} +38 -14
  20. package/dist/bundle/{chunk-J6EUSJ3X.js → chunk-CSPAEYKK.js} +4 -4
  21. package/dist/bundle/{chunk-AXCYTZJD.js → chunk-DGLSE6XA.js} +6 -6
  22. package/dist/bundle/{chunk-CV5MM7HG.js → chunk-DHO2JWF7.js} +3 -3
  23. package/dist/bundle/{chunk-UT2K3TAH.js → chunk-DMI3SFLF.js} +2 -2
  24. package/dist/bundle/{chunk-2K7E5YOZ.js → chunk-DNZYXNMB.js} +4 -4
  25. package/dist/bundle/{chunk-BJSZECFV.js → chunk-DPQL5JK6.js} +2 -2
  26. package/dist/bundle/{chunk-UI4MKFTZ.js → chunk-E4YCKC3F.js} +12 -12
  27. package/dist/bundle/{chunk-SN63VOE6.js → chunk-EBNNONF5.js} +8 -8
  28. package/dist/bundle/{chunk-YPD27HJI.js → chunk-EGVRMA2C.js} +198 -81
  29. package/dist/bundle/{chunk-RF3R3W2I.js → chunk-EQ237UYC.js} +22 -22
  30. package/dist/bundle/{chunk-V7QNIJOE.js → chunk-F7S25YVA.js} +9 -9
  31. package/dist/bundle/{chunk-TOSRVNCY.js → chunk-FTRFN3MU.js} +8 -8
  32. package/dist/bundle/{chunk-VUSM6XFE.js → chunk-H4726KFZ.js} +1 -1
  33. package/dist/bundle/{chunk-PZQCIEMC.js → chunk-HE56X542.js} +1 -1
  34. package/dist/bundle/{chunk-QUUYSYCG.js → chunk-IGYOKYG7.js} +4 -4
  35. package/dist/bundle/{chunk-MKA3NOUU.js → chunk-IHFK634F.js} +8 -8
  36. package/dist/bundle/{chunk-IPNORZSF.js → chunk-IWEL7QCT.js} +11 -11
  37. package/dist/bundle/{chunk-KGVDWSGM.js → chunk-J737T3RM.js} +3 -3
  38. package/dist/bundle/{chunk-JX6JZTOI.js → chunk-KNUUZW42.js} +29 -29
  39. package/dist/bundle/{chunk-36DLHVMS.js → chunk-LDHFV34C.js} +2 -2
  40. package/dist/bundle/{chunk-7UNXTC2J.js → chunk-LDXCFBIC.js} +34 -34
  41. package/dist/bundle/{chunk-TU34HVOY.js → chunk-MIMLBSUQ.js} +2 -2
  42. package/dist/bundle/{chunk-UEMY6RSB.js → chunk-MKLDUZ7N.js} +2 -2
  43. package/dist/bundle/{chunk-F7XQEYF3.js → chunk-MN3SFFTU.js} +303 -280
  44. package/dist/bundle/{chunk-WXCRRP4B.js → chunk-NWRITJ7F.js} +2 -2
  45. package/dist/bundle/{chunk-2R2Z2VWL.js → chunk-O3ZOYXH3.js} +20 -20
  46. package/dist/bundle/{chunk-CID4MNRQ.js → chunk-P3ASN72F.js} +1 -1
  47. package/dist/bundle/{chunk-LOSAAPRY.js → chunk-PUZ2G2KS.js} +8 -8
  48. package/dist/bundle/{chunk-Y5CAKD4X.js → chunk-QOGYHU3Q.js} +4 -4
  49. package/dist/bundle/{chunk-AAKU7TGI.js → chunk-QTBFV5RL.js} +3 -3
  50. package/dist/bundle/{chunk-ZGQSWRCY.js → chunk-QUQJZSRF.js} +566 -351
  51. package/dist/bundle/{chunk-IEVJMRL2.js → chunk-RCEDN42Q.js} +1 -1
  52. package/dist/bundle/{chunk-ICF3LNBX.js → chunk-RSJJGXZP.js} +1 -1
  53. package/dist/bundle/{chunk-UYITVRUC.js → chunk-SGDTAVMU.js} +2 -2
  54. package/dist/bundle/{chunk-TFWTSBON.js → chunk-T56R3TF2.js} +664 -117
  55. package/dist/bundle/{chunk-37D3IHOG.js → chunk-TW643BIA.js} +99 -74
  56. package/dist/bundle/{chunk-5FBJQHCG.js → chunk-TYOZC3BU.js} +3 -3
  57. package/dist/bundle/{chunk-2FYCJ3KB.js → chunk-TZROQCQ5.js} +18 -4
  58. package/dist/bundle/{chunk-LTZHG4BX.js → chunk-U2EFWFDN.js} +10 -10
  59. package/dist/bundle/{chunk-VZRGIWJM.js → chunk-U64G664E.js} +6 -6
  60. package/dist/bundle/{chunk-HDNMDLWC.js → chunk-UHWQ2YXW.js} +1 -1
  61. package/dist/bundle/{chunk-ADBD5GOY.js → chunk-UK2MMZFW.js} +2 -2
  62. package/dist/bundle/{chunk-QR5HJROX.js → chunk-VICARVCN.js} +1 -1
  63. package/dist/bundle/{chunk-YBBCGTZO.js → chunk-VJJCF52V.js} +655 -403
  64. package/dist/bundle/{chunk-XFT24B7A.js → chunk-VOJU5FVA.js} +179 -159
  65. package/dist/bundle/{chunk-LER7G4XY.js → chunk-VW6BF6M7.js} +1 -1
  66. package/dist/bundle/{chunk-GPBUD6WS.js → chunk-X3KMQW2Z.js} +27 -25
  67. package/dist/bundle/{chunk-5FN27OVR.js → chunk-X7UITQ66.js} +5 -5
  68. package/dist/bundle/{chunk-VOUTO3WF.js → chunk-XR4N2MYB.js} +13 -13
  69. package/dist/bundle/{chunk-2MKPY6NU.js → chunk-YBN7UF2Y.js} +1 -1
  70. package/dist/bundle/{chunk-W2EY5PSH.js → chunk-YO7AUGUT.js} +2 -2
  71. package/dist/bundle/{chunk-HFQZYHLX.js → chunk-YZEIVLAG.js} +4 -4
  72. package/dist/bundle/command-contract-BRZAKY6L.js +32 -0
  73. package/dist/bundle/{decode-E3TI4HEU.js → decode-WW5ZMB5R.js} +5 -5
  74. package/dist/bundle/{dispatch-MLRETSNQ.js → dispatch-HCRXCPCF.js} +8 -8
  75. package/dist/bundle/{echarts-B46XTHOI.js → echarts-ODD3E2RQ.js} +2 -2
  76. package/dist/bundle/{embed-BIUMRFOQ.js → embed-3ETM2WYU.js} +6 -6
  77. package/dist/bundle/{embedder-IA3CG6LB.js → embedder-6YL3WFBR.js} +9 -9
  78. package/dist/bundle/{entry-E3QEAAYL.js → entry-F2UGXKZ3.js} +7 -7
  79. package/dist/bundle/{failure-UJBGB2GP.js → failure-G4DCTWFD.js} +2 -2
  80. package/dist/bundle/failure-X7CYCJWD.js +66 -0
  81. package/dist/bundle/{first-run-6UQRVGZ4.js → first-run-OHQHOP5U.js} +11 -11
  82. package/dist/bundle/first-screen-ULF26GYG.js +30 -0
  83. package/dist/bundle/{instructions-6AISOK6M.js → instructions-RS5VERM7.js} +1 -1
  84. package/dist/bundle/{mcp-YMXA6IH6.js → mcp-M4QN2E7R.js} +2 -2
  85. package/dist/bundle/mcp-TS2UAN5I.js +90 -0
  86. package/dist/bundle/memo.js +16 -16
  87. package/dist/bundle/{node-6GP2V36M.js → node-BU6NHYHF.js} +2 -2
  88. package/dist/bundle/{node-sqlite-2CC5J5RZ.js → node-sqlite-WAF44CWS.js} +6 -6
  89. package/dist/bundle/{oauth-VOOLTPGW.js → oauth-T7RCNIYO.js} +7 -7
  90. package/dist/bundle/{open-AGFSOJG6.js → open-QLX2IVTC.js} +5 -5
  91. package/dist/bundle/{openai-KPRA5NIB.js → openai-O25HCJEY.js} +10 -10
  92. package/dist/bundle/{process-J74KA6F3.js → process-SB2X3TKY.js} +1 -1
  93. package/dist/bundle/{program-VAYJBUPU.js → program-SDLIDODQ.js} +98 -68
  94. package/dist/bundle/{prompt-PDQD5OD5.js → prompt-OHVHUNV4.js} +5 -5
  95. package/dist/bundle/{recognize-QH6FBB2L.js → recognize-SESVG7O3.js} +4 -4
  96. package/dist/bundle/{remote-BREQR2BJ.js → remote-DNGLVDYJ.js} +7 -7
  97. package/dist/bundle/{rerank-HWNJXOHL.js → rerank-SF3OUPEB.js} +7 -7
  98. package/dist/bundle/{serve-A63VR5F4.js → serve-6RK7QFZ2.js} +9 -9
  99. package/dist/bundle/server-JKWE764O.js +61 -0
  100. package/dist/bundle/{server-6UZJQQ4E.js → server-N6PCX7K7.js} +57 -57
  101. package/dist/bundle/server-RKGTOY4D.js +48 -0
  102. package/dist/bundle/{state-GMJJEIPI.js → state-J6WLL4TQ.js} +6 -6
  103. package/dist/bundle/{store-HLK3ZQ7A.js → store-R2PHK3FR.js} +13 -13
  104. package/dist/bundle/store-maintenance-command-LRZ5R3UM.js +48 -0
  105. package/dist/bundle/update-RV2WSULI.js +69 -0
  106. package/dist/contract-overrides/doctor.d.ts.map +1 -1
  107. package/dist/contract-overrides/doctor.js +6 -0
  108. package/dist/contract-overrides/doctor.js.map +1 -1
  109. package/dist/doctor/command.d.ts +25 -2
  110. package/dist/doctor/command.d.ts.map +1 -1
  111. package/dist/doctor/command.js +13 -5
  112. package/dist/doctor/command.js.map +1 -1
  113. package/dist/examples.d.ts.map +1 -1
  114. package/dist/examples.js +2 -0
  115. package/dist/examples.js.map +1 -1
  116. package/dist/store/info-command.d.ts.map +1 -1
  117. package/dist/store/info-command.js +23 -1
  118. package/dist/store/info-command.js.map +1 -1
  119. package/dist/version.d.ts +1 -1
  120. package/dist/version.js +1 -1
  121. package/package.json +4 -4
  122. package/dist/bundle/auto-KD7L4X6G.js +0 -86
  123. package/dist/bundle/command-contract-B6MBG7GI.js +0 -32
  124. package/dist/bundle/failure-UKRO32A7.js +0 -66
  125. package/dist/bundle/first-screen-W3BPVWCT.js +0 -30
  126. package/dist/bundle/mcp-RX3COQPC.js +0 -90
  127. package/dist/bundle/server-3FKLHDFN.js +0 -48
  128. package/dist/bundle/server-XKZXPS7I.js +0 -61
  129. package/dist/bundle/store-maintenance-command-2WOANSCK.js +0 -48
  130. package/dist/bundle/update-GIAB6TXY.js +0 -69
  131. /package/dist/bundle/{chunk-AT5Y62SD.js → chunk-IO44XLFM.js} +0 -0
  132. /package/dist/bundle/{chunk-B6ZCQNF4.js → chunk-VOXIGICJ.js} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-6B75W6XW.js";
10
+ } from "./chunk-C6UTJATA.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-TU34HVOY.js";
13
+ } from "./chunk-MIMLBSUQ.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-ZGQSWRCY.js";
21
+ } from "./chunk-QUQJZSRF.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,23 +42,23 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-XFT24B7A.js";
45
+ } from "./chunk-VOJU5FVA.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-V7QNIJOE.js";
51
+ } from "./chunk-F7S25YVA.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-37D3IHOG.js";
54
+ } from "./chunk-TW643BIA.js";
55
55
  import {
56
56
  MAX_BUFFERED_INPUT
57
- } from "./chunk-ADBD5GOY.js";
57
+ } from "./chunk-UK2MMZFW.js";
58
58
  import {
59
59
  captureStreams,
60
60
  traceIdOf
61
- } from "./chunk-2R2Z2VWL.js";
61
+ } from "./chunk-O3ZOYXH3.js";
62
62
  import {
63
63
  COMPACT_FLAG,
64
64
  SNAKE_CASE,
@@ -97,19 +97,19 @@ import {
97
97
  unknown,
98
98
  word,
99
99
  writes
100
- } from "./chunk-SN63VOE6.js";
100
+ } from "./chunk-EBNNONF5.js";
101
101
  import {
102
102
  CliError,
103
103
  errorCodes
104
- } from "./chunk-RZ54DSVU.js";
104
+ } from "./chunk-BXTDAGM4.js";
105
105
  import {
106
106
  __name
107
107
  } from "./chunk-ZVVMGPBJ.js";
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mcp/agent.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
110
  import { Readable } from "node:stream";
111
111
 
112
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
112
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
113
113
  var LINT_SEVERITIES = ["high", "medium", "low"];
114
114
  var lintRuleSchema = strictObject({
115
115
  id: word,
@@ -237,7 +237,7 @@ var overrideSchema = strictObject({
237
237
  });
238
238
  var overridesSchema = array(overrideSchema);
239
239
 
240
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
241
241
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
242
242
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
243
243
  var AUDIT_RULES = defineAuditRules([
@@ -333,6 +333,14 @@ var PARITY_GROUPS = defineParityGroups([
333
333
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
334
334
  covers: ["commands", "upgrade", "notes", "meetings"],
335
335
  differences: []
336
+ },
337
+ // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
338
+ // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
339
+ {
340
+ name: "shared-roots",
341
+ members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
342
+ covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
343
+ differences: MEMO_HAS_NO_PROFILES
336
344
  }
337
345
  ]);
338
346
  var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
@@ -346,7 +354,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
346
354
  { path: ["upgrade"], meaning: "updates the CLI" }
347
355
  ]);
348
356
 
349
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
357
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
350
358
  var fieldRuleSchema = strictObject({ id: word, rule: text });
351
359
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
352
360
  var FIELD_RULES = defineFieldRules([
@@ -362,7 +370,7 @@ var FIELD_RULES = defineFieldRules([
362
370
  }
363
371
  ]);
364
372
 
365
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
373
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
366
374
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
367
375
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
368
376
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -384,7 +392,7 @@ var IDENTIFIERS = defineIdentifiers([
384
392
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
385
393
  ]);
386
394
 
387
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
395
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
388
396
  var CALENDAR_FLAGS = [
389
397
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
390
398
  {
@@ -458,7 +466,47 @@ var CALENDAR_FLAGS = [
458
466
  }
459
467
  ];
460
468
 
461
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
469
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
470
+ var CRM_FLAGS = [
471
+ {
472
+ name: "--pipeline",
473
+ value: "<pipeline>",
474
+ role: "value",
475
+ type: "string",
476
+ meaning: "a CRM pipeline: pipeline:<id>, or a name only one pipeline has"
477
+ },
478
+ {
479
+ name: "--stage",
480
+ value: "<stage>",
481
+ role: "value",
482
+ type: "string",
483
+ meaning: "a stage of the record's pipeline, by the CRM's id or its name"
484
+ },
485
+ {
486
+ name: "--amount",
487
+ value: "<decimal>",
488
+ role: "value",
489
+ type: "string",
490
+ meaning: "a sum of money as a decimal, such as 1500.50, in --currency"
491
+ },
492
+ { name: "--currency", value: "<code>", role: "value", type: "string", meaning: "an ISO 4217 code, such as EUR" },
493
+ {
494
+ name: "--close-date",
495
+ value: "<date>",
496
+ role: "value",
497
+ type: "time",
498
+ meaning: "the day a deal or lead is expected to close, YYYY-MM-DD"
499
+ },
500
+ {
501
+ name: "--owner",
502
+ value: "<user>",
503
+ role: "value",
504
+ type: "id",
505
+ meaning: "the CRM user a record is assigned to, by the CRM's id"
506
+ }
507
+ ];
508
+
509
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
462
510
  var HOW_FLAGS = [
463
511
  {
464
512
  name: "--limit",
@@ -783,6 +831,7 @@ var HOW_FLAGS = [
783
831
  meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
784
832
  },
785
833
  { name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
834
+ { name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
786
835
  { name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
787
836
  {
788
837
  name: "--operation-id",
@@ -1452,7 +1501,7 @@ var HOW_FLAGS = [
1452
1501
  }
1453
1502
  ];
1454
1503
 
1455
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1504
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1456
1505
  var MAIL_FLAGS = [
1457
1506
  {
1458
1507
  name: "--cc",
@@ -1482,7 +1531,94 @@ var MAIL_FLAGS = [
1482
1531
  }
1483
1532
  ];
1484
1533
 
1485
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1534
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1535
+ var PRIVACY_FLAGS = [
1536
+ {
1537
+ name: "--about-text",
1538
+ value: "<who>",
1539
+ role: "value",
1540
+ type: "choice",
1541
+ meaning: "who sees the about text: everyone, contacts or nobody"
1542
+ },
1543
+ {
1544
+ name: "--calls",
1545
+ value: "<who>",
1546
+ role: "value",
1547
+ type: "choice",
1548
+ meaning: "whose calls ring: everyone, contacts or nobody"
1549
+ },
1550
+ {
1551
+ name: "--chat-invites",
1552
+ value: "<who>",
1553
+ role: "value",
1554
+ type: "choice",
1555
+ meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
1556
+ },
1557
+ {
1558
+ name: "--find-by-phone",
1559
+ value: "<who>",
1560
+ role: "value",
1561
+ type: "choice",
1562
+ meaning: "who finds the account by its number: everyone, contacts or nobody"
1563
+ },
1564
+ {
1565
+ name: "--hide-online",
1566
+ value: "<on|off>",
1567
+ role: "value",
1568
+ type: "choice",
1569
+ meaning: "hide online status and last seen"
1570
+ },
1571
+ {
1572
+ name: "--last-seen",
1573
+ value: "<who>",
1574
+ role: "value",
1575
+ type: "choice",
1576
+ meaning: "who sees when the account was last online: everyone, contacts or nobody"
1577
+ },
1578
+ {
1579
+ name: "--phone-number",
1580
+ value: "<who>",
1581
+ role: "value",
1582
+ type: "choice",
1583
+ meaning: "who sees the number: everyone, contacts or nobody"
1584
+ },
1585
+ {
1586
+ name: "--profile-photo",
1587
+ value: "<who>",
1588
+ role: "value",
1589
+ type: "choice",
1590
+ meaning: "who sees the profile photo: everyone, contacts or nobody"
1591
+ },
1592
+ { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1593
+ ];
1594
+
1595
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1596
+ var SCHEDULE_FLAGS = [
1597
+ {
1598
+ name: "--notify-on",
1599
+ value: "<when>",
1600
+ role: "value",
1601
+ type: "choice",
1602
+ meaning: "when a scheduled run tells the owner: always, failures or never"
1603
+ },
1604
+ {
1605
+ name: "--deliver-to",
1606
+ value: "<route>",
1607
+ role: "value",
1608
+ type: "string",
1609
+ meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
1610
+ },
1611
+ {
1612
+ name: "--max-cost-per-day",
1613
+ value: "<usd>",
1614
+ role: "budget",
1615
+ type: "number",
1616
+ meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
1617
+ unit: "US dollars"
1618
+ }
1619
+ ];
1620
+
1621
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1486
1622
  var WHAT_FLAGS = [
1487
1623
  {
1488
1624
  name: "--analysis-provider",
@@ -1905,6 +2041,20 @@ var WHAT_FLAGS = [
1905
2041
  meaning: "look again from this day, for what arrived late"
1906
2042
  },
1907
2043
  { name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
2044
+ {
2045
+ name: "--who",
2046
+ value: "<side>",
2047
+ role: "target",
2048
+ type: "choice",
2049
+ meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
2050
+ },
2051
+ {
2052
+ name: "--write",
2053
+ value: "<id>",
2054
+ role: "target",
2055
+ type: "id",
2056
+ meaning: "one write of a run, by the operation_id its answer listed: undo or act on that write alone"
2057
+ },
1908
2058
  {
1909
2059
  name: "--target",
1910
2060
  value: "<ref>",
@@ -2107,63 +2257,6 @@ var WHAT_FLAGS = [
2107
2257
  type: "path",
2108
2258
  meaning: "an Ogg Opus file sent as a voice message"
2109
2259
  },
2110
- {
2111
- name: "--about-text",
2112
- value: "<who>",
2113
- role: "value",
2114
- type: "choice",
2115
- meaning: "who sees the about text: everyone, contacts or nobody"
2116
- },
2117
- {
2118
- name: "--calls",
2119
- value: "<who>",
2120
- role: "value",
2121
- type: "choice",
2122
- meaning: "whose calls ring: everyone, contacts or nobody"
2123
- },
2124
- {
2125
- name: "--chat-invites",
2126
- value: "<who>",
2127
- role: "value",
2128
- type: "choice",
2129
- meaning: "who may add the account to groups and channels: everyone, contacts or nobody"
2130
- },
2131
- {
2132
- name: "--find-by-phone",
2133
- value: "<who>",
2134
- role: "value",
2135
- type: "choice",
2136
- meaning: "who finds the account by its number: everyone, contacts or nobody"
2137
- },
2138
- {
2139
- name: "--hide-online",
2140
- value: "<on|off>",
2141
- role: "value",
2142
- type: "choice",
2143
- meaning: "hide online status and last seen"
2144
- },
2145
- {
2146
- name: "--last-seen",
2147
- value: "<who>",
2148
- role: "value",
2149
- type: "choice",
2150
- meaning: "who sees when the account was last online: everyone, contacts or nobody"
2151
- },
2152
- {
2153
- name: "--phone-number",
2154
- value: "<who>",
2155
- role: "value",
2156
- type: "choice",
2157
- meaning: "who sees the number: everyone, contacts or nobody"
2158
- },
2159
- {
2160
- name: "--profile-photo",
2161
- value: "<who>",
2162
- role: "value",
2163
- type: "choice",
2164
- meaning: "who sees the profile photo: everyone, contacts or nobody"
2165
- },
2166
- { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" },
2167
2260
  {
2168
2261
  name: "--until",
2169
2262
  value: "<time>",
@@ -2266,6 +2359,13 @@ var WHAT_FLAGS = [
2266
2359
  type: "id",
2267
2360
  meaning: "never show this chat in it; repeat it for more"
2268
2361
  },
2362
+ {
2363
+ name: "--field",
2364
+ value: "<key=value>",
2365
+ role: "value",
2366
+ type: "string",
2367
+ meaning: "set one named field on a write, as key=value; repeat it for more"
2368
+ },
2269
2369
  {
2270
2370
  name: "--file",
2271
2371
  value: "<file>",
@@ -2480,7 +2580,7 @@ var WHAT_FLAGS = [
2480
2580
  }
2481
2581
  ];
2482
2582
 
2483
- // node_modules/.pnpm/@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2583
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2484
2584
  var FLAG_TYPES = [
2485
2585
  "switch",
2486
2586
  "count",
@@ -2729,6 +2829,13 @@ var collections = [
2729
2829
  ["invoices", "bills the owner sends or receives, with their amounts and due dates"],
2730
2830
  ["orders", "what a customer asked for and the owner owes or delivers"],
2731
2831
  ["payments", "money that moved in or out, each one matched to the invoices it settles"],
2832
+ ["deals", "sales the owner works on, each at a stage of a pipeline, with an amount and an outcome"],
2833
+ ["leads", "possible customers not yet qualified into a deal"],
2834
+ ["pipelines", "ordered sets of stages a deal moves through"],
2835
+ ["stages", "steps of a pipeline, each open, won or lost"],
2836
+ ["products", "goods and services the owner sells, with their prices"],
2837
+ ["users", "people who work in the owner's account at a service, such as a CRM's employees"],
2838
+ ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
2732
2839
  [
2733
2840
  "identities",
2734
2841
  "ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
@@ -2823,6 +2930,7 @@ var views = [
2823
2930
  ["newcomers", "members observed joining during the selected time window"],
2824
2931
  ["retention", "whether members of a selected cohort remain or return over time"],
2825
2932
  ["responses", "observed replies between participants and the time taken to answer"],
2933
+ ["waiting", "chats whose newest message waits on the owner's reply"],
2826
2934
  ["discussion", "source posts compared by known views and observed discussion replies"],
2827
2935
  ["unanswered", "questions without an observed qualifying answer"],
2828
2936
  ["me", "the account a profile's token belongs to"],
@@ -2837,6 +2945,7 @@ var roots = [
2837
2945
  ["serve", "the long-running process"],
2838
2946
  ["setup", "the guided first run: log in or link the account, then install the agent skill"],
2839
2947
  ["doctor", "check this machine's setup"],
2948
+ ["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
2840
2949
  ["upgrade", "install a newer version of this tool"],
2841
2950
  ["commands", "the command tree as data"],
2842
2951
  ["guide", "scenarios: the commands for a common task, in order, and why each"],
@@ -2858,10 +2967,18 @@ var VOCABULARY = defineVocabulary({
2858
2967
  ],
2859
2968
  views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
2860
2969
  roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
2861
- flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS]
2970
+ flags: [
2971
+ ...HOW_FLAGS,
2972
+ ...WHAT_FLAGS,
2973
+ ...PRIVACY_FLAGS,
2974
+ ...CALENDAR_FLAGS,
2975
+ ...MAIL_FLAGS,
2976
+ ...CRM_FLAGS,
2977
+ ...SCHEDULE_FLAGS
2978
+ ]
2862
2979
  });
2863
2980
 
2864
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2981
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2865
2982
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2866
2983
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2867
2984
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3084,7 +3201,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3084
3201
  }
3085
3202
  }, "runCommandForAgent");
3086
3203
 
3087
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3204
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3088
3205
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3089
3206
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3090
3207
  var message = pipe(
@@ -3343,7 +3460,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3343
3460
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3344
3461
  }, "failed");
3345
3462
 
3346
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3463
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3347
3464
  import { randomUUID } from "node:crypto";
3348
3465
  var MATCHES = 8;
3349
3466
  var ANSWER = answerSchema();
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-ZGQSWRCY.js";
16
+ } from "./chunk-QUQJZSRF.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,35 +38,35 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-XFT24B7A.js";
41
+ } from "./chunk-VOJU5FVA.js";
42
42
  import {
43
43
  isCliFailure,
44
44
  providerErrorKey
45
- } from "./chunk-V7QNIJOE.js";
45
+ } from "./chunk-F7S25YVA.js";
46
46
  import {
47
47
  MESSENGER_CHANGE_REFUSAL,
48
48
  readOnlyRefusal
49
- } from "./chunk-UT2K3TAH.js";
49
+ } from "./chunk-DMI3SFLF.js";
50
50
  import {
51
51
  servingProfiles
52
- } from "./chunk-5FBJQHCG.js";
52
+ } from "./chunk-TYOZC3BU.js";
53
53
  import {
54
54
  openStore
55
- } from "./chunk-YBBCGTZO.js";
55
+ } from "./chunk-VJJCF52V.js";
56
56
  import {
57
57
  logRecordOf,
58
58
  realSleep,
59
59
  resolvePaths,
60
60
  writeSecurely
61
- } from "./chunk-2R2Z2VWL.js";
61
+ } from "./chunk-O3ZOYXH3.js";
62
62
  import {
63
63
  CliError
64
- } from "./chunk-RZ54DSVU.js";
64
+ } from "./chunk-BXTDAGM4.js";
65
65
  import {
66
66
  __name
67
67
  } from "./chunk-ZVVMGPBJ.js";
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
70
70
  import { openSync } from "node:fs";
71
71
  import { createInterface } from "node:readline";
72
72
  import { ReadStream } from "node:tty";
@@ -121,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
121
121
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
122
122
  }, "terminalAsker");
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/guard.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/guard.js
125
125
  import { randomUUID } from "node:crypto";
126
126
 
127
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/flood.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/flood.js
128
128
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
129
129
  import { dirname, join } from "node:path";
130
130
  var MOST_DEADLINES = 50;
@@ -208,11 +208,11 @@ var FloodMemory = class {
208
208
  }
209
209
  };
210
210
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/journal.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/journal.js
212
212
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
213
213
  import { dirname as dirname3, join as join2 } from "node:path";
214
214
 
215
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
215
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
216
216
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
217
217
  import { dirname as dirname2 } from "node:path";
218
218
  var LOCK_WAIT_MS = 5e3;
@@ -279,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
279
279
  }
280
280
  }, "lockTime");
281
281
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/journal.js
282
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/journal.js
283
283
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
284
284
  var SendJournal = class {
285
285
  static {
@@ -356,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
356
356
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
357
357
  }, "withSendId");
358
358
 
359
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/recipients.js
359
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/recipients.js
360
360
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
361
361
  import { join as join3 } from "node:path";
362
362
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -468,7 +468,7 @@ var RecipientList = class {
468
468
  }
469
469
  };
470
470
 
471
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/guard.js
471
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/guard.js
472
472
  var HOUR_MS = 60 * 60 * 1e3;
473
473
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
474
474
  "attachments.extract",
@@ -661,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
661
661
  }), "guardFor");
662
662
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
663
663
 
664
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/sends/pace.js
664
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/sends/pace.js
665
665
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
666
666
  import { join as join4 } from "node:path";
667
667
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -751,7 +751,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
751
751
  await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
752
752
  }, "waitForTurn");
753
753
 
754
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
754
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
755
755
  var pathOf = /* @__PURE__ */ __name((command) => {
756
756
  const words = [];
757
757
  for (let at = command; at?.parent; at = at.parent)
@@ -811,7 +811,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
811
811
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
812
812
  }, "refuseUnknownPermissionKeys");
813
813
 
814
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
814
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
815
815
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
816
816
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
817
817
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -908,7 +908,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
908
908
  });
909
909
  }, "flooded");
910
910
 
911
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
911
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
912
912
  var observed = /* @__PURE__ */ __name((messenger, events) => {
913
913
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
914
914
  const write = currentOperation();
@@ -1007,7 +1007,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1007
1007
  counts[part] = (counts[part] ?? 0) + items.length;
1008
1008
  }, "byPart");
1009
1009
 
1010
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1011
1011
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1012
1012
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
1013
1013
  let warned = false;
@@ -1583,7 +1583,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1583
1583
  }
1584
1584
  }, "keep");
1585
1585
 
1586
- // node_modules/.pnpm/@wirecat+cli-core@0.597.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_e61f089635abd97613f35385460a4858/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1586
+ // node_modules/.pnpm/@wirecat+cli-core@0.602.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_87bcf484fc0706f541e30693101b5a29/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1587
1587
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1588
1588
  let opened;
1589
1589
  return {