@wirecat/drive-cli 0.70.0 → 0.72.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.
- package/README.md +150 -70
- package/contracts/wirecat.json +77 -8
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/agent-23OB2NZP.js +46 -0
- package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-GXGDVNQJ.js} +67 -25
- package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-H5C4GQHC.js} +9 -9
- package/dist/bundle/{app-server-QU73RD5R.js → app-server-EQ3UK4C7.js} +97 -79
- package/dist/bundle/{bun-5XCD5CBB.js → bun-DTJVSRY3.js} +2 -2
- package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-JIFY7MAE.js} +9 -9
- package/dist/bundle/chunk-2Q325BBD.js +353 -0
- package/dist/bundle/chunk-35FIJGTT.js +52 -0
- package/dist/bundle/{chunk-7C5KENNU.js → chunk-3FRQ6V4T.js} +3 -3
- package/dist/bundle/chunk-47L262VI.js +340 -0
- package/dist/bundle/chunk-4HP6KGBI.js +32 -0
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-4HPXWYTE.js} +1 -1
- package/dist/bundle/{chunk-HYXXMSVD.js → chunk-4IUNYYYL.js} +4473 -2685
- package/dist/bundle/{chunk-FYPW7NMH.js → chunk-4JS32SRX.js} +64 -4
- package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
- package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
- package/dist/bundle/{chunk-SONPLYV7.js → chunk-55FH6IEL.js} +5 -5
- package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-5BNMWSU2.js} +659 -255
- package/dist/bundle/{chunk-FVTKFIQH.js → chunk-5H747A76.js} +5496 -3195
- package/dist/bundle/{chunk-PR7XD2DI.js → chunk-5KWCO56H.js} +2 -2
- package/dist/bundle/{chunk-3AHBZP33.js → chunk-5U3NCE5R.js} +35 -12
- package/dist/bundle/{chunk-HRATXUFH.js → chunk-6CCO3JCM.js} +31 -22
- package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-6ZW2ZJYC.js} +2 -2
- package/dist/bundle/{chunk-RQNRYF6D.js → chunk-75DAHQOV.js} +3 -3
- package/dist/bundle/{chunk-7QSRODXM.js → chunk-77OBW43F.js} +6 -6
- package/dist/bundle/{chunk-GV5DGHSA.js → chunk-7EFM6AW3.js} +4 -4
- package/dist/bundle/{chunk-BXPC5TFG.js → chunk-A3S7QM5L.js} +3 -3
- package/dist/bundle/{chunk-IGNIUDI3.js → chunk-AA4LKC6W.js} +251 -565
- package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
- package/dist/bundle/{chunk-3TCMANIM.js → chunk-BM6V7456.js} +8 -227
- package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
- package/dist/bundle/{chunk-F5KJWRF5.js → chunk-BPA3R4KN.js} +2 -100
- package/dist/bundle/chunk-CIFE4KPX.js +2159 -0
- package/dist/bundle/chunk-CKB4XZZJ.js +730 -0
- package/dist/bundle/{chunk-YCL3SK4T.js → chunk-COJTCEZP.js} +113 -860
- package/dist/bundle/{chunk-BD2K2ONK.js → chunk-CWPYDT73.js} +6 -6
- package/dist/bundle/{chunk-6BMTW5A6.js → chunk-D4JNCXS7.js} +9 -9
- package/dist/bundle/chunk-DCPWZIOV.js +696 -0
- package/dist/bundle/{chunk-P7PLKNPX.js → chunk-DHMNCOQI.js} +415 -272
- package/dist/bundle/chunk-DOQMH4DC.js +280 -0
- package/dist/bundle/chunk-DQSOYH6N.js +20 -0
- package/dist/bundle/{chunk-ML3R2UHV.js → chunk-DWRUOLBF.js} +4 -4
- package/dist/bundle/{chunk-5JTB4URG.js → chunk-E3VWZC3K.js} +14 -13
- package/dist/bundle/chunk-ECYOTDJM.js +14 -0
- package/dist/bundle/{chunk-7IBENBCK.js → chunk-EVG3AA5M.js} +2 -2
- package/dist/bundle/chunk-F4BX7TH2.js +15 -0
- package/dist/bundle/{chunk-FCSHWUMW.js → chunk-FBEZSA76.js} +5 -5
- package/dist/bundle/{chunk-RHSBXOQM.js → chunk-FBQJN74J.js} +1 -1
- package/dist/bundle/{chunk-4WK26MPY.js → chunk-FIZOPJYY.js} +1 -1
- package/dist/bundle/chunk-FNAYSZWK.js +783 -0
- package/dist/bundle/{chunk-LINBDWJK.js → chunk-FRCJHGZM.js} +2 -2
- package/dist/bundle/{chunk-RCTOWLCD.js → chunk-FTG5QBSD.js} +41 -33
- package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-FUDUXIVG.js} +1 -1
- package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
- package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-GIEZYBRC.js} +1 -1
- package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
- package/dist/bundle/chunk-GU6ICH53.js +108 -0
- package/dist/bundle/{chunk-REM5WHHQ.js → chunk-GUMKKRE6.js} +107 -71
- package/dist/bundle/{chunk-QBAOIMVB.js → chunk-GWCDOYSC.js} +1 -1
- package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-GXGSC622.js} +69 -7
- package/dist/bundle/chunk-HAGXTGJC.js +188 -0
- package/dist/bundle/{chunk-TNKQDS5A.js → chunk-IMAWQC5K.js} +6 -6
- package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-IVGVVSPW.js} +4 -4
- package/dist/bundle/{chunk-EDO5LZVF.js → chunk-J4NUHSM7.js} +1 -1
- package/dist/bundle/{chunk-DVVUJ254.js → chunk-K652FYCO.js} +6 -6
- package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
- package/dist/bundle/{chunk-FONIFRYI.js → chunk-KF3ZBQJV.js} +4 -4
- package/dist/bundle/chunk-KFZCHJRT.js +80 -0
- package/dist/bundle/chunk-KLPFDFLI.js +221 -0
- package/dist/bundle/{chunk-LMJBQFW6.js → chunk-KP2XMCNT.js} +13 -13
- package/dist/bundle/{chunk-FADAOLGB.js → chunk-KWDZ3KVH.js} +4 -4
- package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-KX4C32WD.js} +2 -2
- package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
- package/dist/bundle/{chunk-ILAQIBEO.js → chunk-M2ZWYVWO.js} +1 -1
- package/dist/bundle/chunk-MEYYH47C.js +25 -0
- package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-ML2QIWX2.js} +4 -4
- package/dist/bundle/{chunk-XOL346TJ.js → chunk-MUFF2YTH.js} +2 -2
- package/dist/bundle/{chunk-GAHIHE4K.js → chunk-N24YSLED.js} +9166 -9751
- package/dist/bundle/chunk-N4GTCPML.js +7 -0
- package/dist/bundle/{chunk-DVI72ZQG.js → chunk-NBMGDRP4.js} +1 -1
- package/dist/bundle/chunk-NMQRSEZM.js +37 -0
- package/dist/bundle/{chunk-I7YSHUPW.js → chunk-NNGA4QDR.js} +13 -26
- package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
- package/dist/bundle/chunk-O7CZZ36M.js +80 -0
- package/dist/bundle/{chunk-HWUPU6WX.js → chunk-OAONP6KI.js} +13 -9
- package/dist/bundle/{chunk-3CHW7JGR.js → chunk-OESP4PHB.js} +17 -17
- package/dist/bundle/chunk-OHR6IZNH.js +116 -0
- package/dist/bundle/{chunk-54NDYVZA.js → chunk-OLCU7Q2B.js} +1 -1
- package/dist/bundle/{chunk-FN3RXBO7.js → chunk-OLDQLEPA.js} +6 -6
- package/dist/bundle/{chunk-7DJNURKV.js → chunk-OPIPG6AP.js} +16 -9
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/chunk-PRYMT3OG.js +30 -0
- package/dist/bundle/chunk-QDUIVMEW.js +36 -0
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-QKBPCX7Y.js} +1 -1
- package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QSLOACDT.js} +201 -423
- package/dist/bundle/{chunk-3UWRAIWA.js → chunk-QUZFDU4K.js} +4 -4
- package/dist/bundle/{chunk-KSJAFMU5.js → chunk-R32DHS6J.js} +211 -380
- package/dist/bundle/{chunk-2SBC4DVV.js → chunk-R57QUYBG.js} +6 -28
- package/dist/bundle/{chunk-IFTX7AQU.js → chunk-R64OSDOD.js} +45 -66
- package/dist/bundle/{chunk-WJK6KTCS.js → chunk-RSPBVKOC.js} +8 -8
- package/dist/bundle/{chunk-GPDPEHYX.js → chunk-SPNPJ3FZ.js} +3 -4
- package/dist/bundle/chunk-SQHDSIFL.js +388 -0
- package/dist/bundle/{chunk-XZBA6FVH.js → chunk-ST35FIUG.js} +3 -3
- package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
- package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
- package/dist/bundle/chunk-TRYYWV7J.js +291 -0
- package/dist/bundle/{chunk-OY7TNUEC.js → chunk-TTPWKTVR.js} +1 -1
- package/dist/bundle/{chunk-3UZ4OH22.js → chunk-U7VEJ3CW.js} +49 -129
- package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
- package/dist/bundle/{chunk-HK225DAG.js → chunk-UIQ35CA5.js} +1 -1
- package/dist/bundle/{chunk-GK3BJMGK.js → chunk-UJY26HW4.js} +1 -1
- package/dist/bundle/{chunk-EG62WVR2.js → chunk-UWG3PRY7.js} +9 -60
- package/dist/bundle/{chunk-BBRMDMIR.js → chunk-VAR3MJU6.js} +3 -3
- package/dist/bundle/{chunk-GJZSVSV3.js → chunk-VPQSI5IU.js} +4 -4
- package/dist/bundle/{chunk-YZPE72GE.js → chunk-VQPT3Y7W.js} +12 -12
- package/dist/bundle/{chunk-T5D4OGDC.js → chunk-WMG3H2VK.js} +2 -2
- package/dist/bundle/{chunk-6DPOWBKA.js → chunk-X5BGAZC5.js} +6 -6
- package/dist/bundle/{chunk-DHX27E5M.js → chunk-XC6TRWLZ.js} +3 -3
- package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-XQZEMRCU.js} +402 -402
- package/dist/bundle/{chunk-54BQWRJL.js → chunk-XZ7MO6EU.js} +7 -7
- package/dist/bundle/{chunk-TGS5VPJD.js → chunk-YAIOEPKU.js} +341 -433
- package/dist/bundle/chunk-YHWFF6DN.js +39 -0
- package/dist/bundle/{chunk-WWE5GO6G.js → chunk-YWOLQEDV.js} +16 -3
- package/dist/bundle/{chunk-DR57KDAY.js → chunk-ZFDSJ5YJ.js} +38 -8
- package/dist/bundle/{chunk-BBFXQPKD.js → chunk-ZFUZEFU6.js} +3 -3
- package/dist/bundle/{chunk-YRUR3E3E.js → chunk-ZJKXSMXK.js} +72 -59
- package/dist/bundle/{chunk-BFKFKDPC.js → chunk-ZKWT6HXT.js} +1 -1
- package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
- package/dist/bundle/{cli-K4D4DIGQ.js → cli-2P5FW2RL.js} +201 -98
- package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
- package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-KP2UDGLA.js} +36 -34
- package/dist/bundle/{decode-SEETPKBH.js → decode-K2JZ5D6V.js} +10 -10
- package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-KOQZA74A.js} +10 -10
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-URO3QGCG.js} +2 -2
- package/dist/bundle/{embed-B2UCRZZR.js → embed-JLIPWTNN.js} +10 -10
- package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-LUTDO3HS.js} +15 -15
- package/dist/bundle/entry-AVF6LMG7.js +25 -0
- package/dist/bundle/{failure-CYNXH3RQ.js → failure-GJMQLM7O.js} +4 -4
- package/dist/bundle/first-run-VYTIEUDA.js +31 -0
- package/dist/bundle/first-screen-QVZPF7KL.js +45 -0
- package/dist/bundle/google-VX7IPACN.js +46 -0
- package/dist/bundle/{google-api-SAND2F7L.js → google-api-RFXKRLL4.js} +88 -73
- package/dist/bundle/grants-4XWJFVD6.js +133 -0
- package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
- package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
- package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
- package/dist/bundle/{identity-JVVGS4U6.js → identity-FXPB5EMT.js} +7 -6
- package/dist/bundle/{instructions-JSMTSB22.js → instructions-IROIUVZI.js} +1 -1
- package/dist/bundle/{login-6WG3YBDU.js → login-WIY5VQU7.js} +96 -81
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-NJIOKW3E.js} +2 -2
- package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
- package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
- package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
- package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
- package/dist/bundle/meeting-combined-JUNV35GM.js +28 -0
- package/dist/bundle/meeting-model-XY4UNWWK.js +29 -0
- package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-62QNQMOM.js} +10 -10
- package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
- package/dist/bundle/{node-VJMVHOWD.js → node-IACCI2CW.js} +2 -2
- package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-WYIRC7C7.js} +10 -10
- package/dist/bundle/notes-search-DEDUJKSN.js +70 -0
- package/dist/bundle/oauth-HXBXF4VI.js +22 -0
- package/dist/bundle/{open-NFOEHVW7.js → open-H32B6BCT.js} +8 -8
- package/dist/bundle/{openai-D47WY7EC.js → openai-VHMPJJUG.js} +22 -21
- package/dist/bundle/{process-Q2FRU5VA.js → process-RNHPF5OK.js} +1 -1
- package/dist/bundle/{program-T2AJJQEM.js → program-GYMJ3DDH.js} +276 -1132
- package/dist/bundle/{prompt-YJSDABXN.js → prompt-TOG2CRCE.js} +8 -8
- package/dist/bundle/{reasons-WEHPCSJX.js → reasons-TLFQ45YX.js} +6 -5
- package/dist/bundle/{recognize-6OBEIEB3.js → recognize-GYGY45EY.js} +7 -7
- package/dist/bundle/remote-6XN2QLI5.js +35 -0
- package/dist/bundle/{rerank-L6F5SLIB.js → rerank-HJO3O4TW.js} +11 -11
- package/dist/bundle/{serve-GYSWIWH4.js → serve-XPCNLHCR.js} +19 -19
- package/dist/bundle/server-UBJZ66XE.js +97 -0
- package/dist/bundle/{server-GWWP3RIT.js → server-WPT3NC5B.js} +89 -70
- package/dist/bundle/{services-BDQBRXT5.js → services-253KKKVU.js} +109 -89
- package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-EZASGJXW.js} +9 -9
- package/dist/bundle/{start-BJ275RUK.js → start-UHI35JFL.js} +7 -7
- package/dist/bundle/{state-HLNGFI2T.js → state-KJTSPFGK.js} +9 -9
- package/dist/bundle/{store-I43KZNJW.js → store-62J2H2A3.js} +36 -25
- package/dist/bundle/{store-OSRTGYGI.js → store-G5B7T7M7.js} +38 -23
- package/dist/bundle/store-maintenance-command-C6T4YLVF.js +85 -0
- package/dist/bundle/surface-3OT64BHS.js +83 -0
- package/dist/bundle/tokens-EHYO6D2X.js +133 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +11 -1
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +8 -22
- package/dist/commands/remote.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +14 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -1
- package/dist/config.js.map +1 -1
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +2 -1
- package/dist/first-screen.js.map +1 -1
- package/dist/generated/manifest.d.ts +2 -1
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +782 -0
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +262 -58
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/google.d.ts.map +1 -1
- package/dist/google.js +5 -5
- package/dist/google.js.map +1 -1
- package/dist/model.d.ts +5 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js.map +1 -1
- package/dist/policy-keys.js +1 -1
- package/dist/policy-keys.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +9 -4
- package/dist/program.js.map +1 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +6 -1
- package/dist/state.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +2 -7
- package/dist/store.js.map +1 -1
- package/dist/supported.d.ts +2 -2
- package/dist/supported.d.ts.map +1 -1
- package/dist/supported.js +2 -3
- package/dist/supported.js.map +1 -1
- package/dist/sync.d.ts +2 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/sync.js +6 -4
- package/dist/sync.js.map +1 -1
- package/dist/transcripts.d.ts +0 -6
- package/dist/transcripts.d.ts.map +1 -1
- package/dist/transcripts.js +0 -13
- package/dist/transcripts.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/scenarios/find-decision.md +1 -1
- package/skills/drive-cli/SKILL.md +4 -2
- package/dist/bundle/chunk-AV5UKJZM.js +0 -729
- package/dist/bundle/chunk-NP7LJATI.js +0 -598
- package/dist/bundle/chunk-P77FL6RY.js +0 -896
- package/dist/bundle/chunk-ZI3YTXSF.js +0 -2
- package/dist/bundle/command-contract-V3F452QI.js +0 -43
- package/dist/bundle/entry-ORZYRJ5N.js +0 -25
- package/dist/bundle/first-run-KAKA6KBY.js +0 -31
- package/dist/bundle/first-screen-R645UHRH.js +0 -41
- package/dist/bundle/google-BSO3YB7N.js +0 -45
- package/dist/bundle/grants-PLNFYARD.js +0 -118
- package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
- package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
- package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
- package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
- package/dist/bundle/remote-3SL2QJ7T.js +0 -35
- package/dist/bundle/server-BI46BSRE.js +0 -80
- package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
- package/dist/bundle/tokens-DB7O7QNB.js +0 -118
package/README.md
CHANGED
|
@@ -1,49 +1,120 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
##
|
|
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 --
|
|
25
|
-
drive --
|
|
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
|
-
|
|
29
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
|
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
|
|
59
|
-
scope limits ingestion. Sync reads remote files.
|
|
60
|
-
new sign-in with `session start --grant write
|
|
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
|
|
64
|
-
or diagnostics. Your own Google app replaces the bundled one with `session start --client-file`
|
|
65
|
-
`DRIVE_GOOGLE_CLIENT_ID` and `DRIVE_GOOGLE_CLIENT_SECRET`, or the `google_client_id` setting, in that
|
|
66
|
-
client identity is public application metadata, separate from private user tokens. If you
|
|
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
|
|
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
|
|
89
|
-
|
|
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
|
|
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
|
|
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
|
|
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,32 +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 at most 10,000 changes from
|
|
142
|
-
Google's change feed; past either, it stops with nothing lost and says what to do. Text caps at
|
|
143
|
-
2,000,000 characters and snapshots at 50 MiB, with bounded pagination. Oversized input is refused rather than truncated. Google's native export
|
|
144
|
-
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.
|
|
145
197
|
|
|
146
198
|
## Document knowledge and remote actions
|
|
147
199
|
|
|
@@ -155,23 +207,51 @@ drive personal facts add DOC_ID 'Budget approved for Q4' --type decision --scope
|
|
|
155
207
|
drive personal memories add DOC_ID 'Q4 budget, in short' --scope work --kind summary
|
|
156
208
|
drive personal memories extract DOC_ID --scope work
|
|
157
209
|
drive personal documents history DOC_ID
|
|
210
|
+
drive personal changes --since 7d
|
|
158
211
|
drive api list service:docs
|
|
159
212
|
```
|
|
160
213
|
|
|
214
|
+
Shared tags, notes, editor identities and evidence-backed memories stay attached to the imported documents.
|
|
161
215
|
AI extraction explicitly sends selected cached text to the configured model. It previews proposals
|
|
162
|
-
unless `--yes` is given
|
|
216
|
+
unless `--yes` is given. Saved proposals include source quotes, snapshot hashes and model authorship.
|
|
163
217
|
Use the shared model setup with `models set --provider openai --model MODEL_ID`. Provider keys
|
|
164
218
|
come from the corresponding API-key environment variable and never enter regular configuration.
|
|
165
219
|
Source content changes and scope removals mark source-backed memories stale. User notes stay local.
|
|
166
220
|
|
|
167
221
|
The generated API exposes 85 methods: 64 Drive, 17 Sheets, 3 Docs and 1 Activity. Convenient commands include
|
|
168
|
-
file listing
|
|
222
|
+
file listing, copying and moving, trash and restore, folder creation, Docs creation and batch updates, comments,
|
|
169
223
|
permissions, revisions and Shared Drives. Read grants remain the default. JSON API calls require
|
|
170
|
-
explicit flags for mutation and permanent deletion
|
|
224
|
+
explicit flags for mutation and permanent deletion. Google still enforces file roles and API policy.
|
|
171
225
|
|
|
172
226
|
Read the [knowledge and API command guide](docs/dev/KNOWLEDGE_AND_API.md) for complete examples,
|
|
173
227
|
permissions, history limits, AI settings and supported request formats. Contributor checks use
|
|
174
|
-
isolated sources and mocked provider requests
|
|
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.
|
|
175
255
|
|
|
176
256
|
## Community
|
|
177
257
|
|
package/contracts/wirecat.json
CHANGED
|
@@ -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
|
-
"
|
|
449
|
-
"history"
|
|
460
|
+
"changes"
|
|
450
461
|
],
|
|
451
|
-
"summary": "list the
|
|
462
|
+
"summary": "list the documents the sync added, changed, removed or brought back, newest…",
|
|
452
463
|
"effects": {
|
|
453
|
-
"remote": "
|
|
454
|
-
"local": "
|
|
464
|
+
"remote": "none",
|
|
465
|
+
"local": "read"
|
|
455
466
|
},
|
|
456
|
-
"permission": "
|
|
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.
|
|
12
|
+
process.stdout.write("0.72.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-
|
|
31
|
+
const chunks = ["../bundle/agent-23OB2NZP.js","../bundle/all-profiles-GXGDVNQJ.js","../bundle/anthropic-H5C4GQHC.js","../bundle/app-server-EQ3UK4C7.js","../bundle/bun-DTJVSRY3.js","../bundle/bun-sqlite-JIFY7MAE.js","../bundle/cli-2P5FW2RL.js","../bundle/command-contract-BMQT2G5X.js","../bundle/command-server-entry-KP2UDGLA.js","../bundle/decode-K2JZ5D6V.js","../bundle/dispatch-KOQZA74A.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-URO3QGCG.js","../bundle/embed-JLIPWTNN.js","../bundle/embedder-LUTDO3HS.js","../bundle/entry-AVF6LMG7.js","../bundle/failure-GJMQLM7O.js","../bundle/first-run-VYTIEUDA.js","../bundle/first-screen-QVZPF7KL.js","../bundle/google-VX7IPACN.js","../bundle/google-api-RFXKRLL4.js","../bundle/grants-4XWJFVD6.js","../bundle/identity-FXPB5EMT.js","../bundle/instructions-IROIUVZI.js","../bundle/login-WIY5VQU7.js","../bundle/mcp-NJIOKW3E.js","../bundle/mdast-util-from-markdown-HEZF7KJ4.js","../bundle/mdast-util-gfm-AQW6R6MG.js","../bundle/meeting-combined-JUNV35GM.js","../bundle/meeting-model-XY4UNWWK.js","../bundle/meeting-semantic-62QNQMOM.js","../bundle/micromark-extension-gfm-OE2GBORZ.js","../bundle/node-IACCI2CW.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-WYIRC7C7.js","../bundle/oauth-HXBXF4VI.js","../bundle/open-H32B6BCT.js","../bundle/openai-VHMPJJUG.js","../bundle/process-RNHPF5OK.js","../bundle/program-GYMJ3DDH.js","../bundle/prompt-TOG2CRCE.js","../bundle/reasons-TLFQ45YX.js","../bundle/recognize-GYGY45EY.js","../bundle/remote-6XN2QLI5.js","../bundle/rerank-HJO3O4TW.js","../bundle/serve-XPCNLHCR.js","../bundle/server-UBJZ66XE.js","../bundle/server-WPT3NC5B.js","../bundle/services-253KKKVU.js","../bundle/sqlite-runtime-EZASGJXW.js","../bundle/start-UHI35JFL.js","../bundle/state-KJTSPFGK.js","../bundle/store-62J2H2A3.js","../bundle/store-G5B7T7M7.js","../bundle/store-maintenance-command-C6T4YLVF.js","../bundle/surface-3OT64BHS.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-EHYO6D2X.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-AA4LKC6W.js";
|
|
7
|
+
import "./chunk-BO6EDBYJ.js";
|
|
8
|
+
import "./chunk-GU6ICH53.js";
|
|
9
|
+
import "./chunk-PL5P7UKW.js";
|
|
10
|
+
import "./chunk-47L262VI.js";
|
|
11
|
+
import "./chunk-CKB4XZZJ.js";
|
|
12
|
+
import "./chunk-PRYMT3OG.js";
|
|
13
|
+
import "./chunk-YAIOEPKU.js";
|
|
14
|
+
import "./chunk-XZ7MO6EU.js";
|
|
15
|
+
import "./chunk-7EFM6AW3.js";
|
|
16
|
+
import "./chunk-FIZOPJYY.js";
|
|
17
|
+
import "./chunk-HAGXTGJC.js";
|
|
18
|
+
import "./chunk-4JS32SRX.js";
|
|
19
|
+
import "./chunk-5KWCO56H.js";
|
|
20
|
+
import "./chunk-IMAWQC5K.js";
|
|
21
|
+
import "./chunk-ZFDSJ5YJ.js";
|
|
22
|
+
import "./chunk-ZFUZEFU6.js";
|
|
23
|
+
import "./chunk-KF3ZBQJV.js";
|
|
24
|
+
import "./chunk-O7CZZ36M.js";
|
|
25
|
+
import "./chunk-FNAYSZWK.js";
|
|
26
|
+
import "./chunk-UJY26HW4.js";
|
|
27
|
+
import "./chunk-COJTCEZP.js";
|
|
28
|
+
import "./chunk-6ZW2ZJYC.js";
|
|
29
|
+
import "./chunk-XC6TRWLZ.js";
|
|
30
|
+
import "./chunk-DHMNCOQI.js";
|
|
31
|
+
import "./chunk-XQZEMRCU.js";
|
|
32
|
+
import "./chunk-RSPBVKOC.js";
|
|
33
|
+
import "./chunk-N4GTCPML.js";
|
|
34
|
+
import "./chunk-WMG3H2VK.js";
|
|
35
|
+
import "./chunk-6CCO3JCM.js";
|
|
36
|
+
import "./chunk-55FH6IEL.js";
|
|
37
|
+
import "./chunk-FUDUXIVG.js";
|
|
38
|
+
import "./chunk-EVG3AA5M.js";
|
|
39
|
+
import "./chunk-GXGSC622.js";
|
|
40
|
+
import "./chunk-OLCU7Q2B.js";
|
|
41
|
+
import "./chunk-Y5E2WNWB.js";
|
|
42
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
43
|
+
export {
|
|
44
|
+
runCommandForAgent,
|
|
45
|
+
toolsFromCommands
|
|
46
|
+
};
|