@wirecat/drive-cli 0.71.0 → 0.72.1

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 (258) hide show
  1. package/README.md +150 -71
  2. package/contracts/wirecat.json +77 -8
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-GOCD4ZW2.js +46 -0
  5. package/dist/bundle/{all-profiles-3QJG2NAN.js → all-profiles-PZVP3G73.js} +67 -25
  6. package/dist/bundle/{anthropic-PSWTEU6G.js → anthropic-PUOTKSYV.js} +9 -9
  7. package/dist/bundle/{app-server-PVTA6ABR.js → app-server-MKDCXRZM.js} +97 -79
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-NS5YLOQT.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PYMKLBRU.js → bun-sqlite-KSKWRLLO.js} +9 -9
  10. package/dist/bundle/{chunk-COOOO5B3.js → chunk-2CG3LUQS.js} +4 -4
  11. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-2TVHFJKV.js} +1 -1
  12. package/dist/bundle/chunk-35FIJGTT.js +52 -0
  13. package/dist/bundle/chunk-35GROSBS.js +3233 -0
  14. package/dist/bundle/{chunk-D5TGYUVU.js → chunk-3CH7I452.js} +9 -60
  15. package/dist/bundle/{chunk-ICDCAQ6K.js → chunk-3QBRS3JT.js} +13 -9
  16. package/dist/bundle/chunk-3T7JIHSO.js +353 -0
  17. package/dist/bundle/{chunk-Q7DOMFJ4.js → chunk-3VIEGRBA.js} +6 -6
  18. package/dist/bundle/chunk-3YCUYFTD.js +2159 -0
  19. package/dist/bundle/{chunk-CJLVYIOP.js → chunk-3ZGWJYSG.js} +30 -21
  20. package/dist/bundle/{chunk-YPFWNVHV.js → chunk-43PCMVTZ.js} +2 -100
  21. package/dist/bundle/{chunk-OF422U5D.js → chunk-4DK55MLP.js} +402 -402
  22. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  23. package/dist/bundle/chunk-4P6D6CUS.js +282 -0
  24. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  25. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  26. package/dist/bundle/{chunk-6W763DZN.js → chunk-54O5NJRC.js} +14 -13
  27. package/dist/bundle/{chunk-MNLL5YLM.js → chunk-5BHP4FVM.js} +2 -2
  28. package/dist/bundle/{chunk-ACUAV6VX.js → chunk-6JU4KLAZ.js} +108 -72
  29. package/dist/bundle/{chunk-YMJ6IDGT.js → chunk-6KND2DYT.js} +38 -8
  30. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-7YPZPJTB.js} +1 -1
  31. package/dist/bundle/chunk-A5XNUMW7.js +108 -0
  32. package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-AG34MPVN.js} +1 -1
  33. package/dist/bundle/chunk-B5V2U7IS.js +221 -0
  34. package/dist/bundle/chunk-B6JC5RS3.js +696 -0
  35. package/dist/bundle/chunk-BDZXGDGI.js +80 -0
  36. package/dist/bundle/{chunk-B5KSXHJ7.js → chunk-BMTMGMGE.js} +1 -1
  37. package/dist/bundle/{chunk-ZCR3IRZ2.js → chunk-CP2TZXAG.js} +16 -9
  38. package/dist/bundle/{chunk-TAUBRNC5.js → chunk-DOEP4EPW.js} +72 -59
  39. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  40. package/dist/bundle/{chunk-QETR5HIZ.js → chunk-E2TMWONO.js} +4385 -2684
  41. package/dist/bundle/chunk-E5EYJU5R.js +7 -0
  42. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  43. package/dist/bundle/{chunk-HL52XXZX.js → chunk-EXHTGQR2.js} +3 -4
  44. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  45. package/dist/bundle/{chunk-ASMMG72J.js → chunk-FJQO5OHR.js} +261 -565
  46. package/dist/bundle/{chunk-RJOQH5YY.js → chunk-FKP4T7A4.js} +111 -859
  47. package/dist/bundle/{chunk-JDV7HNNQ.js → chunk-FTL3WXZB.js} +13 -26
  48. package/dist/bundle/{chunk-FP54WSIR.js → chunk-G2CH4FRW.js} +4 -4
  49. package/dist/bundle/chunk-G2KKMQRN.js +30 -0
  50. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  51. package/dist/bundle/{chunk-Y2NWGNUB.js → chunk-G7SKXAVZ.js} +5 -5
  52. package/dist/bundle/{chunk-FT3LN3HP.js → chunk-GFI3UUIU.js} +1 -1
  53. package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
  54. package/dist/bundle/{chunk-QFR2PNJN.js → chunk-GTROGY74.js} +12 -12
  55. package/dist/bundle/{chunk-UTO2GO4P.js → chunk-GYAPDUF5.js} +45 -66
  56. package/dist/bundle/{chunk-GBKNJWOZ.js → chunk-HCMEU7AF.js} +8 -8
  57. package/dist/bundle/{chunk-FJH7DJWK.js → chunk-HDGJ7IDE.js} +6 -6
  58. package/dist/bundle/{chunk-Z3KUSRCF.js → chunk-HMN26CVU.js} +2 -2
  59. package/dist/bundle/{chunk-I4RWW3UD.js → chunk-HOICQNJX.js} +20 -5
  60. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-HPS2YGSZ.js} +1 -1
  61. package/dist/bundle/{chunk-HMS6EEQL.js → chunk-HSASPXRW.js} +3 -3
  62. package/dist/bundle/{chunk-KGYVHPGE.js → chunk-IABPGOMT.js} +2 -2
  63. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-IBQZT2YD.js} +1 -1
  64. package/dist/bundle/{chunk-PRW6SYA3.js → chunk-IE3R46YN.js} +313 -257
  65. package/dist/bundle/{chunk-7PDHGZN4.js → chunk-IE6O7463.js} +4 -4
  66. package/dist/bundle/{chunk-3UGYFXH6.js → chunk-IPBYU43F.js} +192 -379
  67. package/dist/bundle/{chunk-RWDKMU74.js → chunk-IS7STZEB.js} +3 -3
  68. package/dist/bundle/{chunk-GOWXXYEF.js → chunk-IV77ZFF4.js} +4 -4
  69. package/dist/bundle/{chunk-6XFIITOG.js → chunk-JDGF3YYS.js} +4811 -3486
  70. package/dist/bundle/{chunk-GPQ44Y2R.js → chunk-JHAACT4I.js} +2 -2
  71. package/dist/bundle/{chunk-SERXSCN3.js → chunk-JRED7BNX.js} +337 -390
  72. package/dist/bundle/{chunk-MIA7P6FZ.js → chunk-JSYUB4SM.js} +6 -6
  73. package/dist/bundle/{chunk-RESDD3Q4.js → chunk-JVM75M4H.js} +16 -3
  74. package/dist/bundle/{chunk-XF4EXO2C.js → chunk-JZ65CQWK.js} +6 -6
  75. package/dist/bundle/{chunk-QNRRK3CN.js → chunk-KBR7OC5S.js} +2 -2
  76. package/dist/bundle/chunk-KI6OOW6D.js +123 -0
  77. package/dist/bundle/chunk-KOI5G7NM.js +388 -0
  78. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-KPBUJQKT.js} +1 -1
  79. package/dist/bundle/{chunk-2LHAVY4U.js → chunk-KVBGIZ2C.js} +1 -1
  80. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  81. package/dist/bundle/{chunk-SAKO3P4H.js → chunk-LKUWH6KU.js} +1 -1
  82. package/dist/bundle/chunk-MA6U4XH2.js +36 -0
  83. package/dist/bundle/{chunk-TAFHYHKA.js → chunk-MA7ETVTZ.js} +43 -186
  84. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-MDJUYCHT.js} +1 -1
  85. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  86. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-MGC2BAD2.js} +1 -1
  87. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  88. package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
  89. package/dist/bundle/{chunk-OJSBWP3F.js → chunk-OBDPKDGB.js} +69 -7
  90. package/dist/bundle/{chunk-WVDCCYS3.js → chunk-ODTBJGWQ.js} +17 -17
  91. package/dist/bundle/chunk-PB6ACIME.js +80 -0
  92. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  93. package/dist/bundle/{chunk-72C4YOCH.js → chunk-PMAV3RNP.js} +7 -7
  94. package/dist/bundle/chunk-PSY67L73.js +783 -0
  95. package/dist/bundle/{chunk-6TNNT2MQ.js → chunk-PUVQOZ2N.js} +483 -176
  96. package/dist/bundle/{chunk-SDKQNOL5.js → chunk-QB7K6PIP.js} +6 -6
  97. package/dist/bundle/chunk-QK7GKFKB.js +188 -0
  98. package/dist/bundle/{chunk-4PA4DHYV.js → chunk-QMUWHKP5.js} +6 -6
  99. package/dist/bundle/chunk-QURQ2OU2.js +250 -0
  100. package/dist/bundle/{chunk-LXKYKRHD.js → chunk-R3EDZWXF.js} +8 -227
  101. package/dist/bundle/{chunk-KGERXYTV.js → chunk-RM4DO2WZ.js} +1 -1
  102. package/dist/bundle/chunk-S27UKJVL.js +730 -0
  103. package/dist/bundle/{chunk-22QQUKWA.js → chunk-S3SLDYTU.js} +1 -1
  104. package/dist/bundle/{chunk-FCS26CYQ.js → chunk-SAEBHENE.js} +4 -4
  105. package/dist/bundle/chunk-SM7Z2BQF.js +561 -0
  106. package/dist/bundle/{chunk-QXC6IEH6.js → chunk-SODB63MR.js} +201 -423
  107. package/dist/bundle/{chunk-2PUNKUYJ.js → chunk-SSFGSY77.js} +10320 -9907
  108. package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
  109. package/dist/bundle/{chunk-BKSQBBYG.js → chunk-SUQT4KI2.js} +9 -9
  110. package/dist/bundle/{chunk-YPNWIB6H.js → chunk-SWQDKO6D.js} +3 -3
  111. package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
  112. package/dist/bundle/{chunk-3N2OFXB5.js → chunk-T3OK6AYZ.js} +5 -5
  113. package/dist/bundle/{chunk-HKY7X6NY.js → chunk-TFIAD57H.js} +4 -4
  114. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  115. package/dist/bundle/{chunk-XMMFBPGC.js → chunk-TUL6MCTY.js} +3 -3
  116. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  117. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-UL5HSHFU.js} +4 -4
  118. package/dist/bundle/{chunk-3EBBLKIT.js → chunk-UT64BBEP.js} +4 -4
  119. package/dist/bundle/{chunk-26DHFMGZ.js → chunk-VBIZD5V5.js} +2 -2
  120. package/dist/bundle/chunk-VHTELRUA.js +50 -0
  121. package/dist/bundle/chunk-VOQICE3G.js +340 -0
  122. package/dist/bundle/{chunk-GZ2D4KXG.js → chunk-WDJRUNQN.js} +35 -12
  123. package/dist/bundle/{chunk-2UUWXPOB.js → chunk-X5CXANSA.js} +3 -3
  124. package/dist/bundle/{chunk-35SCQ4VI.js → chunk-X6HPQKAI.js} +43 -35
  125. package/dist/bundle/{chunk-COJSWDNU.js → chunk-XKWQDQ4B.js} +3 -3
  126. package/dist/bundle/{chunk-6SJOTNHF.js → chunk-XZEVHUKI.js} +6 -28
  127. package/dist/bundle/{chunk-JZHBZOJR.js → chunk-YE7DJB3F.js} +3 -3
  128. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  129. package/dist/bundle/{chunk-2BVVU7GG.js → chunk-YJVQ5GST.js} +1 -1
  130. package/dist/bundle/{chunk-ZM63SUHG.js → chunk-YRCGFSRR.js} +2 -2
  131. package/dist/bundle/{chunk-EOEU3AZN.js → chunk-ZNFXKFGF.js} +13 -13
  132. package/dist/bundle/{cli-556DERZL.js → cli-KXRWXGTS.js} +217 -114
  133. package/dist/bundle/command-contract-BGNT7MTQ.js +45 -0
  134. package/dist/bundle/{command-server-entry-AYLGNZWD.js → command-server-entry-7FZX74T6.js} +36 -34
  135. package/dist/bundle/{decode-QU24MWMN.js → decode-SZ6W34U3.js} +10 -10
  136. package/dist/bundle/{dispatch-4KODNOXV.js → dispatch-4KNSZ3PI.js} +10 -10
  137. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  138. package/dist/bundle/drive.js +11 -11
  139. package/dist/bundle/{echarts-BXX4OQWC.js → echarts-ISH62J4E.js} +2 -2
  140. package/dist/bundle/{embed-KG27KG3D.js → embed-6ODGTZPK.js} +10 -10
  141. package/dist/bundle/{embedder-IPAVUQUV.js → embedder-6FY67FTQ.js} +15 -15
  142. package/dist/bundle/entry-2SA6ZX7E.js +25 -0
  143. package/dist/bundle/{failure-ESL7ETL4.js → failure-V3ILKUTX.js} +4 -4
  144. package/dist/bundle/first-run-ZNKPPD6M.js +31 -0
  145. package/dist/bundle/first-screen-WF6GYLPN.js +45 -0
  146. package/dist/bundle/google-QCADNPCQ.js +46 -0
  147. package/dist/bundle/{google-api-VCDBSNOW.js → google-api-ZTI3NKZX.js} +88 -73
  148. package/dist/bundle/grants-BPN5AGDK.js +133 -0
  149. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  150. package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
  151. package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
  152. package/dist/bundle/{identity-LOWMVGZY.js → identity-YX4IPGOO.js} +7 -6
  153. package/dist/bundle/{instructions-2VECIDXF.js → instructions-G5ZGHVFB.js} +1 -1
  154. package/dist/bundle/{login-7GBONT7V.js → login-CVX5VJX6.js} +96 -81
  155. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-MQ2L5IIM.js} +2 -2
  156. package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
  157. package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
  158. package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
  159. package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
  160. package/dist/bundle/meeting-combined-HKZJMJ6Q.js +28 -0
  161. package/dist/bundle/meeting-model-DSE4GRVE.js +29 -0
  162. package/dist/bundle/{meeting-semantic-G7PFOKU7.js → meeting-semantic-OHG2QN2G.js} +10 -10
  163. package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
  164. package/dist/bundle/{node-MPEQSFI3.js → node-NLJINXVQ.js} +2 -2
  165. package/dist/bundle/{node-sqlite-OLQMAYB4.js → node-sqlite-KDFQDYVZ.js} +10 -10
  166. package/dist/bundle/notes-search-3VBVSQ3R.js +70 -0
  167. package/dist/bundle/oauth-M3E62ZHC.js +22 -0
  168. package/dist/bundle/{open-OXTE672W.js → open-WVRUVBIZ.js} +8 -8
  169. package/dist/bundle/{openai-EB3TPIZY.js → openai-JJWOSJMV.js} +22 -21
  170. package/dist/bundle/{process-F6TKXWWA.js → process-LPVAYRO7.js} +1 -1
  171. package/dist/bundle/{program-4IFDZ7FM.js → program-ZJRIP25J.js} +276 -1149
  172. package/dist/bundle/{prompt-F5RRHPN2.js → prompt-XCDHTEAO.js} +8 -8
  173. package/dist/bundle/{reasons-UORHJDHK.js → reasons-REEEQDAZ.js} +6 -5
  174. package/dist/bundle/{recognize-DAVNZND3.js → recognize-OZLFDJAT.js} +7 -7
  175. package/dist/bundle/remote-MDPYVCZB.js +35 -0
  176. package/dist/bundle/{rerank-CND2GVLZ.js → rerank-FLZWJNHA.js} +11 -11
  177. package/dist/bundle/{serve-ZHSPUIGX.js → serve-5UV5VLRV.js} +19 -19
  178. package/dist/bundle/{server-YMAK4LHC.js → server-53A2X2MK.js} +89 -70
  179. package/dist/bundle/server-5GMURMDE.js +97 -0
  180. package/dist/bundle/{services-ZILSFJ6E.js → services-XSMH7BXB.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-S5VPMZQH.js → sqlite-runtime-E3L7ENFU.js} +9 -9
  182. package/dist/bundle/{start-CR6X25RT.js → start-4S2VNR4J.js} +7 -7
  183. package/dist/bundle/{state-YFPHVIIJ.js → state-TQI4JSH7.js} +9 -9
  184. package/dist/bundle/{store-CL4ZJZRI.js → store-GS7PU6PJ.js} +38 -23
  185. package/dist/bundle/{store-UODRT6X4.js → store-VYJPL7MW.js} +36 -25
  186. package/dist/bundle/store-maintenance-command-JJVYUZMG.js +85 -0
  187. package/dist/bundle/surface-JC4XVMZR.js +83 -0
  188. package/dist/bundle/tokens-KJQ5EAPW.js +133 -0
  189. package/dist/commands/documents.d.ts.map +1 -1
  190. package/dist/commands/documents.js +11 -1
  191. package/dist/commands/documents.js.map +1 -1
  192. package/dist/commands/remote.d.ts.map +1 -1
  193. package/dist/commands/remote.js +8 -22
  194. package/dist/commands/remote.js.map +1 -1
  195. package/dist/commands/sync.d.ts.map +1 -1
  196. package/dist/commands/sync.js +14 -4
  197. package/dist/commands/sync.js.map +1 -1
  198. package/dist/config.d.ts +5 -0
  199. package/dist/config.d.ts.map +1 -1
  200. package/dist/config.js +5 -0
  201. package/dist/config.js.map +1 -1
  202. package/dist/first-screen.d.ts.map +1 -1
  203. package/dist/first-screen.js +2 -1
  204. package/dist/first-screen.js.map +1 -1
  205. package/dist/generated/manifest.d.ts +2 -1
  206. package/dist/generated/manifest.d.ts.map +1 -1
  207. package/dist/generated/manifest.js +782 -0
  208. package/dist/generated/manifest.js.map +1 -1
  209. package/dist/generated/types.d.ts +262 -58
  210. package/dist/generated/types.d.ts.map +1 -1
  211. package/dist/google.d.ts.map +1 -1
  212. package/dist/google.js +5 -5
  213. package/dist/google.js.map +1 -1
  214. package/dist/model.d.ts +5 -2
  215. package/dist/model.d.ts.map +1 -1
  216. package/dist/model.js.map +1 -1
  217. package/dist/policy-keys.js +1 -1
  218. package/dist/policy-keys.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +9 -4
  221. package/dist/program.js.map +1 -1
  222. package/dist/state.d.ts.map +1 -1
  223. package/dist/state.js +6 -1
  224. package/dist/state.js.map +1 -1
  225. package/dist/store.d.ts.map +1 -1
  226. package/dist/store.js +2 -7
  227. package/dist/store.js.map +1 -1
  228. package/dist/supported.d.ts +2 -2
  229. package/dist/supported.d.ts.map +1 -1
  230. package/dist/supported.js +2 -3
  231. package/dist/supported.js.map +1 -1
  232. package/dist/sync.d.ts +2 -1
  233. package/dist/sync.d.ts.map +1 -1
  234. package/dist/sync.js +5 -2
  235. package/dist/sync.js.map +1 -1
  236. package/dist/version.d.ts +1 -1
  237. package/dist/version.js +1 -1
  238. package/package.json +3 -3
  239. package/scenarios/find-decision.md +1 -1
  240. package/skills/drive-cli/SKILL.md +4 -2
  241. package/dist/bundle/chunk-J5Q5FS2N.js +0 -593
  242. package/dist/bundle/chunk-L46C6HQ7.js +0 -729
  243. package/dist/bundle/chunk-UDMNY63V.js +0 -899
  244. package/dist/bundle/chunk-VKE77B3F.js +0 -2
  245. package/dist/bundle/command-contract-VRTOAV6W.js +0 -43
  246. package/dist/bundle/entry-MVXQETWS.js +0 -25
  247. package/dist/bundle/first-run-4UVLW2WR.js +0 -31
  248. package/dist/bundle/first-screen-JAKAIINI.js +0 -41
  249. package/dist/bundle/google-22NXXJX5.js +0 -45
  250. package/dist/bundle/grants-MQMTVCRQ.js +0 -118
  251. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  252. package/dist/bundle/meeting-combined-LVP4AZKA.js +0 -27
  253. package/dist/bundle/meeting-model-RAY5XDXZ.js +0 -29
  254. package/dist/bundle/oauth-SGH2I2BY.js +0 -22
  255. package/dist/bundle/remote-D5EYYIAU.js +0 -35
  256. package/dist/bundle/server-DUVJWP3Q.js +0 -80
  257. package/dist/bundle/store-maintenance-command-DY5XIBWR.js +0 -72
  258. package/dist/bundle/tokens-AF7QOFOF.js +0 -118
package/README.md CHANGED
@@ -1,49 +1,120 @@
1
- <img src="https://raw.githubusercontent.com/WireCatLabs/drive-cli/main/docs/images/social-preview.png" alt="Google Drive for your AI agents: Docs as local Markdown, search with sources" width="100%">
2
-
3
- # drive-cli
4
-
5
- `drive` imports selected Google Drive folders into local Markdown snapshots and searchable
6
- documents. It reads Google Docs across all tabs, keeps source identity through renames and moves,
7
- and reuses WireCat's shared keyword search and optional local embeddings. Shared tags, notes,
8
- editor identities and evidence-backed memories stay attached to the imported documents.
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/WireCatLabs/drive-cli/main/docs/images/social-preview.png" alt="drive: Google Drive for your AI agents. Docs, Sheets, Markdown, sync and edit every line" width="100%">
3
+ </p>
4
+
5
+ # drive: Google Drive and Docs for AI agents
6
+
7
+ <p align="center">
8
+ Your agent edits a Google Doc a few lines at a time, from a Markdown file on your computer, while your colleagues
9
+ keep writing and commenting in it. For you and for Claude Code, Codex or any app that speaks MCP.
10
+ </p>
11
+
12
+ <p align="center">
13
+ <a href="https://wirecat.dev/en/docs/drive">Docs</a> ·
14
+ <a href="https://github.com/WireCatLabs/drive-cli/blob/main/docs/installation.md">Install</a> ·
15
+ <a href="https://github.com/WireCatLabs/drive-cli/blob/main/docs/usage.md">Usage</a> ·
16
+ <a href="https://discord.gg/DebENqbRrJ">Discord</a>
17
+ </p>
18
+
19
+ <p align="center">
20
+ <a href="https://www.npmjs.com/package/@wirecat/drive-cli"><img src="https://img.shields.io/npm/v/@wirecat/drive-cli" alt="npm"></a>
21
+ <a href="https://github.com/WireCatLabs/drive-cli/actions/workflows/ci.yml"><img src="https://github.com/WireCatLabs/drive-cli/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
22
+ <a href="https://www.npmjs.com/package/@wirecat/drive-cli"><img src="https://img.shields.io/npm/dm/@wirecat/drive-cli" alt="npm downloads"></a>
23
+ <a href="https://github.com/WireCatLabs/drive-cli/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="License: Apache 2.0"></a>
24
+ </p>
25
+
26
+ - **Edit a Google Doc block by block.** You or your agent change a local Markdown file with any editor or the agent's
27
+ usual file edit. `drive personal mirrors sync` sends only the changed blocks, such as a paragraph or a list item, to the Doc.
28
+ Comments on the text you left alone stay where they are.
29
+ - **Your colleagues' edits are kept.** What they changed in other parts of the Doc comes back into your file. A part
30
+ changed on both sides is reported with both versions, never silently written over.
31
+ - **Search your Drive with sources.** Import the folders you choose, then search them on your computer by words or by
32
+ meaning. Every result links to the original Google file.
33
+
34
+ ## What you get
35
+
36
+ - **An agent that edits like a careful colleague.** It changes the two lines you asked about. The rest of the Doc, and
37
+ the comments on it, stay as they were.
38
+ - **Changes from Google land in your file.** A colleague's edit comes back on the lines it touched. Your own `*`
39
+ bullets and code fences stay as you wrote them.
40
+ - **Conflicts you can see.** When the same paragraph changed in the file and in Google, sync shows both versions, who
41
+ changed it in Google and when. You choose with `--keep local`, `--keep google` or `--keep both`.
42
+ - **Hands-free sync.** `drive personal mirrors watch` syncs on each save and asks Google for changes every minute.
43
+ - **Answers with their source.** "What did we decide about the Q4 budget?" returns the passage and the link to the
44
+ Doc it came from.
45
+
46
+ ```text
47
+ You: In plans/q4.md, rewrite the Risks section around the vendor delay. Leave the rest.
48
+ Agent: (edits 3 lines under "## Risks" in plans/q4.md)
49
+ (runs drive personal mirrors sync: 1 file sent, 1 pulled)
50
+ The Risks section is updated in the Google Doc. Dana Example changed the Timeline in Google
51
+ meanwhile, so her edit is now in your file too.
52
+ ```
9
53
 
10
- Drive uses Google's official Node clients.
11
- Sources supported now: native Google Docs and Sheets, PDF, docx, xlsx, CSV, TSV, and uploaded Markdown/TXT.
12
- Other types and shortcuts are reported as skipped; shortcuts are not followed outside the selected scope.
54
+ ## Why drive
55
+
56
+ - **Small edits instead of a new copy.** Google lets programs change a Markdown file in Drive only by replacing all of
57
+ it ([measured](https://github.com/WireCatLabs/cli-testing/tree/main/performance/documents/native-markdown)). A
58
+ replace writes the agent's copy over the whole file, so an edit a colleague made after the agent read it is lost.
59
+ drive keeps a real Google Doc in step with your file and sends small edits next to theirs. Google refuses an edit
60
+ from drive if the Doc changed after drive read it, so nothing is written over.
61
+ - **What your agent gets that a plain Drive connector does not give.** Claude's built-in Google Drive connector can
62
+ create a new file and change a file's title or folder, but not its text (its `update_file` tool, checked
63
+ on 2026-11-17). With drive, the agent edits the text itself.
64
+ - **Search that stays on your computer.** Google Docs are read across all their tabs, and a document keeps its identity
65
+ through renames and moves. Keyword search and optional local embeddings come from WireCat's shared search.
66
+ - **Safe to give to an agent.** Reads are the default. Changes in Google need a sign-in with `--grant write`, and
67
+ `DRIVE_READ_ONLY=1` refuses every change.
68
+ - **Free and open source.** Apache 2.0, built on Google's official Node clients.
13
69
 
14
70
  How it compares with gog, Workspace MCP and rclone, and when another tool fits better:
15
71
  [compared with other tools](docs/compare.md).
16
72
 
17
- ## Install
18
-
19
- Install the compiled CLI with Node 22.16+ on the 22.x line or Node 24+. A source build is not
20
- required:
73
+ ## Quick start
21
74
 
22
75
  ```sh
23
76
  npm install -g @wirecat/drive-cli
24
- drive --version
25
- drive --help
77
+ drive personal session start --grant write
78
+ drive personal mirrors add ./notes --parent https://drive.google.com/drive/folders/FOLDER_ID
79
+ drive personal mirrors sync
26
80
  ```
27
81
 
28
- See [installation and Google connection](docs/installation.md). Source builds are for
29
- [contributors](docs/dev/DEVELOPMENT.md).
82
+ `personal` is a name you choose for this Google account. The first sync turns each `.md` file in `./notes` into a
83
+ Google Doc in that folder. Edit a file, run `mirrors sync` again, and only what changed reaches the Doc. The full
84
+ guide, with CSV files as Sheets and what happens on a conflict: [mirror local files with Google](docs/mirrors.md).
85
+
86
+ You need Node 22.16+ on the 22.x line or Node 24+. See [installation and Google connection](docs/installation.md).
87
+ Source builds are for [contributors](docs/dev/DEVELOPMENT.md).
30
88
 
31
89
  `drive doctor` shows the version, settings file, profiles and paths without signing in, and `drive upgrade`
32
90
  installs a newer version with the package manager that installed drive.
33
91
 
34
- `drive guide` lists scenarios — the commands for a common task, in order — and `drive commands --json` is the full
35
- command tree. For an agent, `drive skill install` puts drive's instructions where Claude Code, Codex, Gemini CLI and
36
- OpenClaw look (Hermes with `--for hermes`), `drive personal mcp serve` serves three MCP tools (search, read, write) —
37
- `--http` serves them to ChatGPT and Claude in the browser ([remote MCP](docs/remote.md)) — and `DRIVE_READ_ONLY=1`
38
- refuses every change, as `--read-only` does.
92
+ ## Use it with your agent
93
+
94
+ Ask in plain words. The agent picks the commands.
95
+
96
+ > *"Use drive. Tighten the intro of notes/launch.md and sync it to the Doc."*
97
+ > *"Use drive. Find what we decided about the vendor contract, with the link."*
98
+
99
+ - **Claude Code, Codex** and other agents with a terminal edit the Markdown file with their usual file tools and run
100
+ `drive` themselves. `drive skill install` puts drive's instructions where Claude Code, Codex, Gemini CLI and
101
+ OpenClaw look (Hermes with `--for hermes`).
102
+ - **Apps that speak MCP** connect to `drive personal mcp serve`. It serves three tools (search, read, write), and
103
+ an agent can run `mirrors sync` through them. `mirrors watch` runs only from the command line.
104
+ - **ChatGPT and Claude in the browser** reach it with `--http` ([remote MCP](docs/remote.md)).
105
+
106
+ `drive guide` lists scenarios, the commands for a common task in order, and `drive commands --json` is the full
107
+ command tree. `DRIVE_READ_ONLY=1` refuses every change, as `--read-only` does.
108
+
109
+ More: [recipes](https://github.com/WireCatLabs/drive-cli/blob/main/docs/recipes.md)
39
110
 
40
111
  ## Sign in and choose folders
41
112
 
42
113
  Sign in with WireCat's included Google application. Each user approves their own account in the
43
114
  browser. Making a shared Google application public for Drive is complex, so Google may refuse
44
- the sign-in; see [what to do](docs/installation.md#google-shows-an-unverified-app-warning).
115
+ the sign-in. See [what to do](docs/installation.md#google-shows-an-unverified-app-warning).
45
116
  You can also create your own Desktop client as explained in the
46
- [installation guide](docs/installation.md). Connect your account, then choose a folder:
117
+ [installation guide](docs/installation.md). Connect your account, then choose a folder to import for search:
47
118
 
48
119
  ```sh
49
120
  drive personal session start
@@ -55,23 +126,27 @@ For Google Cloud setup and an isolated first run, follow the
55
126
  [browser sign-in and live validation guide](docs/dev/GOOGLE_OAUTH.md).
56
127
 
57
128
  Sign-in opens the system browser and receives Google's callback on a temporary loopback port.
58
- `--no-browser` prints the URL. `drive.readonly` grants account-wide reading; our selected-folder
59
- scope limits ingestion. Sync reads remote files. Optional remote management commands need a
60
- new sign-in with `session start --grant write`; history events need `session start --grant activity`.
129
+ `--no-browser` prints the URL. `drive.readonly` grants account-wide reading, and our selected-folder
130
+ scope limits ingestion. Sync reads remote files. Mirrors and other remote changes need a
131
+ new sign-in with `session start --grant write`, and history events need `session start --grant activity`.
61
132
 
62
133
  Credentials use the OS keyring. Where it fails, drive uses an owner-only private file without
63
- asking and says so once; `--credential-storage file` chooses the file outright, not recommended. Tokens never enter regular config, output
64
- or diagnostics. Your own Google app replaces the bundled one with `session start --client-file` or `--client-id`,
65
- `DRIVE_GOOGLE_CLIENT_ID` and `DRIVE_GOOGLE_CLIENT_SECRET`, or the `google_client_id` setting, in that order. The included Desktop
66
- client identity is public application metadata, separate from private user tokens. If you create
67
- your own Desktop client and leave it in Testing, Google usually ends its sign-ins after seven days.
134
+ asking and says so once. `--credential-storage file` chooses the file outright, not recommended. Tokens never enter
135
+ regular config, output or diagnostics. Your own Google app replaces the bundled one with `session start --client-file`
136
+ or `--client-id`, `DRIVE_GOOGLE_CLIENT_ID` and `DRIVE_GOOGLE_CLIENT_SECRET`, or the `google_client_id` setting, in that
137
+ order. The included Desktop client identity is public application metadata, separate from private user tokens. If you
138
+ create your own Desktop client and leave it in Testing, Google usually ends its sign-ins after seven days.
68
139
  [Google OAuth guide](https://developers.google.com/identity/protocols/oauth2/native-app),
69
140
  [Drive permissions](https://developers.google.com/workspace/drive/api/guides/api-specific-auth).
70
141
 
71
142
  Use `drive work …` for another account. Each Google account has one local profile. `drive session list`
72
143
  lists configured profiles. `session end` removes local sign-in while retaining cached data and
73
144
  configuration so re-login preserves document identities. `account remove --keep-data` or `--delete-data` goes
74
- further: it revokes the sign-in at Google and forgets the profile, and `--delete-data` also deletes its snapshots.
145
+ further. It revokes the sign-in at Google and forgets the profile, and `--delete-data` also deletes its snapshots.
146
+
147
+ Sources supported for import now: native Google Docs and Sheets, PDF, docx, xlsx, CSV, TSV, and uploaded
148
+ Markdown or TXT. Other types and shortcuts are reported as skipped, and shortcuts are not followed outside the
149
+ selected scope.
75
150
 
76
151
  ## Search and export
77
152
 
@@ -85,11 +160,12 @@ drive personal status --json
85
160
  drive commands sync --json
86
161
  ```
87
162
 
88
- Search results include the original Google URL. `documents show`, `list` and `export` print `synced_at` and `age_days`; a copy older than a day adds `missing`, `next` and `meta.complete: false`. `documents show` includes each tab's text, ID
89
- and title. Native Markdown exports are saved separately from the all-tab text used for indexing.
163
+ Search results include the original Google URL. `documents show`, `list` and `export` print `synced_at` and
164
+ `age_days`. A copy older than a day adds `missing`, `next` and `meta.complete: false`. `documents show` includes each
165
+ tab's text, ID and title. Native Markdown exports are saved separately from the all-tab text used for indexing.
90
166
  Export refuses to overwrite an existing destination file.
91
167
 
92
- Semantic search uses the shared local text model (about 135 MB). Download it once; it needs no profile or sign-in,
168
+ Semantic search uses the shared local text model (about 135 MB). Download it once. It needs no profile or sign-in,
93
169
  and every WireCat CLI shares it:
94
170
 
95
171
  ```sh
@@ -97,7 +173,7 @@ drive models download e5-small
97
173
  drive personal sync --embed
98
174
  ```
99
175
 
100
- Drive never downloads a model on its own; a missing one is reported. `--exact` searches words without semantic
176
+ Drive never downloads a model on its own, and a missing one is reported. `--exact` searches words without semantic
101
177
  retrieval.
102
178
 
103
179
  ## Keep it current
@@ -108,7 +184,7 @@ drive personal folders remove FOLDER_ID
108
184
  drive personal sync --json
109
185
  ```
110
186
 
111
- A batch is persisted before processing; interrupted work resumes next run. Progress is saved
187
+ A batch is persisted before processing, and interrupted work resumes next run. Progress is saved
112
188
  every 25 files or 2 seconds, so a killed sync redoes at most that many. The first walk of the
113
189
  chosen folders is saved as it goes, and an interrupted walk continues from the folders it had not
114
190
  listed yet. The change cursor advances when the batch completes. Incomplete discovery preserves the prior checkpoint and
@@ -116,33 +192,8 @@ documents. A per-profile heartbeat lock prevents simultaneous syncs and recovers
116
192
 
117
193
  Confirmed removals and scope exits remove sources from search and delete their snapshots.
118
194
  Removing the last selected folder reconciles to an empty cache on the next sync. Unsupported,
119
- restricted and oversized sources have explicit coverage status. Transient failures remain pending;
120
- a partial sync with errors exits nonzero. Doc IDs, rather than names, distinguish duplicates.
121
-
122
- ## Storage and coverage
123
-
124
- The shared path helper chooses platform-appropriate config, data and cache directories under
125
- drive-cli. Override with `DRIVE_CONFIG_DIR`, `DRIVE_STATE_DIR` and `DRIVE_CACHE_DIR`. Snapshots are
126
- `profiles/<profile>/documents/<file-id>.md` plus private JSON metadata and raw Docs responses.
127
-
128
- Documents use the same local WireCat database as Memo, Telegram and MAX. Imports become searchable
129
- across those tools, alongside messages and notes. `MESSAGING_STORE` selects another database;
130
- `WIRECAT_STATE_DIR` moves the default WireCat directory. Google sign-ins remain separate.
131
-
132
- On first use after an upgrade, Drive rebuilds old document references from its managed snapshots,
133
- without fetching Google. It retains the old database. If that database contains tags, notes,
134
- memories, facts or relationships, Drive refuses to strand them: keep using that file through
135
- `MESSAGING_STORE` until those annotations are transferred.
136
-
137
- Search covers body text, nested tables and footnotes from all tabs. Images, headers, footers,
138
- comments and suggested edits are excluded. Image assets are not downloaded. Search text and Google’s native Markdown export are separate representations; inspect the export
139
- when layout or tab coverage matters.
140
-
141
- One sync reads at most 10,000 entries under the chosen folders and saves where it stopped; the next sync goes on from
142
- there. One folder may hold at most 10,000 entries, and one sync reads at most 10,000 changes from Google's change
143
- feed; past either, it stops with nothing lost and says what to do. Text caps at
144
- 2,000,000 characters and snapshots at 50 MiB, with bounded pagination. Oversized input is refused rather than truncated. Google's native export
145
- also has its own 10 MB limit. Documents changing during export remain pending for retry.
195
+ restricted and oversized sources have explicit coverage status. Transient failures remain pending,
196
+ and a partial sync with errors exits nonzero. Doc IDs, rather than names, distinguish duplicates.
146
197
 
147
198
  ## Document knowledge and remote actions
148
199
 
@@ -156,23 +207,51 @@ drive personal facts add DOC_ID 'Budget approved for Q4' --type decision --scope
156
207
  drive personal memories add DOC_ID 'Q4 budget, in short' --scope work --kind summary
157
208
  drive personal memories extract DOC_ID --scope work
158
209
  drive personal documents history DOC_ID
210
+ drive personal changes --since 7d
159
211
  drive api list service:docs
160
212
  ```
161
213
 
214
+ Shared tags, notes, editor identities and evidence-backed memories stay attached to the imported documents.
162
215
  AI extraction explicitly sends selected cached text to the configured model. It previews proposals
163
- unless `--yes` is given; saved proposals include source quotes, snapshot hashes and model authorship.
216
+ unless `--yes` is given. Saved proposals include source quotes, snapshot hashes and model authorship.
164
217
  Use the shared model setup with `models set --provider openai --model MODEL_ID`. Provider keys
165
218
  come from the corresponding API-key environment variable and never enter regular configuration.
166
219
  Source content changes and scope removals mark source-backed memories stale. User notes stay local.
167
220
 
168
221
  The generated API exposes 85 methods: 64 Drive, 17 Sheets, 3 Docs and 1 Activity. Convenient commands include
169
- file listing/copying/moving, trash/restore, folder creation, Docs creation/batch updates, comments,
222
+ file listing, copying and moving, trash and restore, folder creation, Docs creation and batch updates, comments,
170
223
  permissions, revisions and Shared Drives. Read grants remain the default. JSON API calls require
171
- explicit flags for mutation and permanent deletion; Google still enforces file roles and API policy.
224
+ explicit flags for mutation and permanent deletion. Google still enforces file roles and API policy.
172
225
 
173
226
  Read the [knowledge and API command guide](docs/dev/KNOWLEDGE_AND_API.md) for complete examples,
174
227
  permissions, history limits, AI settings and supported request formats. Contributor checks use
175
- isolated sources and mocked provider requests; see the [testing guide](docs/dev/TESTING.md).
228
+ isolated sources and mocked provider requests. See the [testing guide](docs/dev/TESTING.md).
229
+
230
+ ## Storage and coverage
231
+
232
+ The shared path helper chooses platform-appropriate config, data and cache directories under
233
+ drive-cli. Override with `DRIVE_CONFIG_DIR`, `DRIVE_STATE_DIR` and `DRIVE_CACHE_DIR`. Snapshots are
234
+ `profiles/<profile>/documents/<file-id>.md` plus private JSON metadata and raw Docs responses.
235
+
236
+ Documents use the same local WireCat database as Memo, Telegram and MAX. Imports become searchable
237
+ across those tools, alongside messages and notes. `MESSAGING_STORE` selects another database, and
238
+ `WIRECAT_STATE_DIR` moves the default WireCat directory. Google sign-ins remain separate.
239
+
240
+ On first use after an upgrade, Drive rebuilds old document references from its managed snapshots,
241
+ without fetching Google. It retains the old database. If that database contains tags, notes,
242
+ memories, facts or relationships, Drive refuses to strand them. Keep using that file through
243
+ `MESSAGING_STORE` until those annotations are transferred.
244
+
245
+ Search covers body text, nested tables and footnotes from all tabs. Images, headers, footers,
246
+ comments and suggested edits are excluded. Image assets are not downloaded. Search text and Google’s native Markdown
247
+ export are separate representations. Inspect the export when layout or tab coverage matters.
248
+
249
+ One sync reads at most 10,000 entries under the chosen folders and saves where it stopped, and the next sync goes on
250
+ from there. A sync also stops after 15 minutes in a terminal, 45 seconds over MCP, and the next one goes on. One folder
251
+ may hold at most 10,000 entries, and one sync reads at most 10,000 changes from Google's change feed. Past either, it
252
+ stops with nothing lost and says what to do. Text caps at 2,000,000 characters and snapshots at 50 MiB, with bounded
253
+ pagination. Oversized input is refused rather than truncated. Google's native export also has its own 10 MB limit.
254
+ Documents changing during export remain pending for retry.
176
255
 
177
256
  ## Community
178
257
 
@@ -371,6 +371,18 @@
371
371
  },
372
372
  "permission": "documents.export"
373
373
  },
374
+ {
375
+ "path": [
376
+ "documents",
377
+ "history"
378
+ ],
379
+ "summary": "list the versions of a document kept in the local copy, or show one with…",
380
+ "effects": {
381
+ "remote": "none",
382
+ "local": "read"
383
+ },
384
+ "permission": "documents.history"
385
+ },
374
386
  {
375
387
  "path": [
376
388
  "documents",
@@ -445,15 +457,14 @@
445
457
  },
446
458
  {
447
459
  "path": [
448
- "documents",
449
- "history"
460
+ "changes"
450
461
  ],
451
- "summary": "list the revisions Google kept, or who did what with --activity",
462
+ "summary": "list the documents the sync added, changed, removed or brought back, newest…",
452
463
  "effects": {
453
- "remote": "read",
454
- "local": "none"
464
+ "remote": "none",
465
+ "local": "read"
455
466
  },
456
- "permission": "documents.history"
467
+ "permission": "changes"
457
468
  },
458
469
  {
459
470
  "path": [
@@ -2174,6 +2185,19 @@
2174
2185
  },
2175
2186
  "permission": "files.upload"
2176
2187
  },
2188
+ {
2189
+ "path": [
2190
+ "activities",
2191
+ "list"
2192
+ ],
2193
+ "summary": "list who did what with a file (needs session start --grant activity)",
2194
+ "effects": {
2195
+ "remote": "read",
2196
+ "local": "none"
2197
+ },
2198
+ "permission": "activities.list",
2199
+ "entity": "drive_remote_activity"
2200
+ },
2177
2201
  {
2178
2202
  "path": [
2179
2203
  "comments",
@@ -2576,7 +2600,9 @@
2576
2600
  },
2577
2601
  "selected_folder": {
2578
2602
  "fields": [
2579
- "id"
2603
+ "id",
2604
+ "name",
2605
+ "path"
2580
2606
  ]
2581
2607
  },
2582
2608
  "drive_transcript": {
@@ -2670,6 +2696,11 @@
2670
2696
  "viewed_by_me_time"
2671
2697
  ]
2672
2698
  },
2699
+ "drive_remote_activity": {
2700
+ "fields": [
2701
+ "timestamp"
2702
+ ]
2703
+ },
2673
2704
  "drive_remote_comment": {
2674
2705
  "fields": [
2675
2706
  "id"
@@ -2895,6 +2926,44 @@
2895
2926
  "app": "drive-cli",
2896
2927
  "env": "DRIVE"
2897
2928
  },
2898
- "settings": null
2929
+ "settings": null,
2930
+ "accountRemove": {
2931
+ "signOut": [
2932
+ "{profile}",
2933
+ "session",
2934
+ "end",
2935
+ "--record",
2936
+ "--json"
2937
+ ],
2938
+ "remove": {
2939
+ "minVersion": "0.0.0",
2940
+ "keepData": [
2941
+ "{profile}",
2942
+ "account",
2943
+ "remove",
2944
+ "--keep-data",
2945
+ "--record",
2946
+ "--json"
2947
+ ],
2948
+ "deleteData": [
2949
+ "{profile}",
2950
+ "account",
2951
+ "remove",
2952
+ "--delete-data",
2953
+ "--record",
2954
+ "--json"
2955
+ ],
2956
+ "dryRun": "--dry-run",
2957
+ "confirm": "--yes"
2958
+ },
2959
+ "removes": [
2960
+ "signIn"
2961
+ ],
2962
+ "keeps": [
2963
+ "settings",
2964
+ "data",
2965
+ "listed"
2966
+ ]
2967
+ }
2899
2968
  }
2900
2969
  }
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.71.0\n")
12
+ process.stdout.write("0.72.1\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-3QJG2NAN.js","../bundle/anthropic-PSWTEU6G.js","../bundle/app-server-PVTA6ABR.js","../bundle/bun-LU5LP3JI.js","../bundle/bun-sqlite-PYMKLBRU.js","../bundle/cli-556DERZL.js","../bundle/command-contract-VRTOAV6W.js","../bundle/command-server-entry-AYLGNZWD.js","../bundle/decode-QU24MWMN.js","../bundle/dispatch-4KODNOXV.js","../bundle/dist-MWTMOYWT.js","../bundle/echarts-BXX4OQWC.js","../bundle/embed-KG27KG3D.js","../bundle/embedder-IPAVUQUV.js","../bundle/entry-MVXQETWS.js","../bundle/failure-ESL7ETL4.js","../bundle/first-run-4UVLW2WR.js","../bundle/first-screen-JAKAIINI.js","../bundle/google-22NXXJX5.js","../bundle/google-api-VCDBSNOW.js","../bundle/grants-MQMTVCRQ.js","../bundle/identity-LOWMVGZY.js","../bundle/instructions-2VECIDXF.js","../bundle/login-7GBONT7V.js","../bundle/mcp-O6ACR2DX.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/meeting-combined-LVP4AZKA.js","../bundle/meeting-model-RAY5XDXZ.js","../bundle/meeting-semantic-G7PFOKU7.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-MPEQSFI3.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-OLQMAYB4.js","../bundle/oauth-SGH2I2BY.js","../bundle/open-OXTE672W.js","../bundle/openai-EB3TPIZY.js","../bundle/process-F6TKXWWA.js","../bundle/program-4IFDZ7FM.js","../bundle/prompt-F5RRHPN2.js","../bundle/reasons-UORHJDHK.js","../bundle/recognize-DAVNZND3.js","../bundle/remote-D5EYYIAU.js","../bundle/rerank-CND2GVLZ.js","../bundle/serve-ZHSPUIGX.js","../bundle/server-DUVJWP3Q.js","../bundle/server-YMAK4LHC.js","../bundle/services-ZILSFJ6E.js","../bundle/sqlite-runtime-S5VPMZQH.js","../bundle/start-CR6X25RT.js","../bundle/state-YFPHVIIJ.js","../bundle/store-CL4ZJZRI.js","../bundle/store-UODRT6X4.js","../bundle/store-maintenance-command-DY5XIBWR.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-AF7QOFOF.js"]
31
+ const chunks = ["../bundle/agent-GOCD4ZW2.js","../bundle/all-profiles-PZVP3G73.js","../bundle/anthropic-PUOTKSYV.js","../bundle/app-server-MKDCXRZM.js","../bundle/bun-NS5YLOQT.js","../bundle/bun-sqlite-KSKWRLLO.js","../bundle/cli-KXRWXGTS.js","../bundle/command-contract-BGNT7MTQ.js","../bundle/command-server-entry-7FZX74T6.js","../bundle/decode-SZ6W34U3.js","../bundle/dispatch-4KNSZ3PI.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-ISH62J4E.js","../bundle/embed-6ODGTZPK.js","../bundle/embedder-6FY67FTQ.js","../bundle/entry-2SA6ZX7E.js","../bundle/failure-V3ILKUTX.js","../bundle/first-run-ZNKPPD6M.js","../bundle/first-screen-WF6GYLPN.js","../bundle/google-QCADNPCQ.js","../bundle/google-api-ZTI3NKZX.js","../bundle/grants-BPN5AGDK.js","../bundle/identity-YX4IPGOO.js","../bundle/instructions-G5ZGHVFB.js","../bundle/login-CVX5VJX6.js","../bundle/mcp-MQ2L5IIM.js","../bundle/mdast-util-from-markdown-HEZF7KJ4.js","../bundle/mdast-util-gfm-AQW6R6MG.js","../bundle/meeting-combined-HKZJMJ6Q.js","../bundle/meeting-model-DSE4GRVE.js","../bundle/meeting-semantic-OHG2QN2G.js","../bundle/micromark-extension-gfm-OE2GBORZ.js","../bundle/node-NLJINXVQ.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-KDFQDYVZ.js","../bundle/oauth-M3E62ZHC.js","../bundle/open-WVRUVBIZ.js","../bundle/openai-JJWOSJMV.js","../bundle/process-LPVAYRO7.js","../bundle/program-ZJRIP25J.js","../bundle/prompt-XCDHTEAO.js","../bundle/reasons-REEEQDAZ.js","../bundle/recognize-OZLFDJAT.js","../bundle/remote-MDPYVCZB.js","../bundle/rerank-FLZWJNHA.js","../bundle/serve-5UV5VLRV.js","../bundle/server-53A2X2MK.js","../bundle/server-5GMURMDE.js","../bundle/services-XSMH7BXB.js","../bundle/sqlite-runtime-E3L7ENFU.js","../bundle/start-4S2VNR4J.js","../bundle/state-TQI4JSH7.js","../bundle/store-GS7PU6PJ.js","../bundle/store-VYJPL7MW.js","../bundle/store-maintenance-command-JJVYUZMG.js","../bundle/surface-JC4XVMZR.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-KJQ5EAPW.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -0,0 +1,46 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ runCommandForAgent,
5
+ toolsFromCommands
6
+ } from "./chunk-FJQO5OHR.js";
7
+ import "./chunk-VHTELRUA.js";
8
+ import "./chunk-A5XNUMW7.js";
9
+ import "./chunk-PL5P7UKW.js";
10
+ import "./chunk-VOQICE3G.js";
11
+ import "./chunk-S27UKJVL.js";
12
+ import "./chunk-G2KKMQRN.js";
13
+ import "./chunk-JRED7BNX.js";
14
+ import "./chunk-PMAV3RNP.js";
15
+ import "./chunk-SAEBHENE.js";
16
+ import "./chunk-MGC2BAD2.js";
17
+ import "./chunk-QK7GKFKB.js";
18
+ import "./chunk-HOICQNJX.js";
19
+ import "./chunk-5BHP4FVM.js";
20
+ import "./chunk-JZ65CQWK.js";
21
+ import "./chunk-6KND2DYT.js";
22
+ import "./chunk-HSASPXRW.js";
23
+ import "./chunk-2CG3LUQS.js";
24
+ import "./chunk-BDZXGDGI.js";
25
+ import "./chunk-PSY67L73.js";
26
+ import "./chunk-LKUWH6KU.js";
27
+ import "./chunk-FKP4T7A4.js";
28
+ import "./chunk-VBIZD5V5.js";
29
+ import "./chunk-X5CXANSA.js";
30
+ import "./chunk-IE3R46YN.js";
31
+ import "./chunk-4DK55MLP.js";
32
+ import "./chunk-HCMEU7AF.js";
33
+ import "./chunk-E5EYJU5R.js";
34
+ import "./chunk-HMN26CVU.js";
35
+ import "./chunk-3ZGWJYSG.js";
36
+ import "./chunk-T3OK6AYZ.js";
37
+ import "./chunk-MDJUYCHT.js";
38
+ import "./chunk-IABPGOMT.js";
39
+ import "./chunk-OBDPKDGB.js";
40
+ import "./chunk-IBQZT2YD.js";
41
+ import "./chunk-Y5E2WNWB.js";
42
+ import "./chunk-ZVVMGPBJ.js";
43
+ export {
44
+ runCommandForAgent,
45
+ toolsFromCommands
46
+ };