@mastra/memory 1.8.3-alpha.1 → 1.8.3
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 +36 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-memory-working-memory.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -15469,7 +15469,7 @@ var updateWorkingMemoryTool = (memoryConfig) => {
|
|
|
15469
15469
|
});
|
|
15470
15470
|
}
|
|
15471
15471
|
const usesMergeSemantics = Boolean(schema);
|
|
15472
|
-
const description = schema ? `Update the working memory with new information. Data is merged with existing memory -
|
|
15472
|
+
const description = schema ? `Update the working memory with new information. Data is merged with existing memory - only include fields you want to add or update. To preserve existing data, omit the field entirely. Arrays are replaced entirely when provided, so pass the complete array or omit it to keep the existing values.` : `Update the working memory with new information. Any data not included will be overwritten. Always pass data as string to the memory field. Never pass an object.`;
|
|
15473
15473
|
return createTool({
|
|
15474
15474
|
id: "update-working-memory",
|
|
15475
15475
|
description,
|