chore(cli): bump to v0.2.5 + changelog + ruff format fix
- Python: 0.2.4 → 0.2.5 in cli/python/pyproject.toml - Node: 0.2.4 → 0.2.5 in cli/node/package.json - docs/changelog/sdk.mdx: new CLI v0.2.5 entry (Agent Mode bootstrap, --agent-caller, mem0 identify, plugin sync, claim flow, pingKey fix, rate-limit clarity, JSON envelope command field, envelope validation) - CI fix: ruff format applied to config.py + test_init_internals.py Release flow: merge → tag cli-v0.2.5 (Python CD) and cli-node-v0.2.5 (Node CD) on GitHub Releases. OIDC trusted publishing — no tokens needed.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mem0/cli",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"description": "The official CLI for mem0 — the memory layer for AI agents",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "mem0-cli"
|
||||
version = "0.2.4"
|
||||
version = "0.2.5"
|
||||
description = "The official CLI for mem0 — the memory layer for AI agents"
|
||||
readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
|
||||
@@ -31,7 +31,9 @@ class PlatformConfig:
|
||||
# Agent Mode (unclaimed-shadow signup)
|
||||
agent_mode: bool = False # True while the key is an unclaimed agent-mode key
|
||||
created_via: str = "" # "agent_mode" | "email" | "api_key" | "existing_key"
|
||||
agent_caller: str = "" # canonical agent name when created_via == "agent_mode" (e.g. "claude-code")
|
||||
agent_caller: str = (
|
||||
"" # canonical agent name when created_via == "agent_mode" (e.g. "claude-code")
|
||||
)
|
||||
claimed_at: str = "" # ISO timestamp once the agent has been claimed by a human
|
||||
default_user_id: str = "" # `user_<slug>` returned by bootstrap; used as auto-default
|
||||
|
||||
|
||||
@@ -91,12 +91,7 @@ def test_shell_rc_does_not_create_new_export(tmp_path) -> None:
|
||||
|
||||
def test_shell_rc_preserves_surrounding_content(tmp_path) -> None:
|
||||
rc = tmp_path / ".zshrc"
|
||||
original = (
|
||||
"# my zshrc\n"
|
||||
"alias ll='ls -la'\n"
|
||||
"export MEM0_API_KEY='old'\n"
|
||||
"export OTHER=keepme\n"
|
||||
)
|
||||
original = "# my zshrc\nalias ll='ls -la'\nexport MEM0_API_KEY='old'\nexport OTHER=keepme\n"
|
||||
rc.write_text(original, encoding="utf-8")
|
||||
_update_shell_rc(rc, "newkey")
|
||||
after = rc.read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user