@wirecat/drive-cli 0.65.0 → 0.66.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 (204) hide show
  1. package/contracts/wirecat.json +2871 -0
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bin/drive.js.map +1 -1
  4. package/dist/browse.d.ts +1 -1
  5. package/dist/browse.d.ts.map +1 -1
  6. package/dist/browse.js +1 -1
  7. package/dist/bundle/{all-profiles-PD7GJHFA.js → all-profiles-WCQLIHUG.js} +14 -14
  8. package/dist/bundle/{anthropic-PJKFON5H.js → anthropic-5RJMB6O7.js} +20 -13
  9. package/dist/bundle/{app-server-6ELQA6FJ.js → app-server-3RGYXPKG.js} +67 -56
  10. package/dist/bundle/{bun-P54TGES2.js → bun-L34VEKGG.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-TND5ZRJH.js → bun-sqlite-H6IAXQXI.js} +9 -9
  12. package/dist/bundle/{chunk-VHQYWFWV.js → chunk-2AF77WMH.js} +1 -1
  13. package/dist/bundle/{chunk-CWLL63JD.js → chunk-2S3E2HVV.js} +17 -17
  14. package/dist/bundle/{chunk-I272E6UR.js → chunk-3NYH756U.js} +49 -117
  15. package/dist/bundle/{chunk-UTNRBOEN.js → chunk-3QFUDXMQ.js} +2 -2
  16. package/dist/bundle/{chunk-RNHGQ35R.js → chunk-3SDJIMZB.js} +1 -1
  17. package/dist/bundle/{chunk-NQ5XMSLA.js → chunk-4UHBJSMI.js} +22086 -29123
  18. package/dist/bundle/{chunk-OWMZUWCM.js → chunk-5HVJK3ZJ.js} +6 -14
  19. package/dist/bundle/chunk-5K54RZBK.js +70 -0
  20. package/dist/bundle/{chunk-SIWXYB4E.js → chunk-5PLINHEY.js} +2987 -2717
  21. package/dist/bundle/{chunk-O7ZDCOZE.js → chunk-5VDVGDOC.js} +1 -1
  22. package/dist/bundle/{chunk-B2LPCHQN.js → chunk-5XLU4NN6.js} +4 -4
  23. package/dist/bundle/{chunk-5XSBCMAF.js → chunk-6UJCCOZC.js} +4 -4
  24. package/dist/bundle/{chunk-7AQGVX5O.js → chunk-6X3KUFRQ.js} +60 -29
  25. package/dist/bundle/{chunk-WRMJN6UQ.js → chunk-7EP4AU6A.js} +3 -3
  26. package/dist/bundle/{chunk-GW3LBY3T.js → chunk-7LT2G5BC.js} +146 -133
  27. package/dist/bundle/{chunk-ZILALBYQ.js → chunk-7ZGJRVBH.js} +7 -5
  28. package/dist/bundle/{chunk-PLP5527C.js → chunk-ALE67WRR.js} +5 -5
  29. package/dist/bundle/{chunk-EHU6EYGO.js → chunk-AP4MX247.js} +12 -12
  30. package/dist/bundle/{chunk-NI5PD5KM.js → chunk-BIJW6AYA.js} +14124 -12049
  31. package/dist/bundle/{chunk-54V4H6PM.js → chunk-BQXSE645.js} +12 -12
  32. package/dist/bundle/{chunk-EM7NL5ES.js → chunk-COGWKO2T.js} +3 -3
  33. package/dist/bundle/{chunk-II4S2DBJ.js → chunk-D4MIMH2N.js} +12 -6
  34. package/dist/bundle/{chunk-42G2XNPN.js → chunk-D7KOAPG6.js} +2 -2
  35. package/dist/bundle/{chunk-NQRTKYJB.js → chunk-E2F2XIX6.js} +47 -80
  36. package/dist/bundle/{chunk-VDZY3L7U.js → chunk-FA2TNA5X.js} +1 -1
  37. package/dist/bundle/{chunk-A4QNADEX.js → chunk-FHBTQPA3.js} +49 -49
  38. package/dist/bundle/{chunk-7TAP7Y2E.js → chunk-FKKPVPZR.js} +196 -112
  39. package/dist/bundle/{chunk-2AFI4KGI.js → chunk-G4TNKBDX.js} +7 -7
  40. package/dist/bundle/{chunk-ECEP4SO3.js → chunk-GVA3KTCD.js} +10 -10
  41. package/dist/bundle/{chunk-PHOL2DZM.js → chunk-GY4DAJSK.js} +34 -5
  42. package/dist/bundle/{chunk-Z2ADO6UA.js → chunk-H7XL6WTW.js} +2 -2
  43. package/dist/bundle/{chunk-SE352DBY.js → chunk-HHRJPLFO.js} +1 -1
  44. package/dist/bundle/{chunk-WRAUO5EJ.js → chunk-HPKE2GDP.js} +45 -22
  45. package/dist/bundle/{chunk-D7WB54P7.js → chunk-HPSHQVJU.js} +540 -456
  46. package/dist/bundle/{chunk-4Y5YBFMS.js → chunk-HQBLJLYH.js} +7 -7
  47. package/dist/bundle/{chunk-IMHW7VIV.js → chunk-I5R5CMQR.js} +5 -5
  48. package/dist/bundle/{chunk-ELJUBPY4.js → chunk-IIHZTV6V.js} +1 -1
  49. package/dist/bundle/{chunk-M7ELUGU6.js → chunk-IRNDYNQX.js} +4 -4
  50. package/dist/bundle/{chunk-TTP4NOP3.js → chunk-JCHF7LZT.js} +4 -4
  51. package/dist/bundle/{chunk-3HXNDF6Q.js → chunk-JHMEETXI.js} +2 -2
  52. package/dist/bundle/{chunk-4EDWLR22.js → chunk-JLCR24UM.js} +1 -1
  53. package/dist/bundle/{chunk-6DCLZLGX.js → chunk-JQXK3M5M.js} +1 -1
  54. package/dist/bundle/{chunk-EZ2OLYEK.js → chunk-KOY5HUBY.js} +14 -5
  55. package/dist/bundle/{chunk-IBO23OID.js → chunk-KRG5X5PH.js} +2 -2
  56. package/dist/bundle/{chunk-FA6JNXCC.js → chunk-LVAPSAHF.js} +8 -8
  57. package/dist/bundle/{chunk-ZR2EJPMQ.js → chunk-M7543RUJ.js} +18 -15
  58. package/dist/bundle/{chunk-A27UVLPK.js → chunk-MZWXTJ4O.js} +3 -3
  59. package/dist/bundle/{chunk-XPWZSW6Y.js → chunk-NK4GVFJH.js} +4 -4
  60. package/dist/bundle/chunk-NYECVHFH.js +10283 -0
  61. package/dist/bundle/{chunk-W2XY6C5S.js → chunk-NYZS2LKF.js} +2 -2
  62. package/dist/bundle/{chunk-4AOINPN2.js → chunk-O53WLYX3.js} +8 -2
  63. package/dist/bundle/{chunk-RX5CJ55S.js → chunk-OIF4B526.js} +1 -1
  64. package/dist/bundle/{chunk-SS4LKLD7.js → chunk-OT7SQQJK.js} +371 -362
  65. package/dist/bundle/chunk-OZOQLAWK.js +72 -0
  66. package/dist/bundle/{chunk-DA63E2UM.js → chunk-P7HQFII6.js} +18 -15
  67. package/dist/bundle/{chunk-MCPOZNWG.js → chunk-PJGOQSE5.js} +1 -1
  68. package/dist/bundle/{chunk-F56DRBGY.js → chunk-PKM55ZRR.js} +75 -20
  69. package/dist/bundle/{chunk-SNLSEYJO.js → chunk-PUMDOCAF.js} +1 -1
  70. package/dist/bundle/{chunk-LMKPP2JP.js → chunk-QF7VL4C3.js} +1 -1
  71. package/dist/bundle/{chunk-D6Z43SOG.js → chunk-QJ57PV55.js} +383 -361
  72. package/dist/bundle/{chunk-EU5MD24W.js → chunk-QSELSDWE.js} +13 -13
  73. package/dist/bundle/{chunk-TMHF4BCL.js → chunk-SOOU5WO6.js} +2 -2
  74. package/dist/bundle/{chunk-3ONWN3IA.js → chunk-SZ6JFOL4.js} +137 -45
  75. package/dist/bundle/{chunk-WVJHZIDH.js → chunk-T3ULDA7C.js} +3 -3
  76. package/dist/bundle/{chunk-XYE7XZPB.js → chunk-TAHISPDE.js} +5 -5
  77. package/dist/bundle/{chunk-HP3NT6JJ.js → chunk-TYLEICTX.js} +3 -3
  78. package/dist/bundle/{chunk-Y5PKRITX.js → chunk-UAKX6DP4.js} +5 -5
  79. package/dist/bundle/{chunk-VLXWAH5E.js → chunk-UG3GHFGY.js} +4 -4
  80. package/dist/bundle/{chunk-X7YGGWXI.js → chunk-ULXEW6FT.js} +3 -2
  81. package/dist/bundle/{chunk-JPPPLKAO.js → chunk-UNTIVT47.js} +1 -2
  82. package/dist/bundle/{chunk-SEQWBZYH.js → chunk-UQPW42HF.js} +1 -1
  83. package/dist/bundle/{chunk-JMJIH6JH.js → chunk-V2WXTILT.js} +6 -6
  84. package/dist/bundle/{chunk-TOVWMURV.js → chunk-VQKNKJYL.js} +22 -7
  85. package/dist/bundle/{chunk-OFJXHEFT.js → chunk-VR3YKXHL.js} +93 -31
  86. package/dist/bundle/{chunk-VMAMRFFC.js → chunk-VUUPFDRU.js} +26 -27
  87. package/dist/bundle/{chunk-FBHSWQU7.js → chunk-WYTYHUFH.js} +319 -102
  88. package/dist/bundle/{chunk-ZD4MB7NH.js → chunk-XLGDNI4S.js} +1 -1
  89. package/dist/bundle/{chunk-O6K2E7OA.js → chunk-XVZNFA2P.js} +1507 -1107
  90. package/dist/bundle/chunk-Y5U4HIZS.js +71 -0
  91. package/dist/bundle/chunk-YTIPTHEE.js +47 -0
  92. package/dist/bundle/cli-KW6QQVS5.js +1101 -0
  93. package/dist/bundle/command-contract-CE543JBN.js +41 -0
  94. package/dist/bundle/{command-server-entry-36JXYIJB.js → command-server-entry-OC4E4DED.js} +31 -30
  95. package/dist/bundle/{decode-T5ZW57WZ.js → decode-AH5ZLLDK.js} +8 -8
  96. package/dist/bundle/{dispatch-RMA2XFYA.js → dispatch-CDWZZ54Q.js} +9 -9
  97. package/dist/bundle/drive.js +13 -13
  98. package/dist/bundle/{echarts-KQ44LPSF.js → echarts-VC7MTXWY.js} +2 -2
  99. package/dist/bundle/{embed-Q7XST53J.js → embed-EPSQY6QG.js} +9 -9
  100. package/dist/bundle/{embedder-RWZSBVW2.js → embedder-TK4U4TJR.js} +12 -12
  101. package/dist/bundle/entry-3VN23M7M.js +25 -0
  102. package/dist/bundle/{failure-7NP4QPIN.js → failure-WSVZOPFE.js} +4 -4
  103. package/dist/bundle/first-run-7ZYJ7EB3.js +30 -0
  104. package/dist/bundle/first-screen-CZDH7QY3.js +39 -0
  105. package/dist/bundle/google-OBZMWA7J.js +45 -0
  106. package/dist/bundle/{google-api-P5DRHD7L.js → google-api-AV4X2JH3.js} +68 -63
  107. package/dist/bundle/grants-WTRLN4ZI.js +111 -0
  108. package/dist/bundle/{identity-VDV6CHRW.js → identity-CGHHF7AK.js} +8 -6
  109. package/dist/bundle/{instructions-Q45FVY6H.js → instructions-24PHDBBE.js} +1 -1
  110. package/dist/bundle/{login-XKN3NI6X.js → login-XHFESAFM.js} +73 -70
  111. package/dist/bundle/{mcp-7KQUJNFN.js → mcp-M5YCSWJJ.js} +2 -2
  112. package/dist/bundle/{node-MSW565D3.js → node-GIDULTV5.js} +2 -2
  113. package/dist/bundle/{node-sqlite-S74XVVHL.js → node-sqlite-LINBOAWK.js} +10 -10
  114. package/dist/bundle/oauth-JHUX3KE3.js +22 -0
  115. package/dist/bundle/{open-P7UQG7XJ.js → open-RYFKPNCJ.js} +8 -8
  116. package/dist/bundle/{openai-DDHJ57KZ.js → openai-Q7YYUHJF.js} +28 -21
  117. package/dist/bundle/{process-NMUB5SHK.js → process-VPIZTIJR.js} +1 -1
  118. package/dist/bundle/{program-PJNWP6JW.js → program-IUXFRBZA.js} +213 -555
  119. package/dist/bundle/{prompt-VOSMK4C2.js → prompt-LF4KX3XL.js} +8 -8
  120. package/dist/bundle/{reasons-KDAXOC5S.js → reasons-JPYOU5GV.js} +5 -5
  121. package/dist/bundle/{recognize-GZIY63HS.js → recognize-KEWTJXFH.js} +7 -7
  122. package/dist/bundle/{remote-V3YGN7LN.js → remote-HGGLB76S.js} +13 -10
  123. package/dist/bundle/{rerank-XRU6AVN7.js → rerank-TDUKETFT.js} +10 -10
  124. package/dist/bundle/{serve-NDOAFA57.js → serve-XFYMKW5W.js} +12 -12
  125. package/dist/bundle/server-BDEV3CZJ.js +74 -0
  126. package/dist/bundle/{server-BKGWJYMC.js → server-PXIPSGFP.js} +47 -45
  127. package/dist/bundle/{services-TYDMFQCA.js → services-2BOCGMJU.js} +44 -34
  128. package/dist/bundle/{sqlite-runtime-UAFJKSJR.js → sqlite-runtime-R7M5XUMW.js} +9 -9
  129. package/dist/bundle/{start-2ZLDP2OE.js → start-YRLT4MQZ.js} +7 -7
  130. package/dist/bundle/{state-6SP27J2K.js → state-NZ7WRJWH.js} +9 -9
  131. package/dist/bundle/{store-EJN27MXI.js → store-7LCVDO7G.js} +23 -21
  132. package/dist/bundle/{store-4UUY545Q.js → store-ICDGPSEN.js} +21 -19
  133. package/dist/bundle/store-maintenance-command-SJPLY6IH.js +65 -0
  134. package/dist/bundle/tokens-FGTBE7VW.js +111 -0
  135. package/dist/commands/discovery.d.ts +0 -1
  136. package/dist/commands/discovery.d.ts.map +1 -1
  137. package/dist/commands/discovery.js +6 -26
  138. package/dist/commands/discovery.js.map +1 -1
  139. package/dist/commands/knowledge.d.ts.map +1 -1
  140. package/dist/commands/knowledge.js +7 -6
  141. package/dist/commands/knowledge.js.map +1 -1
  142. package/dist/commands/search.d.ts.map +1 -1
  143. package/dist/commands/search.js +11 -8
  144. package/dist/commands/search.js.map +1 -1
  145. package/dist/config.d.ts +1 -0
  146. package/dist/config.d.ts.map +1 -1
  147. package/dist/config.js +3 -2
  148. package/dist/config.js.map +1 -1
  149. package/dist/contract-overrides.d.ts +16 -4
  150. package/dist/contract-overrides.d.ts.map +1 -1
  151. package/dist/contract-overrides.js +86 -410
  152. package/dist/contract-overrides.js.map +1 -1
  153. package/dist/errors.d.ts.map +1 -1
  154. package/dist/errors.js +4 -0
  155. package/dist/errors.js.map +1 -1
  156. package/dist/google-api.d.ts.map +1 -1
  157. package/dist/google-api.js +4 -1
  158. package/dist/google-api.js.map +1 -1
  159. package/dist/identity.d.ts +4 -0
  160. package/dist/identity.d.ts.map +1 -1
  161. package/dist/identity.js +22 -0
  162. package/dist/identity.js.map +1 -1
  163. package/dist/knowledge.js +2 -2
  164. package/dist/knowledge.js.map +1 -1
  165. package/dist/login.d.ts.map +1 -1
  166. package/dist/login.js +2 -2
  167. package/dist/login.js.map +1 -1
  168. package/dist/program.d.ts.map +1 -1
  169. package/dist/program.js +8 -6
  170. package/dist/program.js.map +1 -1
  171. package/dist/reasons.d.ts.map +1 -1
  172. package/dist/reasons.js +0 -1
  173. package/dist/reasons.js.map +1 -1
  174. package/dist/store-transition.js +2 -2
  175. package/dist/store-transition.js.map +1 -1
  176. package/dist/store.d.ts.map +1 -1
  177. package/dist/store.js +7 -7
  178. package/dist/store.js.map +1 -1
  179. package/dist/tokens.d.ts +9 -2
  180. package/dist/tokens.d.ts.map +1 -1
  181. package/dist/tokens.js +18 -15
  182. package/dist/tokens.js.map +1 -1
  183. package/dist/version.d.ts +1 -1
  184. package/dist/version.js +1 -1
  185. package/dist/wcat.d.ts +3 -0
  186. package/dist/wcat.d.ts.map +1 -0
  187. package/dist/wcat.js +4 -0
  188. package/dist/wcat.js.map +1 -0
  189. package/package.json +7 -7
  190. package/dist/bundle/chunk-CGQRZRTH.js +0 -26
  191. package/dist/bundle/chunk-IKHOIXJR.js +0 -27
  192. package/dist/bundle/chunk-SBZB7HMU.js +0 -1055
  193. package/dist/bundle/command-contract-25E4PYMD.js +0 -40
  194. package/dist/bundle/dist-PY3MVR3G.js +0 -21
  195. package/dist/bundle/entry-HPLW4QL2.js +0 -25
  196. package/dist/bundle/first-run-RL3RKYZW.js +0 -30
  197. package/dist/bundle/first-screen-NX3TM2VJ.js +0 -38
  198. package/dist/bundle/google-DPD5N6AQ.js +0 -42
  199. package/dist/bundle/grants-TX4MHLI4.js +0 -109
  200. package/dist/bundle/oauth-6R7AWAES.js +0 -22
  201. package/dist/bundle/server-QD2MUJJZ.js +0 -72
  202. package/dist/bundle/store-maintenance-command-LETURZDC.js +0 -60
  203. package/dist/bundle/tokens-MTFJPTYT.js +0 -107
  204. /package/dist/bundle/{chunk-YVNHQFLC.js → chunk-HVJJWJYQ.js} +0 -0
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-ELJUBPY4.js";
5
+ } from "./chunk-IIHZTV6V.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
11
11
  import { randomUUID } from "node:crypto";
12
12
  import { constants } from "node:fs";
13
13
  import { link, open, realpath, rename, unlink } from "node:fs/promises";
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
45
45
  }
46
46
  }, "writeFileAtomic");
47
47
 
48
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
48
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
49
49
  import { constants as constants2 } from "node:fs";
50
50
  import { lstat, open as open2 } from "node:fs/promises";
51
51
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -111,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
111
111
  }
112
112
  }, "syncDirectory");
113
113
 
114
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/lock.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/lock.js
115
115
  import { mkdir as mkdir2 } from "node:fs/promises";
116
116
  import { basename as basename2, dirname as dirname2 } from "node:path";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
119
119
  import { randomUUID as randomUUID2 } from "node:crypto";
120
120
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
121
121
  import { hostname as hostname2 } from "node:os";
122
122
  import { join as join3 } from "node:path";
123
123
 
124
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
124
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
125
125
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
126
126
  import { join as join2 } from "node:path";
127
127
 
128
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
128
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
129
129
  import { hostname } from "node:os";
130
130
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
131
131
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
170
170
  }
171
171
  }, "leaseOwnerStatus");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
173
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
174
174
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
175
175
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
176
176
  options.signal?.throwIfAborted();
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
229
229
  return { inspect, recover };
230
230
  }, "leaseInspection");
231
231
 
232
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
232
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
233
233
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
234
234
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
235
235
  let releasing;
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
254
254
  };
255
255
  }, "ownedNativeLease");
256
256
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
257
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
258
258
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
259
259
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
260
260
  const { markerDirectory, legacyMarker } = layout;
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
325
325
  };
326
326
  }, "nativeWriterLeaseStore");
327
327
 
328
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/lock.js
328
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/lock.js
329
329
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
330
330
  const folder = dirname2(path);
331
331
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
340
340
  });
341
341
  }, "acquireLock");
342
342
 
343
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
343
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
344
344
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
345
345
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
346
346
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -369,7 +369,7 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
369
369
  }
370
370
  }, "readBoundedUtf8File");
371
371
 
372
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-JMJIH6JH.js";
6
+ } from "./chunk-V2WXTILT.js";
7
7
  import {
8
8
  importFrom
9
9
  } from "./chunk-Y5E2WNWB.js";
@@ -11,7 +11,7 @@ import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
15
15
  import { spawn, spawnSync } from "node:child_process";
16
16
  import { readFileSync } from "node:fs";
17
17
  import { dirname } from "node:path";
@@ -7,20 +7,20 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-D7WB54P7.js";
10
+ } from "./chunk-HPSHQVJU.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-42G2XNPN.js";
13
+ } from "./chunk-D7KOAPG6.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
17
17
  refuseLacking
18
- } from "./chunk-WRAUO5EJ.js";
18
+ } from "./chunk-HPKE2GDP.js";
19
19
  import {
20
20
  onlineDeps,
21
21
  servicesFor,
22
22
  storeModeDeps
23
- } from "./chunk-O6K2E7OA.js";
23
+ } from "./chunk-XVZNFA2P.js";
24
24
  import {
25
25
  DEFAULT_OUTPUT_BYTES,
26
26
  ENTITIES,
@@ -35,45 +35,45 @@ import {
35
35
  refuseStoreChange,
36
36
  sealed,
37
37
  startRecording
38
- } from "./chunk-SIWXYB4E.js";
38
+ } from "./chunk-5PLINHEY.js";
39
39
  import {
40
40
  currentCaller,
41
41
  keepsSuccess,
42
42
  runContextOf,
43
43
  withCaller
44
- } from "./chunk-DA63E2UM.js";
44
+ } from "./chunk-P7HQFII6.js";
45
45
  import {
46
46
  authorityAllowed,
47
47
  botApiAllowed,
48
48
  keyForCommand,
49
49
  levelFor,
50
50
  readKeysForCommand
51
- } from "./chunk-F56DRBGY.js";
51
+ } from "./chunk-PKM55ZRR.js";
52
52
  import {
53
53
  MAX_BUFFERED_INPUT
54
- } from "./chunk-Z2ADO6UA.js";
54
+ } from "./chunk-H7XL6WTW.js";
55
55
  import {
56
56
  enclosingTraceId,
57
57
  inRun,
58
58
  newRunId,
59
59
  traceOf
60
- } from "./chunk-D6Z43SOG.js";
60
+ } from "./chunk-QJ57PV55.js";
61
61
  import {
62
62
  queryDescription
63
- } from "./chunk-ECEP4SO3.js";
63
+ } from "./chunk-GVA3KTCD.js";
64
64
  import {
65
65
  storeDamaged
66
- } from "./chunk-4AOINPN2.js";
66
+ } from "./chunk-O53WLYX3.js";
67
67
  import {
68
68
  captureStreams
69
- } from "./chunk-7AQGVX5O.js";
69
+ } from "./chunk-6X3KUFRQ.js";
70
70
  import {
71
71
  errorObjectOf,
72
72
  mcpErrorResult
73
- } from "./chunk-PLP5527C.js";
73
+ } from "./chunk-ALE67WRR.js";
74
74
  import {
75
75
  traceIdOf
76
- } from "./chunk-W2XY6C5S.js";
76
+ } from "./chunk-NYZS2LKF.js";
77
77
  import {
78
78
  COMPACT_FLAG,
79
79
  SNAKE_CASE,
@@ -110,25 +110,25 @@ import {
110
110
  unknown,
111
111
  word,
112
112
  writes
113
- } from "./chunk-TOVWMURV.js";
113
+ } from "./chunk-VQKNKJYL.js";
114
114
  import {
115
115
  CliError,
116
116
  errorCodes
117
- } from "./chunk-ELJUBPY4.js";
117
+ } from "./chunk-IIHZTV6V.js";
118
118
  import {
119
119
  __name
120
120
  } from "./chunk-ZVVMGPBJ.js";
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/mcp/agent.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/mcp/agent.js
123
123
  import { Readable } from "node:stream";
124
124
 
125
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
125
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
126
126
  var LINT_SEVERITIES = ["high", "medium", "low"];
127
127
  var lintRuleSchema = strictObject({
128
128
  id: word,
129
129
  severity: picklist(LINT_SEVERITIES),
130
130
  /** What the rule looks at; a violation's target names one of these. */
131
- scope: picklist(["command", "group", "argument", "option", "flag", "key", "source"]),
131
+ scope: picklist(["command", "group", "argument", "option", "flag", "key", "source", "type"]),
132
132
  summary: text
133
133
  });
134
134
  var defineLintRules = /* @__PURE__ */ __name((input) => parseRegistry("lint rules", array(lintRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineLintRules");
@@ -166,7 +166,7 @@ var LINT_RULES = defineLintRules([
166
166
  },
167
167
  {
168
168
  id: "command-example-count",
169
- severity: "medium",
169
+ severity: "low",
170
170
  scope: "command",
171
171
  summary: "a leaf command has one to three examples; generated commands are exempt"
172
172
  },
@@ -249,6 +249,12 @@ var LINT_RULES = defineLintRules([
249
249
  severity: "medium",
250
250
  scope: "source",
251
251
  summary: "every `http(s)://` host in the CLI's own source is in the manifest's `network.hosts`"
252
+ },
253
+ {
254
+ id: "result-shape",
255
+ severity: "medium",
256
+ scope: "type",
257
+ summary: "a list or search in the published TypeScript API returns `{ items, hasMore, nextOffset?, total? }`: no bare array, no `hits` or `has_more`"
252
258
  }
253
259
  ]);
254
260
  var baselineSchema = array(text);
@@ -262,7 +268,7 @@ var overrideSchema = strictObject({
262
268
  });
263
269
  var overridesSchema = array(overrideSchema);
264
270
 
265
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
271
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
266
272
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
267
273
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
268
274
  var AUDIT_RULES = defineAuditRules([
@@ -314,7 +320,9 @@ var parityGroupSchema = strictObject({
314
320
  absent: optional(word),
315
321
  /** The one CLI that has the path or flag by design; every other CLI compared must lack it. */
316
322
  only: optional(word),
317
- reason: pipe(text, minLength(10, "say why, in a sentence"))
323
+ reason: pipe(text, minLength(10, "say why, in a sentence")),
324
+ /** Warns from 14 days before and fails 14 days after, as a lint override does. */
325
+ review_after: optional(pipe(string(), isoDate("a date, YYYY-MM-DD")))
318
326
  }))
319
327
  });
320
328
  var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity groups", array(parityGroupSchema), input, (groups) => [
@@ -388,7 +396,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
388
396
  { path: ["upgrade"], meaning: "updates the CLI" }
389
397
  ]);
390
398
 
391
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
399
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
392
400
  var fieldRuleSchema = strictObject({ id: word, rule: text });
393
401
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
394
402
  var FIELD_RULES = defineFieldRules([
@@ -404,7 +412,7 @@ var FIELD_RULES = defineFieldRules([
404
412
  }
405
413
  ]);
406
414
 
407
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
415
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
408
416
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
409
417
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
410
418
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -426,7 +434,44 @@ var IDENTIFIERS = defineIdentifiers([
426
434
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
427
435
  ]);
428
436
 
429
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
437
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
438
+ var ACCOUNT_FLAGS = [
439
+ {
440
+ name: "--client-id",
441
+ value: "<id>",
442
+ role: "mode",
443
+ type: "id",
444
+ meaning: "sign in through the owner's own OAuth app with this client ID instead of WireCat's (WC-SECR-25)"
445
+ },
446
+ {
447
+ name: "--client-file",
448
+ value: "<file>",
449
+ role: "mode",
450
+ type: "path",
451
+ meaning: "sign in through the owner's own OAuth app read from this client JSON instead of WireCat's (WC-SECR-25)"
452
+ },
453
+ {
454
+ name: "--keep-data",
455
+ role: "mode",
456
+ type: "switch",
457
+ meaning: "remove the account but leave what the store holds of it, still searchable"
458
+ },
459
+ {
460
+ name: "--delete-data",
461
+ role: "mode",
462
+ type: "switch",
463
+ meaning: "remove the account and delete what the store and the tool's files hold of it"
464
+ },
465
+ {
466
+ name: "--answer-stdin",
467
+ role: "mode",
468
+ type: "switch",
469
+ meaning: "a sign-in step asks its question as a JSON line and reads the answer from stdin"
470
+ },
471
+ { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
472
+ ];
473
+
474
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
430
475
  var CALENDAR_FLAGS = [
431
476
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
432
477
  {
@@ -500,7 +545,7 @@ var CALENDAR_FLAGS = [
500
545
  }
501
546
  ];
502
547
 
503
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
548
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
504
549
  var CRM_FLAGS = [
505
550
  {
506
551
  name: "--pipeline",
@@ -650,7 +695,7 @@ var CRM_FLAGS = [
650
695
  }
651
696
  ];
652
697
 
653
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
698
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
654
699
  var HOW_FLAGS = [
655
700
  {
656
701
  name: "--limit",
@@ -877,7 +922,6 @@ var HOW_FLAGS = [
877
922
  meaning: "expose meeting preparation tools, including their remote schedule reads"
878
923
  },
879
924
  { name: "--dry-run", role: "mode", type: "switch", meaning: "judge and plan; do nothing", replaces: ["--estimate"] },
880
- { name: "--accept-terms", role: "mode", type: "switch", meaning: "accept the model's licence terms" },
881
925
  {
882
926
  name: "--as-owner",
883
927
  role: "mode",
@@ -1648,8 +1692,14 @@ var HOW_FLAGS = [
1648
1692
  }
1649
1693
  ];
1650
1694
 
1651
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1695
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1652
1696
  var KNOWLEDGE_FLAGS = [
1697
+ {
1698
+ name: "--accept-terms",
1699
+ role: "mode",
1700
+ type: "switch",
1701
+ meaning: "no longer needed; kept so older scripts still run"
1702
+ },
1653
1703
  {
1654
1704
  name: "--quote",
1655
1705
  value: "<ref=words...>",
@@ -1680,7 +1730,7 @@ var KNOWLEDGE_FLAGS = [
1680
1730
  }
1681
1731
  ];
1682
1732
 
1683
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1733
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1684
1734
  var MAIL_FLAGS = [
1685
1735
  {
1686
1736
  name: "--cc",
@@ -1710,7 +1760,7 @@ var MAIL_FLAGS = [
1710
1760
  }
1711
1761
  ];
1712
1762
 
1713
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1763
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1714
1764
  var PRIVACY_FLAGS = [
1715
1765
  {
1716
1766
  name: "--about-text",
@@ -1771,7 +1821,7 @@ var PRIVACY_FLAGS = [
1771
1821
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1772
1822
  ];
1773
1823
 
1774
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1824
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1775
1825
  var SCHEDULE_FLAGS = [
1776
1826
  {
1777
1827
  name: "--locale",
@@ -1804,7 +1854,7 @@ var SCHEDULE_FLAGS = [
1804
1854
  }
1805
1855
  ];
1806
1856
 
1807
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1857
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1808
1858
  var WHAT_FLAGS = [
1809
1859
  {
1810
1860
  name: "--analysis-provider",
@@ -2120,6 +2170,13 @@ var WHAT_FLAGS = [
2120
2170
  type: "list",
2121
2171
  meaning: "the agents to install for, comma-separated"
2122
2172
  },
2173
+ {
2174
+ name: "--from",
2175
+ value: "<person>",
2176
+ role: "target",
2177
+ type: "id",
2178
+ meaning: "a person: the one identities leave, or the one who sent it; a search takes it repeated for any of several"
2179
+ },
2123
2180
  {
2124
2181
  name: "--from-dir",
2125
2182
  value: "<dir>",
@@ -2794,7 +2851,7 @@ var WHAT_FLAGS = [
2794
2851
  }
2795
2852
  ];
2796
2853
 
2797
- // node_modules/.pnpm/@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2854
+ // node_modules/.pnpm/@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2798
2855
  var FLAG_TYPES = [
2799
2856
  "switch",
2800
2857
  "count",
@@ -2948,6 +3005,7 @@ var verbs = [
2948
3005
  "look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
2949
3006
  ],
2950
3007
  ["send", "send a message"],
3008
+ ["call", "call one provider API method by its own name, generated from the provider's method list"],
2951
3009
  ["edit", "change a sent message"],
2952
3010
  ["forward", "send an existing message on to another chat"],
2953
3011
  ["pin", "pin a message or chat"],
@@ -3154,6 +3212,7 @@ var views = [
3154
3212
  ["categories", "the categories a thing takes, with what each means"],
3155
3213
  ["domains", "the internet domains links point to, most linked first"],
3156
3214
  ["places", "the street addresses confirmed as places, most mentioned first"],
3215
+ ["mentions", "the people and organizations named in a selected thing's text"],
3157
3216
  ["comments", "replies attached to a selected source item"],
3158
3217
  ["links", "links held for a selected thing"],
3159
3218
  ["voters", "people whose recorded votes are visible for a selected poll"],
@@ -3202,6 +3261,7 @@ var VOCABULARY = defineVocabulary({
3202
3261
  ...HOW_FLAGS,
3203
3262
  ...WHAT_FLAGS,
3204
3263
  ...PRIVACY_FLAGS,
3264
+ ...ACCOUNT_FLAGS,
3205
3265
  ...CALENDAR_FLAGS,
3206
3266
  ...MAIL_FLAGS,
3207
3267
  ...KNOWLEDGE_FLAGS,
@@ -3210,7 +3270,7 @@ var VOCABULARY = defineVocabulary({
3210
3270
  ]
3211
3271
  });
3212
3272
 
3213
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3273
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3214
3274
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3215
3275
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3216
3276
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3320,6 +3380,9 @@ var fieldsOf = /* @__PURE__ */ __name((info, { omit = [], offline = false, stdin
3320
3380
  }, "fieldsOf");
3321
3381
  var schemaOf = /* @__PURE__ */ __name((fields) => object(Object.fromEntries(fields.map((field) => [field.name, field.required ? field.schema : optional(field.schema)]))), "schemaOf");
3322
3382
  var startsWith = /* @__PURE__ */ __name((path, prefix) => prefix.every((word2, at) => path[at] === word2), "startsWith");
3383
+ var keywordsOf = /* @__PURE__ */ __name((examples) => [
3384
+ ...new Set(examples.flatMap((example) => example.split(/\s+/u).filter((word2) => word2 !== "" && !word2.startsWith("-"))))
3385
+ ], "keywordsOf");
3323
3386
  var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
3324
3387
  const { root = [], exclude = [], levels, keyOf, authority, readOnly = false, permissions } = options;
3325
3388
  return flatten(commands).filter((info) => (
@@ -3331,6 +3394,7 @@ var toolsFromCommands = /* @__PURE__ */ __name((commands, options = {}) => {
3331
3394
  path: info.path,
3332
3395
  title: info.summary ?? info.description,
3333
3396
  description: info.description,
3397
+ ...info.examples?.length ? { keywords: keywordsOf(info.examples) } : {},
3334
3398
  writes: writes(info.effects) && options.fetchOnly?.(info.path) !== true,
3335
3399
  input: schemaOf(fieldsOf(info, options)),
3336
3400
  ...info.output ? { output: info.output } : {}
@@ -3433,7 +3497,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3433
3497
  }
3434
3498
  }, "runCommandForAgent");
3435
3499
 
3436
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3500
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3437
3501
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3438
3502
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3439
3503
  var message = pipe(
@@ -3692,7 +3756,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3692
3756
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3693
3757
  }, "failed");
3694
3758
 
3695
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3759
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3696
3760
  import { randomUUID } from "node:crypto";
3697
3761
  var MATCHES = 8;
3698
3762
  var ANSWER = answerSchema();
@@ -3714,15 +3778,43 @@ var listedAs = /* @__PURE__ */ __name((prefix, writes2) => {
3714
3778
  return { "~standard": { ...checked["~standard"], jsonSchema: shown } };
3715
3779
  }, "listedAs");
3716
3780
  var normal = /* @__PURE__ */ __name((command) => command.trim().toLowerCase().split(/[\s_-]+/).join(" "), "normal");
3717
- var haystack = /* @__PURE__ */ __name((command, one) => [command, one.title, one.description, ...Object.keys(one.input.entries)].join(" ").toLowerCase(), "haystack");
3781
+ var STOP_WORDS = new Set("a an the to of in on at by for from with into out about and or but is are be been was were it its this that these those which who whom whose what when where how do does did can could should would will my our your their his her them they we you i one some any all each every another other".split(" "));
3782
+ var wordsOf = /* @__PURE__ */ __name((text3) => text3.toLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), "wordsOf");
3783
+ var stem = /* @__PURE__ */ __name((word2) => {
3784
+ const bare = word2.replace(/'s$/u, "");
3785
+ if (bare.length > 4 && bare.endsWith("ies"))
3786
+ return `${bare.slice(0, -3)}y`;
3787
+ for (const ending of ["ing", "ed", "es", "s"])
3788
+ if (bare.length - ending.length >= 3 && bare.endsWith(ending))
3789
+ return bare.slice(0, -ending.length);
3790
+ return bare;
3791
+ }, "stem");
3792
+ var sameWord = /* @__PURE__ */ __name((asked, known) => {
3793
+ if (asked === known)
3794
+ return true;
3795
+ const [short, long] = asked.length <= known.length ? [asked, known] : [known, asked];
3796
+ return short.length >= 3 && long.startsWith(short);
3797
+ }, "sameWord");
3798
+ var fieldsOf2 = /* @__PURE__ */ __name((command, one) => [
3799
+ [4, [...wordsOf(command), ...(one.aliases ?? []).flatMap(wordsOf)]],
3800
+ [2, wordsOf(one.title)],
3801
+ [1, [...wordsOf(one.description), ...(one.keywords ?? []).flatMap(wordsOf), ...Object.keys(one.input.entries)]]
3802
+ ].map(([weight, words]) => [weight, [...new Set(words.map(stem))]]), "fieldsOf");
3718
3803
  var search = /* @__PURE__ */ __name((commands, query) => {
3719
- const words = query.toLowerCase().split(/\s+/).filter(Boolean);
3720
- return Object.entries(commands).filter(([command, one]) => words.every((word2) => haystack(command, one).includes(word2))).map((entry) => {
3721
- const parts = entry[0].split(/[\s-]/);
3722
- const exact = entry[0] === words.join(" ") ? 100 : 0;
3723
- const whole = words.filter((word2) => parts.includes(word2)).length * 10;
3724
- return { entry, rank: exact + whole + words.filter((word2) => entry[0].includes(word2)).length };
3725
- }).sort((a, b) => b.rank - a.rank || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
3804
+ const named = normal(query);
3805
+ const all = Object.entries(commands);
3806
+ if (!named)
3807
+ return all.map((entry) => entry).sort((a, b) => a[0].localeCompare(b[0]));
3808
+ const words = [
3809
+ ...new Set(wordsOf(query).filter((word2) => word2.length > 1 && !STOP_WORDS.has(word2)).map(stem))
3810
+ ];
3811
+ return all.map((entry) => {
3812
+ const fields = fieldsOf2(entry[0], entry[1]);
3813
+ const weights = words.map((word2) => fields.reduce((best, [weight, known]) => known.some((one) => sameWord(word2, one)) ? Math.max(best, weight) : best, 0));
3814
+ const matched = weights.filter((weight) => weight > 0).length;
3815
+ const exact = normal(entry[0]) === named || (entry[1].aliases ?? []).some((alias) => normal(alias) === named);
3816
+ return { entry, matched, rank: (exact ? 1e3 : 0) + matched * 10 + weights.reduce((a, b) => a + b, 0) };
3817
+ }).filter(({ matched, rank }) => matched > 0 || rank >= 1e3).sort((a, b) => b.rank - a.rank || a.entry[0].localeCompare(b.entry[0])).map(({ entry }) => entry);
3726
3818
  }, "search");
3727
3819
  var nearest = /* @__PURE__ */ __name((commands, asked) => {
3728
3820
  const words = normal(asked).split(" ");
@@ -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-ELJUBPY4.js";
5
+ } from "./chunk-IIHZTV6V.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/attachments/limits.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/attachments/limits.js
11
11
  var MAX_FILE_BYTES = 50 * 1024 * 1024;
12
12
  var MAX_TEXT_CHARS = 2e6;
13
13
  var ATTACHMENT_LIMIT_ENV = [
@@ -33,7 +33,7 @@ var pdfPreviewLimits = /* @__PURE__ */ __name((env = process.env) => {
33
33
  return { pixels, bytes: positive(env, "MESSAGING_PDF_PREVIEW_MAX_MIB", 8 * 1024 * 1024, 1024 * 1024) };
34
34
  }, "pdfPreviewLimits");
35
35
 
36
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/domain/google-documents.js
36
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/domain/google-documents.js
37
37
  var LINK = /https?:\/\/(?:(?:docs|drive|sheets|slides)\.google\.com|forms\.gle)(?:[/?#][^\s<>"'`]*)?/gi;
38
38
  var ID = /^[\w-]{10,}$/;
39
39
  var trimUrl = /* @__PURE__ */ __name((url) => {
@@ -8,22 +8,22 @@ import {
8
8
  XLSX,
9
9
  supported,
10
10
  tooManyEntries
11
- } from "./chunk-ZD4MB7NH.js";
11
+ } from "./chunk-XLGDNI4S.js";
12
12
  import {
13
13
  googleError
14
- } from "./chunk-NQRTKYJB.js";
14
+ } from "./chunk-5K54RZBK.js";
15
15
  import {
16
16
  extractText
17
- } from "./chunk-FBHSWQU7.js";
17
+ } from "./chunk-WYTYHUFH.js";
18
18
  import {
19
19
  MAX_TEXT_CHARS
20
- } from "./chunk-WVJHZIDH.js";
20
+ } from "./chunk-T3ULDA7C.js";
21
21
  import {
22
22
  importFrom
23
23
  } from "./chunk-Y5E2WNWB.js";
24
24
  import {
25
25
  CliError
26
- } from "./chunk-ELJUBPY4.js";
26
+ } from "./chunk-IIHZTV6V.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-Z2ADO6UA.js";
7
+ } from "./chunk-H7XL6WTW.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-ELJUBPY4.js";
10
+ } from "./chunk-IIHZTV6V.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.93.0_commander@15.0.0_esbuild@0.28.2_type_795ed7a67bda78d624888739490b3720/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.650.0_@wirecat+cli-base@0.98.0_commander@15.0.0_esbuild@0.28.2_type_7618ae642a1b316105e0e055c769f604/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;