ts-v3.1.5
zed-industries/zedts-v3.1.5Aug 5, 2026by whysosaket
AI Summary
Added agent-scoped memory extraction instructions to the Node SDK, allowing separate instruction sets for agent versus user memories.
Key Highlights
- New agentCustomInstructions field in PromptUpdatePayload
- Instructions apply only to agent-scoped memories when agentId is provided without userId
New Features
- agentCustomInstructions parameter in AddMemoryOptions and ProjectResponse
Full Release Notes
**New Features:** - **Client:** Add `agentCustomInstructions` to `PromptUpdatePayload`, `AddMemoryOptions`, and `ProjectResponse`. It sets a second extraction instruction set that applies only to agent-scoped memories: an add passing `agentId` without `userId` uses it, one passing both splits by attribution, and while it is unset `customInstructions` continues to apply to every memory ([#6809](https://github.com/mem0ai/mem0/pull/6809))