Commit Graph

22 Commits

Author SHA1 Message Date
Mgeeeek 805b466887 style(cli-python): ruff format agent_rush_cmd.py 2026-05-20 18:49:10 +05:30
Mgeeeek 859c674956 chore(release): cli 0.2.7 + docs + Mintlify auto-deploy workflow
Wraps up the AGENTRUSH CLI release across both clients.

Lint:
- Node Biome: collapse multi-line printError() in whoami.ts
- Python ruff: drop unused BRAND_COLOR import; replace EN DASH with
  HYPHEN-MINUS in app.py docstring

Release:
- Bump @mem0/cli and mem0-cli from 0.2.6 → 0.2.7 (patch)
- Add CHANGELOG.md (Keep a Changelog format) to both CLIs, seeded
  with the 0.2.7 entry covering whoami, agent-rush <add|search>, the
  PII safety prompt, and the new agent_rush.acknowledged_at config field

Docs:
- docs/platform/cli.mdx: new sections for `mem0 whoami` and
  `mem0 agent-rush <add|search>` with rule table, error-code hints,
  the launch copy-paste block, and the public-memory warning
- llms.txt coverage already in sync (no new .mdx files)

Mintlify auto-deploy:
- New .github/workflows/mintlify-deploy.yml — pings the deploy hook on
  every push to main, bypassing the GitHub App's path-detection bug
  that caused docs.mem0.ai drift (the recurring "trigger redeploy"
  commits). Workflow is a clean no-op until MINTLIFY_DEPLOY_HOOK_URL
  repo secret is configured in dashboard.
2026-05-20 18:36:57 +05:30
Mgeeeek 4ca9d13c47 feat(cli): warn about public AGENTRUSH memories before first add
Adds a one-time PII warning shown before the first `mem0 agent-rush
add`. Persists acknowledgment in config so we never ask the same
machine twice.

Interactive (TTY):
  ⚠️  AGENTRUSH memories are PUBLIC — visible to any other player.
     Do not include real names, emails, secrets, work content, or PII.
     Continue? [y/N]
  → on "y" the timestamp lands in `agent_rush.acknowledged_at`.
  → anything else aborts with no add.

Non-interactive (agent invocation, no TTY): the warning prints to
stderr (visible in the agent transcript so the human notices) and
the add proceeds. Agents can't answer y/N; blocking them would defeat
the entire launch flow. Ack is intentionally not persisted in this
path so a later human run still sees the prompt.

Mirrored across Node + Python CLIs with matching JSON schema:
  config.json adds `agent_rush.acknowledged_at: ""` (ISO timestamp).
2026-05-20 18:04:24 +05:30
Mgeeeek abc57323c2 feat(cli): add mem0 whoami + mem0 agent-rush subcommands
Mirrors implementation across Node (TypeScript) and Python CLIs.

mem0 whoami:
  Prints the agent's default_user_id from local config — the AGENTRUSH
  leaderboard identifier. Used by players to cross-verify their row.

mem0 agent-rush <add|search>:
  Wraps the platform's /v1/agent-rush/{memories/, memories/search/}
  endpoints. Project routing is implicit (server-resolved); no flags.
  Pretty-prints platform error codes into actionable hints (e.g.
  agentrush_search_first → "Run 3 'mem0 agent-rush search' commands
  before adding.").

Adds X-Mem0-Mode: agent-rush header for telemetry. Reuses existing
agent-mode API key from config; surfaces a graceful error if config
is missing or the key was created outside agent-mode.

Platform PR: mem0ai/platform#2804
2026-05-20 03:35:04 +05:30
Mragank Shekhar 5f7ace2aef docs: promote "Sign up as an agent" + drop plugin-sync prose (#5152) 2026-05-16 21:52:34 +05:30
Mragank Shekhar e602923751 feat(cli): Agent Mode bootstrap + claim flow (Python + Node) (#5123) 2026-05-14 20:35:25 +05:30
Gabriel Stein db8ac61713 Self-hosted dashboard and admin auth (#4837)
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
2026-04-23 19:06:36 +05:30
Saket Aryan 32b74e18b7 feat(cli): migrate Python and Node CLIs to v3 API routes (#4916) 2026-04-22 15:20:38 +05:30
Saket Aryan 3882af7450 fix(cli): persistent anonymous telemetry ID + pass source=CLI in all API calls (#4789) 2026-04-11 21:00:05 +05:30
Saket Aryan 4642a1d6e3 feat(cli): validate API key upfront via ping and unify telemetry identity resolution (#4701) 2026-04-04 23:03:27 +05:30
Saket Aryan ee67602c58 feat(cli): add PostHog telemetry and source tracking to Python & Node CLIs (#4699) 2026-04-04 20:47:38 +05:30
Saket Aryan 3b2f01796e feat(cli): comprehensive docs, version bump, and purple branding (#4680)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 22:52:00 +05:30
Saket Aryan 5e00d5c452 chore(cli): bump version for Python CLI to 0.2.0 and Node CLI to 0.1.1 (#4668) 2026-04-02 13:36:21 +05:30
Saket Aryan 30f242dc4c feat(cli): update brand color palette from purple to golden (#4664) 2026-04-02 04:03:28 +05:30
Saket Aryan c788d771d3 feat(cli): add CD workflow and bump version to 0.2.0b1 (#4653) 2026-04-01 21:29:10 +05:30
Saket Aryan 2acf9571b3 feat(cli): add event commands, --json/--agent flag, agent output sanitization, and edge-case hardening for CLI SDKs (#4649)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 21:04:59 +05:30
Saket Aryan 32c1ccba5b ci(cli): add CI pipelines for Node and Python CLI SDKs (#4640)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 22:30:31 +05:30
Saket Aryan 9bebcf45f7 fix(cli): fix critical crashes, improve error messages, UX and validation in Node.js and Python SDKs (#4636) 2026-03-31 20:28:48 +05:30
Kabir Kohli af19495f66 feat(cli): add email verification code login to mem0 init (#4623)
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
2026-03-31 16:57:02 +05:30
Kartik 4482228383 chore: fix failing CI lint errors (#4584) 2026-03-28 21:45:47 +05:30
Saket Aryan 13d42a99e9 docs: improve CLI dev workflow and prioritize Node.js installation (#4579) 2026-03-27 17:50:03 -07:00
Saket Aryan 3225e30859 feat: add official mem0 CLI (Python & TypeScript) (#4575) 2026-03-28 05:03:01 +05:30