@dbx-tools/ui-mastra 0.5.0 → 0.6.0

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/package.json CHANGED
@@ -25,18 +25,18 @@
25
25
  "shiki": "^3.0.0",
26
26
  "sql-formatter": "^15.6.9",
27
27
  "streamdown": "^2.5.0",
28
- "@dbx-tools/shared-genie": "0.5.0",
29
- "@dbx-tools/shared-core": "0.5.0",
30
- "@dbx-tools/shared-mastra": "0.5.0",
31
- "@dbx-tools/shared-model": "0.5.0",
32
- "@dbx-tools/ui-appkit": "0.5.0",
33
- "@dbx-tools/ui-branding": "0.5.0"
28
+ "@dbx-tools/shared-core": "0.6.0",
29
+ "@dbx-tools/shared-mastra": "0.6.0",
30
+ "@dbx-tools/ui-branding": "0.6.0",
31
+ "@dbx-tools/ui-appkit": "0.6.0",
32
+ "@dbx-tools/shared-genie": "0.6.0",
33
+ "@dbx-tools/shared-model": "0.6.0"
34
34
  },
35
35
  "license": "UNLICENSED",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "version": "0.5.0",
39
+ "version": "0.6.0",
40
40
  "type": "module",
41
41
  "exports": {
42
42
  "./react": "./src/react/index.ts",
@@ -56,6 +56,14 @@ export class MastraPluginClient extends MastraClient {
56
56
  * feedback affordances.
57
57
  */
58
58
  readonly feedbackEnabled: boolean;
59
+ /**
60
+ * Whether the agents run their Databricks calls as the app service principal
61
+ * rather than on-behalf-of the signed-in user. When `true` the chat works for
62
+ * any caller who can open the app, so a UI that hides chat when the OBO token
63
+ * is absent should show it regardless. `false` (the default `"user"` identity
64
+ * mode) keeps the OBO-gated behavior.
65
+ */
66
+ readonly chatAlwaysAvailable: boolean;
59
67
 
60
68
  constructor(config: MastraClientConfig) {
61
69
  super({
@@ -68,6 +76,7 @@ export class MastraPluginClient extends MastraClient {
68
76
  this.defaultAgent = config.defaultAgent;
69
77
  this.agents = config.agents;
70
78
  this.feedbackEnabled = config.feedbackEnabled;
79
+ this.chatAlwaysAvailable = config.chatAlwaysAvailable;
71
80
  }
72
81
 
73
82
  /**