@dbx-tools/appkit-mastra 0.3.14 → 0.3.15
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/package.json +10 -10
- package/src/agents.ts +2 -0
- package/src/chart.ts +2 -0
- package/src/config.ts +2 -0
- package/src/filesystems.ts +2 -0
- package/src/genie.ts +2 -0
- package/src/history.ts +2 -0
- package/src/mcp.ts +2 -0
- package/src/memory.ts +2 -0
- package/src/mlflow.ts +2 -0
- package/src/model.ts +2 -0
- package/src/observability.ts +2 -0
- package/src/pagination.ts +2 -0
- package/src/plugin.ts +2 -0
- package/src/processors.ts +2 -0
- package/src/server.ts +2 -0
- package/src/serving.ts +2 -0
- package/src/statement.ts +2 -0
- package/src/summarize.ts +2 -0
- package/src/threads.ts +2 -0
- package/src/workspaces.ts +2 -0
- package/src/writer.ts +2 -0
package/package.json
CHANGED
|
@@ -27,22 +27,22 @@
|
|
|
27
27
|
"@opentelemetry/api": "^1.9.1",
|
|
28
28
|
"pg": "^8.22.0",
|
|
29
29
|
"zod": "^4.3.6",
|
|
30
|
-
"@dbx-tools/appkit": "0.3.
|
|
31
|
-
"@dbx-tools/
|
|
32
|
-
"@dbx-tools/
|
|
33
|
-
"@dbx-tools/
|
|
34
|
-
"@dbx-tools/model": "0.3.
|
|
35
|
-
"@dbx-tools/shared-core": "0.3.
|
|
36
|
-
"@dbx-tools/shared-
|
|
37
|
-
"@dbx-tools/shared-mastra": "0.3.
|
|
38
|
-
"@dbx-tools/shared-
|
|
30
|
+
"@dbx-tools/appkit": "0.3.15",
|
|
31
|
+
"@dbx-tools/core": "0.3.15",
|
|
32
|
+
"@dbx-tools/databricks": "0.3.15",
|
|
33
|
+
"@dbx-tools/genie": "0.3.15",
|
|
34
|
+
"@dbx-tools/model": "0.3.15",
|
|
35
|
+
"@dbx-tools/shared-core": "0.3.15",
|
|
36
|
+
"@dbx-tools/shared-genie": "0.3.15",
|
|
37
|
+
"@dbx-tools/shared-mastra": "0.3.15",
|
|
38
|
+
"@dbx-tools/shared-model": "0.3.15"
|
|
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.15",
|
|
46
46
|
"types": "index.ts",
|
|
47
47
|
"type": "module",
|
|
48
48
|
"exports": {
|
package/src/agents.ts
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* When no agents are registered the plugin falls back to a single
|
|
12
12
|
* built-in analyst so the bare `mastra()` call still mounts a working
|
|
13
13
|
* streamable agent for demos.
|
|
14
|
+
*
|
|
15
|
+
* @module
|
|
14
16
|
*/
|
|
15
17
|
|
|
16
18
|
import type { AgentConfig, ToolsInput } from "@mastra/core/agent";
|
package/src/chart.ts
CHANGED
package/src/config.ts
CHANGED
package/src/filesystems.ts
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* Path helpers ({@link normalizeDatabricksBasePath}, {@link isDbfsPath}, …)
|
|
10
10
|
* are exported for tests and callers that need to reason about Databricks
|
|
11
11
|
* paths without constructing a filesystem.
|
|
12
|
+
*
|
|
13
|
+
* @module
|
|
12
14
|
*/
|
|
13
15
|
|
|
14
16
|
import { getExecutionContext } from "@databricks/appkit";
|
package/src/genie.ts
CHANGED
package/src/history.ts
CHANGED
package/src/mcp.ts
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* `Mastra` instance via `mcpServers`, which makes `@mastra/express`
|
|
9
9
|
* serve the stock MCP routes under the plugin's base path; the plugin
|
|
10
10
|
* never registers a bespoke MCP route of its own.
|
|
11
|
+
*
|
|
12
|
+
* @module
|
|
11
13
|
*/
|
|
12
14
|
|
|
13
15
|
import type { Agent } from "@mastra/core/agent";
|
package/src/memory.ts
CHANGED
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
* Plugin-level `config.storage` / `config.memory` act as the baseline
|
|
26
26
|
* (auto-defaulted to `true` in `plugin.ts` when the `lakebase` plugin
|
|
27
27
|
* is registered); per-agent settings cascade on top of that.
|
|
28
|
+
*
|
|
29
|
+
* @module
|
|
28
30
|
*/
|
|
29
31
|
|
|
30
32
|
import { getUsernameWithApiLookup } from "@databricks/appkit";
|
package/src/mlflow.ts
CHANGED
package/src/model.ts
CHANGED
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
* the resolved id in the OpenAI-compatible provider config Mastra
|
|
20
20
|
* expects. Catalogue fetches fail loud: network / auth errors
|
|
21
21
|
* propagate so callers see the real SDK message.
|
|
22
|
+
*
|
|
23
|
+
* @module
|
|
22
24
|
*/
|
|
23
25
|
|
|
24
26
|
import { getExecutionContext } from "@databricks/appkit";
|
package/src/observability.ts
CHANGED
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
* When `OTEL_EXPORTER_OTLP_ENDPOINT` is unset the bridge is not
|
|
30
30
|
* registered at all (unless `observability: true` forces it on), so
|
|
31
31
|
* Mastra does not emit `[OtelBridge] No OTEL span found` warnings.
|
|
32
|
+
*
|
|
33
|
+
* @module
|
|
32
34
|
*/
|
|
33
35
|
|
|
34
36
|
import { Observability } from "@mastra/observability";
|
package/src/pagination.ts
CHANGED
package/src/plugin.ts
CHANGED
package/src/processors.ts
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* - An **output** processor ({@link ResultProcessor}) that trims the
|
|
11
11
|
* bulky, redundant payload fields off targeted outbound stream frames
|
|
12
12
|
* before they're serialized to the SSE client.
|
|
13
|
+
*
|
|
14
|
+
* @module
|
|
13
15
|
*/
|
|
14
16
|
|
|
15
17
|
import { log } from "@dbx-tools/shared-core";
|
package/src/server.ts
CHANGED
package/src/serving.ts
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* Mastra plugin: pulling a per-request model override off an HTTP
|
|
8
8
|
* request (header / query / body) and projecting the plugin config
|
|
9
9
|
* onto the knobs `buildModel` and the `/models` route share.
|
|
10
|
+
*
|
|
11
|
+
* @module
|
|
10
12
|
*/
|
|
11
13
|
|
|
12
14
|
import { override } from "@dbx-tools/shared-mastra";
|
package/src/statement.ts
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
* which producer (Genie, a tool, a notebook, etc.) submitted the
|
|
16
16
|
* query. Co-located here so consumers can fetch / cap / handle
|
|
17
17
|
* 404s without reaching into the Genie tool module.
|
|
18
|
+
*
|
|
19
|
+
* @module
|
|
18
20
|
*/
|
|
19
21
|
|
|
20
22
|
import { WorkspaceClient } from "@databricks/sdk-experimental";
|
package/src/summarize.ts
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
* Mirrors the chart-planner wiring in `chart.ts`: a per-config cached
|
|
16
16
|
* `Agent` on the fast tier, invoked via `agent.generate(...)` inside
|
|
17
17
|
* the active `asUser` scope so tokens stay user-scoped.
|
|
18
|
+
*
|
|
19
|
+
* @module
|
|
18
20
|
*/
|
|
19
21
|
|
|
20
22
|
import { model } from "@dbx-tools/shared-model";
|
package/src/threads.ts
CHANGED
package/src/workspaces.ts
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* OBO client on {@link MASTRA_USER_KEY}. Optional mount resolver
|
|
7
7
|
* contributions merge extra filesystems and skill scan roots; built-in
|
|
8
8
|
* Assistant skill trees are toggled with `assistantSkills` (on by default).
|
|
9
|
+
*
|
|
10
|
+
* @module
|
|
9
11
|
*/
|
|
10
12
|
|
|
11
13
|
import type { WorkspaceClient } from "@databricks/sdk-experimental";
|
package/src/writer.ts
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* the most likely culprit when events go missing client-side) but
|
|
9
9
|
* swallowed so a cancelled request or a client that navigated
|
|
10
10
|
* away can't crash a tool mid-flight.
|
|
11
|
+
*
|
|
12
|
+
* @module
|
|
11
13
|
*/
|
|
12
14
|
|
|
13
15
|
import type { MastraWriter } from "@dbx-tools/shared-mastra";
|