@wirecat/drive-cli 0.60.0 → 0.61.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 (162) hide show
  1. package/README.md +4 -5
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-537I27Z4.js → all-profiles-H4L3Z5UM.js} +14 -14
  4. package/dist/bundle/{anthropic-X4NWVHDF.js → anthropic-PPGFISVP.js} +9 -9
  5. package/dist/bundle/{app-server-KSHJKKS7.js → app-server-YXVK2FUZ.js} +52 -52
  6. package/dist/bundle/{bun-WTBGGCUC.js → bun-DKZAL6ML.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-T7Y3JFFD.js → bun-sqlite-MTZY36QK.js} +8 -8
  8. package/dist/bundle/{chunk-VRW6ZDTH.js → chunk-2RJA4BQB.js} +19 -19
  9. package/dist/bundle/{chunk-VVCZS42A.js → chunk-3252WXOL.js} +1 -1
  10. package/dist/bundle/{chunk-3TQHIHZI.js → chunk-36CWGEVX.js} +2 -2
  11. package/dist/bundle/{chunk-AXWXQNTC.js → chunk-3I2D5TK2.js} +10 -10
  12. package/dist/bundle/{chunk-PDYHEWKG.js → chunk-3SJQNS72.js} +5 -5
  13. package/dist/bundle/{chunk-PPL5ASW2.js → chunk-3UPIJ7DW.js} +280 -280
  14. package/dist/bundle/{chunk-PETFPXLU.js → chunk-3WZH3WV3.js} +3 -3
  15. package/dist/bundle/{chunk-5XHLQZAG.js → chunk-5W56YMQS.js} +25 -25
  16. package/dist/bundle/{chunk-IXN7Y6JA.js → chunk-5W7D5H2R.js} +1 -1
  17. package/dist/bundle/{chunk-FZOCQQ66.js → chunk-67HS46KM.js} +12 -12
  18. package/dist/bundle/{chunk-HFGR33KD.js → chunk-6DN4VPA7.js} +25 -25
  19. package/dist/bundle/{chunk-HIP43OGZ.js → chunk-6IBM4Z3V.js} +1 -1
  20. package/dist/bundle/{chunk-V7QMHMR3.js → chunk-6SUGANRJ.js} +6 -6
  21. package/dist/bundle/{chunk-LQSRVQ3V.js → chunk-6Y2FWJZ4.js} +3 -3
  22. package/dist/bundle/{chunk-GVRS5AIH.js → chunk-73WSULMI.js} +2 -2
  23. package/dist/bundle/{chunk-ZPQS7XJA.js → chunk-AM4RIWOZ.js} +4 -4
  24. package/dist/bundle/{chunk-HCJG7ENG.js → chunk-AWN22PJK.js} +3 -3
  25. package/dist/bundle/{chunk-YDN2RH5S.js → chunk-BCWUDTYQ.js} +2 -2
  26. package/dist/bundle/{chunk-GD6TQ6U4.js → chunk-BF6TQMNB.js} +8 -8
  27. package/dist/bundle/chunk-BQMIDYBA.js +415 -0
  28. package/dist/bundle/{chunk-JQLIM6BH.js → chunk-BXR7BKM3.js} +1 -1
  29. package/dist/bundle/{chunk-MVNPE5FZ.js → chunk-CACYL36O.js} +8 -8
  30. package/dist/bundle/{chunk-246P2DCT.js → chunk-DCBFNBEB.js} +113 -51
  31. package/dist/bundle/{chunk-TXMTMEHW.js → chunk-DEPMQHXQ.js} +4 -4
  32. package/dist/bundle/{chunk-O37ESNAP.js → chunk-DXPOVLQC.js} +46 -28
  33. package/dist/bundle/{chunk-CKGHRWVR.js → chunk-E5EXJ2XS.js} +4 -4
  34. package/dist/bundle/{chunk-4CBZEAQ7.js → chunk-E6J5YH2N.js} +34 -34
  35. package/dist/bundle/{chunk-4XZXH2NM.js → chunk-ECEYAQGN.js} +2 -2
  36. package/dist/bundle/{chunk-XDIEQ2CE.js → chunk-EPCJUL6M.js} +3 -3
  37. package/dist/bundle/{chunk-EHAI773E.js → chunk-FE5JJXKA.js} +2 -2
  38. package/dist/bundle/{chunk-DQDKLZAK.js → chunk-HFM653T3.js} +49 -49
  39. package/dist/bundle/{chunk-UVYVIHEA.js → chunk-HGOYQUT7.js} +1 -1
  40. package/dist/bundle/{chunk-KEXTTZJM.js → chunk-I26VL4W7.js} +2 -2
  41. package/dist/bundle/{chunk-LJ77Y3TK.js → chunk-J4HQVHMN.js} +6 -5
  42. package/dist/bundle/{chunk-YGG7UA3C.js → chunk-J5UDQD5S.js} +5 -5
  43. package/dist/bundle/{chunk-73TTP6ET.js → chunk-JVBLXSAA.js} +141 -141
  44. package/dist/bundle/{chunk-N7S2UPF3.js → chunk-K7LS3NGM.js} +55 -55
  45. package/dist/bundle/{chunk-2AXA5SKP.js → chunk-KV4267S4.js} +1 -1
  46. package/dist/bundle/{chunk-IRZ7OF3F.js → chunk-LARQTWIL.js} +1 -1
  47. package/dist/bundle/{chunk-QIJWSKZL.js → chunk-N2RLJTIW.js} +4 -4
  48. package/dist/bundle/{chunk-HQVIK6PM.js → chunk-NIX2MWHZ.js} +242 -362
  49. package/dist/bundle/{chunk-4VHBDVY2.js → chunk-NZ2EIZLX.js} +14 -10
  50. package/dist/bundle/{chunk-SZXI4OXX.js → chunk-O5CUFS7T.js} +2 -2
  51. package/dist/bundle/{chunk-FO4TCH6P.js → chunk-OFFA54TW.js} +2 -2
  52. package/dist/bundle/{chunk-W62CON5K.js → chunk-OGNOQDWB.js} +4 -4
  53. package/dist/bundle/{chunk-OYNUBWD2.js → chunk-OLPJRD4S.js} +1 -1
  54. package/dist/bundle/{chunk-67QXMO2G.js → chunk-PJTX2MOI.js} +26 -26
  55. package/dist/bundle/{chunk-MXP35VPO.js → chunk-PY7LKNOS.js} +2 -2
  56. package/dist/bundle/{chunk-FTZNUZO7.js → chunk-Q4XVBKX4.js} +3 -3
  57. package/dist/bundle/{chunk-5AMRCBMP.js → chunk-QR5VQXQ5.js} +26 -26
  58. package/dist/bundle/{chunk-S36HRPNS.js → chunk-QSGT4ZH4.js} +1 -1
  59. package/dist/bundle/{chunk-57QVQGBE.js → chunk-RFRCOAWS.js} +22 -22
  60. package/dist/bundle/{chunk-DMHGWL5D.js → chunk-S4YK6TTG.js} +13 -13
  61. package/dist/bundle/{chunk-UVLSWLPZ.js → chunk-TKGAYKXW.js} +16 -16
  62. package/dist/bundle/{chunk-SBHSNOU4.js → chunk-UKOYQC5O.js} +19 -18
  63. package/dist/bundle/{chunk-XFXRGQXJ.js → chunk-UO2IUDVK.js} +2 -2
  64. package/dist/bundle/{chunk-UTFATA4K.js → chunk-VPDAH7PJ.js} +1 -1
  65. package/dist/bundle/{chunk-TKW4QWCY.js → chunk-VYXVPYA3.js} +12 -6
  66. package/dist/bundle/{chunk-YYHKVOVK.js → chunk-W767AUNR.js} +4 -4
  67. package/dist/bundle/{chunk-73MNUSP3.js → chunk-WIU733D2.js} +1 -1
  68. package/dist/bundle/{chunk-UNJE63JK.js → chunk-WUP2MJDN.js} +2 -2
  69. package/dist/bundle/{chunk-EBLA7GXY.js → chunk-WZ5XK74U.js} +2 -1
  70. package/dist/bundle/{chunk-77C5XRH3.js → chunk-X2CXW4HM.js} +7 -7
  71. package/dist/bundle/{chunk-D6WIWOQC.js → chunk-XGMDWIUP.js} +4 -4
  72. package/dist/bundle/{chunk-K6XVRA6U.js → chunk-XGNC5OJG.js} +1 -1
  73. package/dist/bundle/{chunk-ALWTUDZF.js → chunk-XLFJLZJL.js} +4 -4
  74. package/dist/bundle/{chunk-JGUJJNGZ.js → chunk-XYCCGGKN.js} +242 -242
  75. package/dist/bundle/{chunk-TVQDMP2F.js → chunk-XZBR2O63.js} +271 -271
  76. package/dist/bundle/{chunk-OMKUBCNN.js → chunk-YMBFZA3H.js} +8 -8
  77. package/dist/bundle/{chunk-ZYCLPJ7U.js → chunk-YPF6OS37.js} +1 -1
  78. package/dist/bundle/{chunk-6HTKB4WC.js → chunk-YWIU4HOT.js} +1 -1
  79. package/dist/bundle/{chunk-V2VMBM7O.js → chunk-ZHYRHERD.js} +2 -2
  80. package/dist/bundle/{chunk-22ATLSNK.js → chunk-ZMNYK3FC.js} +5 -5
  81. package/dist/bundle/command-contract-T3EO5AYD.js +39 -0
  82. package/dist/bundle/{decode-35N57AFW.js → decode-62A3HGPW.js} +8 -8
  83. package/dist/bundle/{dispatch-CWXZW3PL.js → dispatch-IE7PBEQC.js} +9 -9
  84. package/dist/bundle/drive.js +11 -11
  85. package/dist/bundle/{echarts-3P3QZWMU.js → echarts-BGBPRGR5.js} +2 -2
  86. package/dist/bundle/{embed-Q6Q5IOJQ.js → embed-J3IBVV2V.js} +9 -9
  87. package/dist/bundle/{embedder-D44JDTAA.js → embedder-QFPMDRT2.js} +12 -12
  88. package/dist/bundle/entry-YQSYER66.js +22 -0
  89. package/dist/bundle/{failure-GRMMSDCZ.js → failure-BKOGBMIC.js} +4 -4
  90. package/dist/bundle/first-run-ZIFPVZAI.js +30 -0
  91. package/dist/bundle/first-screen-L5U26EY7.js +37 -0
  92. package/dist/bundle/{google-6ZZDKFBN.js → google-RXM2XEPD.js} +13 -13
  93. package/dist/bundle/{google-api-E6MOJ4ZD.js → google-api-NC65BZO4.js} +83 -64
  94. package/dist/bundle/grants-SEWUYYH3.js +105 -0
  95. package/dist/bundle/{identity-TID7S5NE.js → identity-PI6F2GWA.js} +6 -6
  96. package/dist/bundle/{instructions-ANJN4HV3.js → instructions-6LPDSKAD.js} +1 -1
  97. package/dist/bundle/{login-BGMK2ABH.js → login-HTY7GT2S.js} +64 -64
  98. package/dist/bundle/{mcp-WBHKX5E3.js → mcp-PPVOM4SE.js} +2 -2
  99. package/dist/bundle/{node-VOB45ES2.js → node-IB246NCQ.js} +2 -2
  100. package/dist/bundle/{node-sqlite-TSX6XQY2.js → node-sqlite-G2Y5SFJM.js} +9 -9
  101. package/dist/bundle/oauth-MWBKBI4T.js +22 -0
  102. package/dist/bundle/{open-3USWHGNR.js → open-WD4GFSJD.js} +8 -8
  103. package/dist/bundle/{openai-YZ5VGPIP.js → openai-QVM4PMY7.js} +17 -17
  104. package/dist/bundle/{process-44JS2W7L.js → process-SWPJGPQC.js} +1 -1
  105. package/dist/bundle/{program-TZLAFKJV.js → program-WHYFAMXR.js} +117 -98
  106. package/dist/bundle/prompt-OVYCGZB7.js +17 -0
  107. package/dist/bundle/{reasons-ZK3U3CIN.js → reasons-Q34DQWB6.js} +5 -5
  108. package/dist/bundle/{recognize-OFW7HWTM.js → recognize-DM3YWHSE.js} +7 -7
  109. package/dist/bundle/{remote-YBDRZQZ5.js → remote-KXVWRK7J.js} +10 -10
  110. package/dist/bundle/{rerank-TQQNS5FJ.js → rerank-TINXM3MY.js} +10 -10
  111. package/dist/bundle/{serve-OPZXMVLH.js → serve-IY2WL656.js} +12 -12
  112. package/dist/bundle/server-EMWVVT2C.js +70 -0
  113. package/dist/bundle/{server-2D6DDIK5.js → server-VPY3OWPC.js} +44 -44
  114. package/dist/bundle/{services-34WKT3NN.js → services-PXNBOCOC.js} +32 -32
  115. package/dist/bundle/{sqlite-runtime-WPUMKLUV.js → sqlite-runtime-5ZK2CV7Y.js} +9 -9
  116. package/dist/bundle/{start-ZXUJZ4JV.js → start-LDVCN3DK.js} +7 -7
  117. package/dist/bundle/{state-AV2RB3AQ.js → state-3MKTT3VS.js} +9 -9
  118. package/dist/bundle/{store-3M7N2Q5T.js → store-4VQOT5IJ.js} +18 -18
  119. package/dist/bundle/{store-YKV4GAMS.js → store-7M4MSUJV.js} +20 -20
  120. package/dist/bundle/store-maintenance-command-NRATYBWD.js +60 -0
  121. package/dist/bundle/tokens-XUKLM3SL.js +103 -0
  122. package/dist/commands/config.js +1 -1
  123. package/dist/commands/config.js.map +1 -1
  124. package/dist/commands/session.d.ts.map +1 -1
  125. package/dist/commands/session.js +10 -2
  126. package/dist/commands/session.js.map +1 -1
  127. package/dist/config.d.ts +16 -5
  128. package/dist/config.d.ts.map +1 -1
  129. package/dist/config.js +11 -17
  130. package/dist/config.js.map +1 -1
  131. package/dist/download.d.ts +3 -2
  132. package/dist/download.d.ts.map +1 -1
  133. package/dist/download.js +21 -9
  134. package/dist/download.js.map +1 -1
  135. package/dist/google-api.d.ts +3 -1
  136. package/dist/google-api.d.ts.map +1 -1
  137. package/dist/google-api.js +27 -7
  138. package/dist/google-api.js.map +1 -1
  139. package/dist/login.js +1 -1
  140. package/dist/login.js.map +1 -1
  141. package/dist/program.d.ts.map +1 -1
  142. package/dist/program.js +6 -6
  143. package/dist/program.js.map +1 -1
  144. package/dist/version.d.ts +1 -1
  145. package/dist/version.js +1 -1
  146. package/package.json +3 -3
  147. package/dist/bundle/chunk-77YTRBL6.js +0 -249
  148. package/dist/bundle/command-contract-NUIWUVYB.js +0 -39
  149. package/dist/bundle/entry-ZHCNI7XO.js +0 -22
  150. package/dist/bundle/first-run-3DC2SDWM.js +0 -30
  151. package/dist/bundle/first-screen-YJF4YODC.js +0 -37
  152. package/dist/bundle/grants-GWXDH5GM.js +0 -105
  153. package/dist/bundle/oauth-CEOYXW6C.js +0 -22
  154. package/dist/bundle/prompt-SG7LAOXW.js +0 -17
  155. package/dist/bundle/server-R6G2O772.js +0 -70
  156. package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +0 -60
  157. package/dist/bundle/tokens-F63RXXEF.js +0 -103
  158. package/dist/oauth-application.d.ts +0 -5
  159. package/dist/oauth-application.d.ts.map +0 -1
  160. package/dist/oauth-application.js +0 -9
  161. package/dist/oauth-application.js.map +0 -1
  162. /package/dist/bundle/{chunk-LK2E2ELG.js → chunk-LU3WKZBA.js} +0 -0
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-YGG7UA3C.js";
5
+ } from "./chunk-J5UDQD5S.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EBLA7GXY.js";
8
+ } from "./chunk-WZ5XK74U.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseLacking
5
- } from "./chunk-VRW6ZDTH.js";
5
+ } from "./chunk-2RJA4BQB.js";
6
6
  import {
7
7
  asFirstWord,
8
8
  baseContext,
@@ -13,17 +13,17 @@ import {
13
13
  recalledAccount,
14
14
  rememberAccount,
15
15
  rootOf2 as rootOf
16
- } from "./chunk-73TTP6ET.js";
16
+ } from "./chunk-JVBLXSAA.js";
17
17
  import {
18
18
  providerErrorKey
19
- } from "./chunk-GD6TQ6U4.js";
19
+ } from "./chunk-BF6TQMNB.js";
20
20
  import {
21
21
  MESSENGER_CHANGE_REFUSAL,
22
22
  readOnlyRefusal
23
- } from "./chunk-4XZXH2NM.js";
23
+ } from "./chunk-ECEYAQGN.js";
24
24
  import {
25
25
  servingProfiles
26
- } from "./chunk-FTZNUZO7.js";
26
+ } from "./chunk-Q4XVBKX4.js";
27
27
  import {
28
28
  OFFLINE,
29
29
  capability,
@@ -36,7 +36,7 @@ import {
36
36
  profilesOnAccount,
37
37
  servicesFor,
38
38
  throughWrapper
39
- } from "./chunk-JGUJJNGZ.js";
39
+ } from "./chunk-XYCCGGKN.js";
40
40
  import {
41
41
  AUTHORITY_KEY,
42
42
  CEILING_KEY,
@@ -54,27 +54,27 @@ import {
54
54
  logAttributes,
55
55
  readKeysForCommand,
56
56
  skipFlagFor
57
- } from "./chunk-HFGR33KD.js";
57
+ } from "./chunk-6DN4VPA7.js";
58
58
  import {
59
59
  isCliFailure
60
- } from "./chunk-YDN2RH5S.js";
60
+ } from "./chunk-BCWUDTYQ.js";
61
61
  import {
62
62
  openStore
63
- } from "./chunk-PPL5ASW2.js";
63
+ } from "./chunk-3UPIJ7DW.js";
64
64
  import {
65
65
  logRecordOf,
66
66
  realSleep,
67
67
  resolvePaths,
68
68
  writeSecurely
69
- } from "./chunk-246P2DCT.js";
69
+ } from "./chunk-DCBFNBEB.js";
70
70
  import {
71
71
  CliError
72
- } from "./chunk-EBLA7GXY.js";
72
+ } from "./chunk-WZ5XK74U.js";
73
73
  import {
74
74
  __name
75
75
  } from "./chunk-ZVVMGPBJ.js";
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
78
78
  import { openSync } from "node:fs";
79
79
  import { createInterface } from "node:readline";
80
80
  import { ReadStream } from "node:tty";
@@ -129,10 +129,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
129
129
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
130
130
  }, "terminalAsker");
131
131
 
132
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/guard.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guard.js
133
133
  import { randomUUID } from "node:crypto";
134
134
 
135
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/flood.js
135
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/flood.js
136
136
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
137
137
  import { dirname, join } from "node:path";
138
138
  var MOST_DEADLINES = 50;
@@ -216,11 +216,11 @@ var FloodMemory = class {
216
216
  }
217
217
  };
218
218
 
219
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/journal.js
219
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/journal.js
220
220
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
221
221
  import { dirname as dirname3, join as join2 } from "node:path";
222
222
 
223
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
223
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
224
224
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
225
225
  import { dirname as dirname2 } from "node:path";
226
226
  var LOCK_WAIT_MS = 5e3;
@@ -287,7 +287,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
287
287
  }
288
288
  }, "lockTime");
289
289
 
290
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/journal.js
290
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/journal.js
291
291
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
292
292
  var SendJournal = class {
293
293
  static {
@@ -364,7 +364,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
364
364
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
365
365
  }, "withSendId");
366
366
 
367
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/recipients.js
367
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/recipients.js
368
368
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
369
369
  import { join as join3 } from "node:path";
370
370
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -476,7 +476,7 @@ var RecipientList = class {
476
476
  }
477
477
  };
478
478
 
479
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/guard.js
479
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guard.js
480
480
  var HOUR_MS = 60 * 60 * 1e3;
481
481
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
482
482
  "attachments.extract",
@@ -669,7 +669,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
669
669
  }), "guardFor");
670
670
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
671
671
 
672
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/pace.js
672
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/pace.js
673
673
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
674
674
  import { join as join4 } from "node:path";
675
675
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -728,7 +728,7 @@ var Pacer = class {
728
728
  }
729
729
  };
730
730
 
731
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
731
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
732
732
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
733
733
  "help",
734
734
  "guide",
@@ -808,7 +808,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
808
808
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
809
809
  }, "refuseUnknownPermissionKeys");
810
810
 
811
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
811
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
812
812
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
813
813
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
814
814
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -927,7 +927,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
927
927
  });
928
928
  }, "flooded");
929
929
 
930
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
930
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
931
931
  var observed = /* @__PURE__ */ __name((messenger, events) => {
932
932
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
933
933
  const write = currentOperation();
@@ -1026,7 +1026,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1026
1026
  counts[part] = (counts[part] ?? 0) + items.length;
1027
1027
  }, "byPart");
1028
1028
 
1029
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1029
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1030
1030
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1031
1031
  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" }) => {
1032
1032
  let warned = false;
@@ -1602,7 +1602,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1602
1602
  }
1603
1603
  }, "keep");
1604
1604
 
1605
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1605
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1606
1606
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1607
1607
  let opened;
1608
1608
  return {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -5,28 +5,28 @@ import {
5
5
  readSetupAnswers,
6
6
  unanswered,
7
7
  writeSetupAnswers
8
- } from "./chunk-D6WIWOQC.js";
8
+ } from "./chunk-XGMDWIUP.js";
9
9
  import {
10
10
  updateCommand
11
- } from "./chunk-CKGHRWVR.js";
11
+ } from "./chunk-E5EXJ2XS.js";
12
12
  import {
13
13
  DEFAULT_STEMMERS,
14
14
  LANGUAGES
15
- } from "./chunk-MVNPE5FZ.js";
15
+ } from "./chunk-CACYL36O.js";
16
16
  import {
17
17
  sharedConfigPath
18
- } from "./chunk-77C5XRH3.js";
18
+ } from "./chunk-X2CXW4HM.js";
19
19
  import {
20
20
  storePath
21
- } from "./chunk-KEXTTZJM.js";
21
+ } from "./chunk-I26VL4W7.js";
22
22
  import {
23
23
  installerOf
24
- } from "./chunk-2AXA5SKP.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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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-3M7N2Q5T.js");
87
+ const { openStore } = await import("./store-4VQOT5IJ.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-3USWHGNR.js"),
117
- import("./store-maintenance-command-WDXNY4ZF.js")
116
+ import("./open-WD4GFSJD.js"),
117
+ import("./store-maintenance-command-NRATYBWD.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-YJF4YODC.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-L5U26EY7.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-SG7LAOXW.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-OVYCGZB7.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -3,28 +3,28 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  filesPresent,
5
5
  sharedModelsDirectory
6
- } from "./chunk-ALWTUDZF.js";
6
+ } from "./chunk-XLFJLZJL.js";
7
7
  import {
8
8
  count,
9
9
  id,
10
10
  text,
11
11
  time
12
- } from "./chunk-YYHKVOVK.js";
12
+ } from "./chunk-W767AUNR.js";
13
13
  import {
14
14
  PRIORITY_LABELS,
15
15
  TAG_TYPES,
16
16
  TASK_ORIGINS,
17
17
  TASK_STATES,
18
18
  TASK_TYPES
19
- } from "./chunk-N7S2UPF3.js";
19
+ } from "./chunk-K7LS3NGM.js";
20
20
  import {
21
21
  createRecordLog,
22
22
  resolvePaths,
23
23
  writeSecurely
24
- } from "./chunk-246P2DCT.js";
24
+ } from "./chunk-DCBFNBEB.js";
25
25
  import {
26
26
  traceIdOf
27
- } from "./chunk-FO4TCH6P.js";
27
+ } from "./chunk-OFFA54TW.js";
28
28
  import {
29
29
  array,
30
30
  boolean,
@@ -34,26 +34,26 @@ import {
34
34
  picklist,
35
35
  reference,
36
36
  strictObject
37
- } from "./chunk-TKW4QWCY.js";
37
+ } from "./chunk-VYXVPYA3.js";
38
38
  import {
39
39
  CliError,
40
40
  isCliError
41
- } from "./chunk-EBLA7GXY.js";
41
+ } from "./chunk-WZ5XK74U.js";
42
42
  import {
43
43
  __name
44
44
  } from "./chunk-ZVVMGPBJ.js";
45
45
 
46
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/runs/scope.js
46
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/scope.js
47
47
  import { AsyncLocalStorage } from "node:async_hooks";
48
48
  import { randomBytes } from "node:crypto";
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/runs/run.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/run.js
51
51
  import { randomUUID } from "node:crypto";
52
52
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
53
53
  import { userInfo } from "node:os";
54
54
  import { join, sep } from "node:path";
55
55
 
56
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
56
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
57
57
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
58
58
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
59
59
  var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
@@ -66,7 +66,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
66
66
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
67
67
  }), "snakeLogger");
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
70
70
  var diagnostic = {
71
71
  event: true,
72
72
  operation: true,
@@ -136,7 +136,7 @@ var LOG_ATTRIBUTES = [
136
136
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
137
137
  ].sort();
138
138
 
139
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/runs/run.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/run.js
140
140
  var KEEP_RUNS_FOR_DAYS = 30;
141
141
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
142
142
  var RUNS_SIZE_LIMIT_MB = 200;
@@ -489,7 +489,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
489
489
  };
490
490
  }, "metadataOf");
491
491
 
492
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/runs/scope.js
492
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/runs/scope.js
493
493
  var scopes = new AsyncLocalStorage();
494
494
  var processScope;
495
495
  var currentRun = /* @__PURE__ */ __name(() => {
@@ -525,7 +525,7 @@ var attempts = new AsyncLocalStorage();
525
525
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
526
526
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
527
527
 
528
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/domain/duration.js
528
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/domain/duration.js
529
529
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
530
530
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
531
531
  var parseDuration = /* @__PURE__ */ __name((value, source) => {
@@ -539,7 +539,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
539
539
  return ms;
540
540
  }, "parseDuration");
541
541
 
542
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/permissions.js
542
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/permissions.js
543
543
  var LEVELS = ["deny", "readonly", "ask", "allow"];
544
544
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
545
545
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -935,7 +935,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
935
935
  }
936
936
  }, "assertRetentionEvidenceRead");
937
937
 
938
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/sends/guarded.js
938
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/sends/guarded.js
939
939
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
940
940
  var sentIds = /* @__PURE__ */ __name((typed, message) => ({
941
941
  messageId: message.id,
@@ -1041,7 +1041,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
1041
1041
  }, "guardedWrite");
1042
1042
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
1043
1043
 
1044
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/embeddings/models.js
1044
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/embeddings/models.js
1045
1045
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
1046
1046
  var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
1047
1047
  var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
@@ -1200,7 +1200,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
1200
1200
  var vectorModelKey = /* @__PURE__ */ __name((model) => `local:${model.id}:${model.dims}`, "vectorModelKey");
1201
1201
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
1202
1202
 
1203
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/services/history-limits.js
1203
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/services/history-limits.js
1204
1204
  var HISTORY_MAX_DAYS = 1095;
1205
1205
  var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
1206
1206
  var DAY_MS2 = 24 * 60 * 60 * 1e3;
@@ -1247,7 +1247,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
1247
1247
  return { batch: { ...batch, messages }, skipped };
1248
1248
  }, "limitBatch");
1249
1249
 
1250
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/task.js
1250
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/task.js
1251
1251
  var closeSuggestion = strictObject({
1252
1252
  as: picklist(["done", "dismissed"]),
1253
1253
  /** The agent's name. */
@@ -1305,7 +1305,7 @@ var task = strictObject({
1305
1305
  updated_at: optional(time)
1306
1306
  });
1307
1307
 
1308
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/agenda.js
1308
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/agenda.js
1309
1309
  var agendaChat = strictObject({
1310
1310
  chat: reference,
1311
1311
  title: nullable(text),
@@ -1375,7 +1375,7 @@ var agenda = strictObject({
1375
1375
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
1376
1376
  });
1377
1377
 
1378
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/attachment.js
1378
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/attachment.js
1379
1379
  var attachment = strictObject({
1380
1380
  /** The message it came with, as a locator; absent inside that message. */
1381
1381
  message: optional(reference),
@@ -1413,7 +1413,7 @@ var attachment = strictObject({
1413
1413
  });
1414
1414
  var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
1415
1415
 
1416
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/conversation.js
1416
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/conversation.js
1417
1417
  var conversation = strictObject({
1418
1418
  id,
1419
1419
  chat: reference,
@@ -1428,7 +1428,7 @@ var conversation = strictObject({
1428
1428
  rules_version: count
1429
1429
  });
1430
1430
 
1431
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/tagging.js
1431
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/entities/tagging.js
1432
1432
  var tagging = strictObject({
1433
1433
  tag: text,
1434
1434
  type: picklist(TAG_TYPES),
@@ -1441,7 +1441,7 @@ var tagging = strictObject({
1441
1441
  created_at: time
1442
1442
  });
1443
1443
 
1444
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/images/picture/models.js
1444
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/images/picture/models.js
1445
1445
  import { join as join2 } from "node:path";
1446
1446
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
1447
1447
  var IMAGE_MODELS = [
@@ -1495,7 +1495,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
1495
1495
  var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
1496
1496
  var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
1497
1497
 
1498
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1498
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1499
1499
  var WEIGHTS = {
1500
1500
  bot: 3,
1501
1501
  scam: 3,
@@ -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.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.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/sanitize.js
8
8
  var CONTROL = (
9
9
  // biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
10
10
  /[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
@@ -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-UVYVIHEA.js";
5
+ } from "./chunk-HGOYQUT7.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EBLA7GXY.js";
8
+ } from "./chunk-WZ5XK74U.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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-T7Y3JFFD.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-MTZY36QK.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-TSX6XQY2.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-G2Y5SFJM.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -6,13 +6,13 @@ import {
6
6
  describeProgram,
7
7
  flatten,
8
8
  profileFree
9
- } from "./chunk-73TTP6ET.js";
9
+ } from "./chunk-JVBLXSAA.js";
10
10
  import {
11
11
  VERSION
12
- } from "./chunk-XFXRGQXJ.js";
12
+ } from "./chunk-UO2IUDVK.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-EBLA7GXY.js";
15
+ } from "./chunk-WZ5XK74U.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-GD6TQ6U4.js";
32
+ } from "./chunk-BF6TQMNB.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -5,15 +5,15 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EBLA7GXY.js";
8
+ } from "./chunk-WZ5XK74U.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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) => {
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-TKW4QWCY.js";
12
+ } from "./chunk-VYXVPYA3.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-EBLA7GXY.js";
15
+ } from "./chunk-WZ5XK74U.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.566.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_2c70ab84360472ff0036a7904a884c42/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) {