Commit graph

6 commits

Author SHA1 Message Date
Dhravya Shah
816bc496ef docs: align vibe-coding prompt + install guide with canonical API
A survey of 52 hackathon projects integrating Supermemory found that
the patterns most frequently broken by AI codegen — wrong auth header,
deprecated containerTags plural, legacy /v3/search, and missing
containerTag scoping — were being actively recommended by these two
docs.

vibe-coding.mdx (the prompt users copy-paste into Claude/Cursor):
- Added a CANONICAL API SURFACE + DO NOT USE block before STEP 1 so
  the agent sees the rules before any code example
- All x-supermemory-api-key → Authorization: Bearer
- containerTags: [userId] → containerTag: userId
- Repaired ~10 broken code fences (STEPs 3-8 were malformed; the
  USER-ONLY APP example was empty)
- Note that rerank/rewriteQuery/filters are v4-search-only
- Note that client.memories.update/delete/forget are real but most
  apps don't need them — memories are auto-extracted from documents

install.md (same prompt, separate doc):
- All 8 x-supermemory-api-key occurrences → Authorization: Bearer
  with Content-Type where needed

Files in apps/docs/{memory-router,ai-sdk/infinite-chat,
model-enhancement,supermemory-mcp}/ are intentionally untouched —
those endpoints route off x-sm-user-id / x-sm-project so the headers
are required there.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 15:23:09 -07:00
sreedharsreeram
c76d27f284 custom id implementation (#877) 2026-04-24 23:43:16 +00:00
Prasanna721
9a0f366ff6 docs: add entity context documentation and fix MDX parsing (#723)
Add entity context documentation to customization and add-memories pages, remove nav icons from Developer Platform, fix install.md parsing error

 Changes:
  - Remove icons from Developer Platform subheadings (Getting Started, Concepts, Using supermemory, Connectors and sync, Migration Guides)
  - Add Entity Context section to customization page with usage example and accordion for advanced API
  - Add entityContext parameter to add-memories Parameters table and examples accordion
  - Fix MDX parsing error in install.md (wrap curly braces in backticks)
2026-02-03 22:53:21 +00:00
Dhravya Shah
87b361c26b
docs changes (#678)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 16:55:32 -08:00
MaheshtheDev
b1b37ddc4e fix: mintlify build (#677) 2026-01-17 00:45:52 +00:00
MaheshtheDev
e41c431b3a docs: override install md file (#675) 2026-01-17 00:24:18 +00:00