@struktoai/mirage-node 0.0.1 → 0.0.2
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 +63 -129
- package/dist/aliyun-TMZRUYCG.js +10 -0
- package/dist/backblaze-OHW57DLK.js +10 -0
- package/dist/box-UXTCAFOZ.js +8 -0
- package/dist/ceph-TNN4I2FT.js +10 -0
- package/dist/chunk-2CC5VW7K.js +52 -0
- package/dist/chunk-2CC5VW7K.js.map +1 -0
- package/dist/chunk-3IJSIVKT.js +57 -0
- package/dist/chunk-3IJSIVKT.js.map +1 -0
- package/dist/chunk-3T3RMDNX.js +57 -0
- package/dist/chunk-3T3RMDNX.js.map +1 -0
- package/dist/chunk-54NTYJEO.js +13 -0
- package/dist/chunk-54NTYJEO.js.map +1 -0
- package/dist/{chunk-DCJQ2PIX.js → chunk-5DLOHQJ2.js} +5 -8
- package/dist/chunk-5DLOHQJ2.js.map +1 -0
- package/dist/chunk-5HCVKTP3.js +2086 -0
- package/dist/chunk-5HCVKTP3.js.map +1 -0
- package/dist/{chunk-5E6BULAK.js → chunk-5YOCVEUB.js} +5 -8
- package/dist/chunk-5YOCVEUB.js.map +1 -0
- package/dist/{chunk-6M2NL363.js → chunk-A4Z6DZ22.js} +6 -8
- package/dist/chunk-A4Z6DZ22.js.map +1 -0
- package/dist/{chunk-NOZZFJEB.js → chunk-A7X4L4JM.js} +5 -8
- package/dist/chunk-A7X4L4JM.js.map +1 -0
- package/dist/{chunk-GCB4JUF7.js → chunk-ABTEGAFB.js} +5 -8
- package/dist/chunk-ABTEGAFB.js.map +1 -0
- package/dist/chunk-AJICZLHT.js +57 -0
- package/dist/chunk-AJICZLHT.js.map +1 -0
- package/dist/{chunk-H74QYTN7.js → chunk-B2ZOKNN4.js} +14 -3
- package/dist/chunk-B2ZOKNN4.js.map +1 -0
- package/dist/{chunk-ICSS5ETT.js → chunk-B6SXRCBO.js} +8 -18
- package/dist/chunk-B6SXRCBO.js.map +1 -0
- package/dist/{chunk-HEQL3LPK.js → chunk-BYTU2YC3.js} +8 -18
- package/dist/chunk-BYTU2YC3.js.map +1 -0
- package/dist/{chunk-V5OLWE7F.js → chunk-C6NHEDHY.js} +5 -8
- package/dist/chunk-C6NHEDHY.js.map +1 -0
- package/dist/chunk-C6NHFMIP.js +57 -0
- package/dist/chunk-C6NHFMIP.js.map +1 -0
- package/dist/chunk-CASCUFK2.js +87 -0
- package/dist/chunk-CASCUFK2.js.map +1 -0
- package/dist/chunk-DNBAMB5J.js +18 -0
- package/dist/chunk-DNBAMB5J.js.map +1 -0
- package/dist/chunk-DP2PP5V2.js +26 -0
- package/dist/chunk-DP2PP5V2.js.map +1 -0
- package/dist/{chunk-OYJXYJTE.js → chunk-DTAY7LPC.js} +303 -866
- package/dist/chunk-DTAY7LPC.js.map +1 -0
- package/dist/chunk-DYXEITK3.js +52 -0
- package/dist/chunk-DYXEITK3.js.map +1 -0
- package/dist/chunk-E2ISWXLB.js +7 -0
- package/dist/chunk-E2ISWXLB.js.map +1 -0
- package/dist/{chunk-XDEEOTVK.js → chunk-E7RW3SBV.js} +5 -8
- package/dist/chunk-E7RW3SBV.js.map +1 -0
- package/dist/chunk-EGB7V74Z.js +76 -0
- package/dist/chunk-EGB7V74Z.js.map +1 -0
- package/dist/{chunk-LBBM3LKK.js → chunk-ERELJ7BS.js} +5 -8
- package/dist/chunk-ERELJ7BS.js.map +1 -0
- package/dist/chunk-FXFDBF3P.js +57 -0
- package/dist/chunk-FXFDBF3P.js.map +1 -0
- package/dist/chunk-G5BZE7UA.js +50 -0
- package/dist/chunk-G5BZE7UA.js.map +1 -0
- package/dist/chunk-H3BST2LI.js +26 -0
- package/dist/chunk-H3BST2LI.js.map +1 -0
- package/dist/chunk-H3I2KZIY.js +25 -0
- package/dist/chunk-H3I2KZIY.js.map +1 -0
- package/dist/{chunk-UWMOTOXA.js → chunk-HEHERHQ5.js} +8 -15
- package/dist/chunk-HEHERHQ5.js.map +1 -0
- package/dist/chunk-HQ4KWN76.js +57 -0
- package/dist/chunk-HQ4KWN76.js.map +1 -0
- package/dist/{chunk-MY3NUJJD.js → chunk-IQVNVTOP.js} +8 -18
- package/dist/chunk-IQVNVTOP.js.map +1 -0
- package/dist/chunk-JALIYI6M.js +55 -0
- package/dist/chunk-JALIYI6M.js.map +1 -0
- package/dist/chunk-JZQHKDSY.js +216 -0
- package/dist/chunk-JZQHKDSY.js.map +1 -0
- package/dist/chunk-JZT4QGIP.js +24 -0
- package/dist/chunk-JZT4QGIP.js.map +1 -0
- package/dist/chunk-KTNDT45N.js +57 -0
- package/dist/chunk-KTNDT45N.js.map +1 -0
- package/dist/chunk-L6JPBJAS.js +57 -0
- package/dist/chunk-L6JPBJAS.js.map +1 -0
- package/dist/{chunk-6VKNSO6U.js → chunk-LAJJPLEV.js} +17 -11
- package/dist/chunk-LAJJPLEV.js.map +1 -0
- package/dist/chunk-LW25LMIH.js +26 -0
- package/dist/chunk-LW25LMIH.js.map +1 -0
- package/dist/{chunk-WSDQ2MRG.js → chunk-LYDMMNL2.js} +5 -8
- package/dist/chunk-LYDMMNL2.js.map +1 -0
- package/dist/{chunk-G7O6DAWU.js → chunk-MHCMHKM6.js} +15 -9
- package/dist/chunk-MHCMHKM6.js.map +1 -0
- package/dist/chunk-N72CAZEH.js +1990 -0
- package/dist/chunk-N72CAZEH.js.map +1 -0
- package/dist/{chunk-XQUQSNCA.js → chunk-NHS7WLEQ.js} +4 -5
- package/dist/chunk-NHS7WLEQ.js.map +1 -0
- package/dist/chunk-NJMGCT63.js +54 -0
- package/dist/chunk-NJMGCT63.js.map +1 -0
- package/dist/chunk-O7ODGJYL.js +57 -0
- package/dist/chunk-O7ODGJYL.js.map +1 -0
- package/dist/chunk-OHROA3FQ.js +54 -0
- package/dist/chunk-OHROA3FQ.js.map +1 -0
- package/dist/chunk-OPYQ5KIO.js +52 -0
- package/dist/chunk-OPYQ5KIO.js.map +1 -0
- package/dist/chunk-OYV2DN66.js +50 -0
- package/dist/chunk-OYV2DN66.js.map +1 -0
- package/dist/chunk-OZAEWZZ3.js +31 -0
- package/dist/chunk-OZAEWZZ3.js.map +1 -0
- package/dist/chunk-PBBG7VFT.js +1896 -0
- package/dist/chunk-PBBG7VFT.js.map +1 -0
- package/dist/{chunk-HXWGG4K7.js → chunk-PJBQKMCD.js} +10 -20
- package/dist/chunk-PJBQKMCD.js.map +1 -0
- package/dist/chunk-Q2IAILVC.js +26 -0
- package/dist/chunk-Q2IAILVC.js.map +1 -0
- package/dist/chunk-Q6CDMOM6.js +57 -0
- package/dist/chunk-Q6CDMOM6.js.map +1 -0
- package/dist/{chunk-ALAMUIGJ.js → chunk-QGRDPSAH.js} +17 -12
- package/dist/chunk-QGRDPSAH.js.map +1 -0
- package/dist/{chunk-7QXJ4KWQ.js → chunk-RLGWMJD3.js} +63 -9
- package/dist/chunk-RLGWMJD3.js.map +1 -0
- package/dist/chunk-RO5IQEDQ.js +30 -0
- package/dist/chunk-RO5IQEDQ.js.map +1 -0
- package/dist/{chunk-ZC4KNEOQ.js → chunk-RQK5UPMP.js} +16 -11
- package/dist/chunk-RQK5UPMP.js.map +1 -0
- package/dist/chunk-RQYEEA2O.js +50 -0
- package/dist/chunk-RQYEEA2O.js.map +1 -0
- package/dist/chunk-SFUCUARB.js +21 -0
- package/dist/chunk-SFUCUARB.js.map +1 -0
- package/dist/{chunk-MVE5VVMQ.js → chunk-TRTUHCS4.js} +5 -8
- package/dist/chunk-TRTUHCS4.js.map +1 -0
- package/dist/chunk-TWGVQLG2.js +24 -0
- package/dist/chunk-TWGVQLG2.js.map +1 -0
- package/dist/chunk-UGK4TAVK.js +32 -0
- package/dist/chunk-UGK4TAVK.js.map +1 -0
- package/dist/{chunk-LPMPTQYP.js → chunk-UT2OPSN4.js} +12 -10
- package/dist/chunk-UT2OPSN4.js.map +1 -0
- package/dist/chunk-VGLHY6BK.js +31 -0
- package/dist/chunk-VGLHY6BK.js.map +1 -0
- package/dist/chunk-W7FLHT65.js +26 -0
- package/dist/chunk-W7FLHT65.js.map +1 -0
- package/dist/chunk-WL7HS7EM.js +50 -0
- package/dist/chunk-WL7HS7EM.js.map +1 -0
- package/dist/chunk-WSGEIVY3.js +1766 -0
- package/dist/chunk-WSGEIVY3.js.map +1 -0
- package/dist/{chunk-H3JR7MN3.js → chunk-XGJ2QERC.js} +17 -10
- package/dist/chunk-XGJ2QERC.js.map +1 -0
- package/dist/chunk-XHCBHYN4.js +54 -0
- package/dist/chunk-XHCBHYN4.js.map +1 -0
- package/dist/chunk-XLQI4IT2.js +54 -0
- package/dist/chunk-XLQI4IT2.js.map +1 -0
- package/dist/{chunk-3PBSL7BS.js → chunk-XRU5WXZX.js} +5 -8
- package/dist/chunk-XRU5WXZX.js.map +1 -0
- package/dist/{chunk-UZZD4MRJ.js → chunk-YAVGCQUP.js} +5 -8
- package/dist/chunk-YAVGCQUP.js.map +1 -0
- package/dist/chunk-YGZMVNN5.js +54 -0
- package/dist/chunk-YGZMVNN5.js.map +1 -0
- package/dist/{chunk-PEZYBKZH.js → chunk-YPT4JBUY.js} +10 -24
- package/dist/chunk-YPT4JBUY.js.map +1 -0
- package/dist/chunk-YUK3X3B4.js +27 -0
- package/dist/chunk-YUK3X3B4.js.map +1 -0
- package/dist/chunk-ZNWVJ6UW.js +54 -0
- package/dist/chunk-ZNWVJ6UW.js.map +1 -0
- package/dist/config-34LHOGLM.js +13 -0
- package/dist/config-3BBWD5AB.js +11 -0
- package/dist/{config-FNR6LJ5H.js → config-3IVQJBNW.js} +4 -2
- package/dist/config-4UDVSUQJ.js +11 -0
- package/dist/config-CMDBAPDH.js +11 -0
- package/dist/config-CVZ2AGCO.js +21 -0
- package/dist/config-D3RLSPNF.js +11 -0
- package/dist/config-DG65OEG3.js +11 -0
- package/dist/{config-HNSDNQZH.js → config-EIHSP5DZ.js} +4 -2
- package/dist/config-EO23EY62.js +15 -0
- package/dist/config-GCQK6NJY.js +11 -0
- package/dist/{config-5ZPGISS6.js → config-GE4W4ZJC.js} +4 -2
- package/dist/config-GHRUKEQ6.js +13 -0
- package/dist/config-GVH27UPE.js +11 -0
- package/dist/config-HKRMKD76.js +15 -0
- package/dist/config-HXVYIXP5.js +11 -0
- package/dist/config-IDZMEW73.js +11 -0
- package/dist/config-IJJXGLBQ.js +11 -0
- package/dist/config-IVY5EQQ2.js +15 -0
- package/dist/config-KJOLGVB2.js +11 -0
- package/dist/{config-S47UDVRZ.js → config-KMVCVBYN.js} +4 -2
- package/dist/{config-UKZ72IDO.js → config-KYTRXAB2.js} +4 -2
- package/dist/{config-MOLWOSRG.js → config-LHFFXVYI.js} +4 -2
- package/dist/config-NV5WXP64.js +11 -0
- package/dist/config-OT2TQQCN.js +11 -0
- package/dist/config-Q45Y46YT.js +15 -0
- package/dist/config-QAA646XB.js +15 -0
- package/dist/config-QNMKWJ4M.js +15 -0
- package/dist/config-QWCY3LBQ.js +11 -0
- package/dist/{config-HIZHA5VD.js → config-VM526IKB.js} +4 -2
- package/dist/config-WDAZFXYD.js +15 -0
- package/dist/config-ZFJYQZCH.js +13 -0
- package/dist/config-ZV6G2ZEC.js +11 -0
- package/dist/databricks_volume-HNQ4DJVJ.js +7 -0
- package/dist/digitalocean-6SPR4S7V.js +10 -0
- package/dist/discord-SAV2RBJV.js +8 -0
- package/dist/{disk-C7TJNU2B.js → disk-POACMF4G.js} +2 -2
- package/dist/dropbox-CQ7MTYX2.js +8 -0
- package/dist/email-KBQ7CXS7.js +8 -0
- package/dist/gcs-SMIE4VMT.js +10 -0
- package/dist/gdocs-X5Y2SIQX.js +8 -0
- package/dist/gdrive-SIQPRIGI.js +8 -0
- package/dist/github-KBHWANKQ.js +8 -0
- package/dist/github-KBHWANKQ.js.map +1 -0
- package/dist/github_ci-HPITNK37.js +8 -0
- package/dist/github_ci-HPITNK37.js.map +1 -0
- package/dist/gmail-DKHAGJNX.js +8 -0
- package/dist/gmail-DKHAGJNX.js.map +1 -0
- package/dist/gsheets-ZSUDIWGK.js +8 -0
- package/dist/gsheets-ZSUDIWGK.js.map +1 -0
- package/dist/gslides-GYXM7IMJ.js +8 -0
- package/dist/gslides-GYXM7IMJ.js.map +1 -0
- package/dist/hf_buckets-RIOMV7WG.js +10 -0
- package/dist/hf_buckets-RIOMV7WG.js.map +1 -0
- package/dist/hf_datasets-QF4BQ3OK.js +10 -0
- package/dist/hf_datasets-QF4BQ3OK.js.map +1 -0
- package/dist/hf_models-62GC2HPZ.js +10 -0
- package/dist/hf_models-62GC2HPZ.js.map +1 -0
- package/dist/hf_spaces-NVSMUNRM.js +10 -0
- package/dist/hf_spaces-NVSMUNRM.js.map +1 -0
- package/dist/index.d.ts +722 -277
- package/dist/index.js +646 -2268
- package/dist/index.js.map +1 -1
- package/dist/langfuse-HUAYVPHF.js +8 -0
- package/dist/langfuse-HUAYVPHF.js.map +1 -0
- package/dist/linear-2MM55KBC.js +8 -0
- package/dist/linear-2MM55KBC.js.map +1 -0
- package/dist/minio-L3XE6PQS.js +10 -0
- package/dist/minio-L3XE6PQS.js.map +1 -0
- package/dist/mongodb-ZOX4FRHJ.js +7 -0
- package/dist/mongodb-ZOX4FRHJ.js.map +1 -0
- package/dist/notion-UK4GTMT4.js +8 -0
- package/dist/notion-UK4GTMT4.js.map +1 -0
- package/dist/oci-NURLWPL2.js +10 -0
- package/dist/oci-NURLWPL2.js.map +1 -0
- package/dist/postgres-JNFMPAO2.js +7 -0
- package/dist/postgres-JNFMPAO2.js.map +1 -0
- package/dist/qingstor-W55D5YFO.js +10 -0
- package/dist/qingstor-W55D5YFO.js.map +1 -0
- package/dist/r2-FSZK7IFI.js +10 -0
- package/dist/r2-FSZK7IFI.js.map +1 -0
- package/dist/redis-S6GIPA4Z.js +8 -0
- package/dist/redis-S6GIPA4Z.js.map +1 -0
- package/dist/s3-GMPUJ65D.js +8 -0
- package/dist/s3-GMPUJ65D.js.map +1 -0
- package/dist/scaleway-5VM55Y6D.js +10 -0
- package/dist/scaleway-5VM55Y6D.js.map +1 -0
- package/dist/seaweedfs-J3EPUEPE.js +10 -0
- package/dist/seaweedfs-J3EPUEPE.js.map +1 -0
- package/dist/slack-FVBXY7KD.js +8 -0
- package/dist/slack-FVBXY7KD.js.map +1 -0
- package/dist/ssh-GCXETJ3Z.js +9 -0
- package/dist/ssh-GCXETJ3Z.js.map +1 -0
- package/dist/supabase-HLWNHBBE.js +10 -0
- package/dist/supabase-HLWNHBBE.js.map +1 -0
- package/dist/tencent-YDO73XBD.js +10 -0
- package/dist/tencent-YDO73XBD.js.map +1 -0
- package/dist/trello-CQ53BQUL.js +8 -0
- package/dist/trello-CQ53BQUL.js.map +1 -0
- package/dist/wasabi-SOZKPMRQ.js +10 -0
- package/dist/wasabi-SOZKPMRQ.js.map +1 -0
- package/package.json +39 -13
- package/dist/box-4P7DCJH7.js +0 -8
- package/dist/chunk-35PVZRWU.js +0 -24
- package/dist/chunk-35PVZRWU.js.map +0 -1
- package/dist/chunk-3PBSL7BS.js.map +0 -1
- package/dist/chunk-3Y625AUP.js +0 -24
- package/dist/chunk-3Y625AUP.js.map +0 -1
- package/dist/chunk-5E6BULAK.js.map +0 -1
- package/dist/chunk-5ITBZN55.js +0 -24
- package/dist/chunk-5ITBZN55.js.map +0 -1
- package/dist/chunk-6M2NL363.js.map +0 -1
- package/dist/chunk-6M3QVVOH.js +0 -32
- package/dist/chunk-6M3QVVOH.js.map +0 -1
- package/dist/chunk-6VKNSO6U.js.map +0 -1
- package/dist/chunk-6Y6GWMFF.js +0 -24
- package/dist/chunk-6Y6GWMFF.js.map +0 -1
- package/dist/chunk-7QXJ4KWQ.js.map +0 -1
- package/dist/chunk-ALAMUIGJ.js.map +0 -1
- package/dist/chunk-DCJQ2PIX.js.map +0 -1
- package/dist/chunk-EKPH4MMD.js +0 -27
- package/dist/chunk-EKPH4MMD.js.map +0 -1
- package/dist/chunk-FZ2GJ4BJ.js +0 -29
- package/dist/chunk-FZ2GJ4BJ.js.map +0 -1
- package/dist/chunk-G7O6DAWU.js.map +0 -1
- package/dist/chunk-GCB4JUF7.js.map +0 -1
- package/dist/chunk-GKQNMLQU.js +0 -7757
- package/dist/chunk-GKQNMLQU.js.map +0 -1
- package/dist/chunk-GO67AOYK.js +0 -24
- package/dist/chunk-GO67AOYK.js.map +0 -1
- package/dist/chunk-GPF66TH2.js +0 -24
- package/dist/chunk-GPF66TH2.js.map +0 -1
- package/dist/chunk-H3JR7MN3.js.map +0 -1
- package/dist/chunk-H74QYTN7.js.map +0 -1
- package/dist/chunk-HEQL3LPK.js.map +0 -1
- package/dist/chunk-HXWGG4K7.js.map +0 -1
- package/dist/chunk-I4RRGZGB.js +0 -24
- package/dist/chunk-I4RRGZGB.js.map +0 -1
- package/dist/chunk-ICSS5ETT.js.map +0 -1
- package/dist/chunk-KINMBZHC.js +0 -18
- package/dist/chunk-KINMBZHC.js.map +0 -1
- package/dist/chunk-LBBM3LKK.js.map +0 -1
- package/dist/chunk-LPMPTQYP.js.map +0 -1
- package/dist/chunk-M42JTWPR.js +0 -2794
- package/dist/chunk-M42JTWPR.js.map +0 -1
- package/dist/chunk-MVE5VVMQ.js.map +0 -1
- package/dist/chunk-MY3NUJJD.js.map +0 -1
- package/dist/chunk-NOZZFJEB.js.map +0 -1
- package/dist/chunk-OYJXYJTE.js.map +0 -1
- package/dist/chunk-PEZYBKZH.js.map +0 -1
- package/dist/chunk-QWWOBAYU.js +0 -26
- package/dist/chunk-QWWOBAYU.js.map +0 -1
- package/dist/chunk-RQYYYBQG.js +0 -24
- package/dist/chunk-RQYYYBQG.js.map +0 -1
- package/dist/chunk-T2WWAEKH.js +0 -7591
- package/dist/chunk-T2WWAEKH.js.map +0 -1
- package/dist/chunk-UWMOTOXA.js.map +0 -1
- package/dist/chunk-UZZD4MRJ.js.map +0 -1
- package/dist/chunk-V5OLWE7F.js.map +0 -1
- package/dist/chunk-VCLMTMSO.js +0 -23
- package/dist/chunk-VCLMTMSO.js.map +0 -1
- package/dist/chunk-WSDQ2MRG.js.map +0 -1
- package/dist/chunk-XDEEOTVK.js.map +0 -1
- package/dist/chunk-XQUQSNCA.js.map +0 -1
- package/dist/chunk-XVYZO2FG.js +0 -14
- package/dist/chunk-XVYZO2FG.js.map +0 -1
- package/dist/chunk-ZC4KNEOQ.js.map +0 -1
- package/dist/config-6HWSKHEU.js +0 -9
- package/dist/config-6TNFPYZF.js +0 -9
- package/dist/config-BHLXQ3OL.js +0 -9
- package/dist/config-E7UOEWEP.js +0 -9
- package/dist/config-IXLFUSMQ.js +0 -9
- package/dist/config-J3TM7NIS.js +0 -9
- package/dist/config-JXLZ4XEW.js +0 -9
- package/dist/config-KQCEMLNZ.js +0 -9
- package/dist/config-R3XJ5OW4.js +0 -9
- package/dist/config-V7XI5UTG.js +0 -9
- package/dist/config-YLIX3ZBT.js +0 -9
- package/dist/config-Z5JGDOKE.js +0 -9
- package/dist/config-ZCZZAH5W.js +0 -9
- package/dist/config-ZZGIWDUC.js +0 -9
- package/dist/discord-2PWP2MGX.js +0 -8
- package/dist/dropbox-L5DPYGKR.js +0 -8
- package/dist/email-HASRFBKC.js +0 -8
- package/dist/gcs-P5QMKTPR.js +0 -10
- package/dist/gdocs-IF2I35HZ.js +0 -8
- package/dist/gdrive-TAETVCKP.js +0 -8
- package/dist/github-5E6GSCNZ.js +0 -8
- package/dist/github_ci-2DSZI3Y7.js +0 -8
- package/dist/gmail-F5VYGKOT.js +0 -8
- package/dist/gsheets-BAO54CQ7.js +0 -8
- package/dist/gslides-A62CEEMR.js +0 -8
- package/dist/langfuse-YKBYRQLU.js +0 -8
- package/dist/linear-WJDQ6JDE.js +0 -8
- package/dist/mongodb-MK4DVSIK.js +0 -7
- package/dist/oci-KZ7XFZ2X.js +0 -10
- package/dist/postgres-M2N2APFZ.js +0 -7
- package/dist/r2-X4DDNSAZ.js +0 -10
- package/dist/redis-NVCXUUIO.js +0 -7
- package/dist/s3-HVAL7ZX3.js +0 -8
- package/dist/slack-GUQMDGLP.js +0 -8
- package/dist/ssh-LY6WYVVD.js +0 -9
- package/dist/supabase-H3ZP4Y3W.js +0 -10
- package/dist/trello-WR6TEDYD.js +0 -8
- /package/dist/{box-4P7DCJH7.js.map → aliyun-TMZRUYCG.js.map} +0 -0
- /package/dist/{config-5ZPGISS6.js.map → backblaze-OHW57DLK.js.map} +0 -0
- /package/dist/{config-6HWSKHEU.js.map → box-UXTCAFOZ.js.map} +0 -0
- /package/dist/{config-6TNFPYZF.js.map → ceph-TNN4I2FT.js.map} +0 -0
- /package/dist/{config-BHLXQ3OL.js.map → config-34LHOGLM.js.map} +0 -0
- /package/dist/{config-E7UOEWEP.js.map → config-3BBWD5AB.js.map} +0 -0
- /package/dist/{config-FNR6LJ5H.js.map → config-3IVQJBNW.js.map} +0 -0
- /package/dist/{config-HIZHA5VD.js.map → config-4UDVSUQJ.js.map} +0 -0
- /package/dist/{config-HNSDNQZH.js.map → config-CMDBAPDH.js.map} +0 -0
- /package/dist/{config-IXLFUSMQ.js.map → config-CVZ2AGCO.js.map} +0 -0
- /package/dist/{config-J3TM7NIS.js.map → config-D3RLSPNF.js.map} +0 -0
- /package/dist/{config-JXLZ4XEW.js.map → config-DG65OEG3.js.map} +0 -0
- /package/dist/{config-KQCEMLNZ.js.map → config-EIHSP5DZ.js.map} +0 -0
- /package/dist/{config-MOLWOSRG.js.map → config-EO23EY62.js.map} +0 -0
- /package/dist/{config-R3XJ5OW4.js.map → config-GCQK6NJY.js.map} +0 -0
- /package/dist/{config-S47UDVRZ.js.map → config-GE4W4ZJC.js.map} +0 -0
- /package/dist/{config-UKZ72IDO.js.map → config-GHRUKEQ6.js.map} +0 -0
- /package/dist/{config-V7XI5UTG.js.map → config-GVH27UPE.js.map} +0 -0
- /package/dist/{config-YLIX3ZBT.js.map → config-HKRMKD76.js.map} +0 -0
- /package/dist/{config-Z5JGDOKE.js.map → config-HXVYIXP5.js.map} +0 -0
- /package/dist/{config-ZCZZAH5W.js.map → config-IDZMEW73.js.map} +0 -0
- /package/dist/{config-ZZGIWDUC.js.map → config-IJJXGLBQ.js.map} +0 -0
- /package/dist/{discord-2PWP2MGX.js.map → config-IVY5EQQ2.js.map} +0 -0
- /package/dist/{disk-C7TJNU2B.js.map → config-KJOLGVB2.js.map} +0 -0
- /package/dist/{dropbox-L5DPYGKR.js.map → config-KMVCVBYN.js.map} +0 -0
- /package/dist/{email-HASRFBKC.js.map → config-KYTRXAB2.js.map} +0 -0
- /package/dist/{gcs-P5QMKTPR.js.map → config-LHFFXVYI.js.map} +0 -0
- /package/dist/{gdocs-IF2I35HZ.js.map → config-NV5WXP64.js.map} +0 -0
- /package/dist/{gdrive-TAETVCKP.js.map → config-OT2TQQCN.js.map} +0 -0
- /package/dist/{github-5E6GSCNZ.js.map → config-Q45Y46YT.js.map} +0 -0
- /package/dist/{github_ci-2DSZI3Y7.js.map → config-QAA646XB.js.map} +0 -0
- /package/dist/{gmail-F5VYGKOT.js.map → config-QNMKWJ4M.js.map} +0 -0
- /package/dist/{gsheets-BAO54CQ7.js.map → config-QWCY3LBQ.js.map} +0 -0
- /package/dist/{gslides-A62CEEMR.js.map → config-VM526IKB.js.map} +0 -0
- /package/dist/{langfuse-YKBYRQLU.js.map → config-WDAZFXYD.js.map} +0 -0
- /package/dist/{linear-WJDQ6JDE.js.map → config-ZFJYQZCH.js.map} +0 -0
- /package/dist/{mongodb-MK4DVSIK.js.map → config-ZV6G2ZEC.js.map} +0 -0
- /package/dist/{oci-KZ7XFZ2X.js.map → databricks_volume-HNQ4DJVJ.js.map} +0 -0
- /package/dist/{postgres-M2N2APFZ.js.map → digitalocean-6SPR4S7V.js.map} +0 -0
- /package/dist/{r2-X4DDNSAZ.js.map → discord-SAV2RBJV.js.map} +0 -0
- /package/dist/{redis-NVCXUUIO.js.map → disk-POACMF4G.js.map} +0 -0
- /package/dist/{s3-HVAL7ZX3.js.map → dropbox-CQ7MTYX2.js.map} +0 -0
- /package/dist/{slack-GUQMDGLP.js.map → email-KBQ7CXS7.js.map} +0 -0
- /package/dist/{ssh-LY6WYVVD.js.map → gcs-SMIE4VMT.js.map} +0 -0
- /package/dist/{supabase-H3ZP4Y3W.js.map → gdocs-X5Y2SIQX.js.map} +0 -0
- /package/dist/{trello-WR6TEDYD.js.map → gdrive-SIQPRIGI.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
|
-
import { Workspace as Workspace$1, Resource, WorkspaceOptions, ExecuteOptions, ExecuteResult, ProvisionResult, Accessor,
|
|
1
|
+
import { Workspace as Workspace$1, Resource, WorkspaceOptions, ExecuteOptions, ExecuteResult, ProvisionResult, Accessor, BaseResource, RegisteredOp, RegisteredCommand, PathSpec, FileStat, FindOptions, REDACTED_SECRET, CommandOpts, FileCache, OpRecord, S3Config as S3Config$1, S3ConfigRedacted as S3ConfigRedacted$1, S3Accessor, DatabricksVolumeConfig, DatabricksVolumeAccessor, DatabricksVolumeConfigRedacted, ResourceName, PgDriver, PostgresConfigResolved, PgQueryResult, PostgresAccessor, PostgresConfig, MongoDriver, EntityKind, MongoCollectionSpec, MongoFindOptions, MongoIterOptions, MongoIndexAccess, MongoDBConfigResolved, MongoDBAccessor, MongoDBConfig, LanceDriver, LanceDBConfigResolved, LanceRow, LanceDBAccessor, LanceDBConfig, SlackAccessor, DiscordAccessor, TrelloAccessor, LinearAccessor, NotionAccessor, LangfuseAccessor, GitHubAccessor, GitHubCIAccessor, GDocsAccessor, GSheetsAccessor, GSlidesAccessor, GDriveAccessor, DropboxAccessor, BoxAccessor, GoogleConfig, GmailAccessor, GoogleConfigRedacted } from '@struktoai/mirage-core';
|
|
2
2
|
export * from '@struktoai/mirage-core';
|
|
3
|
+
export { GoogleConfig as GmailConfig, GoogleConfigRedacted as GmailConfigRedacted, normalizeGoogleConfig as normalizeGmailConfig, redactGoogleConfig as redactGmailConfig } from '@struktoai/mirage-core';
|
|
3
4
|
import { RedisClientType } from 'redis';
|
|
4
|
-
import {
|
|
5
|
-
import { Readable } from 'node:stream';
|
|
5
|
+
import { Operator } from 'opendal';
|
|
6
6
|
import { SFTPWrapper } from 'ssh2';
|
|
7
7
|
import { ImapFlow } from 'imapflow';
|
|
8
8
|
|
|
9
9
|
interface NodeWorkspaceOptions extends WorkspaceOptions {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Per-mount FUSE exposure: `{ '/data': true, '/s3': '/tmp/s3' }`. A value of
|
|
12
|
+
* `true` mounts at a fresh temp dir; a string pins the mountpoint (created if
|
|
13
|
+
* missing). Each entry becomes its own FUSE mount scoped to that prefix.
|
|
14
|
+
*/
|
|
15
|
+
fuseMounts?: Record<string, boolean | string>;
|
|
12
16
|
}
|
|
13
17
|
declare class Workspace extends Workspace$1 {
|
|
14
|
-
private readonly
|
|
15
|
-
private readonly
|
|
18
|
+
private readonly autoFuseManagers;
|
|
19
|
+
private readonly fuseMountpointsMap;
|
|
16
20
|
private fuseSetupPromise;
|
|
17
21
|
constructor(resources: Record<string, Resource>, options?: NodeWorkspaceOptions);
|
|
22
|
+
/** Map each FUSE-exposed mount prefix to its live mountpoint. */
|
|
23
|
+
get fuseMountpoints(): Record<string, string>;
|
|
18
24
|
private ensureFuseReady;
|
|
19
25
|
execute(command: string, options?: ExecuteOptions & {
|
|
20
26
|
provision?: false | undefined;
|
|
@@ -36,18 +42,15 @@ interface DiskResourceOptions {
|
|
|
36
42
|
}
|
|
37
43
|
interface DiskResourceState {
|
|
38
44
|
type: string;
|
|
39
|
-
needsOverride: boolean;
|
|
40
|
-
redactedFields: string[];
|
|
41
45
|
files: Record<string, Uint8Array>;
|
|
42
46
|
}
|
|
43
|
-
declare class DiskResource implements Resource {
|
|
47
|
+
declare class DiskResource extends BaseResource implements Resource {
|
|
44
48
|
readonly kind: "disk";
|
|
45
49
|
readonly isRemote: boolean;
|
|
46
50
|
readonly indexTtl: number;
|
|
47
51
|
readonly prompt = "{prefix}\n Local disk filesystem. Mirrors the configured root directory.\n Standard commands: ls, cat, head, tail, grep, wc, find, tree, mkdir, touch, cp, mv, rm, tee.";
|
|
48
52
|
readonly root: string;
|
|
49
53
|
readonly accessor: DiskAccessor;
|
|
50
|
-
readonly index: IndexCacheStore;
|
|
51
54
|
readonly opsMap: Record<string, unknown>;
|
|
52
55
|
constructor(options: DiskResourceOptions);
|
|
53
56
|
open(): Promise<void>;
|
|
@@ -144,13 +147,15 @@ interface RedisModule {
|
|
|
144
147
|
}
|
|
145
148
|
interface RedisResourceState {
|
|
146
149
|
type: string;
|
|
147
|
-
|
|
148
|
-
|
|
150
|
+
config: {
|
|
151
|
+
url: typeof REDACTED_SECRET;
|
|
152
|
+
keyPrefix: string;
|
|
153
|
+
};
|
|
149
154
|
keyPrefix: string;
|
|
150
155
|
files: Record<string, Uint8Array>;
|
|
151
156
|
dirs: string[];
|
|
152
157
|
}
|
|
153
|
-
declare class RedisResource implements Resource {
|
|
158
|
+
declare class RedisResource extends BaseResource implements Resource {
|
|
154
159
|
readonly kind: string;
|
|
155
160
|
readonly isRemote: boolean;
|
|
156
161
|
readonly indexTtl: number;
|
|
@@ -159,7 +164,6 @@ declare class RedisResource implements Resource {
|
|
|
159
164
|
readonly keyPrefix: string;
|
|
160
165
|
readonly store: RedisStore;
|
|
161
166
|
readonly accessor: RedisAccessor;
|
|
162
|
-
readonly index: IndexCacheStore;
|
|
163
167
|
readonly opsMap: Record<string, unknown>;
|
|
164
168
|
constructor(options?: RedisResourceOptions);
|
|
165
169
|
open(): Promise<void>;
|
|
@@ -232,34 +236,6 @@ declare class RedisFileCacheStore extends RedisResource implements FileCache {
|
|
|
232
236
|
multiGet(keys: readonly string[]): Promise<(Uint8Array | null)[]>;
|
|
233
237
|
}
|
|
234
238
|
|
|
235
|
-
interface RedisIndexCacheOptions {
|
|
236
|
-
ttl?: number;
|
|
237
|
-
url?: string;
|
|
238
|
-
client?: RedisClientType;
|
|
239
|
-
keyPrefix?: string;
|
|
240
|
-
}
|
|
241
|
-
declare class RedisIndexCacheStore extends IndexCacheStore {
|
|
242
|
-
private readonly ttl;
|
|
243
|
-
private readonly url;
|
|
244
|
-
private readonly providedClient;
|
|
245
|
-
private readonly entryPrefix;
|
|
246
|
-
private readonly childrenPrefix;
|
|
247
|
-
private clientPromise;
|
|
248
|
-
constructor(options?: RedisIndexCacheOptions);
|
|
249
|
-
static fromConfig(config: IndexConfig, extra?: Omit<RedisIndexCacheOptions, 'ttl'>): RedisIndexCacheStore;
|
|
250
|
-
private entryKey;
|
|
251
|
-
private childrenKey;
|
|
252
|
-
private client;
|
|
253
|
-
get(resourcePath: string): Promise<LookupResult>;
|
|
254
|
-
put(resourcePath: string, entry: IndexEntry): Promise<void>;
|
|
255
|
-
listDir(resourcePath: string): Promise<ListResult>;
|
|
256
|
-
setDir(resourcePath: string, entries: readonly [string, IndexEntry][], expiredAt?: Date | null): Promise<void>;
|
|
257
|
-
invalidateDir(resourcePath: string): Promise<void>;
|
|
258
|
-
clear(): Promise<void>;
|
|
259
|
-
close(): Promise<void>;
|
|
260
|
-
private serialize;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
239
|
interface FuseHandle {
|
|
264
240
|
mountpoint: string;
|
|
265
241
|
unmount: () => Promise<void>;
|
|
@@ -267,6 +243,8 @@ interface FuseHandle {
|
|
|
267
243
|
interface MountOptions {
|
|
268
244
|
mountpoint?: string;
|
|
269
245
|
agentId?: string;
|
|
246
|
+
/** Scope the mount to a single workspace mount prefix (subtree exposure). */
|
|
247
|
+
rootPrefix?: string;
|
|
270
248
|
/**
|
|
271
249
|
* When true, `@zkochan/fuse-native`'s `autoUnmount` flag is set so the
|
|
272
250
|
* kernel releases the mount if the process exits abnormally. Defaults to
|
|
@@ -305,11 +283,13 @@ interface FuseAttr {
|
|
|
305
283
|
}
|
|
306
284
|
interface MirageFSOptions {
|
|
307
285
|
agentId?: string;
|
|
286
|
+
rootPrefix?: string;
|
|
308
287
|
}
|
|
309
288
|
declare class MirageFS {
|
|
310
289
|
private readonly ws;
|
|
311
290
|
readonly agentId: string;
|
|
312
291
|
private readonly now;
|
|
292
|
+
private readonly root;
|
|
313
293
|
private readonly prefixes;
|
|
314
294
|
private readonly handles;
|
|
315
295
|
private readonly prefetchCache;
|
|
@@ -318,6 +298,7 @@ declare class MirageFS {
|
|
|
318
298
|
private readonly uid;
|
|
319
299
|
private readonly gid;
|
|
320
300
|
constructor(ws: Workspace$1, options?: MirageFSOptions);
|
|
301
|
+
private resolve;
|
|
321
302
|
private whoamiContent;
|
|
322
303
|
private dirStat;
|
|
323
304
|
private fileStat;
|
|
@@ -335,8 +316,10 @@ declare class MirageFS {
|
|
|
335
316
|
private prefetch;
|
|
336
317
|
/** Drain and return accumulated op records (mirrors Python's drain_ops). */
|
|
337
318
|
drainOps(): OpRecord[];
|
|
319
|
+
private writeFile;
|
|
338
320
|
ops(): Record<string, unknown>;
|
|
339
321
|
private getattr;
|
|
322
|
+
private fgetattr;
|
|
340
323
|
private readdir;
|
|
341
324
|
private read;
|
|
342
325
|
private write;
|
|
@@ -358,22 +341,6 @@ declare class MirageFS {
|
|
|
358
341
|
private fsync;
|
|
359
342
|
}
|
|
360
343
|
|
|
361
|
-
interface NativeExecOptions {
|
|
362
|
-
cwd: string;
|
|
363
|
-
env?: Record<string, string>;
|
|
364
|
-
timeoutMs?: number | null;
|
|
365
|
-
signal?: AbortSignal;
|
|
366
|
-
}
|
|
367
|
-
type NativeExecResult = ExecuteResult;
|
|
368
|
-
declare function nativeExec(command: string, options: NativeExecOptions): Promise<NativeExecResult>;
|
|
369
|
-
interface NativeProcess {
|
|
370
|
-
raw: ChildProcess;
|
|
371
|
-
stdoutStream(): Readable;
|
|
372
|
-
stderrStream(): Readable | null;
|
|
373
|
-
wait(): Promise<number>;
|
|
374
|
-
}
|
|
375
|
-
declare function nativeExecStream(command: string, options: NativeExecOptions): NativeProcess;
|
|
376
|
-
|
|
377
344
|
declare function isMacosMetadata(name: string): boolean;
|
|
378
345
|
|
|
379
346
|
interface S3Config extends S3Config$1 {
|
|
@@ -386,18 +353,16 @@ declare function redactConfig(config: S3Config): S3ConfigRedacted;
|
|
|
386
353
|
|
|
387
354
|
interface S3ResourceState {
|
|
388
355
|
type: string;
|
|
389
|
-
needsOverride: boolean;
|
|
390
|
-
redactedFields: readonly string[];
|
|
391
356
|
config: S3ConfigRedacted;
|
|
392
357
|
}
|
|
393
|
-
declare class S3Resource implements Resource {
|
|
358
|
+
declare class S3Resource extends BaseResource implements Resource {
|
|
394
359
|
readonly kind: string;
|
|
395
360
|
readonly isRemote: boolean;
|
|
361
|
+
readonly supportsSnapshot: boolean;
|
|
396
362
|
readonly indexTtl: number;
|
|
397
363
|
readonly prompt: string;
|
|
398
364
|
readonly config: S3Config;
|
|
399
365
|
readonly accessor: S3Accessor;
|
|
400
|
-
readonly index: IndexCacheStore;
|
|
401
366
|
readonly opsMap: Record<string, unknown>;
|
|
402
367
|
constructor(config: S3Config);
|
|
403
368
|
open(): Promise<void>;
|
|
@@ -426,6 +391,50 @@ declare class S3Resource implements Resource {
|
|
|
426
391
|
loadState(_state: S3ResourceState): Promise<void>;
|
|
427
392
|
}
|
|
428
393
|
|
|
394
|
+
interface DatabricksVolumeResourceState {
|
|
395
|
+
type: string;
|
|
396
|
+
config: DatabricksVolumeConfigRedacted;
|
|
397
|
+
}
|
|
398
|
+
declare class DatabricksVolumeResource extends BaseResource implements Resource {
|
|
399
|
+
readonly kind: string;
|
|
400
|
+
readonly isRemote: boolean;
|
|
401
|
+
readonly indexTtl: number;
|
|
402
|
+
readonly prompt: string;
|
|
403
|
+
readonly config: DatabricksVolumeConfig;
|
|
404
|
+
readonly accessor: DatabricksVolumeAccessor;
|
|
405
|
+
readonly opsMap: Record<string, unknown>;
|
|
406
|
+
private constructor();
|
|
407
|
+
static create(config: DatabricksVolumeConfig): Promise<DatabricksVolumeResource>;
|
|
408
|
+
open(): Promise<void>;
|
|
409
|
+
close(): Promise<void>;
|
|
410
|
+
commands(): readonly RegisteredCommand[];
|
|
411
|
+
ops(): readonly RegisteredOp[];
|
|
412
|
+
streamPath(p: PathSpec): AsyncIterable<Uint8Array>;
|
|
413
|
+
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
414
|
+
writeFile(p: PathSpec, data: Uint8Array): Promise<void>;
|
|
415
|
+
appendFile(p: PathSpec, data: Uint8Array): Promise<void>;
|
|
416
|
+
readdir(p: PathSpec): Promise<string[]>;
|
|
417
|
+
stat(p: PathSpec): Promise<FileStat>;
|
|
418
|
+
exists(p: PathSpec): Promise<boolean>;
|
|
419
|
+
mkdir(p: PathSpec): Promise<void>;
|
|
420
|
+
rmdir(p: PathSpec): Promise<void>;
|
|
421
|
+
unlink(p: PathSpec): Promise<void>;
|
|
422
|
+
rename(src: PathSpec, dst: PathSpec): Promise<void>;
|
|
423
|
+
copy(src: PathSpec, dst: PathSpec): Promise<void>;
|
|
424
|
+
rmR(p: PathSpec): Promise<void>;
|
|
425
|
+
find(p: PathSpec, options?: FindOptions): Promise<string[]>;
|
|
426
|
+
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
427
|
+
getState(): Promise<DatabricksVolumeResourceState>;
|
|
428
|
+
loadState(_state: DatabricksVolumeResourceState): Promise<void>;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
interface DatabricksProfile {
|
|
432
|
+
host?: string;
|
|
433
|
+
token?: string;
|
|
434
|
+
}
|
|
435
|
+
declare function parseDatabricksCfg(content: string, profile: string): DatabricksProfile;
|
|
436
|
+
declare function loadDatabricksProfile(profile: string): Promise<DatabricksProfile>;
|
|
437
|
+
|
|
429
438
|
declare const GCS_ENDPOINT = "https://storage.googleapis.com";
|
|
430
439
|
interface GCSConfig {
|
|
431
440
|
bucket: string;
|
|
@@ -434,6 +443,7 @@ interface GCSConfig {
|
|
|
434
443
|
endpoint?: string;
|
|
435
444
|
region?: string;
|
|
436
445
|
timeoutMs?: number;
|
|
446
|
+
forcePathStyle?: boolean;
|
|
437
447
|
}
|
|
438
448
|
interface GCSConfigRedacted {
|
|
439
449
|
bucket: string;
|
|
@@ -447,8 +457,6 @@ declare function redactGcsConfig(config: GCSConfig): GCSConfigRedacted;
|
|
|
447
457
|
|
|
448
458
|
interface GCSResourceState {
|
|
449
459
|
type: string;
|
|
450
|
-
needsOverride: boolean;
|
|
451
|
-
redactedFields: readonly string[];
|
|
452
460
|
config: GCSConfigRedacted;
|
|
453
461
|
}
|
|
454
462
|
declare class GCSResource extends S3Resource {
|
|
@@ -488,8 +496,6 @@ declare function redactOciConfig(config: OCIConfig): OCIConfigRedacted;
|
|
|
488
496
|
|
|
489
497
|
interface OCIResourceState {
|
|
490
498
|
type: string;
|
|
491
|
-
needsOverride: boolean;
|
|
492
|
-
redactedFields: readonly string[];
|
|
493
499
|
config: OCIConfigRedacted;
|
|
494
500
|
}
|
|
495
501
|
declare class OCIResource extends S3Resource {
|
|
@@ -531,8 +537,6 @@ declare function redactR2Config(config: R2Config): R2ConfigRedacted;
|
|
|
531
537
|
|
|
532
538
|
interface R2ResourceState {
|
|
533
539
|
type: string;
|
|
534
|
-
needsOverride: boolean;
|
|
535
|
-
redactedFields: readonly string[];
|
|
536
540
|
config: R2ConfigRedacted;
|
|
537
541
|
}
|
|
538
542
|
declare class R2Resource extends S3Resource {
|
|
@@ -575,8 +579,6 @@ declare function redactSupabaseConfig(config: SupabaseConfig): SupabaseConfigRed
|
|
|
575
579
|
|
|
576
580
|
interface SupabaseResourceState {
|
|
577
581
|
type: string;
|
|
578
|
-
needsOverride: boolean;
|
|
579
|
-
redactedFields: readonly string[];
|
|
580
582
|
config: SupabaseConfigRedacted;
|
|
581
583
|
}
|
|
582
584
|
declare class SupabaseResource extends S3Resource {
|
|
@@ -594,6 +596,555 @@ declare class SupabaseResource extends S3Resource {
|
|
|
594
596
|
|
|
595
597
|
declare const SUPABASE_PROMPT = "{prefix}\n Remote Supabase Storage bucket.\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, wc, find, stat.";
|
|
596
598
|
|
|
599
|
+
declare const HF_ENDPOINT = "https://huggingface.co";
|
|
600
|
+
declare function assertHfRepoId(value: string, field: string): string;
|
|
601
|
+
interface HfBucketsConfig {
|
|
602
|
+
bucket: string;
|
|
603
|
+
token?: string;
|
|
604
|
+
endpoint?: string;
|
|
605
|
+
timeoutMs?: number;
|
|
606
|
+
keyPrefix?: string;
|
|
607
|
+
}
|
|
608
|
+
interface HfBucketsConfigRedacted {
|
|
609
|
+
bucket: string;
|
|
610
|
+
token?: string;
|
|
611
|
+
endpoint: string;
|
|
612
|
+
timeoutMs?: number;
|
|
613
|
+
keyPrefix?: string;
|
|
614
|
+
}
|
|
615
|
+
declare function redactHfBucketsConfig(config: HfBucketsConfig): HfBucketsConfigRedacted;
|
|
616
|
+
declare function normalizeHfBucketsConfig(input: Record<string, unknown>): HfBucketsConfig;
|
|
617
|
+
interface HfRepoConfig {
|
|
618
|
+
repoId: string;
|
|
619
|
+
token?: string;
|
|
620
|
+
endpoint?: string;
|
|
621
|
+
timeoutMs?: number;
|
|
622
|
+
keyPrefix?: string;
|
|
623
|
+
revision?: string;
|
|
624
|
+
}
|
|
625
|
+
interface HfRepoConfigRedacted {
|
|
626
|
+
repoId: string;
|
|
627
|
+
token?: string;
|
|
628
|
+
endpoint: string;
|
|
629
|
+
timeoutMs?: number;
|
|
630
|
+
keyPrefix?: string;
|
|
631
|
+
revision?: string;
|
|
632
|
+
}
|
|
633
|
+
declare function redactHfRepoConfig(config: HfRepoConfig): HfRepoConfigRedacted;
|
|
634
|
+
declare function normalizeHfRepoConfig(input: Record<string, unknown>): HfRepoConfig;
|
|
635
|
+
|
|
636
|
+
declare const HF_RESOURCES: readonly ["hf_buckets", "hf_datasets", "hf_models", "hf_spaces"];
|
|
637
|
+
declare abstract class HfAccessor extends Accessor {
|
|
638
|
+
readonly config: HfBucketsConfig | HfRepoConfig;
|
|
639
|
+
abstract readonly repoType: string;
|
|
640
|
+
abstract readonly resourceName: ResourceName;
|
|
641
|
+
private operatorPromise;
|
|
642
|
+
constructor(config: HfBucketsConfig | HfRepoConfig);
|
|
643
|
+
get repoId(): string;
|
|
644
|
+
abstract get bucketUri(): string;
|
|
645
|
+
operatorOptions(): Record<string, string>;
|
|
646
|
+
operator(): Promise<Operator>;
|
|
647
|
+
private createOperator;
|
|
648
|
+
}
|
|
649
|
+
declare class HfBucketsAccessor extends HfAccessor {
|
|
650
|
+
readonly repoType: string;
|
|
651
|
+
readonly resourceName: ResourceName;
|
|
652
|
+
get bucketUri(): string;
|
|
653
|
+
}
|
|
654
|
+
declare class HfDatasetsAccessor extends HfAccessor {
|
|
655
|
+
readonly repoType: string;
|
|
656
|
+
readonly resourceName: ResourceName;
|
|
657
|
+
get bucketUri(): string;
|
|
658
|
+
}
|
|
659
|
+
declare class HfModelsAccessor extends HfAccessor {
|
|
660
|
+
readonly repoType: string;
|
|
661
|
+
readonly resourceName: ResourceName;
|
|
662
|
+
get bucketUri(): string;
|
|
663
|
+
}
|
|
664
|
+
declare class HfSpacesAccessor extends HfAccessor {
|
|
665
|
+
readonly repoType: string;
|
|
666
|
+
readonly resourceName: ResourceName;
|
|
667
|
+
get bucketUri(): string;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
declare abstract class HfResource extends BaseResource implements Resource {
|
|
671
|
+
abstract readonly kind: string;
|
|
672
|
+
abstract readonly prompt: string;
|
|
673
|
+
abstract readonly accessor: HfAccessor;
|
|
674
|
+
readonly isRemote: boolean;
|
|
675
|
+
readonly supportsSnapshot: boolean;
|
|
676
|
+
readonly opsMap: Record<string, unknown>;
|
|
677
|
+
open(): Promise<void>;
|
|
678
|
+
close(): Promise<void>;
|
|
679
|
+
commands(): readonly RegisteredCommand[];
|
|
680
|
+
ops(): readonly RegisteredOp[];
|
|
681
|
+
streamPath(p: PathSpec): AsyncIterable<Uint8Array>;
|
|
682
|
+
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
683
|
+
writeFile(p: PathSpec, data: Uint8Array): Promise<void>;
|
|
684
|
+
readdir(p: PathSpec): Promise<string[]>;
|
|
685
|
+
stat(p: PathSpec): Promise<FileStat>;
|
|
686
|
+
exists(p: PathSpec): Promise<boolean>;
|
|
687
|
+
mkdir(p: PathSpec): Promise<void>;
|
|
688
|
+
unlink(p: PathSpec): Promise<void>;
|
|
689
|
+
du(p: PathSpec): Promise<number>;
|
|
690
|
+
find(p: PathSpec, options?: FindOptions): Promise<string[]>;
|
|
691
|
+
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
692
|
+
fingerprint(p: PathSpec): Promise<string | null>;
|
|
693
|
+
loadState(_state: unknown): Promise<void>;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
interface HfBucketsResourceState {
|
|
697
|
+
type: string;
|
|
698
|
+
config: HfBucketsConfigRedacted;
|
|
699
|
+
}
|
|
700
|
+
declare class HfBucketsResource extends HfResource {
|
|
701
|
+
readonly kind: string;
|
|
702
|
+
readonly prompt: string;
|
|
703
|
+
readonly config: HfBucketsConfig;
|
|
704
|
+
readonly accessor: HfBucketsAccessor;
|
|
705
|
+
constructor(config: HfBucketsConfig);
|
|
706
|
+
getState(): Promise<HfBucketsResourceState>;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
declare const HF_BUCKETS_PROMPT = "{prefix}\n Remote Hugging Face Bucket (read-only). Maps bucket object keys to virtual paths.\n IMPORTANT: This is a remote mount. Prefer targeted reads (grep, head) over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.";
|
|
710
|
+
|
|
711
|
+
interface HfDatasetsResourceState {
|
|
712
|
+
type: string;
|
|
713
|
+
config: HfRepoConfigRedacted;
|
|
714
|
+
}
|
|
715
|
+
declare class HfDatasetsResource extends HfResource {
|
|
716
|
+
readonly kind: string;
|
|
717
|
+
readonly prompt: string;
|
|
718
|
+
readonly config: HfRepoConfig;
|
|
719
|
+
readonly accessor: HfDatasetsAccessor;
|
|
720
|
+
constructor(config: HfRepoConfig);
|
|
721
|
+
getState(): Promise<HfDatasetsResourceState>;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
declare const HF_DATASETS_PROMPT = "{prefix}\n Remote Hugging Face Dataset. Maps dataset repo files to virtual paths.\n IMPORTANT: This is a remote mount. Prefer targeted reads (grep, head) over full scans. Large parquet/safetensors files stream lazily via byte-range reads.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.";
|
|
725
|
+
|
|
726
|
+
interface HfModelsResourceState {
|
|
727
|
+
type: string;
|
|
728
|
+
config: HfRepoConfigRedacted;
|
|
729
|
+
}
|
|
730
|
+
declare class HfModelsResource extends HfResource {
|
|
731
|
+
readonly kind: string;
|
|
732
|
+
readonly prompt: string;
|
|
733
|
+
readonly config: HfRepoConfig;
|
|
734
|
+
readonly accessor: HfModelsAccessor;
|
|
735
|
+
constructor(config: HfRepoConfig);
|
|
736
|
+
getState(): Promise<HfModelsResourceState>;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
type HfModelsConfig = HfRepoConfig;
|
|
740
|
+
type HfModelsConfigRedacted = HfRepoConfigRedacted;
|
|
741
|
+
declare const normalizeHfModelsConfig: typeof normalizeHfRepoConfig;
|
|
742
|
+
declare const redactHfModelsConfig: typeof redactHfRepoConfig;
|
|
743
|
+
|
|
744
|
+
declare const HF_MODELS_PROMPT = "{prefix}\n Remote Hugging Face Model. Maps model repo files (weights, configs, tokenizer) to virtual paths.\n IMPORTANT: This is a remote mount. Prefer config/tokenizer inspection over downloading full weights. Safetensors/bin files stream lazily via byte-range reads.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.";
|
|
745
|
+
|
|
746
|
+
interface HfSpacesResourceState {
|
|
747
|
+
type: string;
|
|
748
|
+
config: HfRepoConfigRedacted;
|
|
749
|
+
}
|
|
750
|
+
declare class HfSpacesResource extends HfResource {
|
|
751
|
+
readonly kind: string;
|
|
752
|
+
readonly prompt: string;
|
|
753
|
+
readonly config: HfRepoConfig;
|
|
754
|
+
readonly accessor: HfSpacesAccessor;
|
|
755
|
+
constructor(config: HfRepoConfig);
|
|
756
|
+
getState(): Promise<HfSpacesResourceState>;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
declare const HF_SPACES_PROMPT = "{prefix}\n Remote Hugging Face Space. Maps the space's repo files (app code, README, requirements) to virtual paths.\n IMPORTANT: This is a remote mount. Prefer targeted reads (grep, head) over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.";
|
|
760
|
+
|
|
761
|
+
declare const HF_COMMANDS: readonly RegisteredCommand[];
|
|
762
|
+
|
|
763
|
+
declare const HF_OPS: readonly RegisteredOp[];
|
|
764
|
+
|
|
765
|
+
interface MinIOConfig {
|
|
766
|
+
bucket: string;
|
|
767
|
+
endpoint: string;
|
|
768
|
+
accessKeyId: string;
|
|
769
|
+
secretAccessKey: string;
|
|
770
|
+
region?: string;
|
|
771
|
+
forcePathStyle?: boolean;
|
|
772
|
+
timeoutMs?: number;
|
|
773
|
+
}
|
|
774
|
+
interface MinIOConfigRedacted {
|
|
775
|
+
bucket: string;
|
|
776
|
+
endpoint: string;
|
|
777
|
+
accessKeyId: string;
|
|
778
|
+
secretAccessKey: string;
|
|
779
|
+
region: string;
|
|
780
|
+
forcePathStyle: boolean;
|
|
781
|
+
timeoutMs?: number;
|
|
782
|
+
}
|
|
783
|
+
declare function redactMinIOConfig(config: MinIOConfig): MinIOConfigRedacted;
|
|
784
|
+
|
|
785
|
+
interface MinIOResourceState {
|
|
786
|
+
type: string;
|
|
787
|
+
config: MinIOConfigRedacted;
|
|
788
|
+
}
|
|
789
|
+
declare class MinIOResource extends S3Resource {
|
|
790
|
+
readonly kind: string;
|
|
791
|
+
readonly prompt: string;
|
|
792
|
+
readonly minioConfig: MinIOConfig;
|
|
793
|
+
private readonly minioOps;
|
|
794
|
+
private readonly minioCommands;
|
|
795
|
+
constructor(config: MinIOConfig);
|
|
796
|
+
ops(): readonly RegisteredOp[];
|
|
797
|
+
commands(): readonly RegisteredCommand[];
|
|
798
|
+
getState(): Promise<MinIOResourceState>;
|
|
799
|
+
loadState(_state: MinIOResourceState): Promise<void>;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
declare const MINIO_PROMPT = "{prefix}\n Remote MinIO bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
803
|
+
|
|
804
|
+
interface SeaweedFSConfig {
|
|
805
|
+
bucket: string;
|
|
806
|
+
endpoint: string;
|
|
807
|
+
accessKeyId: string;
|
|
808
|
+
secretAccessKey: string;
|
|
809
|
+
region?: string;
|
|
810
|
+
forcePathStyle?: boolean;
|
|
811
|
+
timeoutMs?: number;
|
|
812
|
+
}
|
|
813
|
+
interface SeaweedFSConfigRedacted {
|
|
814
|
+
bucket: string;
|
|
815
|
+
endpoint: string;
|
|
816
|
+
accessKeyId: string;
|
|
817
|
+
secretAccessKey: string;
|
|
818
|
+
region: string;
|
|
819
|
+
forcePathStyle: boolean;
|
|
820
|
+
timeoutMs?: number;
|
|
821
|
+
}
|
|
822
|
+
declare function redactSeaweedFSConfig(config: SeaweedFSConfig): SeaweedFSConfigRedacted;
|
|
823
|
+
|
|
824
|
+
interface SeaweedFSResourceState {
|
|
825
|
+
type: string;
|
|
826
|
+
config: SeaweedFSConfigRedacted;
|
|
827
|
+
}
|
|
828
|
+
declare class SeaweedFSResource extends S3Resource {
|
|
829
|
+
readonly kind: string;
|
|
830
|
+
readonly prompt: string;
|
|
831
|
+
readonly seaweedfsConfig: SeaweedFSConfig;
|
|
832
|
+
private readonly seaweedfsOps;
|
|
833
|
+
private readonly seaweedfsCommands;
|
|
834
|
+
constructor(config: SeaweedFSConfig);
|
|
835
|
+
ops(): readonly RegisteredOp[];
|
|
836
|
+
commands(): readonly RegisteredCommand[];
|
|
837
|
+
getState(): Promise<SeaweedFSResourceState>;
|
|
838
|
+
loadState(_state: SeaweedFSResourceState): Promise<void>;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
declare const SEAWEEDFS_PROMPT = "{prefix}\n Remote SeaweedFS bucket (S3-compatible gateway).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.feather returns a formatted table.";
|
|
842
|
+
|
|
843
|
+
interface CephConfig {
|
|
844
|
+
bucket: string;
|
|
845
|
+
endpoint: string;
|
|
846
|
+
accessKeyId: string;
|
|
847
|
+
secretAccessKey: string;
|
|
848
|
+
region?: string;
|
|
849
|
+
forcePathStyle?: boolean;
|
|
850
|
+
timeoutMs?: number;
|
|
851
|
+
}
|
|
852
|
+
interface CephConfigRedacted {
|
|
853
|
+
bucket: string;
|
|
854
|
+
endpoint: string;
|
|
855
|
+
accessKeyId: string;
|
|
856
|
+
secretAccessKey: string;
|
|
857
|
+
region: string;
|
|
858
|
+
forcePathStyle: boolean;
|
|
859
|
+
timeoutMs?: number;
|
|
860
|
+
}
|
|
861
|
+
declare function redactCephConfig(config: CephConfig): CephConfigRedacted;
|
|
862
|
+
|
|
863
|
+
interface CephResourceState {
|
|
864
|
+
type: string;
|
|
865
|
+
config: CephConfigRedacted;
|
|
866
|
+
}
|
|
867
|
+
declare class CephResource extends S3Resource {
|
|
868
|
+
readonly kind: string;
|
|
869
|
+
readonly prompt: string;
|
|
870
|
+
readonly cephConfig: CephConfig;
|
|
871
|
+
private readonly cephOps;
|
|
872
|
+
private readonly cephCommands;
|
|
873
|
+
constructor(config: CephConfig);
|
|
874
|
+
ops(): readonly RegisteredOp[];
|
|
875
|
+
commands(): readonly RegisteredCommand[];
|
|
876
|
+
getState(): Promise<CephResourceState>;
|
|
877
|
+
loadState(_state: CephResourceState): Promise<void>;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
declare const CEPH_PROMPT = "{prefix}\n Remote Ceph Rados Gateway bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
881
|
+
|
|
882
|
+
interface WasabiConfig {
|
|
883
|
+
bucket: string;
|
|
884
|
+
accessKeyId: string;
|
|
885
|
+
secretAccessKey: string;
|
|
886
|
+
region?: string;
|
|
887
|
+
endpoint?: string;
|
|
888
|
+
timeoutMs?: number;
|
|
889
|
+
}
|
|
890
|
+
interface WasabiConfigRedacted {
|
|
891
|
+
bucket: string;
|
|
892
|
+
accessKeyId: string;
|
|
893
|
+
secretAccessKey: string;
|
|
894
|
+
region: string;
|
|
895
|
+
endpoint: string;
|
|
896
|
+
timeoutMs?: number;
|
|
897
|
+
}
|
|
898
|
+
declare function resolvedWasabiEndpoint(config: WasabiConfig): string;
|
|
899
|
+
declare function redactWasabiConfig(config: WasabiConfig): WasabiConfigRedacted;
|
|
900
|
+
|
|
901
|
+
interface WasabiResourceState {
|
|
902
|
+
type: string;
|
|
903
|
+
config: WasabiConfigRedacted;
|
|
904
|
+
}
|
|
905
|
+
declare class WasabiResource extends S3Resource {
|
|
906
|
+
readonly kind: string;
|
|
907
|
+
readonly prompt: string;
|
|
908
|
+
readonly wasabiConfig: WasabiConfig;
|
|
909
|
+
private readonly wasabiOps;
|
|
910
|
+
private readonly wasabiCommands;
|
|
911
|
+
constructor(config: WasabiConfig);
|
|
912
|
+
ops(): readonly RegisteredOp[];
|
|
913
|
+
commands(): readonly RegisteredCommand[];
|
|
914
|
+
getState(): Promise<WasabiResourceState>;
|
|
915
|
+
loadState(_state: WasabiResourceState): Promise<void>;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
declare const WASABI_PROMPT = "{prefix}\n Remote Wasabi bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
919
|
+
|
|
920
|
+
interface BackblazeConfig {
|
|
921
|
+
bucket: string;
|
|
922
|
+
accessKeyId: string;
|
|
923
|
+
secretAccessKey: string;
|
|
924
|
+
region: string;
|
|
925
|
+
endpoint?: string;
|
|
926
|
+
timeoutMs?: number;
|
|
927
|
+
}
|
|
928
|
+
interface BackblazeConfigRedacted {
|
|
929
|
+
bucket: string;
|
|
930
|
+
accessKeyId: string;
|
|
931
|
+
secretAccessKey: string;
|
|
932
|
+
region: string;
|
|
933
|
+
endpoint: string;
|
|
934
|
+
timeoutMs?: number;
|
|
935
|
+
}
|
|
936
|
+
declare function resolvedBackblazeEndpoint(config: BackblazeConfig): string;
|
|
937
|
+
declare function redactBackblazeConfig(config: BackblazeConfig): BackblazeConfigRedacted;
|
|
938
|
+
|
|
939
|
+
interface BackblazeResourceState {
|
|
940
|
+
type: string;
|
|
941
|
+
config: BackblazeConfigRedacted;
|
|
942
|
+
}
|
|
943
|
+
declare class BackblazeResource extends S3Resource {
|
|
944
|
+
readonly kind: string;
|
|
945
|
+
readonly prompt: string;
|
|
946
|
+
readonly backblazeConfig: BackblazeConfig;
|
|
947
|
+
private readonly backblazeOps;
|
|
948
|
+
private readonly backblazeCommands;
|
|
949
|
+
constructor(config: BackblazeConfig);
|
|
950
|
+
ops(): readonly RegisteredOp[];
|
|
951
|
+
commands(): readonly RegisteredCommand[];
|
|
952
|
+
getState(): Promise<BackblazeResourceState>;
|
|
953
|
+
loadState(_state: BackblazeResourceState): Promise<void>;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
declare const BACKBLAZE_PROMPT = "{prefix}\n Remote Backblaze B2 bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
957
|
+
|
|
958
|
+
interface DigitalOceanConfig {
|
|
959
|
+
bucket: string;
|
|
960
|
+
accessKeyId: string;
|
|
961
|
+
secretAccessKey: string;
|
|
962
|
+
region: string;
|
|
963
|
+
endpoint?: string;
|
|
964
|
+
timeoutMs?: number;
|
|
965
|
+
}
|
|
966
|
+
interface DigitalOceanConfigRedacted {
|
|
967
|
+
bucket: string;
|
|
968
|
+
accessKeyId: string;
|
|
969
|
+
secretAccessKey: string;
|
|
970
|
+
region: string;
|
|
971
|
+
endpoint: string;
|
|
972
|
+
timeoutMs?: number;
|
|
973
|
+
}
|
|
974
|
+
declare function resolvedDigitalOceanEndpoint(config: DigitalOceanConfig): string;
|
|
975
|
+
declare function redactDigitalOceanConfig(config: DigitalOceanConfig): DigitalOceanConfigRedacted;
|
|
976
|
+
|
|
977
|
+
interface DigitalOceanResourceState {
|
|
978
|
+
type: string;
|
|
979
|
+
config: DigitalOceanConfigRedacted;
|
|
980
|
+
}
|
|
981
|
+
declare class DigitalOceanResource extends S3Resource {
|
|
982
|
+
readonly kind: string;
|
|
983
|
+
readonly prompt: string;
|
|
984
|
+
readonly digitalOceanConfig: DigitalOceanConfig;
|
|
985
|
+
private readonly digitalOceanOps;
|
|
986
|
+
private readonly digitalOceanCommands;
|
|
987
|
+
constructor(config: DigitalOceanConfig);
|
|
988
|
+
ops(): readonly RegisteredOp[];
|
|
989
|
+
commands(): readonly RegisteredCommand[];
|
|
990
|
+
getState(): Promise<DigitalOceanResourceState>;
|
|
991
|
+
loadState(_state: DigitalOceanResourceState): Promise<void>;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
declare const DIGITALOCEAN_PROMPT = "{prefix}\n Remote DigitalOcean Spaces bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
995
|
+
|
|
996
|
+
interface TencentConfig {
|
|
997
|
+
bucket: string;
|
|
998
|
+
accessKeyId: string;
|
|
999
|
+
secretAccessKey: string;
|
|
1000
|
+
region: string;
|
|
1001
|
+
endpoint?: string;
|
|
1002
|
+
timeoutMs?: number;
|
|
1003
|
+
}
|
|
1004
|
+
interface TencentConfigRedacted {
|
|
1005
|
+
bucket: string;
|
|
1006
|
+
accessKeyId: string;
|
|
1007
|
+
secretAccessKey: string;
|
|
1008
|
+
region: string;
|
|
1009
|
+
endpoint: string;
|
|
1010
|
+
timeoutMs?: number;
|
|
1011
|
+
}
|
|
1012
|
+
declare function resolvedTencentEndpoint(config: TencentConfig): string;
|
|
1013
|
+
declare function redactTencentConfig(config: TencentConfig): TencentConfigRedacted;
|
|
1014
|
+
|
|
1015
|
+
interface TencentResourceState {
|
|
1016
|
+
type: string;
|
|
1017
|
+
config: TencentConfigRedacted;
|
|
1018
|
+
}
|
|
1019
|
+
declare class TencentResource extends S3Resource {
|
|
1020
|
+
readonly kind: string;
|
|
1021
|
+
readonly prompt: string;
|
|
1022
|
+
readonly tencentConfig: TencentConfig;
|
|
1023
|
+
private readonly tencentOps;
|
|
1024
|
+
private readonly tencentCommands;
|
|
1025
|
+
constructor(config: TencentConfig);
|
|
1026
|
+
ops(): readonly RegisteredOp[];
|
|
1027
|
+
commands(): readonly RegisteredCommand[];
|
|
1028
|
+
getState(): Promise<TencentResourceState>;
|
|
1029
|
+
loadState(_state: TencentResourceState): Promise<void>;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
declare const TENCENT_PROMPT = "{prefix}\n Remote Tencent Cloud COS bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
1033
|
+
|
|
1034
|
+
interface AliyunConfig {
|
|
1035
|
+
bucket: string;
|
|
1036
|
+
accessKeyId: string;
|
|
1037
|
+
secretAccessKey: string;
|
|
1038
|
+
region: string;
|
|
1039
|
+
endpoint?: string;
|
|
1040
|
+
timeoutMs?: number;
|
|
1041
|
+
}
|
|
1042
|
+
interface AliyunConfigRedacted {
|
|
1043
|
+
bucket: string;
|
|
1044
|
+
accessKeyId: string;
|
|
1045
|
+
secretAccessKey: string;
|
|
1046
|
+
region: string;
|
|
1047
|
+
endpoint: string;
|
|
1048
|
+
timeoutMs?: number;
|
|
1049
|
+
}
|
|
1050
|
+
declare function resolvedAliyunEndpoint(config: AliyunConfig): string;
|
|
1051
|
+
declare function redactAliyunConfig(config: AliyunConfig): AliyunConfigRedacted;
|
|
1052
|
+
|
|
1053
|
+
interface AliyunResourceState {
|
|
1054
|
+
type: string;
|
|
1055
|
+
config: AliyunConfigRedacted;
|
|
1056
|
+
}
|
|
1057
|
+
declare class AliyunResource extends S3Resource {
|
|
1058
|
+
readonly kind: string;
|
|
1059
|
+
readonly prompt: string;
|
|
1060
|
+
readonly aliyunConfig: AliyunConfig;
|
|
1061
|
+
private readonly aliyunOps;
|
|
1062
|
+
private readonly aliyunCommands;
|
|
1063
|
+
constructor(config: AliyunConfig);
|
|
1064
|
+
ops(): readonly RegisteredOp[];
|
|
1065
|
+
commands(): readonly RegisteredCommand[];
|
|
1066
|
+
getState(): Promise<AliyunResourceState>;
|
|
1067
|
+
loadState(_state: AliyunResourceState): Promise<void>;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
declare const ALIYUN_PROMPT = "{prefix}\n Remote Alibaba Cloud OSS bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
1071
|
+
|
|
1072
|
+
interface ScalewayConfig {
|
|
1073
|
+
bucket: string;
|
|
1074
|
+
accessKeyId: string;
|
|
1075
|
+
secretAccessKey: string;
|
|
1076
|
+
region: string;
|
|
1077
|
+
endpoint?: string;
|
|
1078
|
+
timeoutMs?: number;
|
|
1079
|
+
}
|
|
1080
|
+
interface ScalewayConfigRedacted {
|
|
1081
|
+
bucket: string;
|
|
1082
|
+
accessKeyId: string;
|
|
1083
|
+
secretAccessKey: string;
|
|
1084
|
+
region: string;
|
|
1085
|
+
endpoint: string;
|
|
1086
|
+
timeoutMs?: number;
|
|
1087
|
+
}
|
|
1088
|
+
declare function resolvedScalewayEndpoint(config: ScalewayConfig): string;
|
|
1089
|
+
declare function redactScalewayConfig(config: ScalewayConfig): ScalewayConfigRedacted;
|
|
1090
|
+
|
|
1091
|
+
interface ScalewayResourceState {
|
|
1092
|
+
type: string;
|
|
1093
|
+
config: ScalewayConfigRedacted;
|
|
1094
|
+
}
|
|
1095
|
+
declare class ScalewayResource extends S3Resource {
|
|
1096
|
+
readonly kind: string;
|
|
1097
|
+
readonly prompt: string;
|
|
1098
|
+
readonly scalewayConfig: ScalewayConfig;
|
|
1099
|
+
private readonly scalewayOps;
|
|
1100
|
+
private readonly scalewayCommands;
|
|
1101
|
+
constructor(config: ScalewayConfig);
|
|
1102
|
+
ops(): readonly RegisteredOp[];
|
|
1103
|
+
commands(): readonly RegisteredCommand[];
|
|
1104
|
+
getState(): Promise<ScalewayResourceState>;
|
|
1105
|
+
loadState(_state: ScalewayResourceState): Promise<void>;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare const SCALEWAY_PROMPT = "{prefix}\n Remote Scaleway Object Storage bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
1109
|
+
|
|
1110
|
+
interface QingStorConfig {
|
|
1111
|
+
bucket: string;
|
|
1112
|
+
accessKeyId: string;
|
|
1113
|
+
secretAccessKey: string;
|
|
1114
|
+
region: string;
|
|
1115
|
+
endpoint?: string;
|
|
1116
|
+
timeoutMs?: number;
|
|
1117
|
+
}
|
|
1118
|
+
interface QingStorConfigRedacted {
|
|
1119
|
+
bucket: string;
|
|
1120
|
+
accessKeyId: string;
|
|
1121
|
+
secretAccessKey: string;
|
|
1122
|
+
region: string;
|
|
1123
|
+
endpoint: string;
|
|
1124
|
+
timeoutMs?: number;
|
|
1125
|
+
}
|
|
1126
|
+
declare function resolvedQingStorEndpoint(config: QingStorConfig): string;
|
|
1127
|
+
declare function redactQingStorConfig(config: QingStorConfig): QingStorConfigRedacted;
|
|
1128
|
+
|
|
1129
|
+
interface QingStorResourceState {
|
|
1130
|
+
type: string;
|
|
1131
|
+
config: QingStorConfigRedacted;
|
|
1132
|
+
}
|
|
1133
|
+
declare class QingStorResource extends S3Resource {
|
|
1134
|
+
readonly kind: string;
|
|
1135
|
+
readonly prompt: string;
|
|
1136
|
+
readonly qingStorConfig: QingStorConfig;
|
|
1137
|
+
private readonly qingStorOps;
|
|
1138
|
+
private readonly qingStorCommands;
|
|
1139
|
+
constructor(config: QingStorConfig);
|
|
1140
|
+
ops(): readonly RegisteredOp[];
|
|
1141
|
+
commands(): readonly RegisteredCommand[];
|
|
1142
|
+
getState(): Promise<QingStorResourceState>;
|
|
1143
|
+
loadState(_state: QingStorResourceState): Promise<void>;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
declare const QINGSTOR_PROMPT = "{prefix}\n Remote QingStor bucket (S3-compatible).\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, jq, stat.\n cat on .parquet/.orc/.feather returns a formatted table.";
|
|
1147
|
+
|
|
597
1148
|
interface PgPoolLike {
|
|
598
1149
|
query: (sql: string, params?: readonly unknown[]) => Promise<{
|
|
599
1150
|
rows: unknown[];
|
|
@@ -616,7 +1167,7 @@ interface PostgresResourceOptions {
|
|
|
616
1167
|
config: PostgresConfig;
|
|
617
1168
|
prefix?: string;
|
|
618
1169
|
}
|
|
619
|
-
declare class PostgresResource implements Resource {
|
|
1170
|
+
declare class PostgresResource extends BaseResource implements Resource {
|
|
620
1171
|
readonly kind: string;
|
|
621
1172
|
readonly isRemote: boolean;
|
|
622
1173
|
readonly indexTtl: number;
|
|
@@ -624,7 +1175,6 @@ declare class PostgresResource implements Resource {
|
|
|
624
1175
|
readonly config: PostgresConfigResolved;
|
|
625
1176
|
readonly store: PostgresStore;
|
|
626
1177
|
readonly accessor: PostgresAccessor;
|
|
627
|
-
readonly index: IndexCacheStore;
|
|
628
1178
|
constructor(options: PostgresResourceOptions | PostgresConfig);
|
|
629
1179
|
open(): Promise<void>;
|
|
630
1180
|
close(): Promise<void>;
|
|
@@ -643,24 +1193,32 @@ interface MongoCollectionLike {
|
|
|
643
1193
|
sort: (sort: Record<string, 1 | -1>) => MongoCursorLike;
|
|
644
1194
|
skip: (n: number) => MongoCursorLike;
|
|
645
1195
|
limit: (n: number) => MongoCursorLike;
|
|
1196
|
+
batchSize: (n: number) => MongoCursorLike;
|
|
646
1197
|
toArray: () => Promise<Record<string, unknown>[]>;
|
|
1198
|
+
[Symbol.asyncIterator]?: () => AsyncIterableIterator<Record<string, unknown>>;
|
|
647
1199
|
};
|
|
648
1200
|
countDocuments: (filter?: Record<string, unknown>) => Promise<number>;
|
|
649
1201
|
listIndexes: () => {
|
|
650
1202
|
toArray: () => Promise<Record<string, unknown>[]>;
|
|
651
1203
|
};
|
|
1204
|
+
aggregate: (pipeline: unknown[]) => {
|
|
1205
|
+
toArray: () => Promise<Record<string, unknown>[]>;
|
|
1206
|
+
};
|
|
1207
|
+
watch: (pipeline?: unknown[]) => AsyncIterableIterator<Record<string, unknown>> & {
|
|
1208
|
+
close: () => Promise<void>;
|
|
1209
|
+
};
|
|
652
1210
|
}
|
|
653
1211
|
interface MongoCursorLike {
|
|
654
1212
|
sort: (sort: Record<string, 1 | -1>) => MongoCursorLike;
|
|
655
1213
|
skip: (n: number) => MongoCursorLike;
|
|
656
1214
|
limit: (n: number) => MongoCursorLike;
|
|
1215
|
+
batchSize: (n: number) => MongoCursorLike;
|
|
657
1216
|
toArray: () => Promise<Record<string, unknown>[]>;
|
|
1217
|
+
[Symbol.asyncIterator]?: () => AsyncIterableIterator<Record<string, unknown>>;
|
|
658
1218
|
}
|
|
659
1219
|
interface MongoDbLike {
|
|
660
|
-
listCollections: () => {
|
|
661
|
-
toArray: () => Promise<
|
|
662
|
-
name: string;
|
|
663
|
-
}[]>;
|
|
1220
|
+
listCollections: (filter?: Record<string, unknown>) => {
|
|
1221
|
+
toArray: () => Promise<Record<string, unknown>[]>;
|
|
664
1222
|
};
|
|
665
1223
|
collection: (name: string) => MongoCollectionLike;
|
|
666
1224
|
admin: () => {
|
|
@@ -681,10 +1239,16 @@ declare class MongoDBStore implements MongoDriver {
|
|
|
681
1239
|
private clientPromise;
|
|
682
1240
|
constructor(uri: string);
|
|
683
1241
|
listDatabases(): Promise<string[]>;
|
|
684
|
-
listCollections(database: string): Promise<string[]>;
|
|
1242
|
+
listCollections(database: string, kind?: EntityKind | null): Promise<string[]>;
|
|
1243
|
+
listCollectionsDetailed(database: string, filter?: {
|
|
1244
|
+
name?: string;
|
|
1245
|
+
}): Promise<MongoCollectionSpec[]>;
|
|
685
1246
|
findDocuments<T = Record<string, unknown>>(database: string, collection: string, filter?: Record<string, unknown>, options?: MongoFindOptions): Promise<T[]>;
|
|
1247
|
+
iterDocuments<T = Record<string, unknown>>(database: string, collection: string, options?: MongoIterOptions): AsyncIterableIterator<T>;
|
|
1248
|
+
iterInserts<T = Record<string, unknown>>(database: string, collection: string): AsyncIterableIterator<T>;
|
|
686
1249
|
countDocuments(database: string, collection: string, filter?: Record<string, unknown>): Promise<number>;
|
|
687
1250
|
listIndexes(database: string, collection: string): Promise<Record<string, unknown>[]>;
|
|
1251
|
+
getIndexStats(database: string, collection: string): Promise<Record<string, MongoIndexAccess>>;
|
|
688
1252
|
close(): Promise<void>;
|
|
689
1253
|
private _client;
|
|
690
1254
|
protected _connect(): Promise<MongoClientLike>;
|
|
@@ -694,7 +1258,7 @@ interface MongoDBResourceOptions {
|
|
|
694
1258
|
config: MongoDBConfig;
|
|
695
1259
|
prefix?: string;
|
|
696
1260
|
}
|
|
697
|
-
declare class MongoDBResource implements Resource {
|
|
1261
|
+
declare class MongoDBResource extends BaseResource implements Resource {
|
|
698
1262
|
readonly kind: string;
|
|
699
1263
|
readonly isRemote: boolean;
|
|
700
1264
|
readonly indexTtl: number;
|
|
@@ -702,7 +1266,6 @@ declare class MongoDBResource implements Resource {
|
|
|
702
1266
|
readonly config: MongoDBConfigResolved;
|
|
703
1267
|
readonly store: MongoDBStore;
|
|
704
1268
|
readonly accessor: MongoDBAccessor;
|
|
705
|
-
readonly index: IndexCacheStore;
|
|
706
1269
|
constructor(options: MongoDBResourceOptions | MongoDBConfig);
|
|
707
1270
|
open(): Promise<void>;
|
|
708
1271
|
close(): Promise<void>;
|
|
@@ -714,71 +1277,33 @@ declare class MongoDBResource implements Resource {
|
|
|
714
1277
|
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
715
1278
|
}
|
|
716
1279
|
|
|
717
|
-
|
|
718
|
-
config
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
readonly accessor: SSCholarAccessor;
|
|
730
|
-
readonly index: IndexCacheStore;
|
|
731
|
-
constructor(options?: SSCholarPaperResourceOptions | SSCholarConfig);
|
|
732
|
-
open(): Promise<void>;
|
|
1280
|
+
declare class LanceDBStore implements LanceDriver {
|
|
1281
|
+
private readonly config;
|
|
1282
|
+
private db;
|
|
1283
|
+
private readonly tables;
|
|
1284
|
+
constructor(config: LanceDBConfigResolved);
|
|
1285
|
+
private connection;
|
|
1286
|
+
private table;
|
|
1287
|
+
listTables(): Promise<string[]>;
|
|
1288
|
+
distinct(table: string, column: string, filters: Record<string, string>, limit: number): Promise<string[]>;
|
|
1289
|
+
rowsMatching(table: string, filters: Record<string, string>, columns: string[], limit: number): Promise<LanceRow[]>;
|
|
1290
|
+
rowRecord(table: string, idColumn: string, rowId: string): Promise<LanceRow | null>;
|
|
1291
|
+
search(table: string, query: string, limit: number): Promise<LanceRow[]>;
|
|
733
1292
|
close(): Promise<void>;
|
|
734
|
-
ops(): readonly RegisteredOp[];
|
|
735
|
-
commands(): readonly RegisteredCommand[];
|
|
736
|
-
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
737
|
-
readdir(p: PathSpec): Promise<string[]>;
|
|
738
|
-
stat(p: PathSpec): Promise<FileStat>;
|
|
739
|
-
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
interface SSCholarAuthorResourceOptions {
|
|
743
|
-
config?: SSCholarConfig;
|
|
744
|
-
prefix?: string;
|
|
745
|
-
driver?: SSCholarDriver;
|
|
746
|
-
}
|
|
747
|
-
declare class SSCholarAuthorResource implements Resource {
|
|
748
|
-
readonly kind: string;
|
|
749
|
-
readonly isRemote: boolean;
|
|
750
|
-
readonly indexTtl: number;
|
|
751
|
-
readonly prompt: string;
|
|
752
|
-
readonly config: SSCholarConfigResolved;
|
|
753
|
-
readonly driver: SSCholarDriver;
|
|
754
|
-
readonly accessor: SSCholarAccessor;
|
|
755
|
-
readonly index: IndexCacheStore;
|
|
756
|
-
constructor(options?: SSCholarAuthorResourceOptions | SSCholarConfig);
|
|
757
|
-
open(): Promise<void>;
|
|
758
|
-
close(): Promise<void>;
|
|
759
|
-
ops(): readonly RegisteredOp[];
|
|
760
|
-
commands(): readonly RegisteredCommand[];
|
|
761
|
-
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
762
|
-
readdir(p: PathSpec): Promise<string[]>;
|
|
763
|
-
stat(p: PathSpec): Promise<FileStat>;
|
|
764
|
-
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
765
1293
|
}
|
|
766
1294
|
|
|
767
|
-
interface
|
|
768
|
-
config
|
|
769
|
-
prefix?: string;
|
|
770
|
-
driver?: VercelDriver;
|
|
1295
|
+
interface LanceDBResourceOptions {
|
|
1296
|
+
config: LanceDBConfig;
|
|
771
1297
|
}
|
|
772
|
-
declare class
|
|
1298
|
+
declare class LanceDBResource extends BaseResource implements Resource {
|
|
773
1299
|
readonly kind: string;
|
|
774
1300
|
readonly isRemote: boolean;
|
|
775
1301
|
readonly indexTtl: number;
|
|
776
1302
|
readonly prompt: string;
|
|
777
|
-
readonly config:
|
|
778
|
-
readonly
|
|
779
|
-
readonly accessor:
|
|
780
|
-
|
|
781
|
-
constructor(options?: VercelResourceOptions | VercelConfig);
|
|
1303
|
+
readonly config: LanceDBConfigResolved;
|
|
1304
|
+
readonly store: LanceDBStore;
|
|
1305
|
+
readonly accessor: LanceDBAccessor;
|
|
1306
|
+
constructor(options: LanceDBResourceOptions | LanceDBConfig);
|
|
782
1307
|
open(): Promise<void>;
|
|
783
1308
|
close(): Promise<void>;
|
|
784
1309
|
ops(): readonly RegisteredOp[];
|
|
@@ -786,32 +1311,6 @@ declare class VercelResource implements Resource {
|
|
|
786
1311
|
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
787
1312
|
readdir(p: PathSpec): Promise<string[]>;
|
|
788
1313
|
stat(p: PathSpec): Promise<FileStat>;
|
|
789
|
-
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
interface PostHogResourceOptions {
|
|
793
|
-
config?: PostHogConfig;
|
|
794
|
-
prefix?: string;
|
|
795
|
-
driver?: PostHogDriver;
|
|
796
|
-
}
|
|
797
|
-
declare class PostHogResource implements Resource {
|
|
798
|
-
readonly kind: string;
|
|
799
|
-
readonly isRemote: boolean;
|
|
800
|
-
readonly indexTtl: number;
|
|
801
|
-
readonly prompt: string;
|
|
802
|
-
readonly config: PostHogConfigResolved;
|
|
803
|
-
readonly driver: PostHogDriver;
|
|
804
|
-
readonly accessor: PostHogAccessor;
|
|
805
|
-
readonly index: IndexCacheStore;
|
|
806
|
-
constructor(options?: PostHogResourceOptions | PostHogConfig);
|
|
807
|
-
open(): Promise<void>;
|
|
808
|
-
close(): Promise<void>;
|
|
809
|
-
ops(): readonly RegisteredOp[];
|
|
810
|
-
commands(): readonly RegisteredCommand[];
|
|
811
|
-
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
812
|
-
readdir(p: PathSpec): Promise<string[]>;
|
|
813
|
-
stat(p: PathSpec): Promise<FileStat>;
|
|
814
|
-
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
815
1314
|
}
|
|
816
1315
|
|
|
817
1316
|
interface SlackConfig {
|
|
@@ -827,11 +1326,9 @@ declare function normalizeSlackConfig(input: Record<string, unknown>): SlackConf
|
|
|
827
1326
|
|
|
828
1327
|
interface SlackResourceState {
|
|
829
1328
|
type: string;
|
|
830
|
-
needsOverride: boolean;
|
|
831
|
-
redactedFields: readonly string[];
|
|
832
1329
|
config: SlackConfigRedacted;
|
|
833
1330
|
}
|
|
834
|
-
declare class SlackResource implements Resource {
|
|
1331
|
+
declare class SlackResource extends BaseResource implements Resource {
|
|
835
1332
|
readonly kind: string;
|
|
836
1333
|
readonly isRemote: boolean;
|
|
837
1334
|
readonly indexTtl: number;
|
|
@@ -839,7 +1336,6 @@ declare class SlackResource implements Resource {
|
|
|
839
1336
|
readonly writePrompt: string;
|
|
840
1337
|
readonly config: SlackConfig;
|
|
841
1338
|
readonly accessor: SlackAccessor;
|
|
842
|
-
readonly index: IndexCacheStore;
|
|
843
1339
|
constructor(config: SlackConfig);
|
|
844
1340
|
open(): Promise<void>;
|
|
845
1341
|
close(): Promise<void>;
|
|
@@ -894,18 +1390,15 @@ declare class SSHAccessor extends Accessor {
|
|
|
894
1390
|
|
|
895
1391
|
interface SSHResourceState {
|
|
896
1392
|
type: string;
|
|
897
|
-
needsOverride: boolean;
|
|
898
|
-
redactedFields: readonly string[];
|
|
899
1393
|
config: SSHConfigRedacted;
|
|
900
1394
|
}
|
|
901
|
-
declare class SSHResource implements Resource {
|
|
1395
|
+
declare class SSHResource extends BaseResource implements Resource {
|
|
902
1396
|
readonly kind: "ssh";
|
|
903
1397
|
readonly isRemote: boolean;
|
|
904
1398
|
readonly indexTtl: number;
|
|
905
1399
|
readonly prompt = "{prefix}\n Remote filesystem via SSH/SFTP.\n IMPORTANT: This is a remote mount. Prefer targeted reads over full scans.\n Supports: ls, cat, head, tail, grep, rg, wc, find, tree, stat, mkdir, touch, cp, mv, rm, tee.";
|
|
906
1400
|
readonly config: SSHConfig;
|
|
907
1401
|
readonly accessor: SSHAccessor;
|
|
908
|
-
readonly index: IndexCacheStore;
|
|
909
1402
|
readonly opsMap: Record<string, unknown>;
|
|
910
1403
|
constructor(config: SSHConfig);
|
|
911
1404
|
open(): Promise<void>;
|
|
@@ -948,16 +1441,14 @@ interface DiscordConfig {
|
|
|
948
1441
|
interface DiscordConfigRedacted {
|
|
949
1442
|
token: '<REDACTED>';
|
|
950
1443
|
}
|
|
951
|
-
declare function redactDiscordConfig(
|
|
1444
|
+
declare function redactDiscordConfig(config: DiscordConfig): DiscordConfigRedacted;
|
|
952
1445
|
declare function normalizeDiscordConfig(input: Record<string, unknown>): DiscordConfig;
|
|
953
1446
|
|
|
954
1447
|
interface DiscordResourceState {
|
|
955
1448
|
type: string;
|
|
956
|
-
needsOverride: boolean;
|
|
957
|
-
redactedFields: readonly string[];
|
|
958
1449
|
config: DiscordConfigRedacted;
|
|
959
1450
|
}
|
|
960
|
-
declare class DiscordResource implements Resource {
|
|
1451
|
+
declare class DiscordResource extends BaseResource implements Resource {
|
|
961
1452
|
readonly kind: string;
|
|
962
1453
|
readonly isRemote: boolean;
|
|
963
1454
|
readonly indexTtl: number;
|
|
@@ -965,7 +1456,6 @@ declare class DiscordResource implements Resource {
|
|
|
965
1456
|
readonly writePrompt: string;
|
|
966
1457
|
readonly config: DiscordConfig;
|
|
967
1458
|
readonly accessor: DiscordAccessor;
|
|
968
|
-
readonly index: IndexCacheStore;
|
|
969
1459
|
constructor(config: DiscordConfig);
|
|
970
1460
|
open(): Promise<void>;
|
|
971
1461
|
close(): Promise<void>;
|
|
@@ -999,11 +1489,9 @@ declare function normalizeTrelloConfig(input: Record<string, unknown>): TrelloCo
|
|
|
999
1489
|
|
|
1000
1490
|
interface TrelloResourceState {
|
|
1001
1491
|
type: string;
|
|
1002
|
-
needsOverride: boolean;
|
|
1003
|
-
redactedFields: readonly string[];
|
|
1004
1492
|
config: TrelloConfigRedacted;
|
|
1005
1493
|
}
|
|
1006
|
-
declare class TrelloResource implements Resource {
|
|
1494
|
+
declare class TrelloResource extends BaseResource implements Resource {
|
|
1007
1495
|
readonly kind: string;
|
|
1008
1496
|
readonly isRemote: boolean;
|
|
1009
1497
|
readonly indexTtl: number;
|
|
@@ -1011,7 +1499,6 @@ declare class TrelloResource implements Resource {
|
|
|
1011
1499
|
readonly writePrompt: string;
|
|
1012
1500
|
readonly config: TrelloConfig;
|
|
1013
1501
|
readonly accessor: TrelloAccessor;
|
|
1014
|
-
readonly index: IndexCacheStore;
|
|
1015
1502
|
constructor(config: TrelloConfig);
|
|
1016
1503
|
open(): Promise<void>;
|
|
1017
1504
|
close(): Promise<void>;
|
|
@@ -1044,11 +1531,9 @@ declare function normalizeLinearConfig(input: Record<string, unknown>): LinearCo
|
|
|
1044
1531
|
|
|
1045
1532
|
interface LinearResourceState {
|
|
1046
1533
|
type: string;
|
|
1047
|
-
needsOverride: boolean;
|
|
1048
|
-
redactedFields: readonly string[];
|
|
1049
1534
|
config: LinearConfigRedacted;
|
|
1050
1535
|
}
|
|
1051
|
-
declare class LinearResource implements Resource {
|
|
1536
|
+
declare class LinearResource extends BaseResource implements Resource {
|
|
1052
1537
|
readonly kind: string;
|
|
1053
1538
|
readonly isRemote: boolean;
|
|
1054
1539
|
readonly indexTtl: number;
|
|
@@ -1056,7 +1541,6 @@ declare class LinearResource implements Resource {
|
|
|
1056
1541
|
readonly writePrompt: string;
|
|
1057
1542
|
readonly config: LinearConfig;
|
|
1058
1543
|
readonly accessor: LinearAccessor;
|
|
1059
|
-
readonly index: IndexCacheStore;
|
|
1060
1544
|
constructor(config: LinearConfig);
|
|
1061
1545
|
open(): Promise<void>;
|
|
1062
1546
|
close(): Promise<void>;
|
|
@@ -1072,6 +1556,43 @@ declare class LinearResource implements Resource {
|
|
|
1072
1556
|
loadState(_state: LinearResourceState): Promise<void>;
|
|
1073
1557
|
}
|
|
1074
1558
|
|
|
1559
|
+
interface NotionConfig {
|
|
1560
|
+
apiKey: string;
|
|
1561
|
+
baseUrl?: string;
|
|
1562
|
+
}
|
|
1563
|
+
interface NotionConfigRedacted {
|
|
1564
|
+
apiKey: '<REDACTED>';
|
|
1565
|
+
baseUrl?: string;
|
|
1566
|
+
}
|
|
1567
|
+
declare function redactNotionConfig(config: NotionConfig): NotionConfigRedacted;
|
|
1568
|
+
declare function normalizeNotionConfig(input: Record<string, unknown>): NotionConfig;
|
|
1569
|
+
|
|
1570
|
+
interface NotionResourceState {
|
|
1571
|
+
type: string;
|
|
1572
|
+
config: NotionConfigRedacted;
|
|
1573
|
+
}
|
|
1574
|
+
declare class NotionResource extends BaseResource implements Resource {
|
|
1575
|
+
readonly kind: string;
|
|
1576
|
+
readonly isRemote: boolean;
|
|
1577
|
+
readonly indexTtl: number;
|
|
1578
|
+
readonly prompt: string;
|
|
1579
|
+
readonly writePrompt: string;
|
|
1580
|
+
readonly config: NotionConfig;
|
|
1581
|
+
readonly accessor: NotionAccessor;
|
|
1582
|
+
constructor(config: NotionConfig);
|
|
1583
|
+
open(): Promise<void>;
|
|
1584
|
+
close(): Promise<void>;
|
|
1585
|
+
commands(): readonly RegisteredCommand[];
|
|
1586
|
+
ops(): readonly RegisteredOp[];
|
|
1587
|
+
readFile(p: PathSpec): Promise<Uint8Array>;
|
|
1588
|
+
readdir(p: PathSpec): Promise<string[]>;
|
|
1589
|
+
stat(p: PathSpec): Promise<FileStat>;
|
|
1590
|
+
fingerprint(p: PathSpec): Promise<string | null>;
|
|
1591
|
+
glob(paths: readonly PathSpec[], prefix?: string): Promise<PathSpec[]>;
|
|
1592
|
+
getState(): Promise<NotionResourceState>;
|
|
1593
|
+
loadState(_state: NotionResourceState): Promise<void>;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1075
1596
|
interface LangfuseConfig {
|
|
1076
1597
|
publicKey: string;
|
|
1077
1598
|
secretKey: string;
|
|
@@ -1093,18 +1614,15 @@ declare function normalizeLangfuseConfig(input: Record<string, unknown>): Langfu
|
|
|
1093
1614
|
|
|
1094
1615
|
interface LangfuseResourceState {
|
|
1095
1616
|
type: string;
|
|
1096
|
-
needsOverride: boolean;
|
|
1097
|
-
redactedFields: readonly string[];
|
|
1098
1617
|
config: LangfuseConfigRedacted;
|
|
1099
1618
|
}
|
|
1100
|
-
declare class LangfuseResource implements Resource {
|
|
1619
|
+
declare class LangfuseResource extends BaseResource implements Resource {
|
|
1101
1620
|
readonly kind: string;
|
|
1102
1621
|
readonly isRemote: boolean;
|
|
1103
1622
|
readonly indexTtl: number;
|
|
1104
1623
|
readonly prompt: string;
|
|
1105
1624
|
readonly config: LangfuseConfig;
|
|
1106
1625
|
readonly accessor: LangfuseAccessor;
|
|
1107
|
-
readonly index: IndexCacheStore;
|
|
1108
1626
|
constructor(config: LangfuseConfig);
|
|
1109
1627
|
open(): Promise<void>;
|
|
1110
1628
|
close(): Promise<void>;
|
|
@@ -1138,19 +1656,16 @@ declare function normalizeGitHubConfig(input: Record<string, unknown>): GitHubCo
|
|
|
1138
1656
|
|
|
1139
1657
|
interface GitHubResourceState {
|
|
1140
1658
|
type: string;
|
|
1141
|
-
needsOverride: boolean;
|
|
1142
|
-
redactedFields: readonly string[];
|
|
1143
1659
|
config: GitHubConfigRedacted;
|
|
1144
1660
|
defaultBranch: string;
|
|
1145
1661
|
truncated: boolean;
|
|
1146
1662
|
}
|
|
1147
|
-
declare class GitHubResource implements Resource {
|
|
1663
|
+
declare class GitHubResource extends BaseResource implements Resource {
|
|
1148
1664
|
readonly kind: string;
|
|
1149
1665
|
readonly isRemote: boolean;
|
|
1150
1666
|
readonly indexTtl: number;
|
|
1151
1667
|
readonly config: GitHubConfig;
|
|
1152
1668
|
readonly accessor: GitHubAccessor;
|
|
1153
|
-
readonly index: IndexCacheStore;
|
|
1154
1669
|
private constructor();
|
|
1155
1670
|
static create(config: GitHubConfig): Promise<GitHubResource>;
|
|
1156
1671
|
open(): Promise<void>;
|
|
@@ -1187,18 +1702,15 @@ declare function normalizeGitHubCIConfig(input: Record<string, unknown>): GitHub
|
|
|
1187
1702
|
|
|
1188
1703
|
interface GitHubCIResourceState {
|
|
1189
1704
|
type: string;
|
|
1190
|
-
needsOverride: boolean;
|
|
1191
|
-
redactedFields: readonly string[];
|
|
1192
1705
|
config: GitHubCIConfigRedacted;
|
|
1193
1706
|
}
|
|
1194
|
-
declare class GitHubCIResource implements Resource {
|
|
1707
|
+
declare class GitHubCIResource extends BaseResource implements Resource {
|
|
1195
1708
|
readonly kind: string;
|
|
1196
1709
|
readonly isRemote: boolean;
|
|
1197
1710
|
readonly indexTtl: number;
|
|
1198
1711
|
readonly prompt: string;
|
|
1199
1712
|
readonly config: GitHubCIConfig;
|
|
1200
1713
|
readonly accessor: GitHubCIAccessor;
|
|
1201
|
-
readonly index: IndexCacheStore;
|
|
1202
1714
|
constructor(config: GitHubCIConfig);
|
|
1203
1715
|
open(): Promise<void>;
|
|
1204
1716
|
close(): Promise<void>;
|
|
@@ -1232,11 +1744,9 @@ declare function normalizeGDocsConfig(input: Record<string, unknown>): GDocsConf
|
|
|
1232
1744
|
|
|
1233
1745
|
interface GDocsResourceState {
|
|
1234
1746
|
type: string;
|
|
1235
|
-
needsOverride: boolean;
|
|
1236
|
-
redactedFields: readonly string[];
|
|
1237
1747
|
config: GDocsConfigRedacted;
|
|
1238
1748
|
}
|
|
1239
|
-
declare class GDocsResource implements Resource {
|
|
1749
|
+
declare class GDocsResource extends BaseResource implements Resource {
|
|
1240
1750
|
readonly kind: string;
|
|
1241
1751
|
readonly isRemote: boolean;
|
|
1242
1752
|
readonly indexTtl: number;
|
|
@@ -1244,7 +1754,6 @@ declare class GDocsResource implements Resource {
|
|
|
1244
1754
|
readonly writePrompt: string;
|
|
1245
1755
|
readonly config: GDocsConfig;
|
|
1246
1756
|
readonly accessor: GDocsAccessor;
|
|
1247
|
-
readonly index: IndexCacheStore;
|
|
1248
1757
|
constructor(config: GDocsConfig);
|
|
1249
1758
|
open(): Promise<void>;
|
|
1250
1759
|
close(): Promise<void>;
|
|
@@ -1278,11 +1787,9 @@ declare function normalizeGSheetsConfig(input: Record<string, unknown>): GSheets
|
|
|
1278
1787
|
|
|
1279
1788
|
interface GSheetsResourceState {
|
|
1280
1789
|
type: string;
|
|
1281
|
-
needsOverride: boolean;
|
|
1282
|
-
redactedFields: readonly string[];
|
|
1283
1790
|
config: GSheetsConfigRedacted;
|
|
1284
1791
|
}
|
|
1285
|
-
declare class GSheetsResource implements Resource {
|
|
1792
|
+
declare class GSheetsResource extends BaseResource implements Resource {
|
|
1286
1793
|
readonly kind: string;
|
|
1287
1794
|
readonly isRemote: boolean;
|
|
1288
1795
|
readonly indexTtl: number;
|
|
@@ -1290,7 +1797,6 @@ declare class GSheetsResource implements Resource {
|
|
|
1290
1797
|
readonly writePrompt: string;
|
|
1291
1798
|
readonly config: GSheetsConfig;
|
|
1292
1799
|
readonly accessor: GSheetsAccessor;
|
|
1293
|
-
readonly index: IndexCacheStore;
|
|
1294
1800
|
constructor(config: GSheetsConfig);
|
|
1295
1801
|
open(): Promise<void>;
|
|
1296
1802
|
close(): Promise<void>;
|
|
@@ -1324,11 +1830,9 @@ declare function normalizeGSlidesConfig(input: Record<string, unknown>): GSlides
|
|
|
1324
1830
|
|
|
1325
1831
|
interface GSlidesResourceState {
|
|
1326
1832
|
type: string;
|
|
1327
|
-
needsOverride: boolean;
|
|
1328
|
-
redactedFields: readonly string[];
|
|
1329
1833
|
config: GSlidesConfigRedacted;
|
|
1330
1834
|
}
|
|
1331
|
-
declare class GSlidesResource implements Resource {
|
|
1835
|
+
declare class GSlidesResource extends BaseResource implements Resource {
|
|
1332
1836
|
readonly kind: string;
|
|
1333
1837
|
readonly isRemote: boolean;
|
|
1334
1838
|
readonly indexTtl: number;
|
|
@@ -1336,7 +1840,6 @@ declare class GSlidesResource implements Resource {
|
|
|
1336
1840
|
readonly writePrompt: string;
|
|
1337
1841
|
readonly config: GSlidesConfig;
|
|
1338
1842
|
readonly accessor: GSlidesAccessor;
|
|
1339
|
-
readonly index: IndexCacheStore;
|
|
1340
1843
|
constructor(config: GSlidesConfig);
|
|
1341
1844
|
open(): Promise<void>;
|
|
1342
1845
|
close(): Promise<void>;
|
|
@@ -1370,18 +1873,15 @@ declare function normalizeGDriveConfig(input: Record<string, unknown>): GDriveCo
|
|
|
1370
1873
|
|
|
1371
1874
|
interface GDriveResourceState {
|
|
1372
1875
|
type: string;
|
|
1373
|
-
needsOverride: boolean;
|
|
1374
|
-
redactedFields: readonly string[];
|
|
1375
1876
|
config: GDriveConfigRedacted;
|
|
1376
1877
|
}
|
|
1377
|
-
declare class GDriveResource implements Resource {
|
|
1878
|
+
declare class GDriveResource extends BaseResource implements Resource {
|
|
1378
1879
|
readonly kind: string;
|
|
1379
1880
|
readonly isRemote: boolean;
|
|
1380
1881
|
readonly indexTtl: number;
|
|
1381
1882
|
readonly prompt: string;
|
|
1382
1883
|
readonly config: GDriveConfig;
|
|
1383
1884
|
readonly accessor: GDriveAccessor;
|
|
1384
|
-
readonly index: IndexCacheStore;
|
|
1385
1885
|
constructor(config: GDriveConfig);
|
|
1386
1886
|
open(): Promise<void>;
|
|
1387
1887
|
close(): Promise<void>;
|
|
@@ -1415,18 +1915,15 @@ declare function normalizeDropboxConfig(input: Record<string, unknown>): Dropbox
|
|
|
1415
1915
|
|
|
1416
1916
|
interface DropboxResourceState {
|
|
1417
1917
|
type: string;
|
|
1418
|
-
needsOverride: boolean;
|
|
1419
|
-
redactedFields: readonly string[];
|
|
1420
1918
|
config: DropboxConfigRedacted;
|
|
1421
1919
|
}
|
|
1422
|
-
declare class DropboxResource implements Resource {
|
|
1920
|
+
declare class DropboxResource extends BaseResource implements Resource {
|
|
1423
1921
|
readonly kind: string;
|
|
1424
1922
|
readonly isRemote: boolean;
|
|
1425
1923
|
readonly indexTtl: number;
|
|
1426
1924
|
readonly prompt: string;
|
|
1427
1925
|
readonly config: DropboxConfig;
|
|
1428
1926
|
readonly accessor: DropboxAccessor;
|
|
1429
|
-
readonly index: IndexCacheStore;
|
|
1430
1927
|
constructor(config: DropboxConfig);
|
|
1431
1928
|
open(): Promise<void>;
|
|
1432
1929
|
close(): Promise<void>;
|
|
@@ -1445,6 +1942,7 @@ interface BoxConfig {
|
|
|
1445
1942
|
clientId?: string;
|
|
1446
1943
|
clientSecret?: string;
|
|
1447
1944
|
refreshToken?: string;
|
|
1945
|
+
enterpriseId?: string;
|
|
1448
1946
|
accessToken?: string;
|
|
1449
1947
|
refreshFn?: (refreshToken: string) => Promise<{
|
|
1450
1948
|
accessToken: string;
|
|
@@ -1457,6 +1955,7 @@ interface BoxConfigRedacted {
|
|
|
1457
1955
|
clientId?: string;
|
|
1458
1956
|
clientSecret?: '<REDACTED>';
|
|
1459
1957
|
refreshToken?: '<REDACTED>';
|
|
1958
|
+
enterpriseId?: string;
|
|
1460
1959
|
accessToken?: '<REDACTED>';
|
|
1461
1960
|
}
|
|
1462
1961
|
declare function redactBoxConfig(config: BoxConfig): BoxConfigRedacted;
|
|
@@ -1464,18 +1963,15 @@ declare function normalizeBoxConfig(input: Record<string, unknown>): BoxConfig;
|
|
|
1464
1963
|
|
|
1465
1964
|
interface BoxResourceState {
|
|
1466
1965
|
type: string;
|
|
1467
|
-
needsOverride: boolean;
|
|
1468
|
-
redactedFields: readonly string[];
|
|
1469
1966
|
config: BoxConfigRedacted;
|
|
1470
1967
|
}
|
|
1471
|
-
declare class BoxResource implements Resource {
|
|
1968
|
+
declare class BoxResource extends BaseResource implements Resource {
|
|
1472
1969
|
readonly kind: string;
|
|
1473
1970
|
readonly isRemote: boolean;
|
|
1474
1971
|
readonly indexTtl: number;
|
|
1475
1972
|
readonly prompt: string;
|
|
1476
1973
|
readonly config: BoxConfig;
|
|
1477
1974
|
readonly accessor: BoxAccessor;
|
|
1478
|
-
readonly index: IndexCacheStore;
|
|
1479
1975
|
constructor(config: BoxConfig);
|
|
1480
1976
|
open(): Promise<void>;
|
|
1481
1977
|
close(): Promise<void>;
|
|
@@ -1490,39 +1986,19 @@ declare class BoxResource implements Resource {
|
|
|
1490
1986
|
loadState(_state: BoxResourceState): Promise<void>;
|
|
1491
1987
|
}
|
|
1492
1988
|
|
|
1493
|
-
interface GmailConfig {
|
|
1494
|
-
clientId: string;
|
|
1495
|
-
clientSecret: string;
|
|
1496
|
-
refreshToken: string;
|
|
1497
|
-
refreshFn?: (refreshToken: string) => Promise<{
|
|
1498
|
-
accessToken: string;
|
|
1499
|
-
expiresIn: number;
|
|
1500
|
-
}>;
|
|
1501
|
-
}
|
|
1502
|
-
interface GmailConfigRedacted {
|
|
1503
|
-
clientId: string;
|
|
1504
|
-
clientSecret: '<REDACTED>';
|
|
1505
|
-
refreshToken: '<REDACTED>';
|
|
1506
|
-
}
|
|
1507
|
-
declare function redactGmailConfig(config: GmailConfig): GmailConfigRedacted;
|
|
1508
|
-
declare function normalizeGmailConfig(input: Record<string, unknown>): GmailConfig;
|
|
1509
|
-
|
|
1510
1989
|
interface GmailResourceState {
|
|
1511
1990
|
type: string;
|
|
1512
|
-
|
|
1513
|
-
redactedFields: readonly string[];
|
|
1514
|
-
config: GmailConfigRedacted;
|
|
1991
|
+
config: GoogleConfigRedacted;
|
|
1515
1992
|
}
|
|
1516
|
-
declare class GmailResource implements Resource {
|
|
1993
|
+
declare class GmailResource extends BaseResource implements Resource {
|
|
1517
1994
|
readonly kind: string;
|
|
1518
1995
|
readonly isRemote: boolean;
|
|
1519
1996
|
readonly indexTtl: number;
|
|
1520
1997
|
readonly prompt: string;
|
|
1521
1998
|
readonly writePrompt: string;
|
|
1522
|
-
readonly config:
|
|
1999
|
+
readonly config: GoogleConfig;
|
|
1523
2000
|
readonly accessor: GmailAccessor;
|
|
1524
|
-
|
|
1525
|
-
constructor(config: GmailConfig);
|
|
2001
|
+
constructor(config: GoogleConfig);
|
|
1526
2002
|
open(): Promise<void>;
|
|
1527
2003
|
close(): Promise<void>;
|
|
1528
2004
|
commands(): readonly RegisteredCommand[];
|
|
@@ -1573,18 +2049,15 @@ declare class EmailAccessor extends Accessor {
|
|
|
1573
2049
|
|
|
1574
2050
|
interface EmailResourceState {
|
|
1575
2051
|
type: string;
|
|
1576
|
-
needsOverride: boolean;
|
|
1577
|
-
redactedFields: readonly string[];
|
|
1578
2052
|
config: EmailConfigRedacted;
|
|
1579
2053
|
}
|
|
1580
|
-
declare class EmailResource implements Resource {
|
|
2054
|
+
declare class EmailResource extends BaseResource implements Resource {
|
|
1581
2055
|
readonly kind: string;
|
|
1582
2056
|
readonly isRemote: boolean;
|
|
1583
2057
|
readonly indexTtl: number;
|
|
1584
2058
|
readonly prompt: string;
|
|
1585
2059
|
readonly config: EmailConfig;
|
|
1586
2060
|
readonly accessor: EmailAccessor;
|
|
1587
|
-
readonly index: IndexCacheStore;
|
|
1588
2061
|
constructor(config: EmailConfig);
|
|
1589
2062
|
open(): Promise<void>;
|
|
1590
2063
|
close(): Promise<void>;
|
|
@@ -1640,32 +2113,4 @@ declare const DISK_COMMANDS: readonly RegisteredCommand[];
|
|
|
1640
2113
|
|
|
1641
2114
|
declare const REDIS_COMMANDS: readonly RegisteredCommand[];
|
|
1642
2115
|
|
|
1643
|
-
|
|
1644
|
-
duration: number | null;
|
|
1645
|
-
sampleRate: number | null;
|
|
1646
|
-
channels: number | null;
|
|
1647
|
-
bitrate: number | null;
|
|
1648
|
-
}
|
|
1649
|
-
type LocalAudioTranscriber = (raw: Uint8Array, startSec?: number, endSec?: number) => AsyncIterable<Uint8Array | string>;
|
|
1650
|
-
interface LocalAudioConfig {
|
|
1651
|
-
modelDir?: string;
|
|
1652
|
-
recognizer?: LocalAudioTranscriber;
|
|
1653
|
-
}
|
|
1654
|
-
declare function configure(opts: LocalAudioConfig): void;
|
|
1655
|
-
declare function getConfig(): Readonly<LocalAudioConfig>;
|
|
1656
|
-
declare function transcribe(raw: Uint8Array, startSec?: number, endSec?: number): AsyncIterable<Uint8Array>;
|
|
1657
|
-
declare function metadata(raw: Uint8Array): Promise<LocalAudioMetadata>;
|
|
1658
|
-
declare function estimateByteRange(meta: LocalAudioMetadata, fileSize: number, startSec?: number, endSec?: number): [number, number];
|
|
1659
|
-
declare function formatDuration(duration: number): string;
|
|
1660
|
-
declare function formatMetadata(meta: LocalAudioMetadata, path: string, fileSize?: number | null): string;
|
|
1661
|
-
|
|
1662
|
-
declare const DISK_LOCAL_AUDIO_COMMANDS: readonly RegisteredCommand[];
|
|
1663
|
-
|
|
1664
|
-
declare const RAM_LOCAL_AUDIO_COMMANDS: readonly RegisteredCommand[];
|
|
1665
|
-
|
|
1666
|
-
declare const LOCAL_AUDIO_COMMANDS: {
|
|
1667
|
-
ram: readonly RegisteredCommand[];
|
|
1668
|
-
disk: readonly RegisteredCommand[];
|
|
1669
|
-
};
|
|
1670
|
-
|
|
1671
|
-
export { type BoxConfig, type BoxConfigRedacted, BoxResource, type BoxResourceState, DISK_COMMANDS, DISK_LOCAL_AUDIO_COMMANDS, DISK_OPS, DISK_PROMPT, type DiscordConfig, type DiscordConfigRedacted, DiscordResource, type DiscordResourceState, DiskResource, type DiskResourceOptions, type DiskResourceState, type DropboxConfig, type DropboxConfigRedacted, DropboxResource, type DropboxResourceState, EMAIL_COMMANDS, EMAIL_OPS, EMAIL_PROMPT, EMAIL_WRITE_PROMPT, EmailAccessor, type EmailConfig, type EmailConfigInput, type EmailConfigRedacted, EmailResource, type EmailResourceState, type FuseAttr, type FuseHandle, FuseManager, type MountOptions as FuseMountOptions, type GCSConfig, type GCSConfigRedacted, GCSResource, type GCSResourceState, GCS_ENDPOINT, GCS_PROMPT, type GDocsConfig, type GDocsConfigRedacted, GDocsResource, type GDocsResourceState, type GDriveConfig, type GDriveConfigRedacted, GDriveResource, type GDriveResourceState, type GSheetsConfig, type GSheetsConfigRedacted, GSheetsResource, type GSheetsResourceState, type GSlidesConfig, type GSlidesConfigRedacted, GSlidesResource, type GSlidesResourceState, type GitHubCIConfig, type GitHubCIConfigRedacted, GitHubCIResource, type GitHubCIResourceState, type GitHubConfig, type GitHubConfigRedacted, GitHubResource, type GitHubResourceState, type GmailConfig, type GmailConfigRedacted, GmailResource, type GmailResourceState, LOCAL_AUDIO_COMMANDS, type LangfuseConfig, type LangfuseConfigRedacted, LangfuseResource, type LangfuseResourceState, type LinearConfig, type LinearConfigRedacted, LinearResource, type LinearResourceState, type LocalAudioConfig, type LocalAudioMetadata, type LocalAudioTranscriber, MirageFS, type MirageFSOptions, MongoDBResource, type MongoDBResourceOptions, MongoDBStore, type NativeExecOptions, type NativeExecResult, type NativeProcess, type OCIConfig, type OCIConfigRedacted, OCIResource, type OCIResourceState, OCI_PROMPT, PostHogResource, type PostHogResourceOptions, PostgresResource, type PostgresResourceOptions, PostgresStore, type R2Config, type R2ConfigRedacted, R2Resource, type R2ResourceState, R2_PROMPT, RAM_LOCAL_AUDIO_COMMANDS, REDIS_COMMANDS, REDIS_OPS, REDIS_PROMPT, RedisAccessor, type RedisFileCacheOptions, RedisFileCacheStore, type RedisIndexCacheOptions, RedisIndexCacheStore, RedisResource, type RedisResourceLike, type RedisResourceOptions, type RedisResourceState, RedisStore, type RedisStoreOptions, type ResourceFactory, type S3Config, type S3ConfigRedacted, S3Resource, type S3ResourceState, SSCholarAuthorResource, type SSCholarAuthorResourceOptions, SSCholarPaperResource, type SSCholarPaperResourceOptions, SSHAccessor, type SSHConfig, type SSHConfigRedacted, SSHResource, type SSHResourceState, SSH_COMMANDS, SSH_OPS, SSH_PROMPT, SUPABASE_PROMPT, type SlackConfig, type SlackConfigRedacted, SlackResource, type SlackResourceState, type SupabaseConfig, type SupabaseConfigRedacted, SupabaseResource, type SupabaseResourceState, type TrelloConfig, type TrelloConfigRedacted, TrelloResource, type TrelloResourceState, VercelResource, type VercelResourceOptions, Workspace, buildEmailConfig, buildResource, configure as configureLocalAudio, fileReadProvision, mount as fuseMount, mountBackground as fuseMountBackground, getConfig as getLocalAudioConfig, headTailProvision, isMacosMetadata, knownResources, estimateByteRange as localAudioEstimateByteRange, formatDuration as localAudioFormatDuration, formatMetadata as localAudioFormatMetadata, metadata as localAudioMetadata, transcribe as localAudioTranscribe, metadataProvision, nativeExec, nativeExecStream, normalizeBoxConfig, normalizeDiscordConfig, normalizeDropboxConfig, normalizeEmailConfig, normalizeGDocsConfig, normalizeGDriveConfig, normalizeGSheetsConfig, normalizeGSlidesConfig, normalizeGitHubCIConfig, normalizeGitHubConfig, normalizeGmailConfig, normalizeLangfuseConfig, normalizeLinearConfig, normalizeSlackConfig, normalizeSshConfig, normalizeTrelloConfig, patchNodeFs, redactBoxConfig, redactDiscordConfig, redactDropboxConfig, redactEmailConfig, redactGDocsConfig, redactGDriveConfig, redactGSheetsConfig, redactGSlidesConfig, redactGcsConfig, redactGitHubCIConfig, redactGitHubConfig, redactGmailConfig, redactLangfuseConfig, redactLinearConfig, redactOciConfig, redactR2Config, redactConfig as redactS3Config, redactSlackConfig, redactSshConfig, redactSupabaseConfig, redactTrelloConfig, register as registerResourceFactory, resolvedSupabaseEndpoint };
|
|
2116
|
+
export { ALIYUN_PROMPT, type AliyunConfig, type AliyunConfigRedacted, AliyunResource, type AliyunResourceState, BACKBLAZE_PROMPT, type BackblazeConfig, type BackblazeConfigRedacted, BackblazeResource, type BackblazeResourceState, type BoxConfig, type BoxConfigRedacted, BoxResource, type BoxResourceState, CEPH_PROMPT, type CephConfig, type CephConfigRedacted, CephResource, type CephResourceState, DIGITALOCEAN_PROMPT, DISK_COMMANDS, DISK_OPS, DISK_PROMPT, type DatabricksProfile, DatabricksVolumeResource, type DatabricksVolumeResourceState, type DigitalOceanConfig, type DigitalOceanConfigRedacted, DigitalOceanResource, type DigitalOceanResourceState, type DiscordConfig, type DiscordConfigRedacted, DiscordResource, type DiscordResourceState, DiskResource, type DiskResourceOptions, type DiskResourceState, type DropboxConfig, type DropboxConfigRedacted, DropboxResource, type DropboxResourceState, EMAIL_COMMANDS, EMAIL_OPS, EMAIL_PROMPT, EMAIL_WRITE_PROMPT, EmailAccessor, type EmailConfig, type EmailConfigInput, type EmailConfigRedacted, EmailResource, type EmailResourceState, type FuseAttr, type FuseHandle, FuseManager, type MountOptions as FuseMountOptions, type GCSConfig, type GCSConfigRedacted, GCSResource, type GCSResourceState, GCS_ENDPOINT, GCS_PROMPT, type GDocsConfig, type GDocsConfigRedacted, GDocsResource, type GDocsResourceState, type GDriveConfig, type GDriveConfigRedacted, GDriveResource, type GDriveResourceState, type GSheetsConfig, type GSheetsConfigRedacted, GSheetsResource, type GSheetsResourceState, type GSlidesConfig, type GSlidesConfigRedacted, GSlidesResource, type GSlidesResourceState, type GitHubCIConfig, type GitHubCIConfigRedacted, GitHubCIResource, type GitHubCIResourceState, type GitHubConfig, type GitHubConfigRedacted, GitHubResource, type GitHubResourceState, GmailResource, type GmailResourceState, HF_BUCKETS_PROMPT, HF_COMMANDS, HF_DATASETS_PROMPT, HF_ENDPOINT, HF_MODELS_PROMPT, HF_OPS, HF_RESOURCES, HF_SPACES_PROMPT, HfAccessor, HfBucketsAccessor, type HfBucketsConfig, type HfBucketsConfigRedacted, HfBucketsResource, type HfBucketsResourceState, HfDatasetsAccessor, HfDatasetsResource, type HfDatasetsResourceState, HfModelsAccessor, type HfModelsConfig, type HfModelsConfigRedacted, HfModelsResource, type HfModelsResourceState, type HfRepoConfig, type HfRepoConfigRedacted, HfSpacesAccessor, HfSpacesResource, type HfSpacesResourceState, LanceDBResource, type LanceDBResourceOptions, LanceDBStore, type LangfuseConfig, type LangfuseConfigRedacted, LangfuseResource, type LangfuseResourceState, type LinearConfig, type LinearConfigRedacted, LinearResource, type LinearResourceState, MINIO_PROMPT, type MinIOConfig, type MinIOConfigRedacted, MinIOResource, type MinIOResourceState, MirageFS, type MirageFSOptions, MongoDBResource, type MongoDBResourceOptions, MongoDBStore, type NotionConfig, type NotionConfigRedacted, NotionResource, type NotionResourceState, type OCIConfig, type OCIConfigRedacted, OCIResource, type OCIResourceState, OCI_PROMPT, PostgresResource, type PostgresResourceOptions, PostgresStore, QINGSTOR_PROMPT, type QingStorConfig, type QingStorConfigRedacted, QingStorResource, type QingStorResourceState, type R2Config, type R2ConfigRedacted, R2Resource, type R2ResourceState, R2_PROMPT, REDIS_COMMANDS, REDIS_OPS, REDIS_PROMPT, RedisAccessor, type RedisFileCacheOptions, RedisFileCacheStore, RedisResource, type RedisResourceLike, type RedisResourceOptions, type RedisResourceState, RedisStore, type RedisStoreOptions, type ResourceFactory, type S3Config, type S3ConfigRedacted, S3Resource, type S3ResourceState, SCALEWAY_PROMPT, SEAWEEDFS_PROMPT, SSHAccessor, type SSHConfig, type SSHConfigRedacted, SSHResource, type SSHResourceState, SSH_COMMANDS, SSH_OPS, SSH_PROMPT, SUPABASE_PROMPT, type ScalewayConfig, type ScalewayConfigRedacted, ScalewayResource, type ScalewayResourceState, type SeaweedFSConfig, type SeaweedFSConfigRedacted, SeaweedFSResource, type SeaweedFSResourceState, type SlackConfig, type SlackConfigRedacted, SlackResource, type SlackResourceState, type SupabaseConfig, type SupabaseConfigRedacted, SupabaseResource, type SupabaseResourceState, TENCENT_PROMPT, type TencentConfig, type TencentConfigRedacted, TencentResource, type TencentResourceState, type TrelloConfig, type TrelloConfigRedacted, TrelloResource, type TrelloResourceState, WASABI_PROMPT, type WasabiConfig, type WasabiConfigRedacted, WasabiResource, type WasabiResourceState, Workspace, assertHfRepoId, buildEmailConfig, buildResource, fileReadProvision, mount as fuseMount, mountBackground as fuseMountBackground, headTailProvision, isMacosMetadata, knownResources, loadDatabricksProfile, metadataProvision, normalizeBoxConfig, normalizeDiscordConfig, normalizeDropboxConfig, normalizeEmailConfig, normalizeGDocsConfig, normalizeGDriveConfig, normalizeGSheetsConfig, normalizeGSlidesConfig, normalizeGitHubCIConfig, normalizeGitHubConfig, normalizeHfBucketsConfig, normalizeHfModelsConfig, normalizeHfRepoConfig, normalizeLangfuseConfig, normalizeLinearConfig, normalizeNotionConfig, normalizeSlackConfig, normalizeSshConfig, normalizeTrelloConfig, parseDatabricksCfg, patchNodeFs, redactAliyunConfig, redactBackblazeConfig, redactBoxConfig, redactCephConfig, redactDigitalOceanConfig, redactDiscordConfig, redactDropboxConfig, redactEmailConfig, redactGDocsConfig, redactGDriveConfig, redactGSheetsConfig, redactGSlidesConfig, redactGcsConfig, redactGitHubCIConfig, redactGitHubConfig, redactHfBucketsConfig, redactHfModelsConfig, redactHfRepoConfig, redactLangfuseConfig, redactLinearConfig, redactMinIOConfig, redactNotionConfig, redactOciConfig, redactQingStorConfig, redactR2Config, redactConfig as redactS3Config, redactScalewayConfig, redactSeaweedFSConfig, redactSlackConfig, redactSshConfig, redactSupabaseConfig, redactTencentConfig, redactTrelloConfig, redactWasabiConfig, register as registerResourceFactory, resolvedAliyunEndpoint, resolvedBackblazeEndpoint, resolvedDigitalOceanEndpoint, resolvedQingStorEndpoint, resolvedScalewayEndpoint, resolvedSupabaseEndpoint, resolvedTencentEndpoint, resolvedWasabiEndpoint };
|