@dbx-tools/appkit-mastra-shared 0.1.12 → 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 +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/src/genie.d.ts +635 -0
- package/dist/src/genie.js +349 -0
- package/dist/src/mastra.d.ts +31 -0
- package/dist/src/mastra.js +44 -0
- package/dist/src/protocol.d.ts +148 -105
- package/dist/src/protocol.js +132 -36
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/index.ts +2 -0
- package/package.json +13 -3
- package/src/genie.ts +407 -0
- package/src/mastra.ts +53 -0
- package/src/protocol.ts +137 -125
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 `
|
|
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 `
|
|
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