@mastra/core 1.30.0-alpha.1 → 1.30.0
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/CHANGELOG.md +117 -0
- package/dist/agent/durable/index.cjs +22 -22
- package/dist/agent/durable/index.js +4 -4
- package/dist/agent/index.cjs +9 -9
- package/dist/agent/index.js +1 -1
- package/dist/browser/index.cjs +2 -2
- package/dist/browser/index.js +1 -1
- package/dist/channels/index.cjs +4 -4
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-KL73E6QK.js → chunk-2UGZF32K.js} +6 -6
- package/dist/{chunk-KL73E6QK.js.map → chunk-2UGZF32K.js.map} +1 -1
- package/dist/{chunk-RQUGR73M.cjs → chunk-36SQPELR.cjs} +59 -59
- package/dist/{chunk-RQUGR73M.cjs.map → chunk-36SQPELR.cjs.map} +1 -1
- package/dist/{chunk-JFHZ6ZSE.cjs → chunk-3DW73O5A.cjs} +18 -18
- package/dist/{chunk-JFHZ6ZSE.cjs.map → chunk-3DW73O5A.cjs.map} +1 -1
- package/dist/{chunk-UBAE2LKC.js → chunk-3ZNPHDSY.js} +3 -3
- package/dist/{chunk-UBAE2LKC.js.map → chunk-3ZNPHDSY.js.map} +1 -1
- package/dist/{chunk-XPZUMGBT.cjs → chunk-4CXGZ7PZ.cjs} +6 -6
- package/dist/{chunk-XPZUMGBT.cjs.map → chunk-4CXGZ7PZ.cjs.map} +1 -1
- package/dist/{chunk-WKVOUMIY.js → chunk-54B23CPR.js} +3 -3
- package/dist/{chunk-WKVOUMIY.js.map → chunk-54B23CPR.js.map} +1 -1
- package/dist/{chunk-2CJAA244.js → chunk-CIE4UPHM.js} +3 -3
- package/dist/{chunk-2CJAA244.js.map → chunk-CIE4UPHM.js.map} +1 -1
- package/dist/{chunk-JPTP5VH4.js → chunk-ESRIWSIA.js} +4 -4
- package/dist/{chunk-JPTP5VH4.js.map → chunk-ESRIWSIA.js.map} +1 -1
- package/dist/{chunk-7JM7UHFE.cjs → chunk-F6ZJ6PMP.cjs} +3 -3
- package/dist/chunk-F6ZJ6PMP.cjs.map +1 -0
- package/dist/{chunk-Z4SWV2ZC.cjs → chunk-FAHETYAI.cjs} +14 -14
- package/dist/{chunk-Z4SWV2ZC.cjs.map → chunk-FAHETYAI.cjs.map} +1 -1
- package/dist/{chunk-OWG4YA2G.cjs → chunk-GCVSTCZ7.cjs} +4 -4
- package/dist/{chunk-OWG4YA2G.cjs.map → chunk-GCVSTCZ7.cjs.map} +1 -1
- package/dist/{chunk-6MHTL3F2.cjs → chunk-JAL5PN6F.cjs} +5 -5
- package/dist/{chunk-6MHTL3F2.cjs.map → chunk-JAL5PN6F.cjs.map} +1 -1
- package/dist/{chunk-RBRVVKHA.cjs → chunk-KGMUYIZN.cjs} +7 -7
- package/dist/{chunk-RBRVVKHA.cjs.map → chunk-KGMUYIZN.cjs.map} +1 -1
- package/dist/{chunk-G7A2HVQC.js → chunk-MHTNREIQ.js} +3 -3
- package/dist/chunk-MHTNREIQ.js.map +1 -0
- package/dist/{chunk-SYPXPX2B.js → chunk-OS3XEPVO.js} +4 -4
- package/dist/{chunk-SYPXPX2B.js.map → chunk-OS3XEPVO.js.map} +1 -1
- package/dist/{chunk-UNTMYRPU.js → chunk-OWO4JJNR.js} +9 -9
- package/dist/{chunk-UNTMYRPU.js.map → chunk-OWO4JJNR.js.map} +1 -1
- package/dist/{chunk-CCRG7RQX.js → chunk-TBGHF2UC.js} +4 -4
- package/dist/{chunk-CCRG7RQX.js.map → chunk-TBGHF2UC.js.map} +1 -1
- package/dist/{chunk-P2N3N22H.cjs → chunk-TOCDOYTX.cjs} +224 -224
- package/dist/{chunk-P2N3N22H.cjs.map → chunk-TOCDOYTX.cjs.map} +1 -1
- package/dist/{chunk-RVDDKJFA.js → chunk-U3IFSZTQ.js} +8 -8
- package/dist/{chunk-RVDDKJFA.js.map → chunk-U3IFSZTQ.js.map} +1 -1
- package/dist/{chunk-QN5MTCJK.cjs → chunk-UZ6ONJMX.cjs} +9 -9
- package/dist/{chunk-QN5MTCJK.cjs.map → chunk-UZ6ONJMX.cjs.map} +1 -1
- package/dist/{chunk-SHRPNMLE.cjs → chunk-WA4G4MJC.cjs} +389 -389
- package/dist/{chunk-SHRPNMLE.cjs.map → chunk-WA4G4MJC.cjs.map} +1 -1
- package/dist/{chunk-D6TN663R.js → chunk-WAHKXJC6.js} +4 -4
- package/dist/{chunk-D6TN663R.js.map → chunk-WAHKXJC6.js.map} +1 -1
- package/dist/{chunk-OKAHBYIU.js → chunk-X2PAQJZT.js} +4 -4
- package/dist/{chunk-OKAHBYIU.js.map → chunk-X2PAQJZT.js.map} +1 -1
- package/dist/{chunk-IQBFEGDE.cjs → chunk-YA6EYERE.cjs} +20 -20
- package/dist/{chunk-IQBFEGDE.cjs.map → chunk-YA6EYERE.cjs.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +2 -1
- package/dist/docs/assets/SOURCE_MAP.json +215 -215
- package/dist/docs/references/reference-storage-clickhouse.md +24 -18
- package/dist/docs/references/reference-storage-duckdb.md +150 -0
- package/dist/docs/references/reference.md +1 -0
- package/dist/evals/index.cjs +6 -6
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +20 -20
- package/dist/llm/index.js +5 -5
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/mastra-DJUZZMNG.cjs +12 -0
- package/dist/{mastra-BAFUPFGB.cjs.map → mastra-DJUZZMNG.cjs.map} +1 -1
- package/dist/mastra-VWDGYZDW.js +3 -0
- package/dist/{mastra-5EFMIVHA.js.map → mastra-VWDGYZDW.js.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-K5B2DUKV.js +3 -0
- package/dist/{models-dev-JPGUFR4T.js.map → models-dev-K5B2DUKV.js.map} +1 -1
- package/dist/models-dev-VDEV47JP.cjs +12 -0
- package/dist/{models-dev-RBI2SKEN.cjs.map → models-dev-VDEV47JP.cjs.map} +1 -1
- package/dist/netlify-7VI4LKAU.cjs +12 -0
- package/dist/{netlify-WHNPHSNE.cjs.map → netlify-7VI4LKAU.cjs.map} +1 -1
- package/dist/netlify-UL5XNQ7Y.js +3 -0
- package/dist/{netlify-YBQ6ABL3.js.map → netlify-UL5XNQ7Y.js.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +49 -49
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-27CRYYRB.js +3 -0
- package/dist/{provider-registry-FU6AHZJL.js.map → provider-registry-27CRYYRB.js.map} +1 -1
- package/dist/provider-registry-GCGWKQD6.cjs +44 -0
- package/dist/{provider-registry-MMLUXVHQ.cjs.map → provider-registry-GCGWKQD6.cjs.map} +1 -1
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/runner-2NS3MIME.js +3 -0
- package/dist/{runner-UWLNDQQV.js.map → runner-2NS3MIME.js.map} +1 -1
- package/dist/runner-UDQYOIEQ.cjs +16 -0
- package/dist/{runner-RWI6TW2Q.cjs.map → runner-UDQYOIEQ.cjs.map} +1 -1
- package/dist/storage/index.cjs +72 -72
- package/dist/storage/index.js +3 -3
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +9 -9
- package/dist/chunk-7JM7UHFE.cjs.map +0 -1
- package/dist/chunk-G7A2HVQC.js.map +0 -1
- package/dist/mastra-5EFMIVHA.js +0 -3
- package/dist/mastra-BAFUPFGB.cjs +0 -12
- package/dist/models-dev-JPGUFR4T.js +0 -3
- package/dist/models-dev-RBI2SKEN.cjs +0 -12
- package/dist/netlify-WHNPHSNE.cjs +0 -12
- package/dist/netlify-YBQ6ABL3.js +0 -3
- package/dist/provider-registry-FU6AHZJL.js +0 -3
- package/dist/provider-registry-MMLUXVHQ.cjs +0 -44
- package/dist/runner-RWI6TW2Q.cjs +0 -16
- package/dist/runner-UWLNDQQV.js +0 -3
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[ClickHouse](https://clickhouse.com/) is a columnar database designed for analytical workloads. The `@mastra/clickhouse` package provides storage adapters for several Mastra storage domains and is the recommended backend for production observability.
|
|
4
4
|
|
|
5
|
-
ClickHouse is most commonly used as the dedicated observability backend in a [composite storage](https://mastra.ai/reference/storage/composite) setup, with another database serving the remaining domains.
|
|
5
|
+
ClickHouse is most commonly used as the dedicated observability backend in a [composite storage](https://mastra.ai/reference/storage/composite) setup, with another database serving the remaining domains.
|
|
6
6
|
|
|
7
7
|
## When to use ClickHouse
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- Append-heavy workloads where columnar storage and compression help keep costs down.
|
|
11
|
-
- Deployment platforms with ephemeral filesystems (such as [Railway](#deploying-with-railway-and-similar-platforms), Fly.io, Render, Heroku, or container schedulers) where embedded backends like DuckDB cannot persist data.
|
|
9
|
+
Production observability for traces, logs, metrics, scores, and feedback.
|
|
12
10
|
|
|
13
|
-
For local development, [LibSQL](https://mastra.ai/reference/storage/libsql)
|
|
11
|
+
For local development, use a composite store that combines [LibSQL](https://mastra.ai/reference/storage/libsql) (for memory and workflows) and `@mastra/duckdb` (for observability). Neither alone covers a development setup: LibSQL does not implement the observability domain, and DuckDB does not implement the other domains. See the [observability overview](https://mastra.ai/docs/observability/overview) for an example.
|
|
14
12
|
|
|
15
13
|
## Installation
|
|
16
14
|
|
|
@@ -51,7 +49,7 @@ Compose it with another storage adapter so observability writes do not contend w
|
|
|
51
49
|
```typescript
|
|
52
50
|
import { Mastra } from '@mastra/core'
|
|
53
51
|
import { MastraCompositeStore } from '@mastra/core/storage'
|
|
54
|
-
import {
|
|
52
|
+
import { PostgresStore } from '@mastra/pg'
|
|
55
53
|
import { ObservabilityStorageClickhouseVNext } from '@mastra/clickhouse'
|
|
56
54
|
import { Observability, DefaultExporter } from '@mastra/observability'
|
|
57
55
|
|
|
@@ -64,9 +62,9 @@ const observabilityStore = new ObservabilityStorageClickhouseVNext({
|
|
|
64
62
|
export const mastra = new Mastra({
|
|
65
63
|
storage: new MastraCompositeStore({
|
|
66
64
|
id: 'composite-storage',
|
|
67
|
-
default: new
|
|
68
|
-
id: '
|
|
69
|
-
|
|
65
|
+
default: new PostgresStore({
|
|
66
|
+
id: 'pg',
|
|
67
|
+
connectionString: process.env.DATABASE_URL!,
|
|
70
68
|
}),
|
|
71
69
|
domains: {
|
|
72
70
|
observability: observabilityStore,
|
|
@@ -101,20 +99,28 @@ const observabilityStore = new ObservabilityStorageClickhouse({
|
|
|
101
99
|
|
|
102
100
|
New projects should use `ObservabilityStorageClickhouseVNext` instead.
|
|
103
101
|
|
|
104
|
-
###
|
|
102
|
+
### ClickHouse for every domain
|
|
105
103
|
|
|
106
|
-
`ClickhouseStore` implements the `memory`, `workflows`,
|
|
104
|
+
`ClickhouseStore` implements the `memory`, `workflows`, and `observability` domains, and is suitable when you want ClickHouse to back the entire application. Its built-in observability domain uses the legacy adapter, so wrap it in a composite store that overrides the `observability` domain with `ObservabilityStorageClickhouseVNext`:
|
|
107
105
|
|
|
108
106
|
```typescript
|
|
109
107
|
import { Mastra } from '@mastra/core'
|
|
110
|
-
import {
|
|
108
|
+
import { MastraCompositeStore } from '@mastra/core/storage'
|
|
109
|
+
import { ClickhouseStore, ObservabilityStorageClickhouseVNext } from '@mastra/clickhouse'
|
|
110
|
+
|
|
111
|
+
const credentials = {
|
|
112
|
+
url: process.env.CLICKHOUSE_URL!,
|
|
113
|
+
username: process.env.CLICKHOUSE_USERNAME!,
|
|
114
|
+
password: process.env.CLICKHOUSE_PASSWORD!,
|
|
115
|
+
}
|
|
111
116
|
|
|
112
117
|
export const mastra = new Mastra({
|
|
113
|
-
storage: new
|
|
114
|
-
id: '
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
storage: new MastraCompositeStore({
|
|
119
|
+
id: 'composite-storage',
|
|
120
|
+
default: new ClickhouseStore({ id: 'clickhouse-storage', ...credentials }),
|
|
121
|
+
domains: {
|
|
122
|
+
observability: new ObservabilityStorageClickhouseVNext(credentials),
|
|
123
|
+
},
|
|
118
124
|
}),
|
|
119
125
|
})
|
|
120
126
|
```
|
|
@@ -150,7 +156,7 @@ The same `client` form is accepted by `ObservabilityStorageClickhouse` and `Obse
|
|
|
150
156
|
|
|
151
157
|
**username** (`string`): ClickHouse username. Required when not passing a pre-configured \`client\`.
|
|
152
158
|
|
|
153
|
-
**password** (`string`): ClickHouse password. Required when not passing a pre-configured \`client\`.
|
|
159
|
+
**password** (`string`): ClickHouse password. Required when not passing a pre-configured \`client\`. It can be an empty string for the default user on a local instance.
|
|
154
160
|
|
|
155
161
|
**client** (`ClickHouseClient`): Pre-configured ClickHouse client from \`@clickhouse/client\`. Use this when you need custom request settings. Mutually exclusive with the credential fields above.
|
|
156
162
|
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# DuckDB storage
|
|
2
|
+
|
|
3
|
+
[DuckDB](https://duckdb.org/) is an embedded, in-process analytical database. The `@mastra/duckdb` package provides an OLAP-backed observability store for local development, suitable for traces, logs, metrics, scores, and feedback without running an external service.
|
|
4
|
+
|
|
5
|
+
For vector search, see the [DuckDB vector store reference](https://mastra.ai/reference/vectors/duckdb), which is a separate API in the same package.
|
|
6
|
+
|
|
7
|
+
## When to use DuckDB
|
|
8
|
+
|
|
9
|
+
Local development of observability features. DuckDB is embedded and file-based, so it does not require a server and starts instantly. It supports the same observability signals as ClickHouse, which makes it useful for testing dashboards and trace exploration before deploying to a production backend.
|
|
10
|
+
|
|
11
|
+
DuckDB currently implements only the `observability` domain. Pair it with another storage adapter (such as [LibSQL](https://mastra.ai/reference/storage/libsql)) for `memory` and `workflows` in a [composite storage](https://mastra.ai/reference/storage/composite) setup.
|
|
12
|
+
|
|
13
|
+
> **Warning:** DuckDB is for development and not recommended for production. It runs in-process, persists to a single local file, and does not work on platforms with ephemeral filesystems (such as Railway, Fly.io, Render, Heroku, or serverless containers). For production observability, use [ClickHouse](https://mastra.ai/reference/storage/clickhouse).
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
**npm**:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install @mastra/duckdb@latest
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**pnpm**:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pnpm add @mastra/duckdb@latest
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Yarn**:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn add @mastra/duckdb@latest
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Bun**:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
bun add @mastra/duckdb@latest
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
### As the observability domain in a composite store
|
|
44
|
+
|
|
45
|
+
This is the standard local-development setup. LibSQL handles the other domains, and DuckDB handles observability.
|
|
46
|
+
|
|
47
|
+
```typescript
|
|
48
|
+
import { Mastra } from '@mastra/core'
|
|
49
|
+
import { MastraCompositeStore } from '@mastra/core/storage'
|
|
50
|
+
import { LibSQLStore } from '@mastra/libsql'
|
|
51
|
+
import { DuckDBStore } from '@mastra/duckdb'
|
|
52
|
+
import { Observability, DefaultExporter } from '@mastra/observability'
|
|
53
|
+
|
|
54
|
+
export const mastra = new Mastra({
|
|
55
|
+
storage: new MastraCompositeStore({
|
|
56
|
+
id: 'composite-storage',
|
|
57
|
+
default: new LibSQLStore({
|
|
58
|
+
id: 'mastra-storage',
|
|
59
|
+
url: 'file:./mastra.db',
|
|
60
|
+
}),
|
|
61
|
+
domains: {
|
|
62
|
+
observability: new DuckDBStore().observability,
|
|
63
|
+
},
|
|
64
|
+
}),
|
|
65
|
+
observability: new Observability({
|
|
66
|
+
configs: {
|
|
67
|
+
default: {
|
|
68
|
+
serviceName: 'mastra',
|
|
69
|
+
exporters: [new DefaultExporter()],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
}),
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The `.observability` accessor returns the observability domain store directly. The equivalent generic form uses `getStore()`, which works for any composite-style storage adapter:
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
const observability = await new DuckDBStore().getStore('observability')
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Standalone
|
|
83
|
+
|
|
84
|
+
When you need only observability storage outside the `Mastra` composite, instantiate `DuckDBStore` directly and access the observability domain:
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
import { DuckDBStore } from '@mastra/duckdb'
|
|
88
|
+
|
|
89
|
+
const duckdb = new DuckDBStore({ path: './traces.duckdb' })
|
|
90
|
+
const observability = duckdb.observability
|
|
91
|
+
|
|
92
|
+
await observability.init()
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### In-memory database
|
|
96
|
+
|
|
97
|
+
Pass `:memory:` to use an ephemeral DuckDB instance. Data is lost when the process exits, which is appropriate for unit tests and short-lived scripts.
|
|
98
|
+
|
|
99
|
+
```typescript
|
|
100
|
+
const duckdb = new DuckDBStore({ path: ':memory:' })
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Configuration
|
|
104
|
+
|
|
105
|
+
### `DuckDBStore` options
|
|
106
|
+
|
|
107
|
+
**id** (`string`): Unique identifier for this storage instance. (Default: `'duckdb'`)
|
|
108
|
+
|
|
109
|
+
**path** (`string`): Path to the DuckDB database file. Use \`:memory:\` for an ephemeral in-memory database. (Default: `'mastra.duckdb'`)
|
|
110
|
+
|
|
111
|
+
### Lower-level types
|
|
112
|
+
|
|
113
|
+
`@mastra/duckdb` also exports `DuckDBConnection` for sharing a single underlying database across multiple Mastra storage instances, and the corresponding `DuckDBStorageConfig` type. Most applications will not need these directly.
|
|
114
|
+
|
|
115
|
+
## Supported domains
|
|
116
|
+
|
|
117
|
+
DuckDB currently implements one storage domain:
|
|
118
|
+
|
|
119
|
+
| Domain | Supported |
|
|
120
|
+
| --------------- | --------- |
|
|
121
|
+
| `observability` | Yes |
|
|
122
|
+
| `memory` | No |
|
|
123
|
+
| `workflows` | No |
|
|
124
|
+
| `scores` | No |
|
|
125
|
+
| `agents` | No |
|
|
126
|
+
|
|
127
|
+
For a full storage solution, compose `DuckDBStore` with an adapter that covers the missing domains (most commonly [LibSQL](https://mastra.ai/reference/storage/libsql) for local development).
|
|
128
|
+
|
|
129
|
+
## Initialization
|
|
130
|
+
|
|
131
|
+
When passed to `Mastra` through `MastraCompositeStore`, the observability domain initializes itself on first use. To run initialization explicitly outside of `Mastra`, call `init()` on the observability store:
|
|
132
|
+
|
|
133
|
+
```typescript
|
|
134
|
+
import { DuckDBStore } from '@mastra/duckdb'
|
|
135
|
+
|
|
136
|
+
const duckdb = new DuckDBStore({ path: './traces.duckdb' })
|
|
137
|
+
await duckdb.observability.init()
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Observability strategy
|
|
141
|
+
|
|
142
|
+
DuckDB supports the `event-sourced` strategy used by `DefaultExporter`, which buffers spans in memory and writes completed events in batches. This is appropriate for development-scale traffic. For high-volume production workloads, see [`DefaultExporter` storage provider support](https://mastra.ai/docs/observability/tracing/exporters/default).
|
|
143
|
+
|
|
144
|
+
## Related
|
|
145
|
+
|
|
146
|
+
- [Storage overview](https://mastra.ai/reference/storage/overview)
|
|
147
|
+
- [Composite storage](https://mastra.ai/reference/storage/composite)
|
|
148
|
+
- [ClickHouse storage](https://mastra.ai/reference/storage/clickhouse): Production observability backend
|
|
149
|
+
- [DuckDB vector store](https://mastra.ai/reference/vectors/duckdb): Vector search using the same package
|
|
150
|
+
- [Observability overview](https://mastra.ai/docs/observability/overview)
|
|
@@ -199,6 +199,7 @@ The Reference section provides documentation of Mastra's API, including paramete
|
|
|
199
199
|
- [Cloudflare KV Storage](https://mastra.ai/reference/storage/cloudflare)
|
|
200
200
|
- [Composite Storage](https://mastra.ai/reference/storage/composite)
|
|
201
201
|
- [Convex Storage](https://mastra.ai/reference/storage/convex)
|
|
202
|
+
- [DuckDB Storage](https://mastra.ai/reference/storage/duckdb)
|
|
202
203
|
- [DynamoDB Storage](https://mastra.ai/reference/storage/dynamodb)
|
|
203
204
|
- [LanceDB Storage](https://mastra.ai/reference/storage/lance)
|
|
204
205
|
- [libSQL Storage](https://mastra.ai/reference/storage/libsql)
|
package/dist/evals/index.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJAL5PN6F_cjs = require('../chunk-JAL5PN6F.cjs');
|
|
4
|
+
var chunkFAHETYAI_cjs = require('../chunk-FAHETYAI.cjs');
|
|
5
5
|
var chunkEEC3EO3T_cjs = require('../chunk-EEC3EO3T.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "runEvals", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkJAL5PN6F_cjs.runEvals; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "MastraScorer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFAHETYAI_cjs.MastraScorer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createScorer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFAHETYAI_cjs.createScorer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "filterRun", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFAHETYAI_cjs.filterRun; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "extractTrajectory", {
|
|
26
26
|
enumerable: true,
|
package/dist/evals/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { runEvals } from '../chunk-
|
|
2
|
-
export { MastraScorer, createScorer, filterRun } from '../chunk-
|
|
1
|
+
export { runEvals } from '../chunk-CIE4UPHM.js';
|
|
2
|
+
export { MastraScorer, createScorer, filterRun } from '../chunk-WAHKXJC6.js';
|
|
3
3
|
export { extractTrajectory, extractTrajectoryFromTrace, extractWorkflowTrajectory, listScoresResponseSchema, saveScorePayloadSchema, scoreResultSchema, scoreRowDataSchema, scoringEntityTypeSchema, scoringExtractStepResultSchema, scoringHookInputSchema, scoringInputSchema, scoringInputWithExtractStepResultAndAnalyzeStepResultSchema, scoringInputWithExtractStepResultAndScoreAndReasonSchema, scoringInputWithExtractStepResultSchema, scoringPromptsSchema, scoringSourceSchema, scoringValueSchema } from '../chunk-I6R27AUG.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk36SQPELR_cjs = require('../../chunk-36SQPELR.cjs');
|
|
4
4
|
var chunkEEC3EO3T_cjs = require('../../chunk-EEC3EO3T.cjs');
|
|
5
5
|
var chunkYGD6CZV4_cjs = require('../../chunk-YGD6CZV4.cjs');
|
|
6
6
|
var chunk4U7ZLI36_cjs = require('../../chunk-4U7ZLI36.cjs');
|
|
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/evals/scoreTraces/scoreTracesWorkflow.ts
|
|
237
|
-
var getTraceStep =
|
|
237
|
+
var getTraceStep = chunk36SQPELR_cjs.createStep({
|
|
238
238
|
id: "__process-trace-scoring",
|
|
239
239
|
inputSchema: v4.z.object({
|
|
240
240
|
targets: v4.z.array(
|
|
@@ -429,7 +429,7 @@ async function attachScoreToSpan({
|
|
|
429
429
|
} catch {
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
var scoreTracesWorkflow =
|
|
432
|
+
var scoreTracesWorkflow = chunk36SQPELR_cjs.createWorkflow({
|
|
433
433
|
id: "__batch-scoring-traces",
|
|
434
434
|
inputSchema: v4.z.object({
|
|
435
435
|
targets: v4.z.array(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-OS3XEPVO.js';
|
|
2
2
|
import { saveScorePayloadSchema } from '../../chunk-I6R27AUG.js';
|
|
3
3
|
import { getEntityTypeForSpan } from '../../chunk-G2SVLNSC.js';
|
|
4
4
|
import { MastraError } from '../../chunk-FJEVLHJT.js';
|
package/dist/harness/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk3DW73O5A_cjs = require('../chunk-3DW73O5A.cjs');
|
|
4
|
+
var chunkFAHETYAI_cjs = require('../chunk-FAHETYAI.cjs');
|
|
5
5
|
var chunkYQR772OH_cjs = require('../chunk-YQR772OH.cjs');
|
|
6
6
|
var chunkNNRGAKKH_cjs = require('../chunk-NNRGAKKH.cjs');
|
|
7
7
|
var chunkM4KUR53T_cjs = require('../chunk-M4KUR53T.cjs');
|
|
@@ -419,7 +419,7 @@ ${FORKED_SUBAGENT_NESTING_NOTICE}`;
|
|
|
419
419
|
isError: true
|
|
420
420
|
};
|
|
421
421
|
}
|
|
422
|
-
subagentToRun = new
|
|
422
|
+
subagentToRun = new chunkFAHETYAI_cjs.Agent({
|
|
423
423
|
id: `subagent-${definition.id}`,
|
|
424
424
|
name: `${definition.name} Subagent`,
|
|
425
425
|
instructions: definition.instructions,
|
|
@@ -698,7 +698,7 @@ var Harness = class {
|
|
|
698
698
|
*/
|
|
699
699
|
async init() {
|
|
700
700
|
if (this.config.storage) {
|
|
701
|
-
this.#internalMastra = new
|
|
701
|
+
this.#internalMastra = new chunk3DW73O5A_cjs.Mastra({
|
|
702
702
|
logger: false,
|
|
703
703
|
storage: this.config.storage,
|
|
704
704
|
...this.config.observability ? { observability: this.config.observability } : {}
|
|
@@ -958,7 +958,7 @@ var Harness = class {
|
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
try {
|
|
961
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
961
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-GCGWKQD6.cjs');
|
|
962
962
|
const registry = PROVIDER_REGISTRY;
|
|
963
963
|
const providerConfig = registry[provider];
|
|
964
964
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -978,7 +978,7 @@ var Harness = class {
|
|
|
978
978
|
*/
|
|
979
979
|
async listAvailableModels() {
|
|
980
980
|
try {
|
|
981
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
981
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-GCGWKQD6.cjs');
|
|
982
982
|
if (!PROVIDER_REGISTRY) return [];
|
|
983
983
|
const registry = PROVIDER_REGISTRY;
|
|
984
984
|
const providers = Object.keys(registry);
|
|
@@ -1037,7 +1037,7 @@ var Harness = class {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
async getProviderApiKeyEnvVar(provider) {
|
|
1039
1039
|
try {
|
|
1040
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
1040
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-GCGWKQD6.cjs');
|
|
1041
1041
|
const registry = PROVIDER_REGISTRY;
|
|
1042
1042
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
1043
1043
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/harness/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Mastra } from '../chunk-
|
|
2
|
-
import { Agent } from '../chunk-
|
|
1
|
+
import { Mastra } from '../chunk-OWO4JJNR.js';
|
|
2
|
+
import { Agent } from '../chunk-WAHKXJC6.js';
|
|
3
3
|
import { Workspace, createWorkspaceTools } from '../chunk-KGL33Q5K.js';
|
|
4
4
|
import { safeStringify } from '../chunk-5A3PCABN.js';
|
|
5
5
|
import { createTool } from '../chunk-PXOIM2JE.js';
|
|
@@ -956,7 +956,7 @@ var Harness = class {
|
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
try {
|
|
959
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
959
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-27CRYYRB.js');
|
|
960
960
|
const registry = PROVIDER_REGISTRY;
|
|
961
961
|
const providerConfig = registry[provider];
|
|
962
962
|
const envVars = providerConfig?.apiKeyEnvVar;
|
|
@@ -976,7 +976,7 @@ var Harness = class {
|
|
|
976
976
|
*/
|
|
977
977
|
async listAvailableModels() {
|
|
978
978
|
try {
|
|
979
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
979
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-27CRYYRB.js');
|
|
980
980
|
if (!PROVIDER_REGISTRY) return [];
|
|
981
981
|
const registry = PROVIDER_REGISTRY;
|
|
982
982
|
const providers = Object.keys(registry);
|
|
@@ -1035,7 +1035,7 @@ var Harness = class {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
async getProviderApiKeyEnvVar(provider) {
|
|
1037
1037
|
try {
|
|
1038
|
-
const { PROVIDER_REGISTRY } = await import('../provider-registry-
|
|
1038
|
+
const { PROVIDER_REGISTRY } = await import('../provider-registry-27CRYYRB.js');
|
|
1039
1039
|
const registry = PROVIDER_REGISTRY;
|
|
1040
1040
|
const envVars = registry[provider]?.apiKeyEnvVar;
|
|
1041
1041
|
return Array.isArray(envVars) ? envVars[0] : envVars;
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3DW73O5A_cjs = require('./chunk-3DW73O5A.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3DW73O5A_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/dist/llm/index.cjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunkWA4G4MJC_cjs = require('../chunk-WA4G4MJC.cjs');
|
|
4
|
+
var chunkYA6EYERE_cjs = require('../chunk-YA6EYERE.cjs');
|
|
5
|
+
var chunkTOCDOYTX_cjs = require('../chunk-TOCDOYTX.cjs');
|
|
6
|
+
var chunkUZ6ONJMX_cjs = require('../chunk-UZ6ONJMX.cjs');
|
|
7
|
+
var chunkF6ZJ6PMP_cjs = require('../chunk-F6ZJ6PMP.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AzureOpenAIGateway", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWA4G4MJC_cjs.AzureOpenAIGateway; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EMBEDDING_MODELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkWA4G4MJC_cjs.EMBEDDING_MODELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkWA4G4MJC_cjs.ModelRouterEmbeddingModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkWA4G4MJC_cjs.ModelRouterLanguageModel; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "defaultGateways", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkWA4G4MJC_cjs.defaultGateways; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkWA4G4MJC_cjs.resolveModelConfig; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GatewayRegistry", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYA6EYERE_cjs.GatewayRegistry; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MastraGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYA6EYERE_cjs.MastraGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYA6EYERE_cjs.PROVIDER_REGISTRY; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYA6EYERE_cjs.getProviderConfig; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseModelString", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkYA6EYERE_cjs.parseModelString; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkTOCDOYTX_cjs.ModelsDevGateway; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkUZ6ONJMX_cjs.NetlifyGateway; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "GATEWAY_AUTH_HEADER", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkF6ZJ6PMP_cjs.GATEWAY_AUTH_HEADER; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkF6ZJ6PMP_cjs.MastraModelGateway; }
|
|
70
70
|
});
|
|
71
71
|
//# sourceMappingURL=index.cjs.map
|
|
72
72
|
//# sourceMappingURL=index.cjs.map
|
package/dist/llm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-
|
|
2
|
-
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-
|
|
3
|
-
export { ModelsDevGateway } from '../chunk-
|
|
4
|
-
export { NetlifyGateway } from '../chunk-
|
|
5
|
-
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-
|
|
1
|
+
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-2UGZF32K.js';
|
|
2
|
+
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-U3IFSZTQ.js';
|
|
3
|
+
export { ModelsDevGateway } from '../chunk-54B23CPR.js';
|
|
4
|
+
export { NetlifyGateway } from '../chunk-3ZNPHDSY.js';
|
|
5
|
+
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-MHTNREIQ.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFAHETYAI_cjs = require('../chunk-FAHETYAI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkFAHETYAI_cjs.createScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatCheckFeedback", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFAHETYAI_cjs.formatCheckFeedback; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "formatCompletionFeedback", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkFAHETYAI_cjs.formatCompletionFeedback; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "formatStreamCompletionFeedback", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkFAHETYAI_cjs.formatStreamCompletionFeedback; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "formatValidationFeedback", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkFAHETYAI_cjs.formatValidationFeedback; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateFinalResult", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkFAHETYAI_cjs.generateFinalResult; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateStructuredFinalResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkFAHETYAI_cjs.generateStructuredFinalResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "loop", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkFAHETYAI_cjs.loop; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "runChecks", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkFAHETYAI_cjs.runChecks; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "runCompletionScorers", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkFAHETYAI_cjs.runCompletionScorers; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "runDefaultCompletionCheck", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkFAHETYAI_cjs.runDefaultCompletionCheck; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "runStreamCompletionScorers", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkFAHETYAI_cjs.runStreamCompletionScorers; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "runValidation", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkFAHETYAI_cjs.runValidation; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-
|
|
1
|
+
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-WAHKXJC6.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3DW73O5A_cjs = require('../chunk-3DW73O5A.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3DW73O5A_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED