@wirecat/drive-cli 0.59.0 → 0.60.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 (156) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bin/drive.js.map +1 -1
  3. package/dist/bundle/{all-profiles-CVISDGMF.js → all-profiles-537I27Z4.js} +11 -11
  4. package/dist/bundle/{anthropic-WLNQC23G.js → anthropic-X4NWVHDF.js} +7 -7
  5. package/dist/bundle/{app-server-P2VOONXF.js → app-server-KSHJKKS7.js} +47 -47
  6. package/dist/bundle/{bun-CDFBNTKV.js → bun-WTBGGCUC.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-MNZICITP.js → bun-sqlite-T7Y3JFFD.js} +6 -6
  8. package/dist/bundle/{chunk-YV4ABH6J.js → chunk-22ATLSNK.js} +3 -3
  9. package/dist/bundle/{chunk-CBM2XAEZ.js → chunk-246P2DCT.js} +3 -3
  10. package/dist/bundle/{chunk-H2BKXPBL.js → chunk-3TQHIHZI.js} +2 -2
  11. package/dist/bundle/{chunk-IGF6EXBR.js → chunk-4CBZEAQ7.js} +32 -32
  12. package/dist/bundle/{chunk-L5SE2XZP.js → chunk-4VHBDVY2.js} +1 -1
  13. package/dist/bundle/{chunk-IIP43FQJ.js → chunk-4XZXH2NM.js} +1 -1
  14. package/dist/bundle/{chunk-UWVNRPT7.js → chunk-57QVQGBE.js} +21 -21
  15. package/dist/bundle/{chunk-A6SLYOP2.js → chunk-5AMRCBMP.js} +67 -34
  16. package/dist/bundle/{chunk-ZSMCJKGP.js → chunk-5XHLQZAG.js} +27 -26
  17. package/dist/bundle/{chunk-YADXWQHV.js → chunk-67QXMO2G.js} +25 -25
  18. package/dist/bundle/{chunk-36B7AIGP.js → chunk-6HTKB4WC.js} +1 -1
  19. package/dist/bundle/{chunk-5C7K6XIT.js → chunk-73MNUSP3.js} +1 -1
  20. package/dist/bundle/{chunk-3KNZADHJ.js → chunk-73TTP6ET.js} +431 -187
  21. package/dist/bundle/{chunk-IBZ3IBO4.js → chunk-77C5XRH3.js} +5 -5
  22. package/dist/bundle/{chunk-PGKIOSN3.js → chunk-77YTRBL6.js} +10 -10
  23. package/dist/bundle/{chunk-TI55J3BA.js → chunk-ALWTUDZF.js} +3 -3
  24. package/dist/bundle/{chunk-HWLLVLAB.js → chunk-AXWXQNTC.js} +13 -10
  25. package/dist/bundle/{chunk-P7WPYKSB.js → chunk-CKGHRWVR.js} +2 -2
  26. package/dist/bundle/{chunk-JW2CVCUH.js → chunk-D6WIWOQC.js} +3 -3
  27. package/dist/bundle/{chunk-A6EG7ZDS.js → chunk-DMHGWL5D.js} +12 -12
  28. package/dist/bundle/{chunk-FICVPYE4.js → chunk-DQDKLZAK.js} +47 -47
  29. package/dist/bundle/{chunk-JSDVK3JA.js → chunk-EHAI773E.js} +1 -1
  30. package/dist/bundle/{chunk-UQPKAY6I.js → chunk-FO4TCH6P.js} +1 -1
  31. package/dist/bundle/{chunk-GJ4ZCIOP.js → chunk-FTZNUZO7.js} +3 -3
  32. package/dist/bundle/{chunk-6C6255U6.js → chunk-FZOCQQ66.js} +11 -11
  33. package/dist/bundle/{chunk-EHEZSV6I.js → chunk-GD6TQ6U4.js} +8 -8
  34. package/dist/bundle/{chunk-XCOCPXCM.js → chunk-GVRS5AIH.js} +2 -2
  35. package/dist/bundle/{chunk-DI5Z4SH5.js → chunk-HCJG7ENG.js} +2 -2
  36. package/dist/bundle/{chunk-AD62XJKO.js → chunk-HFGR33KD.js} +24 -24
  37. package/dist/bundle/{chunk-K4LXGZTE.js → chunk-HQVIK6PM.js} +36 -18
  38. package/dist/bundle/{chunk-YU3PTU3D.js → chunk-IRZ7OF3F.js} +1 -1
  39. package/dist/bundle/{chunk-LJ7E4HLQ.js → chunk-IXN7Y6JA.js} +1 -1
  40. package/dist/bundle/{chunk-7QTVIZII.js → chunk-JGUJJNGZ.js} +790 -325
  41. package/dist/bundle/{chunk-FVQCM7IQ.js → chunk-JQLIM6BH.js} +4 -4
  42. package/dist/bundle/{chunk-BSGOM3BD.js → chunk-K6XVRA6U.js} +1 -1
  43. package/dist/bundle/{chunk-3VSUT6BD.js → chunk-KEXTTZJM.js} +2 -2
  44. package/dist/bundle/{chunk-V36RIXFA.js → chunk-LJ77Y3TK.js} +1 -1
  45. package/dist/bundle/{chunk-II7LST64.js → chunk-LQSRVQ3V.js} +3 -2
  46. package/dist/bundle/{chunk-OKXSTWKW.js → chunk-MVNPE5FZ.js} +7 -7
  47. package/dist/bundle/{chunk-M6I2SQN7.js → chunk-MXP35VPO.js} +2 -2
  48. package/dist/bundle/{chunk-TJXPJ3A5.js → chunk-N7S2UPF3.js} +135 -60
  49. package/dist/bundle/{chunk-3KJTJDDT.js → chunk-O37ESNAP.js} +17 -17
  50. package/dist/bundle/{chunk-EVETU3TF.js → chunk-OMKUBCNN.js} +7 -7
  51. package/dist/bundle/{chunk-MUUHUHWC.js → chunk-OYNUBWD2.js} +1 -22
  52. package/dist/bundle/{chunk-PAEVBAM3.js → chunk-PDYHEWKG.js} +4 -4
  53. package/dist/bundle/{chunk-EORMZCVF.js → chunk-PETFPXLU.js} +2 -2
  54. package/dist/bundle/{chunk-GI5JBGXH.js → chunk-PPL5ASW2.js} +613 -372
  55. package/dist/bundle/{chunk-B5GBJ35N.js → chunk-QIJWSKZL.js} +2 -2
  56. package/dist/bundle/{chunk-OZH4ALTI.js → chunk-S36HRPNS.js} +1 -1
  57. package/dist/bundle/{chunk-KFZUODXB.js → chunk-SBHSNOU4.js} +34 -18
  58. package/dist/bundle/{chunk-F3FOL42A.js → chunk-SZXI4OXX.js} +1 -1
  59. package/dist/bundle/{chunk-3U22QTU6.js → chunk-TKW4QWCY.js} +12 -0
  60. package/dist/bundle/{chunk-6CQO2FIN.js → chunk-TVQDMP2F.js} +391 -282
  61. package/dist/bundle/{chunk-GT5KTGCN.js → chunk-TXMTMEHW.js} +4 -4
  62. package/dist/bundle/{chunk-IADOBOKB.js → chunk-UNJE63JK.js} +1 -1
  63. package/dist/bundle/{chunk-HIOJRPCT.js → chunk-UTFATA4K.js} +1 -1
  64. package/dist/bundle/{chunk-LPHMAQJQ.js → chunk-UVLSWLPZ.js} +15 -15
  65. package/dist/bundle/{chunk-KPRGTTJH.js → chunk-UVYVIHEA.js} +1 -1
  66. package/dist/bundle/{chunk-MKCNUI72.js → chunk-V2VMBM7O.js} +1 -1
  67. package/dist/bundle/{chunk-QTM7USFA.js → chunk-V7QMHMR3.js} +5 -5
  68. package/dist/bundle/{chunk-TFH5X46A.js → chunk-VRW6ZDTH.js} +18 -18
  69. package/dist/bundle/{chunk-OMMEQJOB.js → chunk-XDIEQ2CE.js} +2 -2
  70. package/dist/bundle/{chunk-MEAPA4EZ.js → chunk-XFXRGQXJ.js} +2 -2
  71. package/dist/bundle/{chunk-HMZAMHKN.js → chunk-YDN2RH5S.js} +1 -1
  72. package/dist/bundle/{chunk-P3ZTW2ZM.js → chunk-YGG7UA3C.js} +4 -4
  73. package/dist/bundle/{chunk-VT6GZAF4.js → chunk-YYHKVOVK.js} +4 -4
  74. package/dist/bundle/{chunk-V42KAPU3.js → chunk-ZPQS7XJA.js} +3 -3
  75. package/dist/bundle/command-contract-NUIWUVYB.js +39 -0
  76. package/dist/bundle/{decode-XTOMXMGN.js → decode-35N57AFW.js} +6 -6
  77. package/dist/bundle/{dispatch-T6TW2JJB.js → dispatch-CWXZW3PL.js} +1 -1
  78. package/dist/bundle/drive.js +10 -10
  79. package/dist/bundle/{echarts-RKKIOYVV.js → echarts-3P3QZWMU.js} +2 -2
  80. package/dist/bundle/{embed-STHKKA6G.js → embed-Q6Q5IOJQ.js} +7 -7
  81. package/dist/bundle/{embedder-3XZEWHRO.js → embedder-D44JDTAA.js} +10 -10
  82. package/dist/bundle/{entry-CNOYSSSD.js → entry-ZHCNI7XO.js} +9 -9
  83. package/dist/bundle/{failure-DNQYXP2T.js → failure-GRMMSDCZ.js} +2 -2
  84. package/dist/bundle/{first-run-F2SI24PK.js → first-run-3DC2SDWM.js} +10 -10
  85. package/dist/bundle/first-screen-YJF4YODC.js +37 -0
  86. package/dist/bundle/{google-BYNSAIQI.js → google-6ZZDKFBN.js} +10 -10
  87. package/dist/bundle/{google-api-4VTZH7OP.js → google-api-E6MOJ4ZD.js} +52 -52
  88. package/dist/bundle/grants-GWXDH5GM.js +105 -0
  89. package/dist/bundle/{identity-ARDPFYV5.js → identity-TID7S5NE.js} +4 -4
  90. package/dist/bundle/{instructions-N3OH5X2Y.js → instructions-ANJN4HV3.js} +1 -1
  91. package/dist/bundle/{login-4VQEC7VI.js → login-BGMK2ABH.js} +59 -61
  92. package/dist/bundle/{node-YU5JBNAA.js → node-VOB45ES2.js} +2 -2
  93. package/dist/bundle/{node-sqlite-3C6PSBIW.js → node-sqlite-TSX6XQY2.js} +7 -7
  94. package/dist/bundle/{oauth-D6NJFPYU.js → oauth-CEOYXW6C.js} +8 -8
  95. package/dist/bundle/{open-M2V2VYXO.js → open-3USWHGNR.js} +6 -6
  96. package/dist/bundle/{openai-ST2IWNUX.js → openai-YZ5VGPIP.js} +14 -14
  97. package/dist/bundle/{process-PYNNBBTV.js → process-44JS2W7L.js} +1 -1
  98. package/dist/bundle/{program-Q4VWV2MR.js → program-TZLAFKJV.js} +99 -82
  99. package/dist/bundle/{prompt-MFIOJMAF.js → prompt-SG7LAOXW.js} +6 -6
  100. package/dist/bundle/{reasons-LOQ5J73F.js → reasons-ZK3U3CIN.js} +3 -3
  101. package/dist/bundle/{recognize-FBLMWXNE.js → recognize-OFW7HWTM.js} +5 -5
  102. package/dist/bundle/{remote-XC3OXE4T.js → remote-YBDRZQZ5.js} +8 -8
  103. package/dist/bundle/{rerank-2XMKKF4S.js → rerank-TQQNS5FJ.js} +8 -8
  104. package/dist/bundle/{serve-Q2BQHNZB.js → serve-OPZXMVLH.js} +10 -10
  105. package/dist/bundle/{server-42HPV3AH.js → server-2D6DDIK5.js} +39 -39
  106. package/dist/bundle/server-R6G2O772.js +70 -0
  107. package/dist/bundle/{services-WU22S2MU.js → services-34WKT3NN.js} +29 -27
  108. package/dist/bundle/{sqlite-runtime-CSO6K6B2.js → sqlite-runtime-WPUMKLUV.js} +7 -7
  109. package/dist/bundle/{start-TZWKM4AH.js → start-ZXUJZ4JV.js} +1 -1
  110. package/dist/bundle/{state-FLUT7U7R.js → state-AV2RB3AQ.js} +7 -7
  111. package/dist/bundle/{store-TG6622NG.js → store-3M7N2Q5T.js} +15 -15
  112. package/dist/bundle/{store-HDWMJ44E.js → store-YKV4GAMS.js} +25 -19
  113. package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +60 -0
  114. package/dist/bundle/tokens-F63RXXEF.js +103 -0
  115. package/dist/commands/config.d.ts.map +1 -1
  116. package/dist/commands/config.js +14 -5
  117. package/dist/commands/config.js.map +1 -1
  118. package/dist/commands/context.d.ts +4 -2
  119. package/dist/commands/context.d.ts.map +1 -1
  120. package/dist/commands/context.js.map +1 -1
  121. package/dist/commands/session.d.ts.map +1 -1
  122. package/dist/commands/session.js +5 -2
  123. package/dist/commands/session.js.map +1 -1
  124. package/dist/config.d.ts +7 -0
  125. package/dist/config.d.ts.map +1 -1
  126. package/dist/config.js +22 -3
  127. package/dist/config.js.map +1 -1
  128. package/dist/errors.js +4 -4
  129. package/dist/errors.js.map +1 -1
  130. package/dist/login.d.ts.map +1 -1
  131. package/dist/login.js +3 -5
  132. package/dist/login.js.map +1 -1
  133. package/dist/program.d.ts.map +1 -1
  134. package/dist/program.js +5 -1
  135. package/dist/program.js.map +1 -1
  136. package/dist/reasons.d.ts +1 -1
  137. package/dist/reasons.d.ts.map +1 -1
  138. package/dist/reasons.js +1 -22
  139. package/dist/reasons.js.map +1 -1
  140. package/dist/registry.d.ts +1 -1
  141. package/dist/registry.d.ts.map +1 -1
  142. package/dist/registry.js +2 -1
  143. package/dist/registry.js.map +1 -1
  144. package/dist/tokens.js +5 -5
  145. package/dist/tokens.js.map +1 -1
  146. package/dist/upload.js +1 -1
  147. package/dist/upload.js.map +1 -1
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +2 -2
  151. package/dist/bundle/command-contract-LQDNHZJU.js +0 -39
  152. package/dist/bundle/first-screen-TYYF6VXY.js +0 -37
  153. package/dist/bundle/grants-EUQXSICG.js +0 -105
  154. package/dist/bundle/server-EWZYN323.js +0 -70
  155. package/dist/bundle/store-maintenance-command-RHWRUREJ.js +0 -60
  156. package/dist/bundle/tokens-TXYURU4S.js +0 -103
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.59.0\n")
12
+ process.stdout.write("0.60.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-CVISDGMF.js","../bundle/anthropic-WLNQC23G.js","../bundle/app-server-P2VOONXF.js","../bundle/bun-CDFBNTKV.js","../bundle/bun-sqlite-MNZICITP.js","../bundle/command-contract-LQDNHZJU.js","../bundle/decode-XTOMXMGN.js","../bundle/dispatch-T6TW2JJB.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-RKKIOYVV.js","../bundle/embed-STHKKA6G.js","../bundle/embedder-3XZEWHRO.js","../bundle/entry-CNOYSSSD.js","../bundle/failure-DNQYXP2T.js","../bundle/first-run-F2SI24PK.js","../bundle/first-screen-TYYF6VXY.js","../bundle/google-BYNSAIQI.js","../bundle/google-api-4VTZH7OP.js","../bundle/grants-EUQXSICG.js","../bundle/identity-ARDPFYV5.js","../bundle/instructions-N3OH5X2Y.js","../bundle/login-4VQEC7VI.js","../bundle/mcp-WBHKX5E3.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-TLZSIHIJ.js","../bundle/node-YU5JBNAA.js","../bundle/node-sqlite-3C6PSBIW.js","../bundle/oauth-D6NJFPYU.js","../bundle/open-M2V2VYXO.js","../bundle/openai-ST2IWNUX.js","../bundle/process-PYNNBBTV.js","../bundle/program-Q4VWV2MR.js","../bundle/prompt-MFIOJMAF.js","../bundle/reasons-LOQ5J73F.js","../bundle/recognize-FBLMWXNE.js","../bundle/remote-XC3OXE4T.js","../bundle/rerank-2XMKKF4S.js","../bundle/serve-Q2BQHNZB.js","../bundle/server-42HPV3AH.js","../bundle/server-EWZYN323.js","../bundle/services-WU22S2MU.js","../bundle/sqlite-runtime-CSO6K6B2.js","../bundle/start-TZWKM4AH.js","../bundle/state-FLUT7U7R.js","../bundle/store-HDWMJ44E.js","../bundle/store-TG6622NG.js","../bundle/store-maintenance-command-RHWRUREJ.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-TXYURU4S.js"]
31
+ const chunks = ["../bundle/all-profiles-537I27Z4.js","../bundle/anthropic-X4NWVHDF.js","../bundle/app-server-KSHJKKS7.js","../bundle/bun-WTBGGCUC.js","../bundle/bun-sqlite-T7Y3JFFD.js","../bundle/command-contract-NUIWUVYB.js","../bundle/decode-35N57AFW.js","../bundle/dispatch-CWXZW3PL.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-3P3QZWMU.js","../bundle/embed-Q6Q5IOJQ.js","../bundle/embedder-D44JDTAA.js","../bundle/entry-ZHCNI7XO.js","../bundle/failure-GRMMSDCZ.js","../bundle/first-run-3DC2SDWM.js","../bundle/first-screen-YJF4YODC.js","../bundle/google-6ZZDKFBN.js","../bundle/google-api-E6MOJ4ZD.js","../bundle/grants-GWXDH5GM.js","../bundle/identity-TID7S5NE.js","../bundle/instructions-ANJN4HV3.js","../bundle/login-BGMK2ABH.js","../bundle/mcp-WBHKX5E3.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-TLZSIHIJ.js","../bundle/node-VOB45ES2.js","../bundle/node-sqlite-TSX6XQY2.js","../bundle/oauth-CEOYXW6C.js","../bundle/open-3USWHGNR.js","../bundle/openai-YZ5VGPIP.js","../bundle/process-44JS2W7L.js","../bundle/program-TZLAFKJV.js","../bundle/prompt-SG7LAOXW.js","../bundle/reasons-ZK3U3CIN.js","../bundle/recognize-OFW7HWTM.js","../bundle/remote-YBDRZQZ5.js","../bundle/rerank-TQQNS5FJ.js","../bundle/serve-OPZXMVLH.js","../bundle/server-2D6DDIK5.js","../bundle/server-R6G2O772.js","../bundle/services-34WKT3NN.js","../bundle/sqlite-runtime-WPUMKLUV.js","../bundle/start-ZXUJZ4JV.js","../bundle/state-AV2RB3AQ.js","../bundle/store-3M7N2Q5T.js","../bundle/store-YKV4GAMS.js","../bundle/store-maintenance-command-WDXNY4ZF.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-F63RXXEF.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,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC;SAC7C,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,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"}
@@ -2,33 +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-OZH4ALTI.js";
5
+ } from "./chunk-S36HRPNS.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-XCOCPXCM.js";
12
+ } from "./chunk-GVRS5AIH.js";
13
13
  import {
14
14
  McpServer
15
15
  } from "./chunk-5D4AEUVA.js";
16
- import "./chunk-EHEZSV6I.js";
17
- import "./chunk-HMZAMHKN.js";
18
- import "./chunk-HIOJRPCT.js";
16
+ import "./chunk-GD6TQ6U4.js";
17
+ import "./chunk-YDN2RH5S.js";
18
+ import "./chunk-UTFATA4K.js";
19
19
  import "./chunk-LK2E2ELG.js";
20
- import "./chunk-CBM2XAEZ.js";
21
- import "./chunk-V36RIXFA.js";
20
+ import "./chunk-246P2DCT.js";
21
+ import "./chunk-LJ77Y3TK.js";
22
22
  import "./chunk-Y5E2WNWB.js";
23
23
  import "./chunk-HIP43OGZ.js";
24
- import "./chunk-UQPKAY6I.js";
25
- import "./chunk-3U22QTU6.js";
24
+ import "./chunk-FO4TCH6P.js";
25
+ import "./chunk-TKW4QWCY.js";
26
26
  import "./chunk-EBLA7GXY.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
32
32
  import { spawn } from "node:child_process";
33
33
  import { randomUUID } from "node:crypto";
34
34
  var PROTOCOL = "2025-06-18";
@@ -262,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
262
262
  }, "serveAllProfilesOverStdio");
263
263
  var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
264
264
  const { build, close } = allProfilesServer(options);
265
- const { serveOverHttp } = await import("./serve-Q2BQHNZB.js");
265
+ const { serveOverHttp } = await import("./serve-OPZXMVLH.js");
266
266
  const listening = await serveOverHttp(build, {
267
267
  ...http,
268
268
  appName: options.command,
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  checkedOptions
5
- } from "./chunk-DI5Z4SH5.js";
5
+ } from "./chunk-HCJG7ENG.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-JSDVK3JA.js";
9
+ } from "./chunk-EHAI773E.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-FXBHOCJK.js";
13
- import "./chunk-CBM2XAEZ.js";
14
- import "./chunk-V36RIXFA.js";
13
+ import "./chunk-246P2DCT.js";
14
+ import "./chunk-LJ77Y3TK.js";
15
15
  import "./chunk-Y5E2WNWB.js";
16
16
  import "./chunk-HIP43OGZ.js";
17
- import "./chunk-UQPKAY6I.js";
17
+ import "./chunk-FO4TCH6P.js";
18
18
  import {
19
19
  array,
20
20
  optional,
21
21
  strictObject,
22
22
  string
23
- } from "./chunk-3U22QTU6.js";
23
+ } from "./chunk-TKW4QWCY.js";
24
24
  import "./chunk-EBLA7GXY.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/models/anthropic.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
30
  var options = strictObject({
31
31
  stop_sequences: optional(array(string()))
32
32
  });
@@ -3,34 +3,34 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-IGF6EXBR.js";
6
+ } from "./chunk-4CBZEAQ7.js";
7
7
  import {
8
8
  mcpUrlOf
9
- } from "./chunk-A6SLYOP2.js";
9
+ } from "./chunk-5AMRCBMP.js";
10
10
  import {
11
11
  answered,
12
12
  failed,
13
13
  registerCommands,
14
14
  runCommandForAgent,
15
15
  toolsFromCommands
16
- } from "./chunk-3KJTJDDT.js";
16
+ } from "./chunk-O37ESNAP.js";
17
17
  import {
18
18
  agentJson,
19
19
  skillResource
20
- } from "./chunk-KFZUODXB.js";
20
+ } from "./chunk-SBHSNOU4.js";
21
21
  import {
22
22
  answeredWire
23
- } from "./chunk-OZH4ALTI.js";
23
+ } from "./chunk-S36HRPNS.js";
24
24
  import {
25
25
  StdioServerTransport,
26
26
  serveStdio
27
- } from "./chunk-XCOCPXCM.js";
27
+ } from "./chunk-GVRS5AIH.js";
28
28
  import {
29
29
  McpServer
30
30
  } from "./chunk-5D4AEUVA.js";
31
- import "./chunk-ZSMCJKGP.js";
32
- import "./chunk-TFH5X46A.js";
33
- import "./chunk-PAEVBAM3.js";
31
+ import "./chunk-5XHLQZAG.js";
32
+ import "./chunk-VRW6ZDTH.js";
33
+ import "./chunk-PDYHEWKG.js";
34
34
  import {
35
35
  DEFAULT_OUTPUT_BYTES,
36
36
  changesAuthorityAt,
@@ -39,57 +39,57 @@ import {
39
39
  judgedTargets,
40
40
  readsOverMcpAt,
41
41
  rootOf2 as rootOf
42
- } from "./chunk-3KNZADHJ.js";
43
- import "./chunk-EHEZSV6I.js";
44
- import "./chunk-JW2CVCUH.js";
42
+ } from "./chunk-73TTP6ET.js";
43
+ import "./chunk-GD6TQ6U4.js";
44
+ import "./chunk-D6WIWOQC.js";
45
45
  import {
46
46
  readOnlyLockOf
47
- } from "./chunk-IIP43FQJ.js";
47
+ } from "./chunk-4XZXH2NM.js";
48
48
  import {
49
49
  mcpHttpMarker
50
- } from "./chunk-GT5KTGCN.js";
51
- import "./chunk-GJ4ZCIOP.js";
52
- import "./chunk-5C7K6XIT.js";
50
+ } from "./chunk-TXMTMEHW.js";
51
+ import "./chunk-FTZNUZO7.js";
52
+ import "./chunk-73MNUSP3.js";
53
53
  import {
54
54
  appInstructions
55
- } from "./chunk-36B7AIGP.js";
56
- import "./chunk-7QTVIZII.js";
57
- import "./chunk-YADXWQHV.js";
58
- import "./chunk-A6EG7ZDS.js";
59
- import "./chunk-AD62XJKO.js";
60
- import "./chunk-HMZAMHKN.js";
61
- import "./chunk-P7WPYKSB.js";
55
+ } from "./chunk-6HTKB4WC.js";
56
+ import "./chunk-JGUJJNGZ.js";
57
+ import "./chunk-67QXMO2G.js";
58
+ import "./chunk-DMHGWL5D.js";
59
+ import "./chunk-HFGR33KD.js";
60
+ import "./chunk-YDN2RH5S.js";
61
+ import "./chunk-CKGHRWVR.js";
62
62
  import "./chunk-ZYCLPJ7U.js";
63
- import "./chunk-JSDVK3JA.js";
64
- import "./chunk-EORMZCVF.js";
65
- import "./chunk-P3ZTW2ZM.js";
63
+ import "./chunk-EHAI773E.js";
64
+ import "./chunk-PETFPXLU.js";
65
+ import "./chunk-YGG7UA3C.js";
66
66
  import "./chunk-5DPV7X27.js";
67
- import "./chunk-TI55J3BA.js";
68
- import "./chunk-LPHMAQJQ.js";
69
- import "./chunk-VT6GZAF4.js";
70
- import "./chunk-GI5JBGXH.js";
71
- import "./chunk-IADOBOKB.js";
72
- import "./chunk-TJXPJ3A5.js";
73
- import "./chunk-L5SE2XZP.js";
74
- import "./chunk-HIOJRPCT.js";
75
- import "./chunk-OKXSTWKW.js";
76
- import "./chunk-IBZ3IBO4.js";
77
- import "./chunk-3VSUT6BD.js";
78
- import "./chunk-QTM7USFA.js";
79
- import "./chunk-BSGOM3BD.js";
80
- import "./chunk-F3FOL42A.js";
67
+ import "./chunk-ALWTUDZF.js";
68
+ import "./chunk-UVLSWLPZ.js";
69
+ import "./chunk-YYHKVOVK.js";
70
+ import "./chunk-PPL5ASW2.js";
71
+ import "./chunk-UNJE63JK.js";
72
+ import "./chunk-N7S2UPF3.js";
73
+ import "./chunk-4VHBDVY2.js";
74
+ import "./chunk-UTFATA4K.js";
75
+ import "./chunk-MVNPE5FZ.js";
76
+ import "./chunk-77C5XRH3.js";
77
+ import "./chunk-KEXTTZJM.js";
78
+ import "./chunk-V7QMHMR3.js";
79
+ import "./chunk-K6XVRA6U.js";
80
+ import "./chunk-SZXI4OXX.js";
81
81
  import "./chunk-D72URWJE.js";
82
82
  import "./chunk-2AXA5SKP.js";
83
83
  import "./chunk-LK2E2ELG.js";
84
- import "./chunk-KPRGTTJH.js";
85
- import "./chunk-CBM2XAEZ.js";
84
+ import "./chunk-UVYVIHEA.js";
85
+ import "./chunk-246P2DCT.js";
86
86
  import {
87
87
  mcpErrorResult
88
- } from "./chunk-V36RIXFA.js";
88
+ } from "./chunk-LJ77Y3TK.js";
89
89
  import "./chunk-Y5E2WNWB.js";
90
90
  import "./chunk-HIP43OGZ.js";
91
- import "./chunk-UQPKAY6I.js";
92
- import "./chunk-3U22QTU6.js";
91
+ import "./chunk-FO4TCH6P.js";
92
+ import "./chunk-TKW4QWCY.js";
93
93
  import {
94
94
  CliError
95
95
  } from "./chunk-EBLA7GXY.js";
@@ -97,7 +97,7 @@ import {
97
97
  __name
98
98
  } from "./chunk-ZVVMGPBJ.js";
99
99
 
100
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
100
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
101
101
  var EXCLUDED = [["mcp"]];
102
102
  var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
103
103
  const { app } = options;
@@ -212,7 +212,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
212
212
  var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
213
213
  const { app } = options;
214
214
  const { build } = createAppServer(command, context, options);
215
- const { serveOverHttp } = await import("./serve-Q2BQHNZB.js");
215
+ const { serveOverHttp } = await import("./serve-OPZXMVLH.js");
216
216
  const listening = await serveOverHttp(build, {
217
217
  ...http,
218
218
  appName: app.command,
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-BSGOM3BD.js";
21
+ } from "./chunk-K6XVRA6U.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
27
27
  import { Database } from "bun:sqlite";
28
28
  var bunSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-MKCNUI72.js";
7
- import "./chunk-CBM2XAEZ.js";
8
- import "./chunk-V36RIXFA.js";
6
+ } from "./chunk-V2VMBM7O.js";
7
+ import "./chunk-246P2DCT.js";
8
+ import "./chunk-LJ77Y3TK.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import "./chunk-HIP43OGZ.js";
13
- import "./chunk-UQPKAY6I.js";
14
- import "./chunk-3U22QTU6.js";
13
+ import "./chunk-FO4TCH6P.js";
14
+ import "./chunk-TKW4QWCY.js";
15
15
  import "./chunk-EBLA7GXY.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
21
21
  var customised = false;
22
22
  var ownLibrary = /* @__PURE__ */ __name(async () => {
23
23
  try {
@@ -11,13 +11,13 @@ import {
11
11
  } from "./chunk-VVCZS42A.js";
12
12
  import {
13
13
  googleError
14
- } from "./chunk-FVQCM7IQ.js";
14
+ } from "./chunk-JQLIM6BH.js";
15
15
  import {
16
16
  extractText
17
- } from "./chunk-YADXWQHV.js";
17
+ } from "./chunk-67QXMO2G.js";
18
18
  import {
19
19
  MAX_TEXT_CHARS
20
- } from "./chunk-IADOBOKB.js";
20
+ } from "./chunk-UNJE63JK.js";
21
21
  import {
22
22
  importFrom
23
23
  } from "./chunk-Y5E2WNWB.js";
@@ -2,18 +2,18 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  errorObjectOf
5
- } from "./chunk-V36RIXFA.js";
5
+ } from "./chunk-LJ77Y3TK.js";
6
6
  import {
7
7
  visibleControls
8
8
  } from "./chunk-HIP43OGZ.js";
9
9
  import {
10
10
  LOG_ATTRIBUTE_KEYS,
11
11
  isContentKey
12
- } from "./chunk-UQPKAY6I.js";
12
+ } from "./chunk-FO4TCH6P.js";
13
13
  import {
14
14
  getDotPath,
15
15
  safeParse
16
- } from "./chunk-3U22QTU6.js";
16
+ } from "./chunk-TKW4QWCY.js";
17
17
  import {
18
18
  CliError
19
19
  } from "./chunk-EBLA7GXY.js";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CAPABILITY_STATEMENTS,
5
5
  storeCapable
6
- } from "./chunk-QTM7USFA.js";
6
+ } from "./chunk-V7QMHMR3.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.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/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";
@@ -13,7 +13,7 @@ import {
13
13
  registerPrompts,
14
14
  stdinFieldOf,
15
15
  syncsFirst
16
- } from "./chunk-A6SLYOP2.js";
16
+ } from "./chunk-5AMRCBMP.js";
17
17
  import {
18
18
  BinaryResource,
19
19
  Picture,
@@ -34,20 +34,20 @@ import {
34
34
  tool,
35
35
  toolKey,
36
36
  toolsFromCommands
37
- } from "./chunk-3KJTJDDT.js";
37
+ } from "./chunk-O37ESNAP.js";
38
38
  import {
39
39
  agentJson,
40
40
  skillResource
41
- } from "./chunk-KFZUODXB.js";
41
+ } from "./chunk-SBHSNOU4.js";
42
42
  import {
43
43
  answeredWire
44
- } from "./chunk-OZH4ALTI.js";
44
+ } from "./chunk-S36HRPNS.js";
45
45
  import {
46
46
  StdioServerTransport,
47
47
  callerOf,
48
48
  callingAgent,
49
49
  serveStdio
50
- } from "./chunk-XCOCPXCM.js";
50
+ } from "./chunk-GVRS5AIH.js";
51
51
  import {
52
52
  McpServer,
53
53
  ResourceTemplate
@@ -55,14 +55,14 @@ import {
55
55
  import {
56
56
  connectedFor,
57
57
  guardFor
58
- } from "./chunk-ZSMCJKGP.js";
58
+ } from "./chunk-5XHLQZAG.js";
59
59
  import {
60
60
  lackedNeed,
61
61
  wholeList
62
- } from "./chunk-TFH5X46A.js";
62
+ } from "./chunk-VRW6ZDTH.js";
63
63
  import {
64
64
  findCommand
65
- } from "./chunk-PAEVBAM3.js";
65
+ } from "./chunk-PDYHEWKG.js";
66
66
  import {
67
67
  DEFAULT_OUTPUT_BYTES,
68
68
  changesAuthorityAt,
@@ -75,49 +75,49 @@ import {
75
75
  rootOf2 as rootOf,
76
76
  sealed,
77
77
  snakeKeys
78
- } from "./chunk-3KNZADHJ.js";
78
+ } from "./chunk-73TTP6ET.js";
79
79
  import {
80
80
  withCaller
81
- } from "./chunk-EHEZSV6I.js";
81
+ } from "./chunk-GD6TQ6U4.js";
82
82
  import {
83
83
  readOnlyLockOf
84
- } from "./chunk-IIP43FQJ.js";
84
+ } from "./chunk-4XZXH2NM.js";
85
85
  import {
86
86
  mcpHttpMarker
87
- } from "./chunk-GT5KTGCN.js";
87
+ } from "./chunk-TXMTMEHW.js";
88
88
  import {
89
89
  instructions
90
- } from "./chunk-36B7AIGP.js";
90
+ } from "./chunk-6HTKB4WC.js";
91
91
  import {
92
92
  capability,
93
93
  dateWindow,
94
94
  imageSize,
95
95
  servicesFor,
96
96
  storedDeps
97
- } from "./chunk-7QTVIZII.js";
97
+ } from "./chunk-JGUJJNGZ.js";
98
98
  import {
99
99
  levelFor,
100
100
  readKeysForCommand,
101
101
  typedCommand
102
- } from "./chunk-AD62XJKO.js";
102
+ } from "./chunk-HFGR33KD.js";
103
103
  import {
104
104
  isCliFailure
105
- } from "./chunk-HMZAMHKN.js";
105
+ } from "./chunk-YDN2RH5S.js";
106
106
  import {
107
107
  warmEmbedders
108
- } from "./chunk-P3ZTW2ZM.js";
108
+ } from "./chunk-YGG7UA3C.js";
109
109
  import {
110
110
  openStore
111
- } from "./chunk-GI5JBGXH.js";
111
+ } from "./chunk-PPL5ASW2.js";
112
112
  import {
113
113
  pdfPreviewLimits
114
- } from "./chunk-IADOBOKB.js";
114
+ } from "./chunk-UNJE63JK.js";
115
115
  import {
116
116
  timezoneOf
117
- } from "./chunk-L5SE2XZP.js";
117
+ } from "./chunk-4VHBDVY2.js";
118
118
  import {
119
119
  mcpErrorResult
120
- } from "./chunk-V36RIXFA.js";
120
+ } from "./chunk-LJ77Y3TK.js";
121
121
  import {
122
122
  visibleControls
123
123
  } from "./chunk-HIP43OGZ.js";
@@ -135,7 +135,7 @@ import {
135
135
  regex,
136
136
  strictObject,
137
137
  string
138
- } from "./chunk-3U22QTU6.js";
138
+ } from "./chunk-TKW4QWCY.js";
139
139
  import {
140
140
  CliError
141
141
  } from "./chunk-EBLA7GXY.js";
@@ -143,10 +143,10 @@ import {
143
143
  __name
144
144
  } from "./chunk-ZVVMGPBJ.js";
145
145
 
146
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/server.js
146
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/server.js
147
147
  import { randomUUID } from "node:crypto";
148
148
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
149
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
150
150
  var agentLog = /* @__PURE__ */ __name((open) => {
151
151
  let held;
152
152
  return {
@@ -165,7 +165,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
165
165
  };
166
166
  }, "agentLog");
167
167
 
168
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/resources.js
168
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/resources.js
169
169
  var LISTED = 100;
170
170
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
171
171
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -203,7 +203,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
203
203
  });
204
204
  }, "registerResources");
205
205
 
206
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/session.js
206
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/session.js
207
207
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
208
208
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
209
209
  var MessengerSession = class {
@@ -278,7 +278,7 @@ var MessengerSession = class {
278
278
  }
279
279
  };
280
280
 
281
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
281
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
282
282
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
283
283
  const _command = messenger.app.command;
284
284
  return {
@@ -332,7 +332,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
332
332
  };
333
333
  }, "attachmentsTools");
334
334
 
335
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
335
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
336
336
  var PHOTO_LIMIT = 512 * 1024;
337
337
  var IMAGE_TYPES = [
338
338
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -386,7 +386,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
386
386
  return new Uint8Array(Buffer.concat(chunks));
387
387
  }, "readUpTo");
388
388
 
389
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
389
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
390
390
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
391
391
  stats_charts: tool({
392
392
  title: "A chart from a chat's statistics",
@@ -423,14 +423,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
423
423
  })
424
424
  }), "statsTools");
425
425
 
426
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/tools.js
426
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/tools.js
427
427
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
428
428
  ...messagesPhotoTools(messenger),
429
429
  ...attachmentsTools(messenger),
430
430
  ...statsTools(messenger)
431
431
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
432
432
 
433
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/mcp/server.js
433
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/mcp/server.js
434
434
  var PER_RUN = /* @__PURE__ */ new Set([
435
435
  "streams",
436
436
  "stdin",
@@ -754,7 +754,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
754
754
  }, "serveOverStdio");
755
755
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
756
756
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
757
- const { serveOverHttp } = await import("./serve-Q2BQHNZB.js");
757
+ const { serveOverHttp } = await import("./serve-OPZXMVLH.js");
758
758
  const appName = messenger.app.command;
759
759
  const appEnvPrefix = messenger.app.envPrefix;
760
760
  const listening = await serveOverHttp(build, {
@@ -19,7 +19,7 @@ import {
19
19
  reference,
20
20
  string,
21
21
  variant
22
- } from "./chunk-3U22QTU6.js";
22
+ } from "./chunk-TKW4QWCY.js";
23
23
  import {
24
24
  CliError,
25
25
  isCliError
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/ports/app.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");