@dbx-tools/appkit-mastra-shared 0.1.13 → 0.1.18

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/README.md CHANGED
@@ -45,7 +45,7 @@ interface MastraClientConfig {
45
45
  Charts don't show up here. The chart-render pipeline lives
46
46
  entirely on the agent-stream side: the `render_data` tool and
47
47
  Genie's `drainGenieStream` both run the chart-planner
48
- server-side and emit `kind: "chart"` writer events with the
48
+ server-side and emit `type: "chart"` writer events with the
49
49
  resolved `EChartsOption`, so the client doesn't need a fetch
50
50
  URL for chart specs.
51
51
 
@@ -135,7 +135,7 @@ interface ServingEndpointsResponse {
135
135
  ### Inline charts (no wire types here)
136
136
 
137
137
  Chart rendering does not have HTTP wire types. The producer
138
- tools (`render_data`, Genie) both emit `kind: "chart"` events
138
+ tools (`render_data`, Genie) both emit `type: "chart"` events
139
139
  on Mastra's writer channel - first an event with the dataset
140
140
  (`{chartId, title, description?, data}`), then a follow-up
141
141
  event with the resolved `EChartsOption`
package/dist/index.d.ts CHANGED
@@ -9,4 +9,6 @@
9
9
  * them back via `usePluginClientConfig<MastraClientConfig>("mastra")`
10
10
  * and composes URLs with {@link chatUrl}.
11
11
  */
12
+ export * from "./src/genie.js";
13
+ export * from "./src/mastra.js";
12
14
  export * from "./src/protocol.js";
package/dist/index.js CHANGED
@@ -9,4 +9,6 @@
9
9
  * them back via `usePluginClientConfig<MastraClientConfig>("mastra")`
10
10
  * and composes URLs with {@link chatUrl}.
11
11
  */
12
+ export * from "./src/genie.js";
13
+ export * from "./src/mastra.js";
12
14
  export * from "./src/protocol.js";