@wirecat/hubspot-cli 0.2.0 → 0.3.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.
Files changed (158) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/contracts/wirecat.json +40 -2
  3. package/dist/bin/hubspot.js +2 -2
  4. package/dist/bundle/agent-A7ARC3QB.js +40 -0
  5. package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
  6. package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
  7. package/dist/bundle/{app-server-GXV2OFML.js → app-server-FFYKM37G.js} +79 -68
  8. package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
  10. package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
  11. package/dist/bundle/{chunk-Q2OLOMHL.js → chunk-2HYGCLKN.js} +93 -565
  12. package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
  13. package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
  14. package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
  15. package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
  16. package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
  17. package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
  18. package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
  19. package/dist/bundle/{chunk-3WLYWRGG.js → chunk-3WIVJJNB.js} +19 -17
  20. package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
  21. package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
  22. package/dist/bundle/chunk-5HD64ETI.js +561 -0
  23. package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
  24. package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
  25. package/dist/bundle/{chunk-2UOJ7DLZ.js → chunk-77CUE3VX.js} +3 -3
  26. package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
  27. package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
  28. package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
  29. package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
  30. package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
  31. package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
  32. package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
  33. package/dist/bundle/{chunk-TLKEPUAV.js → chunk-AFL2C4JR.js} +60 -50
  34. package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
  35. package/dist/bundle/chunk-AVUMH42T.js +194 -0
  36. package/dist/bundle/chunk-B2W3C4N6.js +338 -0
  37. package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
  38. package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
  39. package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
  40. package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
  41. package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
  42. package/dist/bundle/{chunk-MFNMKHML.js → chunk-CYADK744.js} +1020 -1637
  43. package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
  44. package/dist/bundle/{chunk-URX6YDUL.js → chunk-DQP2GAAO.js} +75 -66
  45. package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
  46. package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
  47. package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
  48. package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
  49. package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
  50. package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
  51. package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
  52. package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
  53. package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
  54. package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
  55. package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
  56. package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
  57. package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
  58. package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
  59. package/dist/bundle/{chunk-Z73OL5HV.js → chunk-J6C2QWL5.js} +3 -3
  60. package/dist/bundle/{chunk-VOH7S5M4.js → chunk-JG7YMHNB.js} +3229 -3116
  61. package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
  62. package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
  63. package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
  64. package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
  65. package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
  66. package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
  67. package/dist/bundle/chunk-LA3YU4K7.js +40 -0
  68. package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
  69. package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
  70. package/dist/bundle/chunk-M763RNWP.js +733 -0
  71. package/dist/bundle/chunk-M7XLG6AN.js +353 -0
  72. package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
  73. package/dist/bundle/chunk-NTQBS2JL.js +52 -0
  74. package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
  75. package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
  76. package/dist/bundle/{chunk-IJADZW42.js → chunk-OPVNUI4M.js} +3 -3
  77. package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
  78. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  79. package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
  80. package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
  81. package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
  82. package/dist/bundle/{chunk-LXZ66MCH.js → chunk-QFZD6MTF.js} +35 -29
  83. package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
  84. package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
  85. package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
  86. package/dist/bundle/{chunk-GPYCBYX5.js → chunk-SMTTIKZ5.js} +12 -12
  87. package/dist/bundle/{chunk-YMCY7VRE.js → chunk-TDQJS3JG.js} +7 -7
  88. package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
  89. package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
  90. package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
  91. package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
  92. package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
  93. package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
  94. package/dist/bundle/chunk-WRCKE5ND.js +80 -0
  95. package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
  96. package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
  97. package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
  98. package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
  99. package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
  100. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  101. package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
  102. package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
  103. package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
  104. package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
  105. package/dist/bundle/first-run-MAUI6QJ7.js +29 -0
  106. package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
  107. package/dist/bundle/hubspot.js +26 -26
  108. package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
  109. package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
  110. package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
  111. package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
  112. package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
  113. package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
  114. package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
  115. package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
  116. package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
  117. package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
  118. package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
  119. package/dist/bundle/{program-XA4C44Z4.js → program-2D5D32HK.js} +682 -241
  120. package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
  121. package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
  122. package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
  123. package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
  124. package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
  125. package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
  126. package/dist/bundle/server-CN6VQNNF.js +86 -0
  127. package/dist/bundle/{server-ATG5KY7K.js → server-OJPCTV77.js} +73 -61
  128. package/dist/bundle/{source-54HR4IWG.js → source-VHDK74YS.js} +73 -66
  129. package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
  130. package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
  131. package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
  132. package/dist/bundle/store-HXA2MRWI.js +32 -0
  133. package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
  134. package/dist/bundle/store-maintenance-command-AC7GGLYC.js +73 -0
  135. package/dist/bundle/surface-ZZNG3OW2.js +72 -0
  136. package/dist/bundle/writer-CZYA657G.js +86 -0
  137. package/dist/config.d.ts +1 -1
  138. package/dist/config.d.ts.map +1 -1
  139. package/dist/config.js +1 -5
  140. package/dist/config.js.map +1 -1
  141. package/dist/generated/manifest.d.ts.map +1 -1
  142. package/dist/generated/manifest.js +0 -115
  143. package/dist/generated/manifest.js.map +1 -1
  144. package/dist/generated/types.d.ts +160 -0
  145. package/dist/generated/types.d.ts.map +1 -1
  146. package/dist/version.d.ts +1 -1
  147. package/dist/version.js +1 -1
  148. package/package.json +3 -3
  149. package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
  150. package/dist/bundle/first-run-UWAFSINQ.js +0 -29
  151. package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
  152. package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
  153. package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
  154. package/dist/bundle/oauth-HNCY4B2S.js +0 -20
  155. package/dist/bundle/server-VNWVVH7A.js +0 -77
  156. package/dist/bundle/store-DXWYNVVB.js +0 -32
  157. package/dist/bundle/store-maintenance-command-J57HCJYY.js +0 -68
  158. package/dist/bundle/writer-NLLI5YRM.js +0 -79
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-UUMUL4L3.js";
5
+ } from "./chunk-DW23LM47.js";
6
6
  import {
7
7
  secretNamed,
8
8
  withoutSecrets
9
- } from "./chunk-IMJQRPLN.js";
9
+ } from "./chunk-NNMU2TDU.js";
10
10
  import {
11
11
  isContentKey
12
- } from "./chunk-TBJYLC5K.js";
12
+ } from "./chunk-X5S5KUSU.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run-context.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/events.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/events.js
25
25
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
26
26
  var renderEvent = /* @__PURE__ */ __name((event) => {
27
27
  if (event.event === "store")
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
73
73
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
74
74
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
77
77
  var MESSAGE_AT_MOST = 500;
78
78
  var CAUSES_AT_MOST = 5;
79
79
  var FRAMES_AT_MOST = 15;
@@ -185,7 +185,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
185
185
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
186
186
  }, "redactText");
187
187
 
188
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run-context.js
188
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/run-context.js
189
189
  var REDACTED = "[redacted]";
190
190
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
191
191
  if (!record)
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-5K7QLJMM.js";
6
+ } from "./chunk-LT5KE44Q.js";
7
7
  import {
8
8
  CliError,
9
9
  singleLine
10
- } from "./chunk-DB2XKHI4.js";
10
+ } from "./chunk-BUGROVF3.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/money.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/money.js
16
16
  var CURRENCY_SCALES = {
17
17
  AED: 2,
18
18
  AMD: 2,
@@ -106,7 +106,7 @@ var quantityOf = /* @__PURE__ */ __name((text) => {
106
106
  }, "quantityOf");
107
107
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
108
108
 
109
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/finance.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/finance.js
110
110
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
111
111
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
112
112
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -135,7 +135,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
135
135
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
136
136
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
137
137
 
138
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/business.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/business.js
139
139
  var CATALOG_KINDS = ["product", "service"];
140
140
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
141
141
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -163,7 +163,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
163
163
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
164
164
  var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
165
165
 
166
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/crm.js
166
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/crm.js
167
167
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
168
168
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
169
169
  var isCrmUserId = /* @__PURE__ */ __name((id) => /^\d{1,20}$/.test(id), "isCrmUserId");
@@ -173,7 +173,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id) => {
173
173
  }, "normalCrmUserId");
174
174
  var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
175
175
 
176
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/deals.js
176
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/deals.js
177
177
  var DEAL_KINDS = ["deal", "lead"];
178
178
  var DEAL_STATUSES = ["open", "won", "lost"];
179
179
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -183,7 +183,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
183
183
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
184
184
  }, "dealLine");
185
185
 
186
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/locator.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/locator.js
187
187
  var SCHEME = "msg:";
188
188
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
189
189
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -204,7 +204,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
204
204
  return { provider, account, chat, message };
205
205
  }, "parseLocator");
206
206
 
207
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/references.js
207
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/references.js
208
208
  var SIMPLE_REFERENCES = [
209
209
  "note",
210
210
  "document",
@@ -367,7 +367,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
367
367
  return match !== null && byPrefix.has(match[1]);
368
368
  }, "looksLikeReference");
369
369
 
370
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/providers.js
370
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/providers.js
371
371
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
372
372
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
373
373
  var PROVIDERS = [
@@ -542,7 +542,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
542
542
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
543
543
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
544
544
 
545
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/orders.js
545
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/orders.js
546
546
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
547
547
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
548
548
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -553,7 +553,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
553
553
  }, "orderLine");
554
554
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
555
555
 
556
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/relations.js
556
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/relations.js
557
557
  var ORGANIZATION_ROLES = [
558
558
  "employee",
559
559
  "contractor",
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
8
8
  var fields = /* @__PURE__ */ new WeakMap();
9
9
  var readsStdin = /* @__PURE__ */ __name((command, field) => {
10
10
  fields.set(command, field);
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure,
5
5
  isStoreDamage
6
- } from "./chunk-UUMUL4L3.js";
6
+ } from "./chunk-DW23LM47.js";
7
7
  import {
8
8
  ADDED_PROVIDER,
9
9
  INTERNAL_NOTES,
@@ -17,20 +17,20 @@ import {
17
17
  kindsIn,
18
18
  providerNamed,
19
19
  providers
20
- } from "./chunk-QJW35N5V.js";
20
+ } from "./chunk-GC6FLHZF.js";
21
21
  import {
22
22
  refuseOwnerStoreInTests
23
- } from "./chunk-65TWQ7BV.js";
23
+ } from "./chunk-3PEKYGZ3.js";
24
24
  import {
25
25
  createRecordLog,
26
26
  resolvePaths,
27
27
  traceIdOf,
28
28
  writeSecurely
29
- } from "./chunk-TBJYLC5K.js";
29
+ } from "./chunk-X5S5KUSU.js";
30
30
  import {
31
31
  isoTime,
32
32
  reference
33
- } from "./chunk-TOSCB4SO.js";
33
+ } from "./chunk-J5P5VSRG.js";
34
34
  import {
35
35
  array,
36
36
  boolean,
@@ -48,25 +48,21 @@ import {
48
48
  strictObject,
49
49
  string,
50
50
  unknown
51
- } from "./chunk-MVA5HVKL.js";
51
+ } from "./chunk-S4UUN6LD.js";
52
52
  import {
53
53
  CliError
54
- } from "./chunk-DB2XKHI4.js";
54
+ } from "./chunk-BUGROVF3.js";
55
55
  import {
56
56
  __name
57
57
  } from "./chunk-ZVVMGPBJ.js";
58
58
 
59
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/scope.js
60
- import { AsyncLocalStorage } from "node:async_hooks";
61
- import { randomBytes } from "node:crypto";
62
-
63
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run.js
59
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/run.js
64
60
  import { randomUUID } from "node:crypto";
65
61
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
66
62
  import { userInfo } from "node:os";
67
63
  import { join, sep } from "node:path";
68
64
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
70
66
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
71
67
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
72
68
  var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
@@ -79,7 +75,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
79
75
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
80
76
  }), "snakeLogger");
81
77
 
82
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
78
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
83
79
  var diagnostic = {
84
80
  event: true,
85
81
  operation: true,
@@ -153,7 +149,7 @@ var LOG_ATTRIBUTES = [
153
149
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
154
150
  ].sort();
155
151
 
156
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/run.js
152
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/run.js
157
153
  var KEEP_RUNS_FOR_DAYS = 30;
158
154
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
159
155
  var KEEP_STORE_RUNS_FOR_DAYS = 3;
@@ -520,7 +516,9 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
520
516
  };
521
517
  }, "metadataOf");
522
518
 
523
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/runs/scope.js
519
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/runs/scope.js
520
+ import { AsyncLocalStorage } from "node:async_hooks";
521
+ import { randomBytes } from "node:crypto";
524
522
  var scopes = new AsyncLocalStorage();
525
523
  var processScope;
526
524
  var ownProcesses = new AsyncLocalStorage();
@@ -571,7 +569,7 @@ var attempts = new AsyncLocalStorage();
571
569
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
572
570
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
573
571
 
574
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/model.js
572
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/tasks/model.js
575
573
  var TASK_KINDS = ["question", "request", "mention", "promise"];
576
574
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
577
575
  var CLOSED_STATES = ["done", "dismissed"];
@@ -586,7 +584,7 @@ function closeTask(task, state, by, at, reason) {
586
584
  }
587
585
  __name(closeTask, "closeTask");
588
586
 
589
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/priority.js
587
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/tasks/priority.js
590
588
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
591
589
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
592
590
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -615,7 +613,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
615
613
  }, "priorityOf");
616
614
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
617
615
 
618
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/service.js
616
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/tasks/service.js
619
617
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
620
618
  async function find(id2) {
621
619
  const task = await store.get(id2);
@@ -675,20 +673,20 @@ function median(values) {
675
673
  }
676
674
  __name(median, "median");
677
675
 
678
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/tasks/store.js
676
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/tasks/store.js
679
677
  function matches(task, filter) {
680
678
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
681
679
  }
682
680
  __name(matches, "matches");
683
681
 
684
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/source-review.js
682
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/source-review.js
685
683
  var SOURCE_REVIEW_KIND = "memory_source_review";
686
684
  var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
687
685
  var ERASED_TEXT = "[source erased]";
688
686
  var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
689
687
  var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
690
688
 
691
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/fields.js
689
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/fields.js
692
690
  var text = string();
693
691
  var id = pipe(string(), minLength(1));
694
692
  var time = isoTime;
@@ -713,7 +711,7 @@ var author = strictObject({
713
711
  name: nullable(text)
714
712
  });
715
713
 
716
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
714
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
717
715
  var organization = strictObject({
718
716
  id,
719
717
  ref: reference,
@@ -743,7 +741,7 @@ var reminder = strictObject({
743
741
  receipt: nullable(text)
744
742
  });
745
743
 
746
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/marks.js
744
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/marks.js
747
745
  import { readFileSync as readFileSync2, rmSync as rmSync2, statSync as statSync2, writeFileSync as writeFileSync2 } from "node:fs";
748
746
  var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
749
747
  var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
@@ -864,7 +862,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
864
862
  return { previous, cleared };
865
863
  }, "recordDeepCheck");
866
864
 
867
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
865
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
868
866
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
869
867
  var MEMORY_KINDS = ["summary", "digest", "preference"];
870
868
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -872,7 +870,7 @@ var MEMORY_SCOPES = ["personal", "work"];
872
870
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
873
871
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
874
872
 
875
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
873
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
876
874
  var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
877
875
  var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
878
876
  const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
@@ -882,7 +880,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
882
880
  };
883
881
  }, "sourceOf");
884
882
 
885
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
883
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
886
884
  var LINK_KINDS = [
887
885
  "links-to",
888
886
  "blocked-by",
@@ -906,7 +904,7 @@ var LINK_SOURCES = [...LINK_ORIGINS, "calendar", "meeting"];
906
904
  var linkKind = /* @__PURE__ */ __name((kind) => `'${kind}'`, "linkKind");
907
905
  var COUNTERPART_ROLE = "counterpart";
908
906
 
909
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/query.js
907
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/search/query.js
910
908
  var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
911
909
  var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
912
910
  var fail = /* @__PURE__ */ __name((message) => {
@@ -929,7 +927,7 @@ var sourceOf2 = /* @__PURE__ */ __name((name, value, providers2) => {
929
927
  return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
930
928
  }, "sourceOf");
931
929
 
932
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/account-list.js
930
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/search/account-list.js
933
931
  var ACCOUNT_GROUPS = "accountGroups";
934
932
  var ACCOUNT_GROUPS_SETTING = "account_groups";
935
933
  var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
@@ -1040,6 +1038,8 @@ var accountsOfWord = /* @__PURE__ */ __name((word, held, context) => {
1040
1038
  return [...held];
1041
1039
  if (wanted === "personal" || wanted === "bots")
1042
1040
  return held.filter((one) => listedHolds(one, "messages") && isBotProvider(one.provider) === (wanted === "bots"));
1041
+ if (wanted === "documents")
1042
+ return held.filter((one) => listedHolds(one, "documents") || isDocumentAccount(one));
1043
1043
  if (isKind(wanted))
1044
1044
  return held.filter((one) => listedHolds(one, wanted));
1045
1045
  const recorded = context.profiles[wanted];
@@ -1050,6 +1050,22 @@ var accountsOfWord = /* @__PURE__ */ __name((word, held, context) => {
1050
1050
  return storedAs(held, { provider, account: "" });
1051
1051
  return held.filter((one) => one.provider === provider);
1052
1052
  }, "accountsOfWord");
1053
+ var isDocumentAccount = /* @__PURE__ */ __name(({ stored }) => stored !== void 0 && isDocumentAccountProvider(stored.provider), "isDocumentAccount");
1054
+ var choices = /* @__PURE__ */ __name((held) => {
1055
+ const kinds = held.flatMap((one) => one.kinds ?? (one.kind ? [one.kind] : []));
1056
+ const messengers = held.filter((one) => listedHolds(one, "messages"));
1057
+ const providers2 = held.flatMap(({ stored, provider }) => stored?.provider === ADDED_PROVIDER ? [] : [stored?.provider ?? provider]);
1058
+ return [
1059
+ .../* @__PURE__ */ new Set([
1060
+ "all",
1061
+ ...messengers.some((one) => !isBotProvider(one.provider)) ? ["personal"] : [],
1062
+ ...messengers.some((one) => isBotProvider(one.provider)) ? ["bots"] : [],
1063
+ ...kinds,
1064
+ ...held.some(isDocumentAccount) ? ["documents"] : [],
1065
+ ...providers2
1066
+ ])
1067
+ ].join(", ");
1068
+ }, "choices");
1053
1069
  var keyOf = /* @__PURE__ */ __name(({ provider, account }) => `${provider}\0${account}`, "keyOf");
1054
1070
  var sourceOf3 = /* @__PURE__ */ __name(({ provider, account }) => `${provider}:${account}`, "sourceOf");
1055
1071
  var sameAs = /* @__PURE__ */ __name((key) => (one) => one.provider === key.provider && one.account === key.account, "sameAs");
@@ -1060,7 +1076,8 @@ var entriesOfList = /* @__PURE__ */ __name((value, context) => {
1060
1076
  const colon = item.indexOf(":");
1061
1077
  if (colon === -1) {
1062
1078
  try {
1063
- entries.push({ entry: item, accounts: accountsOfWord(item, held, context) });
1079
+ const accounts = accountsOfWord(item, held, context);
1080
+ entries.push({ entry: item, accounts, ...accounts.length === 0 && !group ? { holds: choices(held) } : {} });
1064
1081
  } catch (error) {
1065
1082
  if (!group || !(error instanceof CliError))
1066
1083
  throw error;
@@ -1089,8 +1106,9 @@ var entriesOfList = /* @__PURE__ */ __name((value, context) => {
1089
1106
  for (const item of itemsOf(value))
1090
1107
  entry(item);
1091
1108
  const { only } = context;
1092
- return entries.map(({ entry: entry2, accounts }) => ({
1109
+ return entries.map(({ entry: entry2, accounts, holds }) => ({
1093
1110
  entry: entry2,
1111
+ ...holds === void 0 ? {} : { holds },
1094
1112
  accounts: accounts.filter((one) => only === void 0 || only.has(keyOf(one))).map(({ provider, account, kind, kinds }) => ({
1095
1113
  provider,
1096
1114
  account,
@@ -1134,12 +1152,14 @@ var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind) =>
1134
1152
  const other = known[0];
1135
1153
  skipped.push(other?.kind ? { source: entry, code: "validation_error", reason: reasonOf(other.kind) } : unknown2.length ? { source: entry, code: "not_found", reason: UNKNOWN_PROVIDER } : { source: entry, code: "not_found", reason: "no account in the store" });
1136
1154
  }
1137
- if (chosen.size === 0)
1138
- fail2(`--source names nothing ${what} reads: ${skipped.map(({ source, reason }) => `${source} (${reason})`).join(", ")}`);
1155
+ if (chosen.size === 0) {
1156
+ const words = entries.length === 1 ? entries[0]?.holds : void 0;
1157
+ fail2(`--source names nothing ${what} reads: ${skipped.map(({ source, reason }) => `${source} (${reason})`).join(", ")}` + (words === void 0 ? "" : ` \u2014 the store holds ${words}`));
1158
+ }
1139
1159
  return { accounts: [...chosen.values()], skipped };
1140
1160
  }, "fitting");
1141
1161
 
1142
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/categories.js
1162
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/categories.js
1143
1163
  var CATEGORIES = ["client", "supplier", "partner", "employer"];
1144
1164
 
1145
1165
  export {
@@ -4,10 +4,10 @@ import {
4
4
  QUERY_LIMITS,
5
5
  exhausted,
6
6
  searchError
7
- } from "./chunk-43EKCUBJ.js";
7
+ } from "./chunk-JP2HJXFO.js";
8
8
  import {
9
9
  fold
10
- } from "./chunk-HZRQLAHO.js";
10
+ } from "./chunk-DQB5JMTY.js";
11
11
  import {
12
12
  CATALOG_KINDS,
13
13
  CONTRACT_KINDS,
@@ -26,16 +26,16 @@ import {
26
26
  parseReference,
27
27
  providerLabel,
28
28
  providerNamed
29
- } from "./chunk-QJW35N5V.js";
29
+ } from "./chunk-GC6FLHZF.js";
30
30
  import {
31
31
  CliError,
32
32
  singleLine
33
- } from "./chunk-DB2XKHI4.js";
33
+ } from "./chunk-BUGROVF3.js";
34
34
  import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/addresses.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/addresses.js
39
39
  var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
40
40
  var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
41
41
  var ROLE_ADDRESS_WORDS = {
@@ -97,7 +97,7 @@ var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
97
97
  var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
98
98
  var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
99
99
 
100
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
101
101
  var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
102
102
  var literal = /* @__PURE__ */ __name((c) => ({
103
103
  kind: "char",
@@ -497,7 +497,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
497
497
  return out;
498
498
  }, "foldRegex");
499
499
 
500
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/search/trigrams.js
500
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/search/trigrams.js
501
501
  var trigrams = /* @__PURE__ */ __name((term) => {
502
502
  const padded = ` ${term} `;
503
503
  const pieces = /* @__PURE__ */ new Set();
@@ -506,7 +506,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
506
506
  return [...pieces];
507
507
  }, "trigrams");
508
508
 
509
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
509
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
510
510
  var TAKES = {
511
511
  chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
512
512
  message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
@@ -566,7 +566,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
566
566
  throw wrongAccount(reference, scope, profiles);
567
567
  }, "ensureAccount");
568
568
 
569
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/resolve.js
569
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/resolve.js
570
570
  var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
571
571
  var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
572
572
  var pickChat = /* @__PURE__ */ __name((reference, chats) => {
@@ -637,7 +637,7 @@ ${lines}`, { candidates });
637
637
  }, "ambiguous");
638
638
  var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
639
639
 
640
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/display-names.js
640
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/display-names.js
641
641
  var QUOTES = [
642
642
  ['"', '"'],
643
643
  ["'", "'"],
@@ -695,7 +695,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
695
695
  }, "nameKey");
696
696
  var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
697
697
 
698
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
698
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
699
699
  var PHONE_PLANS = [
700
700
  {
701
701
  country: "us",
@@ -1075,7 +1075,7 @@ var PHONE_PLANS = [
1075
1075
  }
1076
1076
  ];
1077
1077
 
1078
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/phones.js
1078
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/phones.js
1079
1079
  var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
1080
1080
  var DEFAULT_PHONE_COUNTRIES = ["ru"];
1081
1081
  var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
@@ -1150,7 +1150,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
1150
1150
  return found ? `+${found[1]}` : void 0;
1151
1151
  }, "storedPhone");
1152
1152
 
1153
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
1153
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
1154
1154
  var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
1155
1155
  var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
1156
1156
  var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
@@ -1200,7 +1200,7 @@ var arrayOf = /* @__PURE__ */ __name((item, maxItems, description) => ({
1200
1200
  }), "arrayOf");
1201
1201
  var isObject = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isObject");
1202
1202
 
1203
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/record-types.js
1203
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/record-types.js
1204
1204
  var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
1205
1205
  var PARTY = ["person", "organization"];
1206
1206
  var ORGANIZATION = ["organization"];
@@ -1595,7 +1595,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
1595
1595
  var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
1596
1596
  var article2 = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
1597
1597
 
1598
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/records.js
1598
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/records.js
1599
1599
  import { createHash } from "node:crypto";
1600
1600
  var RECORDS_SCHEMA_VERSION = 1;
1601
1601
  var RECORD_OPERATIONS = ["upsert", "delete"];
@@ -1736,7 +1736,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
1736
1736
  return found;
1737
1737
  }, "fieldReferences");
1738
1738
 
1739
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/counters.js
1739
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/counters.js
1740
1740
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
1741
1741
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
1742
1742
  var counterObservationTime = /* @__PURE__ */ __name((observation, now) => {
@@ -1755,7 +1755,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
1755
1755
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
1756
1756
  }, "counterFreshness");
1757
1757
 
1758
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1758
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1759
1759
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
1760
1760
  var AUTHOR_MEASURES = [
1761
1761
  "messages",
@@ -1895,7 +1895,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
1895
1895
  var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
1896
1896
  var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
1897
1897
 
1898
- // node_modules/.pnpm/@wirecat+cli-core@0.687.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_3e6248e31e5b79d53006284373ddef70/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1898
+ // node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1899
1899
  var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
1900
1900
  var ROLE_LABELS = {
1901
1901
  organization: {