@wirecat/drive-cli 0.64.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 (228) 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-BPPT2AK5.js → all-profiles-WCQLIHUG.js} +14 -13
  8. package/dist/bundle/{anthropic-JW6GOJUD.js → anthropic-5RJMB6O7.js} +32 -16
  9. package/dist/bundle/{app-server-KAQIOJMZ.js → app-server-3RGYXPKG.js} +72 -58
  10. package/dist/bundle/{bun-UT7GNTPV.js → bun-L34VEKGG.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-2OIVV3LS.js → bun-sqlite-H6IAXQXI.js} +12 -8
  12. package/dist/bundle/chunk-2AF77WMH.js +13 -0
  13. package/dist/bundle/{chunk-KVW4XNKB.js → chunk-2S3E2HVV.js} +107 -48
  14. package/dist/bundle/{chunk-IX7NQJLY.js → chunk-3NYH756U.js} +49 -116
  15. package/dist/bundle/chunk-3QFUDXMQ.js +53 -0
  16. package/dist/bundle/{chunk-5ZBR55US.js → chunk-3SDJIMZB.js} +1 -1
  17. package/dist/bundle/{chunk-AHB4OJCI.js → chunk-4UHBJSMI.js} +21735 -27143
  18. package/dist/bundle/chunk-5HVJK3ZJ.js +101 -0
  19. package/dist/bundle/{chunk-GSMYXGFR.js → chunk-5K54RZBK.js} +13 -5
  20. package/dist/bundle/{chunk-LOMW6F2E.js → chunk-5PLINHEY.js} +5403 -4847
  21. package/dist/bundle/{chunk-J62DI53V.js → chunk-5VDVGDOC.js} +1 -1
  22. package/dist/bundle/{chunk-66AF4FBW.js → chunk-5XLU4NN6.js} +4 -4
  23. package/dist/bundle/{chunk-4CNTID2X.js → chunk-6UJCCOZC.js} +4 -4
  24. package/dist/bundle/{chunk-G4KEKKDE.js → chunk-6X3KUFRQ.js} +60 -29
  25. package/dist/bundle/{chunk-QEAD2LF4.js → chunk-7EP4AU6A.js} +3 -3
  26. package/dist/bundle/{chunk-ZRZ4HTCK.js → chunk-7LT2G5BC.js} +171 -174
  27. package/dist/bundle/{chunk-2W464HAE.js → chunk-7ZGJRVBH.js} +7 -5
  28. package/dist/bundle/{chunk-FXBHOCJK.js → chunk-ADLS6FVG.js} +1 -1
  29. package/dist/bundle/{chunk-KG2XKEHL.js → chunk-ALE67WRR.js} +5 -5
  30. package/dist/bundle/{chunk-ZSZJLJIA.js → chunk-AP4MX247.js} +38 -28
  31. package/dist/bundle/{chunk-EWGVDFPT.js → chunk-BIJW6AYA.js} +41873 -36466
  32. package/dist/bundle/{chunk-B7XBIOMR.js → chunk-BQXSE645.js} +16 -16
  33. package/dist/bundle/{chunk-F2VDAG32.js → chunk-COGWKO2T.js} +3 -3
  34. package/dist/bundle/{chunk-EZ6O3ST3.js → chunk-D4MIMH2N.js} +12 -6
  35. package/dist/bundle/{chunk-4YRENUB5.js → chunk-D7KOAPG6.js} +2 -2
  36. package/dist/bundle/chunk-E2F2XIX6.js +224 -0
  37. package/dist/bundle/{chunk-36GPBPWM.js → chunk-FA2TNA5X.js} +3 -1
  38. package/dist/bundle/{chunk-SIOIMO62.js → chunk-FHBTQPA3.js} +69 -63
  39. package/dist/bundle/{chunk-34BIDKF4.js → chunk-FKKPVPZR.js} +649 -212
  40. package/dist/bundle/chunk-G4TNKBDX.js +185 -0
  41. package/dist/bundle/{chunk-2FEZ24DK.js → chunk-GVA3KTCD.js} +20 -20
  42. package/dist/bundle/chunk-GY4DAJSK.js +167 -0
  43. package/dist/bundle/{chunk-5OFA5EXE.js → chunk-H7XL6WTW.js} +2 -2
  44. package/dist/bundle/{chunk-K6BSB53R.js → chunk-HHRJPLFO.js} +1 -1
  45. package/dist/bundle/{chunk-P7DEGRZA.js → chunk-HPKE2GDP.js} +49 -28
  46. package/dist/bundle/{chunk-QXCKJUZY.js → chunk-HPSHQVJU.js} +633 -465
  47. package/dist/bundle/{chunk-BEZJA44H.js → chunk-HQBLJLYH.js} +7 -7
  48. package/dist/bundle/{chunk-JRXFW7HE.js → chunk-I5R5CMQR.js} +5 -5
  49. package/dist/bundle/{chunk-EJ4PNHPP.js → chunk-IIHZTV6V.js} +1 -1
  50. package/dist/bundle/{chunk-G3NULXOM.js → chunk-IRNDYNQX.js} +4 -4
  51. package/dist/bundle/{chunk-N622LRPM.js → chunk-JCHF7LZT.js} +4 -4
  52. package/dist/bundle/{chunk-WWCYTMAV.js → chunk-JHMEETXI.js} +2 -2
  53. package/dist/bundle/{chunk-ZF6GUZCE.js → chunk-JLCR24UM.js} +1 -1
  54. package/dist/bundle/{chunk-IDAK4DDK.js → chunk-JQXK3M5M.js} +1 -1
  55. package/dist/bundle/{chunk-KIN6PDFE.js → chunk-KOY5HUBY.js} +14 -5
  56. package/dist/bundle/{chunk-5HSRQ53R.js → chunk-KRG5X5PH.js} +2 -2
  57. package/dist/bundle/{chunk-VIJ6ACYB.js → chunk-LVAPSAHF.js} +8 -8
  58. package/dist/bundle/{chunk-OEVHZOHC.js → chunk-M7543RUJ.js} +50 -18
  59. package/dist/bundle/{chunk-BZ2ZKILM.js → chunk-MZWXTJ4O.js} +3 -3
  60. package/dist/bundle/{chunk-EC2XGDKJ.js → chunk-NK4GVFJH.js} +4 -4
  61. package/dist/bundle/chunk-NYECVHFH.js +10283 -0
  62. package/dist/bundle/{chunk-HW4UPST2.js → chunk-NYZS2LKF.js} +2 -2
  63. package/dist/bundle/chunk-O53WLYX3.js +72 -0
  64. package/dist/bundle/{chunk-IK6KH3RE.js → chunk-OIF4B526.js} +1 -1
  65. package/dist/bundle/{chunk-UJR272CP.js → chunk-OT7SQQJK.js} +359 -903
  66. package/dist/bundle/chunk-OZOQLAWK.js +72 -0
  67. package/dist/bundle/{chunk-VT2UFYPJ.js → chunk-P7HQFII6.js} +22 -15
  68. package/dist/bundle/{chunk-6G53ZFUT.js → chunk-PJGOQSE5.js} +1 -1
  69. package/dist/bundle/{chunk-OH3K2E7X.js → chunk-PKM55ZRR.js} +704 -1214
  70. package/dist/bundle/{chunk-GW3U6OLD.js → chunk-PUMDOCAF.js} +1 -1
  71. package/dist/bundle/{chunk-EQEGJVO2.js → chunk-QF7VL4C3.js} +1 -1
  72. package/dist/bundle/{chunk-CPMRM3GQ.js → chunk-QJ57PV55.js} +1941 -662
  73. package/dist/bundle/{chunk-O2QO5UZC.js → chunk-QSELSDWE.js} +13 -13
  74. package/dist/bundle/{chunk-BEUAICUD.js → chunk-SOOU5WO6.js} +2 -2
  75. package/dist/bundle/{chunk-46CD64J2.js → chunk-SZ6JFOL4.js} +269 -64
  76. package/dist/bundle/{chunk-UD55VB2N.js → chunk-T3ULDA7C.js} +3 -3
  77. package/dist/bundle/{chunk-E2LBCCTG.js → chunk-TAHISPDE.js} +5 -5
  78. package/dist/bundle/{chunk-6B37XO6B.js → chunk-TYLEICTX.js} +3 -3
  79. package/dist/bundle/{chunk-TNV2FXVK.js → chunk-UAKX6DP4.js} +5 -5
  80. package/dist/bundle/{chunk-VPLFD5RJ.js → chunk-UG3GHFGY.js} +4 -4
  81. package/dist/bundle/{chunk-B67BLRAI.js → chunk-ULXEW6FT.js} +3 -60
  82. package/dist/bundle/{chunk-C7WBNOYW.js → chunk-UNTIVT47.js} +26 -2
  83. package/dist/bundle/chunk-UQPW42HF.js +18 -0
  84. package/dist/bundle/{chunk-USLZE36C.js → chunk-V2WXTILT.js} +6 -6
  85. package/dist/bundle/{chunk-BDYWZ7JE.js → chunk-VQKNKJYL.js} +46 -7
  86. package/dist/bundle/{chunk-XPXKD63J.js → chunk-VR3YKXHL.js} +93 -31
  87. package/dist/bundle/{chunk-UIEA6FIV.js → chunk-VUUPFDRU.js} +27 -28
  88. package/dist/bundle/{chunk-KE4XPPRQ.js → chunk-WYTYHUFH.js} +1750 -138
  89. package/dist/bundle/{chunk-PBMSBCVB.js → chunk-XLGDNI4S.js} +1 -1
  90. package/dist/bundle/{chunk-3J5KAFNA.js → chunk-XVZNFA2P.js} +4935 -3623
  91. package/dist/bundle/chunk-Y5U4HIZS.js +71 -0
  92. package/dist/bundle/chunk-YTIPTHEE.js +47 -0
  93. package/dist/bundle/cli-KW6QQVS5.js +1101 -0
  94. package/dist/bundle/command-contract-CE543JBN.js +41 -0
  95. package/dist/bundle/command-server-entry-OC4E4DED.js +171 -0
  96. package/dist/bundle/{decode-HTOQ6S3V.js → decode-AH5ZLLDK.js} +8 -8
  97. package/dist/bundle/{dispatch-SH5SP6LA.js → dispatch-CDWZZ54Q.js} +9 -9
  98. package/dist/bundle/drive.js +13 -13
  99. package/dist/bundle/{echarts-KFHB6SLX.js → echarts-VC7MTXWY.js} +2 -2
  100. package/dist/bundle/{embed-YATFB2PN.js → embed-EPSQY6QG.js} +9 -9
  101. package/dist/bundle/{embedder-MQPDFGTJ.js → embedder-TK4U4TJR.js} +12 -12
  102. package/dist/bundle/entry-3VN23M7M.js +25 -0
  103. package/dist/bundle/{failure-4FQL4XJI.js → failure-WSVZOPFE.js} +4 -4
  104. package/dist/bundle/first-run-7ZYJ7EB3.js +30 -0
  105. package/dist/bundle/first-screen-CZDH7QY3.js +39 -0
  106. package/dist/bundle/google-OBZMWA7J.js +45 -0
  107. package/dist/bundle/{google-api-QMFGCXBM.js → google-api-AV4X2JH3.js} +68 -57
  108. package/dist/bundle/grants-WTRLN4ZI.js +111 -0
  109. package/dist/bundle/{identity-FYVDK4M2.js → identity-CGHHF7AK.js} +8 -6
  110. package/dist/bundle/{instructions-D3GF3B7M.js → instructions-24PHDBBE.js} +1 -1
  111. package/dist/bundle/{login-COFZ2IWP.js → login-XHFESAFM.js} +73 -64
  112. package/dist/bundle/{mcp-RKJG22KM.js → mcp-M5YCSWJJ.js} +2 -2
  113. package/dist/bundle/{node-OFICOKX3.js → node-GIDULTV5.js} +2 -2
  114. package/dist/bundle/{node-KM3CUABH.js → node-P4E63KXA.js} +9 -9
  115. package/dist/bundle/{node-sqlite-DNBTDOXD.js → node-sqlite-LINBOAWK.js} +13 -9
  116. package/dist/bundle/oauth-JHUX3KE3.js +22 -0
  117. package/dist/bundle/{open-PTPR2YWX.js → open-RYFKPNCJ.js} +8 -8
  118. package/dist/bundle/{openai-2KV5LUW4.js → openai-Q7YYUHJF.js} +28 -42
  119. package/dist/bundle/{process-EAW6NST2.js → process-VPIZTIJR.js} +1 -1
  120. package/dist/bundle/{program-6UV5Q5YN.js → program-IUXFRBZA.js} +419 -604
  121. package/dist/bundle/{prompt-634TPMJK.js → prompt-LF4KX3XL.js} +8 -8
  122. package/dist/bundle/{reasons-DDWCEYSQ.js → reasons-JPYOU5GV.js} +5 -5
  123. package/dist/bundle/{recognize-SJO6QUDW.js → recognize-KEWTJXFH.js} +7 -7
  124. package/dist/bundle/{remote-6JXZITKF.js → remote-HGGLB76S.js} +13 -10
  125. package/dist/bundle/{rerank-MD5VOPQ6.js → rerank-TDUKETFT.js} +10 -10
  126. package/dist/bundle/{serve-LZTROA2M.js → serve-XFYMKW5W.js} +12 -12
  127. package/dist/bundle/server-BDEV3CZJ.js +74 -0
  128. package/dist/bundle/{server-NSA3UAFY.js → server-PXIPSGFP.js} +48 -44
  129. package/dist/bundle/{services-F5A6XQCV.js → services-2BOCGMJU.js} +111 -41
  130. package/dist/bundle/{sqlite-runtime-7YF6REKS.js → sqlite-runtime-R7M5XUMW.js} +9 -9
  131. package/dist/bundle/{start-MUFLE6FA.js → start-YRLT4MQZ.js} +7 -7
  132. package/dist/bundle/{state-UC54F3YZ.js → state-NZ7WRJWH.js} +9 -9
  133. package/dist/bundle/{store-F5FJGWMR.js → store-7LCVDO7G.js} +63 -28
  134. package/dist/bundle/{store-J53YNAH6.js → store-ICDGPSEN.js} +27 -18
  135. package/dist/bundle/store-maintenance-command-SJPLY6IH.js +65 -0
  136. package/dist/bundle/tokens-FGTBE7VW.js +111 -0
  137. package/dist/commands/config.d.ts.map +1 -1
  138. package/dist/commands/config.js +6 -5
  139. package/dist/commands/config.js.map +1 -1
  140. package/dist/commands/context.d.ts +4 -2
  141. package/dist/commands/context.d.ts.map +1 -1
  142. package/dist/commands/context.js.map +1 -1
  143. package/dist/commands/discovery.d.ts +0 -1
  144. package/dist/commands/discovery.d.ts.map +1 -1
  145. package/dist/commands/discovery.js +6 -26
  146. package/dist/commands/discovery.js.map +1 -1
  147. package/dist/commands/documents.d.ts +2 -0
  148. package/dist/commands/documents.d.ts.map +1 -1
  149. package/dist/commands/documents.js +39 -3
  150. package/dist/commands/documents.js.map +1 -1
  151. package/dist/commands/knowledge.d.ts.map +1 -1
  152. package/dist/commands/knowledge.js +7 -6
  153. package/dist/commands/knowledge.js.map +1 -1
  154. package/dist/commands/search.d.ts.map +1 -1
  155. package/dist/commands/search.js +11 -8
  156. package/dist/commands/search.js.map +1 -1
  157. package/dist/config.d.ts +14 -0
  158. package/dist/config.d.ts.map +1 -1
  159. package/dist/config.js +35 -4
  160. package/dist/config.js.map +1 -1
  161. package/dist/contract-overrides.d.ts +16 -4
  162. package/dist/contract-overrides.d.ts.map +1 -1
  163. package/dist/contract-overrides.js +86 -410
  164. package/dist/contract-overrides.js.map +1 -1
  165. package/dist/documents-add.d.ts +49 -0
  166. package/dist/documents-add.d.ts.map +1 -0
  167. package/dist/documents-add.js +122 -0
  168. package/dist/documents-add.js.map +1 -0
  169. package/dist/errors.d.ts +1 -0
  170. package/dist/errors.d.ts.map +1 -1
  171. package/dist/errors.js +13 -1
  172. package/dist/errors.js.map +1 -1
  173. package/dist/google-api.d.ts.map +1 -1
  174. package/dist/google-api.js +4 -1
  175. package/dist/google-api.js.map +1 -1
  176. package/dist/identity.d.ts +4 -0
  177. package/dist/identity.d.ts.map +1 -1
  178. package/dist/identity.js +22 -0
  179. package/dist/identity.js.map +1 -1
  180. package/dist/knowledge.d.ts +1 -1
  181. package/dist/knowledge.d.ts.map +1 -1
  182. package/dist/knowledge.js +17 -19
  183. package/dist/knowledge.js.map +1 -1
  184. package/dist/login.d.ts.map +1 -1
  185. package/dist/login.js +2 -2
  186. package/dist/login.js.map +1 -1
  187. package/dist/model.d.ts +3 -0
  188. package/dist/model.d.ts.map +1 -1
  189. package/dist/model.js.map +1 -1
  190. package/dist/program.d.ts.map +1 -1
  191. package/dist/program.js +30 -21
  192. package/dist/program.js.map +1 -1
  193. package/dist/reasons.d.ts.map +1 -1
  194. package/dist/reasons.js +25 -1
  195. package/dist/reasons.js.map +1 -1
  196. package/dist/store-transition.js +2 -2
  197. package/dist/store-transition.js.map +1 -1
  198. package/dist/store.d.ts.map +1 -1
  199. package/dist/store.js +27 -7
  200. package/dist/store.js.map +1 -1
  201. package/dist/tokens.d.ts +9 -2
  202. package/dist/tokens.d.ts.map +1 -1
  203. package/dist/tokens.js +18 -15
  204. package/dist/tokens.js.map +1 -1
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/dist/wcat.d.ts +3 -0
  208. package/dist/wcat.d.ts.map +1 -0
  209. package/dist/wcat.js +4 -0
  210. package/dist/wcat.js.map +1 -0
  211. package/package.json +8 -8
  212. package/dist/bundle/chunk-3NULZGQU.js +0 -27
  213. package/dist/bundle/chunk-DD7EFG6B.js +0 -35
  214. package/dist/bundle/chunk-M73NNJ3X.js +0 -26
  215. package/dist/bundle/chunk-SBZB7HMU.js +0 -1055
  216. package/dist/bundle/command-contract-H5OYJOPF.js +0 -38
  217. package/dist/bundle/dist-PY3MVR3G.js +0 -21
  218. package/dist/bundle/entry-YZBB647C.js +0 -22
  219. package/dist/bundle/first-run-5JT3UQZB.js +0 -30
  220. package/dist/bundle/first-screen-BEMDEWO7.js +0 -36
  221. package/dist/bundle/google-DVADVICN.js +0 -36
  222. package/dist/bundle/grants-WKB2E4TA.js +0 -103
  223. package/dist/bundle/oauth-PDQHWFBF.js +0 -22
  224. package/dist/bundle/server-GT7X666D.js +0 -69
  225. package/dist/bundle/store-maintenance-command-GJVXLBAB.js +0 -58
  226. package/dist/bundle/tokens-H2EJKGA5.js +0 -101
  227. package/dist/bundle/{chunk-SW6C6WH5.js → chunk-HVJJWJYQ.js} +0 -0
  228. package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-CE73EWJ2.js} +3 -3
package/dist/bin/drive.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.64.0\n")
12
+ process.stdout.write("0.66.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -28,7 +28,7 @@ if (
28
28
  : next(specifier, context),
29
29
  })
30
30
  }
31
- const chunks = ["../bundle/all-profiles-BPPT2AK5.js","../bundle/anthropic-JW6GOJUD.js","../bundle/app-server-KAQIOJMZ.js","../bundle/bun-UT7GNTPV.js","../bundle/bun-sqlite-2OIVV3LS.js","../bundle/command-contract-H5OYJOPF.js","../bundle/decode-HTOQ6S3V.js","../bundle/dispatch-SH5SP6LA.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-KFHB6SLX.js","../bundle/embed-YATFB2PN.js","../bundle/embedder-MQPDFGTJ.js","../bundle/entry-YZBB647C.js","../bundle/failure-4FQL4XJI.js","../bundle/first-run-5JT3UQZB.js","../bundle/first-screen-BEMDEWO7.js","../bundle/google-DVADVICN.js","../bundle/google-api-QMFGCXBM.js","../bundle/grants-WKB2E4TA.js","../bundle/identity-FYVDK4M2.js","../bundle/instructions-D3GF3B7M.js","../bundle/login-COFZ2IWP.js","../bundle/mcp-RKJG22KM.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-KM3CUABH.js","../bundle/node-OFICOKX3.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-DNBTDOXD.js","../bundle/oauth-PDQHWFBF.js","../bundle/open-PTPR2YWX.js","../bundle/openai-2KV5LUW4.js","../bundle/process-EAW6NST2.js","../bundle/program-6UV5Q5YN.js","../bundle/prompt-634TPMJK.js","../bundle/reasons-DDWCEYSQ.js","../bundle/recognize-SJO6QUDW.js","../bundle/remote-6JXZITKF.js","../bundle/rerank-MD5VOPQ6.js","../bundle/serve-LZTROA2M.js","../bundle/server-GT7X666D.js","../bundle/server-NSA3UAFY.js","../bundle/services-F5A6XQCV.js","../bundle/sqlite-runtime-7YF6REKS.js","../bundle/start-MUFLE6FA.js","../bundle/state-UC54F3YZ.js","../bundle/store-F5FJGWMR.js","../bundle/store-J53YNAH6.js","../bundle/store-maintenance-command-GJVXLBAB.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-H2EJKGA5.js"]
31
+ const chunks = ["../bundle/all-profiles-WCQLIHUG.js","../bundle/anthropic-5RJMB6O7.js","../bundle/app-server-3RGYXPKG.js","../bundle/bun-L34VEKGG.js","../bundle/bun-sqlite-H6IAXQXI.js","../bundle/cli-KW6QQVS5.js","../bundle/command-contract-CE543JBN.js","../bundle/command-server-entry-OC4E4DED.js","../bundle/decode-AH5ZLLDK.js","../bundle/dispatch-CDWZZ54Q.js","../bundle/dist-MWTMOYWT.js","../bundle/echarts-VC7MTXWY.js","../bundle/embed-EPSQY6QG.js","../bundle/embedder-TK4U4TJR.js","../bundle/entry-3VN23M7M.js","../bundle/failure-WSVZOPFE.js","../bundle/first-run-7ZYJ7EB3.js","../bundle/first-screen-CZDH7QY3.js","../bundle/google-OBZMWA7J.js","../bundle/google-api-AV4X2JH3.js","../bundle/grants-WTRLN4ZI.js","../bundle/identity-CGHHF7AK.js","../bundle/instructions-24PHDBBE.js","../bundle/login-XHFESAFM.js","../bundle/mcp-M5YCSWJJ.js","../bundle/mdast-util-from-markdown-CE73EWJ2.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-GIDULTV5.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-LINBOAWK.js","../bundle/oauth-JHUX3KE3.js","../bundle/open-RYFKPNCJ.js","../bundle/openai-Q7YYUHJF.js","../bundle/process-VPIZTIJR.js","../bundle/program-IUXFRBZA.js","../bundle/prompt-LF4KX3XL.js","../bundle/reasons-JPYOU5GV.js","../bundle/recognize-KEWTJXFH.js","../bundle/remote-HGGLB76S.js","../bundle/rerank-TDUKETFT.js","../bundle/serve-XFYMKW5W.js","../bundle/server-BDEV3CZJ.js","../bundle/server-PXIPSGFP.js","../bundle/services-2BOCGMJU.js","../bundle/sqlite-runtime-R7M5XUMW.js","../bundle/start-YRLT4MQZ.js","../bundle/state-NZ7WRJWH.js","../bundle/store-7LCVDO7G.js","../bundle/store-ICDGPSEN.js","../bundle/store-maintenance-command-SJPLY6IH.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-FGTBE7VW.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -1 +1 @@
1
- {"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/bin/drive.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/F,oGAAoG;AACpG,kBAAkB,EAAE,CAAA;AACpB,mDAAmD;AACnD,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;IACvD,MAAM,CAAC,8BAA8B,CAAC;IACtC,MAAM,CAAC,gBAAgB,CAAC;CACzB,CAAC,CAAA;AACF,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC;IAC3B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,IAAI,EAAE,iDAAiD;CACxD,CAAC,CAAA;AACF,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;IAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC;KAAM,CAAC;IACN,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACvE,MAAM,CAAC,6BAA6B,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC;QACvB,MAAM,CAAC,gBAAgB,CAAC;KACzB,CAAC,CAAA;IAEF,MAAM,QAAQ,CAAC;QACb,GAAG,EAAE,SAAS;QACd,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,OAAO;QAChB,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CACnB,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YAC9C,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC;YACxC,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC;SAC1E,CAAC;QACJ,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACrB,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;YACnC,cAAc,CAAC,UAAU,CACvB,WAAW,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CACnG,CAAA;YACD,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;QAChC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
1
+ {"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/bin/drive.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/F,oGAAoG;AACpG,kBAAkB,EAAE,CAAA;AACpB,mDAAmD;AACnD,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;IAChE,MAAM,CAAC,8BAA8B,CAAC;IACtC,MAAM,CAAC,gBAAgB,CAAC;CACzB,CAAC,CAAA;AACF,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC;IAC3B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,OAAO,EAAE,SAAS,CAAC,OAAO;IAC1B,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,IAAI,EAAE,OAAO,CAAC,IAAI;CACnB,CAAC,CAAA;AACF,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;IAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC;KAAM,CAAC;IACN,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACvE,MAAM,CAAC,6BAA6B,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC;QACvB,MAAM,CAAC,gBAAgB,CAAC;KACzB,CAAC,CAAA;IAEF,MAAM,QAAQ,CAAC;QACb,GAAG,EAAE,SAAS;QACd,WAAW,EAAE,aAAa;QAC1B,OAAO,EAAE,OAAO;QAChB,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CACnB,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE;YAC9C,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC;YACxC,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC;SAC1E,CAAC;QACJ,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACrB,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;YACnC,cAAc,CAAC,UAAU,CACvB,WAAW,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CACnG,CAAA;YACD,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;QAChC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
package/dist/browse.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare const browseRow: v.StrictObjectSchema<{
14
14
  readonly added: v.BooleanSchema<undefined>;
15
15
  }, undefined>;
16
16
  export type BrowseRow = v.InferOutput<typeof browseRow>;
17
- export declare const BROWSE_HELP = "\nEach item, one level of the tree (--json prints them under \"items\"):\n id folder id to pass to --parent or to folders add; shared-with-me at the top level\n name folder name as Google shows it\n kind my_drive, shared_with_me or shared_drive (the top level), folder (below it)\n parent the --parent given, or null at the top level\n location where the folder lives: my_drive, shared_with_me or shared_drive\n drive_id the shared drive's id, or null\n child_folders folders directly inside it, or null when not counted (Shared with me, a level of over 1000 folders)\n added whether sync already imports this folder (folders add)\nFolders are listed by name. Only folders are listed; files inside them are not.\nFailures carry error.reason: oauth.missing (not signed in), oauth.expired (sign in again),\nprovider.rate-limited (retry later), not_found code (no such folder).";
17
+ export declare const BROWSE_HELP = "\nEach item, one level of the tree (--json prints them under \"items\"):\n id folder id to pass to --parent or to folders add; shared-with-me at the top level\n name folder name as Google shows it\n kind my_drive, shared_with_me or shared_drive (the top level), folder (below it)\n parent the --parent given, or null at the top level\n location where the folder lives: my_drive, shared_with_me or shared_drive\n drive_id the shared drive's id, or null\n child_folders folders directly inside it, or null when not counted (Shared with me, a level of over 1000 folders)\n added whether sync already imports this folder (folders add)\nFolders are listed by name. Only folders are listed; files inside them are not.\nFailures carry error.reason: session.missing (not signed in), oauth.expired (sign in again),\nprovider.rate-limited (retry later), not_found code (no such folder).";
18
18
  /** One level of the owner's remote folders, read-only: the top level, or the folders directly inside `parent`. */
19
19
  export declare const browseFolders: (call: Call, parent: string | undefined, selected: readonly string[]) => Promise<ListBody<BrowseRow>>;
20
20
  //# sourceMappingURL=browse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../src/browse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,0GAA0G;AAC1G,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAE9C,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;AAExF,eAAO,MAAM,SAAS;;;;;;;;;aASpB,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvD,eAAO,MAAM,WAAW,q7BAY8C,CAAA;AAyHtE,kHAAkH;AAClH,eAAO,MAAM,aAAa,SAClB,IAAI,UACF,MAAM,GAAG,SAAS,YAChB,SAAS,MAAM,EAAE,KAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAmC7B,CAAA"}
1
+ {"version":3,"file":"browse.d.ts","sourceRoot":"","sources":["../src/browse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,0GAA0G;AAC1G,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAE9C,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;AAExF,eAAO,MAAM,SAAS;;;;;;;;;aASpB,CAAA;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvD,eAAO,MAAM,WAAW,u7BAY8C,CAAA;AAyHtE,kHAAkH;AAClH,eAAO,MAAM,aAAa,SAClB,IAAI,UACF,MAAM,GAAG,SAAS,YAChB,SAAS,MAAM,EAAE,KAC1B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAmC7B,CAAA"}
package/dist/browse.js CHANGED
@@ -26,7 +26,7 @@ Each item, one level of the tree (--json prints them under "items"):
26
26
  child_folders folders directly inside it, or null when not counted (Shared with me, a level of over 1000 folders)
27
27
  added whether sync already imports this folder (folders add)
28
28
  Folders are listed by name. Only folders are listed; files inside them are not.
29
- Failures carry error.reason: oauth.missing (not signed in), oauth.expired (sign in again),
29
+ Failures carry error.reason: session.missing (not signed in), oauth.expired (sign in again),
30
30
  provider.rate-limited (retry later), not_found code (no such folder).`;
31
31
  const PAGE_BOUND = 1000;
32
32
  const COUNTED_LEVEL = 1000;
@@ -2,32 +2,33 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answeredWire
5
- } from "./chunk-ZF6GUZCE.js";
5
+ } from "./chunk-JLCR24UM.js";
6
6
  import {
7
7
  CALLER_META_KEY,
8
8
  PROXY_CLIENT_NAME,
9
9
  StdioServerTransport,
10
10
  callerOf,
11
11
  serveStdio
12
- } from "./chunk-4YRENUB5.js";
12
+ } from "./chunk-D7KOAPG6.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-VT2UFYPJ.js";
17
- import "./chunk-B67BLRAI.js";
18
- import "./chunk-SW6C6WH5.js";
19
- import "./chunk-G4KEKKDE.js";
20
- import "./chunk-KG2XKEHL.js";
16
+ import "./chunk-P7HQFII6.js";
17
+ import "./chunk-ULXEW6FT.js";
18
+ import "./chunk-O53WLYX3.js";
19
+ import "./chunk-HVJJWJYQ.js";
20
+ import "./chunk-6X3KUFRQ.js";
21
+ import "./chunk-ALE67WRR.js";
21
22
  import "./chunk-Y5E2WNWB.js";
22
- import "./chunk-IDAK4DDK.js";
23
- import "./chunk-HW4UPST2.js";
24
- import "./chunk-BDYWZ7JE.js";
25
- import "./chunk-EJ4PNHPP.js";
23
+ import "./chunk-JQXK3M5M.js";
24
+ import "./chunk-NYZS2LKF.js";
25
+ import "./chunk-VQKNKJYL.js";
26
+ import "./chunk-IIHZTV6V.js";
26
27
  import {
27
28
  __name
28
29
  } from "./chunk-ZVVMGPBJ.js";
29
30
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
31
+ // 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/all-profiles.js
31
32
  import { spawn } from "node:child_process";
32
33
  import { randomUUID } from "node:crypto";
33
34
  var PROTOCOL = "2025-06-18";
@@ -261,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
261
262
  }, "serveAllProfilesOverStdio");
262
263
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
263
264
  const { build, close } = allProfilesServer(options);
264
- const { serveOverHttp } = await import("./serve-LZTROA2M.js");
265
+ const { serveOverHttp } = await import("./serve-XFYMKW5W.js");
265
266
  const listening = await serveOverHttp(build, {
266
267
  ...http,
267
268
  appName: options.command,
@@ -1,32 +1,42 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
+ EmptyAnswer,
4
5
  checkedOptions,
5
6
  messagesFor,
6
7
  systemFor
7
- } from "./chunk-KIN6PDFE.js";
8
+ } from "./chunk-KOY5HUBY.js";
8
9
  import {
9
10
  Anthropic
10
- } from "./chunk-FXBHOCJK.js";
11
- import "./chunk-G4KEKKDE.js";
12
- import "./chunk-KG2XKEHL.js";
11
+ } from "./chunk-ADLS6FVG.js";
12
+ import "./chunk-6X3KUFRQ.js";
13
+ import "./chunk-ALE67WRR.js";
13
14
  import "./chunk-Y5E2WNWB.js";
14
- import "./chunk-IDAK4DDK.js";
15
- import "./chunk-HW4UPST2.js";
15
+ import "./chunk-JQXK3M5M.js";
16
+ import "./chunk-NYZS2LKF.js";
16
17
  import {
17
18
  array,
19
+ literal,
18
20
  optional,
21
+ picklist,
22
+ record,
19
23
  strictObject,
20
- string
21
- } from "./chunk-BDYWZ7JE.js";
22
- import "./chunk-EJ4PNHPP.js";
24
+ string,
25
+ unknown
26
+ } from "./chunk-VQKNKJYL.js";
27
+ import "./chunk-IIHZTV6V.js";
23
28
  import {
24
29
  __name
25
30
  } from "./chunk-ZVVMGPBJ.js";
26
31
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/models/anthropic.js
32
+ // 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/models/anthropic.js
28
33
  var options = strictObject({
29
- stop_sequences: optional(array(string()))
34
+ stop_sequences: optional(array(string())),
35
+ thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
36
+ output_config: optional(strictObject({
37
+ effort: optional(picklist(["low", "medium", "high"])),
38
+ format: optional(strictObject({ type: literal("json_schema"), schema: record(string(), unknown()) }))
39
+ }))
30
40
  });
31
41
  var anthropic = {
32
42
  images: true,
@@ -51,10 +61,13 @@ var anthropic = {
51
61
  ...request.images === void 0 ? [] : [
52
62
  {
53
63
  role: "user",
54
- content: request.images.map((image) => ({
55
- type: "image",
56
- source: { type: "base64", media_type: image.mimeType, data: image.data }
57
- }))
64
+ content: [
65
+ { type: "text", text: request.prompt },
66
+ ...request.images.map((image) => ({
67
+ type: "image",
68
+ source: { type: "base64", media_type: image.mimeType, data: image.data }
69
+ }))
70
+ ]
58
71
  }
59
72
  ]
60
73
  ],
@@ -62,8 +75,11 @@ var anthropic = {
62
75
  }).finalMessage();
63
76
  if (response.stop_reason !== "end_turn")
64
77
  throw new Error("incomplete response");
78
+ const text = response.content.filter((block) => block.type === "text").map((block) => block.text).join("");
79
+ if (text.trim() === "")
80
+ throw new EmptyAnswer();
65
81
  return {
66
- text: response.content.filter((block) => block.type === "text").map((block) => block.text).join(""),
82
+ text,
67
83
  usage: {
68
84
  input: response.usage.input_tokens + (response.usage.cache_creation_input_tokens ?? 0) + (response.usage.cache_read_input_tokens ?? 0),
69
85
  output: response.usage.output_tokens
@@ -3,34 +3,53 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-SIOIMO62.js";
7
- import {
8
- mcpUrlOf
9
- } from "./chunk-ZRZ4HTCK.js";
6
+ } from "./chunk-FHBTQPA3.js";
10
7
  import {
11
8
  answered,
12
9
  failed,
13
10
  registerCommands,
14
11
  runCommandForAgent,
15
12
  toolsFromCommands
16
- } from "./chunk-46CD64J2.js";
13
+ } from "./chunk-SZ6JFOL4.js";
14
+ import {
15
+ mcpUrlOf
16
+ } from "./chunk-7LT2G5BC.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-QXCKJUZY.js";
20
+ } from "./chunk-HPSHQVJU.js";
21
+ import {
22
+ appInstructions
23
+ } from "./chunk-3SDJIMZB.js";
21
24
  import {
22
25
  answeredWire
23
- } from "./chunk-ZF6GUZCE.js";
26
+ } from "./chunk-JLCR24UM.js";
24
27
  import {
25
28
  StdioServerTransport,
26
29
  serveStdio
27
- } from "./chunk-4YRENUB5.js";
30
+ } from "./chunk-D7KOAPG6.js";
28
31
  import {
29
32
  McpServer
30
33
  } from "./chunk-5D4AEUVA.js";
31
- import "./chunk-UJR272CP.js";
32
- import "./chunk-P7DEGRZA.js";
33
- import "./chunk-TNV2FXVK.js";
34
+ import "./chunk-OT7SQQJK.js";
35
+ import "./chunk-HPKE2GDP.js";
36
+ import "./chunk-XVZNFA2P.js";
37
+ import "./chunk-WYTYHUFH.js";
38
+ import "./chunk-QSELSDWE.js";
39
+ import "./chunk-JCHF7LZT.js";
40
+ import "./chunk-PJGOQSE5.js";
41
+ import {
42
+ mcpHttpMarker
43
+ } from "./chunk-6UJCCOZC.js";
44
+ import "./chunk-COGWKO2T.js";
45
+ import "./chunk-KOY5HUBY.js";
46
+ import "./chunk-D4MIMH2N.js";
47
+ import "./chunk-OZOQLAWK.js";
48
+ import "./chunk-2S3E2HVV.js";
49
+ import "./chunk-I5R5CMQR.js";
50
+ import "./chunk-5DPV7X27.js";
51
+ import "./chunk-UQPW42HF.js";
52
+ import "./chunk-UAKX6DP4.js";
34
53
  import {
35
54
  DEFAULT_OUTPUT_BYTES,
36
55
  changesAuthorityAt,
@@ -39,65 +58,58 @@ import {
39
58
  judgedTargets,
40
59
  readsOverMcpAt,
41
60
  rootOf2 as rootOf
42
- } from "./chunk-LOMW6F2E.js";
43
- import "./chunk-VT2UFYPJ.js";
44
- import "./chunk-VPLFD5RJ.js";
45
- import {
46
- mcpHttpMarker
47
- } from "./chunk-4CNTID2X.js";
48
- import "./chunk-F2VDAG32.js";
49
- import "./chunk-J62DI53V.js";
50
- import {
51
- appInstructions
52
- } from "./chunk-5ZBR55US.js";
53
- import "./chunk-3J5KAFNA.js";
54
- import "./chunk-KE4XPPRQ.js";
55
- import "./chunk-O2QO5UZC.js";
56
- import "./chunk-OH3K2E7X.js";
57
- import "./chunk-N622LRPM.js";
58
- import "./chunk-6G53ZFUT.js";
61
+ } from "./chunk-5PLINHEY.js";
62
+ import "./chunk-P7HQFII6.js";
63
+ import "./chunk-PKM55ZRR.js";
64
+ import "./chunk-5HVJK3ZJ.js";
65
+ import "./chunk-UG3GHFGY.js";
59
66
  import {
60
67
  readOnlyLockOf
61
- } from "./chunk-3NULZGQU.js";
62
- import "./chunk-KIN6PDFE.js";
63
- import "./chunk-EZ6O3ST3.js";
64
- import "./chunk-KVW4XNKB.js";
65
- import "./chunk-BZ2ZKILM.js";
66
- import "./chunk-JRXFW7HE.js";
67
- import "./chunk-5DPV7X27.js";
68
- import "./chunk-66AF4FBW.js";
69
- import "./chunk-EWGVDFPT.js";
70
- import "./chunk-UD55VB2N.js";
71
- import "./chunk-CPMRM3GQ.js";
72
- import "./chunk-2FEZ24DK.js";
73
- import "./chunk-B67BLRAI.js";
74
- import "./chunk-VIJ6ACYB.js";
75
- import "./chunk-BEZJA44H.js";
76
- import "./chunk-DD7EFG6B.js";
77
- import "./chunk-USLZE36C.js";
78
- import "./chunk-EQEGJVO2.js";
79
- import "./chunk-5OFA5EXE.js";
68
+ } from "./chunk-Y5U4HIZS.js";
69
+ import "./chunk-5VDVGDOC.js";
70
+ import "./chunk-GY4DAJSK.js";
71
+ import "./chunk-MZWXTJ4O.js";
72
+ import "./chunk-5XLU4NN6.js";
73
+ import "./chunk-H7XL6WTW.js";
74
+ import "./chunk-BIJW6AYA.js";
75
+ import "./chunk-T3ULDA7C.js";
76
+ import "./chunk-LVAPSAHF.js";
77
+ import "./chunk-V2WXTILT.js";
78
+ import "./chunk-QJ57PV55.js";
79
+ import "./chunk-GVA3KTCD.js";
80
+ import "./chunk-ULXEW6FT.js";
81
+ import "./chunk-O53WLYX3.js";
82
+ import "./chunk-HQBLJLYH.js";
83
+ import "./chunk-QF7VL4C3.js";
80
84
  import "./chunk-D72URWJE.js";
81
- import "./chunk-IK6KH3RE.js";
82
- import "./chunk-SW6C6WH5.js";
83
- import "./chunk-36GPBPWM.js";
84
- import "./chunk-G4KEKKDE.js";
85
+ import "./chunk-OIF4B526.js";
86
+ import "./chunk-HVJJWJYQ.js";
87
+ import "./chunk-FA2TNA5X.js";
88
+ import "./chunk-3QFUDXMQ.js";
89
+ import "./chunk-6X3KUFRQ.js";
85
90
  import {
86
91
  mcpErrorResult
87
- } from "./chunk-KG2XKEHL.js";
92
+ } from "./chunk-ALE67WRR.js";
88
93
  import "./chunk-Y5E2WNWB.js";
89
- import "./chunk-IDAK4DDK.js";
90
- import "./chunk-HW4UPST2.js";
91
- import "./chunk-BDYWZ7JE.js";
94
+ import "./chunk-JQXK3M5M.js";
95
+ import "./chunk-NYZS2LKF.js";
96
+ import "./chunk-VQKNKJYL.js";
92
97
  import {
93
98
  CliError
94
- } from "./chunk-EJ4PNHPP.js";
99
+ } from "./chunk-IIHZTV6V.js";
95
100
  import {
96
101
  __name
97
102
  } from "./chunk-ZVVMGPBJ.js";
98
103
 
99
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
104
+ // 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/app-server.js
100
105
  var EXCLUDED = [["mcp"]];
106
+ var aliasesOf = /* @__PURE__ */ __name((root, path) => {
107
+ let at = root;
108
+ for (const name of path)
109
+ at = at?.commands.find((child) => child.name() === name);
110
+ const aliases = at?.aliases() ?? [];
111
+ return aliases.length > 0 ? { aliases } : {};
112
+ }, "aliasesOf");
101
113
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
102
114
  const { app } = options;
103
115
  const root = rootOf(command);
@@ -134,6 +146,8 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
134
146
  {
135
147
  title: one.title,
136
148
  description: one.description,
149
+ ...one.keywords ? { keywords: one.keywords } : {},
150
+ ...aliasesOf(root, one.path),
137
151
  writes: one.writes,
138
152
  availability: availability(one),
139
153
  input: one.input,
@@ -214,7 +228,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
214
228
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
215
229
  const { app } = options;
216
230
  const { build } = createAppServer(command, context, options);
217
- const { serveOverHttp } = await import("./serve-LZTROA2M.js");
231
+ const { serveOverHttp } = await import("./serve-XFYMKW5W.js");
218
232
  const listening = await serveOverHttp(build, {
219
233
  ...http,
220
234
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-EQEGJVO2.js";
21
+ } from "./chunk-QF7VL4C3.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // 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/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,21 +3,24 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-5HSRQ53R.js";
7
- import "./chunk-G4KEKKDE.js";
8
- import "./chunk-KG2XKEHL.js";
6
+ } from "./chunk-KRG5X5PH.js";
7
+ import {
8
+ refuseOwnerStoreInTests
9
+ } from "./chunk-3QFUDXMQ.js";
10
+ import "./chunk-6X3KUFRQ.js";
11
+ import "./chunk-ALE67WRR.js";
9
12
  import {
10
13
  importFrom
11
14
  } from "./chunk-Y5E2WNWB.js";
12
- import "./chunk-IDAK4DDK.js";
13
- import "./chunk-HW4UPST2.js";
14
- import "./chunk-BDYWZ7JE.js";
15
- import "./chunk-EJ4PNHPP.js";
15
+ import "./chunk-JQXK3M5M.js";
16
+ import "./chunk-NYZS2LKF.js";
17
+ import "./chunk-VQKNKJYL.js";
18
+ import "./chunk-IIHZTV6V.js";
16
19
  import {
17
20
  __name
18
21
  } from "./chunk-ZVVMGPBJ.js";
19
22
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
23
+ // 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/store/drivers/bun-sqlite.js
21
24
  var customised = false;
22
25
  var ownLibrary = /* @__PURE__ */ __name(async () => {
23
26
  try {
@@ -40,6 +43,7 @@ var bunDatabase = /* @__PURE__ */ __name(async () => {
40
43
  }, "bunDatabase");
41
44
  var openWithBunSqlite = /* @__PURE__ */ __name(async (path) => cacheOverBunSqlite(await bunClient(path)), "openWithBunSqlite");
42
45
  var bunClient = /* @__PURE__ */ __name(async (path, options) => {
46
+ refuseOwnerStoreInTests(path);
43
47
  const Database = await bunDatabase();
44
48
  const extension = await vectorExtension();
45
49
  const client = options ? new Database(path, options) : new Database(path);
@@ -0,0 +1,13 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ __name
5
+ } from "./chunk-ZVVMGPBJ.js";
6
+
7
+ // 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/cli/command-server-argv.js
8
+ var COMMAND_SERVER_ARGV = ["commands", "--serve"];
9
+ var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
10
+
11
+ export {
12
+ isCommandServer
13
+ };