@wirecat/drive-cli 0.68.0 → 0.70.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 (225) hide show
  1. package/contracts/wirecat.json +14 -13
  2. package/dist/age.d.ts +0 -36
  3. package/dist/age.d.ts.map +1 -1
  4. package/dist/age.js +0 -22
  5. package/dist/age.js.map +1 -1
  6. package/dist/bin/drive.js +2 -2
  7. package/dist/bundle/{all-profiles-BU6XUFUP.js → all-profiles-FW3GK3QO.js} +24 -34
  8. package/dist/bundle/{anthropic-ZP5B7S2Z.js → anthropic-QVKJT3II.js} +8 -8
  9. package/dist/bundle/{app-server-EB4DH6T7.js → app-server-QU73RD5R.js} +68 -76
  10. package/dist/bundle/{bun-PWMM6L45.js → bun-5XCD5CBB.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-6VPR2SVC.js → bun-sqlite-TIGSVNSV.js} +9 -9
  12. package/dist/bundle/{chunk-7BXVI7XF.js → chunk-2SBC4DVV.js} +4 -4
  13. package/dist/bundle/{chunk-UFPRP7MG.js → chunk-3AHBZP33.js} +10 -15
  14. package/dist/bundle/{chunk-QRSPFCRY.js → chunk-3CHW7JGR.js} +17 -17
  15. package/dist/bundle/chunk-3TCMANIM.js +387 -0
  16. package/dist/bundle/{chunk-EOC7RHJ2.js → chunk-3UWRAIWA.js} +5 -7
  17. package/dist/bundle/{chunk-5G2BY4B6.js → chunk-3UZ4OH22.js} +32 -31
  18. package/dist/bundle/{chunk-UIKVP23D.js → chunk-4WK26MPY.js} +1 -1
  19. package/dist/bundle/{chunk-WUFZGPXX.js → chunk-54BQWRJL.js} +7 -7
  20. package/dist/bundle/{chunk-EA2OB75T.js → chunk-54NDYVZA.js} +1 -1
  21. package/dist/bundle/{chunk-QKY24RWV.js → chunk-5JTB4URG.js} +12 -12
  22. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-66PL7P4C.js} +1 -1
  23. package/dist/bundle/{chunk-JMZQBRRZ.js → chunk-6BMTW5A6.js} +9 -9
  24. package/dist/bundle/{chunk-CVAJMRRD.js → chunk-6DPOWBKA.js} +6 -6
  25. package/dist/bundle/{chunk-YUGTJBV3.js → chunk-7C5KENNU.js} +3 -3
  26. package/dist/bundle/chunk-7DJNURKV.js +823 -0
  27. package/dist/bundle/{chunk-5TK2YQCO.js → chunk-7IBENBCK.js} +2 -2
  28. package/dist/bundle/chunk-7QSRODXM.js +259 -0
  29. package/dist/bundle/{chunk-HCZYJMBP.js → chunk-ABZ2NYDT.js} +1 -1
  30. package/dist/bundle/chunk-AV5UKJZM.js +729 -0
  31. package/dist/bundle/{chunk-IVOG6T6P.js → chunk-BBFXQPKD.js} +3 -3
  32. package/dist/bundle/{chunk-BXHFJTU5.js → chunk-BBRMDMIR.js} +3 -3
  33. package/dist/bundle/{chunk-DYLYH7VE.js → chunk-BD2K2ONK.js} +4 -4
  34. package/dist/bundle/{chunk-AIEMFRBU.js → chunk-BFKFKDPC.js} +1 -1
  35. package/dist/bundle/{chunk-JZ3MT7IE.js → chunk-BXPC5TFG.js} +2 -2
  36. package/dist/bundle/chunk-DHX27E5M.js +31 -0
  37. package/dist/bundle/{chunk-6QR7NKMG.js → chunk-DR57KDAY.js} +109 -5
  38. package/dist/bundle/{chunk-2VYEGKQ3.js → chunk-DVI72ZQG.js} +1 -1
  39. package/dist/bundle/{chunk-WGX4DZPW.js → chunk-DVVUJ254.js} +2 -2
  40. package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-EDO5LZVF.js} +1 -1
  41. package/dist/bundle/{chunk-QTRYJZL7.js → chunk-EG62WVR2.js} +6 -6
  42. package/dist/bundle/{chunk-WCNTDETD.js → chunk-F5KJWRF5.js} +98 -6
  43. package/dist/bundle/{chunk-D4MVEOU2.js → chunk-FADAOLGB.js} +4 -4
  44. package/dist/bundle/{chunk-FAMXUI2X.js → chunk-FCSHWUMW.js} +5 -5
  45. package/dist/bundle/{chunk-O7T3WGCV.js → chunk-FN3RXBO7.js} +6 -6
  46. package/dist/bundle/{chunk-5W65QTYS.js → chunk-FONIFRYI.js} +4 -4
  47. package/dist/bundle/{chunk-UUQJVKPB.js → chunk-FVTKFIQH.js} +2340 -1436
  48. package/dist/bundle/{chunk-7A77GYCE.js → chunk-FYPW7NMH.js} +4 -4
  49. package/dist/bundle/{chunk-FIVFP53N.js → chunk-GA3URWIF.js} +1 -1
  50. package/dist/bundle/{chunk-GTLXBAJV.js → chunk-GAHIHE4K.js} +3035 -2482
  51. package/dist/bundle/{chunk-CMWFYZ45.js → chunk-GJZSVSV3.js} +2 -2
  52. package/dist/bundle/{chunk-QWGEOQHA.js → chunk-GK3BJMGK.js} +1 -1
  53. package/dist/bundle/{chunk-TI2OANJZ.js → chunk-GPDPEHYX.js} +1 -1
  54. package/dist/bundle/{chunk-KPKIHJIT.js → chunk-GV5DGHSA.js} +4 -4
  55. package/dist/bundle/{chunk-JRFKCYMW.js → chunk-HHAZ6DCY.js} +23 -6
  56. package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-HK225DAG.js} +1 -1
  57. package/dist/bundle/{chunk-MW46BLWH.js → chunk-HRATXUFH.js} +22 -20
  58. package/dist/bundle/{chunk-Z5BMYI2V.js → chunk-HWUPU6WX.js} +8 -8
  59. package/dist/bundle/{chunk-6WAC2LOS.js → chunk-HYXXMSVD.js} +8614 -8597
  60. package/dist/bundle/{chunk-YYIWPH53.js → chunk-I7YSHUPW.js} +13 -13
  61. package/dist/bundle/{chunk-MWCPKUU4.js → chunk-IFTX7AQU.js} +5 -5
  62. package/dist/bundle/{chunk-SOS4U2RF.js → chunk-IGNIUDI3.js} +71 -49
  63. package/dist/bundle/{chunk-7JKECODO.js → chunk-ILAQIBEO.js} +1 -11
  64. package/dist/bundle/{chunk-CK2SQ2CE.js → chunk-KSJAFMU5.js} +78 -31
  65. package/dist/bundle/{chunk-ZSVMZH5O.js → chunk-LINBDWJK.js} +2 -2
  66. package/dist/bundle/{chunk-43NEDPXB.js → chunk-LMJBQFW6.js} +6 -6
  67. package/dist/bundle/{chunk-IJCUAKR5.js → chunk-ML3R2UHV.js} +4 -4
  68. package/dist/bundle/{chunk-PGPHEC2X.js → chunk-MXNQZAJQ.js} +2 -2
  69. package/dist/bundle/{chunk-RT5NT62B.js → chunk-NP7LJATI.js} +16 -70
  70. package/dist/bundle/chunk-OY7TNUEC.js +16 -0
  71. package/dist/bundle/{chunk-74NCZKRW.js → chunk-P77FL6RY.js} +18 -18
  72. package/dist/bundle/chunk-P7PLKNPX.js +3611 -0
  73. package/dist/bundle/{chunk-QVJMFZFW.js → chunk-PAPY6Q6H.js} +1 -1
  74. package/dist/bundle/{chunk-Q6BD6RUH.js → chunk-PN4JYURZ.js} +102 -57
  75. package/dist/bundle/{chunk-MOKEB656.js → chunk-PR7XD2DI.js} +2 -2
  76. package/dist/bundle/{chunk-UPCEHSIZ.js → chunk-Q5C6YKAY.js} +21 -16
  77. package/dist/bundle/{chunk-EXWZCI5G.js → chunk-QBAOIMVB.js} +1 -1
  78. package/dist/bundle/{chunk-ULNN3LCY.js → chunk-RCTOWLCD.js} +44 -37
  79. package/dist/bundle/{chunk-7TNQZKRD.js → chunk-REM5WHHQ.js} +77 -76
  80. package/dist/bundle/{chunk-Y2QVNVHK.js → chunk-RHSBXOQM.js} +1 -1
  81. package/dist/bundle/{chunk-UYBLNGZ2.js → chunk-RLNZ7NX5.js} +2 -2
  82. package/dist/bundle/chunk-RQNRYF6D.js +170 -0
  83. package/dist/bundle/{chunk-PV3AWPHR.js → chunk-SONPLYV7.js} +5 -5
  84. package/dist/bundle/{chunk-CRIEW4FP.js → chunk-T5D4OGDC.js} +2 -2
  85. package/dist/bundle/{chunk-MLSXHTUB.js → chunk-TGS5VPJD.js} +1228 -455
  86. package/dist/bundle/chunk-TNKQDS5A.js +335 -0
  87. package/dist/bundle/{chunk-DU23ET2O.js → chunk-VVN6GHAZ.js} +60 -81
  88. package/dist/bundle/{chunk-PWIEOATY.js → chunk-WJK6KTCS.js} +325 -14
  89. package/dist/bundle/{chunk-U52QE4QV.js → chunk-WWE5GO6G.js} +3 -3
  90. package/dist/bundle/{chunk-6HFZZ2PW.js → chunk-XOL346TJ.js} +2 -2
  91. package/dist/bundle/{chunk-ZAIE3G5I.js → chunk-XZBA6FVH.js} +3 -3
  92. package/dist/bundle/chunk-YCL3SK4T.js +1978 -0
  93. package/dist/bundle/{chunk-DIZBJLPM.js → chunk-YRUR3E3E.js} +68 -78
  94. package/dist/bundle/{chunk-EEE4H2PA.js → chunk-YZPE72GE.js} +12 -12
  95. package/dist/bundle/{chunk-F7KAMSXA.js → chunk-ZCXWV4XO.js} +4 -4
  96. package/dist/bundle/{chunk-NV75QPML.js → chunk-ZHZYGY5R.js} +4 -4
  97. package/dist/bundle/{cli-L7P36YUH.js → cli-K4D4DIGQ.js} +137 -88
  98. package/dist/bundle/command-contract-V3F452QI.js +43 -0
  99. package/dist/bundle/{command-server-entry-H3VGPOLJ.js → command-server-entry-WREK3QBB.js} +33 -31
  100. package/dist/bundle/decode-SEETPKBH.js +299 -0
  101. package/dist/bundle/{dispatch-WBEOHZDV.js → dispatch-SQCEURVK.js} +9 -9
  102. package/dist/bundle/drive.js +11 -11
  103. package/dist/bundle/{echarts-SDZA2SWG.js → echarts-WZ5RKFCX.js} +2 -2
  104. package/dist/bundle/{embed-WUKOASQG.js → embed-B2UCRZZR.js} +9 -9
  105. package/dist/bundle/{embedder-UBRAXRDZ.js → embedder-4R6Z7G7L.js} +12 -12
  106. package/dist/bundle/entry-ORZYRJ5N.js +25 -0
  107. package/dist/bundle/{failure-X6PSLVSO.js → failure-CYNXH3RQ.js} +4 -4
  108. package/dist/bundle/first-run-KAKA6KBY.js +31 -0
  109. package/dist/bundle/first-screen-R645UHRH.js +41 -0
  110. package/dist/bundle/google-BSO3YB7N.js +45 -0
  111. package/dist/bundle/{google-api-SQQ4BSNR.js → google-api-SAND2F7L.js} +70 -63
  112. package/dist/bundle/grants-PLNFYARD.js +118 -0
  113. package/dist/bundle/{identity-SRL6RSU2.js → identity-JVVGS4U6.js} +6 -6
  114. package/dist/bundle/{instructions-7T6JJIFS.js → instructions-JSMTSB22.js} +1 -1
  115. package/dist/bundle/{login-N243GGEE.js → login-6WG3YBDU.js} +78 -71
  116. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-VFIOZDVY.js} +2 -2
  117. package/dist/bundle/meeting-combined-SUKMFK3F.js +27 -0
  118. package/dist/bundle/meeting-model-S4YGKIFI.js +29 -0
  119. package/dist/bundle/meeting-semantic-5U7JQCFF.js +25 -0
  120. package/dist/bundle/{node-BZDMUFTW.js → node-VJMVHOWD.js} +2 -2
  121. package/dist/bundle/{node-sqlite-SZQCCMV2.js → node-sqlite-DCNT3HVE.js} +10 -10
  122. package/dist/bundle/oauth-KCMNQ3ZP.js +22 -0
  123. package/dist/bundle/{open-RVTPKDA3.js → open-NFOEHVW7.js} +8 -8
  124. package/dist/bundle/{openai-6NN63BMH.js → openai-D47WY7EC.js} +32 -30
  125. package/dist/bundle/{process-756VBE7E.js → process-Q2FRU5VA.js} +1 -1
  126. package/dist/bundle/{program-B4QBJYB5.js → program-T2AJJQEM.js} +1327 -1329
  127. package/dist/bundle/{prompt-HGP2DSRW.js → prompt-YJSDABXN.js} +8 -8
  128. package/dist/bundle/{reasons-KSYP5VDJ.js → reasons-WEHPCSJX.js} +5 -5
  129. package/dist/bundle/{recognize-26SHB7HI.js → recognize-6OBEIEB3.js} +7 -7
  130. package/dist/bundle/{remote-Z4PWHZ5N.js → remote-3SL2QJ7T.js} +13 -13
  131. package/dist/bundle/{rerank-QHJZJK3Q.js → rerank-L6F5SLIB.js} +10 -10
  132. package/dist/bundle/{serve-MYJW5IEM.js → serve-GYSWIWH4.js} +12 -12
  133. package/dist/bundle/server-BI46BSRE.js +80 -0
  134. package/dist/bundle/{server-XFW3V7CR.js → server-GWWP3RIT.js} +62 -53
  135. package/dist/bundle/{services-IQG2RVTO.js → services-BDQBRXT5.js} +91 -51
  136. package/dist/bundle/{sqlite-runtime-X4GB5PBV.js → sqlite-runtime-ZSZGAUYB.js} +9 -9
  137. package/dist/bundle/{start-C6EXYXAL.js → start-BJ275RUK.js} +7 -7
  138. package/dist/bundle/{state-ATQK2X3W.js → state-HLNGFI2T.js} +9 -9
  139. package/dist/bundle/{store-QUBUPK6F.js → store-I43KZNJW.js} +35 -26
  140. package/dist/bundle/{store-MEHEUOJH.js → store-OSRTGYGI.js} +23 -19
  141. package/dist/bundle/store-maintenance-command-FO7LEVSL.js +72 -0
  142. package/dist/bundle/tokens-DB7O7QNB.js +118 -0
  143. package/dist/catalog.d.ts +0 -28
  144. package/dist/catalog.d.ts.map +1 -1
  145. package/dist/catalog.js +0 -82
  146. package/dist/catalog.js.map +1 -1
  147. package/dist/commands/catalog.d.ts +3 -8
  148. package/dist/commands/catalog.d.ts.map +1 -1
  149. package/dist/commands/catalog.js +36 -109
  150. package/dist/commands/catalog.js.map +1 -1
  151. package/dist/commands/context.d.ts +3 -0
  152. package/dist/commands/context.d.ts.map +1 -1
  153. package/dist/commands/context.js +20 -0
  154. package/dist/commands/context.js.map +1 -1
  155. package/dist/commands/documents.d.ts.map +1 -1
  156. package/dist/commands/documents.js +30 -72
  157. package/dist/commands/documents.js.map +1 -1
  158. package/dist/commands/folders.d.ts +1 -1
  159. package/dist/commands/folders.d.ts.map +1 -1
  160. package/dist/commands/folders.js +45 -48
  161. package/dist/commands/folders.js.map +1 -1
  162. package/dist/commands/knowledge.d.ts +4 -21
  163. package/dist/commands/knowledge.d.ts.map +1 -1
  164. package/dist/commands/knowledge.js +3 -241
  165. package/dist/commands/knowledge.js.map +1 -1
  166. package/dist/commands/mirrors.d.ts +2 -2
  167. package/dist/commands/mirrors.d.ts.map +1 -1
  168. package/dist/commands/mirrors.js +46 -202
  169. package/dist/commands/mirrors.js.map +1 -1
  170. package/dist/commands/search.d.ts +1 -3
  171. package/dist/commands/search.d.ts.map +1 -1
  172. package/dist/commands/search.js +20 -42
  173. package/dist/commands/search.js.map +1 -1
  174. package/dist/commands/sync.d.ts.map +1 -1
  175. package/dist/commands/sync.js +36 -53
  176. package/dist/commands/sync.js.map +1 -1
  177. package/dist/contract-overrides.d.ts +0 -2
  178. package/dist/contract-overrides.d.ts.map +1 -1
  179. package/dist/contract-overrides.js +0 -317
  180. package/dist/contract-overrides.js.map +1 -1
  181. package/dist/knowledge.d.ts +1 -1
  182. package/dist/knowledge.d.ts.map +1 -1
  183. package/dist/knowledge.js +4 -3
  184. package/dist/knowledge.js.map +1 -1
  185. package/dist/list-queries.d.ts +0 -31
  186. package/dist/list-queries.d.ts.map +1 -1
  187. package/dist/list-queries.js +0 -36
  188. package/dist/list-queries.js.map +1 -1
  189. package/dist/policy.d.ts +1 -1
  190. package/dist/policy.d.ts.map +1 -1
  191. package/dist/policy.js +3 -3
  192. package/dist/policy.js.map +1 -1
  193. package/dist/program.d.ts.map +1 -1
  194. package/dist/program.js +2 -3
  195. package/dist/program.js.map +1 -1
  196. package/dist/provider-json.d.ts.map +1 -1
  197. package/dist/provider-json.js +5 -5
  198. package/dist/provider-json.js.map +1 -1
  199. package/dist/reasons.d.ts.map +1 -1
  200. package/dist/reasons.js +0 -10
  201. package/dist/reasons.js.map +1 -1
  202. package/dist/version.d.ts +1 -1
  203. package/dist/version.js +1 -1
  204. package/package.json +3 -3
  205. package/dist/bundle/chunk-2UHQVRH2.js +0 -1235
  206. package/dist/bundle/chunk-AXYG2DDY.js +0 -4721
  207. package/dist/bundle/chunk-J5LXL435.js +0 -1316
  208. package/dist/bundle/chunk-R5FTCNLJ.js +0 -76
  209. package/dist/bundle/command-contract-EYFGMKIG.js +0 -41
  210. package/dist/bundle/decode-JEU6JWCV.js +0 -165
  211. package/dist/bundle/entry-C4NUQFTF.js +0 -25
  212. package/dist/bundle/first-run-PKHBS7B4.js +0 -30
  213. package/dist/bundle/first-screen-QOVOM4BF.js +0 -39
  214. package/dist/bundle/google-XXHSMTVK.js +0 -45
  215. package/dist/bundle/grants-2U4JVT6O.js +0 -111
  216. package/dist/bundle/oauth-CMAFXX6A.js +0 -22
  217. package/dist/bundle/server-HBZPIHDX.js +0 -74
  218. package/dist/bundle/store-maintenance-command-33ULVDWY.js +0 -65
  219. package/dist/bundle/tokens-A2GP4F34.js +0 -111
  220. package/dist/knowledge-query.d.ts +0 -77
  221. package/dist/knowledge-query.d.ts.map +0 -1
  222. package/dist/knowledge-query.js +0 -104
  223. package/dist/knowledge-query.js.map +0 -1
  224. package/dist/bundle/{chunk-XWBPP2HX.js → chunk-ZI3YTXSF.js} +0 -0
  225. package/dist/bundle/{mdast-util-from-markdown-CE73EWJ2.js → mdast-util-from-markdown-FXEPSNER.js} +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -8,45 +8,45 @@ import {
8
8
  range,
9
9
  systemFor,
10
10
  validateImages
11
- } from "./chunk-F7KAMSXA.js";
11
+ } from "./chunk-ZCXWV4XO.js";
12
12
  import {
13
13
  refuseOffComputer
14
- } from "./chunk-O7T3WGCV.js";
14
+ } from "./chunk-FN3RXBO7.js";
15
15
  import {
16
16
  Unzip,
17
17
  UnzipInflate
18
18
  } from "./chunk-5DPV7X27.js";
19
19
  import {
20
20
  envName
21
- } from "./chunk-MOKEB656.js";
21
+ } from "./chunk-PR7XD2DI.js";
22
22
  import {
23
23
  PLAIN_HTTP_REFUSED,
24
24
  endpoint,
25
25
  endpointFetch,
26
26
  modelAddressAllowed,
27
27
  onThisComputer
28
- } from "./chunk-6QR7NKMG.js";
28
+ } from "./chunk-DR57KDAY.js";
29
29
  import {
30
30
  MAX_FILE_BYTES,
31
31
  MAX_TEXT_CHARS,
32
32
  attachmentMaxBytes
33
- } from "./chunk-BXHFJTU5.js";
33
+ } from "./chunk-BBRMDMIR.js";
34
34
  import {
35
35
  isCliFailure
36
- } from "./chunk-UYBLNGZ2.js";
36
+ } from "./chunk-RLNZ7NX5.js";
37
37
  import {
38
38
  readSharedSection,
39
39
  sharedConfigPath,
40
40
  writeSharedSection
41
- } from "./chunk-PWIEOATY.js";
41
+ } from "./chunk-WJK6KTCS.js";
42
42
  import {
43
43
  storePath
44
- } from "./chunk-CRIEW4FP.js";
44
+ } from "./chunk-T5D4OGDC.js";
45
45
  import {
46
46
  Credentials,
47
47
  pathsAreOverridden,
48
48
  resolvePaths
49
- } from "./chunk-MW46BLWH.js";
49
+ } from "./chunk-HRATXUFH.js";
50
50
  import {
51
51
  importFrom,
52
52
  resolveFrom
@@ -64,11 +64,11 @@ import {
64
64
  strictObject,
65
65
  string,
66
66
  union
67
- } from "./chunk-JRFKCYMW.js";
67
+ } from "./chunk-HHAZ6DCY.js";
68
68
  import {
69
69
  CliError,
70
70
  isCliError
71
- } from "./chunk-EA2OB75T.js";
71
+ } from "./chunk-54NDYVZA.js";
72
72
  import {
73
73
  __commonJS,
74
74
  __name,
@@ -16684,26 +16684,26 @@ var require_lib3 = __commonJS({
16684
16684
  }
16685
16685
  });
16686
16686
 
16687
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16687
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16688
16688
  import { extname as extname2 } from "node:path";
16689
16689
 
16690
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/engine.js
16690
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/engine.js
16691
16691
  import { readFileSync } from "node:fs";
16692
16692
  import { dirname, extname, join } from "node:path";
16693
16693
  import { fileURLToPath } from "node:url";
16694
16694
 
16695
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/container.js
16695
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/container.js
16696
16696
  import { setImmediate as tick } from "node:timers/promises";
16697
16697
  import { crc32 } from "node:zlib";
16698
16698
  var import_xmldom = __toESM(require_lib(), 1);
16699
16699
 
16700
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16700
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16701
16701
  var import_chardet = __toESM(require_lib2(), 1);
16702
16702
  var import_iconv_lite = __toESM(require_lib3(), 1);
16703
16703
  var SAMPLE = 65536;
16704
16704
  var invalidText = /* @__PURE__ */ __name((text) => {
16705
- for (const character of text) {
16706
- const code = character.charCodeAt(0);
16705
+ for (const character2 of text) {
16706
+ const code = character2.charCodeAt(0);
16707
16707
  if (code < 9 || code === 11 || code > 13 && code < 32 || code >= 127 && code <= 159)
16708
16708
  return true;
16709
16709
  }
@@ -16799,7 +16799,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes) => {
16799
16799
  return result.text;
16800
16800
  }, "decodeXml");
16801
16801
 
16802
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/container.js
16802
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/container.js
16803
16803
  var MAX_PART = 10 * 1024 * 1024;
16804
16804
  var MAX_ENTRIES = 1e3;
16805
16805
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -16812,7 +16812,7 @@ var cancelled = /* @__PURE__ */ __name((signal) => {
16812
16812
  if (signal?.aborted)
16813
16813
  throw new CliError("cancelled", "document extraction cancelled");
16814
16814
  }, "cancelled");
16815
- var safeName = /* @__PURE__ */ __name((name) => name.length > 0 && name.length <= 512 && !/^[\\/]|\\/.test(name) && ![...name].some((character) => character.charCodeAt(0) < 32) && !name.split("/").includes(".."), "safeName");
16815
+ var safeName = /* @__PURE__ */ __name((name) => name.length > 0 && name.length <= 512 && !/^[\\/]|\\/.test(name) && ![...name].some((character2) => character2.charCodeAt(0) < 32) && !name.split("/").includes(".."), "safeName");
16816
16816
  var directory = /* @__PURE__ */ __name((bytes) => {
16817
16817
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
16818
16818
  let end = -1;
@@ -17014,7 +17014,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
17014
17014
  return found;
17015
17015
  }, "elements");
17016
17016
 
17017
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/engine.js
17017
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/engine.js
17018
17018
  var BUILT_IN = ["unpdf", "mammoth", "word-extractor", "linkedom", "defuddle/node"];
17019
17019
  var ENGINES = [...BUILT_IN, "@napi-rs/canvas"];
17020
17020
  var isMissing = /* @__PURE__ */ __name((error, name) => error?.code === "ERR_MODULE_NOT_FOUND" && String(error.message).includes(name), "isMissing");
@@ -17072,7 +17072,7 @@ var derived = /* @__PURE__ */ __name((bytes, extractor, read) => {
17072
17072
  }
17073
17073
  }, "derived");
17074
17074
 
17075
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17075
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17076
17076
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
17077
17077
  var image = {
17078
17078
  id: "image",
@@ -17081,7 +17081,7 @@ var image = {
17081
17081
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
17082
17082
  };
17083
17083
 
17084
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17084
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17085
17085
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
17086
17086
  var doc = {
17087
17087
  id: "doc",
@@ -17093,7 +17093,7 @@ var doc = {
17093
17093
  }), "read")
17094
17094
  };
17095
17095
 
17096
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17096
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17097
17097
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
17098
17098
  var docx = {
17099
17099
  id: "docx",
@@ -17106,8 +17106,62 @@ var docx = {
17106
17106
  }), "read")
17107
17107
  };
17108
17108
 
17109
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17109
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17110
17110
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
17111
+
17112
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/domain/html-entities.js
17113
+ var NAMED = {
17114
+ amp: "&",
17115
+ lt: "<",
17116
+ gt: ">",
17117
+ quot: '"',
17118
+ apos: "'",
17119
+ nbsp: "\xA0",
17120
+ shy: "\xAD",
17121
+ ensp: "\u2002",
17122
+ emsp: "\u2003",
17123
+ thinsp: "\u2009",
17124
+ zwnj: "\u200C",
17125
+ zwj: "\u200D",
17126
+ lsquo: "\u2018",
17127
+ rsquo: "\u2019",
17128
+ sbquo: "\u201A",
17129
+ ldquo: "\u201C",
17130
+ rdquo: "\u201D",
17131
+ bdquo: "\u201E",
17132
+ laquo: "\xAB",
17133
+ raquo: "\xBB",
17134
+ lsaquo: "\u2039",
17135
+ rsaquo: "\u203A",
17136
+ ndash: "\u2013",
17137
+ mdash: "\u2014",
17138
+ hellip: "\u2026",
17139
+ bull: "\u2022",
17140
+ middot: "\xB7",
17141
+ copy: "\xA9",
17142
+ reg: "\xAE",
17143
+ trade: "\u2122",
17144
+ euro: "\u20AC",
17145
+ pound: "\xA3",
17146
+ yen: "\xA5",
17147
+ cent: "\xA2",
17148
+ deg: "\xB0",
17149
+ plusmn: "\xB1",
17150
+ times: "\xD7",
17151
+ divide: "\xF7",
17152
+ sect: "\xA7",
17153
+ para: "\xB6",
17154
+ iexcl: "\xA1",
17155
+ iquest: "\xBF"
17156
+ };
17157
+ var character = /* @__PURE__ */ __name((code, entity) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : entity, "character");
17158
+ var decodeEntities = /* @__PURE__ */ __name((text) => text.replace(/&(#x[0-9a-f]{1,6}|#\d{1,7}|[a-z]{2,8});/gi, (entity, body) => {
17159
+ if (body[0] !== "#")
17160
+ return NAMED[body] ?? NAMED[body.toLowerCase()] ?? entity;
17161
+ return body[1] === "x" || body[1] === "X" ? character(Number.parseInt(body.slice(2), 16), entity) : character(Number(body.slice(1)), entity);
17162
+ }), "decodeEntities");
17163
+
17164
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17111
17165
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
17112
17166
  "fonttbl",
17113
17167
  "colortbl",
@@ -17240,7 +17294,6 @@ var HTML_DROPPED_CLOSE = new Map(["script", "style", "head", "noscript", "templa
17240
17294
  new RegExp(`<\\/${name}\\s*>`, "gi")
17241
17295
  ]));
17242
17296
  var HTML_BLOCK = /<\/?(p|div|br|li|ul|ol|tr|h[1-6]|blockquote|pre|section|article|header|footer|table|hr)\b[^>]*>/gi;
17243
- var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', apos: "'", nbsp: "\xA0" };
17244
17297
  var replaceTags = /* @__PURE__ */ __name((source, tag, replacement) => {
17245
17298
  const end = source.lastIndexOf(">") + 1;
17246
17299
  return source.slice(0, end).replace(tag, replacement) + source.slice(end);
@@ -17271,18 +17324,10 @@ var dropHidden = /* @__PURE__ */ __name((source) => {
17271
17324
  var htmlText = /* @__PURE__ */ __name((source) => {
17272
17325
  const uncommented = source.replace(/<!--[\s\S]*?(-->|$)/g, (comment, close) => close ? "" : comment);
17273
17326
  const blocks = replaceTags(dropHidden(uncommented).replace(/<\/t[dh]\s*>/gi, " "), HTML_BLOCK, "\n");
17274
- return replaceTags(blocks, /<[^>]*>/g, "").replace(/&(#x[0-9a-f]{1,6}|#\d{1,7}|[a-z]{2,8});/gi, (entity, body) => {
17275
- const lower = body.toLowerCase();
17276
- if (lower.startsWith("#x"))
17277
- return safeChar(Number.parseInt(lower.slice(2), 16), entity);
17278
- if (lower.startsWith("#"))
17279
- return safeChar(Number(lower.slice(1)), entity);
17280
- return ENTITIES[lower] ?? entity;
17281
- }).replace(/(?<![ \t\u00a0])[ \t\u00a0]+\n/g, "\n").replace(/\n{3,}/g, "\n\n").trim();
17327
+ return decodeEntities(replaceTags(blocks, /<[^>]*>/g, "")).replace(/(?<![ \t\u00a0])[ \t\u00a0]+\n/g, "\n").replace(/\n{3,}/g, "\n\n").trim();
17282
17328
  }, "htmlText");
17283
- var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
17284
17329
 
17285
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17330
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17286
17331
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
17287
17332
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
17288
17333
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -17338,7 +17383,7 @@ var markdownSections = /* @__PURE__ */ __name((text) => {
17338
17383
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text.length }));
17339
17384
  }, "markdownSections");
17340
17385
 
17341
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17386
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17342
17387
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
17343
17388
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
17344
17389
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -17409,10 +17454,10 @@ var html = {
17409
17454
  }, "read")
17410
17455
  };
17411
17456
 
17412
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17457
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17413
17458
  import { posix } from "node:path";
17414
17459
 
17415
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17460
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17416
17461
  var columnName = /* @__PURE__ */ __name((column) => {
17417
17462
  let name = "";
17418
17463
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -17467,7 +17512,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
17467
17512
  return { text: parts.join("").trim(), truncated: false };
17468
17513
  }, "sheetText");
17469
17514
 
17470
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17515
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17471
17516
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
17472
17517
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
17473
17518
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -17542,7 +17587,7 @@ var rootIs = /* @__PURE__ */ __name((node, name, namespaces) => {
17542
17587
  }, "rootIs");
17543
17588
  var target = /* @__PURE__ */ __name((owner, reference) => {
17544
17589
  const decoded = decodeURIComponent(reference.split(/[?#]/)[0] ?? "");
17545
- if (/^[a-z][a-z0-9+.-]*:|^[\\/]|\\/i.test(decoded) || [...decoded].some((character) => character.charCodeAt(0) < 32))
17590
+ if (/^[a-z][a-z0-9+.-]*:|^[\\/]|\\/i.test(decoded) || [...decoded].some((character2) => character2.charCodeAt(0) < 32))
17546
17591
  throw new Error("external_part");
17547
17592
  const path = posix.normalize(posix.join(posix.dirname(owner), decoded));
17548
17593
  if (path.startsWith("../") || !path || path === ".")
@@ -17882,7 +17927,7 @@ var readDocument = /* @__PURE__ */ __name(async (bytes, kind, signal) => {
17882
17927
  }
17883
17928
  }, "readDocument");
17884
17929
 
17885
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17930
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17886
17931
  var office = {
17887
17932
  id: "office",
17888
17933
  version: documentExtractor("odt"),
@@ -17893,7 +17938,7 @@ var office = {
17893
17938
  }, "read")
17894
17939
  };
17895
17940
 
17896
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17941
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17897
17942
  var pdf = {
17898
17943
  id: "pdf",
17899
17944
  version: "unpdf",
@@ -17960,7 +18005,7 @@ var pdf = {
17960
18005
  }), "read")
17961
18006
  };
17962
18007
 
17963
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
18008
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
17964
18009
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
17965
18010
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
17966
18011
  var readPlain = /* @__PURE__ */ __name((bytes) => {
@@ -17980,7 +18025,7 @@ var plain = {
17980
18025
  read: /* @__PURE__ */ __name(async (bytes) => readPlain(bytes), "read")
17981
18026
  };
17982
18027
 
17983
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
18028
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
17984
18029
  var rtf = {
17985
18030
  id: "rtf",
17986
18031
  version: "v1",
@@ -17988,10 +18033,10 @@ var rtf = {
17988
18033
  read: /* @__PURE__ */ __name(async (bytes) => derived(bytes, "rtf:v1", rtfText), "read")
17989
18034
  };
17990
18035
 
17991
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18036
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17992
18037
  import { basename } from "node:path";
17993
18038
 
17994
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
18039
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
17995
18040
  var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) => {
17996
18041
  const cells = [];
17997
18042
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -18029,7 +18074,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) =>
18029
18074
  return { cells, truncated };
18030
18075
  }, "delimitedSpans");
18031
18076
 
18032
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18077
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18033
18078
  var DELIMITED = {
18034
18079
  ".csv": ",",
18035
18080
  ".tsv": " ",
@@ -18068,7 +18113,7 @@ var sheets = {
18068
18113
  }, "read")
18069
18114
  };
18070
18115
 
18071
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/readers/registry.js
18116
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/registry.js
18072
18117
  var BUILT_INS = [office, pdf, docx, doc, rtf, html, sheets, plain, image];
18073
18118
  var HEAD_BYTES = 1024;
18074
18119
  var readers = [...BUILT_INS];
@@ -18078,7 +18123,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes, hint, context) => {
18078
18123
  return reader ? reader.read(bytes, hint, context) : { status: "unsupported" };
18079
18124
  }, "readWithRegistry");
18080
18125
 
18081
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18126
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18082
18127
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
18083
18128
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname2(name ?? path).toLowerCase(), "extensionOf");
18084
18129
  var extractText = /* @__PURE__ */ __name(async (bytes, hint, load, signal, env = process.env) => {
@@ -18116,7 +18161,7 @@ var engineStates = /* @__PURE__ */ __name((resolve = (name) => resolveFrom(new U
18116
18161
  }
18117
18162
  })), "engineStates");
18118
18163
 
18119
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/http/time-limit.js
18164
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/http/time-limit.js
18120
18165
  var timeLimit = /* @__PURE__ */ __name((ms) => {
18121
18166
  const controller = new AbortController();
18122
18167
  const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
@@ -18132,7 +18177,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run2) => {
18132
18177
  }
18133
18178
  }, "withTimeLimit");
18134
18179
 
18135
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/openai.js
18180
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/models/openai.js
18136
18181
  var options = strictObject({
18137
18182
  temperature: range(0, 2),
18138
18183
  top_p: range(0, 1),
@@ -18199,7 +18244,7 @@ var openai = {
18199
18244
  }), "complete")
18200
18245
  };
18201
18246
 
18202
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/index.js
18247
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/models/index.js
18203
18248
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
18204
18249
  complete: /* @__PURE__ */ __name(async (request) => {
18205
18250
  if (deps.signal?.aborted)
@@ -18214,7 +18259,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
18214
18259
  if (!adapter && target2.provider === "openai")
18215
18260
  adapter = openai;
18216
18261
  if (!adapter && target2.provider === "anthropic")
18217
- adapter = (await import("./anthropic-ZP5B7S2Z.js")).anthropic;
18262
+ adapter = (await import("./anthropic-QVKJT3II.js")).anthropic;
18218
18263
  if (!adapter)
18219
18264
  throw new CliError("validation_error", `no model adapter for ${target2.provider}`);
18220
18265
  if (request.images !== void 0 && adapter.images !== true)
@@ -18274,7 +18319,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
18274
18319
  }, "complete")
18275
18320
  }), "modelGateway");
18276
18321
 
18277
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
18322
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
18278
18323
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
18279
18324
  const host = new URL(baseUrl).host;
18280
18325
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -18307,7 +18352,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
18307
18352
  };
18308
18353
  }, "embeddingKeys");
18309
18354
 
18310
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18355
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18311
18356
  var withRecovery = /* @__PURE__ */ __name((error) => ({
18312
18357
  ...error,
18313
18358
  retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
@@ -19354,7 +19399,7 @@ function imageSize(input) {
19354
19399
  }
19355
19400
  __name(imageSize, "imageSize");
19356
19401
 
19357
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
19402
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
19358
19403
  var MAX_PAGES = 20;
19359
19404
  var MAX_PIXELS = 2e7;
19360
19405
  var cancelled2 = /* @__PURE__ */ __name((signal) => {
@@ -19514,7 +19559,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes, pipeline, load, signal) => {
19514
19559
  }
19515
19560
  }, "ocrPdf");
19516
19561
 
19517
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
19562
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
19518
19563
  import { spawn } from "node:child_process";
19519
19564
  import { mkdtempSync, readFileSync as readFileSync2, rmSync, writeFileSync } from "node:fs";
19520
19565
  import { tmpdir } from "node:os";
@@ -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-EA2OB75T.js";
5
+ } from "./chunk-54NDYVZA.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/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");
@@ -19,16 +19,16 @@ import {
19
19
  reference,
20
20
  string,
21
21
  variant
22
- } from "./chunk-JRFKCYMW.js";
22
+ } from "./chunk-HHAZ6DCY.js";
23
23
  import {
24
24
  CliError,
25
25
  isCliError
26
- } from "./chunk-EA2OB75T.js";
26
+ } from "./chunk-54NDYVZA.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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.101.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.99.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
75
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
76
76
  var timezoneOf = /* @__PURE__ */ __name((given) => {
77
77
  const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
78
78
  try {
@@ -84,7 +84,7 @@ var timezoneOf = /* @__PURE__ */ __name((given) => {
84
84
  }, "timezoneOf");
85
85
  var calendar = /* @__PURE__ */ __name((value, span) => {
86
86
  if (!/^\d{4}-\d{2}-\d{2}$/u.test(value))
87
- queryError("query.invalid-date", span, "use an ISO date or a quoted timestamp with offset");
87
+ queryError("query.invalid-date", span, "use an ISO date such as 2026-10-01");
88
88
  const year = Number(value.slice(0, 4)), month = Number(value.slice(5, 7)), day = Number(value.slice(8, 10));
89
89
  const date = /* @__PURE__ */ new Date(0);
90
90
  date.setUTCFullYear(year, month - 1, day);
@@ -169,6 +169,7 @@ var zonedMoment = /* @__PURE__ */ __name((value, zone, span, { end = false } = {
169
169
  return time;
170
170
  }, "zonedMoment");
171
171
  var AGO = /^(\d+)(m|h|d)$/u;
172
+ var MOMENT = /^(\d{4}-\d{2}-\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2})?$/u;
172
173
  var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
173
174
  var dayOf = /* @__PURE__ */ __name((word, zone, now, span) => {
174
175
  const today = new Intl.DateTimeFormat("en-CA", {
@@ -197,11 +198,15 @@ var dateEndpoint = /* @__PURE__ */ __name((value, zone, side, inclusive, span, n
197
198
  time: dayBoundary(value, zone, side === "lower" ? !inclusive : inclusive, span),
198
199
  inclusive: side === "lower"
199
200
  };
200
- if (!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?(?:Z|[+-]\d{2}:\d{2})$/u.test(value))
201
- queryError("query.invalid-date", span, "use an ISO date, today, yesterday, 30m/2h/7d ago, or a quoted timestamp with offset");
202
- calendar(value.slice(0, 10), span);
203
- const time = Date.parse(value);
204
- if (!Number.isFinite(time) || Number(value.slice(11, 13)) > 23 || Number(value.slice(14, 16)) > 59 || Number(value.slice(17, 19)) > 59)
201
+ const [, day, hour, minute, second = "0", offset] = MOMENT.exec(value) ?? [];
202
+ if (day === void 0)
203
+ queryError("query.invalid-date", span, "use an ISO date, a date and time such as 2026-10-01T09:00 (optional seconds and offset), today, yesterday or 30m/2h/7d ago");
204
+ const moment = value.replace(" ", "T");
205
+ if (offset === void 0)
206
+ return { time: wallTime(moment, zone, span), inclusive };
207
+ calendar(day, span);
208
+ const time = Date.parse(moment);
209
+ if (!Number.isFinite(time) || Number(hour) > 23 || Number(minute) > 59 || Number(second) > 59)
205
210
  queryError("query.invalid-date", span);
206
211
  return { time, inclusive };
207
212
  }, "dateEndpoint");
@@ -217,7 +222,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
217
222
  };
218
223
  }, "dateRange");
219
224
 
220
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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
225
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
221
226
  var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
222
227
  var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
223
228
  var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
@@ -272,7 +277,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
272
277
  }, "matches");
273
278
  var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
274
279
 
275
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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
280
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
276
281
  var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
277
282
  var OPERATORS_BY_TYPE = {
278
283
  kw: ["term", "phrase", "wildcard"],
@@ -351,7 +356,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
351
356
  return [...own, ...relations, ...states];
352
357
  }, "queryFieldsOf");
353
358
 
354
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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
359
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
355
360
  var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
356
361
  var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
357
362
  var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
@@ -388,7 +393,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
388
393
  return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
389
394
  }, "queryDescription");
390
395
 
391
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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
396
+ // node_modules/.pnpm/@wirecat+cli-base@0.101.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
392
397
  var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
393
398
  var reserved = /* @__PURE__ */ new Set([
394
399
  "+",
@@ -697,7 +702,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
697
702
  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] : []));
698
703
  }, "implicitTextTerms");
699
704
 
700
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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.101.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
701
706
  var inContext = /* @__PURE__ */ __name((context, run) => {
702
707
  try {
703
708
  run();
@@ -772,7 +777,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
772
777
  }, "validateQuery");
773
778
  var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
774
779
 
775
- // node_modules/.pnpm/@wirecat+cli-base@0.99.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.101.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
776
781
  var describeQuery = /* @__PURE__ */ __name((registry) => ({
777
782
  entity: registry.entity,
778
783
  backend: registry.backend,
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/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.",