@dbx-tools/appkit-mastra 0.3.40 → 0.3.42
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 +26 -0
- package/package.json +9 -9
package/index.ts
CHANGED
|
@@ -28,22 +28,48 @@ export * as threads from "./src/threads";
|
|
|
28
28
|
export * as validation from "./src/validation";
|
|
29
29
|
export * as workspaces from "./src/workspaces";
|
|
30
30
|
export * as writer from "./src/writer";
|
|
31
|
+
export { tool, createAgent, FALLBACK_AGENT_ID, DEFAULT_AGENT_MAX_STEPS, DEFAULT_STYLE_INSTRUCTIONS, buildAgents, approvalGatedToolIds } from "./src/agents";
|
|
31
32
|
export type { MastraTools, AppKitToolOptions, ToolkitOptions, MastraPluginToolkitProvider, MastraPlugins, MastraToolsFn, MastraAgentWorkspaceResolver, MastraAgentDefinition, MastraStorageConfigOverride, MastraMemoryConfigOverride, BuiltAgents } from "./src/agents";
|
|
33
|
+
export { chartPlanSchema, chartPlannerRequestSchema, prepareChart, fetchChart, buildRenderDataTool } from "./src/chart";
|
|
32
34
|
export type { ChartPlannerRequest, PrepareChartOptions, FetchChartOptions } from "./src/chart";
|
|
35
|
+
export { MASTRA_USER_KEY, MASTRA_USER_NAME_KEY, MASTRA_USER_EMAIL_KEY, MASTRA_REQUEST_ID_KEY, MASTRA_SCOPES_KEY, TRACE_REQUEST_CONTEXT_KEYS, executionContextUserId, resolveUserKey, MASTRA_CONFIG_SCHEMA } from "./src/config";
|
|
33
36
|
export type { User, MastraMemoryConfig, MastraMcpConfig, MastraPluginConfig } from "./src/config";
|
|
37
|
+
export { modelCatalogueDefaults, genieSuggestionDefaults, statementDataDefaults, chartFetchDefaults, feedbackWriteDefaults } from "./src/defaults";
|
|
38
|
+
export { normalizeDatabricksBasePath, isDbfsPath, isWorkspaceFilesPath, resolveDatabricksAbsolutePath, toDatabricksWorkspacePath, DatabricksWorkspaceFilesystem, emptyFilesystem } from "./src/filesystems";
|
|
34
39
|
export type { DatabricksMkdirsMode, DatabricksWorkspaceFilesystemOptions } from "./src/filesystems";
|
|
40
|
+
export { DEFAULT_GENIE_ALIAS, GENIE_INSTRUCTIONS, normalizeGenieSpaces, resolveGenieSpaces, buildGenieTools, buildGenieToolkitProvider, collectSpaceSuggestions } from "./src/genie";
|
|
35
41
|
export type { GenieSpaceConfig, GenieSpacesConfig } from "./src/genie";
|
|
42
|
+
export { loadHistory, clearHistory, historyRoute } from "./src/history";
|
|
36
43
|
export type { LoadHistoryOptions, ClearHistoryOptions, HistoryRouteOptions } from "./src/history";
|
|
44
|
+
export { buildMcpServer } from "./src/mcp";
|
|
37
45
|
export type { ResolvedMcp } from "./src/mcp";
|
|
46
|
+
export { createServicePrincipalPool, needsLakebase, createMemoryBuilder, MemoryBuilder } from "./src/memory";
|
|
47
|
+
export { mlflowEnabled, resolveFeedbackEnabled, logFeedback } from "./src/mlflow";
|
|
38
48
|
export type { LogFeedbackParams } from "./src/mlflow";
|
|
49
|
+
export { buildModel } from "./src/model";
|
|
39
50
|
export type { BuildModelOverrides } from "./src/model";
|
|
51
|
+
export { isOtlpTracingConfigured, buildObservability } from "./src/observability";
|
|
40
52
|
export type { BuildObservabilityOptions } from "./src/observability";
|
|
53
|
+
export { clampPerPage, parseIntParam } from "./src/pagination";
|
|
41
54
|
export type { PerPageBounds } from "./src/pagination";
|
|
55
|
+
export { MastraPlugin, mastra } from "./src/plugin";
|
|
56
|
+
export { stripStaleChartsProcessor, ResultProcessor } from "./src/processors";
|
|
57
|
+
export { databricksFetch, readResponseText, readResponseJson } from "./src/rest";
|
|
42
58
|
export type { DatabricksFetchInit } from "./src/rest";
|
|
59
|
+
export { stampRequestContextUser, createRequestContext, MastraServer, isMastraRequestAllowed, attachRoutePatchMiddleware } from "./src/server";
|
|
43
60
|
export type { MastraApiGateOptions } from "./src/server";
|
|
61
|
+
export { MASTRA_MODEL_OVERRIDE_KEY, extractModelOverride, resolveServingConfig } from "./src/serving";
|
|
44
62
|
export type { ModelOverrideRequest } from "./src/serving";
|
|
63
|
+
export { rewriteServingBody, stripReasoningFromServingMessages, repairAssistantPrefill, rewriteServingResponseBody, flattenChoiceMessageContent } from "./src/serving-sanitize";
|
|
45
64
|
export type { ServingChatMessage } from "./src/serving-sanitize";
|
|
65
|
+
export { STATEMENT_ROW_CAP, fetchStatementData } from "./src/statement";
|
|
66
|
+
export { agentStorageSchemaName } from "./src/storage-schema";
|
|
67
|
+
export { TITLE_INSTRUCTIONS, summaryModel, summarizeText, buildSummarizeTool } from "./src/summarize";
|
|
46
68
|
export type { SummarizeOptions } from "./src/summarize";
|
|
69
|
+
export { listThreads, deleteThread, renameThread, threadsRoute } from "./src/threads";
|
|
47
70
|
export type { ListThreadsOptions, DeleteThreadOptions, RenameThreadOptions, ThreadsRouteOptions } from "./src/threads";
|
|
71
|
+
export { invalidFields } from "./src/validation";
|
|
48
72
|
export type { SchemaIssues } from "./src/validation";
|
|
73
|
+
export { createWorkspace } from "./src/workspaces";
|
|
49
74
|
export type { CreateWorkspaceOptions } from "./src/workspaces";
|
|
75
|
+
export { safeWrite } from "./src/writer";
|
package/package.json
CHANGED
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"express": "^5.1.0",
|
|
29
29
|
"pg": "^8.22.0",
|
|
30
30
|
"zod": "4.3.6",
|
|
31
|
-
"@dbx-tools/
|
|
32
|
-
"@dbx-tools/
|
|
33
|
-
"@dbx-tools/
|
|
34
|
-
"@dbx-tools/core": "0.3.
|
|
35
|
-
"@dbx-tools/shared-
|
|
36
|
-
"@dbx-tools/shared-
|
|
37
|
-
"@dbx-tools/
|
|
38
|
-
"@dbx-tools/shared-
|
|
31
|
+
"@dbx-tools/core": "0.3.42",
|
|
32
|
+
"@dbx-tools/appkit": "0.3.42",
|
|
33
|
+
"@dbx-tools/model": "0.3.42",
|
|
34
|
+
"@dbx-tools/shared-core": "0.3.42",
|
|
35
|
+
"@dbx-tools/shared-genie": "0.3.42",
|
|
36
|
+
"@dbx-tools/shared-mastra": "0.3.42",
|
|
37
|
+
"@dbx-tools/genie": "0.3.42",
|
|
38
|
+
"@dbx-tools/shared-model": "0.3.42"
|
|
39
39
|
},
|
|
40
40
|
"main": "index.ts",
|
|
41
41
|
"license": "UNLICENSED",
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"version": "0.3.
|
|
45
|
+
"version": "0.3.42",
|
|
46
46
|
"types": "index.ts",
|
|
47
47
|
"type": "module",
|
|
48
48
|
"exports": {
|