workspaces
Mastra workspace factory for Databricks Apps.
Builds a per-request Workspace whose filesystem is a
CompositeFilesystem over the NAMED skill folders resolved for that
request. A skill folder maps a name to a location plus its readable /
writable policy: a Databricks path mounted through the OBO client on
MASTRA_USER_KEY, or any WorkspaceFilesystem a consuming
library already owns. DEFAULT_SKILL_FOLDERS supplies the Assistant
trees, and skillFolders merges over it - same name overrides, false
disables, a new name adds. Optional mount resolvers contribute further
filesystems and skill scan roots on top.
Databricks mounts use @dbx-tools/databricks DatabricksFileSystem
wrapped by filesystems; missing roots fall back to
scratchFilesystem.