@wirecat/cli-memo 0.131.69 → 0.131.71

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 (289) hide show
  1. package/README.md +3 -3
  2. package/THIRD_PARTY_NOTICES +2 -0
  3. package/dist/actions/actions.d.ts +2 -1
  4. package/dist/actions/actions.d.ts.map +1 -1
  5. package/dist/actions/actions.js +5 -3
  6. package/dist/actions/actions.js.map +1 -1
  7. package/dist/actions/command.d.ts.map +1 -1
  8. package/dist/actions/command.js +15 -6
  9. package/dist/actions/command.js.map +1 -1
  10. package/dist/answer.d.ts +1 -0
  11. package/dist/answer.d.ts.map +1 -1
  12. package/dist/answer.js +2 -1
  13. package/dist/answer.js.map +1 -1
  14. package/dist/bin/memo.js +2 -2
  15. package/dist/bin/memo.js.map +1 -1
  16. package/dist/bundle/{all-profiles-6JKSPBBO.js → all-profiles-G6S5HOBT.js} +5 -5
  17. package/dist/bundle/{anthropic-YA2N6EJ4.js → anthropic-LA6PXTPQ.js} +2 -2
  18. package/dist/bundle/{app-server-UP3AL2XQ.js → app-server-W622CBPF.js} +35 -35
  19. package/dist/bundle/auto-WUU2MYGS.js +85 -0
  20. package/dist/bundle/{bun-OUFOAYV4.js → bun-PZNVNH4G.js} +2 -2
  21. package/dist/bundle/{bun-sqlite-5RZTFU2Q.js → bun-sqlite-VICDK5FS.js} +2 -2
  22. package/dist/bundle/{chunk-3TFK7RBA.js → chunk-2LTQ6ZBS.js} +23908 -22107
  23. package/dist/bundle/{chunk-IHHXGTMX.js → chunk-3LS76TFB.js} +1 -1
  24. package/dist/bundle/{chunk-IJAILIZR.js → chunk-3PIKTX3U.js} +18 -18
  25. package/dist/bundle/{chunk-N73YBQ42.js → chunk-3ZSPTUG3.js} +9 -7
  26. package/dist/bundle/{chunk-RHW3DDWI.js → chunk-6B3GQMR6.js} +1 -1
  27. package/dist/bundle/{chunk-LYAJUZM4.js → chunk-6EIWRE6E.js} +30 -30
  28. package/dist/bundle/{chunk-EDPA54WQ.js → chunk-6Z62U7NY.js} +3 -3
  29. package/dist/bundle/{chunk-JMGQATR6.js → chunk-ASDOPGKC.js} +2 -2
  30. package/dist/bundle/{chunk-EKSOPEFQ.js → chunk-BE22RDTR.js} +4 -4
  31. package/dist/bundle/{chunk-FZHYGJQ2.js → chunk-CLQXHFKG.js} +5 -5
  32. package/dist/bundle/{chunk-VPKJZKXV.js → chunk-CPUQC7UF.js} +1 -1
  33. package/dist/bundle/{chunk-GGFL64HF.js → chunk-CZUAGRL7.js} +13168 -11987
  34. package/dist/bundle/{chunk-GVP6CAPH.js → chunk-DW6CDBXA.js} +33 -586
  35. package/dist/bundle/{chunk-5MUR6D2G.js → chunk-DXWDHC2K.js} +44 -2
  36. package/dist/bundle/{chunk-5OMM4CDT.js → chunk-ESYCZ575.js} +2 -2
  37. package/dist/bundle/{chunk-OBQ7TSUB.js → chunk-FHIGY5K6.js} +1 -1
  38. package/dist/bundle/{chunk-MK6SQ32Q.js → chunk-FPWF2XLH.js} +12 -12
  39. package/dist/bundle/{chunk-MYLNRBDF.js → chunk-FVJSDDSV.js} +46 -13
  40. package/dist/bundle/{chunk-TV75OHKJ.js → chunk-G3FQTKHT.js} +7 -7
  41. package/dist/bundle/{chunk-WNA2WNDK.js → chunk-G7XOBQB5.js} +3 -3
  42. package/dist/bundle/{chunk-PSYQPO6D.js → chunk-H3LAORYX.js} +2 -2
  43. package/dist/bundle/{chunk-2DQYP2K3.js → chunk-HIHZNBR7.js} +1 -1
  44. package/dist/bundle/{chunk-QAXIZHK7.js → chunk-HNQGX4AG.js} +33 -33
  45. package/dist/bundle/{chunk-22CDLXSR.js → chunk-I4HWKPQR.js} +4 -4
  46. package/dist/bundle/{chunk-2NFI7SDW.js → chunk-INQAQ55X.js} +2304 -1111
  47. package/dist/bundle/{chunk-XTEJXJJ3.js → chunk-IP5CA3CW.js} +10 -10
  48. package/dist/bundle/{chunk-EO4JMJFZ.js → chunk-IXZWUHSG.js} +7 -7
  49. package/dist/bundle/{chunk-MWQI6FSU.js → chunk-K55WZ67L.js} +3 -3
  50. package/dist/bundle/{chunk-YTJWIJIG.js → chunk-KH43CUE2.js} +5 -5
  51. package/dist/bundle/{chunk-2C7Z7CKD.js → chunk-LIF2HXIQ.js} +1 -1
  52. package/dist/bundle/{chunk-GVEY6743.js → chunk-LRS5X7G3.js} +9 -9
  53. package/dist/bundle/{chunk-3LGLKLBA.js → chunk-M2DAITNE.js} +2 -2
  54. package/dist/bundle/{chunk-OAO5UCPJ.js → chunk-MAGAWAPG.js} +1366 -1574
  55. package/dist/bundle/{chunk-7JFLHRQL.js → chunk-MKOQDN3I.js} +1 -1
  56. package/dist/bundle/{chunk-67VEVKMJ.js → chunk-MSTWHRLN.js} +1 -1
  57. package/dist/bundle/{chunk-YXXAPVAZ.js → chunk-NLRPCKUS.js} +8 -8
  58. package/dist/bundle/{chunk-W2FFA7T5.js → chunk-NNUS57F4.js} +5 -5
  59. package/dist/bundle/{chunk-3YVLNOPE.js → chunk-OHBP2KPQ.js} +4 -4
  60. package/dist/bundle/{chunk-BJJULUUC.js → chunk-OWFC6BAF.js} +5 -5
  61. package/dist/bundle/{chunk-267N22E4.js → chunk-PGOMGFXA.js} +1 -1
  62. package/dist/bundle/{chunk-4HSWIXYE.js → chunk-PHL53ERQ.js} +4 -4
  63. package/dist/bundle/{chunk-5EHUHZU5.js → chunk-QNJ4EKKW.js} +80 -68
  64. package/dist/bundle/{chunk-53EAI4VZ.js → chunk-QUPPO7DB.js} +1 -1
  65. package/dist/bundle/{chunk-276KPJI5.js → chunk-RF6KPQWV.js} +2 -2
  66. package/dist/bundle/{chunk-TXOXPQN2.js → chunk-SL2LXOCN.js} +2 -2
  67. package/dist/bundle/{chunk-QZU5IM5E.js → chunk-SR7C53CS.js} +2 -2
  68. package/dist/bundle/{chunk-ECHN36DC.js → chunk-STJWETNW.js} +4 -4
  69. package/dist/bundle/{chunk-BGWPKEKK.js → chunk-SVVSGUMU.js} +4 -4
  70. package/dist/bundle/{chunk-FQ54GW57.js → chunk-TG3XWDFI.js} +8360 -8360
  71. package/dist/bundle/{chunk-V2YS63Z5.js → chunk-U3P5F57B.js} +1 -1
  72. package/dist/bundle/{chunk-PHSYMVYX.js → chunk-UCRR7R6Q.js} +2 -2
  73. package/dist/bundle/{chunk-2F35N6BI.js → chunk-UX52EWLQ.js} +1 -1
  74. package/dist/bundle/{chunk-OHA7HDPX.js → chunk-V6BJM3XW.js} +1024 -676
  75. package/dist/bundle/{chunk-TVZXLAID.js → chunk-X337K4BD.js} +10 -6
  76. package/dist/bundle/{chunk-UEMI6FXR.js → chunk-XNX3U6GD.js} +6 -6
  77. package/dist/bundle/{chunk-7L4PBN5S.js → chunk-ZM6J47GY.js} +2 -2
  78. package/dist/bundle/{command-contract-OGW2DX4C.js → command-contract-7QECBB6M.js} +11 -11
  79. package/dist/bundle/{decode-IJMDTGTW.js → decode-WRWXOJML.js} +2 -2
  80. package/dist/bundle/{echarts-EHYUXOKP.js → echarts-MTCNTCST.js} +2 -2
  81. package/dist/bundle/{embed-RUY3UIVC.js → embed-PPPCHSTE.js} +3 -3
  82. package/dist/bundle/{embedder-P6WBMEGP.js → embedder-UJBIX6A2.js} +6 -6
  83. package/dist/bundle/{entry-7S2ONYSF.js → entry-4P5556KI.js} +4 -4
  84. package/dist/bundle/failure-3F3YHF7G.js +65 -0
  85. package/dist/bundle/{first-run-MLIFZSVH.js → first-run-EKRDZLLY.js} +5 -5
  86. package/dist/bundle/{first-screen-DGTTK6VK.js → first-screen-FRRTKWFB.js} +12 -12
  87. package/dist/bundle/{instructions-ZMG4FLGO.js → instructions-JKIO4JF7.js} +1 -1
  88. package/dist/bundle/{mcp-CFIL7WZU.js → mcp-FQPK2KAF.js} +35 -35
  89. package/dist/bundle/memo.js +14 -11
  90. package/dist/bundle/{node-QYL4B7JS.js → node-3AIXDDDR.js} +2 -2
  91. package/dist/bundle/{node-sqlite-ESTT2OCF.js → node-sqlite-NX722DXD.js} +3 -3
  92. package/dist/bundle/{oauth-CFQFSIRQ.js → oauth-2NPSI7Q3.js} +4 -4
  93. package/dist/bundle/{open-3XO2HMIT.js → open-AFRN6Q36.js} +2 -2
  94. package/dist/bundle/{openai-STUNDBD6.js → openai-U5CQFLRU.js} +7 -7
  95. package/dist/bundle/{process-P4UAJCZX.js → process-J2IBN6X7.js} +1 -1
  96. package/dist/bundle/{program-BXL5ZOVQ.js → program-L5IM35PO.js} +1433 -531
  97. package/dist/bundle/{prompt-ZCYMFMIG.js → prompt-6XNKR4VQ.js} +2 -2
  98. package/dist/bundle/{recognize-V3BY33FK.js → recognize-G3GI32QS.js} +1 -1
  99. package/dist/bundle/{remote-IP4QR7SP.js → remote-DJO255PT.js} +4 -4
  100. package/dist/bundle/{rerank-VKUSF3DM.js → rerank-5SBZRIHF.js} +4 -4
  101. package/dist/bundle/{serve-VBIUARHJ.js → serve-BZVBKGU3.js} +6 -6
  102. package/dist/bundle/server-GCESLOOF.js +48 -0
  103. package/dist/bundle/server-JUSMYLIQ.js +61 -0
  104. package/dist/bundle/{server-JLPZUC42.js → server-LWQAHDBH.js} +55 -52
  105. package/dist/bundle/{state-UBAIZ2WP.js → state-A57F7T5D.js} +3 -3
  106. package/dist/bundle/{store-VQQVUA4W.js → store-WG2GYWTG.js} +9 -9
  107. package/dist/bundle/store-maintenance-command-GTY6VU76.js +47 -0
  108. package/dist/bundle/update-LICMP7UR.js +68 -0
  109. package/dist/context/command.d.ts +2 -1
  110. package/dist/context/command.d.ts.map +1 -1
  111. package/dist/context/command.js +34 -12
  112. package/dist/context/command.js.map +1 -1
  113. package/dist/context/context.d.ts +20 -8
  114. package/dist/context/context.d.ts.map +1 -1
  115. package/dist/context/context.js +65 -40
  116. package/dist/context/context.js.map +1 -1
  117. package/dist/contract-overrides/search.js +1 -1
  118. package/dist/contract-overrides/search.js.map +1 -1
  119. package/dist/contract-overrides/skill.d.ts.map +1 -1
  120. package/dist/contract-overrides/skill.js +5 -10
  121. package/dist/contract-overrides/skill.js.map +1 -1
  122. package/dist/digest/backfill.d.ts.map +1 -1
  123. package/dist/digest/backfill.js +4 -2
  124. package/dist/digest/backfill.js.map +1 -1
  125. package/dist/digest/brief.d.ts +14 -0
  126. package/dist/digest/brief.d.ts.map +1 -0
  127. package/dist/digest/brief.js +143 -0
  128. package/dist/digest/brief.js.map +1 -0
  129. package/dist/digest/digest.d.ts.map +1 -1
  130. package/dist/digest/digest.js +2 -1
  131. package/dist/digest/digest.js.map +1 -1
  132. package/dist/discovery/command.d.ts.map +1 -1
  133. package/dist/discovery/command.js +2 -0
  134. package/dist/discovery/command.js.map +1 -1
  135. package/dist/doctor/command.d.ts +22 -2
  136. package/dist/doctor/command.d.ts.map +1 -1
  137. package/dist/examples.d.ts.map +1 -1
  138. package/dist/examples.js +51 -10
  139. package/dist/examples.js.map +1 -1
  140. package/dist/facts/command.d.ts.map +1 -1
  141. package/dist/facts/command.js +7 -6
  142. package/dist/facts/command.js.map +1 -1
  143. package/dist/finance/deal-text.d.ts +4 -0
  144. package/dist/finance/deal-text.d.ts.map +1 -0
  145. package/dist/finance/deal-text.js +34 -0
  146. package/dist/finance/deal-text.js.map +1 -0
  147. package/dist/finance/deals-command.d.ts +1 -1
  148. package/dist/finance/deals-command.d.ts.map +1 -1
  149. package/dist/finance/deals-command.js +113 -13
  150. package/dist/finance/deals-command.js.map +1 -1
  151. package/dist/knowledge/business-text.d.ts +7 -0
  152. package/dist/knowledge/business-text.d.ts.map +1 -0
  153. package/dist/knowledge/business-text.js +19 -0
  154. package/dist/knowledge/business-text.js.map +1 -0
  155. package/dist/knowledge/command.d.ts +1 -1
  156. package/dist/knowledge/command.d.ts.map +1 -1
  157. package/dist/knowledge/command.js +131 -42
  158. package/dist/knowledge/command.js.map +1 -1
  159. package/dist/knowledge/money-text.d.ts +4 -0
  160. package/dist/knowledge/money-text.d.ts.map +1 -0
  161. package/dist/knowledge/money-text.js +16 -0
  162. package/dist/knowledge/money-text.js.map +1 -0
  163. package/dist/knowledge/organization-text.d.ts +7 -0
  164. package/dist/knowledge/organization-text.d.ts.map +1 -0
  165. package/dist/knowledge/organization-text.js +24 -0
  166. package/dist/knowledge/organization-text.js.map +1 -0
  167. package/dist/knowledge/project-actions-command.js +1 -1
  168. package/dist/knowledge/project-actions-command.js.map +1 -1
  169. package/dist/knowledge/project-actions.d.ts +1 -1
  170. package/dist/knowledge/project-actions.d.ts.map +1 -1
  171. package/dist/knowledge/project-actions.js +2 -2
  172. package/dist/knowledge/project-actions.js.map +1 -1
  173. package/dist/knowledge/project-context.d.ts +27 -1
  174. package/dist/knowledge/project-context.d.ts.map +1 -1
  175. package/dist/knowledge/project-context.js +9 -5
  176. package/dist/knowledge/project-context.js.map +1 -1
  177. package/dist/knowledge/project-status-command.d.ts.map +1 -1
  178. package/dist/knowledge/project-status-command.js +21 -5
  179. package/dist/knowledge/project-status-command.js.map +1 -1
  180. package/dist/knowledge/relationships.d.ts +27 -23
  181. package/dist/knowledge/relationships.d.ts.map +1 -1
  182. package/dist/knowledge/relationships.js +65 -52
  183. package/dist/knowledge/relationships.js.map +1 -1
  184. package/dist/knowledge/roles-command.d.ts +8 -0
  185. package/dist/knowledge/roles-command.d.ts.map +1 -0
  186. package/dist/knowledge/roles-command.js +65 -0
  187. package/dist/knowledge/roles-command.js.map +1 -0
  188. package/dist/mcp/catalogue.d.ts +1 -1
  189. package/dist/mcp/catalogue.d.ts.map +1 -1
  190. package/dist/mcp/catalogue.js +3 -1
  191. package/dist/mcp/catalogue.js.map +1 -1
  192. package/dist/mcp/server.js +1 -1
  193. package/dist/mcp/server.js.map +1 -1
  194. package/dist/memories/command.d.ts.map +1 -1
  195. package/dist/memories/command.js +6 -5
  196. package/dist/memories/command.js.map +1 -1
  197. package/dist/memories/sources.js +2 -2
  198. package/dist/memories/sources.js.map +1 -1
  199. package/dist/models/command.d.ts +1 -1
  200. package/dist/models/command.d.ts.map +1 -1
  201. package/dist/models/command.js +2 -1
  202. package/dist/models/command.js.map +1 -1
  203. package/dist/notes/command.d.ts.map +1 -1
  204. package/dist/notes/command.js +13 -8
  205. package/dist/notes/command.js.map +1 -1
  206. package/dist/notes/embed.d.ts +6 -1
  207. package/dist/notes/embed.d.ts.map +1 -1
  208. package/dist/notes/embed.js +17 -8
  209. package/dist/notes/embed.js.map +1 -1
  210. package/dist/people/command.d.ts.map +1 -1
  211. package/dist/people/command.js +2 -1
  212. package/dist/people/command.js.map +1 -1
  213. package/dist/program.d.ts +13 -1
  214. package/dist/program.d.ts.map +1 -1
  215. package/dist/program.js +173 -11
  216. package/dist/program.js.map +1 -1
  217. package/dist/reasons.d.ts.map +1 -1
  218. package/dist/reasons.js +42 -0
  219. package/dist/reasons.js.map +1 -1
  220. package/dist/review/command.js +2 -2
  221. package/dist/review/command.js.map +1 -1
  222. package/dist/review/review.d.ts +3 -3
  223. package/dist/review/review.d.ts.map +1 -1
  224. package/dist/review/review.js +6 -6
  225. package/dist/review/review.js.map +1 -1
  226. package/dist/review/status.d.ts.map +1 -1
  227. package/dist/review/status.js +5 -4
  228. package/dist/review/status.js.map +1 -1
  229. package/dist/run/import.d.ts +2 -2
  230. package/dist/run/import.d.ts.map +1 -1
  231. package/dist/run/import.js +9 -3
  232. package/dist/run/import.js.map +1 -1
  233. package/dist/search/command.d.ts.map +1 -1
  234. package/dist/search/command.js +21 -3
  235. package/dist/search/command.js.map +1 -1
  236. package/dist/search/denied.d.ts +10 -0
  237. package/dist/search/denied.d.ts.map +1 -0
  238. package/dist/search/denied.js +10 -0
  239. package/dist/search/denied.js.map +1 -0
  240. package/dist/search/people.d.ts.map +1 -1
  241. package/dist/search/people.js +11 -1
  242. package/dist/search/people.js.map +1 -1
  243. package/dist/search/search.d.ts +2 -0
  244. package/dist/search/search.d.ts.map +1 -1
  245. package/dist/search/search.js +37 -12
  246. package/dist/search/search.js.map +1 -1
  247. package/dist/store/group.d.ts +38 -0
  248. package/dist/store/group.d.ts.map +1 -0
  249. package/dist/store/group.js +112 -0
  250. package/dist/store/group.js.map +1 -0
  251. package/dist/store/groups-command.d.ts +10 -0
  252. package/dist/store/groups-command.d.ts.map +1 -0
  253. package/dist/store/groups-command.js +88 -0
  254. package/dist/store/groups-command.js.map +1 -0
  255. package/dist/store/guard.d.ts +29 -0
  256. package/dist/store/guard.d.ts.map +1 -0
  257. package/dist/store/guard.js +94 -0
  258. package/dist/store/guard.js.map +1 -0
  259. package/dist/store/scope.d.ts +3 -3
  260. package/dist/store/scope.d.ts.map +1 -1
  261. package/dist/store/scope.js +7 -6
  262. package/dist/store/scope.js.map +1 -1
  263. package/dist/store/source-list.d.ts +5 -1
  264. package/dist/store/source-list.d.ts.map +1 -1
  265. package/dist/store/source-list.js +30 -15
  266. package/dist/store/source-list.js.map +1 -1
  267. package/dist/tags/command.d.ts.map +1 -1
  268. package/dist/tags/command.js +3 -2
  269. package/dist/tags/command.js.map +1 -1
  270. package/dist/tasks/shared.d.ts.map +1 -1
  271. package/dist/tasks/shared.js +2 -1
  272. package/dist/tasks/shared.js.map +1 -1
  273. package/dist/tasks/tasks.js +3 -3
  274. package/dist/tasks/tasks.js.map +1 -1
  275. package/dist/version.d.ts +1 -1
  276. package/dist/version.js +1 -1
  277. package/package.json +5 -4
  278. package/skills/cli-memo/SKILL.md +7 -7
  279. package/skills/cli-memo/topics/mcp.md +9 -0
  280. package/skills/cli-memo/topics/money.md +14 -1
  281. package/skills/cli-memo/topics/projects.md +2 -1
  282. package/skills/cli-memo/topics/search.md +12 -4
  283. package/dist/bundle/auto-IKZIROGF.js +0 -85
  284. package/dist/bundle/failure-NRZUB77S.js +0 -65
  285. package/dist/bundle/server-AASCSGCI.js +0 -61
  286. package/dist/bundle/server-YQLPZK4Z.js +0 -48
  287. package/dist/bundle/store-maintenance-command-GCBABKEZ.js +0 -47
  288. package/dist/bundle/update-M54Z3SEU.js +0 -68
  289. /package/dist/bundle/{chunk-AWVQHWIS.js → chunk-YSYFOIW7.js} +0 -0
@@ -8,17 +8,17 @@ import {
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-EDPA54WQ.js";
11
+ } from "./chunk-6Z62U7NY.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-TV75OHKJ.js";
15
+ } from "./chunk-G3FQTKHT.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-BGWPKEKK.js";
18
+ } from "./chunk-SVVSGUMU.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-V2YS63Z5.js";
21
+ } from "./chunk-U3P5F57B.js";
22
22
  import {
23
23
  installerOf
24
24
  } from "./chunk-DSU6UR2X.js";
@@ -26,7 +26,7 @@ import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/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-VQQVUA4W.js");
87
+ const { openStore } = await import("./store-WG2GYWTG.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-3XO2HMIT.js"),
117
- import("./store-maintenance-command-GCBABKEZ.js")
116
+ import("./open-AFRN6Q36.js"),
117
+ import("./store-maintenance-command-GTY6VU76.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-DGTTK6VK.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-FRRTKWFB.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:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-ZCYMFMIG.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-6XNKR4VQ.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-MWQI6FSU.js";
6
+ } from "./chunk-K55WZ67L.js";
7
7
  import {
8
8
  OPENAI_URL
9
- } from "./chunk-QZU5IM5E.js";
9
+ } from "./chunk-SR7C53CS.js";
10
10
  import {
11
11
  OPENAI_TRANSCRIBE_MODEL,
12
12
  VAD,
13
13
  filesPresent,
14
14
  modelsDirectory,
15
15
  vadPath
16
- } from "./chunk-WNA2WNDK.js";
16
+ } from "./chunk-G7XOBQB5.js";
17
17
  import {
18
18
  DEFAULT_RETRY,
19
19
  backoffMs
@@ -25,7 +25,7 @@ import {
25
25
  __name
26
26
  } from "./chunk-ZVVMGPBJ.js";
27
27
 
28
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/speech/openai.js
28
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/speech/openai.js
29
29
  import { setTimeout as wait } from "node:timers/promises";
30
30
 
31
31
  // node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
@@ -56,7 +56,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
56
56
  }, "parseRateLimitReset");
57
57
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
58
58
 
59
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/speech/wav.js
59
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/speech/wav.js
60
60
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
61
61
  const bytes = Buffer.alloc(44 + samples.length * 2);
62
62
  bytes.write("RIFF", 0, "ascii");
@@ -77,7 +77,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
77
77
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
78
78
  }, "encodeWav");
79
79
 
80
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/speech/openai.js
80
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/speech/openai.js
81
81
  var LONGEST_REQUEST_SECONDS = 600;
82
82
  var JOINED_SECONDS = 0.2;
83
83
  var PAD_SECONDS = 0.2;
@@ -199,7 +199,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
199
199
  return pieces;
200
200
  }, "piecesOf");
201
201
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
202
- const { openSpeechCutter } = await import("./recognize-V3BY33FK.js");
202
+ const { openSpeechCutter } = await import("./recognize-G3GI32QS.js");
203
203
  return openSpeechCutter(vadModel);
204
204
  }, "openCutter");
205
205
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-67VEVKMJ.js";
5
+ } from "./chunk-MSTWHRLN.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-ZTONSM5X.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/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.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/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-5RZTFU2Q.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-VICDK5FS.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-ESTT2OCF.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-NX722DXD.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-2DQYP2K3.js";
6
+ } from "./chunk-HIHZNBR7.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-YTJWIJIG.js";
10
+ } from "./chunk-KH43CUE2.js";
11
11
  import {
12
12
  catchCrashes
13
13
  } from "./chunk-HE2F4JII.js";
@@ -21,10 +21,10 @@ import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/cli/entry.js
25
25
  import { spawn as spawn2 } from "node:child_process";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
28
28
  import { spawn, spawnSync } from "node:child_process";
29
29
  import { readFileSync } from "node:fs";
30
30
  import { dirname } from "node:path";
@@ -112,14 +112,14 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
112
112
  });
113
113
  }), "relay");
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
116
116
  import { appendFileSync } from "node:fs";
117
117
  var logVersion = /* @__PURE__ */ __name((file) => {
118
118
  appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
119
119
  `);
120
120
  }, "logVersion");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/entry.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/cli/entry.js
123
123
  var processIo = /* @__PURE__ */ __name(() => ({
124
124
  argv: process.argv,
125
125
  env: process.env,
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
173
173
  if (command.optsWithGlobals().dryRun === true)
174
174
  return;
175
175
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
176
- import("./first-run-MLIFZSVH.js"),
177
- import("./command-contract-OGW2DX4C.js")
176
+ import("./first-run-EKRDZLLY.js"),
177
+ import("./command-contract-7QECBB6M.js")
178
178
  ]);
179
179
  await setupAtStart({
180
180
  command: entry.app.command,
@@ -189,7 +189,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
189
189
  ask: /* @__PURE__ */ __name(async (question, command) => {
190
190
  if (headless(command) || io.stdin.isTTY !== true)
191
191
  return false;
192
- const { readSecret } = await import("./prompt-ZCYMFMIG.js");
192
+ const { readSecret } = await import("./prompt-6XNKR4VQ.js");
193
193
  const answer = await readSecret(`${question} [y/N] `, {
194
194
  input: io.stdin,
195
195
  output: io.stderr,
@@ -8,7 +8,7 @@ import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -55,7 +55,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
55
55
  }, "damagedFile");
56
56
  var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
57
57
 
58
- // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/runs/secrets.js
58
+ // node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/runs/secrets.js
59
59
  var SECRET_WORDS = /* @__PURE__ */ new Set([
60
60
  "authorization",
61
61
  "cookie",