| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(tools): multi step agent prompt caching (#685)01-19-fix_tools_multi_step_agent_prompt_caching | MaheshtheDev | 2026-01-20 | 1 | -5/+19 |
| | | |||||
| * | feat: allow prompt template for @supermemory/tools package (#655)01-06-feat_allow_prompt_template_for_supermemory_tools_package | MaheshtheDev | 2026-01-07 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Add customizable prompt templates for memory injection **Changes:** - Add `promptTemplate` option to `withSupermemory()` for full control over injected memory format (XML, custom branding, etc.) - New `MemoryPromptData` interface with `userMemories` and `generalSearchMemories` fields - Exclude `system` messages from persistence to avoid storing injected prompts - Add JSDoc comments to all public interfaces for better DevEx **Usage:** ```typescript const customPrompt = (data: MemoryPromptData) => ` <user_memories> ${data.userMemories} ${data.generalSearchMemories} </user_memories> `.trim() const model = withSupermemory(openai("gpt-4"), "user-123", { promptTemplate: customPrompt, }) ``` | ||||
| * | feat(@supermemory/tools): vercel ai sdk compatbile with v5 and v6 (#628)12-23-feat_supermemory_tools_vercel_ai_sdk_compatbile_with_v5_and_v6 | MaheshtheDev | 2025-12-24 | 1 | -6/+25 |
| | | |||||
| * | fix: deduplicate memories after returned to save tokens | Dhravya Shah | 2025-12-22 | 1 | -10/+15 |
| | | |||||
| * | feat(@supermemory/tools): capture assitant responses with filtered memory (#539) | MaheshtheDev | 2025-10-28 | 1 | -3/+40 |
| | | | | | | | | | | | | | | | | ### Added streaming support to the Supermemory middleware and improved memory handling in the AI SDK integration. ### What changed? - Refactored the middleware architecture to support both streaming and non-streaming responses - Extracted memory prompt functionality into a separate module (`memory-prompt.ts`) - Added memory saving capability for streaming responses - Improved the formatting of memory content with a "User Supermemories:" prefix - Added utility function to filter out supermemories from content - Created a new streaming example in the test app with a dedicated route and page - Updated version from 1.3.0 to 1.3.1 in package.json - Simplified installation instructions in [README.m](http://README.md)d | ||||
| * | feat: ai sdk language model withSupermemory (#446) | MaheshtheDev | 2025-10-10 | 1 | -0/+35 |