@wirecat/drive-cli 0.72.1 → 0.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/README.md +4 -0
  2. package/contracts/wirecat.json +82 -18
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-ZOHMLVWI.js +46 -0
  5. package/dist/bundle/{all-profiles-PZVP3G73.js → all-profiles-HGQGKCKQ.js} +14 -14
  6. package/dist/bundle/{anthropic-PUOTKSYV.js → anthropic-2L5DN3HF.js} +8 -8
  7. package/dist/bundle/{app-server-MKDCXRZM.js → app-server-TRSOKYYF.js} +79 -79
  8. package/dist/bundle/{bun-NS5YLOQT.js → bun-AFA5HULK.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-KSKWRLLO.js → bun-sqlite-5MW2BWV4.js} +9 -9
  10. package/dist/bundle/{chunk-JHAACT4I.js → chunk-2G24DYSZ.js} +2 -2
  11. package/dist/bundle/{chunk-MDJUYCHT.js → chunk-2MCMUZCE.js} +1 -1
  12. package/dist/bundle/{chunk-FKP4T7A4.js → chunk-2NAMKBBV.js} +31 -23
  13. package/dist/bundle/{chunk-3YCUYFTD.js → chunk-2WAGRBQT.js} +50 -47
  14. package/dist/bundle/{chunk-S3SLDYTU.js → chunk-33RQ3YVC.js} +1 -1
  15. package/dist/bundle/{chunk-54O5NJRC.js → chunk-36256UTA.js} +12 -12
  16. package/dist/bundle/{chunk-ZNFXKFGF.js → chunk-4FTGSEBR.js} +6 -6
  17. package/dist/bundle/{chunk-YRCGFSRR.js → chunk-4KOMZRN6.js} +2 -2
  18. package/dist/bundle/{chunk-HPS2YGSZ.js → chunk-4LLO4USI.js} +1 -1
  19. package/dist/bundle/{chunk-HDGJ7IDE.js → chunk-4VTAPSZE.js} +4 -4
  20. package/dist/bundle/{chunk-QB7K6PIP.js → chunk-4ZP3IK5I.js} +6 -6
  21. package/dist/bundle/{chunk-KVBGIZ2C.js → chunk-5CYWWYIG.js} +6 -1
  22. package/dist/bundle/{chunk-FJQO5OHR.js → chunk-5EZCDENA.js} +61 -35
  23. package/dist/bundle/{chunk-RM4DO2WZ.js → chunk-5R2VPXVT.js} +1 -1
  24. package/dist/bundle/{chunk-2CG3LUQS.js → chunk-5SQHQRNO.js} +4 -4
  25. package/dist/bundle/{chunk-3VIEGRBA.js → chunk-6AVHD6WB.js} +6 -6
  26. package/dist/bundle/{chunk-JSYUB4SM.js → chunk-6EC3LAVC.js} +2 -2
  27. package/dist/bundle/{chunk-SWQDKO6D.js → chunk-6HZKX65K.js} +3 -3
  28. package/dist/bundle/{chunk-YE7DJB3F.js → chunk-6TGZCOYR.js} +3 -3
  29. package/dist/bundle/{chunk-SUQT4KI2.js → chunk-6V5556NF.js} +7 -7
  30. package/dist/bundle/{chunk-R3EDZWXF.js → chunk-6WZLP4CI.js} +5 -5
  31. package/dist/bundle/{chunk-UT64BBEP.js → chunk-77SAHCDZ.js} +4 -4
  32. package/dist/bundle/{chunk-FTL3WXZB.js → chunk-AGATODLO.js} +12 -12
  33. package/dist/bundle/{chunk-IBQZT2YD.js → chunk-B6YBN6VK.js} +1 -1
  34. package/dist/bundle/{chunk-AG34MPVN.js → chunk-BAG4KIN5.js} +1 -1
  35. package/dist/bundle/{chunk-MA7ETVTZ.js → chunk-BAHWXDWN.js} +16 -16
  36. package/dist/bundle/{chunk-2TVHFJKV.js → chunk-BFESDJPU.js} +1 -1
  37. package/dist/bundle/{chunk-SODB63MR.js → chunk-BOHC2GPY.js} +36 -36
  38. package/dist/bundle/{chunk-VHTELRUA.js → chunk-BY5D2LXE.js} +3 -3
  39. package/dist/bundle/{chunk-G7SKXAVZ.js → chunk-CMB6URN7.js} +5 -5
  40. package/dist/bundle/{chunk-HOICQNJX.js → chunk-CY2MNN3I.js} +5 -5
  41. package/dist/bundle/{chunk-G2KKMQRN.js → chunk-DAYHLKTM.js} +2 -2
  42. package/dist/bundle/{chunk-JVM75M4H.js → chunk-DOUFW7RK.js} +3 -3
  43. package/dist/bundle/{chunk-S27UKJVL.js → chunk-DZG5SAO6.js} +14 -14
  44. package/dist/bundle/{chunk-X6HPQKAI.js → chunk-E3UFICXC.js} +33 -29
  45. package/dist/bundle/{chunk-MA6U4XH2.js → chunk-EBGI3Z6U.js} +1 -1
  46. package/dist/bundle/{chunk-DOEP4EPW.js → chunk-EQGVNLUN.js} +42 -42
  47. package/dist/bundle/{chunk-HMN26CVU.js → chunk-F5XMZDR5.js} +2 -2
  48. package/dist/bundle/{chunk-VBIZD5V5.js → chunk-FITKBN46.js} +2 -2
  49. package/dist/bundle/{chunk-6KND2DYT.js → chunk-FRQBKAPV.js} +6 -6
  50. package/dist/bundle/{chunk-IE3R46YN.js → chunk-GW7L2G4I.js} +57 -57
  51. package/dist/bundle/{chunk-MGC2BAD2.js → chunk-HGXFOXSA.js} +1 -1
  52. package/dist/bundle/{chunk-SSFGSY77.js → chunk-HYJEBBFK.js} +489 -317
  53. package/dist/bundle/{chunk-KOI5G7NM.js → chunk-I2KGZ6XQ.js} +6 -6
  54. package/dist/bundle/{chunk-PMAV3RNP.js → chunk-I3DZHZHM.js} +7 -7
  55. package/dist/bundle/{chunk-HSASPXRW.js → chunk-I3MLLVPE.js} +3 -3
  56. package/dist/bundle/{chunk-PUVQOZ2N.js → chunk-IDJKYHVG.js} +2246 -2047
  57. package/dist/bundle/{chunk-EXHTGQR2.js → chunk-IEGU6GG7.js} +1 -1
  58. package/dist/bundle/{chunk-QURQ2OU2.js → chunk-IKW3PRNG.js} +13 -13
  59. package/dist/bundle/{chunk-XZEVHUKI.js → chunk-J3I4WOBI.js} +3 -3
  60. package/dist/bundle/{chunk-B6JC5RS3.js → chunk-JA37PJL4.js} +11 -11
  61. package/dist/bundle/{chunk-3QBRS3JT.js → chunk-JJGKHGBX.js} +8 -8
  62. package/dist/bundle/{chunk-7YPZPJTB.js → chunk-JWNM6FCC.js} +1 -1
  63. package/dist/bundle/{chunk-IPBYU43F.js → chunk-JZYNXTMH.js} +46 -15
  64. package/dist/bundle/{chunk-KPBUJQKT.js → chunk-K34B37AP.js} +1 -1
  65. package/dist/bundle/{chunk-QK7GKFKB.js → chunk-KERX3BQL.js} +4 -4
  66. package/dist/bundle/{chunk-IE6O7463.js → chunk-KV232TIK.js} +4 -4
  67. package/dist/bundle/{chunk-HCMEU7AF.js → chunk-KXETGAU4.js} +8 -8
  68. package/dist/bundle/{chunk-IV77ZFF4.js → chunk-L5ZZ6RLL.js} +2 -2
  69. package/dist/bundle/{chunk-CP2TZXAG.js → chunk-LGRZNEMA.js} +8 -8
  70. package/dist/bundle/{chunk-QMUWHKP5.js → chunk-M3VJTLFM.js} +6 -6
  71. package/dist/bundle/{chunk-JDGF3YYS.js → chunk-MTH76YSQ.js} +418 -404
  72. package/dist/bundle/{chunk-XKWQDQ4B.js → chunk-NA4HEM4Z.js} +3 -3
  73. package/dist/bundle/{chunk-5BHP4FVM.js → chunk-OCZWU2H4.js} +2 -2
  74. package/dist/bundle/{chunk-6JU4KLAZ.js → chunk-OHKAL25R.js} +62 -62
  75. package/dist/bundle/{chunk-BDZXGDGI.js → chunk-P2FOF6RR.js} +3 -3
  76. package/dist/bundle/{chunk-KI6OOW6D.js → chunk-PMYTDTT4.js} +1 -1
  77. package/dist/bundle/{chunk-4DK55MLP.js → chunk-PQSCABAC.js} +10 -10
  78. package/dist/bundle/{chunk-A5XNUMW7.js → chunk-PSFACXOC.js} +2 -2
  79. package/dist/bundle/{chunk-BMTMGMGE.js → chunk-PSWVHX53.js} +1 -1
  80. package/dist/bundle/{chunk-PB6ACIME.js → chunk-Q2L3W7PS.js} +2 -2
  81. package/dist/bundle/{chunk-GTROGY74.js → chunk-QMDVQ4AN.js} +12 -12
  82. package/dist/bundle/{chunk-OBDPKDGB.js → chunk-QZXFWDTX.js} +6 -6
  83. package/dist/bundle/{chunk-GYAPDUF5.js → chunk-R2GLRHNK.js} +5 -5
  84. package/dist/bundle/{chunk-PSY67L73.js → chunk-R6K36FZ7.js} +23 -23
  85. package/dist/bundle/{chunk-SAEBHENE.js → chunk-RHS3OBO5.js} +4 -4
  86. package/dist/bundle/{chunk-LKUWH6KU.js → chunk-RNLLWYPV.js} +1 -1
  87. package/dist/bundle/{chunk-3ZGWJYSG.js → chunk-RX6D64YA.js} +20 -20
  88. package/dist/bundle/{chunk-YJVQ5GST.js → chunk-S7EQIYNF.js} +1 -1
  89. package/dist/bundle/{chunk-UL5HSHFU.js → chunk-SIC2CGYE.js} +4 -4
  90. package/dist/bundle/{chunk-T3OK6AYZ.js → chunk-SNY4WYPH.js} +5 -5
  91. package/dist/bundle/{chunk-TUL6MCTY.js → chunk-SQODI3DH.js} +2 -2
  92. package/dist/bundle/{chunk-IABPGOMT.js → chunk-SRRNRQSQ.js} +2 -2
  93. package/dist/bundle/{chunk-TFIAD57H.js → chunk-SYQKLEP3.js} +4 -4
  94. package/dist/bundle/{chunk-WDJRUNQN.js → chunk-TAQUEQ5B.js} +8 -8
  95. package/dist/bundle/{chunk-GFI3UUIU.js → chunk-TPIGO4JJ.js} +1 -1
  96. package/dist/bundle/{chunk-4P6D6CUS.js → chunk-U5SB2WDG.js} +10 -10
  97. package/dist/bundle/{chunk-G2CH4FRW.js → chunk-UDP7EQNY.js} +4 -4
  98. package/dist/bundle/{chunk-E2TMWONO.js → chunk-UZAOKKGK.js} +753 -494
  99. package/dist/bundle/{chunk-SM7Z2BQF.js → chunk-V5GIK53Z.js} +17 -17
  100. package/dist/bundle/{chunk-3T7JIHSO.js → chunk-VENGEFU4.js} +8 -8
  101. package/dist/bundle/{chunk-E5EYJU5R.js → chunk-VHPNTMJJ.js} +1 -1
  102. package/dist/bundle/{chunk-3CH7I452.js → chunk-VM3IERRK.js} +7 -7
  103. package/dist/bundle/{chunk-B5V2U7IS.js → chunk-VQ7K2EAW.js} +9 -9
  104. package/dist/bundle/{chunk-IS7STZEB.js → chunk-VQC4GYIQ.js} +3 -3
  105. package/dist/bundle/{chunk-X5CXANSA.js → chunk-VZTDELYM.js} +3 -3
  106. package/dist/bundle/{chunk-35GROSBS.js → chunk-W3OKRT6L.js} +179 -135
  107. package/dist/bundle/{chunk-KBR7OC5S.js → chunk-WB46DJSK.js} +2 -2
  108. package/dist/bundle/{chunk-43PCMVTZ.js → chunk-WITO2RZO.js} +1 -1
  109. package/dist/bundle/{chunk-ODTBJGWQ.js → chunk-WJ7E6TPR.js} +17 -17
  110. package/dist/bundle/{chunk-JRED7BNX.js → chunk-WUVNBZWC.js} +191 -160
  111. package/dist/bundle/{chunk-VOQICE3G.js → chunk-ZDYWRT3X.js} +7 -7
  112. package/dist/bundle/{chunk-JZ65CQWK.js → chunk-ZQMURHTL.js} +6 -6
  113. package/dist/bundle/{cli-KXRWXGTS.js → cli-A7MMBLGR.js} +83 -83
  114. package/dist/bundle/command-contract-WCGIIXYM.js +45 -0
  115. package/dist/bundle/{command-server-entry-7FZX74T6.js → command-server-entry-557ZCX63.js} +35 -35
  116. package/dist/bundle/{decode-SZ6W34U3.js → decode-3IPZIY2P.js} +8 -8
  117. package/dist/bundle/{dispatch-4KNSZ3PI.js → dispatch-UWS7A35Q.js} +9 -9
  118. package/dist/bundle/drive.js +11 -11
  119. package/dist/bundle/{echarts-ISH62J4E.js → echarts-JLCV6NKC.js} +2 -2
  120. package/dist/bundle/{embed-6ODGTZPK.js → embed-Q6H3QSMC.js} +9 -9
  121. package/dist/bundle/{embedder-6FY67FTQ.js → embedder-536EI65E.js} +12 -12
  122. package/dist/bundle/entry-3PKJTP5E.js +25 -0
  123. package/dist/bundle/{failure-V3ILKUTX.js → failure-W3VT5D3H.js} +4 -4
  124. package/dist/bundle/first-run-XTLP6VXF.js +31 -0
  125. package/dist/bundle/first-screen-3GQGULPE.js +45 -0
  126. package/dist/bundle/google-MEPVU4EP.js +46 -0
  127. package/dist/bundle/{google-api-ZTI3NKZX.js → google-api-SY25TRXJ.js} +85 -85
  128. package/dist/bundle/grants-77W5MSWQ.js +133 -0
  129. package/dist/bundle/{identity-YX4IPGOO.js → identity-ZBMVHXUY.js} +6 -6
  130. package/dist/bundle/{instructions-G5ZGHVFB.js → instructions-XQOWVU6J.js} +1 -1
  131. package/dist/bundle/{login-CVX5VJX6.js → login-LXXYFMD3.js} +91 -91
  132. package/dist/bundle/{mcp-MQ2L5IIM.js → mcp-VNOYBWW2.js} +2 -2
  133. package/dist/bundle/meeting-combined-NWWZCYN4.js +28 -0
  134. package/dist/bundle/meeting-model-K7UQ7TO5.js +29 -0
  135. package/dist/bundle/{meeting-semantic-OHG2QN2G.js → meeting-semantic-Z7FAOSLQ.js} +10 -10
  136. package/dist/bundle/{node-NLJINXVQ.js → node-MPZ3SVB4.js} +2 -2
  137. package/dist/bundle/{node-sqlite-KDFQDYVZ.js → node-sqlite-VL5BMY34.js} +10 -10
  138. package/dist/bundle/notes-search-MF7QKFQD.js +74 -0
  139. package/dist/bundle/oauth-EYJXUTXZ.js +22 -0
  140. package/dist/bundle/{open-WVRUVBIZ.js → open-SERV3YXC.js} +8 -8
  141. package/dist/bundle/{openai-JJWOSJMV.js → openai-HUXETQVC.js} +20 -20
  142. package/dist/bundle/{process-LPVAYRO7.js → process-RFIII6TW.js} +1 -1
  143. package/dist/bundle/{program-ZJRIP25J.js → program-VQ6IKDBJ.js} +352 -130
  144. package/dist/bundle/{prompt-XCDHTEAO.js → prompt-LCD5ZR7Q.js} +8 -8
  145. package/dist/bundle/{reasons-REEEQDAZ.js → reasons-GDQIXGWT.js} +5 -5
  146. package/dist/bundle/{recognize-OZLFDJAT.js → recognize-GWKRFWHF.js} +7 -7
  147. package/dist/bundle/{remote-MDPYVCZB.js → remote-XM2CRZJY.js} +13 -13
  148. package/dist/bundle/{rerank-FLZWJNHA.js → rerank-HR5J35V6.js} +10 -10
  149. package/dist/bundle/{serve-5UV5VLRV.js → serve-PP3XR3GA.js} +12 -12
  150. package/dist/bundle/{server-53A2X2MK.js → server-DD3DE536.js} +71 -71
  151. package/dist/bundle/server-NB4RGNYM.js +97 -0
  152. package/dist/bundle/{services-XSMH7BXB.js → services-4Y7R425J.js} +62 -58
  153. package/dist/bundle/{sqlite-runtime-E3L7ENFU.js → sqlite-runtime-CVYBPVKO.js} +9 -9
  154. package/dist/bundle/{start-4S2VNR4J.js → start-2KFZDMWM.js} +7 -7
  155. package/dist/bundle/{state-TQI4JSH7.js → state-AUXW4REW.js} +9 -9
  156. package/dist/bundle/{store-VYJPL7MW.js → store-B7X6UN75.js} +28 -28
  157. package/dist/bundle/{store-GS7PU6PJ.js → store-RADARFIH.js} +26 -26
  158. package/dist/bundle/store-maintenance-command-UTZWPNUF.js +85 -0
  159. package/dist/bundle/surface-4MUNDC3D.js +83 -0
  160. package/dist/bundle/tokens-AIKNGAOI.js +133 -0
  161. package/dist/commands/file-edit.d.ts +18 -0
  162. package/dist/commands/file-edit.d.ts.map +1 -0
  163. package/dist/commands/file-edit.js +39 -0
  164. package/dist/commands/file-edit.js.map +1 -0
  165. package/dist/commands/remote.d.ts +4 -0
  166. package/dist/commands/remote.d.ts.map +1 -1
  167. package/dist/commands/remote.js +59 -17
  168. package/dist/commands/remote.js.map +1 -1
  169. package/dist/config.d.ts +2 -0
  170. package/dist/config.d.ts.map +1 -1
  171. package/dist/config.js +17 -1
  172. package/dist/config.js.map +1 -1
  173. package/dist/drive-files.d.ts +26 -0
  174. package/dist/drive-files.d.ts.map +1 -0
  175. package/dist/drive-files.js +127 -0
  176. package/dist/drive-files.js.map +1 -0
  177. package/dist/program.d.ts.map +1 -1
  178. package/dist/program.js +52 -1
  179. package/dist/program.js.map +1 -1
  180. package/dist/reasons.d.ts.map +1 -1
  181. package/dist/reasons.js +5 -0
  182. package/dist/reasons.js.map +1 -1
  183. package/dist/upload.d.ts +3 -1
  184. package/dist/upload.d.ts.map +1 -1
  185. package/dist/upload.js +5 -4
  186. package/dist/upload.js.map +1 -1
  187. package/dist/version.d.ts +1 -1
  188. package/dist/version.js +1 -1
  189. package/package.json +3 -3
  190. package/skills/drive-cli/SKILL.md +4 -0
  191. package/dist/bundle/agent-GOCD4ZW2.js +0 -46
  192. package/dist/bundle/command-contract-BGNT7MTQ.js +0 -45
  193. package/dist/bundle/entry-2SA6ZX7E.js +0 -25
  194. package/dist/bundle/first-run-ZNKPPD6M.js +0 -31
  195. package/dist/bundle/first-screen-WF6GYLPN.js +0 -45
  196. package/dist/bundle/google-QCADNPCQ.js +0 -46
  197. package/dist/bundle/grants-BPN5AGDK.js +0 -133
  198. package/dist/bundle/meeting-combined-HKZJMJ6Q.js +0 -28
  199. package/dist/bundle/meeting-model-DSE4GRVE.js +0 -29
  200. package/dist/bundle/notes-search-3VBVSQ3R.js +0 -70
  201. package/dist/bundle/oauth-M3E62ZHC.js +0 -22
  202. package/dist/bundle/server-5GMURMDE.js +0 -97
  203. package/dist/bundle/store-maintenance-command-JJVYUZMG.js +0 -85
  204. package/dist/bundle/surface-JC4XVMZR.js +0 -83
  205. package/dist/bundle/tokens-KJQ5EAPW.js +0 -133
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-IE3R46YN.js";
5
+ } from "./chunk-GW7L2G4I.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-IBQZT2YD.js";
8
+ } from "./chunk-B6YBN6VK.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -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-IBQZT2YD.js";
5
+ } from "./chunk-B6YBN6VK.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  import { readFileSync } from "node:fs";
12
12
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
13
13
  var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  sharedModel
5
- } from "./chunk-3QBRS3JT.js";
5
+ } from "./chunk-JJGKHGBX.js";
6
6
  import {
7
7
  messengerContext
8
- } from "./chunk-MA7ETVTZ.js";
8
+ } from "./chunk-BAHWXDWN.js";
9
9
  import {
10
10
  chatEventAnswer,
11
11
  memberAnswer,
12
12
  pollVoteAnswer
13
- } from "./chunk-3T7JIHSO.js";
13
+ } from "./chunk-VENGEFU4.js";
14
14
  import {
15
15
  holdLock,
16
16
  lockPath,
@@ -18,10 +18,10 @@ import {
18
18
  releaseLock,
19
19
  servingProfiles,
20
20
  takeLock
21
- } from "./chunk-JVM75M4H.js";
21
+ } from "./chunk-DOUFW7RK.js";
22
22
  import {
23
23
  serveRelay
24
- } from "./chunk-VOQICE3G.js";
24
+ } from "./chunk-ZDYWRT3X.js";
25
25
  import {
26
26
  FETCHING,
27
27
  RULES_VERSION,
@@ -33,25 +33,25 @@ import {
33
33
  refuseLockedOutput,
34
34
  servicesFor,
35
35
  syncsOneChat
36
- } from "./chunk-SSFGSY77.js";
36
+ } from "./chunk-HYJEBBFK.js";
37
37
  import {
38
38
  queryTerms,
39
39
  typedQuery,
40
40
  withQuery
41
- } from "./chunk-S27UKJVL.js";
41
+ } from "./chunk-DZG5SAO6.js";
42
42
  import {
43
43
  onlineDeps,
44
44
  senderIsMe
45
- } from "./chunk-3YCUYFTD.js";
45
+ } from "./chunk-2WAGRBQT.js";
46
46
  import {
47
47
  embeddingKeys,
48
48
  endpointKeyName,
49
49
  modelGateway,
50
50
  withTimeLimit
51
- } from "./chunk-QURQ2OU2.js";
51
+ } from "./chunk-IKW3PRNG.js";
52
52
  import {
53
53
  capability
54
- } from "./chunk-G2KKMQRN.js";
54
+ } from "./chunk-DAYHLKTM.js";
55
55
  import {
56
56
  stringWidth,
57
57
  wrapAnsi
@@ -63,7 +63,7 @@ import {
63
63
  lossUnknown,
64
64
  storeDamageReport,
65
65
  storeHealth
66
- } from "./chunk-ODTBJGWQ.js";
66
+ } from "./chunk-WJ7E6TPR.js";
67
67
  import {
68
68
  Command,
69
69
  LOCAL_READ,
@@ -89,19 +89,19 @@ import {
89
89
  snakeKeys,
90
90
  storeTable,
91
91
  withoutProviderRefs
92
- } from "./chunk-JRED7BNX.js";
92
+ } from "./chunk-WUVNBZWC.js";
93
93
  import {
94
94
  holdersOf
95
- } from "./chunk-MGC2BAD2.js";
95
+ } from "./chunk-HGXFOXSA.js";
96
96
  import {
97
97
  codeOf
98
- } from "./chunk-QK7GKFKB.js";
98
+ } from "./chunk-KERX3BQL.js";
99
99
  import {
100
100
  modelTarget
101
- } from "./chunk-HOICQNJX.js";
101
+ } from "./chunk-CY2MNN3I.js";
102
102
  import {
103
103
  readSecret
104
- } from "./chunk-SWQDKO6D.js";
104
+ } from "./chunk-6HZKX65K.js";
105
105
  import {
106
106
  CORPORA,
107
107
  MIGRATIONS,
@@ -139,39 +139,39 @@ import {
139
139
  storeClients,
140
140
  storeContents,
141
141
  vectorIndexCounts
142
- } from "./chunk-E2TMWONO.js";
142
+ } from "./chunk-UZAOKKGK.js";
143
143
  import {
144
144
  openCache
145
- } from "./chunk-QMUWHKP5.js";
145
+ } from "./chunk-M3VJTLFM.js";
146
146
  import {
147
147
  readDamageMark,
148
148
  readHealthMark,
149
149
  readJournalMark,
150
150
  recordDeepCheck
151
- } from "./chunk-PSY67L73.js";
151
+ } from "./chunk-R6K36FZ7.js";
152
152
  import {
153
153
  currentRun,
154
154
  formatLocator,
155
155
  parseLocator
156
- } from "./chunk-FKP4T7A4.js";
156
+ } from "./chunk-2NAMKBBV.js";
157
157
  import {
158
158
  failureKey,
159
159
  isStoreDamage
160
- } from "./chunk-VBIZD5V5.js";
160
+ } from "./chunk-FITKBN46.js";
161
161
  import {
162
162
  queryFieldsOf
163
- } from "./chunk-4DK55MLP.js";
163
+ } from "./chunk-PQSCABAC.js";
164
164
  import {
165
165
  storePath
166
- } from "./chunk-HMN26CVU.js";
166
+ } from "./chunk-F5XMZDR5.js";
167
167
  import {
168
168
  resolvePaths,
169
169
  writeSecurely
170
- } from "./chunk-3ZGWJYSG.js";
170
+ } from "./chunk-RX6D64YA.js";
171
171
  import {
172
172
  singleLine,
173
173
  visibleControls
174
- } from "./chunk-MDJUYCHT.js";
174
+ } from "./chunk-2MCMUZCE.js";
175
175
  import {
176
176
  array,
177
177
  boolean,
@@ -192,10 +192,10 @@ import {
192
192
  string,
193
193
  transform,
194
194
  trim
195
- } from "./chunk-OBDPKDGB.js";
195
+ } from "./chunk-QZXFWDTX.js";
196
196
  import {
197
197
  CliError
198
- } from "./chunk-IBQZT2YD.js";
198
+ } from "./chunk-B6YBN6VK.js";
199
199
  import {
200
200
  __commonJS,
201
201
  __name,
@@ -5535,11 +5535,11 @@ var require_liquid_node = __commonJS({
5535
5535
  }
5536
5536
  });
5537
5537
 
5538
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5538
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5539
5539
  import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
5540
5540
  import { dirname as dirname3, resolve } from "node:path";
5541
5541
 
5542
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/sealed.js
5542
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/sealed.js
5543
5543
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5544
5544
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5545
5545
  import { Transform } from "node:stream";
@@ -5646,7 +5646,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5646
5646
  renameSync(pending, to);
5647
5647
  }, "unsealFile");
5648
5648
 
5649
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5649
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5650
5650
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5651
5651
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5652
5652
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5670,7 +5670,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5670
5670
  };
5671
5671
  }, "compatibilityOf");
5672
5672
 
5673
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/repair.js
5673
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/store/repair.js
5674
5674
  import { createHash as createHash2 } from "node:crypto";
5675
5675
  var COPY_MARK = "__repair_";
5676
5676
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5924,19 +5924,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5924
5924
  return found;
5925
5925
  }, "deleteCopy");
5926
5926
 
5927
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5927
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5928
5928
  import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
5929
5929
 
5930
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5930
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
5931
5931
  import { existsSync as existsSync3 } from "node:fs";
5932
5932
 
5933
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/recover.js
5933
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/store/recover.js
5934
5934
  import { execFileSync, spawn } from "node:child_process";
5935
5935
  import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
5936
5936
  import { basename, dirname, join } from "node:path";
5937
5937
  import { Transform as Transform2 } from "node:stream";
5938
5938
 
5939
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/refill.js
5939
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/store/refill.js
5940
5940
  var REFILL_MARGIN_MS = 864e5;
5941
5941
  var TIME_KEYS = 1e12;
5942
5942
  var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
@@ -6016,7 +6016,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
6016
6016
  return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
6017
6017
  }, "forgetMail");
6018
6018
 
6019
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/recover.js
6019
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/store/recover.js
6020
6020
  var SQLITE3_MINIMUM = [3, 43, 0];
6021
6021
  var STORE_PARTS = ["", "-wal", "-shm"];
6022
6022
  var RECOVER_LOCK = ".recover-lock";
@@ -6547,7 +6547,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
6547
6547
  }
6548
6548
  }, "recoverLocked");
6549
6549
 
6550
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6550
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
6551
6551
  var COUNTED = [
6552
6552
  "accounts",
6553
6553
  "chats",
@@ -6703,7 +6703,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
6703
6703
  return recover;
6704
6704
  }, "storeRecoverCommand");
6705
6705
 
6706
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6706
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/store-info.js
6707
6707
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
6708
6708
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
6709
6709
  var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
@@ -6753,7 +6753,7 @@ var sharedStoreCommand = /* @__PURE__ */ __name((app) => {
6753
6753
  return app ? store.addCommand(storeRecoverCommand(app)) : store;
6754
6754
  }, "sharedStoreCommand");
6755
6755
 
6756
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6756
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
6757
6757
  var ENCRYPT_OPTION = [
6758
6758
  "--encrypt",
6759
6759
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -6772,7 +6772,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
6772
6772
  return password;
6773
6773
  }, "passwordOf");
6774
6774
 
6775
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/rules.js
6775
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/rules.js
6776
6776
  import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
6777
6777
  import { join as join2 } from "node:path";
6778
6778
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6943,7 +6943,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6943
6943
  }, "problem");
6944
6944
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6945
6945
 
6946
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/state.js
6946
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/state.js
6947
6947
  import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
6948
6948
  import { join as join3 } from "node:path";
6949
6949
  var ANSWERED_KEPT = 1e3;
@@ -6996,7 +6996,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6996
6996
  }, "recordReply");
6997
6997
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6998
6998
 
6999
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/decide.js
6999
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/decide.js
7000
7000
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
7001
7001
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
7002
7002
  const { message, chat, owner, sender } = incoming;
@@ -7102,10 +7102,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
7102
7102
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
7103
7103
  }, "filled");
7104
7104
 
7105
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/template.js
7105
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/template.js
7106
7106
  var import_liquidjs2 = __toESM(require_liquid_node(), 1);
7107
7107
 
7108
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/render/liquid.js
7108
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/render/liquid.js
7109
7109
  var import_liquidjs = __toESM(require_liquid_node(), 1);
7110
7110
  var safeLiquid = /* @__PURE__ */ __name((limits) => {
7111
7111
  const engine = new import_liquidjs.Liquid({
@@ -7132,7 +7132,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
7132
7132
  return engine;
7133
7133
  }, "safeLiquid");
7134
7134
 
7135
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/template.js
7135
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/template.js
7136
7136
  var TEMPLATE_LIMITS = {
7137
7137
  parse: 32768,
7138
7138
  renders: 2e3,
@@ -7271,7 +7271,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
7271
7271
  }
7272
7272
  }, "renderReplyTemplate");
7273
7273
 
7274
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7274
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
7275
7275
  var DRY_RUN_DAYS = 7;
7276
7276
  var PAGE = 500;
7277
7277
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -7385,7 +7385,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
7385
7385
  }
7386
7386
  }, "storedSince");
7387
7387
 
7388
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/models/purpose.js
7388
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/models/purpose.js
7389
7389
  var HOSTED = {
7390
7390
  openai: "https://api.openai.com/v1",
7391
7391
  anthropic: "https://api.anthropic.com"
@@ -7406,7 +7406,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
7406
7406
  return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
7407
7407
  }, "purposeModel");
7408
7408
 
7409
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/consents.js
7409
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/consents.js
7410
7410
  import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
7411
7411
  import { join as join4 } from "node:path";
7412
7412
  var shape = strictObject({
@@ -7431,7 +7431,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
7431
7431
  return consent.provider === provider && !consent.deniedChats.includes(chat);
7432
7432
  }, "mayModelReply");
7433
7433
 
7434
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7434
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/rendering.js
7435
7435
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
7436
7436
  ai: true
7437
7437
  }) => async (rule2, message, chat, now) => {
@@ -7479,7 +7479,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
7479
7479
  return result2;
7480
7480
  }, "replyRenderer");
7481
7481
 
7482
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/replies/serve.js
7482
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/replies/serve.js
7483
7483
  var NOT_ALLOWED = "replies.send is not allow";
7484
7484
  var NO_RULES = "no rules";
7485
7485
  var ONLY_TASK = "opened a task, sent nothing";
@@ -7572,7 +7572,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
7572
7572
  return { skip: why };
7573
7573
  }, "replyTo");
7574
7574
 
7575
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7575
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
7576
7576
  var START_SYNC_DELAY_MS = 3e4;
7577
7577
  var START_SYNC_BUDGET_MS = 5 * 6e4;
7578
7578
  var START_SYNC_WINDOW_MS = 7 * 864e5;
@@ -7649,7 +7649,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
7649
7649
  };
7650
7650
  }, "startSync");
7651
7651
 
7652
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7652
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
7653
7653
  var FIRST_FETCH_MS = 6e4;
7654
7654
  var DAY_MS = 864e5;
7655
7655
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -7703,7 +7703,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
7703
7703
  };
7704
7704
  }, "memberFetches");
7705
7705
 
7706
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7706
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
7707
7707
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
7708
7708
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
7709
7709
  if (context.format === "pretty") {
@@ -7736,7 +7736,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
7736
7736
  return context;
7737
7737
  }, "recordDiagnostics");
7738
7738
 
7739
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7739
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
7740
7740
  import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
7741
7741
  import { dirname as dirname2, join as join5 } from "node:path";
7742
7742
  var OUTDATED_CHECK_MS = 6e4;
@@ -7822,7 +7822,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
7822
7822
  };
7823
7823
  }, "watchOutdated");
7824
7824
 
7825
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7825
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
7826
7826
  var STEMS_EVERY_MS = 3e4;
7827
7827
  var STEMS_SLICE_MS = 2e3;
7828
7828
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -7862,7 +7862,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
7862
7862
  };
7863
7863
  }, "stemFills");
7864
7864
 
7865
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/render/messages.js
7865
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/render/messages.js
7866
7866
  import { styleText } from "node:util";
7867
7867
  var TIME_WIDTH = 8;
7868
7868
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -8038,7 +8038,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
8038
8038
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
8039
8039
  }, "editedAt");
8040
8040
 
8041
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8041
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
8042
8042
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
8043
8043
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
8044
8044
  kind: attachment.kind,
@@ -8134,7 +8134,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
8134
8134
  locale: messenger.app.locale
8135
8135
  }), "viewOf");
8136
8136
 
8137
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8137
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
8138
8138
  var observed = /* @__PURE__ */ __name((value) => ({
8139
8139
  value: value.value,
8140
8140
  observed_at: value.observedAt,
@@ -8201,7 +8201,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
8201
8201
  }
8202
8202
  }, "watchEventItem");
8203
8203
 
8204
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8204
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
8205
8205
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
8206
8206
  output: { entity: "watch_item" },
8207
8207
  effects: REMOTE_READ,
@@ -8356,7 +8356,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
8356
8356
  }
8357
8357
  }, "describe");
8358
8358
 
8359
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8359
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
8360
8360
  var CURRENT_EVERY_MS = 6e4;
8361
8361
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
8362
8362
  const command = annotate(new Command("serve"), {
@@ -8656,7 +8656,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
8656
8656
  };
8657
8657
  }, "tasking");
8658
8658
 
8659
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8659
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
8660
8660
  import { existsSync as existsSync9 } from "node:fs";
8661
8661
  var PATH = "store tables list";
8662
8662
  var STORE_TABLES_QUERY = {
@@ -8699,7 +8699,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
8699
8699
  return tables;
8700
8700
  }, "storeTablesCommand");
8701
8701
 
8702
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8702
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
8703
8703
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
8704
8704
  var WORD_INDEX = "message_words";
8705
8705
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  timezoneOf,
5
5
  zonedMoment
6
- } from "./chunk-4DK55MLP.js";
6
+ } from "./chunk-PQSCABAC.js";
7
7
  import {
8
8
  CliError
9
- } from "./chunk-IBQZT2YD.js";
9
+ } from "./chunk-B6YBN6VK.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/moment.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/moment.js
15
15
  var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
16
16
  try {
17
17
  return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
4
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
5
5
  var WIRECAT_TOOLS = [
6
6
  {
7
7
  command: "tg",
@@ -19,16 +19,16 @@ import {
19
19
  reference,
20
20
  string,
21
21
  variant
22
- } from "./chunk-OBDPKDGB.js";
22
+ } from "./chunk-QZXFWDTX.js";
23
23
  import {
24
24
  CliError,
25
25
  isCliError
26
- } from "./chunk-IBQZT2YD.js";
26
+ } from "./chunk-B6YBN6VK.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
31
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
32
32
  var QUERY_LIMITS = {
33
33
  bytes: 8192,
34
34
  depth: 32,
@@ -72,7 +72,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
72
72
  __name(queryError, "queryError");
73
73
  var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
74
74
 
75
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
75
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
76
76
  var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
77
77
  var reserved = /* @__PURE__ */ new Set([
78
78
  "+",
@@ -381,7 +381,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
381
381
  return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
382
382
  }, "implicitTextTerms");
383
383
 
384
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
384
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
385
385
  var timezoneOf = /* @__PURE__ */ __name((given) => {
386
386
  const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
387
387
  try {
@@ -531,7 +531,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
531
531
  };
532
532
  }, "dateRange");
533
533
 
534
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
534
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
535
535
  var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
536
536
  var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
537
537
  var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
@@ -568,7 +568,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
568
568
  return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
569
569
  }, "queryDescription");
570
570
 
571
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
571
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
572
572
  var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
573
573
  var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
574
574
  var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
@@ -623,7 +623,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
623
623
  }, "matches");
624
624
  var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
625
625
 
626
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
626
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
627
627
  var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
628
628
  var OPERATORS_BY_TYPE = {
629
629
  kw: ["term", "phrase", "wildcard"],
@@ -702,7 +702,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
702
702
  return [...own, ...relations, ...states];
703
703
  }, "queryFieldsOf");
704
704
 
705
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
705
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
706
706
  var inContext = /* @__PURE__ */ __name((context, run) => {
707
707
  try {
708
708
  run();
@@ -777,7 +777,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
777
777
  }, "validateQuery");
778
778
  var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
779
779
 
780
- // node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
780
+ // node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
781
781
  var describeQuery = /* @__PURE__ */ __name((registry) => ({
782
782
  entity: registry.entity,
783
783
  backend: registry.backend,
@@ -7,12 +7,12 @@ import {
7
7
  agentOf,
8
8
  clientHash,
9
9
  currentCaller
10
- } from "./chunk-PMAV3RNP.js";
10
+ } from "./chunk-I3DZHZHM.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/mcp/caller.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/mcp/caller.js
16
16
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
17
17
  const client = caller?.agent?.client?.name;
18
18
  if (client && client !== "unknown")
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
8
8
  var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
9
  var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
10