@wirecat/drive-cli 0.72.1 → 0.73.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 (205) hide show
  1. package/README.md +4 -0
  2. package/contracts/wirecat.json +82 -18
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-ZOHMLVWI.js +46 -0
  5. package/dist/bundle/{all-profiles-PZVP3G73.js → all-profiles-HGQGKCKQ.js} +14 -14
  6. package/dist/bundle/{anthropic-PUOTKSYV.js → anthropic-2L5DN3HF.js} +8 -8
  7. package/dist/bundle/{app-server-MKDCXRZM.js → app-server-TRSOKYYF.js} +79 -79
  8. package/dist/bundle/{bun-NS5YLOQT.js → bun-AFA5HULK.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-KSKWRLLO.js → bun-sqlite-5MW2BWV4.js} +9 -9
  10. package/dist/bundle/{chunk-JHAACT4I.js → chunk-2G24DYSZ.js} +2 -2
  11. package/dist/bundle/{chunk-MDJUYCHT.js → chunk-2MCMUZCE.js} +1 -1
  12. package/dist/bundle/{chunk-FKP4T7A4.js → chunk-2NAMKBBV.js} +31 -23
  13. package/dist/bundle/{chunk-3YCUYFTD.js → chunk-2WAGRBQT.js} +50 -47
  14. package/dist/bundle/{chunk-S3SLDYTU.js → chunk-33RQ3YVC.js} +1 -1
  15. package/dist/bundle/{chunk-54O5NJRC.js → chunk-36256UTA.js} +12 -12
  16. package/dist/bundle/{chunk-ZNFXKFGF.js → chunk-4FTGSEBR.js} +6 -6
  17. package/dist/bundle/{chunk-YRCGFSRR.js → chunk-4KOMZRN6.js} +2 -2
  18. package/dist/bundle/{chunk-HPS2YGSZ.js → chunk-4LLO4USI.js} +1 -1
  19. package/dist/bundle/{chunk-HDGJ7IDE.js → chunk-4VTAPSZE.js} +4 -4
  20. package/dist/bundle/{chunk-QB7K6PIP.js → chunk-4ZP3IK5I.js} +6 -6
  21. package/dist/bundle/{chunk-KVBGIZ2C.js → chunk-5CYWWYIG.js} +6 -1
  22. package/dist/bundle/{chunk-FJQO5OHR.js → chunk-5EZCDENA.js} +61 -35
  23. package/dist/bundle/{chunk-RM4DO2WZ.js → chunk-5R2VPXVT.js} +1 -1
  24. package/dist/bundle/{chunk-2CG3LUQS.js → chunk-5SQHQRNO.js} +4 -4
  25. package/dist/bundle/{chunk-3VIEGRBA.js → chunk-6AVHD6WB.js} +6 -6
  26. package/dist/bundle/{chunk-JSYUB4SM.js → chunk-6EC3LAVC.js} +2 -2
  27. package/dist/bundle/{chunk-SWQDKO6D.js → chunk-6HZKX65K.js} +3 -3
  28. package/dist/bundle/{chunk-YE7DJB3F.js → chunk-6TGZCOYR.js} +3 -3
  29. package/dist/bundle/{chunk-SUQT4KI2.js → chunk-6V5556NF.js} +7 -7
  30. package/dist/bundle/{chunk-R3EDZWXF.js → chunk-6WZLP4CI.js} +5 -5
  31. package/dist/bundle/{chunk-UT64BBEP.js → chunk-77SAHCDZ.js} +4 -4
  32. package/dist/bundle/{chunk-FTL3WXZB.js → chunk-AGATODLO.js} +12 -12
  33. package/dist/bundle/{chunk-IBQZT2YD.js → chunk-B6YBN6VK.js} +1 -1
  34. package/dist/bundle/{chunk-AG34MPVN.js → chunk-BAG4KIN5.js} +1 -1
  35. package/dist/bundle/{chunk-MA7ETVTZ.js → chunk-BAHWXDWN.js} +16 -16
  36. package/dist/bundle/{chunk-2TVHFJKV.js → chunk-BFESDJPU.js} +1 -1
  37. package/dist/bundle/{chunk-SODB63MR.js → chunk-BOHC2GPY.js} +36 -36
  38. package/dist/bundle/{chunk-VHTELRUA.js → chunk-BY5D2LXE.js} +3 -3
  39. package/dist/bundle/{chunk-G7SKXAVZ.js → chunk-CMB6URN7.js} +5 -5
  40. package/dist/bundle/{chunk-HOICQNJX.js → chunk-CY2MNN3I.js} +5 -5
  41. package/dist/bundle/{chunk-G2KKMQRN.js → chunk-DAYHLKTM.js} +2 -2
  42. package/dist/bundle/{chunk-JVM75M4H.js → chunk-DOUFW7RK.js} +3 -3
  43. package/dist/bundle/{chunk-S27UKJVL.js → chunk-DZG5SAO6.js} +14 -14
  44. package/dist/bundle/{chunk-X6HPQKAI.js → chunk-E3UFICXC.js} +33 -29
  45. package/dist/bundle/{chunk-MA6U4XH2.js → chunk-EBGI3Z6U.js} +1 -1
  46. package/dist/bundle/{chunk-DOEP4EPW.js → chunk-EQGVNLUN.js} +42 -42
  47. package/dist/bundle/{chunk-HMN26CVU.js → chunk-F5XMZDR5.js} +2 -2
  48. package/dist/bundle/{chunk-VBIZD5V5.js → chunk-FITKBN46.js} +2 -2
  49. package/dist/bundle/{chunk-6KND2DYT.js → chunk-FRQBKAPV.js} +6 -6
  50. package/dist/bundle/{chunk-IE3R46YN.js → chunk-GW7L2G4I.js} +57 -57
  51. package/dist/bundle/{chunk-MGC2BAD2.js → chunk-HGXFOXSA.js} +1 -1
  52. package/dist/bundle/{chunk-SSFGSY77.js → chunk-HYJEBBFK.js} +489 -317
  53. package/dist/bundle/{chunk-KOI5G7NM.js → chunk-I2KGZ6XQ.js} +6 -6
  54. package/dist/bundle/{chunk-PMAV3RNP.js → chunk-I3DZHZHM.js} +7 -7
  55. package/dist/bundle/{chunk-HSASPXRW.js → chunk-I3MLLVPE.js} +3 -3
  56. package/dist/bundle/{chunk-PUVQOZ2N.js → chunk-IDJKYHVG.js} +2246 -2047
  57. package/dist/bundle/{chunk-EXHTGQR2.js → chunk-IEGU6GG7.js} +1 -1
  58. package/dist/bundle/{chunk-QURQ2OU2.js → chunk-IKW3PRNG.js} +13 -13
  59. package/dist/bundle/{chunk-XZEVHUKI.js → chunk-J3I4WOBI.js} +3 -3
  60. package/dist/bundle/{chunk-B6JC5RS3.js → chunk-JA37PJL4.js} +11 -11
  61. package/dist/bundle/{chunk-3QBRS3JT.js → chunk-JJGKHGBX.js} +8 -8
  62. package/dist/bundle/{chunk-7YPZPJTB.js → chunk-JWNM6FCC.js} +1 -1
  63. package/dist/bundle/{chunk-IPBYU43F.js → chunk-JZYNXTMH.js} +46 -15
  64. package/dist/bundle/{chunk-KPBUJQKT.js → chunk-K34B37AP.js} +1 -1
  65. package/dist/bundle/{chunk-QK7GKFKB.js → chunk-KERX3BQL.js} +4 -4
  66. package/dist/bundle/{chunk-IE6O7463.js → chunk-KV232TIK.js} +4 -4
  67. package/dist/bundle/{chunk-HCMEU7AF.js → chunk-KXETGAU4.js} +8 -8
  68. package/dist/bundle/{chunk-IV77ZFF4.js → chunk-L5ZZ6RLL.js} +2 -2
  69. package/dist/bundle/{chunk-CP2TZXAG.js → chunk-LGRZNEMA.js} +8 -8
  70. package/dist/bundle/{chunk-QMUWHKP5.js → chunk-M3VJTLFM.js} +6 -6
  71. package/dist/bundle/{chunk-JDGF3YYS.js → chunk-MTH76YSQ.js} +418 -404
  72. package/dist/bundle/{chunk-XKWQDQ4B.js → chunk-NA4HEM4Z.js} +3 -3
  73. package/dist/bundle/{chunk-5BHP4FVM.js → chunk-OCZWU2H4.js} +2 -2
  74. package/dist/bundle/{chunk-6JU4KLAZ.js → chunk-OHKAL25R.js} +62 -62
  75. package/dist/bundle/{chunk-BDZXGDGI.js → chunk-P2FOF6RR.js} +3 -3
  76. package/dist/bundle/{chunk-KI6OOW6D.js → chunk-PMYTDTT4.js} +1 -1
  77. package/dist/bundle/{chunk-4DK55MLP.js → chunk-PQSCABAC.js} +10 -10
  78. package/dist/bundle/{chunk-A5XNUMW7.js → chunk-PSFACXOC.js} +2 -2
  79. package/dist/bundle/{chunk-BMTMGMGE.js → chunk-PSWVHX53.js} +1 -1
  80. package/dist/bundle/{chunk-PB6ACIME.js → chunk-Q2L3W7PS.js} +2 -2
  81. package/dist/bundle/{chunk-GTROGY74.js → chunk-QMDVQ4AN.js} +12 -12
  82. package/dist/bundle/{chunk-OBDPKDGB.js → chunk-QZXFWDTX.js} +6 -6
  83. package/dist/bundle/{chunk-GYAPDUF5.js → chunk-R2GLRHNK.js} +5 -5
  84. package/dist/bundle/{chunk-PSY67L73.js → chunk-R6K36FZ7.js} +23 -23
  85. package/dist/bundle/{chunk-SAEBHENE.js → chunk-RHS3OBO5.js} +4 -4
  86. package/dist/bundle/{chunk-LKUWH6KU.js → chunk-RNLLWYPV.js} +1 -1
  87. package/dist/bundle/{chunk-3ZGWJYSG.js → chunk-RX6D64YA.js} +20 -20
  88. package/dist/bundle/{chunk-YJVQ5GST.js → chunk-S7EQIYNF.js} +1 -1
  89. package/dist/bundle/{chunk-UL5HSHFU.js → chunk-SIC2CGYE.js} +4 -4
  90. package/dist/bundle/{chunk-T3OK6AYZ.js → chunk-SNY4WYPH.js} +5 -5
  91. package/dist/bundle/{chunk-TUL6MCTY.js → chunk-SQODI3DH.js} +2 -2
  92. package/dist/bundle/{chunk-IABPGOMT.js → chunk-SRRNRQSQ.js} +2 -2
  93. package/dist/bundle/{chunk-TFIAD57H.js → chunk-SYQKLEP3.js} +4 -4
  94. package/dist/bundle/{chunk-WDJRUNQN.js → chunk-TAQUEQ5B.js} +8 -8
  95. package/dist/bundle/{chunk-GFI3UUIU.js → chunk-TPIGO4JJ.js} +1 -1
  96. package/dist/bundle/{chunk-4P6D6CUS.js → chunk-U5SB2WDG.js} +10 -10
  97. package/dist/bundle/{chunk-G2CH4FRW.js → chunk-UDP7EQNY.js} +4 -4
  98. package/dist/bundle/{chunk-E2TMWONO.js → chunk-UZAOKKGK.js} +753 -494
  99. package/dist/bundle/{chunk-SM7Z2BQF.js → chunk-V5GIK53Z.js} +17 -17
  100. package/dist/bundle/{chunk-3T7JIHSO.js → chunk-VENGEFU4.js} +8 -8
  101. package/dist/bundle/{chunk-E5EYJU5R.js → chunk-VHPNTMJJ.js} +1 -1
  102. package/dist/bundle/{chunk-3CH7I452.js → chunk-VM3IERRK.js} +7 -7
  103. package/dist/bundle/{chunk-B5V2U7IS.js → chunk-VQ7K2EAW.js} +9 -9
  104. package/dist/bundle/{chunk-IS7STZEB.js → chunk-VQC4GYIQ.js} +3 -3
  105. package/dist/bundle/{chunk-X5CXANSA.js → chunk-VZTDELYM.js} +3 -3
  106. package/dist/bundle/{chunk-35GROSBS.js → chunk-W3OKRT6L.js} +179 -135
  107. package/dist/bundle/{chunk-KBR7OC5S.js → chunk-WB46DJSK.js} +2 -2
  108. package/dist/bundle/{chunk-43PCMVTZ.js → chunk-WITO2RZO.js} +1 -1
  109. package/dist/bundle/{chunk-ODTBJGWQ.js → chunk-WJ7E6TPR.js} +17 -17
  110. package/dist/bundle/{chunk-JRED7BNX.js → chunk-WUVNBZWC.js} +191 -160
  111. package/dist/bundle/{chunk-VOQICE3G.js → chunk-ZDYWRT3X.js} +7 -7
  112. package/dist/bundle/{chunk-JZ65CQWK.js → chunk-ZQMURHTL.js} +6 -6
  113. package/dist/bundle/{cli-KXRWXGTS.js → cli-A7MMBLGR.js} +83 -83
  114. package/dist/bundle/command-contract-WCGIIXYM.js +45 -0
  115. package/dist/bundle/{command-server-entry-7FZX74T6.js → command-server-entry-557ZCX63.js} +35 -35
  116. package/dist/bundle/{decode-SZ6W34U3.js → decode-3IPZIY2P.js} +8 -8
  117. package/dist/bundle/{dispatch-4KNSZ3PI.js → dispatch-UWS7A35Q.js} +9 -9
  118. package/dist/bundle/drive.js +11 -11
  119. package/dist/bundle/{echarts-ISH62J4E.js → echarts-JLCV6NKC.js} +2 -2
  120. package/dist/bundle/{embed-6ODGTZPK.js → embed-Q6H3QSMC.js} +9 -9
  121. package/dist/bundle/{embedder-6FY67FTQ.js → embedder-536EI65E.js} +12 -12
  122. package/dist/bundle/entry-3PKJTP5E.js +25 -0
  123. package/dist/bundle/{failure-V3ILKUTX.js → failure-W3VT5D3H.js} +4 -4
  124. package/dist/bundle/first-run-XTLP6VXF.js +31 -0
  125. package/dist/bundle/first-screen-3GQGULPE.js +45 -0
  126. package/dist/bundle/google-MEPVU4EP.js +46 -0
  127. package/dist/bundle/{google-api-ZTI3NKZX.js → google-api-SY25TRXJ.js} +85 -85
  128. package/dist/bundle/grants-77W5MSWQ.js +133 -0
  129. package/dist/bundle/{identity-YX4IPGOO.js → identity-ZBMVHXUY.js} +6 -6
  130. package/dist/bundle/{instructions-G5ZGHVFB.js → instructions-XQOWVU6J.js} +1 -1
  131. package/dist/bundle/{login-CVX5VJX6.js → login-LXXYFMD3.js} +91 -91
  132. package/dist/bundle/{mcp-MQ2L5IIM.js → mcp-VNOYBWW2.js} +2 -2
  133. package/dist/bundle/meeting-combined-NWWZCYN4.js +28 -0
  134. package/dist/bundle/meeting-model-K7UQ7TO5.js +29 -0
  135. package/dist/bundle/{meeting-semantic-OHG2QN2G.js → meeting-semantic-Z7FAOSLQ.js} +10 -10
  136. package/dist/bundle/{node-NLJINXVQ.js → node-MPZ3SVB4.js} +2 -2
  137. package/dist/bundle/{node-sqlite-KDFQDYVZ.js → node-sqlite-VL5BMY34.js} +10 -10
  138. package/dist/bundle/notes-search-MF7QKFQD.js +74 -0
  139. package/dist/bundle/oauth-EYJXUTXZ.js +22 -0
  140. package/dist/bundle/{open-WVRUVBIZ.js → open-SERV3YXC.js} +8 -8
  141. package/dist/bundle/{openai-JJWOSJMV.js → openai-HUXETQVC.js} +20 -20
  142. package/dist/bundle/{process-LPVAYRO7.js → process-RFIII6TW.js} +1 -1
  143. package/dist/bundle/{program-ZJRIP25J.js → program-VQ6IKDBJ.js} +352 -130
  144. package/dist/bundle/{prompt-XCDHTEAO.js → prompt-LCD5ZR7Q.js} +8 -8
  145. package/dist/bundle/{reasons-REEEQDAZ.js → reasons-GDQIXGWT.js} +5 -5
  146. package/dist/bundle/{recognize-OZLFDJAT.js → recognize-GWKRFWHF.js} +7 -7
  147. package/dist/bundle/{remote-MDPYVCZB.js → remote-XM2CRZJY.js} +13 -13
  148. package/dist/bundle/{rerank-FLZWJNHA.js → rerank-HR5J35V6.js} +10 -10
  149. package/dist/bundle/{serve-5UV5VLRV.js → serve-PP3XR3GA.js} +12 -12
  150. package/dist/bundle/{server-53A2X2MK.js → server-DD3DE536.js} +71 -71
  151. package/dist/bundle/server-NB4RGNYM.js +97 -0
  152. package/dist/bundle/{services-XSMH7BXB.js → services-4Y7R425J.js} +62 -58
  153. package/dist/bundle/{sqlite-runtime-E3L7ENFU.js → sqlite-runtime-CVYBPVKO.js} +9 -9
  154. package/dist/bundle/{start-4S2VNR4J.js → start-2KFZDMWM.js} +7 -7
  155. package/dist/bundle/{state-TQI4JSH7.js → state-AUXW4REW.js} +9 -9
  156. package/dist/bundle/{store-VYJPL7MW.js → store-B7X6UN75.js} +28 -28
  157. package/dist/bundle/{store-GS7PU6PJ.js → store-RADARFIH.js} +26 -26
  158. package/dist/bundle/store-maintenance-command-UTZWPNUF.js +85 -0
  159. package/dist/bundle/surface-4MUNDC3D.js +83 -0
  160. package/dist/bundle/tokens-AIKNGAOI.js +133 -0
  161. package/dist/commands/file-edit.d.ts +18 -0
  162. package/dist/commands/file-edit.d.ts.map +1 -0
  163. package/dist/commands/file-edit.js +39 -0
  164. package/dist/commands/file-edit.js.map +1 -0
  165. package/dist/commands/remote.d.ts +4 -0
  166. package/dist/commands/remote.d.ts.map +1 -1
  167. package/dist/commands/remote.js +59 -17
  168. package/dist/commands/remote.js.map +1 -1
  169. package/dist/config.d.ts +2 -0
  170. package/dist/config.d.ts.map +1 -1
  171. package/dist/config.js +17 -1
  172. package/dist/config.js.map +1 -1
  173. package/dist/drive-files.d.ts +26 -0
  174. package/dist/drive-files.d.ts.map +1 -0
  175. package/dist/drive-files.js +127 -0
  176. package/dist/drive-files.js.map +1 -0
  177. package/dist/program.d.ts.map +1 -1
  178. package/dist/program.js +52 -1
  179. package/dist/program.js.map +1 -1
  180. package/dist/reasons.d.ts.map +1 -1
  181. package/dist/reasons.js +5 -0
  182. package/dist/reasons.js.map +1 -1
  183. package/dist/upload.d.ts +3 -1
  184. package/dist/upload.d.ts.map +1 -1
  185. package/dist/upload.js +5 -4
  186. package/dist/upload.js.map +1 -1
  187. package/dist/version.d.ts +1 -1
  188. package/dist/version.js +1 -1
  189. package/package.json +3 -3
  190. package/skills/drive-cli/SKILL.md +4 -0
  191. package/dist/bundle/agent-GOCD4ZW2.js +0 -46
  192. package/dist/bundle/command-contract-BGNT7MTQ.js +0 -45
  193. package/dist/bundle/entry-2SA6ZX7E.js +0 -25
  194. package/dist/bundle/first-run-ZNKPPD6M.js +0 -31
  195. package/dist/bundle/first-screen-WF6GYLPN.js +0 -45
  196. package/dist/bundle/google-QCADNPCQ.js +0 -46
  197. package/dist/bundle/grants-BPN5AGDK.js +0 -133
  198. package/dist/bundle/meeting-combined-HKZJMJ6Q.js +0 -28
  199. package/dist/bundle/meeting-model-DSE4GRVE.js +0 -29
  200. package/dist/bundle/notes-search-3VBVSQ3R.js +0 -70
  201. package/dist/bundle/oauth-M3E62ZHC.js +0 -22
  202. package/dist/bundle/server-5GMURMDE.js +0 -97
  203. package/dist/bundle/store-maintenance-command-JJVYUZMG.js +0 -85
  204. package/dist/bundle/surface-JC4XVMZR.js +0 -83
  205. package/dist/bundle/tokens-KJQ5EAPW.js +0 -133
@@ -3,32 +3,32 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference,
5
5
  parseMeetingReference
6
- } from "./chunk-IE3R46YN.js";
6
+ } from "./chunk-GW7L2G4I.js";
7
7
  import {
8
8
  createRecordLog,
9
9
  resolvePaths,
10
10
  writeSecurely
11
- } from "./chunk-3ZGWJYSG.js";
11
+ } from "./chunk-RX6D64YA.js";
12
12
  import {
13
13
  singleLine
14
- } from "./chunk-MDJUYCHT.js";
14
+ } from "./chunk-2MCMUZCE.js";
15
15
  import {
16
16
  traceIdOf
17
- } from "./chunk-IABPGOMT.js";
17
+ } from "./chunk-SRRNRQSQ.js";
18
18
  import {
19
19
  CliError
20
- } from "./chunk-IBQZT2YD.js";
20
+ } from "./chunk-B6YBN6VK.js";
21
21
  import {
22
22
  __name
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/run.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/run.js
26
26
  import { randomUUID } from "node:crypto";
27
27
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
28
28
  import { userInfo } from "node:os";
29
29
  import { join, sep } from "node:path";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
32
32
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
33
33
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
34
34
  var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
@@ -41,7 +41,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
41
41
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
42
42
  }), "snakeLogger");
43
43
 
44
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
44
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
45
45
  var diagnostic = {
46
46
  event: true,
47
47
  operation: true,
@@ -115,7 +115,7 @@ var LOG_ATTRIBUTES = [
115
115
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
116
116
  ].sort();
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/run.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/run.js
119
119
  var KEEP_RUNS_FOR_DAYS = 30;
120
120
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
121
121
  var KEEP_STORE_RUNS_FOR_DAYS = 3;
@@ -482,7 +482,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
482
482
  };
483
483
  }, "metadataOf");
484
484
 
485
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/scope.js
485
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/scope.js
486
486
  import { AsyncLocalStorage } from "node:async_hooks";
487
487
  import { randomBytes } from "node:crypto";
488
488
  var scopes = new AsyncLocalStorage();
@@ -535,7 +535,7 @@ var attempts = new AsyncLocalStorage();
535
535
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
536
536
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
537
537
 
538
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/locator.js
538
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/locator.js
539
539
  var SCHEME = "msg:";
540
540
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
541
541
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -556,7 +556,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
556
556
  return { provider, account, chat, message };
557
557
  }, "parseLocator");
558
558
 
559
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/references.js
559
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/references.js
560
560
  var SIMPLE_REFERENCES = [
561
561
  "note",
562
562
  "document",
@@ -719,8 +719,8 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
719
719
  return match !== null && byPrefix.has(match[1]);
720
720
  }, "looksLikeReference");
721
721
 
722
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/providers.js
723
- var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
722
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/providers.js
723
+ var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm", "tracker"];
724
724
  var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
725
725
  var PROVIDERS = [
726
726
  { name: "telegram", kind: "messages", aliases: ["tg"], command: "tg", opens: MESSENGER_OPENS },
@@ -738,6 +738,9 @@ var PROVIDERS = [
738
738
  // Google Meet has no tool of its own: its meetings are gcal's, since every meeting is on the calendar.
739
739
  { name: "google-meet", kind: "meetings", aliases: [], command: "gcal" },
740
740
  { name: "google-drive", kind: "documents", aliases: [] },
741
+ // Seeded: linear-cli registers no entry, and without one its accounts would count as a messenger's. One sign-in holds
742
+ // the issues and the documents, so the account is a tracker's and a documents account at once.
743
+ { name: "linear", kind: "tracker", kinds: ["tracker", "documents"], aliases: [], command: "linear" },
741
744
  // Its meetings come from the notes Telemost mails (`keeper@telemost.yandex.ru`), read by a mail rule.
742
745
  { name: "telemost", kind: "meetings", aliases: [] },
743
746
  // A phone export's records: its SMS and its calls in the one account the import names.
@@ -756,14 +759,15 @@ var LABELS = {
756
759
  "google-meet": "Google Meet",
757
760
  added: "added by hand",
758
761
  email: "mail",
759
- telemost: "Telemost"
762
+ telemost: "Telemost",
763
+ linear: "Linear"
760
764
  };
761
765
  var providerLabel = /* @__PURE__ */ __name((provider) => LABELS[provider] ?? provider, "providerLabel");
762
766
  var FOLDER_PROVIDERS = ["local", "obsidian", "folder"];
763
767
  var isFolderProvider = /* @__PURE__ */ __name((provider) => FOLDER_PROVIDERS.includes(provider), "isFolderProvider");
764
768
  var folderProviderSql = /* @__PURE__ */ __name((column = "provider") => `${column} IN (${FOLDER_PROVIDERS.map((name) => `'${name}'`).join(", ")})`, "folderProviderSql");
765
769
  var folderProviderOf = /* @__PURE__ */ __name((format) => format === "markdown" ? "local" : "obsidian", "folderProviderOf");
766
- var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => entry.kind === "documents" && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
770
+ var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => kindsOfEntry(entry).includes("documents") && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
767
771
  var isDocumentAccountProvider = /* @__PURE__ */ __name((provider) => typeof provider === "string" && documentAccountProviders().includes(provider), "isDocumentAccountProvider");
768
772
  var documentAccountProvidersSql = /* @__PURE__ */ __name(() => documentAccountProviders().map((name) => `'${name}'`).join(", ") || "NULL", "documentAccountProvidersSql");
769
773
  var ADDED_PROVIDER = "added";
@@ -890,11 +894,12 @@ var importedOf = /* @__PURE__ */ __name((entry, held) => {
890
894
  return held.imported === true;
891
895
  }, "importedOf");
892
896
  var isImportedProvider = /* @__PURE__ */ __name((provider) => registry.find(({ name }) => name === provider)?.imported === true, "isImportedProvider");
897
+ var alsoListedByKey = /* @__PURE__ */ __name((provider) => isDocumentAccountProvider(provider) && kindsIn(provider).some((kind2) => kind2 !== "documents"), "alsoListedByKey");
893
898
  var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).includes(kind2), "holdsKind");
894
899
  var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
895
900
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
896
901
 
897
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/query.js
902
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/query.js
898
903
  var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
899
904
  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");
900
905
  var fail = /* @__PURE__ */ __name((message) => {
@@ -917,7 +922,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
917
922
  return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
918
923
  }, "sourceOf");
919
924
 
920
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/account-list.js
925
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/account-list.js
921
926
  var ACCOUNT_GROUPS = "accountGroups";
922
927
  var ACCOUNT_GROUPS_SETTING = "account_groups";
923
928
  var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
@@ -937,12 +942,13 @@ var groupMembers = /* @__PURE__ */ __name((value) => itemsOf(value).map((item) =
937
942
  var describe2 = /* @__PURE__ */ __name((accounts) => accounts.map(({ provider, account, name }) => `${provider}:${account}${name ? ` (${name})` : ""}`).join(", "), "describe");
938
943
  var listedHolds = /* @__PURE__ */ __name((account, kind2) => (account.kinds ?? (account.kind === void 0 ? [] : [account.kind])).includes(kind2), "listedHolds");
939
944
  var kindHere = /* @__PURE__ */ __name((provider, running) => provider === running.provider ? kindOf(provider) : kindIn(provider), "kindHere");
945
+ var listedKinds = /* @__PURE__ */ __name((provider) => kindsIn(provider).filter((kind2) => kind2 !== "documents" || !isDocumentAccountProvider(provider)), "listedKinds");
940
946
  var kindsOfHere = /* @__PURE__ */ __name((provider, running) => {
941
- const kinds = kindsIn(provider);
947
+ const kinds = listedKinds(provider);
942
948
  return { kind: kindHere(provider, running), ...kinds.length > 1 ? { kinds } : {} };
943
949
  }, "kindsOfHere");
944
950
  var heldOf = /* @__PURE__ */ __name((stored, running) => [
945
- ...stored.filter(({ provider }) => kindIn(provider) !== "notes" && !isDocumentAccountProvider(provider)).map(({ provider, account, name }) => ({ provider, account, name, ...kindsOfHere(provider, running) })),
951
+ ...stored.filter(({ provider }) => kindIn(provider) !== "notes" && (!isDocumentAccountProvider(provider) || alsoListedByKey(provider))).map(({ provider, account, name }) => ({ provider, account, name, ...kindsOfHere(provider, running) })),
946
952
  { provider: "notes", account: INTERNAL_NOTES, name: null, kind: "notes" },
947
953
  ...stored.filter(({ provider }) => isFolderProvider(provider)).map(({ id, name, provider, account }) => ({
948
954
  provider: "notes",
@@ -979,7 +985,7 @@ var providerOf = /* @__PURE__ */ __name((prefix, held, { running, profiles }) =>
979
985
  var profilesOf = /* @__PURE__ */ __name((provider, profiles) => Object.values(profiles).flatMap((named) => Object.entries(named).filter(([, key]) => key.provider === provider)), "profilesOf");
980
986
  var accountOf = /* @__PURE__ */ __name((prefix, ref, held, context) => {
981
987
  const provider = providerOf(prefix, held, context);
982
- if (isDocumentAccountProvider(provider) && !context.profiles[prefix.toLowerCase()]?.[ref]) {
988
+ if (isDocumentAccountProvider(provider) && !alsoListedByKey(provider) && !context.profiles[prefix.toLowerCase()]?.[ref]) {
983
989
  const stored = storedAs(held, { provider, account: ref })[0];
984
990
  if (stored)
985
991
  return stored;
@@ -1037,7 +1043,7 @@ var accountsOfWord = /* @__PURE__ */ __name((word, held, context) => {
1037
1043
  return Object.keys(recorded).map((profile) => accountOf(word, profile, held, context));
1038
1044
  const provider = providerOf(word, held, context);
1039
1045
  if (isDocumentAccountProvider(provider) || isFolderProvider(provider))
1040
- return storedAs(held, { provider, account: "" });
1046
+ return [...held.filter((one) => one.provider === provider), ...storedAs(held, { provider, account: "" })];
1041
1047
  return held.filter((one) => one.provider === provider);
1042
1048
  }, "accountsOfWord");
1043
1049
  var isDocumentAccount = /* @__PURE__ */ __name(({ stored }) => stored !== void 0 && isDocumentAccountProvider(stored.provider), "isDocumentAccount");
@@ -1122,7 +1128,8 @@ var READS = {
1122
1128
  documents: "documents \u2014 search notes reads them",
1123
1129
  meetings: "meetings \u2014 search all reads them",
1124
1130
  events: "calendar events \u2014 no search reads them yet",
1125
- crm: "CRM deals and leads \u2014 search all reads them"
1131
+ crm: "CRM deals and leads \u2014 search all reads them",
1132
+ tracker: "a tracker's issues, projects and comments \u2014 search all reads them"
1126
1133
  };
1127
1134
  var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind2) => READS[kind2], alsoFits = () => false) => {
1128
1135
  const chosen = /* @__PURE__ */ new Map();
@@ -1210,6 +1217,7 @@ export {
1210
1217
  kindIn,
1211
1218
  importedOf,
1212
1219
  isImportedProvider,
1220
+ alsoListedByKey,
1213
1221
  holdsKind,
1214
1222
  holdsKindOf,
1215
1223
  isBotProvider,
@@ -5,40 +5,40 @@ import {
5
5
  endpointKeyName,
6
6
  modelGateway,
7
7
  withRecovery
8
- } from "./chunk-QURQ2OU2.js";
8
+ } from "./chunk-IKW3PRNG.js";
9
9
  import {
10
10
  safeName
11
- } from "./chunk-MA6U4XH2.js";
11
+ } from "./chunk-EBGI3Z6U.js";
12
12
  import {
13
13
  capability
14
- } from "./chunk-G2KKMQRN.js";
14
+ } from "./chunk-DAYHLKTM.js";
15
15
  import {
16
16
  questionLookup,
17
17
  questionText
18
- } from "./chunk-R3EDZWXF.js";
18
+ } from "./chunk-6WZLP4CI.js";
19
19
  import {
20
20
  localOnly
21
- } from "./chunk-QB7K6PIP.js";
21
+ } from "./chunk-4ZP3IK5I.js";
22
22
  import {
23
23
  defaultThreads,
24
24
  isTextModelInstalled,
25
25
  openEmbedder,
26
26
  textModelsDirectory
27
- } from "./chunk-GYAPDUF5.js";
27
+ } from "./chunk-R2GLRHNK.js";
28
28
  import {
29
29
  DEFAULT_IMAGE_MODEL,
30
30
  codeOf,
31
31
  imageModel,
32
32
  imageModelsDirectory,
33
33
  isImageModelInstalled
34
- } from "./chunk-QK7GKFKB.js";
34
+ } from "./chunk-KERX3BQL.js";
35
35
  import {
36
36
  ANSWER_RESERVE_MS,
37
37
  deadlineMargin
38
- } from "./chunk-HOICQNJX.js";
38
+ } from "./chunk-CY2MNN3I.js";
39
39
  import {
40
40
  envName
41
- } from "./chunk-5BHP4FVM.js";
41
+ } from "./chunk-OCZWU2H4.js";
42
42
  import {
43
43
  DEFAULT_TEXT_MODEL,
44
44
  PREVIOUS_DEFAULT_TEXT_MODEL,
@@ -47,12 +47,12 @@ import {
47
47
  textModel,
48
48
  textModels,
49
49
  vectorModelKey
50
- } from "./chunk-JZ65CQWK.js";
50
+ } from "./chunk-ZQMURHTL.js";
51
51
  import {
52
52
  endpoint,
53
53
  modelAddressAllowed,
54
54
  onThisComputer
55
- } from "./chunk-6KND2DYT.js";
55
+ } from "./chunk-FRQBKAPV.js";
56
56
  import {
57
57
  chatReferenceOf,
58
58
  chatsMatching,
@@ -64,24 +64,25 @@ import {
64
64
  pickChat,
65
65
  pickPerson,
66
66
  profilesOn
67
- } from "./chunk-B6JC5RS3.js";
67
+ } from "./chunk-JA37PJL4.js";
68
68
  import {
69
69
  DEFAULT_STEMMERS,
70
70
  createStemmer
71
- } from "./chunk-WDJRUNQN.js";
71
+ } from "./chunk-TAQUEQ5B.js";
72
72
  import {
73
73
  RRF_K,
74
74
  SEARCH_QUERY,
75
75
  isQueryLimit,
76
76
  plainQuery,
77
77
  validateFields
78
- } from "./chunk-CP2TZXAG.js";
78
+ } from "./chunk-LGRZNEMA.js";
79
79
  import {
80
80
  normalize
81
- } from "./chunk-AG34MPVN.js";
81
+ } from "./chunk-BAG4KIN5.js";
82
82
  import {
83
83
  INTERNAL_NOTES,
84
84
  accountsOfList,
85
+ alsoListedByKey,
85
86
  entriesOfList,
86
87
  fitting,
87
88
  formatLocator,
@@ -97,30 +98,30 @@ import {
97
98
  sameAs,
98
99
  sourceOf2 as sourceOf,
99
100
  typedCommand
100
- } from "./chunk-FKP4T7A4.js";
101
+ } from "./chunk-2NAMKBBV.js";
101
102
  import {
102
103
  isCliFailure,
103
104
  sqliteCode
104
- } from "./chunk-VBIZD5V5.js";
105
+ } from "./chunk-FITKBN46.js";
105
106
  import {
106
107
  normalizeTag
107
- } from "./chunk-X5CXANSA.js";
108
+ } from "./chunk-VZTDELYM.js";
108
109
  import {
109
110
  dateRange,
110
111
  parseLucene,
111
112
  timezoneOf
112
- } from "./chunk-4DK55MLP.js";
113
+ } from "./chunk-PQSCABAC.js";
113
114
  import {
114
115
  readSharedSection,
115
116
  sharedConfigPath,
116
117
  writeSharedSection
117
- } from "./chunk-HCMEU7AF.js";
118
+ } from "./chunk-KXETGAU4.js";
118
119
  import {
119
120
  storePath
120
- } from "./chunk-HMN26CVU.js";
121
+ } from "./chunk-F5XMZDR5.js";
121
122
  import {
122
123
  singleLine
123
- } from "./chunk-MDJUYCHT.js";
124
+ } from "./chunk-2MCMUZCE.js";
124
125
  import {
125
126
  array,
126
127
  check,
@@ -142,15 +143,15 @@ import {
142
143
  transform,
143
144
  trim,
144
145
  unknown
145
- } from "./chunk-OBDPKDGB.js";
146
+ } from "./chunk-QZXFWDTX.js";
146
147
  import {
147
148
  CliError
148
- } from "./chunk-IBQZT2YD.js";
149
+ } from "./chunk-B6YBN6VK.js";
149
150
  import {
150
151
  __name
151
152
  } from "./chunk-ZVVMGPBJ.js";
152
153
 
153
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/groups.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/groups.js
154
155
  var ALL = "all";
155
156
  var OWNER_NOTES = { provider: "notes", account: INTERNAL_NOTES };
156
157
  var NOT_GROUP_NAMES = /* @__PURE__ */ new Set([ALL, "bots"]);
@@ -285,7 +286,7 @@ var scopeToGroup = /* @__PURE__ */ __name((run, request, context) => {
285
286
  return scoped;
286
287
  }, "scopeToGroup");
287
288
 
288
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
289
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
289
290
  var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
290
291
  var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
291
292
  let narrows = false;
@@ -314,7 +315,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
314
315
  return wanted(root).join(" ").trim();
315
316
  }, "meaningWords");
316
317
 
317
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/search/total.js
318
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/total.js
318
319
  var TOTAL_CAP = 1e4;
319
320
  var totalOf = /* @__PURE__ */ __name((count, shown, hasMore, exact = true) => {
320
321
  const least = shown + (hasMore ? 1 : 0);
@@ -325,7 +326,7 @@ var totalOf = /* @__PURE__ */ __name((count, shown, hasMore, exact = true) => {
325
326
  return { value: count, relation: exact ? "eq" : "gte" };
326
327
  }, "totalOf");
327
328
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
329
330
  import { createHash } from "node:crypto";
330
331
  var refOf = /* @__PURE__ */ __name((target) => target.ref ?? `document:${target.documentId}`, "refOf");
331
332
  var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
@@ -333,7 +334,7 @@ var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}
333
334
  const directory = imageModelsDirectory(env);
334
335
  if (!isImageModelInstalled(model, directory))
335
336
  throw new CliError("not_found", `the picture model is not downloaded \u2014 ${command === void 0 ? "install it with a WireCat CLI that has `images models download` (tg, max or wa); they share the model folder" : `\`${command} images models download ${model.id}\` fetches it`}`, { reason: "model.not-downloaded", model: model.id });
336
- const { openPictureEmbedder } = await import("./embedder-6FY67FTQ.js");
337
+ const { openPictureEmbedder } = await import("./embedder-536EI65E.js");
337
338
  return openPictureEmbedder(model, directory);
338
339
  }, "openPictureEmbedderFor");
339
340
  var savePicture = /* @__PURE__ */ __name(async (store, target, bytes, options = {}) => {
@@ -354,7 +355,7 @@ var savePicture = /* @__PURE__ */ __name(async (store, target, bytes, options =
354
355
  }, "savePicture");
355
356
  var removePicture = /* @__PURE__ */ __name((store, target) => store.notes.removePicture(refOf(target)), "removePicture");
356
357
 
357
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/document-source.js
358
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/document-source.js
358
359
  var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file) => {
359
360
  const metadata = note.frontMatter;
360
361
  const account = accounts.find(({ id }) => String(id) === note.folderId);
@@ -376,7 +377,7 @@ var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file) =>
376
377
  };
377
378
  }, "documentSource");
378
379
 
379
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
380
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
380
381
  var SECTION = "enrichment";
381
382
  var ENRICHMENT_PROVIDERS = ["openai", "anthropic"];
382
383
  var DEFAULT_BASE_URLS = {
@@ -451,7 +452,7 @@ var costOf = /* @__PURE__ */ __name((usage, setting) => {
451
452
  return price ? Math.round((usage.input * price.input + usage.output * price.output) * 1e6) / 1e6 : null;
452
453
  }, "costOf");
453
454
 
454
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/enrichment.js
455
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/enrichment.js
455
456
  var ENRICH_PER_RUN = 600;
456
457
  var BATCH = 20;
457
458
  var CONCURRENCY = 4;
@@ -736,7 +737,7 @@ var enrichmentState = /* @__PURE__ */ __name(async (store, env, estimateFor, key
736
737
  };
737
738
  }, "enrichmentState");
738
739
 
739
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/meaning-model.js
740
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/meaning-model.js
740
741
  var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
741
742
  const chosen = chosenTextModel(env);
742
743
  if (chosen.from === "chosen" || chosen.id !== DEFAULT_TEXT_MODEL)
@@ -751,7 +752,7 @@ var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
751
752
  return (counts.get(before) ?? 0) > (counts.get(now) ?? 0) ? previous.id : current.id;
752
753
  }, "meaningModel");
753
754
 
754
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
755
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
755
756
  var plainQueryWords = /* @__PURE__ */ __name((query) => {
756
757
  let root;
757
758
  try {
@@ -778,12 +779,12 @@ var titleTiers = /* @__PURE__ */ __name((hits, words) => {
778
779
  return [...hits].sort((a, b) => rank(a) - rank(b));
779
780
  }, "titleTiers");
780
781
 
781
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/pictures.js
782
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/pictures.js
782
783
  import { createHash as createHash2 } from "node:crypto";
783
784
  import { lstat, readFile } from "node:fs/promises";
784
785
  import { setTimeout as sleep } from "node:timers/promises";
785
786
 
786
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/models.js
787
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/models.js
787
788
  var GROUP_SETTINGS = [
788
789
  "allCanPin",
789
790
  "onlyAdminsAdd",
@@ -797,14 +798,14 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
797
798
  var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
798
799
  var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
799
800
 
800
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/file-download.js
801
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/file-download.js
801
802
  import { createWriteStream, mkdirSync } from "node:fs";
802
803
  import { link, rm } from "node:fs/promises";
803
804
  import { join, resolve } from "node:path";
804
805
  import { Readable, Transform } from "node:stream";
805
806
  import { pipeline } from "node:stream/promises";
806
807
 
807
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/batch.js
808
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/batch.js
808
809
  var actionable = /* @__PURE__ */ __name((error) => {
809
810
  if (isCliFailure(error))
810
811
  return withRecovery({ code: error.code, message: error.message, ...error.details });
@@ -887,7 +888,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
887
888
  };
888
889
  }, "mergeBatches");
889
890
 
890
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/file-download.js
891
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/file-download.js
891
892
  var refreshedFiles = /* @__PURE__ */ __name((files) => files.flatMap(({ kind, name, position, providerRef }) => providerRef === void 0 || Object.keys(providerRef).length === 0 ? [] : [
892
893
  {
893
894
  kind,
@@ -996,7 +997,7 @@ var save = /* @__PURE__ */ __name(async (file, directory, fallbackName, { unique
996
997
  }
997
998
  }, "save");
998
999
 
999
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/deps.js
1000
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/deps.js
1000
1001
  var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
1001
1002
  var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
1002
1003
  var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
@@ -1071,7 +1072,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
1071
1072
  return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
1072
1073
  }, "storeOnlyDeps");
1073
1074
 
1074
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/search-kind.js
1075
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/search-kind.js
1075
1076
  var NO_MAIL = "no_mail";
1076
1077
  var MAIL = "email";
1077
1078
  var groupLockOf = /* @__PURE__ */ __name((app, env) => {
@@ -1096,10 +1097,10 @@ var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored, e
1096
1097
  if (!members)
1097
1098
  throw new CliError("permission_error", `this process is locked to group ${lock} (${envName(app, "GROUP_LOCK")}), which does not exist`);
1098
1099
  const only = new Set([...members, OWNER_NOTES].map(keyOf));
1099
- const listedAs = /* @__PURE__ */ __name((one) => isFolderProvider(one.provider) || isDocumentAccountProvider(one.provider) ? { provider: "notes", account: String(one.id) } : one, "listedAs");
1100
+ const listedAs = /* @__PURE__ */ __name((one) => isFolderProvider(one.provider) || isDocumentAccountProvider(one.provider) ? [{ provider: "notes", account: String(one.id) }, ...alsoListedByKey(one.provider) ? [one] : []] : [one], "listedAs");
1100
1101
  return {
1101
1102
  ...context,
1102
- held: held.filter((one) => only.has(keyOf(listedAs(one)))),
1103
+ held: held.filter((one) => listedAs(one).some((key) => only.has(keyOf(key)))),
1103
1104
  groups: { [lock]: groups[lock] ?? [] },
1104
1105
  membership: {
1105
1106
  groups: { [lock]: members },
@@ -1145,7 +1146,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
1145
1146
  return chosenMail.map(({ provider, account }) => ({ provider, account }));
1146
1147
  }, "accountsOfKind");
1147
1148
 
1148
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
1149
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
1149
1150
  var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
1150
1151
  if (deps.reads !== "store")
1151
1152
  return keptChatId(deps.messenger, reference, store, account);
@@ -1346,7 +1347,7 @@ var chatsMatchingIn = /* @__PURE__ */ __name(async (store, accounts, pattern) =>
1346
1347
  }, "chatsMatchingIn");
1347
1348
  var isText = /* @__PURE__ */ __name((value) => typeof value === "string" && value !== "", "isText");
1348
1349
 
1349
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/pictures.js
1350
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/pictures.js
1350
1351
  var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
1351
1352
  var PICTURE_FLOOR = 0.25;
1352
1353
  var PAGE = 50;
@@ -1387,7 +1388,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
1387
1388
  const directory = imageModelsDirectory(deps.env);
1388
1389
  if (!isImageModelInstalled(model2, directory))
1389
1390
  throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
1390
- const { openPictureEmbedder } = await import("./embedder-6FY67FTQ.js");
1391
+ const { openPictureEmbedder } = await import("./embedder-536EI65E.js");
1391
1392
  return openPictureEmbedder(model2, directory);
1392
1393
  }, "open");
1393
1394
  const embedder = /* @__PURE__ */ __name(() => {
@@ -1561,7 +1562,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
1561
1562
  }, "search")
1562
1563
  }), "withPictures");
1563
1564
 
1564
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/notes-search.js
1565
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/notes-search.js
1565
1566
  var storeQuery = /* @__PURE__ */ __name(async (store, text, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text, exact), timezone), "storeQuery");
1566
1567
  var parsedQuery = /* @__PURE__ */ __name((text, exact) => validateFields(parseLucene(text, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
1567
1568
  var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
@@ -2145,6 +2146,8 @@ export {
2145
2146
  searchNotesQuery,
2146
2147
  localModel,
2147
2148
  withLocal,
2149
+ stopsAt,
2150
+ embedChunks,
2148
2151
  embedNotes,
2149
2152
  embedEvents,
2150
2153
  embedMail,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -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-G2CH4FRW.js";
5
+ } from "./chunk-UDP7EQNY.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-SAEBHENE.js";
11
+ } from "./chunk-RHS3OBO5.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-WDJRUNQN.js";
15
+ } from "./chunk-TAQUEQ5B.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-HCMEU7AF.js";
18
+ } from "./chunk-KXETGAU4.js";
19
19
  import {
20
20
  installerOf
21
- } from "./chunk-KPBUJQKT.js";
21
+ } from "./chunk-K34B37AP.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-HMN26CVU.js";
24
+ } from "./chunk-F5XMZDR5.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/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-GS7PU6PJ.js");
87
+ const { openStore } = await import("./store-RADARFIH.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-WVRUVBIZ.js"),
117
- import("./store-maintenance-command-JJVYUZMG.js")
116
+ import("./open-SERV3YXC.js"),
117
+ import("./store-maintenance-command-UTZWPNUF.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-WF6GYLPN.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-3GQGULPE.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-XCDHTEAO.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-LCD5ZR7Q.js")).readSecret(prompt, { input, echo: true }), "ask"),
204
204
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
205
205
  `), "say")
206
206
  }