@dbx-tools/appkit-mastra 0.9.177 → 0.9.181
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 +5 -5
- package/index.ts +4 -4
- package/lib/index.d.ts +4 -4
- package/lib/index.js +5 -5
- package/lib/src/chat.d.ts +13 -0
- package/lib/src/chat.js +68 -6
- package/lib/src/config.d.ts +4 -3
- package/lib/src/config.js +2 -2
- package/lib/src/feedback-mode.d.ts +3 -3
- package/lib/src/feedback-mode.js +9 -10
- package/lib/src/follow-up-suggestions.d.ts +1 -1
- package/lib/src/follow-up-suggestions.js +18 -53
- package/lib/src/memory.d.ts +4 -1
- package/lib/src/memory.js +1 -14
- package/lib/src/mlflow.d.ts +1 -1
- package/lib/src/mlflow.js +18 -9
- package/lib/src/model.d.ts +5 -0
- package/lib/src/model.js +9 -5
- package/lib/src/plugin.d.ts +7 -5
- package/lib/src/plugin.js +23 -21
- package/lib/src/server.d.ts +3 -1
- package/lib/src/server.js +3 -3
- package/lib/src/summarize.d.ts +4 -0
- package/lib/src/summarize.js +38 -1
- package/package.json +18 -18
- package/src/chat.ts +81 -2
- package/src/config.ts +5 -4
- package/src/feedback-mode.ts +13 -9
- package/src/follow-up-suggestions.ts +22 -51
- package/src/memory.ts +1 -14
- package/src/mlflow.ts +17 -8
- package/src/model.ts +20 -3
- package/src/plugin.ts +34 -21
- package/src/server.ts +2 -1
- package/src/summarize.ts +40 -0
package/lib/src/plugin.d.ts
CHANGED
|
@@ -108,8 +108,8 @@ export declare class MastraPlugin extends Plugin<MastraPluginConfig> {
|
|
|
108
108
|
* {@link buildAgentAndServer} and registered on the Mastra instance.
|
|
109
109
|
*/
|
|
110
110
|
private mcp;
|
|
111
|
-
/** Resolved feedback
|
|
112
|
-
private
|
|
111
|
+
/** Resolved feedback destinations published to server and browser clients. */
|
|
112
|
+
private resolvedFeedbackModes;
|
|
113
113
|
/**
|
|
114
114
|
* Resolved AppKit identity mode: the identity the chat path's Databricks
|
|
115
115
|
* calls run as. Read once at setup so an invalid `genieIdentity` fails the app
|
|
@@ -241,8 +241,10 @@ export declare class MastraPlugin extends Plugin<MastraPluginConfig> {
|
|
|
241
241
|
*/
|
|
242
242
|
private get basePath();
|
|
243
243
|
clientConfig(): Record<string, unknown>;
|
|
244
|
-
/** Resolve the
|
|
245
|
-
private
|
|
244
|
+
/** Resolve the feedback destinations exposed for per-message routing. */
|
|
245
|
+
private feedbackModes;
|
|
246
|
+
/** Whether one feedback destination is enabled. */
|
|
247
|
+
private feedbackEnabled;
|
|
246
248
|
injectRoutes(router: IAppRouter): void;
|
|
247
249
|
/** Register URL aliases for Mastra's MCP transports. */
|
|
248
250
|
private registerMcpRoutes;
|
|
@@ -270,7 +272,7 @@ export declare class MastraPlugin extends Plugin<MastraPluginConfig> {
|
|
|
270
272
|
private genieConversationRead;
|
|
271
273
|
/** Run one Genie conversation write under the active request identity. */
|
|
272
274
|
private genieConversationWrite;
|
|
273
|
-
/** Register
|
|
275
|
+
/** Register every feedback destination enabled by plugin mode. */
|
|
274
276
|
private registerFeedbackRoutes;
|
|
275
277
|
/** Register the best-effort per-viewer MLflow experiment debug link. */
|
|
276
278
|
private registerMlflowExperimentRoute;
|