Commit graph

32 commits

Author SHA1 Message Date
Dhravya Shah
2f8bafac4e update quickstart 2025-11-27 09:53:11 -07:00
nexxeln
895f37ac89 runtime styles injection + let user proxy requests for data in graph package + new playground (#588) 2025-11-22 07:04:05 +00:00
nexxeln
5e24eb66c3 package the graph (#563)
includes:

- a package that contains a MemoryGraph component which handles fetching data and rendering the graph
- a playground to test the package

problems:

- the bundle size is huge
- the styles are kinda broken? we are using [https://www.npmjs.com/package/vite-plugin-libgi-inject-css](https://www.npmjs.com/package/vite-plugin-lib-inject-css) to inject the styles

![image.png](https://app.graphite.com/user-attachments/assets/cb1822c5-850a-45a2-9bfa-72b73436659f.png)
2025-11-19 18:57:56 +00:00
MaheshtheDev
a88525feb0 fix: org switch issue on consumer when dev org exists (#577) 2025-11-11 19:10:13 +00:00
Aryan Keluskar
7e692f9862
Migrate Chat Persistence from localStorage to IndexedDB to Fix QuotaExceededError (#560) 2025-11-06 22:20:57 -08:00
Dhravya Shah
0b5aeaec4b chore: update lockfile 2025-11-05 18:37:47 -07:00
Karan Lokchandani
371a848ddf
Upgrade to nextjs16 (#557)
Signed-off-by: Karan <karanlokchandani@protonmail.com>
2025-11-04 18:46:10 -08:00
MaheshtheDev
8d8d6d91aa feat(browser-extension): webpages capture with markdown conversion (#548)
Improved browser extension memory saving with better content handling and added markdown conversion.

### What changed?

- Enhanced memory content handling in the background script to prioritize different content types (explicit content, highlighted text, markdown, HTML, or URL)
- Added HTML to markdown conversion using TurndownService when saving entire pages
- Improved HTML handling by removing script tags before processing
- Updated the web app to display the saved URL from metadata when available
- Added turndown library and its type definitions as dependencies
2025-11-03 00:41:59 +00:00
VIshal Anton
70e563fb9a
chore: remove unused packages (#551)
Co-authored-by: antonvishal <antonvishal@appexert.com>
2025-11-02 11:03:04 -08:00
MaheshtheDev
97071502a7 feat(@supermemory/tools): capture assitant responses with filtered memory (#539)
### 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
2025-10-28 22:28:22 +00:00
MaheshtheDev
9036516c7d fix: bun lock build issue (#519) 2025-10-24 22:34:24 +00:00
Shoubhit Dash
5612380dc2 fix prompt mutation in vercel middleware 2025-10-22 22:43:09 +05:30
MaheshtheDev
35ac9e086b feat: ai sdk language model withSupermemory (#446) 2025-10-10 05:10:03 +00:00
MaheshtheDev
b148296f50 feat: layout design with theme improvements (#443)
feat: layout design with theme improvements

new improvements on light mode layout

chore: settings page with graph header and memories list
2025-10-01 21:59:54 +00:00
alexf37
ede0f39303 feat: new onboarding flow (#408)
This is the onboarding flow that you have all seen in my demo.
2025-10-01 21:59:53 +00:00
Dhravya Shah
53bc296155 feat: Claude memory integration 2025-09-29 13:40:56 -07:00
Dhravya Shah
5bbb4edf1b fix: build 2025-09-28 22:41:28 -07:00
MaheshtheDev
a09e9db7e0 fix: disable experimental React Compiler in Next.js config and remove babel-plugin-react-compiler dependency. (#441)
Removed React Compiler from the project configuration and dependencies.

### What changed?

- Removed `reactCompiler: true` from the experimental options in `next.config.ts`
- Removed `babel-plugin-react-compiler` dependency from `package.json`
- Updated formatting in `next.config.ts` to use consistent indentation and semicolons

### Why make this change?

React Compiler (formerly React Forget) is still in experimental phase and may be causing stability issues or unnecessary complexity in the build process. Removing it simplifies our dependency tree while maintaining full functionality. The PostHog update ensures we're using the latest version with any bug fixes or improvements.
2025-09-28 20:15:49 +00:00
Dhravya Shah
27ea75b4a2 change /memories to /documents, remove unwanted dependency, biome format 2025-09-15 19:02:24 -07:00
MaheshtheDev
3e5ea2fd9e extension: updated telemetry and batch upload (#415) 2025-09-08 05:19:10 +00:00
CodeWithShreyans
101f3817bd
feat: openai python sdk (#409) 2025-09-03 21:48:36 +00:00
CodeWithShreyans
cae7051d1a
feat: new tools package (#407)
Some checks failed
Publish AI SDK / publish (push) Has been cancelled
2025-09-02 23:11:19 +00:00
Dhravya
65e8c5d525 changes to chrome extension (#402)
### TL;DR

Added proper semicolons throughout the codebase, improved Twitter import functionality, enhanced memory search results display, and added various icon sizes for the browser extension.

### What changed?

- Added semicolons at the end of statements throughout the browser extension codebase for consistent code style
- Fixed the Twitter import button to only appear on the bookmarks page
- Updated the saveMemoriesToSupermemory function to use the correct action type
- Enhanced the memory search functionality to include related memories in search results
- Added an expandable UI component in the chat interface to display memory search results with details
- Updated the welcome page text to better describe supermemory's capabilities
- Added multiple icon sizes (48x48 to 512x512) for better browser extension display across platforms
- Updated the sign-in button text from "login in" to "Sign in or create account"
- Added turbo flag to the Next.js dev script for faster development

### How to test?

1. Test the Twitter import functionality by visiting the Twitter bookmarks page
2. Verify that the memory search functionality works correctly in chat interfaces
3. Check that the expandable memory results UI displays properly with memory details
4. Confirm that the browser extension icons display correctly at different sizes
5. Verify the sign-in flow with the updated button text

### Why make this change?

This change improves code consistency by standardizing semicolon usage throughout the codebase. It enhances the user experience by making the Twitter import feature more targeted and fixing the memory saving functionality. The expandable memory results UI provides users with more detailed information about their memories, making the search functionality more useful. The additional icon sizes ensure the extension displays properly across different platforms and contexts. Overall, these changes improve both the developer experience through consistent code style and the user experience through enhanced functionality and clearer UI elements.
2025-09-01 06:02:37 +00:00
Mahesh Sanikommmu
a238aa06de fixed bun lock issue 2025-08-29 18:24:13 -07:00
Mahesh Sanikommu
666af9b962
Merge branch 'main' into mahesh/browser-extension 2025-08-29 18:22:51 -07:00
MaheshtheDev
5b7f9ceb44 feat: migrate from react-markdown to streamdown (#394)
| Before (react-markdown) | After (streamdown) |
| --- | --- |
| <img width="300" height="863" alt="Before: react-markdown rendering" src="https://github.com/user-attachments/assets/807d0d3c-8634-45f3-a34f-79dd8139bef2" /> | <img width="300" height="814" alt="After: streamdown rendering" src="https://github.com/user-attachments/assets/8a718a9c-d842-424b-8679-15036076b142" /> |

## Changes Made

- **Dependencies**: Removed `react-markdown` and `remark-gfm`, added `streamdown@^1.1.6`
- **Component Updates**:
    - Updated chat message rendering to use `<Streamdown>` component
    - Maintained all existing functionality for tool state rendering
    - Preserved prose styling classes for consistent appearance
- **Code Quality Improvements**:
    - Fixed TypeScript type issues with message parts
    - Improved switch case structure with proper default cases
    - Replaced array index-based keys with stable message-based keys
    - Added `useCallback` for performance optimization
    - Fixed biome linting issues and switch case fallthrough warnings
2025-08-29 19:45:47 +00:00
Mahesh Sanikommmu
d1cc3921c4 welcome page tailwind css integration 2025-08-28 19:45:56 -07:00
Mahesh Sanikommmu
d797376948 updated bun lock file 2025-08-28 19:02:20 -07:00
CodeWithShreyans
b0a0b5d896
ci: temp add debugging to ai-sdk workflow (#392) 2025-08-28 23:04:21 +00:00
CodeWithShreyans
3a0e264b7e
feat: openai js and python sdk utilities (#389)
Some checks are pending
Publish AI SDK / publish (push) Waiting to run
needs testing
2025-08-27 23:34:49 +00:00
CodeWithShreyans
9d603015ab
fix: ai-sdk build (#378) 2025-08-23 17:18:16 +00:00
Dhravya Shah
f7e9534ef9 sentry sourcemaps 2025-08-23 09:55:40 -07:00