@dbx-tools/appkit-mastra 0.9.93 → 0.9.99

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.
@@ -2,7 +2,7 @@
2
2
  * Where Databricks Assistant `SKILL.md` trees live.
3
3
  *
4
4
  * Two modules need these paths and must agree on them: `workspaces.ts` MOUNTS
5
- * them per request (see `DEFAULT_SKILL_FOLDERS`), and `remote-skills.ts`
5
+ * them per request (see `DEFAULT_DATABRICKS_WORKSPACE_PATHS`), and `remote-skills.ts`
6
6
  * WRITES provisioned skills into them at startup. They live here rather than being
7
7
  * spelled out in both, where a change to one would silently provision skills into a
8
8
  * tree the other never scanned.
@@ -10,10 +10,18 @@
10
10
  * @module
11
11
  */
12
12
 
13
- /** Shared Assistant skills tree, readable by everyone in the workspace. */
14
- export const ASSISTANT_SHARED_SKILLS_PATH = "/Workspace/.assistant/skills";
13
+ /** Organization Assistant root, mounted at its actual workspace path. */
14
+ export const ORGANIZATION_ASSISTANT_PATH = "/Workspace/.assistant";
15
15
 
16
- /** Assistant skills tree owned by one user (the "save this as a skill" target). */
17
- export function userAssistantSkillsPath(userEmail: string): string {
18
- return `/Users/${userEmail.trim()}/.assistant/skills`;
16
+ /** Organization skills tree, readable by everyone in the workspace. */
17
+ export const ORGANIZATION_SKILLS_PATH = `${ORGANIZATION_ASSISTANT_PATH}/skills`;
18
+
19
+ /** Workspace home root for one user. */
20
+ export function personalWorkspacePath(userEmail: string): string {
21
+ return `/Workspace/Users/${userEmail.trim()}`;
22
+ }
23
+
24
+ /** Personal skills tree owned by one user. */
25
+ export function personalSkillsPath(userEmail: string): string {
26
+ return `${personalWorkspacePath(userEmail)}/.assistant/skills`;
19
27
  }