From 95a8da31eb07ad729c2388dd8e53637e23cd37d0 Mon Sep 17 00:00:00 2001 From: Mgeeeek Date: Thu, 14 May 2026 21:23:21 +0530 Subject: [PATCH] =?UTF-8?q?fix(docs):=20escape=20<5s=20in=20CLI=20v0.2.5?= =?UTF-8?q?=20changelog=20=E2=80=94=20Mintlify=20MDX=20parse=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mintlify deployment failed after #5123 merged because docs/changelog/sdk.mdx contained naked `<5s` text. MDX treats `<` as a JSX tag opener, but `5` is not a valid identifier-start character, so the parser errors: "Failed to parse page content at path changelog/sdk.mdx: Unexpected character `5` (U+0035) before name, expected a character that can start a name, such as a letter, `$`, or `_`" Replace `in <5s` with `in under 5 seconds`. Other `<...>` patterns in the entry (e.g. ``, ``, ``) are all inside backticks which Mintlify treats as literal code spans, so they don't trigger the JSX parser. --- docs/changelog/sdk.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/sdk.mdx b/docs/changelog/sdk.mdx index d43c574a5..8fbac47e5 100644 --- a/docs/changelog/sdk.mdx +++ b/docs/changelog/sdk.mdx @@ -1326,7 +1326,7 @@ See the [TypeScript SDK migration guide](https://docs.mem0.ai/migration/ts-v2-to **New Features:** -- **Agent Mode (`mem0 init --agent`):** Zero-friction signup for AI agents — mints a working Mem0 API key in <5s with no email, no dashboard, no OTP. Returns an unclaimed shadow account the human can later claim with `mem0 init --email ` (memories preserved, same key keeps working) ([#5123](https://github.com/mem0ai/mem0/pull/5123)) +- **Agent Mode (`mem0 init --agent`):** Zero-friction signup for AI agents — mints a working Mem0 API key in under 5 seconds with no email, no dashboard, no OTP. Returns an unclaimed shadow account the human can later claim with `mem0 init --email ` (memories preserved, same key keeps working) ([#5123](https://github.com/mem0ai/mem0/pull/5123)) - **Self-declared agent identity:** Agents pass `--agent-caller ` (e.g. `claude-code`, `cursor`, `codex`) on `mem0 init --agent` so signups attribute to the right tool in analytics. Proof Editor-style — the agent declares itself rather than the CLI sniffing it from env vars ([#5123](https://github.com/mem0ai/mem0/pull/5123)) - **`mem0 identify `:** New subcommand to self-tag an Agent Mode key after the fact when the agent forgot to pass `--agent-caller` on init. Idempotent — re-running just overwrites ([#5123](https://github.com/mem0ai/mem0/pull/5123)) - **Plugin sync:** `~/.claude/settings.json::env::MEM0_API_KEY` and `~/.zshrc`/`.bashrc` `export MEM0_API_KEY=` lines stay in sync with `~/.mem0/config.json` automatically. Idempotent — only updates EXISTING entries, never creates new ones ([#5123](https://github.com/mem0ai/mem0/pull/5123))