Commit graph

1279 commits

Author SHA1 Message Date
Saksham Kushwaha
cccb35160d
feat: optional posthog intialization (#525) 2025-10-27 16:10:15 -07:00
Saksham Kushwaha
eb5ae20e3f
Fix/invalid dom property (#526)
Co-authored-by: Mahesh Sanikommu <mahesh.svmr@gmail.com>
2025-10-27 13:53:50 -07:00
MaheshtheDev
9d7f1edbfb fix: openai sdk packaging issue (#532) 2025-10-27 20:40:51 +00:00
MaheshtheDev
6a47cd9763 chore: skip the conditional org switch for better auth state share (#533) 2025-10-27 20:38:45 +00:00
MaheshtheDev
b3aab91489 feat: withSupermemory for openai sdk (#531)
### TL;DR

Added OpenAI SDK middleware support for SuperMemory integration, allowing direct memory injection without AI SDK dependency.

### What changed?

- Added `withSupermemory` middleware for OpenAI SDK that automatically injects relevant memories into chat completions
- Implemented memory search and injection functionality for OpenAI clients
- Restructured the OpenAI module to separate tools and middleware functionality
- Updated README with comprehensive documentation and examples for the new OpenAI middleware
- Added test implementation with a Next.js API route example
- Reorganized package exports to support the new structure
2025-10-27 20:08:11 +00:00
MaheshtheDev
8bb22ebe46 feat: more clarity on the connectors sync (#523)
When connector is syncing
![image.png](https://app.graphite.dev/user-attachments/assets/68ab8a7f-6e0c-4900-8b6e-a7f1e1ae99f2.png)

After connected showing the metadata
![image.png](https://app.graphite.dev/user-attachments/assets/d53d3cc9-234b-4365-b4e0-c50ab23d8876.png)
2025-10-27 03:17:28 +00:00
MaheshtheDev
cedd28ff72 fix: pricing in the settings (#528) 2025-10-27 03:07:28 +00:00
MaheshtheDev
3ca82e7116 fix: auto switch to expected org (#522) 2025-10-25 23:27:12 +00:00
MaheshtheDev
9036516c7d fix: bun lock build issue (#519) 2025-10-24 22:34:24 +00:00
Mahesh Sanikommu
9a600665d9
Merge pull request #517 from lirena00/feature/better-loading-screen
feat: update app component to have a better loading screen
2025-10-24 14:27:11 -07:00
Saksham
173280dcf8 feat: update App component to have a better loading screen
- Changed the logo image source in App.tsx to use a file based svg rather than url one.
- Enhanced the loading indicator with an animated SVG.
- Adjusted styles for better alignment and spacing in the loading section.
- Added the dark-transparent.svg file to the public directory.
2025-10-24 22:41:11 +05:30
Dhravya Shah
155ec718e2
Merge pull request #509 from supermemoryai/prompt-mutation
fix: prompt mutation in withSupermemory and types for props
2025-10-22 18:09:07 -07:00
Mahesh Sanikommmu
4f2d839412 chat app withSupermemory test 2025-10-22 14:00:59 -07:00
Mahesh Sanikommmu
5fb33743b3 add props interface export 2025-10-22 12:31:54 -07:00
Mahesh Sanikommu
555a8ab5b3
Merge pull request #498 from max-programming/main
docs: fixed naming convention of SDK usage examples
2025-10-22 11:19:09 -07:00
Shoubhit Dash
8436229cbb add comment 2025-10-22 23:00:08 +05:30
Shoubhit Dash
4365fbd2a2 add test 2025-10-22 22:58:32 +05:30
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
Usman Sabuwala
1585c0d651
Fixed naming convention of SDK usage examples 2025-10-19 20:08:27 +05:30
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