Skip to content

fix: openclaw plugin and fix the login section there#4696

Merged
whysosaket merged 18 commits intomainfrom
fix/openclaw-plugin
Apr 4, 2026
Merged

fix: openclaw plugin and fix the login section there#4696
whysosaket merged 18 commits intomainfrom
fix/openclaw-plugin

Conversation

@kartik-mem0
Copy link
Copy Markdown
Contributor

@kartik-mem0 kartik-mem0 commented Apr 4, 2026

Summary

  • Security: Isolate filesystem I/O in fs-safe.ts with tsup code splitting (splitting: true, two entry points) — dist/index.js no longer contains readFileSync alongside fetch, passing the OpenClaw
    code_safety scanner with zero warnings
  • Mode cleanup: Restrict mode to "platform" / "open-source" only — removed "oss" alias; unrecognized values default to "platform"
  • Tool rename: memory_store → memory_add to match mem0 CLI and platform API naming
  • Init flow: Renamed openclaw mem0 login → openclaw mem0 init; config now reads/writes ~/.openclaw/openclaw.json (standard OpenClaw config path)
  • Config show: Added help text showing config set examples
  • Skills: Updated all SKILL.md tool references to match the plugin manifest
  • Deps: mem0ai bumped to 2.4.5
  • Tests: Added tests for memory_update, memory_history, config file helpers, CLI commands, dream gate, and providers

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 4, 2026

@kartik-mem0 kartik-mem0 marked this pull request as ready for review April 4, 2026 13:08
apiKey: (cfg.apiKey ?? cfg.api_key) as string | undefined,
baseUrl: (cfg.baseUrl ?? cfg.base_url) as string | undefined,
userId: (cfg.userId ?? cfg.user_id) as string | undefined,
orgId: (cfg.orgId ?? cfg.org_id) as string | undefined,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to remove this in the future

@whysosaket whysosaket merged commit 686d5e9 into main Apr 4, 2026
7 checks passed
@whysosaket whysosaket deleted the fix/openclaw-plugin branch April 4, 2026 16:51
rainfd pushed a commit to rainfd/mem0 that referenced this pull request Apr 8, 2026
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
wuhonglei pushed a commit to wuhonglei/mem0 that referenced this pull request Apr 19, 2026
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants