Commit graph

1211 commits

Author SHA1 Message Date
Shoubhit Dash
5612380dc2 fix prompt mutation in vercel middleware 2025-10-22 22:43:09 +05:30
MaheshtheDev
116583481c fix: t3chat prompt injection (#505) 2025-10-21 18:54:43 +00:00
MaheshtheDev
18008fb23f chore: update to new supermemory support email (#503)
updated the new supermemory support email to `support@supermemory.com`
2025-10-21 18:52:45 +00:00
Mahesh Sanikommu
d473913c9c
Merge pull request #497 from aryankeluskar/patch-steps
feat(chat): increase maxSteps to allow multiple tool-calling rounds
2025-10-20 18:15:37 -07:00
Dhravya Shah
88faba05ad
Merge pull request #500 from supermemoryai/10-19-chore_browser-extension_t3_chat_search_memories
feat(browser-extension): setting to enable/disable auto prompt captures
2025-10-20 18:15:07 -07:00
Dhravya Shah
d9a9ce00f8
Merge pull request #501 from supermemoryai/10-19-fix_tools_update_the_docs_for_conversational
fix(tools): update the docs for conversational
2025-10-20 18:14:47 -07:00
Mahesh Sanikommmu
de6a1aef9c fix(tools): update the docs for conversational 2025-10-19 18:21:48 -07:00
Mahesh Sanikommmu
73c54ff2e4 feat: auto capture disabled by default 2025-10-19 16:37:42 -07:00
Mahesh Sanikommmu
51ee88121f chore(browser-extension): t3 chat search memories 2025-10-19 15:30:25 -07:00
sohamd22
79f3059b2a add conversationId functionality to map to customId in ingestion (#499)
### TL;DR

Added support for conversation grouping in Supermemory middleware through a new `conversationId` parameter.

### What changed?

- Added a new `conversationId` option to the `withSupermemory` function to group messages into a single document for contextual memory generation
- Updated the middleware to use this conversation ID when adding memories, using a `customId` format of `conversation:{conversationId}`
- Created a new `getConversationContent` function that extracts the full conversation content from the prompt parameters
- Enhanced memory storage to save entire conversations rather than just the last user message
- Updated documentation and examples to demonstrate the new parameter usage

### How to test?

1. Import the `withSupermemory` function from the package
2. Create a model with memory using the new `conversationId` parameter:
   ```typescript
   const modelWithMemory = withSupermemory(openai("gpt-4"), "user-123", {
     conversationId: "conversation-456",
     mode: "full",
     addMemory: "always"
   })
   ```
3. Use the model in a conversation and verify that messages are grouped by the conversation ID
4. Check that memories are being stored with the custom ID format `conversation:{conversationId}`

### Why make this change?

This enhancement improves the contextual understanding of the AI by allowing related messages to be grouped together as a single conversation document. By using a conversation ID, the system can maintain coherent memory across multiple interactions within the same conversation thread, providing better context retrieval and more relevant responses.
2025-10-19 22:24:00 +00:00
Mahesh Sanikommu
0a96aff86d
Fix formatting in chat-messages.tsx 2025-10-18 23:07:27 -07:00
Aryan Keluskar
eb225636b4 feat(chat): increase maxSteps to allow multiple tool-calling rounds 2025-10-18 22:40:43 -07:00
Dhravya Shah
457101cb3d version bump' 2025-10-18 19:22:29 -07:00
MaheshtheDev
809eaa0d49 feat(browser-extension): folder level x bookmarks import with project selection (#495)
Feature : Import folder level x bookmarks

[Screen Recording 2025-10-17 at 1.37.52 PM.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/user-attachments/thumbnails/15cd60ff-856e-4f29-8897-74ae3c869c87.mov" />](https://app.graphite.dev/user-attachments/video/15cd60ff-856e-4f29-8897-74ae3c869c87.mov)
2025-10-19 00:38:47 +00:00
Mahesh Sanikommu
5a001c639a
Merge pull request #472 from Mikethebot44/feature/show-memory-content-markdown
Add markdown rendering support to memory content display
2025-10-18 17:36:30 -07:00
Dhravya Shah
9c5972b3d6
Merge pull request #491 from vorahardik7/fix/graph-view
fix: mount graph dialog globally to fix chat page issue
2025-10-17 19:39:36 -07:00
Mahesh Sanikommmu
7409de5a33 comment fixes 2025-10-17 17:43:24 -07:00
MaheshtheDev
90eea41ded fix: magic link auth for chrome extension (#492)
The issue is whenever a user is trying to log in with an email and a one-time code, the Chrome extension is not able to authenticate. The fix is to add a callback URL with a query parameter of `extension-auth-success` equal to `true`, which will allow the Chrome extension to identify and verify the auth whenever a user is trying to log in into the Chrome extension.
2025-10-17 04:29:32 +00:00
vorahardik7
33ee19e7aa fix: mount graph dialog globally to fix chat page issue 2025-10-15 19:04:23 -07:00
Dhravya Shah
17fa79cba8
Merge pull request #488 from naman06dev/main
feat: n8n + zapier integration page
2025-10-13 12:14:56 -07:00
Naman Bansal
c352f41b18 feat: zapier page 2025-10-13 17:10:57 +08:00
Naman Bansal
ca3c13b946 feat: n8n integration page 2025-10-13 12:48:24 +08:00
MaheshtheDev
a9e986e680 feat: project selection, creation for each connectors (#486)
- Added Project Selection for Each Connectors
- Updated the Layout from list the cards layout
2025-10-12 06:56:15 +00:00
Mahesh Sanikommu
6a6a65a56a
Merge pull request #485 from supermemoryai/10-10-fix_add_memory_code_params_and_documentation_in_readme
fix: add memory code params and documentation in readme
2025-10-11 08:03:06 -07:00
Mahesh Sanikommmu
b12dfc13f6 removed unneccasry comments 2025-10-10 21:29:27 -07:00
Mahesh Sanikommmu
b3669a2675 removed unused code and lint issues 2025-10-10 21:27:58 -07:00
Mahesh Sanikommmu
3e47d9ee53 fix: side effect removal 2025-10-10 21:13:21 -07:00
Mahesh Sanikommmu
d8874e8c17 fix: add memory code params and documentation in readme 2025-10-10 21:06:52 -07:00
sohamd22
91a2aa5fdb create memory adding option in vercel sdk (#484)
### TL;DR

Added support for automatically saving user messages to Supermemory.

### What changed?

- Added a new `addMemory` option to `wrapVercelLanguageModel` that accepts either "always" or "never" (defaults to "never")
- Implemented the `addMemoryTool` function to save user messages to Supermemory
- Modified the middleware to check the `addMemory` setting and save the last user message when appropriate
- Initialized the Supermemory client in the middleware to enable memory storage

### How to test?

1. Set the `SUPERMEMORY_API_KEY` environment variable
2. Use the `wrapVercelLanguageModel` function with the new `addMemory: "always"` option
3. Send a user message through the model
4. Verify that the message is saved to Supermemory with the specified container tag

### Why make this change?

This change enables automatic memory creation from user messages, which improves the system's ability to build a knowledge base without requiring explicit memory creation calls. This is particularly useful for applications that want to automatically capture and store user interactions for future reference.
2025-10-11 03:45:06 +00:00
Dhravya Shah
177b5e3419
Merge pull request #475 from Mikethebot44/feature/add-memory-dialog-ux
improve Add Memory dialog UX and dark/light mode consistency
2025-10-10 20:40:52 -07:00
Mahesh Sanikommmu
80ae5b9fb6 removed unneccasary comments 2025-10-10 18:36:25 -07:00
Dhravya Shah
55563445b8
Merge pull request #481 from namancoderpro/naman/docs
feat: user profiles docs
2025-10-10 12:48:56 -07:00
Naman Bansal
07ef27488f fix: image typo: 2025-10-10 20:04:07 +08:00
Naman Bansal
01a09fac56 feat: profile page updates 2025-10-10 19:47:57 +08:00
MaheshtheDev
35ac9e086b feat: ai sdk language model withSupermemory (#446) 2025-10-10 05:10:03 +00:00
MaheshtheDev
20c41706e1 fix: mobile layout on empty projects (#479)
Issue:
On mobile, connect to ai modal is overlapping and hard to use the app when project is empty

Fix:
\- Disabling the Connect to ai modal on mobile

**Reason for this fix**, as MCP modal is hardly needed for mobile users

[Report issue link from Discord](https://discord.com/channels/1114913976422256742/1378895805741793350/1425912333556777082)
2025-10-09 23:54:06 +00:00
Your Name
812566767d improve Add Memory dialog UX and dark/light mode consistency 2025-10-09 18:05:39 +08:00
Your Name
1f1619f9b6 feat: format memory dialog content in markdown
- Add markdown rendering support to memory content display
- Auto-detect and format JSON responses in code blocks
- Convert terminal commands to bash code blocks
- Improve code block styling with monospace font and compact spacing
2025-10-09 15:58:53 +08:00
Dhravya Shah
1d56e4ba94
Merge pull request #468 from supermemoryai/10-08-fix_docs_repo_links_and_spell_checks
fix(docs): repo links and spell checks
2025-10-08 20:55:42 -07:00
Dhravya Shah
b3d7388f8c
Merge pull request #469 from aryankeluskar/model-picker-patch
fix: add button type to ModelSelector and ProjectSelector components
2025-10-08 20:55:26 -07:00
Aryan Keluskar
6bb81bfaf8 fix: add button type to ModelSelector and ProjectSelector components 2025-10-08 17:46:58 -07:00
Mahesh Sanikommmu
0fc6d27e7a fix(docs): repo links and spell checks 2025-10-08 17:06:53 -07:00
MaheshtheDev
2ec20df0ea fix: project deletion on moving documents (#467) 2025-10-08 23:34:31 +00:00
Dhravya Shah
1e2657cf5c
Revert "test(ai-sdk): streamText and generateText for ai sdk" (#466) 2025-10-08 15:56:03 -07:00
Mahesh Sanikommu
77b6e2b8dc
test(ai-sdk): streamText and generateText for ai sdk (#451) 2025-10-08 15:55:42 -07:00
Shreyans Jain
4467b65524
fix: openai python sdk package export (#432) 2025-10-08 15:54:42 -07:00
MaheshtheDev
d71ce03c46 feat: manual mcp and quick click to open (#464)
### Enhanced the Connect AI Modal with manual configuration options and improved MCP integration.

### What changed?

- Added a new "Manual Config" tab in the MCP URL section that generates and displays API keys for authentication
- Implemented automatic API key generation for manual MCP configuration
- Added URL parameter support (`?mcp=manual`) to directly open the MCP modal with manual configuration
- Improved the UI with better tab labels and more descriptive instructions
- Added copy functionality for configuration JSON with visual feedback
- Refactored the ConnectAIModal component to accept new props: `openInitialClient` and `openInitialTab`
- Added state management for API keys and copied status
2025-10-08 19:07:13 +00:00
Dhravya Shah
a622318325 remove comments 2025-10-07 17:32:21 -07:00
Dhravya Shah
1a6526dcc7 docs: fix indent 2025-10-07 17:32:04 -07:00
Dhravya Shah
290f731b51 Merge branch 'main' of https://github.com/supermemoryai/supermemory 2025-10-07 17:25:59 -07:00