ts-v3.1.5
mem0ai/mem0ts-v3.1.5Aug 5, 2026by whysosaket
AI Summary
Node SDK update adding agent-specific instruction support to match the Python SDK's feature set.
Key Highlights
- Added 'agentCustomInstructions' to TypeScript types (PromptUpdatePayload, AddMemoryOptions, ProjectResponse).
- Supports distinct extraction instruction sets for agent-scoped memories.
New Features
- agentCustomInstructions support in TypeScript types
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))