@wirecat/cli-memo 0.131.24 → 0.131.25

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 (222) hide show
  1. package/README.md +9 -12
  2. package/dist/app.d.ts +1 -1
  3. package/dist/bin/memo.js +2 -2
  4. package/dist/bundle/{all-profiles-ZCJTYGOL.js → all-profiles-L2T7PQ7S.js} +9 -9
  5. package/dist/bundle/{anthropic-7WVLAKTX.js → anthropic-KWI2B4O2.js} +6 -6
  6. package/dist/bundle/{app-server-6G3SXEHO.js → app-server-GLDIS3HE.js} +42 -42
  7. package/dist/bundle/auto-QFG57LR6.js +86 -0
  8. package/dist/bundle/{bun-JVBDJKBB.js → bun-SMKYTOGI.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-P4I7NVMQ.js → bun-sqlite-PKY3JXMR.js} +5 -5
  10. package/dist/bundle/{chunk-IC2TL7RW.js → chunk-47EZNSMD.js} +2 -2
  11. package/dist/bundle/{chunk-LNXFM4FD.js → chunk-4AONXXP2.js} +45 -26
  12. package/dist/bundle/{chunk-UY2VH3QK.js → chunk-5ANNUWNM.js} +2 -2
  13. package/dist/bundle/{chunk-3U7OUQV2.js → chunk-5GMOYTJQ.js} +1 -1
  14. package/dist/bundle/{chunk-EKTZEF3Q.js → chunk-5JYB6QKS.js} +3 -15
  15. package/dist/bundle/{chunk-GQOXFZBX.js → chunk-5SKYUS4U.js} +278 -279
  16. package/dist/bundle/{chunk-ALGIPJ6L.js → chunk-6OP743NB.js} +2 -2
  17. package/dist/bundle/{chunk-VVEFQEWP.js → chunk-7Y6O4UQB.js} +22 -22
  18. package/dist/bundle/{chunk-Q6MFBH6Q.js → chunk-BNF2ZUNS.js} +9 -9
  19. package/dist/bundle/{chunk-AIVUS6WA.js → chunk-BX7DVBWD.js} +15 -12
  20. package/dist/bundle/{chunk-LWIMGWKB.js → chunk-D5ZV7PRP.js} +3 -3
  21. package/dist/bundle/{chunk-OQK2IKPB.js → chunk-E2WPSRCI.js} +1 -1
  22. package/dist/bundle/{chunk-CCHHEMPM.js → chunk-EB2IULWB.js} +3 -2
  23. package/dist/bundle/{chunk-ND3GBFEY.js → chunk-EEVUVWHW.js} +2 -2
  24. package/dist/bundle/{chunk-UVR6U55E.js → chunk-EFTJ4RTT.js} +6 -6
  25. package/dist/bundle/{chunk-ZOYGY2PN.js → chunk-ENU2556X.js} +3 -3
  26. package/dist/bundle/{chunk-EB7LKK4K.js → chunk-ERQHZZNF.js} +1 -1
  27. package/dist/bundle/{chunk-AWGV4VOA.js → chunk-FS3ABWVX.js} +12 -12
  28. package/dist/bundle/{chunk-JY4LVWGZ.js → chunk-G2BB5WY5.js} +15 -8
  29. package/dist/bundle/{chunk-ZLZE5P6M.js → chunk-H5QHU5LZ.js} +8 -8
  30. package/dist/bundle/{chunk-CM2H7NRC.js → chunk-I5LIEFQR.js} +4 -4
  31. package/dist/bundle/{chunk-JCCL7RGH.js → chunk-I7PL5WX2.js} +4 -4
  32. package/dist/bundle/{chunk-JDDVGGUV.js → chunk-IE27DJP3.js} +10 -10
  33. package/dist/bundle/{chunk-AIGMYGEL.js → chunk-ILUTSRU3.js} +1 -1
  34. package/dist/bundle/{chunk-UXCDBNAY.js → chunk-INA5WGY7.js} +2 -2
  35. package/dist/bundle/{chunk-RTESJ5O2.js → chunk-J7T6RSR5.js} +4 -4
  36. package/dist/bundle/{chunk-F2ED6KG6.js → chunk-JDDLDKC7.js} +3 -3
  37. package/dist/bundle/{chunk-EACY2ULS.js → chunk-JLBKAIVT.js} +306 -187
  38. package/dist/bundle/{chunk-5YCNCXL5.js → chunk-JVNSHN2J.js} +1 -1
  39. package/dist/bundle/{chunk-NAH473ZR.js → chunk-KFZGI7BU.js} +1 -1
  40. package/dist/bundle/{chunk-ILHTNOIV.js → chunk-KV4267S4.js} +1 -1
  41. package/dist/bundle/{chunk-MPVW7BQZ.js → chunk-LFNJ6CG6.js} +6 -6
  42. package/dist/bundle/chunk-MAUKGKRA.js +428 -0
  43. package/dist/bundle/{chunk-ZDOVR4PA.js → chunk-MWX7UJCL.js} +7 -7
  44. package/dist/bundle/{chunk-3KNXQZMO.js → chunk-MZS3LIMW.js} +29 -29
  45. package/dist/bundle/{chunk-UA2C4BCH.js → chunk-NFTWNCEL.js} +9 -9
  46. package/dist/bundle/{chunk-R2LJDDZP.js → chunk-OGMTUMB7.js} +4 -4
  47. package/dist/bundle/{chunk-CPJEQK4V.js → chunk-ON5SHKHB.js} +46 -46
  48. package/dist/bundle/{chunk-DIMX5AEE.js → chunk-PCT2CIYR.js} +5 -5
  49. package/dist/bundle/{chunk-GSEDSGJF.js → chunk-POXCMAM7.js} +403 -503
  50. package/dist/bundle/{chunk-GRXVN2X7.js → chunk-QA674BMY.js} +1 -1
  51. package/dist/bundle/{chunk-ITQBXFMC.js → chunk-QJJSMLBR.js} +3 -3
  52. package/dist/bundle/{chunk-BTQSFPIM.js → chunk-QOWGFGG3.js} +5 -5
  53. package/dist/bundle/{chunk-N5H6I7WQ.js → chunk-QYDCVWD4.js} +6 -6
  54. package/dist/bundle/{chunk-INTF3YPV.js → chunk-RKLZQVKL.js} +2 -2
  55. package/dist/bundle/{chunk-XF3LZ32F.js → chunk-RTII6JWI.js} +3 -3
  56. package/dist/bundle/{chunk-M43DAAZ7.js → chunk-SBMBBVXF.js} +1 -1
  57. package/dist/bundle/{chunk-SKTGBVYC.js → chunk-SW5YJCHC.js} +4 -4
  58. package/dist/bundle/{chunk-EGG3PGCM.js → chunk-T3R6QHD2.js} +2 -2
  59. package/dist/bundle/{chunk-T4LW6UYQ.js → chunk-TZ7WDQPD.js} +40 -34
  60. package/dist/bundle/{chunk-3MER7NE6.js → chunk-UQS6Y2A7.js} +4 -4
  61. package/dist/bundle/{chunk-ELKYINWL.js → chunk-UWUP3A5H.js} +13 -13
  62. package/dist/bundle/{chunk-KQSHIQSV.js → chunk-VGYXKQJE.js} +73 -74
  63. package/dist/bundle/{chunk-FXHN2UZW.js → chunk-VZ3K7IYC.js} +30 -17
  64. package/dist/bundle/{chunk-IJC6MFLP.js → chunk-WGHQXJHL.js} +10 -10
  65. package/dist/bundle/{chunk-R3LNQ3I4.js → chunk-WHVH72AD.js} +2 -2
  66. package/dist/bundle/{chunk-EW3XTUPB.js → chunk-XBIPSSKI.js} +4 -4
  67. package/dist/bundle/{chunk-2IRCJT4O.js → chunk-XFDE6AL4.js} +8 -8
  68. package/dist/bundle/{chunk-J6D34BFP.js → chunk-YMAS7U5X.js} +260 -262
  69. package/dist/bundle/{chunk-PQLBPYJR.js → chunk-YPF6OS37.js} +1 -1
  70. package/dist/bundle/{chunk-XSI5NYGB.js → chunk-ZKZT6PCF.js} +8 -8
  71. package/dist/bundle/{chunk-UPXUE27A.js → chunk-ZLB2CM7Z.js} +6 -6
  72. package/dist/bundle/{chunk-MROFZXAB.js → chunk-ZUV337F2.js} +22 -22
  73. package/dist/bundle/{chunk-VLPMB3UU.js → chunk-ZVEGLXYB.js} +4 -4
  74. package/dist/bundle/command-contract-47EKA67S.js +32 -0
  75. package/dist/bundle/{decode-YHX3DQG2.js → decode-EEDEXCHR.js} +5 -5
  76. package/dist/bundle/{dispatch-MELZFYOS.js → dispatch-CU5KGRQL.js} +8 -8
  77. package/dist/bundle/{echarts-FBVAP7BR.js → echarts-36MD3UZF.js} +2 -2
  78. package/dist/bundle/{embed-CQJ42S5C.js → embed-R6JZ4CDW.js} +6 -6
  79. package/dist/bundle/{embedder-EDXLEJ27.js → embedder-XUIOKCH6.js} +9 -9
  80. package/dist/bundle/{entry-HZEA7QFK.js → entry-WOAZRQ5F.js} +7 -7
  81. package/dist/bundle/failure-BHRE5S75.js +66 -0
  82. package/dist/bundle/{failure-RBNZBCZJ.js → failure-TUXXI6JT.js} +2 -2
  83. package/dist/bundle/{first-run-JZQN7R6M.js → first-run-3ZUSIFQJ.js} +11 -11
  84. package/dist/bundle/first-screen-WQ2IDXDP.js +30 -0
  85. package/dist/bundle/{instructions-NYVYNWVU.js → instructions-7VMPJMUM.js} +1 -1
  86. package/dist/bundle/mcp-I7LL7AJG.js +90 -0
  87. package/dist/bundle/{mcp-MNI62HHE.js → mcp-PPVOM4SE.js} +2 -2
  88. package/dist/bundle/memo.js +16 -16
  89. package/dist/bundle/{node-2QE6UPGS.js → node-SBHCG4ZC.js} +2 -2
  90. package/dist/bundle/{node-sqlite-SDHZJNY7.js → node-sqlite-EMKROM5U.js} +6 -6
  91. package/dist/bundle/{oauth-FFUJREKS.js → oauth-OJPTUA5K.js} +7 -7
  92. package/dist/bundle/{open-NT2GYX6N.js → open-XI2AVS5B.js} +5 -5
  93. package/dist/bundle/{openai-IQA2XR6Z.js → openai-NCYTRZB6.js} +10 -10
  94. package/dist/bundle/{process-HIEJXYW6.js → process-373B2EBA.js} +1 -1
  95. package/dist/bundle/{chunk-DMQ3342A.js → program-VW7IJ755.js} +9892 -2082
  96. package/dist/bundle/{prompt-IOZAME2R.js → prompt-L3KQBPNH.js} +5 -5
  97. package/dist/bundle/{recognize-2XOAZJ5N.js → recognize-GFWZX4F6.js} +4 -4
  98. package/dist/bundle/{remote-2LE7OTDA.js → remote-5IGAYQBB.js} +7 -7
  99. package/dist/bundle/{rerank-UKOVVZM6.js → rerank-6HWHGDFX.js} +7 -7
  100. package/dist/bundle/{serve-S2UHPEBP.js → serve-AA7RKEOM.js} +9 -9
  101. package/dist/bundle/server-MWUCYBJF.js +61 -0
  102. package/dist/bundle/server-XEY5AKKG.js +48 -0
  103. package/dist/bundle/{server-BG4WWQHY.js → server-Z6L4U6HO.js} +57 -57
  104. package/dist/bundle/{state-F5KT3CBD.js → state-3WTPOBXR.js} +6 -6
  105. package/dist/bundle/{store-WBUUS7FO.js → store-LNP5BXUL.js} +13 -13
  106. package/dist/bundle/store-maintenance-command-6HEGTKPL.js +48 -0
  107. package/dist/bundle/update-6GWVILUX.js +69 -0
  108. package/dist/config.d.ts +2 -28
  109. package/dist/config.d.ts.map +1 -1
  110. package/dist/config.js +2 -35
  111. package/dist/config.js.map +1 -1
  112. package/dist/doctor/command.d.ts +0 -12
  113. package/dist/doctor/command.d.ts.map +1 -1
  114. package/dist/doctor/command.js +19 -24
  115. package/dist/doctor/command.js.map +1 -1
  116. package/dist/examples.d.ts.map +1 -1
  117. package/dist/examples.js +1 -8
  118. package/dist/examples.js.map +1 -1
  119. package/dist/failure.d.ts +2 -2
  120. package/dist/mail/command.d.ts.map +1 -1
  121. package/dist/mail/command.js +2 -87
  122. package/dist/mail/command.js.map +1 -1
  123. package/dist/mail/findings-command.d.ts.map +1 -1
  124. package/dist/mail/findings-command.js +1 -1
  125. package/dist/mail/findings-command.js.map +1 -1
  126. package/dist/mail/moved.d.ts +1 -1
  127. package/dist/mail/moved.d.ts.map +1 -1
  128. package/dist/mail/moved.js +3 -0
  129. package/dist/mail/moved.js.map +1 -1
  130. package/dist/mail/review-command.d.ts +1 -1
  131. package/dist/mail/review-command.d.ts.map +1 -1
  132. package/dist/program.js +1 -1
  133. package/dist/program.js.map +1 -1
  134. package/dist/read-only.d.ts +1 -1
  135. package/dist/reasons.d.ts.map +1 -1
  136. package/dist/reasons.js +1 -13
  137. package/dist/reasons.js.map +1 -1
  138. package/dist/run/auto.js +3 -3
  139. package/dist/run/auto.js.map +1 -1
  140. package/dist/run/import.d.ts +2 -2
  141. package/dist/run/import.d.ts.map +1 -1
  142. package/dist/run/import.js +24 -121
  143. package/dist/run/import.js.map +1 -1
  144. package/dist/search/command.js +1 -1
  145. package/dist/store/source-list.d.ts +1 -6
  146. package/dist/store/source-list.d.ts.map +1 -1
  147. package/dist/store/source-list.js +11 -46
  148. package/dist/store/source-list.js.map +1 -1
  149. package/dist/tasks/command.js +1 -1
  150. package/dist/tasks/command.js.map +1 -1
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +3 -3
  154. package/scenarios/set-up.md +3 -3
  155. package/skills/cli-memo/SKILL.md +13 -21
  156. package/skills/mail-triage/SKILL.md +9 -5
  157. package/dist/bundle/auto-JWPM5654.js +0 -86
  158. package/dist/bundle/chunk-MLMSQK76.js +0 -103
  159. package/dist/bundle/command-contract-543RRFNU.js +0 -32
  160. package/dist/bundle/failure-62G7QSPX.js +0 -66
  161. package/dist/bundle/first-screen-56V3UOQE.js +0 -30
  162. package/dist/bundle/mcp-Y6IPYDS2.js +0 -90
  163. package/dist/bundle/program-DEMRKCZY.js +0 -10972
  164. package/dist/bundle/server-3YNOEPWU.js +0 -61
  165. package/dist/bundle/server-EZWQ5KP4.js +0 -48
  166. package/dist/bundle/setup-2X7ADKFH.js +0 -973
  167. package/dist/bundle/store-maintenance-command-KLST56XF.js +0 -48
  168. package/dist/bundle/update-WH4CGJGP.js +0 -69
  169. package/dist/mail/accounts.d.ts +0 -7
  170. package/dist/mail/accounts.d.ts.map +0 -1
  171. package/dist/mail/accounts.js +0 -28
  172. package/dist/mail/accounts.js.map +0 -1
  173. package/dist/mail/backfill-headers.d.ts +0 -11
  174. package/dist/mail/backfill-headers.d.ts.map +0 -1
  175. package/dist/mail/backfill-headers.js +0 -84
  176. package/dist/mail/backfill-headers.js.map +0 -1
  177. package/dist/mail/domain-age.d.ts +0 -26
  178. package/dist/mail/domain-age.d.ts.map +0 -1
  179. package/dist/mail/domain-age.js +0 -151
  180. package/dist/mail/domain-age.js.map +0 -1
  181. package/dist/mail/gmail.d.ts +0 -39
  182. package/dist/mail/gmail.d.ts.map +0 -1
  183. package/dist/mail/gmail.js +0 -325
  184. package/dist/mail/gmail.js.map +0 -1
  185. package/dist/mail/himalaya.d.ts +0 -22
  186. package/dist/mail/himalaya.d.ts.map +0 -1
  187. package/dist/mail/himalaya.js +0 -113
  188. package/dist/mail/himalaya.js.map +0 -1
  189. package/dist/mail/mbox.d.ts +0 -9
  190. package/dist/mail/mbox.d.ts.map +0 -1
  191. package/dist/mail/mbox.js +0 -230
  192. package/dist/mail/mbox.js.map +0 -1
  193. package/dist/mail/repair.d.ts +0 -7
  194. package/dist/mail/repair.d.ts.map +0 -1
  195. package/dist/mail/repair.js +0 -54
  196. package/dist/mail/repair.js.map +0 -1
  197. package/dist/mail/rule-store.d.ts +0 -12
  198. package/dist/mail/rule-store.d.ts.map +0 -1
  199. package/dist/mail/rule-store.js +0 -83
  200. package/dist/mail/rule-store.js.map +0 -1
  201. package/dist/mail/setup-command.d.ts +0 -4
  202. package/dist/mail/setup-command.d.ts.map +0 -1
  203. package/dist/mail/setup-command.js +0 -41
  204. package/dist/mail/setup-command.js.map +0 -1
  205. package/dist/mail/setup.d.ts +0 -19
  206. package/dist/mail/setup.d.ts.map +0 -1
  207. package/dist/mail/setup.js +0 -95
  208. package/dist/mail/setup.js.map +0 -1
  209. package/dist/mail/slices.d.ts +0 -6
  210. package/dist/mail/slices.d.ts.map +0 -1
  211. package/dist/mail/slices.js +0 -7
  212. package/dist/mail/slices.js.map +0 -1
  213. package/dist/mail/source.d.ts +0 -7
  214. package/dist/mail/source.d.ts.map +0 -1
  215. package/dist/mail/source.js +0 -119
  216. package/dist/mail/source.js.map +0 -1
  217. package/dist/mail/sync.d.ts +0 -21
  218. package/dist/mail/sync.d.ts.map +0 -1
  219. package/dist/mail/sync.js +0 -24
  220. package/dist/mail/sync.js.map +0 -1
  221. /package/dist/bundle/{chunk-CWOKGEL3.js → chunk-LU3WKZBA.js} +0 -0
  222. /package/dist/bundle/{chunk-NUN6OGOV.js → chunk-MNDLWYNQ.js} +0 -0
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-J6D34BFP.js";
16
+ } from "./chunk-YMAS7U5X.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,35 +38,35 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-EACY2ULS.js";
41
+ } from "./chunk-JLBKAIVT.js";
42
42
  import {
43
43
  isCliFailure,
44
44
  providerErrorKey
45
- } from "./chunk-UA2C4BCH.js";
45
+ } from "./chunk-NFTWNCEL.js";
46
46
  import {
47
47
  MESSENGER_CHANGE_REFUSAL,
48
48
  readOnlyRefusal
49
- } from "./chunk-R3LNQ3I4.js";
49
+ } from "./chunk-WHVH72AD.js";
50
50
  import {
51
51
  servingProfiles
52
- } from "./chunk-LWIMGWKB.js";
52
+ } from "./chunk-D5ZV7PRP.js";
53
53
  import {
54
54
  openStore
55
- } from "./chunk-GQOXFZBX.js";
55
+ } from "./chunk-5SKYUS4U.js";
56
56
  import {
57
57
  logRecordOf,
58
58
  realSleep,
59
59
  resolvePaths,
60
60
  writeSecurely
61
- } from "./chunk-T4LW6UYQ.js";
61
+ } from "./chunk-TZ7WDQPD.js";
62
62
  import {
63
63
  CliError
64
- } from "./chunk-CCHHEMPM.js";
64
+ } from "./chunk-EB2IULWB.js";
65
65
  import {
66
66
  __name
67
67
  } from "./chunk-ZVVMGPBJ.js";
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
70
70
  import { openSync } from "node:fs";
71
71
  import { createInterface } from "node:readline";
72
72
  import { ReadStream } from "node:tty";
@@ -121,10 +121,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
121
121
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
122
122
  }, "terminalAsker");
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/guard.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/guard.js
125
125
  import { randomUUID } from "node:crypto";
126
126
 
127
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/flood.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/flood.js
128
128
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
129
129
  import { dirname, join } from "node:path";
130
130
  var MOST_DEADLINES = 50;
@@ -208,11 +208,11 @@ var FloodMemory = class {
208
208
  }
209
209
  };
210
210
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/journal.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/journal.js
212
212
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
213
213
  import { dirname as dirname3, join as join2 } from "node:path";
214
214
 
215
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
215
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
216
216
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
217
217
  import { dirname as dirname2 } from "node:path";
218
218
  var LOCK_WAIT_MS = 5e3;
@@ -279,7 +279,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
279
279
  }
280
280
  }, "lockTime");
281
281
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/journal.js
282
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/journal.js
283
283
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
284
284
  var SendJournal = class {
285
285
  static {
@@ -356,7 +356,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
356
356
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
357
357
  }, "withSendId");
358
358
 
359
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/recipients.js
359
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/recipients.js
360
360
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
361
361
  import { join as join3 } from "node:path";
362
362
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -468,7 +468,7 @@ var RecipientList = class {
468
468
  }
469
469
  };
470
470
 
471
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/guard.js
471
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/guard.js
472
472
  var HOUR_MS = 60 * 60 * 1e3;
473
473
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
474
474
  "attachments.extract",
@@ -661,7 +661,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
661
661
  }), "guardFor");
662
662
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
663
663
 
664
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sends/pace.js
664
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/sends/pace.js
665
665
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
666
666
  import { join as join4 } from "node:path";
667
667
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -720,7 +720,7 @@ var Pacer = class {
720
720
  }
721
721
  };
722
722
 
723
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
723
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
724
724
  var pathOf = /* @__PURE__ */ __name((command) => {
725
725
  const words = [];
726
726
  for (let at = command; at?.parent; at = at.parent)
@@ -780,7 +780,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
780
780
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
781
781
  }, "refuseUnknownPermissionKeys");
782
782
 
783
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
783
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
784
784
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
785
785
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
786
786
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -899,7 +899,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
899
899
  });
900
900
  }, "flooded");
901
901
 
902
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
902
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
903
903
  var observed = /* @__PURE__ */ __name((messenger, events) => {
904
904
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
905
905
  const write = currentOperation();
@@ -998,7 +998,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
998
998
  counts[part] = (counts[part] ?? 0) + items.length;
999
999
  }, "byPart");
1000
1000
 
1001
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1001
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1002
1002
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1003
1003
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
1004
1004
  let warned = false;
@@ -1574,7 +1574,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1574
1574
  }
1575
1575
  }, "keep");
1576
1576
 
1577
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1577
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1578
1578
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1579
1579
  let opened;
1580
1580
  return {
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  botInstructions
5
- } from "./chunk-M43DAAZ7.js";
5
+ } from "./chunk-SBMBBVXF.js";
6
6
  import {
7
7
  answered,
8
8
  normal,
9
9
  registerCommands,
10
10
  runCommandForAgent,
11
11
  toolsFromCommands
12
- } from "./chunk-LNXFM4FD.js";
12
+ } from "./chunk-4AONXXP2.js";
13
13
  import {
14
14
  agentJson,
15
15
  skillResource
16
- } from "./chunk-FXHN2UZW.js";
16
+ } from "./chunk-VZ3K7IYC.js";
17
17
  import {
18
18
  callerOf
19
- } from "./chunk-INTF3YPV.js";
19
+ } from "./chunk-RKLZQVKL.js";
20
20
  import {
21
21
  serveStdio
22
22
  } from "./chunk-MM5NVP7F.js";
@@ -25,26 +25,26 @@ import {
25
25
  } from "./chunk-H3ZN4YLB.js";
26
26
  import {
27
27
  wholeList
28
- } from "./chunk-J6D34BFP.js";
28
+ } from "./chunk-YMAS7U5X.js";
29
29
  import {
30
30
  changesMessenger,
31
31
  flatten,
32
32
  itemOf
33
- } from "./chunk-EACY2ULS.js";
33
+ } from "./chunk-JLBKAIVT.js";
34
34
  import {
35
35
  MESSENGER_CHANGE_REFUSAL,
36
36
  readOnlyLockOf,
37
37
  readOnlyRefusal
38
- } from "./chunk-R3LNQ3I4.js";
38
+ } from "./chunk-WHVH72AD.js";
39
39
  import {
40
40
  mcpErrorResult,
41
41
  object
42
- } from "./chunk-JY4LVWGZ.js";
42
+ } from "./chunk-G2BB5WY5.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
48
48
  import { randomUUID } from "node:crypto";
49
49
  var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
50
50
  var createBotServer = /* @__PURE__ */ __name((options) => {
@@ -3,28 +3,28 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-R3LNQ3I4.js";
6
+ } from "./chunk-WHVH72AD.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-UVR6U55E.js";
10
+ } from "./chunk-EFTJ4RTT.js";
11
11
  import {
12
12
  catchCrashes
13
- } from "./chunk-JY4LVWGZ.js";
13
+ } from "./chunk-G2BB5WY5.js";
14
14
  import {
15
15
  importFrom
16
16
  } from "./chunk-Y5E2WNWB.js";
17
17
  import {
18
18
  CliError
19
- } from "./chunk-CCHHEMPM.js";
19
+ } from "./chunk-EB2IULWB.js";
20
20
  import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/entry.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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-JZQN7R6M.js"),
177
- import("./command-contract-543RRFNU.js")
176
+ import("./first-run-3ZUSIFQJ.js"),
177
+ import("./command-contract-47EKA67S.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-IOZAME2R.js");
192
+ const { readSecret } = await import("./prompt-L3KQBPNH.js");
193
193
  const answer = await readSecret(`${question} [y/N] `, {
194
194
  input: io.stdin,
195
195
  output: io.stderr,
@@ -198,7 +198,10 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
198
198
  });
199
199
  return /^(y|yes)$/i.test(answer.trim());
200
200
  }, "ask"),
201
- openBrowser: /* @__PURE__ */ __name((url, browser) => openBrowser(url, browser, io), "openBrowser"),
201
+ openBrowser: /* @__PURE__ */ __name(async (url, browser, command) => {
202
+ if (!headless(command))
203
+ await openBrowser(url, browser, io);
204
+ }, "openBrowser"),
202
205
  outputClosed: /* @__PURE__ */ __name(() => closed, "outputClosed")
203
206
  };
204
207
  let code;
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-5YCNCXL5.js";
5
+ } from "./chunk-JVNSHN2J.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-T4LW6UYQ.js";
9
+ } from "./chunk-TZ7WDQPD.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -19,6 +19,7 @@ var errorCodes = [
19
19
  "provider_unavailable",
20
20
  "invalid_response",
21
21
  "outcome_unknown",
22
+ "conflict",
22
23
  "cancelled"
23
24
  ];
24
25
  var BRAND = /* @__PURE__ */ Symbol.for("@wirecat/cli-base/CliError");
@@ -38,7 +39,7 @@ var CliError = class extends Error {
38
39
  };
39
40
  var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
40
41
 
41
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
42
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
42
43
  var CONTROL = (
43
44
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
44
45
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-CCHHEMPM.js";
5
+ } from "./chunk-EB2IULWB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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();
@@ -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-AIGMYGEL.js";
5
+ } from "./chunk-ILUTSRU3.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-CCHHEMPM.js";
8
+ } from "./chunk-EB2IULWB.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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-P4I7NVMQ.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-PKY3JXMR.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-SDHZJNY7.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-EMKROM5U.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-JY4LVWGZ.js";
12
+ } from "./chunk-G2BB5WY5.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-CCHHEMPM.js";
15
+ } from "./chunk-EB2IULWB.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -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-JCCL7RGH.js";
5
+ } from "./chunk-I7PL5WX2.js";
6
6
  import {
7
7
  QUESTIONS,
8
8
  readSetupAnswers,
9
9
  unanswered,
10
10
  writeSetupAnswers
11
- } from "./chunk-CM2H7NRC.js";
11
+ } from "./chunk-I5LIEFQR.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-2IRCJT4O.js";
15
+ } from "./chunk-XFDE6AL4.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-UPXUE27A.js";
18
+ } from "./chunk-ZLB2CM7Z.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-UXCDBNAY.js";
21
+ } from "./chunk-INA5WGY7.js";
22
22
  import {
23
23
  installerOf
24
- } from "./chunk-ILHTNOIV.js";
24
+ } from "./chunk-KV4267S4.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.567.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_90104be51d88dd1f434885448f73ba7c/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-WBUUS7FO.js");
87
+ const { openStore } = await import("./store-LNP5BXUL.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-NT2GYX6N.js"),
117
- import("./store-maintenance-command-KLST56XF.js")
116
+ import("./open-XI2AVS5B.js"),
117
+ import("./store-maintenance-command-6HEGTKPL.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-56V3UOQE.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-WQ2IDXDP.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-IOZAME2R.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-L3KQBPNH.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -4,12 +4,12 @@ import {
4
4
  errorCodes,
5
5
  isCliError,
6
6
  visibleControls
7
- } from "./chunk-CCHHEMPM.js";
7
+ } from "./chunk-EB2IULWB.js";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-ZVVMGPBJ.js";
11
11
 
12
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
12
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
13
13
  var EXIT_CODES = {
14
14
  validation_error: 2,
15
15
  configuration_error: 3,
@@ -24,6 +24,7 @@ var EXIT_CODES = {
24
24
  provider_unavailable: 12,
25
25
  invalid_response: 13,
26
26
  outcome_unknown: 14,
27
+ conflict: 15,
27
28
  cancelled: 130
28
29
  };
29
30
  var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
@@ -1245,7 +1246,7 @@ function unwrap(schema) {
1245
1246
  }
1246
1247
  __name(unwrap, "unwrap");
1247
1248
 
1248
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1249
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1249
1250
  var EFFECT_LEVELS = ["none", "read", "write"];
1250
1251
  var effectsSchema = strictObject({
1251
1252
  remote: picklist(EFFECT_LEVELS),
@@ -1882,7 +1883,7 @@ function toStandardJsonSchema(schema) {
1882
1883
  }
1883
1884
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1884
1885
 
1885
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1886
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1886
1887
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1887
1888
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1888
1889
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -1924,7 +1925,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
1924
1925
  return String(value);
1925
1926
  }), "fill");
1926
1927
 
1927
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1928
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1928
1929
  var MAX_NEXT_STEPS = 2;
1929
1930
  var COMPACT_FLAG = "--compact";
1930
1931
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
@@ -2036,7 +2037,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2036
2037
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2037
2038
  ].join("\n"), "jsonlOf");
2038
2039
 
2039
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2040
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2040
2041
  var CRASH_CODE = "internal_error";
2041
2042
  var CRASH_REASON = "command.crashed";
2042
2043
  var errorObjectSchema = strictObject({
@@ -2119,11 +2120,17 @@ var BASE_REASONS = defineReasons([
2119
2120
  details: []
2120
2121
  },
2121
2122
  { reason: "outcome.unknown", code: "outcome_unknown", message: "it is not known whether it worked", details: [] },
2123
+ {
2124
+ reason: "write.conflict",
2125
+ code: "conflict",
2126
+ message: "it changed since it was read; read it again",
2127
+ details: []
2128
+ },
2122
2129
  { reason: "command.cancelled", code: "cancelled", message: "the command was cancelled", details: [] },
2123
2130
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2124
2131
  ]);
2125
2132
 
2126
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2133
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2127
2134
  var SAME_COMMAND = "*";
2128
2135
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2129
2136
  var stepSchema = union([
@@ -2202,7 +2209,7 @@ var STEPS = defineSteps([
2202
2209
  }
2203
2210
  ]);
2204
2211
 
2205
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2212
+ // node_modules/.pnpm/@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
2206
2213
  var recognise = /* @__PURE__ */ __name((failure) => {
2207
2214
  if (isCliError(failure))
2208
2215
  return failure;