@dbx-tools/appkit-mastra 0.1.99 → 0.1.101
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/dist/index.js +4 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -983,9 +983,9 @@ function resolveAssistantSkillsMounts(context) {
|
|
|
983
983
|
skillPaths: []
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
|
-
mounts[ASSISTANT_WORKSPACE_SKILLS_MOUNT] =
|
|
986
|
+
mounts[ASSISTANT_WORKSPACE_SKILLS_MOUNT] = databricksFilesystem(client, ASSISTANT_SHARED_SKILLS_PATH);
|
|
987
987
|
const email = resolveScopedEmail(requestContext);
|
|
988
|
-
if (email) mounts[ASSISTANT_USER_SKILLS_MOUNT] =
|
|
988
|
+
if (email) mounts[ASSISTANT_USER_SKILLS_MOUNT] = databricksFilesystem(client, userAssistantSkillsPath(email), false);
|
|
989
989
|
log$8.debug("assistant-skills:mounted", {
|
|
990
990
|
sharedPath: ASSISTANT_SHARED_SKILLS_PATH,
|
|
991
991
|
sharedMount: ASSISTANT_WORKSPACE_SKILLS_MOUNT,
|
|
@@ -1042,11 +1042,11 @@ function resolveScopedEmail(requestContext) {
|
|
|
1042
1042
|
return (requestContext?.get(MASTRA_USER_EMAIL_KEY))?.trim() || void 0;
|
|
1043
1043
|
}
|
|
1044
1044
|
/** Construct a read-only {@link DatabricksWorkspaceFilesystem} for `basePath`. */
|
|
1045
|
-
function
|
|
1045
|
+
function databricksFilesystem(client, basePath, readOnly = true) {
|
|
1046
1046
|
return new DatabricksWorkspaceFilesystem({
|
|
1047
1047
|
client,
|
|
1048
1048
|
basePath,
|
|
1049
|
-
readOnly
|
|
1049
|
+
readOnly
|
|
1050
1050
|
});
|
|
1051
1051
|
}
|
|
1052
1052
|
/**
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbx-tools/appkit-mastra",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.101",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@databricks/sdk-experimental": "^0.17.0",
|
|
6
|
-
"@dbx-tools/appkit-mastra-shared": "0.1.
|
|
7
|
-
"@dbx-tools/genie": "0.1.
|
|
8
|
-
"@dbx-tools/genie-shared": "0.1.
|
|
9
|
-
"@dbx-tools/model": "0.1.
|
|
10
|
-
"@dbx-tools/shared": "0.1.
|
|
6
|
+
"@dbx-tools/appkit-mastra-shared": "0.1.101",
|
|
7
|
+
"@dbx-tools/genie": "0.1.101",
|
|
8
|
+
"@dbx-tools/genie-shared": "0.1.101",
|
|
9
|
+
"@dbx-tools/model": "0.1.101",
|
|
10
|
+
"@dbx-tools/shared": "0.1.101",
|
|
11
11
|
"@mastra/ai-sdk": "^1.6.0",
|
|
12
12
|
"@mastra/core": "^1.47.0",
|
|
13
13
|
"@mastra/express": "^1.4.2",
|