supermemory/apps/docs
Rikinshah787 0efc7b9d33 fix(tools): handle the memory tool commands Claude actually sends
Three places where ClaudeMemoryTool diverges from the documented
memory_20250818 wire format:

- rename sends old_path/new_path, not path. handleCommand validated
  command.path, so every rename coming from a real model died with
  "Cannot read properties of undefined (reading 'startsWith')".
  path is still accepted as the source for existing callers.
- insert_line means "insert after this line" (0 = top of file), but we
  spliced at insertLine - 1 and rejected 0, so every insert landed one
  line above where Claude asked and inserting at the top was impossible.
- str_replace with new_str omitted is a deletion per the spec; we
  rejected it.

The new tests mock the supermemory client so they run without an API
key. Also fixed the rename example in the docs, which showed the same
path shape the code expected.
2026-10-12 13:43:04 -07:00
..
.cursor/rules migrate docs to public 2025-09-28 16:42:06 -07:00
api-reference docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
concepts docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
connectors docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
icons/hugeicons docs: refresh the documentation design (#1715) 2026-09-29 17:26:13 -07:00
images docs: add team invitation guide with console screenshots (#1754) 2026-10-02 16:59:55 -07:00
ingestion docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
integrations fix(tools): handle the memory tool commands Claude actually sends 2026-10-12 13:43:04 -07:00
logo docs: refresh the documentation design (#1715) 2026-09-29 17:26:13 -07:00
memorybench docs: refresh the documentation design (#1715) 2026-09-29 17:26:13 -07:00
migration docs: one-line migrate tip on every v5 entry point (#1779) 2026-10-06 21:22:40 +00:00
overview docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
recall docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
scripts docs(api): add V3/V4 to V5 migration guide (#1691) 2026-10-06 16:48:36 +00:00
self-hosting docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
smfs docs: refresh the documentation design (#1715) 2026-09-29 17:26:13 -07:00
snippets docs: one-line migrate tip on every v5 entry point (#1779) 2026-10-06 21:22:40 +00:00
supermemory-mcp fix(mcp): expose forget_memory as a separate tool (#1790) 2026-10-10 20:30:29 -07:00
user-profiles docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
v5/api-reference docs: one-line migrate tip on every v5 entry point (#1779) 2026-10-06 21:22:40 +00:00
videos add eve docs and refresh integrations (#1671) 2026-09-16 15:24:08 -07:00
.gitignore fix docs icons in dark mode (#1735) 2026-09-30 22:00:27 +00:00
agents-and-mcp.mdx docs: one-line migrate tip on every v5 entry point (#1779) 2026-10-06 21:22:40 +00:00
authentication.mdx docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
docs.json docs: expose feedback in both API reference versions (#1785) 2026-10-08 15:02:38 -07:00
favicon-dark-mode.png docs: refresh the documentation design (#1715) 2026-09-29 17:26:13 -07:00
favicon-light-mode.png docs: refresh the documentation design (#1715) 2026-09-29 17:26:13 -07:00
favicon.png migrate docs to public 2025-09-28 16:42:06 -07:00
index.mdx docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
install.md docs: align vibe-coding prompt + install guide with canonical API (#976) 2026-05-19 15:27:20 -07:00
invite-team-members.mdx docs: add team invitation guide with console screenshots (#1754) 2026-10-02 16:59:55 -07:00
package.json docs(api): add V3/V4 to V5 migration guide (#1691) 2026-10-06 16:48:36 +00:00
quickstart.mdx docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00
README.md migrate docs to public 2025-09-28 16:42:06 -07:00
style.css feat(livekit): add persistent memory for LiveKit Agents (#1702) 2026-10-01 15:26:35 -07:00
test.py fix docs icons in dark mode (#1735) 2026-09-30 22:00:27 +00:00
test.ts fix docs icons in dark mode (#1735) 2026-09-30 22:00:27 +00:00
theme-switch.js fix docs icons in dark mode (#1735) 2026-09-30 22:00:27 +00:00
using-supermemory.mdx docs: move SDK snippets to the shipped v5 call shape and finish the namespace rename (#1772) 2026-10-06 17:06:38 +00:00

supermemory Docs