@mastra/core 1.15.0-alpha.4 → 1.16.0-alpha.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 +115 -0
- package/dist/_types/@internal_core/dist/index.d.ts +7 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts +1 -1
- package/dist/agent/workflows/prepare-stream/prepare-tools-step.d.ts.map +1 -1
- package/dist/{chunk-ALQKGV35.js → chunk-2PSKFARX.js} +5 -5
- package/dist/{chunk-ALQKGV35.js.map → chunk-2PSKFARX.js.map} +1 -1
- package/dist/{chunk-MJKEBUMM.js → chunk-3IACFBML.js} +3 -3
- package/dist/{chunk-MJKEBUMM.js.map → chunk-3IACFBML.js.map} +1 -1
- package/dist/{chunk-LFMJYWJ7.js → chunk-3SDR4BWW.js} +10 -3
- package/dist/chunk-3SDR4BWW.js.map +1 -0
- package/dist/{chunk-JUL4UHWQ.cjs → chunk-4SE5WPZS.cjs} +6 -3
- package/dist/chunk-4SE5WPZS.cjs.map +1 -0
- package/dist/{chunk-YVFFNB2F.cjs → chunk-542IIQM4.cjs} +9 -9
- package/dist/{chunk-YVFFNB2F.cjs.map → chunk-542IIQM4.cjs.map} +1 -1
- package/dist/{chunk-ZHWQKPUV.cjs → chunk-57NZ23ZE.cjs} +39 -32
- package/dist/chunk-57NZ23ZE.cjs.map +1 -0
- package/dist/{chunk-Y6DV2OT2.js → chunk-5QV7Z7XH.js} +32 -5
- package/dist/chunk-5QV7Z7XH.js.map +1 -0
- package/dist/{chunk-FYQXIWRH.cjs → chunk-64L4MPSZ.cjs} +13 -13
- package/dist/{chunk-FYQXIWRH.cjs.map → chunk-64L4MPSZ.cjs.map} +1 -1
- package/dist/{chunk-W7I3FI2N.cjs → chunk-6W6AOWKN.cjs} +82 -82
- package/dist/{chunk-W7I3FI2N.cjs.map → chunk-6W6AOWKN.cjs.map} +1 -1
- package/dist/{chunk-CGQ7ENXU.js → chunk-7QYYD3UW.js} +7 -7
- package/dist/{chunk-CGQ7ENXU.js.map → chunk-7QYYD3UW.js.map} +1 -1
- package/dist/{chunk-ERY767HB.js → chunk-A5LEVLFM.js} +16 -8
- package/dist/chunk-A5LEVLFM.js.map +1 -0
- package/dist/{chunk-OY45D5N5.js → chunk-DQDA2GAF.js} +3 -3
- package/dist/{chunk-OY45D5N5.js.map → chunk-DQDA2GAF.js.map} +1 -1
- package/dist/{chunk-CK5R5ZNR.cjs → chunk-H2KIHE4I.cjs} +51 -9
- package/dist/chunk-H2KIHE4I.cjs.map +1 -0
- package/dist/{chunk-U3ZKCVTO.js → chunk-HQH3FILI.js} +4 -4
- package/dist/{chunk-U3ZKCVTO.js.map → chunk-HQH3FILI.js.map} +1 -1
- package/dist/{chunk-XQHRNOOO.cjs → chunk-LHNUJEV5.cjs} +23 -23
- package/dist/chunk-LHNUJEV5.cjs.map +1 -0
- package/dist/{chunk-BJYSPRTD.js → chunk-NMVEVERK.js} +3 -3
- package/dist/{chunk-BJYSPRTD.js.map → chunk-NMVEVERK.js.map} +1 -1
- package/dist/{chunk-VZWFITNF.cjs → chunk-P3Z47LFL.cjs} +13 -13
- package/dist/{chunk-VZWFITNF.cjs.map → chunk-P3Z47LFL.cjs.map} +1 -1
- package/dist/{chunk-6EG7YHGD.js → chunk-PQWKSCWD.js} +11 -4
- package/dist/chunk-PQWKSCWD.js.map +1 -0
- package/dist/{chunk-ZFVANSSN.cjs → chunk-QKZGMKBV.cjs} +13 -6
- package/dist/chunk-QKZGMKBV.cjs.map +1 -0
- package/dist/{chunk-FRPV7F7E.cjs → chunk-R5IZY5AI.cjs} +185 -185
- package/dist/{chunk-FRPV7F7E.cjs.map → chunk-R5IZY5AI.cjs.map} +1 -1
- package/dist/{chunk-ELXO2ZGY.cjs → chunk-RAPHSIIS.cjs} +68 -68
- package/dist/{chunk-ELXO2ZGY.cjs.map → chunk-RAPHSIIS.cjs.map} +1 -1
- package/dist/{chunk-K636CQJK.js → chunk-TE3EH746.js} +3 -3
- package/dist/{chunk-K636CQJK.js.map → chunk-TE3EH746.js.map} +1 -1
- package/dist/{chunk-LVA4AOT3.js → chunk-VAPRBIHM.js} +50 -8
- package/dist/chunk-VAPRBIHM.js.map +1 -0
- package/dist/{chunk-3PUUIEVX.js → chunk-VBVVGBJJ.js} +6 -3
- package/dist/chunk-VBVVGBJJ.js.map +1 -0
- package/dist/{chunk-VSGRSX3N.cjs → chunk-XAFCD3W2.cjs} +49 -22
- package/dist/chunk-XAFCD3W2.cjs.map +1 -0
- package/dist/{chunk-GU6MTO2I.js → chunk-XHXYXSH7.js} +5 -5
- package/dist/{chunk-GU6MTO2I.js.map → chunk-XHXYXSH7.js.map} +1 -1
- package/dist/{chunk-PDAZKZWB.cjs → chunk-XIC3EDT4.cjs} +3 -3
- package/dist/{chunk-PDAZKZWB.cjs.map → chunk-XIC3EDT4.cjs.map} +1 -1
- package/dist/{chunk-NI24OP2N.cjs → chunk-XZE2N5VH.cjs} +179 -171
- package/dist/chunk-XZE2N5VH.cjs.map +1 -0
- package/dist/{chunk-NYOTRFJQ.js → chunk-YQECYE7N.js} +12 -12
- package/dist/chunk-YQECYE7N.js.map +1 -0
- package/dist/{chunk-65K5KHEQ.cjs → chunk-YVVZSL6J.cjs} +7 -7
- package/dist/{chunk-65K5KHEQ.cjs.map → chunk-YVVZSL6J.cjs.map} +1 -1
- package/dist/{chunk-EYLPPZIF.js → chunk-YZZRYFTN.js} +4 -4
- package/dist/{chunk-EYLPPZIF.js.map → chunk-YZZRYFTN.js.map} +1 -1
- package/dist/{chunk-DIMION2S.cjs → chunk-Z6SLUMEY.cjs} +9 -9
- package/dist/{chunk-DIMION2S.cjs.map → chunk-Z6SLUMEY.cjs.map} +1 -1
- package/dist/datasets/dataset.d.ts +8 -1
- package/dist/datasets/dataset.d.ts.map +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/datasets/manager.d.ts +3 -0
- package/dist/datasets/manager.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +456 -456
- package/dist/evals/index.cjs +20 -20
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +7 -7
- package/dist/evals/scoreTraces/index.js +3 -3
- 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 +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +22 -1
- 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/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-46T4RYCV.js +3 -0
- package/dist/{models-dev-WCXTFBNF.js.map → models-dev-46T4RYCV.js.map} +1 -1
- package/dist/models-dev-IXRDPMYE.cjs +12 -0
- package/dist/{models-dev-DJ7R4TZH.cjs.map → models-dev-IXRDPMYE.cjs.map} +1 -1
- package/dist/netlify-A25PHNK2.js +3 -0
- package/dist/{netlify-NMYNMNGY.js.map → netlify-A25PHNK2.js.map} +1 -1
- package/dist/netlify-AERELDDR.cjs +12 -0
- package/dist/{netlify-YEHOZHML.cjs.map → netlify-AERELDDR.cjs.map} +1 -1
- package/dist/observability/index.cjs +18 -18
- package/dist/observability/index.js +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-6T2HS3XM.cjs +40 -0
- package/dist/{provider-registry-7QEVAVHF.cjs.map → provider-registry-6T2HS3XM.cjs.map} +1 -1
- package/dist/provider-registry-FE4XSUID.js +3 -0
- package/dist/{provider-registry-S7PSD7QK.js.map → provider-registry-FE4XSUID.js.map} +1 -1
- package/dist/provider-registry.json +46 -4
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +56 -56
- package/dist/storage/constants.d.ts.map +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/datasets/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/experiments/base.d.ts +2 -1
- package/dist/storage/domains/experiments/base.d.ts.map +1 -1
- package/dist/storage/domains/experiments/inmemory.d.ts +2 -1
- package/dist/storage/domains/experiments/inmemory.d.ts.map +1 -1
- package/dist/storage/index.cjs +264 -264
- package/dist/storage/index.js +3 -3
- package/dist/storage/types.d.ts +30 -0
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.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 +10 -10
- package/src/llm/model/provider-types.generated.d.ts +22 -1
- package/dist/chunk-3PUUIEVX.js.map +0 -1
- package/dist/chunk-6EG7YHGD.js.map +0 -1
- package/dist/chunk-CK5R5ZNR.cjs.map +0 -1
- package/dist/chunk-ERY767HB.js.map +0 -1
- package/dist/chunk-JUL4UHWQ.cjs.map +0 -1
- package/dist/chunk-LFMJYWJ7.js.map +0 -1
- package/dist/chunk-LVA4AOT3.js.map +0 -1
- package/dist/chunk-NI24OP2N.cjs.map +0 -1
- package/dist/chunk-NYOTRFJQ.js.map +0 -1
- package/dist/chunk-VSGRSX3N.cjs.map +0 -1
- package/dist/chunk-XQHRNOOO.cjs.map +0 -1
- package/dist/chunk-Y6DV2OT2.js.map +0 -1
- package/dist/chunk-ZFVANSSN.cjs.map +0 -1
- package/dist/chunk-ZHWQKPUV.cjs.map +0 -1
- package/dist/models-dev-DJ7R4TZH.cjs +0 -12
- package/dist/models-dev-WCXTFBNF.js +0 -3
- package/dist/netlify-NMYNMNGY.js +0 -3
- package/dist/netlify-YEHOZHML.cjs +0 -12
- package/dist/provider-registry-7QEVAVHF.cjs +0 -40
- package/dist/provider-registry-S7PSD7QK.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,120 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.16.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added dataset-agent association and experiment status tracking for the Evaluate workflow. ([#14470](https://github.com/mastra-ai/mastra/pull/14470))
|
|
8
|
+
- **Dataset targeting**: Added `targetType` and `targetIds` fields to datasets, enabling association with agents, scorers, or workflows. Datasets can now be linked to multiple entities.
|
|
9
|
+
- **Experiment status**: Added `status` field to experiment results (`'needs-review'`, `'reviewed'`, `'complete'`) for review queue workflow.
|
|
10
|
+
- **Dataset experiment routes**: Added API endpoints for triggering experiments from a dataset with configurable target type and target ID.
|
|
11
|
+
- **LLM data generation**: Added endpoint for generating dataset items using an LLM with configurable count and prompt.
|
|
12
|
+
- **Failure analysis**: Added endpoint for clustering experiment failures and proposing tags using LLM analysis.
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Update provider registry and model documentation with latest models and providers ([`68ed4e9`](https://github.com/mastra-ai/mastra/commit/68ed4e9f118e8646b60a6112dabe854d0ef53902))
|
|
17
|
+
|
|
18
|
+
- Fixed missing tool lists in agent traces for streaming runs. Exporters like Datadog LLM Observability now receive the tools available to the agent. ([#14550](https://github.com/mastra-ai/mastra/pull/14550))
|
|
19
|
+
|
|
20
|
+
- Added client/server body schemas for feedback and scores that omit the timestamp field, allowing it to be set server-side ([#14470](https://github.com/mastra-ai/mastra/pull/14470))
|
|
21
|
+
|
|
22
|
+
## 1.15.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- Add `server.studioHost`, `server.studioProtocol`, and `server.studioPort` options for Studio in cloud deployments ([#12899](https://github.com/mastra-ai/mastra/pull/12899))
|
|
27
|
+
|
|
28
|
+
When deploying to cloud environments (e.g., Google Cloud Run), `server.host` must be `0.0.0.0` for the container to accept traffic, and the internal port often differs from the external one (e.g., 8080 internally vs 443 externally). Studio needs the actual public domain, protocol, and port to make API calls from the browser. These new options decouple the server bind configuration from the Studio API URL.
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
export const mastra = new Mastra({
|
|
32
|
+
server: {
|
|
33
|
+
host: '0.0.0.0',
|
|
34
|
+
port: 8080,
|
|
35
|
+
studioHost: 'my-app.run.app',
|
|
36
|
+
studioProtocol: 'https',
|
|
37
|
+
studioPort: 443,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
All three options are optional and fall back to existing behavior when not set.
|
|
43
|
+
|
|
44
|
+
- Added filesystem-level optimistic concurrency for file writes. When `expectedMtime` is provided in `WriteOptions`, the write will be rejected with a `StaleFileError` if the file was modified externally since it was last read. This provides defense-in-depth against external modifications (e.g., LSP-based editors) that occur between the tool-level mtime check and the actual write. ([#14354](https://github.com/mastra-ai/mastra/pull/14354))
|
|
45
|
+
|
|
46
|
+
**New `expectedMtime` option on `WriteOptions`**
|
|
47
|
+
|
|
48
|
+
Any caller of `filesystem.writeFile()` can now opt into optimistic concurrency:
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
// Read a file and capture its mtime
|
|
52
|
+
const stat = await filesystem.stat('config.json');
|
|
53
|
+
const content = await filesystem.readFile('config.json');
|
|
54
|
+
|
|
55
|
+
// Later, write with mtime guard — fails if file changed externally
|
|
56
|
+
await filesystem.writeFile('config.json', newContent, {
|
|
57
|
+
overwrite: true,
|
|
58
|
+
expectedMtime: stat.modifiedAt,
|
|
59
|
+
});
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
If the file was modified between the read and write, a `StaleFileError` is thrown instead of silently overwriting.
|
|
63
|
+
|
|
64
|
+
**Automatic mtime pass-through for workspace tools**
|
|
65
|
+
|
|
66
|
+
When `requireReadBeforeWrite` is enabled, the `edit_file`, `write_file`, and `ast_edit` tools now automatically pass the recorded mtime through to the filesystem layer, providing a second line of defense beyond the existing tool-level read tracker check.
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Update provider registry and model documentation with latest models and providers ([`cb611a1`](https://github.com/mastra-ai/mastra/commit/cb611a1e89a4f4cf74c97b57e0c27bb56f2eceb5))
|
|
71
|
+
|
|
72
|
+
- Added experimental retrieval-mode recall tooling for observational memory. ([#14437](https://github.com/mastra-ai/mastra/pull/14437))
|
|
73
|
+
|
|
74
|
+
When `observationalMemory.retrieval` is enabled with `scope: 'thread'`, observation groups store colon-delimited message ranges (`startId:endId`) pointing back to the raw messages they were derived from. A `recall` tool is registered that lets agents retrieve those source messages via cursor-based pagination.
|
|
75
|
+
|
|
76
|
+
The recall tool supports:
|
|
77
|
+
- **Detail levels**: `detail: 'low'` (default) returns truncated text with part indices; `detail: 'high'` returns full content clamped to one part per call with continuation hints
|
|
78
|
+
- **Part-level fetch**: `partIndex` targets a single message part at full detail
|
|
79
|
+
- **Pagination flags**: `hasNextPage` and `hasPrevPage` in results
|
|
80
|
+
- **Token limiting**: results are capped at a token budget with `truncated` and `tokenOffset` reporting
|
|
81
|
+
- **Smart range detection**: passing a range as a cursor returns a helpful hint explaining how to extract individual IDs
|
|
82
|
+
|
|
83
|
+
- Fixed agent.stream() so the returned spanId matches the top-level agent run span instead of the nested model span. ([#14447](https://github.com/mastra-ai/mastra/pull/14447))
|
|
84
|
+
|
|
85
|
+
- Fixed deserializeRequestContext to return an actual RequestContext instance instead of a Map, preventing crashes during Inngest durable execution replay with observability enabled. ([#14442](https://github.com/mastra-ai/mastra/pull/14442))
|
|
86
|
+
|
|
87
|
+
- Fixed trace context propagation in evented workflow steps and processors. Operations started inside those steps now appear under the correct parent in distributed traces. ([#14455](https://github.com/mastra-ai/mastra/pull/14455))
|
|
88
|
+
|
|
89
|
+
- Fix OTEL context propagation in workflow step execution. Wrapping `step.execute()` in `executeWithContext` ensures auto-instrumented code inside a step (e.g. AI SDK spans) is correctly nested under the workflow step span rather than appearing as siblings. ([#13755](https://github.com/mastra-ai/mastra/pull/13755))
|
|
90
|
+
|
|
91
|
+
- Added opt-in Observational Memory thread titles. ([#14436](https://github.com/mastra-ai/mastra/pull/14436))
|
|
92
|
+
|
|
93
|
+
When enabled, the Observer suggests a short thread title and updates it as the conversation topic changes. Harness consumers can detect these updates via the new `om_thread_title_updated` event.
|
|
94
|
+
|
|
95
|
+
**Example**
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
const memory = new Memory({
|
|
99
|
+
options: {
|
|
100
|
+
observationalMemory: {
|
|
101
|
+
observation: {
|
|
102
|
+
threadTitle: true,
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
});
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
- Added version query parameters to GET /api/agents/:agentId endpoint. Code-defined agents can now be resolved with specific stored config versions using ?status=draft (latest, default), ?status=published (active version), or ?versionId=<id> (specific version). ([#14156](https://github.com/mastra-ai/mastra/pull/14156))
|
|
110
|
+
|
|
111
|
+
- Fixed generation span output to include tool call data, enabling PostHog's LLM Analytics Tools tab to extract and display tool usage ([#14383](https://github.com/mastra-ai/mastra/pull/14383))
|
|
112
|
+
|
|
113
|
+
- Fixed a bug where workflow-based processor execution would pass null stream parts to subsequent processors. When a processor's processOutputStream returns null (e.g., a guardrail filtering a part), the next processor in the chain would receive null as the part, causing potential errors. The null guard now matches the inline processor path behavior, skipping processors when the part is null. ([#14514](https://github.com/mastra-ai/mastra/pull/14514))
|
|
114
|
+
|
|
115
|
+
- Updated dependencies [[`b71bce1`](https://github.com/mastra-ai/mastra/commit/b71bce144912ed33f76c52a94e594988a649c3e1), [`cd7b568`](https://github.com/mastra-ai/mastra/commit/cd7b568fe427b1b4838abe744fa5367a47539db3)]:
|
|
116
|
+
- @mastra/schema-compat@1.2.6
|
|
117
|
+
|
|
3
118
|
## 1.15.0-alpha.4
|
|
4
119
|
|
|
5
120
|
### Patch Changes
|
|
@@ -686,6 +686,7 @@ declare const feedbackRecordSchema: z.ZodObject<{
|
|
|
686
686
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
687
|
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
688
688
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
690
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
690
691
|
}, z.core.$strip>;
|
|
691
692
|
/** Feedback record type for storage */
|
|
@@ -702,6 +703,7 @@ declare const feedbackInputSchema: z.ZodObject<{
|
|
|
702
703
|
userId: z.ZodOptional<z.ZodString>;
|
|
703
704
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
704
705
|
experimentId: z.ZodOptional<z.ZodString>;
|
|
706
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
705
707
|
}, z.core.$strip>;
|
|
706
708
|
/** User-facing feedback input type */
|
|
707
709
|
type FeedbackInput = z.infer<typeof feedbackInputSchema>;
|
|
@@ -716,6 +718,7 @@ declare const createFeedbackRecordSchema: z.ZodObject<{
|
|
|
716
718
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
717
719
|
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
718
720
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
721
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
719
722
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
720
723
|
}, z.core.$strip>;
|
|
721
724
|
/** Feedback record for creation */
|
|
@@ -732,6 +735,7 @@ declare const createFeedbackArgsSchema: z.ZodObject<{
|
|
|
732
735
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
733
736
|
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
734
737
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
738
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
735
739
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
736
740
|
}, z.core.$strip>;
|
|
737
741
|
}, z.core.$strip>;
|
|
@@ -749,6 +753,7 @@ declare const createFeedbackBodySchema: z.ZodObject<{
|
|
|
749
753
|
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
750
754
|
feedbackType: z.ZodString;
|
|
751
755
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
756
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
752
757
|
}, z.core.$strip>;
|
|
753
758
|
}, z.core.$strip>;
|
|
754
759
|
/** Body for creating feedback in client/server */
|
|
@@ -771,6 +776,7 @@ declare const batchCreateFeedbackArgsSchema: z.ZodObject<{
|
|
|
771
776
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
772
777
|
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
773
778
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
779
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
780
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
775
781
|
}, z.core.$strip>>;
|
|
776
782
|
}, z.core.$strip>;
|
|
@@ -867,6 +873,7 @@ declare const listFeedbackResponseSchema: z.ZodObject<{
|
|
|
867
873
|
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
868
874
|
experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
869
875
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
|
+
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
870
877
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
871
878
|
}, z.core.$strip>>;
|
|
872
879
|
}, z.core.$strip>;
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXZE2N5VH_cjs = require('../chunk-XZE2N5VH.cjs');
|
|
4
4
|
var chunkO6O5MD7Q_cjs = require('../chunk-O6O5MD7Q.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Agent", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkXZE2N5VH_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TripWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkXZE2N5VH_cjs.TripWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isSupportedLanguageModel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkXZE2N5VH_cjs.isSupportedLanguageModel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveThreadIdFromArgs", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkXZE2N5VH_cjs.resolveThreadIdFromArgs; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkXZE2N5VH_cjs.supportedLanguageModelSpecifications; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkXZE2N5VH_cjs.tryGenerateWithJsonFallback; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkXZE2N5VH_cjs.tryStreamWithJsonFallback; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "MessageList", {
|
|
37
37
|
enumerable: true,
|
package/dist/agent/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-
|
|
1
|
+
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-A5LEVLFM.js';
|
|
2
2
|
export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-YPJ5V2S5.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -18,7 +18,7 @@ interface CreatePrepareStreamWorkflowOptions<OUTPUT = undefined> {
|
|
|
18
18
|
resourceId?: string;
|
|
19
19
|
runId: string;
|
|
20
20
|
requestContext: RequestContext;
|
|
21
|
-
agentSpan
|
|
21
|
+
agentSpan?: Span<SpanType.AGENT_RUN>;
|
|
22
22
|
methodType: AgentMethodType;
|
|
23
23
|
instructions: SystemMessage;
|
|
24
24
|
memoryConfig?: MemoryConfigInternal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,UAAU,kCAAkC,CAAC,MAAM,GAAG,SAAS;IAC7D,YAAY,EAAE,iBAAiB,CAAC;IAChC,OAAO,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;K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KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACrC,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE;QACd,UAAU,EAAE,GAAG,CAAC;QAChB,QAAQ,EAAE,GAAG,CAAC;KACf,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,wBAAgB,2BAA2B,CAAC,MAAM,GAAG,SAAS,EAAE,EAC9D,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,SAAS,EACT,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,GACV,EAAE,kCAAkC,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;sXA2E5C"}
|
|
@@ -16,7 +16,7 @@ interface MapResultsStepOptions<OUTPUT = undefined> {
|
|
|
16
16
|
requestContext: RequestContext;
|
|
17
17
|
memory?: MastraMemory;
|
|
18
18
|
memoryConfig?: MemoryConfigInternal;
|
|
19
|
-
agentSpan
|
|
19
|
+
agentSpan?: Span<SpanType.AGENT_RUN>;
|
|
20
20
|
agentId: string;
|
|
21
21
|
methodType: AgentMethodType;
|
|
22
22
|
saveQueueManager?: SaveQueueManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-results-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/map-results-step.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,qCAAqC,CAAC;AAChG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEnG,UAAU,qBAAqB,CAAC,MAAM,GAAG,SAAS;IAChD,YAAY,EAAE,iBAAiB,CAAC;IAChC,OAAO,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"map-results-step.d.ts","sourceRo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AAE,OAAO,CAAC,CAAC,CAAC;CACxD;AAED,wBAAgB,oBAAoB,CAAC,MAAM,GAAG,SAAS,EAAE,EACvD,YAAY,EACZ,OAAO,EACP,UAAU,EACV,KAAK,EACL,cAAc,EACd,MAAM,EACN,YAAY,EACZ,SAAS,EACT,OAAO,EACP,UAAU,EACV,gBAAgB,GACjB,EAAE,qBAAqB,CAAC,MAAM,CAAC,GAAG,IAAI,CACrC,MAAM,EACN,OAAO,EACP;IACE,oBAAoB,EAAE,sBAAsB,CAAC;IAC7C,qBAAqB,EAAE,uBAAuB,CAAC;CAChD,EACD,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,CACjC,CAAC,SAAS,CAAC,CA6PX"}
|
|
@@ -14,7 +14,7 @@ interface PrepareToolsStepOptions<OUTPUT = undefined> {
|
|
|
14
14
|
resourceId?: string;
|
|
15
15
|
runId: string;
|
|
16
16
|
requestContext: RequestContext;
|
|
17
|
-
agentSpan
|
|
17
|
+
agentSpan?: Span<SpanType.AGENT_RUN>;
|
|
18
18
|
methodType: AgentMethodType;
|
|
19
19
|
memory?: MastraMemory;
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-tools-step.d.ts","sourceRoot":"","sources":["../../../../src/agent/workflows/prepare-stream/prepare-tools-step.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,M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MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IACrC,UAAU,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,GAAG,SAAS,EAAE,EACzD,YAAY,EACZ,OAAO,EACP,cAAc,EACd,UAAU,EACV,KAAK,EACL,cAAc,EACd,SAAS,EACT,UAAU,EACV,MAAM,GACP,EAAE,uBAAuB,CAAC,MAAM,CAAC;;8EAuDjC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { validateStepInput, createDeprecationProxy, validateStepSuspendData, getStepResult, runCountDeprecationMessage, TripWire, createTimeTravelExecutionParams, validateStepResumeData, Workflow, isSupportedLanguageModel, ProcessorState, ProcessorStepOutputSchema, ProcessorStepSchema, Run, WorkflowRunOutput, ExecutionEngine, cleanStepResult, hydrateSerializedStepErrors, Agent, ProcessorRunner, forwardAgentStreamChunk } from './chunk-
|
|
1
|
+
import { validateStepInput, createDeprecationProxy, validateStepSuspendData, getStepResult, runCountDeprecationMessage, TripWire, createTimeTravelExecutionParams, validateStepResumeData, Workflow, isSupportedLanguageModel, ProcessorState, ProcessorStepOutputSchema, ProcessorStepSchema, Run, WorkflowRunOutput, ExecutionEngine, cleanStepResult, hydrateSerializedStepErrors, Agent, ProcessorRunner, forwardAgentStreamChunk } from './chunk-A5LEVLFM.js';
|
|
2
2
|
import { STREAM_FORMAT_SYMBOL, PUBSUB_SYMBOL } from './chunk-2QXNHEDL.js';
|
|
3
|
-
import { createPendingMarker } from './chunk-
|
|
3
|
+
import { createPendingMarker } from './chunk-5QV7Z7XH.js';
|
|
4
4
|
import { MessageList } from './chunk-YPJ5V2S5.js';
|
|
5
|
-
import { executeWithContext, createObservabilityContext, resolveObservabilityContext, EntityType } from './chunk-
|
|
5
|
+
import { executeWithContext, createObservabilityContext, resolveObservabilityContext, EntityType } from './chunk-VBVVGBJJ.js';
|
|
6
6
|
import { ToolStream } from './chunk-DD2VNRQM.js';
|
|
7
7
|
import { Tool } from './chunk-UPXPPD5L.js';
|
|
8
8
|
import { toStandardSchema } from './chunk-6VAVASZ5.js';
|
|
@@ -4619,5 +4619,5 @@ var EventedExecutionEngine = class extends ExecutionEngine {
|
|
|
4619
4619
|
};
|
|
4620
4620
|
|
|
4621
4621
|
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow };
|
|
4622
|
-
//# sourceMappingURL=chunk-
|
|
4623
|
-
//# sourceMappingURL=chunk-
|
|
4622
|
+
//# sourceMappingURL=chunk-2PSKFARX.js.map
|
|
4623
|
+
//# sourceMappingURL=chunk-2PSKFARX.js.map
|