@wirecat/hubspot-cli 0.5.0 → 0.7.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 (181) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +73 -52
  3. package/contracts/wirecat.json +39 -13
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/agent-JXICB6TB.js +40 -0
  6. package/dist/bundle/{all-profiles-PGFXLOKN.js → all-profiles-GVEX5MXB.js} +11 -11
  7. package/dist/bundle/{anthropic-LPOJ3TYF.js → anthropic-GK6VBQUD.js} +5 -5
  8. package/dist/bundle/{app-server-EYWGCSRY.js → app-server-JRROE463.js} +68 -68
  9. package/dist/bundle/{bun-ZJOOKIIW.js → bun-B7XTFPUF.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-Y6KKH2OW.js → bun-sqlite-QSNZ2YP4.js} +6 -6
  11. package/dist/bundle/{chunk-DEUCWBBH.js → chunk-2FLLS5IL.js} +97 -24
  12. package/dist/bundle/{chunk-5ENY4POG.js → chunk-2HSYAKWO.js} +61 -61
  13. package/dist/bundle/{chunk-QLFD3MOL.js → chunk-2IRBXFIU.js} +2165 -839
  14. package/dist/bundle/{chunk-AIQT2GGK.js → chunk-2K5BAY32.js} +19 -19
  15. package/dist/bundle/{chunk-ZMHD76RE.js → chunk-2PCVKD27.js} +2 -2
  16. package/dist/bundle/{chunk-MENMD5Y5.js → chunk-2V5KOOJV.js} +8 -8
  17. package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-3WG4MTQI.js} +1 -1
  18. package/dist/bundle/{chunk-MPNMEWHA.js → chunk-4F62XXF6.js} +2081 -711
  19. package/dist/bundle/{chunk-OFOA6VJ2.js → chunk-4HZQ5UIY.js} +3 -3
  20. package/dist/bundle/{chunk-QIHJKE4K.js → chunk-4LHNA6LJ.js} +7 -7
  21. package/dist/bundle/{chunk-7Q64D56R.js → chunk-52NC5E42.js} +11 -11
  22. package/dist/bundle/{chunk-ZLWQPUPB.js → chunk-5AVU5SF6.js} +2 -2
  23. package/dist/bundle/{chunk-MKBQFD37.js → chunk-5EJ3C3JG.js} +1 -1
  24. package/dist/bundle/{chunk-AVBKXCEY.js → chunk-5ISQ4KJM.js} +8 -8
  25. package/dist/bundle/{chunk-CWCJEAHZ.js → chunk-5MFZYHPO.js} +3 -3
  26. package/dist/bundle/{chunk-5WADRBQG.js → chunk-63YWTFZF.js} +3 -3
  27. package/dist/bundle/{chunk-I334AT2H.js → chunk-6EHX762H.js} +7 -7
  28. package/dist/bundle/{chunk-6S422S22.js → chunk-6IHXKMY6.js} +7 -9
  29. package/dist/bundle/{chunk-QCHW7R7L.js → chunk-6WKK4UZP.js} +1 -1
  30. package/dist/bundle/{chunk-VIJV474N.js → chunk-745FMNI5.js} +1 -1
  31. package/dist/bundle/{chunk-6PWRJGX4.js → chunk-A7KGBXBT.js} +4 -4
  32. package/dist/bundle/{chunk-HPRGUUHY.js → chunk-ALOPYWYY.js} +1 -1
  33. package/dist/bundle/{chunk-PMGAU6AP.js → chunk-AP3CWDRK.js} +2 -2
  34. package/dist/bundle/{chunk-LXLXF2OE.js → chunk-B3JVNOTB.js} +3 -3
  35. package/dist/bundle/{chunk-QPTHEZZ5.js → chunk-BQPAIGAF.js} +2 -2
  36. package/dist/bundle/{chunk-DDMBPYHP.js → chunk-BRBBZDMZ.js} +2 -2
  37. package/dist/bundle/{chunk-POTS24SH.js → chunk-BXXU4EXK.js} +18 -18
  38. package/dist/bundle/{chunk-34HDRZIL.js → chunk-BY3NKT34.js} +12 -12
  39. package/dist/bundle/{chunk-3CHJYWA2.js → chunk-CBTWKTWN.js} +6 -6
  40. package/dist/bundle/{chunk-RZS7N3OZ.js → chunk-CEHBT7QX.js} +7 -7
  41. package/dist/bundle/{chunk-NLPGUYCG.js → chunk-DBHJIFDS.js} +37 -18
  42. package/dist/bundle/{chunk-DJUUQG6Y.js → chunk-DIHVN5IC.js} +8 -8
  43. package/dist/bundle/{chunk-4RZ4DUQT.js → chunk-DIKUPU3T.js} +3 -3
  44. package/dist/bundle/{chunk-WEM4FZPM.js → chunk-DMYLQX2O.js} +2 -2
  45. package/dist/bundle/{chunk-LWS5AO3H.js → chunk-DWWZAQ4N.js} +16 -16
  46. package/dist/bundle/{chunk-NEP67GLY.js → chunk-GD5JTKLS.js} +6 -6
  47. package/dist/bundle/{chunk-KC4ILAKO.js → chunk-GHBJBDTW.js} +1 -1
  48. package/dist/bundle/{chunk-KRTXJMCD.js → chunk-GYH2AXPO.js} +27 -177
  49. package/dist/bundle/{chunk-K3WCBNH4.js → chunk-GZD6BYO7.js} +6 -6
  50. package/dist/bundle/{chunk-KAW5VEER.js → chunk-H5HBZCEJ.js} +8 -8
  51. package/dist/bundle/{chunk-VCYUYFIV.js → chunk-HX2BE7DO.js} +1 -1
  52. package/dist/bundle/{chunk-KXWRVLSU.js → chunk-I5WHQH5K.js} +1 -1
  53. package/dist/bundle/{chunk-R7ZOCDNG.js → chunk-INT5JXGP.js} +1 -1
  54. package/dist/bundle/{chunk-YZ5MULJM.js → chunk-IRFFXKKK.js} +3 -3
  55. package/dist/bundle/{chunk-SBNZYRVZ.js → chunk-J5HHB27S.js} +4 -4
  56. package/dist/bundle/{chunk-V5VMAHDQ.js → chunk-JEUYZCWF.js} +6 -6
  57. package/dist/bundle/{chunk-BH5FEFZB.js → chunk-JQUS4KFV.js} +2 -2
  58. package/dist/bundle/{chunk-5HGS65I3.js → chunk-KGLMYQXM.js} +2 -2
  59. package/dist/bundle/{chunk-AHZQMSXW.js → chunk-L3DUZVBP.js} +8 -8
  60. package/dist/bundle/{chunk-RJBKDZGV.js → chunk-LGGBKAVQ.js} +8 -8
  61. package/dist/bundle/{chunk-ODRF47VS.js → chunk-LJ52BS6C.js} +8 -8
  62. package/dist/bundle/{chunk-7RIE3DAW.js → chunk-M3JDGRXM.js} +221 -163
  63. package/dist/bundle/{chunk-BCW7DAVV.js → chunk-MR2BNER3.js} +2 -2
  64. package/dist/bundle/{chunk-OCISQFMW.js → chunk-NUPAXK4Z.js} +1 -1
  65. package/dist/bundle/{chunk-MW4ROXQ6.js → chunk-OX37ZK27.js} +3 -3
  66. package/dist/bundle/{chunk-MFWECOO3.js → chunk-P7N3TZLH.js} +59 -59
  67. package/dist/bundle/{chunk-L6WSFVTD.js → chunk-QAQK2WXJ.js} +5 -5
  68. package/dist/bundle/{chunk-EPBHJMF6.js → chunk-QY7EOB66.js} +13 -13
  69. package/dist/bundle/{chunk-HBFSGL5E.js → chunk-RE55EPBX.js} +33 -28
  70. package/dist/bundle/{chunk-ABPZOI3C.js → chunk-SBORPDIQ.js} +4 -4
  71. package/dist/bundle/{chunk-YQBGPBYN.js → chunk-SFFV2F3Y.js} +2 -2
  72. package/dist/bundle/{chunk-WQZENAPE.js → chunk-SMEEFN65.js} +63 -4
  73. package/dist/bundle/{chunk-GZJP3KQQ.js → chunk-SVRCPPNI.js} +1 -1
  74. package/dist/bundle/{chunk-BW7NPFVC.js → chunk-SZZVNPTI.js} +7 -7
  75. package/dist/bundle/{chunk-HPSESLOZ.js → chunk-TCSVW7BA.js} +1 -1
  76. package/dist/bundle/{chunk-L4SVHQ7H.js → chunk-TXCINEH6.js} +7 -7
  77. package/dist/bundle/{chunk-BGUGTMTS.js → chunk-UMXA357W.js} +8 -8
  78. package/dist/bundle/{chunk-PPQRWFJZ.js → chunk-VJQLJQHT.js} +5 -5
  79. package/dist/bundle/{chunk-EGR3YUWD.js → chunk-WASBOYI2.js} +4 -4
  80. package/dist/bundle/{chunk-Z7FC6VVM.js → chunk-WSTF2MWW.js} +1 -1
  81. package/dist/bundle/{chunk-BVK4GUUI.js → chunk-WSUS3MUK.js} +1853 -1874
  82. package/dist/bundle/{chunk-A5UTNGI4.js → chunk-WWIYZN67.js} +13 -13
  83. package/dist/bundle/{chunk-STTHRJBX.js → chunk-XL3NAXZY.js} +5 -5
  84. package/dist/bundle/{chunk-23CLSKY7.js → chunk-XWYYFAML.js} +3 -3
  85. package/dist/bundle/{chunk-MPQ4SPZG.js → chunk-XZLOQNS7.js} +74 -31
  86. package/dist/bundle/{chunk-MGMLSPIY.js → chunk-YDTFPDAJ.js} +1 -1
  87. package/dist/bundle/{chunk-ZKPM53YG.js → chunk-YFHCKAGU.js} +4 -4
  88. package/dist/bundle/{chunk-WDR77HPO.js → chunk-YGZ37OEN.js} +8 -1
  89. package/dist/bundle/{chunk-YJLJZMEA.js → chunk-YOVIH4QI.js} +33 -30
  90. package/dist/bundle/{chunk-NEDV6RCQ.js → chunk-YVMLFHWS.js} +3 -3
  91. package/dist/bundle/{chunk-K5S7MKBB.js → chunk-ZH76HQDA.js} +17 -17
  92. package/dist/bundle/{chunk-WXEN6AXQ.js → chunk-ZNNGK73C.js} +3 -3
  93. package/dist/bundle/{chunk-NKIKMG33.js → chunk-ZNRZJIRM.js} +35 -35
  94. package/dist/bundle/{chunk-5UPNDUAA.js → chunk-ZS6T2PYQ.js} +2 -2
  95. package/dist/bundle/command-contract-7EWUA6E6.js +40 -0
  96. package/dist/bundle/{command-server-entry-B7S5AUE6.js → command-server-entry-BFXXPNJO.js} +28 -28
  97. package/dist/bundle/{decode-7L33C5UJ.js → decode-5M7R44BR.js} +5 -5
  98. package/dist/bundle/{dispatch-BIGHHSXV.js → dispatch-B2EP6DDT.js} +8 -8
  99. package/dist/bundle/{echarts-CWR3QH55.js → echarts-7MBFY6SZ.js} +2 -2
  100. package/dist/bundle/{embed-GXQ3HOQ6.js → embed-Y4GYNHRX.js} +6 -6
  101. package/dist/bundle/{embedder-47OYXGLS.js → embedder-FI4T4LQB.js} +9 -9
  102. package/dist/bundle/{failure-VMZOU5GZ.js → failure-AOACEURF.js} +2 -2
  103. package/dist/bundle/{first-run-YVQQOUQG.js → first-run-YY66AKKG.js} +12 -12
  104. package/dist/bundle/first-screen-U7Z63VXE.js +40 -0
  105. package/dist/bundle/hubspot.js +27 -27
  106. package/dist/bundle/{instructions-QFS2MPK3.js → instructions-SM7TKV6L.js} +1 -1
  107. package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-ZNULRPZ4.js} +2 -2
  108. package/dist/bundle/meeting-combined-B444C4NF.js +25 -0
  109. package/dist/bundle/{meeting-model-GLF2HVJG.js → meeting-model-DKLMBQXX.js} +11 -11
  110. package/dist/bundle/{meeting-semantic-RG56F4YX.js → meeting-semantic-C5T6UDVB.js} +6 -6
  111. package/dist/bundle/{node-3TSWTXGI.js → node-OS6OQF3F.js} +2 -2
  112. package/dist/bundle/{node-sqlite-UPQCG7DJ.js → node-sqlite-2XTWZ4HL.js} +7 -7
  113. package/dist/bundle/{oauth-MCVEENW3.js → oauth-BSSJ66FC.js} +7 -7
  114. package/dist/bundle/{open-JMUTKUYJ.js → open-UZ3TKWDY.js} +5 -5
  115. package/dist/bundle/{openai-HT7YDOK7.js → openai-POVKFBTC.js} +15 -15
  116. package/dist/bundle/{process-7RC6DAGM.js → process-A7ZJGQ6G.js} +1 -1
  117. package/dist/bundle/{program-3DLBMOEJ.js → program-Q3JFUVC6.js} +582 -337
  118. package/dist/bundle/{prompt-7EROPXPF.js → prompt-TYOYTRJM.js} +5 -5
  119. package/dist/bundle/{recognize-B232GXD2.js → recognize-GGFRONZT.js} +4 -4
  120. package/dist/bundle/{remote-HGV64VRC.js → remote-K4SLWHMI.js} +9 -9
  121. package/dist/bundle/{rerank-5S6TDXHD.js → rerank-2QTKDUBV.js} +7 -7
  122. package/dist/bundle/{schemas-SB42IXEX.js → schemas-EXBNVPMI.js} +1 -1
  123. package/dist/bundle/{serve-D2WFCV6Z.js → serve-FG2G2X6Y.js} +9 -9
  124. package/dist/bundle/{server-4AXPTJPV.js → server-KRDHBT5Q.js} +60 -60
  125. package/dist/bundle/server-VFKK6OS4.js +86 -0
  126. package/dist/bundle/source-XP2JNUVU.js +426 -0
  127. package/dist/bundle/{sqlite-runtime-DAFMZNLI.js → sqlite-runtime-TWV7KFLA.js} +6 -6
  128. package/dist/bundle/{state-7OEBDXVV.js → state-EFX5ZQED.js} +6 -6
  129. package/dist/bundle/store-LON2XRIS.js +34 -0
  130. package/dist/bundle/{store-2ZWSWF76.js → store-MNQ6YQIS.js} +28 -24
  131. package/dist/bundle/{store-KC6US326.js → store-QPVH5VPJ.js} +22 -22
  132. package/dist/bundle/store-maintenance-command-YEMPRNJX.js +73 -0
  133. package/dist/bundle/surface-UJRMT6QT.js +72 -0
  134. package/dist/bundle/writer-NOSHE7ZI.js +86 -0
  135. package/dist/commands/account.d.ts +3 -2
  136. package/dist/commands/account.d.ts.map +1 -1
  137. package/dist/commands/account.js +31 -78
  138. package/dist/commands/account.js.map +1 -1
  139. package/dist/commands/crm-shared.d.ts.map +1 -1
  140. package/dist/commands/crm-shared.js +2 -0
  141. package/dist/commands/crm-shared.js.map +1 -1
  142. package/dist/commands/session.d.ts +0 -3
  143. package/dist/commands/session.d.ts.map +1 -1
  144. package/dist/commands/session.js +4 -31
  145. package/dist/commands/session.js.map +1 -1
  146. package/dist/config.d.ts.map +1 -1
  147. package/dist/config.js +16 -10
  148. package/dist/config.js.map +1 -1
  149. package/dist/crm/activities.d.ts +6 -1
  150. package/dist/crm/activities.d.ts.map +1 -1
  151. package/dist/crm/activities.js +36 -0
  152. package/dist/crm/activities.js.map +1 -1
  153. package/dist/crm/records.d.ts.map +1 -1
  154. package/dist/crm/records.js +3 -0
  155. package/dist/crm/records.js.map +1 -1
  156. package/dist/crm/writer.d.ts +1 -1
  157. package/dist/crm/writer.d.ts.map +1 -1
  158. package/dist/crm/writer.js +69 -1
  159. package/dist/crm/writer.js.map +1 -1
  160. package/dist/program.d.ts.map +1 -1
  161. package/dist/program.js +0 -2
  162. package/dist/program.js.map +1 -1
  163. package/dist/reasons.d.ts.map +1 -1
  164. package/dist/reasons.js +0 -2
  165. package/dist/reasons.js.map +1 -1
  166. package/dist/version.d.ts +1 -1
  167. package/dist/version.js +1 -1
  168. package/package.json +3 -3
  169. package/skills/hubspot-cli/SKILL.md +17 -5
  170. package/skills/hubspot-cli/references/api/api-basic.md +2 -2
  171. package/skills/hubspot-cli/references/api/api-batch.md +2 -2
  172. package/dist/bundle/agent-RBQMA24N.js +0 -40
  173. package/dist/bundle/command-contract-O2UKYHLD.js +0 -40
  174. package/dist/bundle/first-screen-TU3KE2B5.js +0 -40
  175. package/dist/bundle/meeting-combined-WBEOLQMP.js +0 -25
  176. package/dist/bundle/server-FFHVNABP.js +0 -86
  177. package/dist/bundle/source-DF63EC2B.js +0 -945
  178. package/dist/bundle/store-Q3ZKD4FJ.js +0 -34
  179. package/dist/bundle/store-maintenance-command-24A4GBRP.js +0 -73
  180. package/dist/bundle/surface-SPTM57EP.js +0 -72
  181. package/dist/bundle/writer-EQQ55HOS.js +0 -86
@@ -4,10 +4,10 @@ import {
4
4
  QUERY_LIMITS,
5
5
  exhausted,
6
6
  searchError
7
- } from "./chunk-NEDV6RCQ.js";
7
+ } from "./chunk-YVMLFHWS.js";
8
8
  import {
9
9
  fold
10
- } from "./chunk-KXWRVLSU.js";
10
+ } from "./chunk-I5WHQH5K.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-NLPGUYCG.js";
29
+ } from "./chunk-DBHJIFDS.js";
30
30
  import {
31
31
  CliError,
32
32
  singleLine
33
- } from "./chunk-PMGAU6AP.js";
33
+ } from "./chunk-AP3CWDRK.js";
34
34
  import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/addresses.js
38
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/search/trigrams.js
500
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
509
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/resolve.js
569
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/display-names.js
640
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
698
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/phones.js
1078
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
1153
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/record-types.js
1203
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/records.js
1598
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/counters.js
1739
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
1758
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
1898
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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: {
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-4RZ4DUQT.js";
5
+ } from "./chunk-DIKUPU3T.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-OFOA6VJ2.js";
11
+ } from "./chunk-4HZQ5UIY.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-BGUGTMTS.js";
15
+ } from "./chunk-UMXA357W.js";
16
16
  import {
17
17
  installerOf
18
- } from "./chunk-VIJV474N.js";
18
+ } from "./chunk-745FMNI5.js";
19
19
  import {
20
20
  sharedConfigPath
21
- } from "./chunk-RZS7N3OZ.js";
21
+ } from "./chunk-CEHBT7QX.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-WEM4FZPM.js";
24
+ } from "./chunk-DMYLQX2O.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-KC6US326.js");
87
+ const { openStore } = await import("./store-QPVH5VPJ.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-JMUTKUYJ.js"),
117
- import("./store-maintenance-command-24A4GBRP.js")
116
+ import("./open-UZ3TKWDY.js"),
117
+ import("./store-maintenance-command-YEMPRNJX.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-TU3KE2B5.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-U7Z63VXE.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
200
200
  // `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
201
201
  all: start.path.length === 1 && start.path[0] === "setup",
202
202
  io: {
203
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-7EROPXPF.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-TYOYTRJM.js")).readSecret(prompt, { input, echo: true }), "ask"),
204
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
205
205
  `), "say")
206
206
  }
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-Z7FC6VVM.js";
5
+ } from "./chunk-WSTF2MWW.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-PMGAU6AP.js";
8
+ } from "./chunk-AP3CWDRK.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-Y6KKH2OW.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-QSNZ2YP4.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-UPQCG7DJ.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-2XTWZ4HL.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-WEM4FZPM.js";
5
+ } from "./chunk-DMYLQX2O.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-AIQT2GGK.js";
9
+ } from "./chunk-2K5BAY32.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-PMGAU6AP.js";
13
+ } from "./chunk-AP3CWDRK.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-5ENY4POG.js";
6
+ } from "./chunk-2HSYAKWO.js";
7
7
  import {
8
8
  CliError,
9
9
  singleLine
10
- } from "./chunk-PMGAU6AP.js";
10
+ } from "./chunk-AP3CWDRK.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/money.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/finance.js
109
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/business.js
138
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/crm.js
166
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/deals.js
176
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/locator.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/references.js
207
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/references.js
208
208
  var SIMPLE_REFERENCES = [
209
209
  "note",
210
210
  "document",
@@ -367,8 +367,8 @@ 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.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/providers.js
371
- var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
370
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/providers.js
371
+ var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm", "tracker"];
372
372
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
373
373
  var PROVIDERS = [
374
374
  { name: "telegram", kind: "messages", aliases: ["tg"], command: "tg", opens: MESSENGER_OPENS },
@@ -386,6 +386,16 @@ var PROVIDERS = [
386
386
  // Google Meet has no tool of its own: its meetings are gcal's, since every meeting is on the calendar.
387
387
  { name: "google-meet", kind: "meetings", aliases: [], command: "gcal" },
388
388
  { name: "google-drive", kind: "documents", aliases: [] },
389
+ // Seeded: linear-cli registers no entry, and without one its accounts would count as a messenger's. One sign-in holds
390
+ // the issues and the documents, so the account is a tracker's and a documents account at once.
391
+ {
392
+ name: "linear",
393
+ kind: "tracker",
394
+ kinds: ["tracker", "documents"],
395
+ aliases: [],
396
+ command: "linear",
397
+ globalItemIds: true
398
+ },
389
399
  // Its meetings come from the notes Telemost mails (`keeper@telemost.yandex.ru`), read by a mail rule.
390
400
  { name: "telemost", kind: "meetings", aliases: [] },
391
401
  // A phone export's records: its SMS and its calls in the one account the import names.
@@ -404,14 +414,15 @@ var LABELS = {
404
414
  "google-meet": "Google Meet",
405
415
  added: "added by hand",
406
416
  email: "mail",
407
- telemost: "Telemost"
417
+ telemost: "Telemost",
418
+ linear: "Linear"
408
419
  };
409
420
  var providerLabel = /* @__PURE__ */ __name((provider) => LABELS[provider] ?? provider, "providerLabel");
410
421
  var FOLDER_PROVIDERS = ["local", "obsidian", "folder"];
411
422
  var isFolderProvider = /* @__PURE__ */ __name((provider) => FOLDER_PROVIDERS.includes(provider), "isFolderProvider");
412
423
  var folderProviderSql = /* @__PURE__ */ __name((column = "provider") => `${column} IN (${FOLDER_PROVIDERS.map((name) => `'${name}'`).join(", ")})`, "folderProviderSql");
413
424
  var folderProviderOf = /* @__PURE__ */ __name((format) => format === "markdown" ? "local" : "obsidian", "folderProviderOf");
414
- var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => entry.kind === "documents" && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
425
+ var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => kindsOfEntry(entry).includes("documents") && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
415
426
  var isDocumentAccountProvider = /* @__PURE__ */ __name((provider) => typeof provider === "string" && documentAccountProviders().includes(provider), "isDocumentAccountProvider");
416
427
  var documentAccountProvidersSql = /* @__PURE__ */ __name(() => documentAccountProviders().map((name) => `'${name}'`).join(", ") || "NULL", "documentAccountProvidersSql");
417
428
  var ADDED_PROVIDER = "added";
@@ -439,7 +450,7 @@ var opensOf = /* @__PURE__ */ __name((value, named) => {
439
450
  var providerEntryOf = /* @__PURE__ */ __name((value) => {
440
451
  if (typeof value !== "object" || value === null || Array.isArray(value))
441
452
  return invalid("a provider entry is an object");
442
- const { name, kind: kind2, kinds, aliases = [], command, opens, imported } = value;
453
+ const { name, kind: kind2, kinds, aliases = [], command, opens, imported, globalItemIds } = value;
443
454
  const named = wordOf(name, "a provider's name");
444
455
  const isKindWord = /* @__PURE__ */ __name((one) => typeof one === "string" && KINDS.includes(one), "isKindWord");
445
456
  const given = kinds === void 0 ? [kind2] : Array.isArray(kinds) && kinds.length > 0 ? kinds : [void 0];
@@ -453,6 +464,8 @@ var providerEntryOf = /* @__PURE__ */ __name((value) => {
453
464
  invalid(`provider ${named}'s aliases are a list`);
454
465
  if (imported !== void 0 && typeof imported !== "boolean")
455
466
  invalid(`provider ${named}'s imported is true or false`);
467
+ if (globalItemIds !== void 0 && typeof globalItemIds !== "boolean")
468
+ invalid(`provider ${named}'s globalItemIds is true or false`);
456
469
  return {
457
470
  name: named,
458
471
  kind: list[0],
@@ -460,7 +473,8 @@ var providerEntryOf = /* @__PURE__ */ __name((value) => {
460
473
  ...imported === true ? { imported: true } : {},
461
474
  aliases: [...new Set(aliases.map((alias) => wordOf(alias, `an alias of ${named}`)))],
462
475
  ...command === void 0 ? {} : { command: wordOf(command, `the command of ${named}`) },
463
- ...opens === void 0 ? {} : { opens: opensOf(opens, named) }
476
+ ...opens === void 0 ? {} : { opens: opensOf(opens, named) },
477
+ ...globalItemIds === true ? { globalItemIds: true } : {}
464
478
  };
465
479
  }, "providerEntryOf");
466
480
  var kindsOfEntry = /* @__PURE__ */ __name((entry) => entry.kinds ?? [entry.kind], "kindsOfEntry");
@@ -481,7 +495,8 @@ var joined = /* @__PURE__ */ __name((known, entry) => {
481
495
  ...kinds.length > 1 ? { kinds } : {},
482
496
  aliases: [.../* @__PURE__ */ new Set([...same.aliases, ...entry.aliases])],
483
497
  ...entry.command ? { command: entry.command } : {},
484
- ...entry.opens ? { opens: { ...same.opens, ...entry.opens } } : {}
498
+ ...entry.opens ? { opens: { ...same.opens, ...entry.opens } } : {},
499
+ ...entry.globalItemIds ? { globalItemIds: true } : {}
485
500
  } : entry;
486
501
  const others = known.filter((one) => one !== same);
487
502
  for (const word of wordsOf(merged)) {
@@ -537,12 +552,14 @@ var importedOf = /* @__PURE__ */ __name((entry, held) => {
537
552
  invalid(`provider ${entry.name} was registered without imported: an entry cannot make it import-only later`);
538
553
  return held.imported === true;
539
554
  }, "importedOf");
555
+ var hasGlobalItemIds = /* @__PURE__ */ __name((provider) => registry.find(({ name }) => name === provider)?.globalItemIds === true, "hasGlobalItemIds");
540
556
  var isImportedProvider = /* @__PURE__ */ __name((provider) => registry.find(({ name }) => name === provider)?.imported === true, "isImportedProvider");
557
+ var alsoListedByKey = /* @__PURE__ */ __name((provider) => isDocumentAccountProvider(provider) && kindsIn(provider).some((kind2) => kind2 !== "documents"), "alsoListedByKey");
541
558
  var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).includes(kind2), "holdsKind");
542
559
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
543
560
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
544
561
 
545
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/orders.js
562
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/orders.js
546
563
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
547
564
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
548
565
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -553,7 +570,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
553
570
  }, "orderLine");
554
571
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
555
572
 
556
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/relations.js
573
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/relations.js
557
574
  var ORGANIZATION_ROLES = [
558
575
  "employee",
559
576
  "contractor",
@@ -733,7 +750,9 @@ export {
733
750
  kindIn,
734
751
  kindsIn,
735
752
  importedOf,
753
+ hasGlobalItemIds,
736
754
  isImportedProvider,
755
+ alsoListedByKey,
737
756
  holdsKind,
738
757
  holdsKindOf,
739
758
  kindOf,
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  LEVELS
5
- } from "./chunk-BW7NPFVC.js";
5
+ } from "./chunk-SZZVNPTI.js";
6
6
  import {
7
7
  WORD_BODY
8
- } from "./chunk-POTS24SH.js";
8
+ } from "./chunk-BXXU4EXK.js";
9
9
  import {
10
10
  resolvePaths,
11
11
  writeSecurely
12
- } from "./chunk-AIQT2GGK.js";
12
+ } from "./chunk-2K5BAY32.js";
13
13
  import {
14
14
  array,
15
15
  getDotPath,
@@ -32,12 +32,12 @@ import {
32
32
  import {
33
33
  CliError,
34
34
  visibleControls
35
- } from "./chunk-PMGAU6AP.js";
35
+ } from "./chunk-AP3CWDRK.js";
36
36
  import {
37
37
  __name
38
38
  } from "./chunk-ZVVMGPBJ.js";
39
39
 
40
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/formatting.js
40
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/formatting.js
41
41
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
42
42
  var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
43
43
  const { text, spans } = formatted;
@@ -97,11 +97,11 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
97
97
  };
98
98
  }, "visibleFormattedText");
99
99
 
100
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/vcard.js
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/domain/vcard.js
101
101
  var AS_WORD = new RegExp(`^${WORD_BODY}$`);
102
102
  var encoder = new TextEncoder();
103
103
 
104
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/moderation/check.js
104
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/moderation/check.js
105
105
  var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
106
106
  var LINK = /https?:\/\/\S+/i;
107
107
  var STRENGTH = { report: 0, delete: 1, remove: 2 };
@@ -289,7 +289,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
289
289
  }, "nextPoint");
290
290
  var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
291
291
 
292
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/moderation/rules.js
292
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/moderation/rules.js
293
293
  import { existsSync, readdirSync, readFileSync } from "node:fs";
294
294
  import { join } from "node:path";
295
295
  var RULE_ACTIONS = ["report", "delete", "remove"];
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-QDNYJOWJ.js";
6
+ } from "./chunk-3WG4MTQI.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-AIQT2GGK.js";
13
+ } from "./chunk-2K5BAY32.js";
14
14
  import {
15
15
  number,
16
16
  object,
@@ -22,7 +22,7 @@ import {
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
25
+ // node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-AIQT2GGK.js";
5
+ } from "./chunk-2K5BAY32.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { realpathSync } from "node:fs";
12
12
  import { userInfo } from "node:os";
13
13
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";