Commit graph

1215 commits

Author SHA1 Message Date
Dhravya
20f897e694 docs: update examples page — code sandbox uses E2B instead of Daytona 2026-04-28 07:31:59 +00:00
Dhravya
0106128ff1 docs: update examples page for web-based demo apps 2026-04-28 02:08:53 +00:00
Dhravya
382cbe87ba Merge remote-tracking branch 'origin/main' into vorflux/docs-smfs-providers 2026-04-28 00:16:01 +00:00
Dhravya
e9fe7a913d docs(smfs): apply review feedback to bash-tool-python
- Wrap quickstart and memory snippets in asyncio.run(main()) so they
  run as standalone scripts (top-level await is a SyntaxError).
- Drop `volume` from CreateBashResult listing (not used in any
  snippet) and match the more direct phrasing used in the TS doc.
- Use `bash = result.bash` consistently in the Memory section to
  match the Quickstart style.
- Drop `messages: list[dict]` annotations — type is obvious from
  context.
2026-04-28 00:13:11 +00:00
Dhravya
8803aa2af9 docs: add examples page and nav entry 2026-04-28 00:00:58 +00:00
Dhravya
9da8c9f2ee docs: add Python bash tool documentation page 2026-04-27 23:55:21 +00:00
docs
3eb7933a5c docs(smfs): address review feedback on provider guides
- Mermaid: replace literal \\n with <br/> in node labels (didn't render)
- e2b: clarify FUSE chmod / sleep comments; use Path().read_text();
  move sudo Note above Pattern B
- daytona: extract shared SMFS_INSTALL snippet; upload agent.py in
  Pattern A (was missing); reword PATH tip; reconcile warning + note
- vercel: scope Pattern A to self-hosted Node (Vercel Functions can't
  hold a FUSE mount); switch Pattern B to @supermemory/bash for
  serverless deployments
- cloudflare: switch wrangler.toml -> wrangler.jsonc with proper
  Container Durable Object binding + migrations; define Container
  subclass and pass secrets via envVars; use containerFetch + getContainer;
  add /exec security warning; switch Flask dev server to gunicorn
2026-04-27 23:33:01 +00:00
Dhravya
ae8108adbe docs: replace ASCII diagrams with Mermaid, add both agent patterns 2026-04-27 23:19:39 +00:00
Dhravya
a979f98e42 docs: rewrite provider guides based on live testing
All four providers tested. Clean separation: agent code (runs inside
sandbox) vs orchestration code (creates sandbox, mounts SMFS).

E2B: fully working — install, login, mount, read, write, Claude agent
Vercel/local: fully working — mount, read, write, Claude agent
Cloudflare: Docker build verified, SMFS + Claude SDK install in container
Daytona: honest Warning about api.supermemory.ai being unreachable

Also fixed: install script needs explicit version (0.0.1-rc2) since
all GitHub releases are pre-releases, and PATH fix for Docker builds.
2026-04-27 23:10:42 +00:00
Dhravya
83867d57d3 docs: agent runs inside the sandbox, consistent Claude Agent SDK usage
All four provider guides now:
- Run the Claude agent INSIDE the sandbox (not from orchestrating code)
- Use the Claude Agent SDK consistently (not Vercel AI SDK)
- Agent script is written into the sandbox and executed there
- Agent uses Bash/Read/Write tools on the SMFS mount
2026-04-27 22:50:31 +00:00
Dhravya
faeef886ee docs: rewrite SMFS provider guides to use mount + Claude Agents SDK
All four guides now show the mount pattern as the primary approach:
mount SMFS inside the sandbox, then run a Claude agent with bash
tool access so it reads/writes memory using standard commands.

- E2B: tested end-to-end (install, login, mount, read, write, grep)
- Daytona: mount pattern with TLS warning
- Vercel AI SDK: SMFS mounted on host, bash tool for the agent
- Cloudflare: Container with SMFS pre-installed in Dockerfile
2026-04-27 22:48:40 +00:00
Dhravya
8ae6b708a9 docs: fix install command to use bash instead of sh
install.sh uses bash syntax ([[ ]]) that sh doesn't support.
Also adds https:// prefix to smfs.ai/install URL.
2026-04-27 22:39:15 +00:00
Dhravya
8b09866bb7 docs: fix Python examples to use real APIs, remove fabricated imports
- E2B/Daytona: Python tabs now show mount pattern (not @supermemory/bash
  which is TypeScript-only)
- E2B/Daytona: section intros updated to explain per-language approach
- Daytona: removed redundant 'Alternative: Mount' section (Python tab
  already covers the mount pattern with TLS warning)
- E2B/Daytona: Python install commands no longer list supermemory package
2026-04-27 19:40:46 +00:00
Dhravya
f955d9e6e7 docs: fix accuracy issues in E2B and Daytona provider guides
- E2B: fix Python example in section 3 to use bash tool pattern (matching TS tab)
- E2B: add sudo write example and note about FUSE mount ownership
- Daytona: fix Python example in section 3 to use bash tool pattern (matching TS tab)
- Daytona: add Warning to 'Alternative: Mount' section about TLS restrictions
2026-04-27 19:37:45 +00:00
Dhravya
dff75ec9fa docs: update E2B and Daytona guides with tested FUSE setup steps
- E2B: add FUSE permission fixes (chmod /dev/fuse, user_allow_other)
- E2B: add background mount pattern with foreground flag
- E2B: add custom template with pre-installed SMFS
- Daytona: reorder to recommend bash tool pattern first
- Daytona: add note about potential TLS restrictions
2026-04-27 19:34:34 +00:00
Dhravya
d81d4d3bc1 docs: add SMFS provider guides for Daytona, E2B, Vercel AI SDK, and Cloudflare
- Add smfs/providers/daytona.mdx with full tutorial (mount + bash tool patterns)
- Add smfs/providers/e2b.mdx with sandbox integration guide
- Add smfs/providers/vercel.mdx with AI SDK tool-calling examples
- Add smfs/providers/cloudflare.mdx with Workers + Containers guide
- Update docs.json navigation with Providers group under SMFS
- Update smfs/overview.mdx with provider cards
2026-04-27 19:26:40 +00:00
MaheshtheDev
0d2ca1bb41 docs: @supermemory/tools v2.0.0 & migration guide (#886)
Some checks failed
Publish Tools / publish (push) Has been cancelled
- Published the v2.0.0 docs and a 1.4 → 2.0 migration guide so existing users have a clear upgrade path.
- Updated the four integration pages (AI SDK, OpenAI, Mastra, VoltAgent) to reflect v2 defaults and link to the migration guide.
- Added a short explainer on the two required fields (containerTag, customId) so new users aren't blocked at first integration.
2026-04-27 18:24:59 +00:00
Prasanna721
911f5abdc6 docs: SMFS documentation 2026-04-26 22:53:29 -07:00
MaheshtheDev
a41bbeecb3 chat: fix tool-output validation, bump ai sdk, update model labels (#887) 2026-04-26 04:25:09 +00:00
sreedharsreeram
589edd3437 updated typescript and python sdk (#878) 2026-04-25 01:43:13 +00:00
sreedharsreeram
d7ee078ae9 mastra object structure udpates (#881) 2026-04-24 23:47:46 +00:00
sreedharsreeram
c76d27f284 custom id implementation (#877) 2026-04-24 23:43:16 +00:00
Sarup Banskota
210fceb74b
Render research CTA via @lobbyside/react when widget is online (#884)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 11:39:03 -07:00
MaheshtheDev
23a60f90f6 tools: timeout and default option on error to skip (#875)
Some checks failed
Publish Tools / publish (push) Has been cancelled
**`withSupermemory`** **(AI SDK)**

- **`skipMemoryOnError`** **defaults to** **`true`**. memory errors/timeouts log and the model runs on the **original** prompt unless you set `skipMemoryOnError: false`.
- **Pre-LLM** **`/v4/profile`** **is aborted after 5s** via `AbortSigna`

**Docs**

- `packages/tools/README.md`, **`apps/docs/integrations/ai-sdk.md`**
2026-04-23 00:11:20 +00:00
Dhravya
5e3033d484
create lobbyside (#874)
Some checks are pending
Publish Tools / publish (push) Waiting to run
2026-04-21 20:06:51 +00:00
MaheshtheDev
8a6b50332b fix: projects endpoint trigger with TTL (#870) 2026-04-21 18:02:52 +00:00
MaheshtheDev
20c5a18e13 chore: skipMemoryOnError for withSupermemory (#871) 2026-04-21 16:43:23 +00:00
MaheshtheDev
6b0105d340 chore: next app banner for call (#869) 2026-04-21 00:43:15 +00:00
MaheshtheDev
7b65e9a1db fix: reverted for auth issue (#860) 2026-04-16 23:35:19 +00:00
MaheshtheDev
cfcfaaac0f fix: another resource url issue (#859) 2026-04-16 23:27:38 +00:00
Mahesh Sanikommu
85c7d985b5
docs: google drive connector scoped sync and changelog (#857) 2026-04-16 16:01:51 -07:00
Mahesh Sanikommu
c59457d8b3
fix: trying resource metadata failure for mcp auth (#858) 2026-04-16 16:01:29 -07:00
MaheshtheDev
b8e5376b99 fix: input disable when onboarding org creation (#855) 2026-04-16 16:40:15 +00:00
sreedharsreeram
e672af6b3d Supermemory-Cartesia SDK (#744)
### TL;DR

Added Python SDK for integrating Supermemory with Cartesia Line voice agents, enabling persistent memory capabilities.

### What changed?

Created a new Python SDK package (`supermemory_cartesia`) that provides:

- `SupermemoryCartesiaAgent` wrapper class that enhances Cartesia Line agents with memory capabilities
- Memory retrieval and storage functionality that integrates with the Supermemory API
- Utility functions for memory formatting, deduplication, and time formatting
- Custom exception classes for error handling
- Comprehensive documentation and type hints

The implementation includes:
- Memory enrichment for user queries
- Automatic storage of conversation history
- Configurable memory retrieval modes (profile, query, full)
- Background processing to avoid blocking the main conversation flow

### How to test?

```python
from supermemory_cartesia import SupermemoryCartesiaAgent
from line.llm_agent import LlmAgent, LlmConfig
import os

# Create base LLM agent
base_agent = LlmAgent(
    model="gemini/gemini-2.5-flash-preview-09-2025",
    config=LlmConfig(
        system_prompt="You are a helpful assistant.",
        introduction="Hello!"
    )
)

# Wrap with Supermemory
memory_agent = SupermemoryCartesiaAgent(
    agent=base_agent,
    api_key=os.getenv("SUPERMEMORY_API_KEY"),
    user_id="user-123",
)

# Use memory_agent in your Cartesia Line application
```

### Why make this change?

This SDK enables Cartesia Line voice agents to maintain persistent memory across conversations, enhancing user experience by:

1. Providing contextual awareness of past interactions
2. Remembering user preferences and important information
3. Reducing repetition in conversations
4. Creating more personalized and natural voice interactions

The integration is designed to be lightweight and non-blocking, ensuring that memory operations don't impact the responsiveness of voice interactions.
2026-04-15 16:27:23 +00:00
sreedharsreeram
0783594b8d voltagent-sdk (#791) 2026-04-14 20:22:46 +00:00
Vedant Mahajan
5cadf5c170
perf: wrap list/grid components in React.memo to skip unnecessary re-renders (#847) 2026-04-12 15:45:58 -07:00
Ishaan Gupta
5051658b85
perf(ui): convert message pairing to O(n) forward pass in chain-of-thought (#846) 2026-04-12 15:38:07 -07:00
Ishaan Gupta
13bee90bd8
perf(ui): align React Query cache between memory grid and graph (#845) 2026-04-12 15:27:05 -07:00
Vedant Mahajan
cfd587ed2a
perf: scope message equality check to content+parts instead of full object (#842) 2026-04-12 15:19:34 -07:00
Vedant Mahajan
1c230b66b4
perf: deduplicate OG data fetches across document cards (#831) 2026-04-12 14:56:22 -07:00
Ishaan Gupta
7fd36eaebc
Optimize onboarding chat document creation with Promise.all (#822) 2026-04-12 14:41:48 -07:00
Evandro Camargo
5b57f4ddf3
fix(mcp): register handler on bare /mcp path to match MCP transport spec (#733) 2026-04-11 16:57:26 -07:00
Dhravya Shah
26ad0e32e2 fix: memory graph progressively loads all data and remove background
- Switch to infinite query with viewport-triggered pagination (loads more when user zooms out 3x past node bounds)
- Remove maxNodes cap so all data renders
- Remove background color and dot pattern from graph
- Make document-memory edges light grey

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-11 14:20:41 -07:00
Prasanna
a91136dad8
MCP connector fix (#849)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-10 21:20:41 -07:00
MaheshtheDev
3cf7e77872 fix: pro plugin and free plugin confusion (#843) 2026-04-09 15:42:25 +00:00
Vedant Mahajan
ba4bc33a50
perf: use Set for O(1) category lookup in facet render loop (#835) 2026-04-09 08:39:07 -07:00
MaheshtheDev
d8b969ce78 docs: clarity on document limit for connectors (#841) 2026-04-09 15:17:49 +00:00
MaheshtheDev
8f1e8afaf9 fix: trying mcp auth with resource (#840) 2026-04-09 08:21:06 +00:00
Prasanna721
543c45a626 fix(mcp): fix broken memory graph and improve UI design (#837)
## Summary
- Fixed memory graph stuck on "Loading graph data..." caused by field name mismatch after package rewrite (`memoryEntries` vs `memories`, `type` vs `documentType`)
- Improved MCP app UI to match console-v2 design: golden derives edges (#FBBF24), edge glow pass, node hover effects, dot mode at low zoom, vertical controls with keyboard shortcuts, expandable legend
- Synced local `memory-graph` edgeDerives constant with published npm version

## Test plan
- [ ] Run `cd apps/mcp && bun run dev`, connect via Claude Desktop
- [ ] Verify graph renders with golden derives edges and blue dashed extends edges
- [ ] Verify node hover/selection glow effects
- [ ] Verify Fit (Z), Center (C), zoom (+/-) keyboard shortcuts
- [ ] Verify legend expands/collapses
2026-04-08 21:21:10 +00:00
MaheshtheDev
bc7f6fcf74 feat: mcp modal with better instructions (#836)
feat: mcp modal with better instructions

add docs screenshots and claude setup
2026-04-08 19:20:11 +00:00