@mastra/memory 1.37.0-alpha.2 → 1.37.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/dist/docs/SKILL.md
CHANGED
|
@@ -73,6 +73,7 @@ Called before the parent agent delegates to a subagent. Return an object to cont
|
|
|
73
73
|
- `proceed: false`: Reject the delegation with a `rejectionReason`
|
|
74
74
|
- `modifiedPrompt`: Rewrite the prompt sent to the subagent
|
|
75
75
|
- `modifiedMaxSteps`: Limit the subagent's iteration count
|
|
76
|
+
- `threadMetadata`: Attach metadata (for example a `tenantId`) to the subagent's thread when it's created, so you can filter threads with `memory.listThreads({ filter: { metadata } })`
|
|
76
77
|
|
|
77
78
|
```typescript
|
|
78
79
|
const stream = await parentAgent.stream('Research AI trends', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/memory",
|
|
3
|
-
"version": "1.37.0
|
|
3
|
+
"version": "1.37.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"typescript": "^6.0.3",
|
|
70
70
|
"typescript-eslint": "^8.57.0",
|
|
71
71
|
"vitest": "4.1.11",
|
|
72
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
73
|
-
"@internal/ai-
|
|
74
|
-
"@internal/
|
|
75
|
-
"@internal/
|
|
76
|
-
"@internal/types-builder": "0.0.
|
|
77
|
-
"@mastra/core": "1.76.0
|
|
72
|
+
"@internal/ai-sdk-v4": "0.0.89",
|
|
73
|
+
"@internal/ai-v6": "0.0.89",
|
|
74
|
+
"@internal/lint": "0.0.142",
|
|
75
|
+
"@internal/ai-sdk-v5": "0.0.89",
|
|
76
|
+
"@internal/types-builder": "0.0.117",
|
|
77
|
+
"@mastra/core": "1.76.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@mastra/core": ">=1.4.1-0 <2.0.0-0"
|