mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-02 02:11:20 +00:00
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. |
||
|---|---|---|
| .. | ||
| agent-framework.mdx | ||
| agno.mdx | ||
| ai-sdk.mdx | ||
| cartesia.mdx | ||
| claude-code.mdx | ||
| claude-memory.mdx | ||
| codex.mdx | ||
| convex.mdx | ||
| crewai.mdx | ||
| hermes.mdx | ||
| langchain.mdx | ||
| langgraph.mdx | ||
| mastra.mdx | ||
| memory-graph.mdx | ||
| n8n.mdx | ||
| openai-agents-sdk.mdx | ||
| openai.mdx | ||
| openclaw.mdx | ||
| opencode.mdx | ||
| pipecat.mdx | ||
| supermemory-sdk.mdx | ||
| viasocket.mdx | ||
| voltagent.mdx | ||
| zapier.mdx | ||