@dbx-tools/ui-mastra 0.6.8 → 0.6.10

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
@@ -28,7 +28,7 @@ export * as supportThreadSessions from "./src/support/thread-sessions.ts";
28
28
  export * as supportThreadTabs from "./src/support/thread-tabs.ts";
29
29
  export { AssistantBubble, UserBubble } from "./src/react/bubbles.tsx";
30
30
  export { ChatView } from "./src/react/chat-view.tsx";
31
- export { colorizeDelta, renderDataCell, humanizeLabel, TABLE_WRAPPER_CLASSES, DataGrid } from "./src/react/data-grid.tsx";
31
+ export { TABLE_WRAPPER_CLASSES, DataGrid } from "./src/react/data-grid.tsx";
32
32
  export type { DataRow } from "./src/react/data-grid.tsx";
33
33
  export { MarkdownWithEmbeds } from "./src/react/embed-slots.tsx";
34
34
  export { ExportMenu } from "./src/react/export-menu.tsx";
@@ -45,17 +45,10 @@ export { ThreadTabs } from "./src/react/thread-tabs.tsx";
45
45
  export type { ThreadTabsProps } from "./src/react/thread-tabs.tsx";
46
46
  export { humanizeToolName, ToolSessionPill } from "./src/react/tool-pill.tsx";
47
47
  export type { ChatStatus, ToolEvent, ToolProgress, ChatModelOption, QueuedSteer, FeedbackValue, FeedbackSubmission, MessageFeedback, ThreadSummary, ThreadPlacement, ChatViewProps, ApprovalDecision, PendingApproval } from "./src/react/types.ts";
48
- export { normalizeChartOption } from "./src/support/chart-option.ts";
49
- export { copyText } from "./src/support/clipboard.ts";
50
- export { downloadFile } from "./src/support/download.ts";
51
- export { exportChat } from "./src/support/export.ts";
52
48
  export type { ExportFormat, ExportBrand, EmbedResolver, ExportChatOptions } from "./src/support/export.ts";
53
49
  export { MastraPluginClient, useMastraConfig, useMastraClient, useMastraModels, useMastraDefaultModel, useMastraSuggestions, useMastraThreads, useChartFetch, useStatementFetch } from "./src/support/mastra-client.ts";
54
50
  export type { ByIdFetchState } from "./src/support/mastra-client.ts";
55
- export { processMastraStream, asMastraStreamResponse } from "./src/support/mastra-stream.ts";
56
51
  export type { MastraStreamChunk, MastraStreamResponse } from "./src/support/mastra-stream.ts";
57
- export { highlightToHtml, createShikiPlugin } from "./src/support/shiki-plugin.ts";
58
- export { threadTitle, relativeTime } from "./src/support/thread-labels.ts";
59
- export { DEFAULT_THREAD_SESSION_KEY, createThreadSession, isSessionRunning, enqueueSteer, removeSteer, reorderSteers, terminateRunningToolEvents, sessionKey } from "./src/support/thread-sessions.ts";
52
+ export { DEFAULT_THREAD_SESSION_KEY } from "./src/support/thread-sessions.ts";
60
53
  export type { ThreadSession } from "./src/support/thread-sessions.ts";
61
- export { THREAD_TAB_SEED_MAX, syncThreadTabs, closeThreadTab, nextActiveThreadTab } from "./src/support/thread-tabs.ts";
54
+ export { THREAD_TAB_SEED_MAX } from "./src/support/thread-tabs.ts";
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.6.8",
29
- "@dbx-tools/shared-mastra": "0.6.8",
30
- "@dbx-tools/ui-appkit": "0.6.8",
31
- "@dbx-tools/shared-model": "0.6.8",
32
- "@dbx-tools/ui-branding": "0.6.8",
33
- "@dbx-tools/shared-core": "0.6.8"
28
+ "@dbx-tools/shared-core": "0.6.10",
29
+ "@dbx-tools/shared-model": "0.6.10",
30
+ "@dbx-tools/shared-mastra": "0.6.10",
31
+ "@dbx-tools/shared-genie": "0.6.10",
32
+ "@dbx-tools/ui-branding": "0.6.10",
33
+ "@dbx-tools/ui-appkit": "0.6.10"
34
34
  },
35
35
  "license": "UNLICENSED",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "version": "0.6.8",
39
+ "version": "0.6.10",
40
40
  "type": "module",
41
41
  "exports": {
42
42
  "./react": "./src/react/index.ts",
@@ -6,9 +6,12 @@
6
6
  // own message state and transport themselves.
7
7
  // - The Mastra plugin client + hooks (model catalogue, history paging,
8
8
  // suggestions, embed fetches) the controlled path needs.
9
+ // - `dedupeSuggestions`: the dedupe + cap `MastraChat` applies to
10
+ // Genie-sourced starter questions, so another surface offering the same
11
+ // prompts (e.g. a Teams card chat) presents an identical list.
9
12
  //
10
13
  // Internal building blocks (bubbles, tool pills, markdown, data grid,
11
- // embed slots, suggestions) are intentionally not re-exported.
14
+ // embed slots) are intentionally not re-exported.
12
15
 
13
16
  export {
14
17
  MastraPluginClient,
@@ -24,6 +27,7 @@ export {
24
27
  export type { ByIdFetchState } from "../support/mastra-client.ts";
25
28
  export { ChatView } from "./chat-view.tsx";
26
29
  export { ExportMenu } from "./export-menu.tsx";
30
+ export { dedupeSuggestions } from "./suggestions.ts";
27
31
  export { MastraChat, useMastraChat } from "./mastra-chat.tsx";
28
32
  export type { MastraChatProps, UseMastraChatOptions } from "./mastra-chat.tsx";
29
33
  export { ThreadSidebar } from "./thread-sidebar.tsx";