@struktoai/mirage-node 0.0.3-alpha.0 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/README.md +1 -1
  2. package/dist/{aliyun-TMZRUYCG.js → aliyun-JMJ3PFYY.js} +3 -3
  3. package/dist/{backblaze-OHW57DLK.js → backblaze-TDFD23QO.js} +3 -3
  4. package/dist/{box-UXTCAFOZ.js → box-GQ2U2R6R.js} +2 -2
  5. package/dist/{ceph-TNN4I2FT.js → ceph-S2VOYO6G.js} +3 -3
  6. package/dist/{chunk-FXFDBF3P.js → chunk-3WIO7NBR.js} +2 -2
  7. package/dist/{chunk-O7ODGJYL.js → chunk-47AVIIOT.js} +2 -2
  8. package/dist/{chunk-Q6CDMOM6.js → chunk-7CW3BMPH.js} +2 -2
  9. package/dist/{chunk-E7RW3SBV.js → chunk-A7IVFIOP.js} +2 -2
  10. package/dist/chunk-A7IVFIOP.js.map +1 -0
  11. package/dist/{chunk-3T3RMDNX.js → chunk-AUHSTJJ3.js} +2 -2
  12. package/dist/{chunk-PJBQKMCD.js → chunk-DM4GSE26.js} +2 -2
  13. package/dist/{chunk-5DLOHQJ2.js → chunk-EM4J5EQS.js} +2 -2
  14. package/dist/chunk-EM4J5EQS.js.map +1 -0
  15. package/dist/{chunk-ABTEGAFB.js → chunk-EZQ5HBAC.js} +2 -2
  16. package/dist/chunk-EZQ5HBAC.js.map +1 -0
  17. package/dist/{chunk-KTNDT45N.js → chunk-FQ33BYFR.js} +2 -2
  18. package/dist/{chunk-YAVGCQUP.js → chunk-G2WCEUQL.js} +2 -2
  19. package/dist/chunk-G2WCEUQL.js.map +1 -0
  20. package/dist/{chunk-RLGWMJD3.js → chunk-GCFYZSVR.js} +133 -3
  21. package/dist/chunk-GCFYZSVR.js.map +1 -0
  22. package/dist/{chunk-NHS7WLEQ.js → chunk-GS5AUKUO.js} +2 -2
  23. package/dist/chunk-GS5AUKUO.js.map +1 -0
  24. package/dist/{chunk-BYTU2YC3.js → chunk-HGCRXJGP.js} +2 -2
  25. package/dist/{chunk-G5BZE7UA.js → chunk-HJJMP6IX.js} +2 -2
  26. package/dist/{chunk-IQVNVTOP.js → chunk-I5THIMPP.js} +2 -2
  27. package/dist/chunk-IDYHQQOH.js +1095 -0
  28. package/dist/chunk-IDYHQQOH.js.map +1 -0
  29. package/dist/{chunk-C6NHFMIP.js → chunk-IK2L4EN3.js} +2 -2
  30. package/dist/{chunk-LYDMMNL2.js → chunk-JAGJTM3Q.js} +2 -2
  31. package/dist/chunk-JAGJTM3Q.js.map +1 -0
  32. package/dist/{chunk-A7X4L4JM.js → chunk-JCC4CU2I.js} +2 -2
  33. package/dist/chunk-JCC4CU2I.js.map +1 -0
  34. package/dist/{chunk-AJICZLHT.js → chunk-KPULTUOK.js} +2 -2
  35. package/dist/{chunk-YPT4JBUY.js → chunk-LV2G7VHL.js} +2 -2
  36. package/dist/chunk-LV2G7VHL.js.map +1 -0
  37. package/dist/{chunk-C6NHEDHY.js → chunk-M5FVUIYP.js} +2 -2
  38. package/dist/chunk-M5FVUIYP.js.map +1 -0
  39. package/dist/{chunk-HEHERHQ5.js → chunk-MPCCRRE6.js} +2 -2
  40. package/dist/chunk-MPCCRRE6.js.map +1 -0
  41. package/dist/{chunk-RQYEEA2O.js → chunk-N5FSLVKO.js} +2 -2
  42. package/dist/{chunk-CASCUFK2.js → chunk-NOHWIBRX.js} +2 -2
  43. package/dist/chunk-NOHWIBRX.js.map +1 -0
  44. package/dist/{chunk-TRTUHCS4.js → chunk-QCZ2XUKH.js} +2 -2
  45. package/dist/chunk-QCZ2XUKH.js.map +1 -0
  46. package/dist/{chunk-3IJSIVKT.js → chunk-QQBJC2FQ.js} +2 -2
  47. package/dist/{chunk-JZQHKDSY.js → chunk-RNQN2FOU.js} +2 -2
  48. package/dist/chunk-RNQN2FOU.js.map +1 -0
  49. package/dist/{chunk-DTAY7LPC.js → chunk-S5OVP467.js} +2 -2
  50. package/dist/chunk-S5OVP467.js.map +1 -0
  51. package/dist/{chunk-5YOCVEUB.js → chunk-SWCDFEUK.js} +2 -2
  52. package/dist/chunk-SWCDFEUK.js.map +1 -0
  53. package/dist/{chunk-MHCMHKM6.js → chunk-TA3WMOMU.js} +2 -2
  54. package/dist/chunk-TA3WMOMU.js.map +1 -0
  55. package/dist/{chunk-WSGEIVY3.js → chunk-TURD42QO.js} +101 -85
  56. package/dist/chunk-TURD42QO.js.map +1 -0
  57. package/dist/{chunk-WL7HS7EM.js → chunk-UINQOUZR.js} +2 -2
  58. package/dist/{chunk-A4Z6DZ22.js → chunk-VWKUT4CW.js} +2 -2
  59. package/dist/chunk-VWKUT4CW.js.map +1 -0
  60. package/dist/{chunk-ERELJ7BS.js → chunk-WAR4Q2NM.js} +2 -2
  61. package/dist/chunk-WAR4Q2NM.js.map +1 -0
  62. package/dist/{chunk-5HCVKTP3.js → chunk-WHFUWWI6.js} +92 -81
  63. package/dist/chunk-WHFUWWI6.js.map +1 -0
  64. package/dist/{chunk-HQ4KWN76.js → chunk-X3G37FXT.js} +2 -2
  65. package/dist/{chunk-OYV2DN66.js → chunk-X5HF2OFP.js} +2 -2
  66. package/dist/chunk-XWVDS66D.js +963 -0
  67. package/dist/chunk-XWVDS66D.js.map +1 -0
  68. package/dist/{chunk-L6JPBJAS.js → chunk-YAHRT6MB.js} +2 -2
  69. package/dist/{chunk-XRU5WXZX.js → chunk-ZEGAMJO2.js} +2 -2
  70. package/dist/chunk-ZEGAMJO2.js.map +1 -0
  71. package/dist/{chunk-B6SXRCBO.js → chunk-ZGSER5TG.js} +2 -2
  72. package/dist/databricks_volume-7XOUYSTY.js +7 -0
  73. package/dist/{digitalocean-6SPR4S7V.js → digitalocean-3CQ4CPPZ.js} +3 -3
  74. package/dist/{discord-SAV2RBJV.js → discord-BG7OSRJG.js} +2 -2
  75. package/dist/{disk-POACMF4G.js → disk-XVLBCVKE.js} +2 -2
  76. package/dist/{dropbox-CQ7MTYX2.js → dropbox-74GYLV3R.js} +2 -2
  77. package/dist/{email-KBQ7CXS7.js → email-5IZ7OBQ4.js} +2 -2
  78. package/dist/{gcs-SMIE4VMT.js → gcs-EMEYU2XT.js} +3 -3
  79. package/dist/{gdocs-X5Y2SIQX.js → gdocs-R67TDPON.js} +2 -2
  80. package/dist/{gdrive-SIQPRIGI.js → gdrive-PRN2ALRK.js} +2 -2
  81. package/dist/{github-KBHWANKQ.js → github-DV7E6OFV.js} +2 -2
  82. package/dist/{github_ci-HPITNK37.js → github_ci-Q554V5PA.js} +2 -2
  83. package/dist/{gmail-DKHAGJNX.js → gmail-OLN2LT4O.js} +2 -2
  84. package/dist/{gsheets-ZSUDIWGK.js → gsheets-H4RYMQJ5.js} +2 -2
  85. package/dist/{gslides-GYXM7IMJ.js → gslides-YLCHKJOM.js} +2 -2
  86. package/dist/{hf_buckets-RIOMV7WG.js → hf_buckets-DTKXKKFF.js} +3 -3
  87. package/dist/{hf_datasets-QF4BQ3OK.js → hf_datasets-55C4APKR.js} +3 -3
  88. package/dist/{hf_models-62GC2HPZ.js → hf_models-RO5JR36V.js} +3 -3
  89. package/dist/{hf_spaces-NVSMUNRM.js → hf_spaces-ZVZ3EDRX.js} +3 -3
  90. package/dist/index.d.ts +110 -44
  91. package/dist/index.js +520 -232
  92. package/dist/index.js.map +1 -1
  93. package/dist/{langfuse-HUAYVPHF.js → langfuse-ACASJZ7O.js} +2 -2
  94. package/dist/{linear-2MM55KBC.js → linear-IC37LZV7.js} +2 -2
  95. package/dist/{minio-L3XE6PQS.js → minio-HZ576XFQ.js} +3 -3
  96. package/dist/mongodb-JVR62OIO.js +7 -0
  97. package/dist/{notion-UK4GTMT4.js → notion-HKRPQMJS.js} +2 -2
  98. package/dist/{oci-NURLWPL2.js → oci-ZLVECXTW.js} +3 -3
  99. package/dist/postgres-P36Z2YN4.js +7 -0
  100. package/dist/{qingstor-W55D5YFO.js → qingstor-YLP6K3L4.js} +3 -3
  101. package/dist/{r2-FSZK7IFI.js → r2-RPK25ANI.js} +3 -3
  102. package/dist/{redis-S6GIPA4Z.js → redis-V5ULXULL.js} +2 -2
  103. package/dist/{s3-GMPUJ65D.js → s3-4OIOCAAT.js} +2 -2
  104. package/dist/{scaleway-5VM55Y6D.js → scaleway-CCWCLUHB.js} +3 -3
  105. package/dist/{seaweedfs-J3EPUEPE.js → seaweedfs-QSWKF2FN.js} +3 -3
  106. package/dist/{slack-FVBXY7KD.js → slack-YPS7PII3.js} +2 -2
  107. package/dist/{ssh-GCXETJ3Z.js → ssh-YFP3SMTJ.js} +2 -2
  108. package/dist/{supabase-HLWNHBBE.js → supabase-6CFTOKGZ.js} +3 -3
  109. package/dist/{tencent-YDO73XBD.js → tencent-IWZZOSQ4.js} +3 -3
  110. package/dist/{trello-CQ53BQUL.js → trello-XYKWZD6P.js} +2 -2
  111. package/dist/{wasabi-SOZKPMRQ.js → wasabi-6Z4DC5S5.js} +3 -3
  112. package/package.json +7 -5
  113. package/dist/chunk-5DLOHQJ2.js.map +0 -1
  114. package/dist/chunk-5HCVKTP3.js.map +0 -1
  115. package/dist/chunk-5YOCVEUB.js.map +0 -1
  116. package/dist/chunk-A4Z6DZ22.js.map +0 -1
  117. package/dist/chunk-A7X4L4JM.js.map +0 -1
  118. package/dist/chunk-ABTEGAFB.js.map +0 -1
  119. package/dist/chunk-C6NHEDHY.js.map +0 -1
  120. package/dist/chunk-CASCUFK2.js.map +0 -1
  121. package/dist/chunk-DTAY7LPC.js.map +0 -1
  122. package/dist/chunk-E7RW3SBV.js.map +0 -1
  123. package/dist/chunk-ERELJ7BS.js.map +0 -1
  124. package/dist/chunk-HEHERHQ5.js.map +0 -1
  125. package/dist/chunk-JZQHKDSY.js.map +0 -1
  126. package/dist/chunk-LYDMMNL2.js.map +0 -1
  127. package/dist/chunk-MHCMHKM6.js.map +0 -1
  128. package/dist/chunk-N72CAZEH.js +0 -1990
  129. package/dist/chunk-N72CAZEH.js.map +0 -1
  130. package/dist/chunk-NHS7WLEQ.js.map +0 -1
  131. package/dist/chunk-PBBG7VFT.js +0 -1896
  132. package/dist/chunk-PBBG7VFT.js.map +0 -1
  133. package/dist/chunk-RLGWMJD3.js.map +0 -1
  134. package/dist/chunk-TRTUHCS4.js.map +0 -1
  135. package/dist/chunk-WSGEIVY3.js.map +0 -1
  136. package/dist/chunk-XRU5WXZX.js.map +0 -1
  137. package/dist/chunk-YAVGCQUP.js.map +0 -1
  138. package/dist/chunk-YPT4JBUY.js.map +0 -1
  139. package/dist/databricks_volume-HNQ4DJVJ.js +0 -7
  140. package/dist/mongodb-ZOX4FRHJ.js +0 -7
  141. package/dist/postgres-JNFMPAO2.js +0 -7
  142. /package/dist/{aliyun-TMZRUYCG.js.map → aliyun-JMJ3PFYY.js.map} +0 -0
  143. /package/dist/{backblaze-OHW57DLK.js.map → backblaze-TDFD23QO.js.map} +0 -0
  144. /package/dist/{box-UXTCAFOZ.js.map → box-GQ2U2R6R.js.map} +0 -0
  145. /package/dist/{ceph-TNN4I2FT.js.map → ceph-S2VOYO6G.js.map} +0 -0
  146. /package/dist/{chunk-FXFDBF3P.js.map → chunk-3WIO7NBR.js.map} +0 -0
  147. /package/dist/{chunk-O7ODGJYL.js.map → chunk-47AVIIOT.js.map} +0 -0
  148. /package/dist/{chunk-Q6CDMOM6.js.map → chunk-7CW3BMPH.js.map} +0 -0
  149. /package/dist/{chunk-3T3RMDNX.js.map → chunk-AUHSTJJ3.js.map} +0 -0
  150. /package/dist/{chunk-PJBQKMCD.js.map → chunk-DM4GSE26.js.map} +0 -0
  151. /package/dist/{chunk-KTNDT45N.js.map → chunk-FQ33BYFR.js.map} +0 -0
  152. /package/dist/{chunk-BYTU2YC3.js.map → chunk-HGCRXJGP.js.map} +0 -0
  153. /package/dist/{chunk-G5BZE7UA.js.map → chunk-HJJMP6IX.js.map} +0 -0
  154. /package/dist/{chunk-IQVNVTOP.js.map → chunk-I5THIMPP.js.map} +0 -0
  155. /package/dist/{chunk-C6NHFMIP.js.map → chunk-IK2L4EN3.js.map} +0 -0
  156. /package/dist/{chunk-AJICZLHT.js.map → chunk-KPULTUOK.js.map} +0 -0
  157. /package/dist/{chunk-RQYEEA2O.js.map → chunk-N5FSLVKO.js.map} +0 -0
  158. /package/dist/{chunk-3IJSIVKT.js.map → chunk-QQBJC2FQ.js.map} +0 -0
  159. /package/dist/{chunk-WL7HS7EM.js.map → chunk-UINQOUZR.js.map} +0 -0
  160. /package/dist/{chunk-HQ4KWN76.js.map → chunk-X3G37FXT.js.map} +0 -0
  161. /package/dist/{chunk-OYV2DN66.js.map → chunk-X5HF2OFP.js.map} +0 -0
  162. /package/dist/{chunk-L6JPBJAS.js.map → chunk-YAHRT6MB.js.map} +0 -0
  163. /package/dist/{chunk-B6SXRCBO.js.map → chunk-ZGSER5TG.js.map} +0 -0
  164. /package/dist/{databricks_volume-HNQ4DJVJ.js.map → databricks_volume-7XOUYSTY.js.map} +0 -0
  165. /package/dist/{digitalocean-6SPR4S7V.js.map → digitalocean-3CQ4CPPZ.js.map} +0 -0
  166. /package/dist/{discord-SAV2RBJV.js.map → discord-BG7OSRJG.js.map} +0 -0
  167. /package/dist/{disk-POACMF4G.js.map → disk-XVLBCVKE.js.map} +0 -0
  168. /package/dist/{dropbox-CQ7MTYX2.js.map → dropbox-74GYLV3R.js.map} +0 -0
  169. /package/dist/{email-KBQ7CXS7.js.map → email-5IZ7OBQ4.js.map} +0 -0
  170. /package/dist/{gcs-SMIE4VMT.js.map → gcs-EMEYU2XT.js.map} +0 -0
  171. /package/dist/{gdocs-X5Y2SIQX.js.map → gdocs-R67TDPON.js.map} +0 -0
  172. /package/dist/{gdrive-SIQPRIGI.js.map → gdrive-PRN2ALRK.js.map} +0 -0
  173. /package/dist/{github-KBHWANKQ.js.map → github-DV7E6OFV.js.map} +0 -0
  174. /package/dist/{github_ci-HPITNK37.js.map → github_ci-Q554V5PA.js.map} +0 -0
  175. /package/dist/{gmail-DKHAGJNX.js.map → gmail-OLN2LT4O.js.map} +0 -0
  176. /package/dist/{gsheets-ZSUDIWGK.js.map → gsheets-H4RYMQJ5.js.map} +0 -0
  177. /package/dist/{gslides-GYXM7IMJ.js.map → gslides-YLCHKJOM.js.map} +0 -0
  178. /package/dist/{hf_buckets-RIOMV7WG.js.map → hf_buckets-DTKXKKFF.js.map} +0 -0
  179. /package/dist/{hf_datasets-QF4BQ3OK.js.map → hf_datasets-55C4APKR.js.map} +0 -0
  180. /package/dist/{hf_models-62GC2HPZ.js.map → hf_models-RO5JR36V.js.map} +0 -0
  181. /package/dist/{hf_spaces-NVSMUNRM.js.map → hf_spaces-ZVZ3EDRX.js.map} +0 -0
  182. /package/dist/{langfuse-HUAYVPHF.js.map → langfuse-ACASJZ7O.js.map} +0 -0
  183. /package/dist/{linear-2MM55KBC.js.map → linear-IC37LZV7.js.map} +0 -0
  184. /package/dist/{minio-L3XE6PQS.js.map → minio-HZ576XFQ.js.map} +0 -0
  185. /package/dist/{mongodb-ZOX4FRHJ.js.map → mongodb-JVR62OIO.js.map} +0 -0
  186. /package/dist/{notion-UK4GTMT4.js.map → notion-HKRPQMJS.js.map} +0 -0
  187. /package/dist/{oci-NURLWPL2.js.map → oci-ZLVECXTW.js.map} +0 -0
  188. /package/dist/{postgres-JNFMPAO2.js.map → postgres-P36Z2YN4.js.map} +0 -0
  189. /package/dist/{qingstor-W55D5YFO.js.map → qingstor-YLP6K3L4.js.map} +0 -0
  190. /package/dist/{r2-FSZK7IFI.js.map → r2-RPK25ANI.js.map} +0 -0
  191. /package/dist/{redis-S6GIPA4Z.js.map → redis-V5ULXULL.js.map} +0 -0
  192. /package/dist/{s3-GMPUJ65D.js.map → s3-4OIOCAAT.js.map} +0 -0
  193. /package/dist/{scaleway-5VM55Y6D.js.map → scaleway-CCWCLUHB.js.map} +0 -0
  194. /package/dist/{seaweedfs-J3EPUEPE.js.map → seaweedfs-QSWKF2FN.js.map} +0 -0
  195. /package/dist/{slack-FVBXY7KD.js.map → slack-YPS7PII3.js.map} +0 -0
  196. /package/dist/{ssh-GCXETJ3Z.js.map → ssh-YFP3SMTJ.js.map} +0 -0
  197. /package/dist/{supabase-HLWNHBBE.js.map → supabase-6CFTOKGZ.js.map} +0 -0
  198. /package/dist/{tencent-YDO73XBD.js.map → tencent-IWZZOSQ4.js.map} +0 -0
  199. /package/dist/{trello-CQ53BQUL.js.map → trello-XYKWZD6P.js.map} +0 -0
  200. /package/dist/{wasabi-SOZKPMRQ.js.map → wasabi-6Z4DC5S5.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
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';
1
+ import { Resource, MountMode, CommandSafeguard, WorkspaceOptions, Workspace as Workspace$1, ExecuteOptions, ExecuteResult, ProvisionResult, Accessor, BaseResource, RegisteredOp, RegisteredCommand, PathSpec, FileStat, FindOptions, ObserverStore, 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
3
  export { GoogleConfig as GmailConfig, GoogleConfigRedacted as GmailConfigRedacted, normalizeGoogleConfig as normalizeGmailConfig, redactGoogleConfig as redactGmailConfig } from '@struktoai/mirage-core';
4
4
  import { RedisClientType } from 'redis';
@@ -6,22 +6,38 @@ import { Operator } from 'opendal';
6
6
  import { SFTPWrapper } from 'ssh2';
7
7
  import { ImapFlow } from 'imapflow';
8
8
 
9
- interface NodeWorkspaceOptions extends WorkspaceOptions {
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>;
9
+ interface MountSpecOptions {
10
+ /** Per-mount mode override; falls back to the workspace default when unset. */
11
+ mode?: MountMode;
12
+ /** `true` mounts at a temp dir; a string pins the mountpoint to that path. */
13
+ fuse?: boolean | string;
14
+ commandSafeguards?: Record<string, CommandSafeguard>;
16
15
  }
16
+ declare class Mount {
17
+ readonly resource: Resource;
18
+ readonly options: MountSpecOptions;
19
+ constructor(resource: Resource, options?: MountSpecOptions);
20
+ }
21
+
22
+ type NodeWorkspaceOptions = WorkspaceOptions;
17
23
  declare class Workspace extends Workspace$1 {
18
- private readonly autoFuseManagers;
19
- private readonly fuseMountpointsMap;
20
24
  private fuseSetupPromise;
21
- constructor(resources: Record<string, Resource>, options?: NodeWorkspaceOptions);
22
- /** Map each FUSE-exposed mount prefix to its live mountpoint. */
25
+ private readonly fuseMountpointsMap;
26
+ private readonly fuseManagers;
27
+ constructor(resources: Record<string, Resource | Mount>, options?: NodeWorkspaceOptions);
28
+ private registerFuseMount;
29
+ /**
30
+ * Mount a workspace subtree under FUSE and own its lifecycle. Each mount gets
31
+ * its own {@link FuseManager}, so a workspace can expose any number of FUSE
32
+ * subtrees at once. A pinned mountpoint is collision-checked BEFORE mounting,
33
+ * so a clash never leaves a partial kernel mount.
34
+ */
35
+ addFuseMount(prefix: string, mountpoint?: string): Promise<string>;
36
+ removeFuseMount(prefix: string): Promise<void>;
23
37
  get fuseMountpoints(): Record<string, string>;
24
- private ensureFuseReady;
38
+ get fuseMountpoint(): string | null;
39
+ /** Await the eager per-mount fuse mounts started in the constructor. */
40
+ fuseReady(): Promise<void>;
25
41
  execute(command: string, options?: ExecuteOptions & {
26
42
  provision?: false | undefined;
27
43
  }): Promise<ExecuteResult>;
@@ -46,7 +62,7 @@ interface DiskResourceState {
46
62
  }
47
63
  declare class DiskResource extends BaseResource implements Resource {
48
64
  readonly kind: "disk";
49
- readonly isRemote: boolean;
65
+ readonly cachesReads: boolean;
50
66
  readonly indexTtl: number;
51
67
  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.";
52
68
  readonly root: string;
@@ -85,6 +101,51 @@ declare const DISK_PROMPT = "{prefix}\n Local disk filesystem. Mirrors the conf
85
101
 
86
102
  declare const DISK_OPS: readonly RegisteredOp[];
87
103
 
104
+ /**
105
+ * ObserverStore backed by a directory of JSONL files. Created lazily on
106
+ * first append. Mirrors the Python DiskObserverStore.
107
+ */
108
+ declare class DiskObserverStore implements ObserverStore {
109
+ private readonly root;
110
+ constructor(root: string);
111
+ private abs;
112
+ append(key: string, data: Uint8Array): Promise<void>;
113
+ write(key: string, data: Uint8Array): Promise<void>;
114
+ readAll(): Promise<Map<string, Uint8Array>>;
115
+ readMatching(suffix: string): Promise<Map<string, Uint8Array>>;
116
+ clear(): Promise<void>;
117
+ close(): Promise<void>;
118
+ private walk;
119
+ }
120
+
121
+ interface RedisObserverStoreOptions {
122
+ url?: string;
123
+ keyPrefix?: string;
124
+ }
125
+ /**
126
+ * ObserverStore backed by Redis strings (one key per JSONL file).
127
+ *
128
+ * Appends use the atomic Redis APPEND command; an index set tracks which
129
+ * file keys exist so readAll needs no SCAN. Mirrors the Python
130
+ * RedisObserverStore.
131
+ */
132
+ declare class RedisObserverStore implements ObserverStore {
133
+ readonly url: string;
134
+ private readonly prefix;
135
+ private readonly indexKey;
136
+ private clientPromise;
137
+ constructor(options?: RedisObserverStoreOptions);
138
+ private client;
139
+ append(key: string, data: Uint8Array): Promise<void>;
140
+ write(key: string, data: Uint8Array): Promise<void>;
141
+ readAll(): Promise<Map<string, Uint8Array>>;
142
+ readMatching(suffix: string): Promise<Map<string, Uint8Array>>;
143
+ private indexedPaths;
144
+ private readPaths;
145
+ clear(): Promise<void>;
146
+ close(): Promise<void>;
147
+ }
148
+
88
149
  /**
89
150
  * Monkey-patch Node's `fs` module so that paths under any mirage mount
90
151
  * route through the workspace. Paths NOT under a mount fall through to
@@ -157,7 +218,7 @@ interface RedisResourceState {
157
218
  }
158
219
  declare class RedisResource extends BaseResource implements Resource {
159
220
  readonly kind: string;
160
- readonly isRemote: boolean;
221
+ readonly cachesReads: boolean;
161
222
  readonly indexTtl: number;
162
223
  readonly prompt: string;
163
224
  readonly url: string;
@@ -238,9 +299,12 @@ declare class RedisFileCacheStore extends RedisResource implements FileCache {
238
299
 
239
300
  interface FuseHandle {
240
301
  mountpoint: string;
302
+ /** Whether Mirage created this mountpoint directory and may remove it later. */
303
+ ownsMountpoint: boolean;
241
304
  unmount: () => Promise<void>;
242
305
  }
243
306
  interface MountOptions {
307
+ /** Caller/deployment-owned mountpoint. Mirage mounts here but does not delete it. */
244
308
  mountpoint?: string;
245
309
  agentId?: string;
246
310
  /** Scope the mount to a single workspace mount prefix (subtree exposure). */
@@ -261,14 +325,11 @@ declare function mountBackground(ws: Workspace$1, options?: MountOptions): Promi
261
325
 
262
326
  declare class FuseManager {
263
327
  private handle;
264
- private externalMountpoint;
265
- private auto;
266
328
  private cleanupEntry;
267
329
  get mountpoint(): string | null;
268
- set mountpoint(path: string | null);
269
330
  setup(ws: Workspace$1, options?: MountOptions): Promise<string>;
270
- unmount(ws?: Workspace$1): Promise<void>;
271
- close(ws?: Workspace$1): Promise<void>;
331
+ unmount(): Promise<void>;
332
+ close(): Promise<void>;
272
333
  }
273
334
 
274
335
  interface FuseAttr {
@@ -292,6 +353,7 @@ declare class MirageFS {
292
353
  private readonly root;
293
354
  private readonly prefixes;
294
355
  private readonly handles;
356
+ private readonly xattrs;
295
357
  private readonly prefetchCache;
296
358
  private readonly prefetchInflight;
297
359
  private nextFh;
@@ -334,6 +396,10 @@ declare class MirageFS {
334
396
  private chown;
335
397
  private utimens;
336
398
  private access;
399
+ private setxattr;
400
+ private getxattr;
401
+ private listxattr;
402
+ private removexattr;
337
403
  private getattrValidate;
338
404
  private open;
339
405
  private release;
@@ -357,7 +423,7 @@ interface S3ResourceState {
357
423
  }
358
424
  declare class S3Resource extends BaseResource implements Resource {
359
425
  readonly kind: string;
360
- readonly isRemote: boolean;
426
+ readonly cachesReads: boolean;
361
427
  readonly supportsSnapshot: boolean;
362
428
  readonly indexTtl: number;
363
429
  readonly prompt: string;
@@ -397,7 +463,7 @@ interface DatabricksVolumeResourceState {
397
463
  }
398
464
  declare class DatabricksVolumeResource extends BaseResource implements Resource {
399
465
  readonly kind: string;
400
- readonly isRemote: boolean;
466
+ readonly cachesReads: boolean;
401
467
  readonly indexTtl: number;
402
468
  readonly prompt: string;
403
469
  readonly config: DatabricksVolumeConfig;
@@ -671,7 +737,7 @@ declare abstract class HfResource extends BaseResource implements Resource {
671
737
  abstract readonly kind: string;
672
738
  abstract readonly prompt: string;
673
739
  abstract readonly accessor: HfAccessor;
674
- readonly isRemote: boolean;
740
+ readonly cachesReads: boolean;
675
741
  readonly supportsSnapshot: boolean;
676
742
  readonly opsMap: Record<string, unknown>;
677
743
  open(): Promise<void>;
@@ -1169,7 +1235,7 @@ interface PostgresResourceOptions {
1169
1235
  }
1170
1236
  declare class PostgresResource extends BaseResource implements Resource {
1171
1237
  readonly kind: string;
1172
- readonly isRemote: boolean;
1238
+ readonly cachesReads: boolean;
1173
1239
  readonly indexTtl: number;
1174
1240
  readonly prompt: string;
1175
1241
  readonly config: PostgresConfigResolved;
@@ -1260,7 +1326,7 @@ interface MongoDBResourceOptions {
1260
1326
  }
1261
1327
  declare class MongoDBResource extends BaseResource implements Resource {
1262
1328
  readonly kind: string;
1263
- readonly isRemote: boolean;
1329
+ readonly cachesReads: boolean;
1264
1330
  readonly indexTtl: number;
1265
1331
  readonly prompt: string;
1266
1332
  readonly config: MongoDBConfigResolved;
@@ -1297,7 +1363,7 @@ interface LanceDBResourceOptions {
1297
1363
  }
1298
1364
  declare class LanceDBResource extends BaseResource implements Resource {
1299
1365
  readonly kind: string;
1300
- readonly isRemote: boolean;
1366
+ readonly cachesReads: boolean;
1301
1367
  readonly indexTtl: number;
1302
1368
  readonly prompt: string;
1303
1369
  readonly config: LanceDBConfigResolved;
@@ -1330,7 +1396,7 @@ interface SlackResourceState {
1330
1396
  }
1331
1397
  declare class SlackResource extends BaseResource implements Resource {
1332
1398
  readonly kind: string;
1333
- readonly isRemote: boolean;
1399
+ readonly cachesReads: boolean;
1334
1400
  readonly indexTtl: number;
1335
1401
  readonly prompt: string;
1336
1402
  readonly writePrompt: string;
@@ -1394,7 +1460,7 @@ interface SSHResourceState {
1394
1460
  }
1395
1461
  declare class SSHResource extends BaseResource implements Resource {
1396
1462
  readonly kind: "ssh";
1397
- readonly isRemote: boolean;
1463
+ readonly cachesReads: boolean;
1398
1464
  readonly indexTtl: number;
1399
1465
  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.";
1400
1466
  readonly config: SSHConfig;
@@ -1450,7 +1516,7 @@ interface DiscordResourceState {
1450
1516
  }
1451
1517
  declare class DiscordResource extends BaseResource implements Resource {
1452
1518
  readonly kind: string;
1453
- readonly isRemote: boolean;
1519
+ readonly cachesReads: boolean;
1454
1520
  readonly indexTtl: number;
1455
1521
  readonly prompt: string;
1456
1522
  readonly writePrompt: string;
@@ -1493,7 +1559,7 @@ interface TrelloResourceState {
1493
1559
  }
1494
1560
  declare class TrelloResource extends BaseResource implements Resource {
1495
1561
  readonly kind: string;
1496
- readonly isRemote: boolean;
1562
+ readonly cachesReads: boolean;
1497
1563
  readonly indexTtl: number;
1498
1564
  readonly prompt: string;
1499
1565
  readonly writePrompt: string;
@@ -1535,7 +1601,7 @@ interface LinearResourceState {
1535
1601
  }
1536
1602
  declare class LinearResource extends BaseResource implements Resource {
1537
1603
  readonly kind: string;
1538
- readonly isRemote: boolean;
1604
+ readonly cachesReads: boolean;
1539
1605
  readonly indexTtl: number;
1540
1606
  readonly prompt: string;
1541
1607
  readonly writePrompt: string;
@@ -1573,7 +1639,7 @@ interface NotionResourceState {
1573
1639
  }
1574
1640
  declare class NotionResource extends BaseResource implements Resource {
1575
1641
  readonly kind: string;
1576
- readonly isRemote: boolean;
1642
+ readonly cachesReads: boolean;
1577
1643
  readonly indexTtl: number;
1578
1644
  readonly prompt: string;
1579
1645
  readonly writePrompt: string;
@@ -1618,7 +1684,7 @@ interface LangfuseResourceState {
1618
1684
  }
1619
1685
  declare class LangfuseResource extends BaseResource implements Resource {
1620
1686
  readonly kind: string;
1621
- readonly isRemote: boolean;
1687
+ readonly cachesReads: boolean;
1622
1688
  readonly indexTtl: number;
1623
1689
  readonly prompt: string;
1624
1690
  readonly config: LangfuseConfig;
@@ -1662,7 +1728,7 @@ interface GitHubResourceState {
1662
1728
  }
1663
1729
  declare class GitHubResource extends BaseResource implements Resource {
1664
1730
  readonly kind: string;
1665
- readonly isRemote: boolean;
1731
+ readonly cachesReads: boolean;
1666
1732
  readonly indexTtl: number;
1667
1733
  readonly config: GitHubConfig;
1668
1734
  readonly accessor: GitHubAccessor;
@@ -1706,7 +1772,7 @@ interface GitHubCIResourceState {
1706
1772
  }
1707
1773
  declare class GitHubCIResource extends BaseResource implements Resource {
1708
1774
  readonly kind: string;
1709
- readonly isRemote: boolean;
1775
+ readonly cachesReads: boolean;
1710
1776
  readonly indexTtl: number;
1711
1777
  readonly prompt: string;
1712
1778
  readonly config: GitHubCIConfig;
@@ -1748,7 +1814,7 @@ interface GDocsResourceState {
1748
1814
  }
1749
1815
  declare class GDocsResource extends BaseResource implements Resource {
1750
1816
  readonly kind: string;
1751
- readonly isRemote: boolean;
1817
+ readonly cachesReads: boolean;
1752
1818
  readonly indexTtl: number;
1753
1819
  readonly prompt: string;
1754
1820
  readonly writePrompt: string;
@@ -1791,7 +1857,7 @@ interface GSheetsResourceState {
1791
1857
  }
1792
1858
  declare class GSheetsResource extends BaseResource implements Resource {
1793
1859
  readonly kind: string;
1794
- readonly isRemote: boolean;
1860
+ readonly cachesReads: boolean;
1795
1861
  readonly indexTtl: number;
1796
1862
  readonly prompt: string;
1797
1863
  readonly writePrompt: string;
@@ -1834,7 +1900,7 @@ interface GSlidesResourceState {
1834
1900
  }
1835
1901
  declare class GSlidesResource extends BaseResource implements Resource {
1836
1902
  readonly kind: string;
1837
- readonly isRemote: boolean;
1903
+ readonly cachesReads: boolean;
1838
1904
  readonly indexTtl: number;
1839
1905
  readonly prompt: string;
1840
1906
  readonly writePrompt: string;
@@ -1877,7 +1943,7 @@ interface GDriveResourceState {
1877
1943
  }
1878
1944
  declare class GDriveResource extends BaseResource implements Resource {
1879
1945
  readonly kind: string;
1880
- readonly isRemote: boolean;
1946
+ readonly cachesReads: boolean;
1881
1947
  readonly indexTtl: number;
1882
1948
  readonly prompt: string;
1883
1949
  readonly config: GDriveConfig;
@@ -1919,7 +1985,7 @@ interface DropboxResourceState {
1919
1985
  }
1920
1986
  declare class DropboxResource extends BaseResource implements Resource {
1921
1987
  readonly kind: string;
1922
- readonly isRemote: boolean;
1988
+ readonly cachesReads: boolean;
1923
1989
  readonly indexTtl: number;
1924
1990
  readonly prompt: string;
1925
1991
  readonly config: DropboxConfig;
@@ -1967,7 +2033,7 @@ interface BoxResourceState {
1967
2033
  }
1968
2034
  declare class BoxResource extends BaseResource implements Resource {
1969
2035
  readonly kind: string;
1970
- readonly isRemote: boolean;
2036
+ readonly cachesReads: boolean;
1971
2037
  readonly indexTtl: number;
1972
2038
  readonly prompt: string;
1973
2039
  readonly config: BoxConfig;
@@ -1992,7 +2058,7 @@ interface GmailResourceState {
1992
2058
  }
1993
2059
  declare class GmailResource extends BaseResource implements Resource {
1994
2060
  readonly kind: string;
1995
- readonly isRemote: boolean;
2061
+ readonly cachesReads: boolean;
1996
2062
  readonly indexTtl: number;
1997
2063
  readonly prompt: string;
1998
2064
  readonly writePrompt: string;
@@ -2053,7 +2119,7 @@ interface EmailResourceState {
2053
2119
  }
2054
2120
  declare class EmailResource extends BaseResource implements Resource {
2055
2121
  readonly kind: string;
2056
- readonly isRemote: boolean;
2122
+ readonly cachesReads: boolean;
2057
2123
  readonly indexTtl: number;
2058
2124
  readonly prompt: string;
2059
2125
  readonly config: EmailConfig;
@@ -2113,4 +2179,4 @@ declare const DISK_COMMANDS: readonly RegisteredCommand[];
2113
2179
 
2114
2180
  declare const REDIS_COMMANDS: readonly RegisteredCommand[];
2115
2181
 
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 };
2182
+ 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, DiskObserverStore, 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, Mount, type MountSpecOptions, type NodeWorkspaceOptions, 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, RedisObserverStore, type RedisObserverStoreOptions, 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 };