supermemory/apps
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
..
docs fix(tools): handle the memory tool commands Claude actually sends 2026-10-12 13:43:04 -07:00
mcp fix(mcp): expose forget_memory as a separate tool (#1790) 2026-10-10 20:30:29 -07:00
memory-graph-playground fix(deps): bump next to 16.3.3 in chatapp, sdk-playground, and memory-graph-playground (#1655) 2026-09-09 23:01:32 -07:00
raycast-extension fix(raycast): patch high severity lockfile vulnerabilities (#1721) 2026-09-29 15:27:27 -07:00
sdk-playground feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
web fix(auth): upgrade Better Auth to patched 1.7.6 (#1719) 2026-10-02 17:05:13 -07:00