Commit graph

16 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
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
Prasanna721
911f5abdc6 docs: SMFS documentation 2026-04-26 22:53:29 -07:00