@dbx-tools/ui-mastra 0.9.32 → 0.9.37

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/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // Hand edits are overwritten on the next watch; this file is read-only.
4
4
 
5
5
  export const PACKAGE_IDENTIFIER = "@dbx-tools/ui-mastra";
6
- export const PACKAGE_VERSION = "0.9.32";
6
+ export const PACKAGE_VERSION = "0.9.37";
7
7
  export * as reactBubbles from "./src/react/bubbles.tsx";
8
8
  export * as reactChatApprovals from "./src/react/chat-approvals.ts";
9
9
  export * as reactChatComposer from "./src/react/chat-composer.tsx";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbx-tools/ui-mastra",
3
- "description": "React chat UI for the AppKit Mastra plugin",
3
+ "description": "React chat UI for the AppKit-Mastra plugin",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/reggie-db/dbx-tools.git",
@@ -18,8 +18,6 @@
18
18
  "projen": "projen"
19
19
  },
20
20
  "devDependencies": {
21
- "@types/bun": "1.3.14",
22
- "@types/node": "^24.6.0",
23
21
  "@types/react": "^19.2.2",
24
22
  "@types/react-dom": "^19.2.2",
25
23
  "react": "~19.2.4",
@@ -31,12 +29,12 @@
31
29
  "react-dom": "~19.2.4"
32
30
  },
33
31
  "dependencies": {
34
- "@dbx-tools/shared-core": "^0.9.32",
35
- "@dbx-tools/shared-genie": "^0.9.32",
36
- "@dbx-tools/shared-mastra": "^0.9.32",
37
- "@dbx-tools/shared-model": "^0.9.32",
38
- "@dbx-tools/ui-appkit": "^0.9.32",
39
- "@dbx-tools/ui-branding": "^0.9.32",
32
+ "@dbx-tools/shared-core": "^0.9.37",
33
+ "@dbx-tools/shared-genie": "^0.9.37",
34
+ "@dbx-tools/shared-mastra": "^0.9.37",
35
+ "@dbx-tools/shared-model": "^0.9.37",
36
+ "@dbx-tools/ui-appkit": "^0.9.37",
37
+ "@dbx-tools/ui-branding": "^0.9.37",
40
38
  "@mastra/client-js": "1.50.0",
41
39
  "@mastra/core": "1.71.0",
42
40
  "@tanstack/react-table": "^8.21.3",
@@ -53,7 +51,12 @@
53
51
  "publishConfig": {
54
52
  "access": "public"
55
53
  },
56
- "version": "0.9.32",
54
+ "version": "0.9.37",
55
+ "dbxToolsConfig": {
56
+ "tags": [
57
+ "ui"
58
+ ]
59
+ },
57
60
  "type": "module",
58
61
  "exports": {
59
62
  "./react": "./src/react/index.ts",
@@ -64,10 +67,5 @@
64
67
  "index.ts",
65
68
  "src"
66
69
  ],
67
- "dbxToolsConfig": {
68
- "tags": [
69
- "ui"
70
- ]
71
- },
72
70
  "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"bunx projen\"."
73
71
  }
@@ -1,5 +1,5 @@
1
1
  import type { GenieWriterEvent } from "@dbx-tools/shared-mastra";
2
- import type { ReasoningEffort } from "@dbx-tools/shared-model";
2
+ import type { ReasoningEffort, ServingEndpointSummary } from "@dbx-tools/shared-model";
3
3
  import type { UIMessage } from "ai";
4
4
  import type { ReactNode } from "react";
5
5
  import type { ExportFormat } from "../support/export.ts";
@@ -45,12 +45,10 @@ export type ToolProgress = GenieWriterEvent;
45
45
  * `/models` endpoint derives (Databricks-provided name, else a title-cased
46
46
  * rendering of `name`). The picker shows `displayName ?? name`.
47
47
  */
48
- export type ChatModelOption = {
49
- readonly name: string;
50
- readonly displayName?: string;
51
- readonly family?: string;
52
- readonly reasoningEfforts?: readonly ReasoningEffort[];
53
- };
48
+ export type ChatModelOption = Pick<
49
+ ServingEndpointSummary,
50
+ "name" | "displayName" | "family" | "reasoningEfforts"
51
+ >;
54
52
 
55
53
  /**
56
54
  * A steer message submitted while a turn was already streaming. It waits in a