supermemory/apps/docs
Rikinshah787 00b3ba886f 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-08-25 16:07:14 -07:00
..
.cursor/rules migrate docs to public 2025-09-28 16:42:06 -07:00
api-reference docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
company-brain fix docs image pipeline (#1411) 2026-08-04 04:55:50 +00:00
concepts docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
connectors fix docs links and assets (#1407) 2026-08-04 00:04:41 +00:00
images add ChatGPT default memory FAQ (#1423) 2026-08-07 01:14:03 +00:00
ingestion docs: historical backfill guide (#1474) 2026-08-14 20:46:21 +00:00
integrations fix(tools): handle the memory tool commands Claude actually sends 2026-08-25 16:07:14 -07:00
logo migrate docs to public 2025-09-28 16:42:06 -07:00
memorybench docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
migration docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
overview fix docs image pipeline (#1411) 2026-08-04 04:55:50 +00:00
recall docs(memories): forget-matching accepts an id list (bound preview→apply) (#1367) 2026-08-06 09:32:32 +00:00
self-hosting docs: document pinned install for supermemory-server (#1238) 2026-08-13 17:56:49 +05:30
smfs docs: SMFS documentation — providers, Python bash tool, examples (#889) 2026-04-28 20:04:15 -07:00
snippets fix docs image pipeline (#1411) 2026-08-04 04:55:50 +00:00
supermemory-mcp add ChatGPT default memory FAQ (#1423) 2026-08-07 01:14:03 +00:00
user-profiles docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
.gitignore migrate docs to public 2025-09-28 16:42:06 -07:00
agents-and-mcp.mdx docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
authentication.mdx docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
docs.json docs: historical backfill guide (#1474) 2026-08-14 20:46:21 +00:00
favicon.png migrate docs to public 2025-09-28 16:42:06 -07:00
index.mdx fix docs image pipeline (#1411) 2026-08-04 04:55:50 +00:00
install.md docs: align vibe-coding prompt + install guide with canonical API (#976) 2026-05-19 15:27:20 -07:00
package.json use portless 2026-05-06 22:42:34 -07:00
quickstart.mdx docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
README.md migrate docs to public 2025-09-28 16:42:06 -07:00
style.css feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
test.py docs changes (#678) 2026-01-18 16:55:32 -08:00
test.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
using-supermemory.mdx docs: historical backfill guide (#1474) 2026-08-14 20:46:21 +00:00

supermemory Docs