From 2c796d144f67e955e4253a762dabe8936f8a1772 Mon Sep 17 00:00:00 2001 From: Kartik Date: Fri, 12 Jun 2026 10:31:35 +0530 Subject: [PATCH] refactor: consolidate agent/editor plugins under integrations/ (#5491) Co-authored-by: Claude --- .agents/plugins/marketplace.json | 2 +- .claude-plugin/marketplace.json | 2 +- .codex-plugin/marketplace.json | 2 +- .cursor-plugin/marketplace.json | 2 +- .github/workflows/ci-gate.yml | 6 +-- .github/workflows/openclaw-cd.yml | 4 +- .github/workflows/openclaw-checks.yml | 26 +++++----- .github/workflows/opencode-plugin-cd.yml | 2 +- .github/workflows/opencode-plugin-checks.yml | 4 +- .github/workflows/pi-agent-plugin-cd.yml | 4 +- .github/workflows/pi-agent-plugin-checks.yml | 28 +++++------ .github/workflows/vercel-ai-cd.yml | 4 +- AGENTS.md | 49 ++++++++++++------- docs/integrations/antigravity.mdx | 2 +- docs/integrations/opencode.mdx | 2 +- docs/llms.txt | 4 +- .../mem0-plugin}/.claude-plugin/plugin.json | 0 .../mem0-plugin}/.codex-mcp.json | 0 .../mem0-plugin}/.codex-plugin/plugin.json | 0 .../mem0-plugin}/.cursor-mcp.json | 0 .../mem0-plugin}/.cursor-plugin/plugin.json | 0 .../mem0-plugin}/.mcp.json | 0 .../.opencode-plugin/CHANGELOG.md | 0 .../mem0-plugin}/.opencode-plugin/LICENSE | 0 .../mem0-plugin}/.opencode-plugin/README.md | 2 +- .../mem0-plugin}/.opencode-plugin/bun.lock | 0 .../mem0-plugin}/.opencode-plugin/cli.ts | 0 .../.opencode-plugin/opencode-mem0.ts | 0 .../opencode-skills/context-loader/SKILL.md | 0 .../opencode-skills/dream/SKILL.md | 0 .../opencode-skills/export/SKILL.md | 0 .../opencode-skills/forget/SKILL.md | 0 .../opencode-skills/health/SKILL.md | 0 .../opencode-skills/import/SKILL.md | 0 .../opencode-skills/list-projects/SKILL.md | 0 .../opencode-skills/mem0/LICENSE | 0 .../opencode-skills/mem0/README.md | 0 .../opencode-skills/mem0/SKILL.md | 0 .../mem0/client/differences.md | 0 .../opencode-skills/mem0/client/node.md | 0 .../opencode-skills/mem0/client/python.md | 0 .../mem0/references/api-reference.md | 0 .../mem0/references/architecture.md | 0 .../mem0/references/features.md | 0 .../mem0/references/integration-patterns.md | 0 .../mem0/references/quickstart.md | 0 .../mem0/references/sdk-guide.md | 0 .../mem0/references/use-cases.md | 0 .../mem0/scripts/mem0_doc_search.ts | 0 .../opencode-skills/memory-reviewer/SKILL.md | 0 .../opencode-skills/onboard/SKILL.md | 0 .../opencode-skills/peek/SKILL.md | 0 .../opencode-skills/pin/SKILL.md | 0 .../opencode-skills/remember/SKILL.md | 0 .../opencode-skills/stats/SKILL.md | 0 .../opencode-skills/switch-project/SKILL.md | 0 .../opencode-skills/tour/SKILL.md | 0 .../.opencode-plugin/opencode.json | 0 .../.opencode-plugin/package.json | 2 +- .../.opencode-plugin/tsconfig.json | 0 .../mem0-plugin}/CHANGELOG.md | 0 .../mem0-plugin}/README.md | 12 ++--- .../mem0-plugin}/hooks.json | 0 .../mem0-plugin}/hooks/codex-hooks.json | 0 .../mem0-plugin}/hooks/cursor-hooks.json | 0 .../mem0-plugin}/hooks/hooks.json | 0 .../mem0-plugin}/logo.svg | 0 .../mem0-plugin}/mcp_config.json | 0 .../mem0-plugin}/plugin.json | 0 .../mem0-plugin}/requirements.txt | 0 .../mem0-plugin}/scripts/_chunking.py | 0 .../mem0-plugin}/scripts/_formatting.py | 0 .../mem0-plugin}/scripts/_identity.py | 0 .../mem0-plugin}/scripts/_identity.sh | 0 .../mem0-plugin}/scripts/_project.py | 0 .../mem0-plugin}/scripts/_project.sh | 0 .../mem0-plugin}/scripts/_search.py | 0 .../mem0-plugin}/scripts/auto_capture.py | 0 .../mem0-plugin}/scripts/auto_import.py | 0 .../scripts/auto_setup_categories.py | 0 .../scripts/block_memory_write.sh | 0 .../scripts/block_memory_write_cursor.sh | 0 .../scripts/capture_compact_summary.py | 0 .../scripts/capture_session_summary.py | 0 .../scripts/enforce_metadata_defaults.sh | 0 .../mem0-plugin}/scripts/ensure_deps.sh | 0 .../mem0-plugin}/scripts/file_context.py | 0 .../scripts/import_competing_tools.py | 0 .../scripts/install_codex_hooks.py | 0 .../mem0-plugin}/scripts/load_settings.py | 0 .../mem0-plugin}/scripts/on_bash_output.sh | 0 .../mem0-plugin}/scripts/on_file_read.sh | 0 .../scripts/on_file_read_cursor.sh | 0 .../mem0-plugin}/scripts/on_post_tool_use.sh | 0 .../scripts/on_post_tool_use_cursor.sh | 0 .../mem0-plugin}/scripts/on_pre_compact.py | 0 .../mem0-plugin}/scripts/on_pre_compact.sh | 0 .../scripts/on_pre_compact_cursor.sh | 0 .../mem0-plugin}/scripts/on_session_start.sh | 0 .../scripts/on_session_start_cursor.sh | 0 .../mem0-plugin}/scripts/on_stop.sh | 0 .../mem0-plugin}/scripts/on_stop_cursor.sh | 0 .../mem0-plugin}/scripts/on_user_prompt.sh | 0 .../scripts/on_user_prompt_cursor.sh | 0 .../mem0-plugin}/scripts/parse_export_file.py | 0 .../mem0-plugin}/scripts/parse_mem0_config.py | 0 .../mem0-plugin}/scripts/session_stats.py | 0 .../mem0-plugin}/scripts/session_timeline.py | 0 .../scripts/setup_coding_categories.py | 0 .../mem0-plugin}/scripts/telemetry.py | 0 .../skills/context-loader/SKILL.md | 0 .../mem0-plugin}/skills/dream/SKILL.md | 0 .../mem0-plugin}/skills/export/SKILL.md | 0 .../mem0-plugin}/skills/forget/SKILL.md | 0 .../mem0-plugin}/skills/health/SKILL.md | 0 .../mem0-plugin}/skills/import/SKILL.md | 0 .../skills/list-projects/SKILL.md | 0 .../mem0-plugin}/skills/mem0/LICENSE | 0 .../mem0-plugin}/skills/mem0/README.md | 0 .../mem0-plugin}/skills/mem0/SKILL.md | 0 .../skills/mem0/client/differences.md | 0 .../mem0-plugin}/skills/mem0/client/node.md | 0 .../mem0-plugin}/skills/mem0/client/python.md | 0 .../skills/mem0/references/api-reference.md | 0 .../skills/mem0/references/architecture.md | 0 .../skills/mem0/references/features.md | 0 .../mem0/references/integration-patterns.md | 0 .../skills/mem0/references/quickstart.md | 0 .../skills/mem0/references/sdk-guide.md | 0 .../skills/mem0/references/use-cases.md | 0 .../skills/mem0/scripts/mem0_doc_search.py | 0 .../skills/memory-reviewer/SKILL.md | 0 .../mem0-plugin}/skills/onboard/SKILL.md | 0 .../mem0-plugin}/skills/peek/SKILL.md | 0 .../mem0-plugin}/skills/pin/SKILL.md | 0 .../mem0-plugin}/skills/remember/SKILL.md | 0 .../mem0-plugin}/skills/stats/SKILL.md | 0 .../skills/switch-project/SKILL.md | 0 .../mem0-plugin}/skills/tour/SKILL.md | 0 .../mem0-plugin}/tests/conftest.py | 0 .../mem0-plugin}/tests/test_auto_capture.py | 0 .../tests/test_auto_setup_categories.py | 0 .../tests/test_coding_categories.py | 0 .../tests/test_import_competing_tools.py | 0 .../tests/test_parse_export_file.py | 0 .../tests/test_parse_mem0_config.py | 0 .../mem0-plugin}/tests/test_project.py | 0 .../mem0-plugin}/tests/test_rubric_dedup.py | 0 .../mem0-plugin}/tests/test_search.py | 0 .../mem0-plugin}/tests/test_session_stats.py | 0 .../mem0-plugin}/tests/test_telemetry.py | 0 .../mem0-plugin}/tests/test_write_path.py | 0 .../openclaw}/.gitignore | 0 {openclaw => integrations/openclaw}/.npmrc | 0 {openclaw => integrations/openclaw}/LICENSE | 0 {openclaw => integrations/openclaw}/Makefile | 0 {openclaw => integrations/openclaw}/README.md | 0 .../openclaw}/backend/base.ts | 0 .../openclaw}/backend/index.ts | 0 .../openclaw}/backend/platform.ts | 0 .../openclaw}/cli/commands.ts | 0 .../openclaw}/cli/config-file.ts | 0 .../openclaw}/cli/json-helpers.ts | 0 .../openclaw}/cli/oss-wizard.ts | 0 {openclaw => integrations/openclaw}/config.ts | 0 .../openclaw}/dream-gate.ts | 0 .../openclaw}/filtering.ts | 0 .../openclaw}/fs-safe.ts | 0 .../openclaw}/index.test.ts | 0 {openclaw => integrations/openclaw}/index.ts | 0 .../openclaw}/isolation.ts | 0 .../openclaw}/openclaw-plugin-sdk.d.ts | 0 .../openclaw}/openclaw.plugin.json | 0 .../openclaw}/package.json | 2 +- .../openclaw}/pnpm-lock.yaml | 0 .../openclaw}/pnpm-workspace.yaml | 0 .../openclaw}/providers.ts | 0 .../openclaw}/public-artifacts.ts | 0 {openclaw => integrations/openclaw}/recall.ts | 0 .../openclaw}/scripts/configure.py | 0 .../openclaw}/skill-loader.test.ts | 0 .../openclaw}/skill-loader.ts | 0 .../openclaw}/skills/memory-dream/SKILL.md | 0 .../openclaw}/skills/memory-triage/SKILL.md | 0 .../skills/memory-triage/domains/companion.md | 0 .../skills/memory-triage/recall-protocol.md | 0 .../openclaw}/sqlite-resilience.test.ts | 0 .../openclaw}/telemetry.ts | 0 .../openclaw}/test-shims/plugin-entry.ts | 0 .../openclaw}/test-shims/plugin-sdk.ts | 0 .../openclaw}/tests/backend-platform.test.ts | 0 .../openclaw}/tests/cli-commands.test.ts | 0 .../openclaw}/tests/config-file.test.ts | 0 .../openclaw}/tests/config.test.ts | 0 .../openclaw}/tests/dream-gate.test.ts | 0 .../openclaw}/tests/filtering.test.ts | 0 .../openclaw}/tests/fs-safe.test.ts | 0 .../openclaw}/tests/json-helpers.test.ts | 0 .../openclaw}/tests/oss-wizard.test.ts | 0 .../openclaw}/tests/providers.test.ts | 0 .../openclaw}/tests/telemetry.test.ts | 0 .../openclaw}/tests/tools.test.ts | 0 .../openclaw}/tools/index.ts | 0 .../openclaw}/tools/memory-add.ts | 0 .../openclaw}/tools/memory-delete.ts | 0 .../openclaw}/tools/memory-event-list.ts | 0 .../openclaw}/tools/memory-event-status.ts | 0 .../openclaw}/tools/memory-get.ts | 0 .../openclaw}/tools/memory-list.ts | 0 .../openclaw}/tools/memory-search.ts | 0 .../openclaw}/tools/memory-update.ts | 0 .../openclaw}/tsconfig.json | 0 .../openclaw}/tsup.config.ts | 0 {openclaw => integrations/openclaw}/types.ts | 0 .../openclaw}/vitest.config.ts | 0 .../pi-agent-plugin}/CHANGELOG.md | 0 .../pi-agent-plugin}/LICENSE | 0 .../pi-agent-plugin}/README.md | 0 .../pi-agent-plugin}/package.json | 2 +- .../pi-agent-plugin}/pnpm-lock.yaml | 0 .../skills/context-loader/SKILL.md | 0 .../pi-agent-plugin}/skills/dream/SKILL.md | 0 .../pi-agent-plugin}/skills/forget/SKILL.md | 0 .../pi-agent-plugin}/skills/pin/SKILL.md | 0 .../pi-agent-plugin}/skills/remember/SKILL.md | 0 .../pi-agent-plugin}/skills/search/SKILL.md | 0 .../pi-agent-plugin}/skills/status/SKILL.md | 0 .../pi-agent-plugin}/skills/tour/SKILL.md | 0 .../pi-agent-plugin}/src/capture/index.ts | 0 .../pi-agent-plugin}/src/commands.test.ts | 0 .../pi-agent-plugin}/src/commands.ts | 0 .../pi-agent-plugin}/src/config/index.ts | 0 .../pi-agent-plugin}/src/dream/index.ts | 0 .../pi-agent-plugin}/src/dream/prompt.ts | 0 .../pi-agent-plugin}/src/entry.test.ts | 0 .../pi-agent-plugin}/src/entry.ts | 0 .../pi-agent-plugin}/src/index.ts | 0 .../pi-agent-plugin}/src/memory/formatting.ts | 0 .../src/memory/scoping.test.ts | 0 .../pi-agent-plugin}/src/memory/scoping.ts | 0 .../pi-agent-plugin}/src/memory/tools.ts | 0 .../pi-agent-plugin}/src/prompt.ts | 0 .../pi-agent-plugin}/src/telemetry.ts | 0 .../pi-agent-plugin}/src/types.ts | 0 .../pi-agent-plugin}/tests/capture.test.ts | 0 .../pi-agent-plugin}/tests/config.test.ts | 0 .../pi-agent-plugin}/tests/dream.test.ts | 0 .../pi-agent-plugin}/tests/formatting.test.ts | 0 .../pi-agent-plugin}/tests/scoping.test.ts | 0 .../pi-agent-plugin}/tests/telemetry.test.ts | 0 .../pi-agent-plugin}/tests/tools.test.ts | 0 .../pi-agent-plugin}/tsconfig.json | 0 .../pi-agent-plugin}/tsup.config.ts | 0 .../pi-agent-plugin}/vitest.config.ts | 0 .../vercel-ai-sdk}/.gitattributes | 0 .../vercel-ai-sdk}/.gitignore | 0 .../vercel-ai-sdk}/README.md | 0 .../vercel-ai-sdk}/config/test-config.ts | 0 .../vercel-ai-sdk}/jest.config.js | 0 .../vercel-ai-sdk}/nodemon.json | 0 .../vercel-ai-sdk}/package.json | 2 +- .../vercel-ai-sdk}/pnpm-lock.yaml | 0 .../vercel-ai-sdk}/pnpm-workspace.yaml | 0 .../vercel-ai-sdk}/src/index.ts | 0 .../vercel-ai-sdk}/src/mem0-facade.ts | 0 .../src/mem0-generic-language-model.ts | 0 .../src/mem0-provider-selector.ts | 0 .../vercel-ai-sdk}/src/mem0-provider.ts | 0 .../vercel-ai-sdk}/src/mem0-types.ts | 0 .../vercel-ai-sdk}/src/mem0-utils.ts | 0 .../src/provider-response-provider.ts | 0 .../vercel-ai-sdk}/src/stream-utils.ts | 0 .../vercel-ai-sdk}/teardown.ts | 0 .../tests/generate-output.test.ts | 0 .../mem0-provider-tests/mem0-cohere.test.ts | 0 .../mem0-provider-tests/mem0-google.test.ts | 0 .../mem0-provider-tests/mem0-groq.test.ts | 0 .../mem0-openai-structured-ouput.test.ts | 0 .../mem0-provider-tests/mem0-openai.test.ts | 0 .../mem0_anthropic.test.ts | 0 .../tests/mem0-toolcalls.test.ts | 0 .../vercel-ai-sdk}/tests/memory-core.test.ts | 0 .../tests/text-properties.test.ts | 0 .../utils-test/anthropic-integration.test.ts | 0 .../utils-test/cohere-integration.test.ts | 0 .../utils-test/google-integration.test.ts | 0 .../tests/utils-test/groq-integration.test.ts | 0 .../utils-test/openai-integration.test.ts | 0 .../tests/v3-provider-contract.test.ts | 0 .../vercel-ai-sdk}/tsconfig.json | 0 .../vercel-ai-sdk}/tsup.config.ts | 0 marketplace.json | 2 +- skills/mem0-integrate/SKILL.md | 4 +- .../references/memory-utilities.md | 2 +- .../references/provider-api.md | 2 +- 295 files changed, 94 insertions(+), 81 deletions(-) rename {mem0-plugin => integrations/mem0-plugin}/.claude-plugin/plugin.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.codex-mcp.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.codex-plugin/plugin.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.cursor-mcp.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.cursor-plugin/plugin.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.mcp.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/CHANGELOG.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/LICENSE (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/README.md (97%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/bun.lock (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/cli.ts (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-mem0.ts (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/context-loader/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/dream/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/export/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/forget/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/health/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/import/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/list-projects/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/LICENSE (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/README.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/client/differences.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/client/node.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/client/python.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/api-reference.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/architecture.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/features.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/integration-patterns.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/quickstart.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/sdk-guide.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/references/use-cases.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/mem0/scripts/mem0_doc_search.ts (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/memory-reviewer/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/onboard/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/peek/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/pin/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/remember/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/stats/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/switch-project/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode-skills/tour/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/opencode.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/package.json (96%) rename {mem0-plugin => integrations/mem0-plugin}/.opencode-plugin/tsconfig.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/CHANGELOG.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/README.md (95%) rename {mem0-plugin => integrations/mem0-plugin}/hooks.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/hooks/codex-hooks.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/hooks/cursor-hooks.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/hooks/hooks.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/logo.svg (100%) rename {mem0-plugin => integrations/mem0-plugin}/mcp_config.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/plugin.json (100%) rename {mem0-plugin => integrations/mem0-plugin}/requirements.txt (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_chunking.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_formatting.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_identity.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_identity.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_project.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_project.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/_search.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/auto_capture.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/auto_import.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/auto_setup_categories.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/block_memory_write.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/block_memory_write_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/capture_compact_summary.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/capture_session_summary.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/enforce_metadata_defaults.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/ensure_deps.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/file_context.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/import_competing_tools.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/install_codex_hooks.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/load_settings.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_bash_output.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_file_read.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_file_read_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_post_tool_use.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_post_tool_use_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_pre_compact.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_pre_compact.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_pre_compact_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_session_start.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_session_start_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_stop.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_stop_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_user_prompt.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/on_user_prompt_cursor.sh (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/parse_export_file.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/parse_mem0_config.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/session_stats.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/session_timeline.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/setup_coding_categories.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/scripts/telemetry.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/context-loader/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/dream/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/export/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/forget/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/health/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/import/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/list-projects/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/LICENSE (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/README.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/client/differences.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/client/node.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/client/python.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/api-reference.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/architecture.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/features.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/integration-patterns.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/quickstart.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/sdk-guide.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/references/use-cases.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/mem0/scripts/mem0_doc_search.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/memory-reviewer/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/onboard/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/peek/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/pin/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/remember/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/stats/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/switch-project/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/skills/tour/SKILL.md (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/conftest.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_auto_capture.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_auto_setup_categories.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_coding_categories.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_import_competing_tools.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_parse_export_file.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_parse_mem0_config.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_project.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_rubric_dedup.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_search.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_session_stats.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_telemetry.py (100%) rename {mem0-plugin => integrations/mem0-plugin}/tests/test_write_path.py (100%) rename {openclaw => integrations/openclaw}/.gitignore (100%) rename {openclaw => integrations/openclaw}/.npmrc (100%) rename {openclaw => integrations/openclaw}/LICENSE (100%) rename {openclaw => integrations/openclaw}/Makefile (100%) rename {openclaw => integrations/openclaw}/README.md (100%) rename {openclaw => integrations/openclaw}/backend/base.ts (100%) rename {openclaw => integrations/openclaw}/backend/index.ts (100%) rename {openclaw => integrations/openclaw}/backend/platform.ts (100%) rename {openclaw => integrations/openclaw}/cli/commands.ts (100%) rename {openclaw => integrations/openclaw}/cli/config-file.ts (100%) rename {openclaw => integrations/openclaw}/cli/json-helpers.ts (100%) rename {openclaw => integrations/openclaw}/cli/oss-wizard.ts (100%) rename {openclaw => integrations/openclaw}/config.ts (100%) rename {openclaw => integrations/openclaw}/dream-gate.ts (100%) rename {openclaw => integrations/openclaw}/filtering.ts (100%) rename {openclaw => integrations/openclaw}/fs-safe.ts (100%) rename {openclaw => integrations/openclaw}/index.test.ts (100%) rename {openclaw => integrations/openclaw}/index.ts (100%) rename {openclaw => integrations/openclaw}/isolation.ts (100%) rename {openclaw => integrations/openclaw}/openclaw-plugin-sdk.d.ts (100%) rename {openclaw => integrations/openclaw}/openclaw.plugin.json (100%) rename {openclaw => integrations/openclaw}/package.json (97%) rename {openclaw => integrations/openclaw}/pnpm-lock.yaml (100%) rename {openclaw => integrations/openclaw}/pnpm-workspace.yaml (100%) rename {openclaw => integrations/openclaw}/providers.ts (100%) rename {openclaw => integrations/openclaw}/public-artifacts.ts (100%) rename {openclaw => integrations/openclaw}/recall.ts (100%) rename {openclaw => integrations/openclaw}/scripts/configure.py (100%) rename {openclaw => integrations/openclaw}/skill-loader.test.ts (100%) rename {openclaw => integrations/openclaw}/skill-loader.ts (100%) rename {openclaw => integrations/openclaw}/skills/memory-dream/SKILL.md (100%) rename {openclaw => integrations/openclaw}/skills/memory-triage/SKILL.md (100%) rename {openclaw => integrations/openclaw}/skills/memory-triage/domains/companion.md (100%) rename {openclaw => integrations/openclaw}/skills/memory-triage/recall-protocol.md (100%) rename {openclaw => integrations/openclaw}/sqlite-resilience.test.ts (100%) rename {openclaw => integrations/openclaw}/telemetry.ts (100%) rename {openclaw => integrations/openclaw}/test-shims/plugin-entry.ts (100%) rename {openclaw => integrations/openclaw}/test-shims/plugin-sdk.ts (100%) rename {openclaw => integrations/openclaw}/tests/backend-platform.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/cli-commands.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/config-file.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/config.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/dream-gate.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/filtering.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/fs-safe.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/json-helpers.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/oss-wizard.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/providers.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/telemetry.test.ts (100%) rename {openclaw => integrations/openclaw}/tests/tools.test.ts (100%) rename {openclaw => integrations/openclaw}/tools/index.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-add.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-delete.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-event-list.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-event-status.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-get.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-list.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-search.ts (100%) rename {openclaw => integrations/openclaw}/tools/memory-update.ts (100%) rename {openclaw => integrations/openclaw}/tsconfig.json (100%) rename {openclaw => integrations/openclaw}/tsup.config.ts (100%) rename {openclaw => integrations/openclaw}/types.ts (100%) rename {openclaw => integrations/openclaw}/vitest.config.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/CHANGELOG.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/LICENSE (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/README.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/package.json (96%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/pnpm-lock.yaml (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/context-loader/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/dream/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/forget/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/pin/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/remember/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/search/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/status/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/skills/tour/SKILL.md (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/capture/index.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/commands.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/commands.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/config/index.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/dream/index.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/dream/prompt.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/entry.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/entry.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/index.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/memory/formatting.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/memory/scoping.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/memory/scoping.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/memory/tools.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/prompt.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/telemetry.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/src/types.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/capture.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/config.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/dream.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/formatting.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/scoping.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/telemetry.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tests/tools.test.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tsconfig.json (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/tsup.config.ts (100%) rename {pi-agent-plugin => integrations/pi-agent-plugin}/vitest.config.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/.gitattributes (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/.gitignore (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/README.md (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/config/test-config.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/jest.config.js (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/nodemon.json (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/package.json (98%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/pnpm-lock.yaml (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/pnpm-workspace.yaml (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/index.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/mem0-facade.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/mem0-generic-language-model.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/mem0-provider-selector.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/mem0-provider.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/mem0-types.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/mem0-utils.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/provider-response-provider.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/src/stream-utils.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/teardown.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/generate-output.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-provider-tests/mem0-cohere.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-provider-tests/mem0-google.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-provider-tests/mem0-groq.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-provider-tests/mem0-openai-structured-ouput.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-provider-tests/mem0-openai.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-provider-tests/mem0_anthropic.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/mem0-toolcalls.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/memory-core.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/text-properties.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/utils-test/anthropic-integration.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/utils-test/cohere-integration.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/utils-test/google-integration.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/utils-test/groq-integration.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/utils-test/openai-integration.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tests/v3-provider-contract.test.ts (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tsconfig.json (100%) rename {vercel-ai-sdk => integrations/vercel-ai-sdk}/tsup.config.ts (100%) diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index 6e0e240a1..b09335c80 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -8,7 +8,7 @@ "name": "mem0", "source": { "source": "local", - "path": "./mem0-plugin" + "path": "./integrations/mem0-plugin" }, "policy": { "installation": "AVAILABLE", diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 5859339b7..847fc33e8 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "mem0", - "source": "./mem0-plugin", + "source": "./integrations/mem0-plugin", "description": "Mem0 memory layer for AI applications. Add persistent memory, personalization, and semantic search to Claude workflows.", "version": "0.2.9" } diff --git a/.codex-plugin/marketplace.json b/.codex-plugin/marketplace.json index 6e0e240a1..b09335c80 100644 --- a/.codex-plugin/marketplace.json +++ b/.codex-plugin/marketplace.json @@ -8,7 +8,7 @@ "name": "mem0", "source": { "source": "local", - "path": "./mem0-plugin" + "path": "./integrations/mem0-plugin" }, "policy": { "installation": "AVAILABLE", diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index 9576f2545..0aa700e77 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "mem0", - "source": "./mem0-plugin", + "source": "./integrations/mem0-plugin", "description": "Mem0 memory layer for AI applications. Add persistent memory, personalization, and semantic search.", "version": "0.2.9" } diff --git a/.github/workflows/ci-gate.yml b/.github/workflows/ci-gate.yml index 97840150c..01309a731 100644 --- a/.github/workflows/ci-gate.yml +++ b/.github/workflows/ci-gate.yml @@ -68,15 +68,15 @@ jobs: - '.github/workflows/cli-node-ci.yml' - '.github/workflows/ci-gate.yml' openclaw: - - 'openclaw/**' + - 'integrations/openclaw/**' - '.github/workflows/openclaw-checks.yml' - '.github/workflows/ci-gate.yml' opencode_plugin: - - 'mem0-plugin/.opencode-plugin/**' + - 'integrations/mem0-plugin/.opencode-plugin/**' - '.github/workflows/opencode-plugin-checks.yml' - '.github/workflows/ci-gate.yml' pi_agent_plugin: - - 'pi-agent-plugin/**' + - 'integrations/pi-agent-plugin/**' - '.github/workflows/pi-agent-plugin-checks.yml' - '.github/workflows/ci-gate.yml' docs_llms_txt: diff --git a/.github/workflows/openclaw-cd.yml b/.github/workflows/openclaw-cd.yml index cc9aaf874..55bcfa080 100644 --- a/.github/workflows/openclaw-cd.yml +++ b/.github/workflows/openclaw-cd.yml @@ -25,7 +25,7 @@ jobs: id-token: write defaults: run: - working-directory: openclaw + working-directory: integrations/openclaw steps: - uses: actions/checkout@v4 with: @@ -42,7 +42,7 @@ jobs: node-version: '22' registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - cache-dependency-path: openclaw/pnpm-lock.yaml + cache-dependency-path: integrations/openclaw/pnpm-lock.yaml - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/openclaw-checks.yml b/.github/workflows/openclaw-checks.yml index 611ac0a0a..ec3bfee54 100644 --- a/.github/workflows/openclaw-checks.yml +++ b/.github/workflows/openclaw-checks.yml @@ -7,7 +7,7 @@ on: push: branches: [main] paths: - - 'openclaw/**' + - 'integrations/openclaw/**' - '.github/workflows/openclaw-checks.yml' workflow_call: @@ -27,13 +27,13 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: openclaw/pnpm-lock.yaml + cache-dependency-path: integrations/openclaw/pnpm-lock.yaml - name: Install dependencies - run: cd openclaw && pnpm install --frozen-lockfile + run: cd integrations/openclaw && pnpm install --frozen-lockfile - name: Type check - run: cd openclaw && pnpm exec tsc --noEmit + run: cd integrations/openclaw && pnpm exec tsc --noEmit test: runs-on: ubuntu-latest @@ -53,20 +53,20 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - cache-dependency-path: openclaw/pnpm-lock.yaml + cache-dependency-path: integrations/openclaw/pnpm-lock.yaml - name: Install dependencies - run: cd openclaw && pnpm install --frozen-lockfile + run: cd integrations/openclaw && pnpm install --frozen-lockfile - name: Run tests with coverage - run: cd openclaw && pnpm exec vitest run --coverage + run: cd integrations/openclaw && pnpm exec vitest run --coverage - name: Upload coverage to Codecov if: matrix.node-version == 20 uses: codecov/codecov-action@v4 with: flags: openclaw - directory: openclaw/coverage + directory: integrations/openclaw/coverage env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -85,15 +85,15 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: openclaw/pnpm-lock.yaml + cache-dependency-path: integrations/openclaw/pnpm-lock.yaml - name: Install dependencies - run: cd openclaw && pnpm install --frozen-lockfile + run: cd integrations/openclaw && pnpm install --frozen-lockfile - name: Build - run: cd openclaw && pnpm build + run: cd integrations/openclaw && pnpm build - name: Verify dist output exists run: | - test -f openclaw/dist/index.js || (echo "Build output missing: dist/index.js" && exit 1) - test -f openclaw/dist/index.d.ts || (echo "Build output missing: dist/index.d.ts" && exit 1) + test -f integrations/openclaw/dist/index.js || (echo "Build output missing: dist/index.js" && exit 1) + test -f integrations/openclaw/dist/index.d.ts || (echo "Build output missing: dist/index.d.ts" && exit 1) diff --git a/.github/workflows/opencode-plugin-cd.yml b/.github/workflows/opencode-plugin-cd.yml index dd1a293d9..bf37f739f 100644 --- a/.github/workflows/opencode-plugin-cd.yml +++ b/.github/workflows/opencode-plugin-cd.yml @@ -25,7 +25,7 @@ jobs: id-token: write defaults: run: - working-directory: mem0-plugin/.opencode-plugin + working-directory: integrations/mem0-plugin/.opencode-plugin steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/opencode-plugin-checks.yml b/.github/workflows/opencode-plugin-checks.yml index 514a20166..f1d9585f1 100644 --- a/.github/workflows/opencode-plugin-checks.yml +++ b/.github/workflows/opencode-plugin-checks.yml @@ -7,7 +7,7 @@ on: push: branches: [main] paths: - - 'mem0-plugin/.opencode-plugin/**' + - 'integrations/mem0-plugin/.opencode-plugin/**' - '.github/workflows/opencode-plugin-checks.yml' workflow_call: @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: mem0-plugin/.opencode-plugin + working-directory: integrations/mem0-plugin/.opencode-plugin steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pi-agent-plugin-cd.yml b/.github/workflows/pi-agent-plugin-cd.yml index f32bb7196..bd593a01f 100644 --- a/.github/workflows/pi-agent-plugin-cd.yml +++ b/.github/workflows/pi-agent-plugin-cd.yml @@ -25,7 +25,7 @@ jobs: id-token: write defaults: run: - working-directory: pi-agent-plugin + working-directory: integrations/pi-agent-plugin steps: - uses: actions/checkout@v4 with: @@ -42,7 +42,7 @@ jobs: node-version: '22' registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - cache-dependency-path: pi-agent-plugin/pnpm-lock.yaml + cache-dependency-path: integrations/pi-agent-plugin/pnpm-lock.yaml - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/pi-agent-plugin-checks.yml b/.github/workflows/pi-agent-plugin-checks.yml index ba18c07bc..258863f9e 100644 --- a/.github/workflows/pi-agent-plugin-checks.yml +++ b/.github/workflows/pi-agent-plugin-checks.yml @@ -7,7 +7,7 @@ on: push: branches: [main] paths: - - 'pi-agent-plugin/**' + - 'integrations/pi-agent-plugin/**' - '.github/workflows/pi-agent-plugin-checks.yml' workflow_call: @@ -27,13 +27,13 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: pi-agent-plugin/pnpm-lock.yaml + cache-dependency-path: integrations/pi-agent-plugin/pnpm-lock.yaml - name: Install dependencies - run: cd pi-agent-plugin && pnpm install --frozen-lockfile + run: cd integrations/pi-agent-plugin && pnpm install --frozen-lockfile - name: Type check - run: cd pi-agent-plugin && pnpm exec tsc --noEmit + run: cd integrations/pi-agent-plugin && pnpm exec tsc --noEmit test: runs-on: ubuntu-latest @@ -53,13 +53,13 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - cache-dependency-path: pi-agent-plugin/pnpm-lock.yaml + cache-dependency-path: integrations/pi-agent-plugin/pnpm-lock.yaml - name: Install dependencies - run: cd pi-agent-plugin && pnpm install --frozen-lockfile + run: cd integrations/pi-agent-plugin && pnpm install --frozen-lockfile - name: Run tests - run: cd pi-agent-plugin && pnpm exec vitest run + run: cd integrations/pi-agent-plugin && pnpm exec vitest run build: runs-on: ubuntu-latest @@ -76,17 +76,17 @@ jobs: with: node-version: 20 cache: 'pnpm' - cache-dependency-path: pi-agent-plugin/pnpm-lock.yaml + cache-dependency-path: integrations/pi-agent-plugin/pnpm-lock.yaml - name: Install dependencies - run: cd pi-agent-plugin && pnpm install --frozen-lockfile + run: cd integrations/pi-agent-plugin && pnpm install --frozen-lockfile - name: Build - run: cd pi-agent-plugin && pnpm build + run: cd integrations/pi-agent-plugin && pnpm build - name: Verify dist output exists run: | - test -f pi-agent-plugin/dist/index.js || (echo "Build output missing: dist/index.js" && exit 1) - test -f pi-agent-plugin/dist/index.d.ts || (echo "Build output missing: dist/index.d.ts" && exit 1) - test -f pi-agent-plugin/dist/entry.js || (echo "Build output missing: dist/entry.js" && exit 1) - test -f pi-agent-plugin/dist/entry.d.ts || (echo "Build output missing: dist/entry.d.ts" && exit 1) + test -f integrations/pi-agent-plugin/dist/index.js || (echo "Build output missing: dist/index.js" && exit 1) + test -f integrations/pi-agent-plugin/dist/index.d.ts || (echo "Build output missing: dist/index.d.ts" && exit 1) + test -f integrations/pi-agent-plugin/dist/entry.js || (echo "Build output missing: dist/entry.js" && exit 1) + test -f integrations/pi-agent-plugin/dist/entry.d.ts || (echo "Build output missing: dist/entry.d.ts" && exit 1) diff --git a/.github/workflows/vercel-ai-cd.yml b/.github/workflows/vercel-ai-cd.yml index 18dd4b31d..a249f8c63 100644 --- a/.github/workflows/vercel-ai-cd.yml +++ b/.github/workflows/vercel-ai-cd.yml @@ -25,7 +25,7 @@ jobs: id-token: write defaults: run: - working-directory: vercel-ai-sdk + working-directory: integrations/vercel-ai-sdk steps: - uses: actions/checkout@v4 with: @@ -42,7 +42,7 @@ jobs: node-version: '22' registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - cache-dependency-path: vercel-ai-sdk/pnpm-lock.yaml + cache-dependency-path: integrations/vercel-ai-sdk/pnpm-lock.yaml - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/AGENTS.md b/AGENTS.md index 32f07f97d..514e6297e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -22,11 +22,13 @@ This is a **polyglot monorepo** containing Python and TypeScript packages, CLIs, | `mem0-ts/` | TypeScript SDK (`mem0ai` on npm) — client + OSS memory | | `cli/python/` | Python CLI (`mem0-cli` on PyPI) — Typer-based, entry point `mem0` | | `cli/node/` | Node CLI (`@mem0/cli` on npm) — Commander-based, entry point `mem0` | -| `vercel-ai-sdk/` | `@mem0/vercel-ai-provider` — Vercel AI SDK memory provider | -| `openclaw/` | `@mem0/openclaw-mem0` — OpenClaw plugin for Claude Code / AI editors | +| `integrations/` | **Agent & editor integrations**, one directory per integration (see "Adding a New Integration") | +| `integrations/mem0-plugin/` | AI editor plugins (Claude Code, Cursor, Codex) — MCP server connection, lifecycle hooks, skills. Contains nested `.opencode-plugin/` (`@mem0/opencode-plugin`) | +| `integrations/openclaw/` | `@mem0/openclaw-mem0` — OpenClaw plugin for Claude Code / AI editors | +| `integrations/pi-agent-plugin/` | `@mem0/pi-agent-plugin` — Pi Agent plugin | +| `integrations/vercel-ai-sdk/` | `@mem0/vercel-ai-provider` — Vercel AI SDK memory provider | | `server/` | FastAPI REST server for self-hosted Mem0 (Docker: FastAPI + PostgreSQL/pgvector + Neo4j) | | `openmemory/` | Self-hosted memory platform — `api/` (FastAPI + Alembic + MCP server) and `ui/` (Next.js 15 + React 19) | -| `mem0-plugin/` | AI editor plugins (Claude Code, Cursor, Codex) — MCP server connection, lifecycle hooks, skills | | `skills/` | Claude Code skill definitions. Reference skills (SDK knowledge, always-on): `mem0/`, `mem0-cli/`, `mem0-vercel-ai-sdk/`. Pipeline skills (run on demand): `mem0-integrate/`, `mem0-test-integration/` | | `docs/` | Documentation site (Mintlify) | | `tests/` | Python SDK tests (pytest) | @@ -49,8 +51,8 @@ mem0 (Python SDK) mem0-ts (TypeScript SDK) cli/python/ ──▶ mem0ai (optional, for OSS mode) cli/node/ ──▶ mem0ai (npm, for API calls) -vercel-ai-sdk/ ──▶ ai, @ai-sdk/* providers -openclaw/ ──▶ mem0ai (npm) +integrations/vercel-ai-sdk/ ──▶ ai, @ai-sdk/* providers +integrations/openclaw/ ──▶ mem0ai (npm) ``` ## Development Setup @@ -73,8 +75,8 @@ pre-commit install # install git hooks # TypeScript packages cd mem0-ts && pnpm install # TS SDK cd cli/node && pnpm install # Node CLI -cd vercel-ai-sdk && pnpm install # Vercel AI provider -cd openclaw && pnpm install # OpenClaw plugin +cd integrations/vercel-ai-sdk && pnpm install # Vercel AI provider +cd integrations/openclaw && pnpm install # OpenClaw plugin ``` ## Build, Lint, and Test Commands @@ -162,10 +164,10 @@ pnpm run dev # tsx src/index.ts (development) - **Test:** vitest (not jest) - **Framework:** Commander + Chalk + ora + cli-table3 -### Vercel AI SDK Provider (`vercel-ai-sdk/`) +### Vercel AI SDK Provider (`integrations/vercel-ai-sdk/`) ```bash -cd vercel-ai-sdk +cd integrations/vercel-ai-sdk pnpm install pnpm run build # tsup pnpm run lint # eslint @@ -180,10 +182,10 @@ pnpm run test:node # vitest (node runtime) - **Lint:** ESLint + Prettier - **Test:** jest + vitest (edge/node configs) -### OpenClaw Plugin (`openclaw/`) +### OpenClaw Plugin (`integrations/openclaw/`) ```bash -cd openclaw +cd integrations/openclaw pnpm install pnpm run build # tsup pnpm run test # vitest run @@ -342,8 +344,8 @@ make run-openai # OpenAI comparison |---------|--------|-----------|---------------| | `mem0-ts/` | — | Prettier | jest | | `cli/node/` | Biome | Biome | vitest | -| `vercel-ai-sdk/` | ESLint | Prettier | jest + vitest | -| `openclaw/` | — | — | vitest | +| `integrations/vercel-ai-sdk/` | ESLint | Prettier | jest + vitest | +| `integrations/openclaw/` | — | — | vitest | ### Type Checking @@ -381,11 +383,11 @@ Model Context Protocol support in multiple places: - **Remote:** MCP server at `mcp.mem0.ai` - **Local:** MCP server in `openmemory/api/` (FastAPI-based) -- **Plugin:** MCP tools in `mem0-plugin/` — 9 tools: `add_memory`, `search_memories`, `get_memories`, `get_memory`, `update_memory`, `delete_memory`, `delete_all_memories`, `delete_entities`, `list_entities` +- **Plugin:** MCP tools in `integrations/mem0-plugin/` — 9 tools: `add_memory`, `search_memories`, `get_memories`, `get_memory`, `update_memory`, `delete_memory`, `delete_all_memories`, `delete_entities`, `list_entities` ### Plugin & Skills System -- `mem0-plugin/` provides integrations for Claude Code, Cursor, and Codex via MCP server connections and lifecycle hooks for automatic memory capture. +- `integrations/mem0-plugin/` provides integrations for Claude Code, Cursor, and Codex via MCP server connections and lifecycle hooks for automatic memory capture. - `skills/` contains structured skill definitions for AI agents, split into two categories: - **Reference skills** (always-on SDK knowledge): `mem0` (Python + TS SDKs, framework integrations), `mem0-cli` (terminal workflows), `mem0-vercel-ai-sdk` (Vercel AI provider). - **Pipeline skills** (run on demand): `mem0-integrate` wires Mem0 into an existing repo via a TDD pipeline; `mem0-test-integration` verifies what the integrator produced on the same branch. The two are loosely coupled via `.mem0-integration/` artifacts. @@ -402,6 +404,17 @@ To add a new LLM, embedding, vector store, or reranker provider: 6. Add any new dependencies to the appropriate optional group in `pyproject.toml` (never to core `dependencies`) 7. Follow the exact pattern of existing providers in the same category — match method signatures, error handling, and config structure +### Adding a New Integration + +Agent/editor integrations live under `integrations/`. Each is a self-contained directory (its own `package.json`/lockfile, build, and tests). To add one: + +1. Create `integrations//` and build the integration there. +2. If it publishes to a registry, set `repository.directory: "integrations/"` in its `package.json` so npm provenance links to the correct subdirectory. +3. Add CI/CD under `.github/workflows/` (`-checks.yml`, `-cd.yml`). Use `integrations/` in `paths:` triggers, `working-directory`, and `cache-dependency-path`. Register the release tag prefix in the `case` block in `release.yml` (keep the bare `v*` arm last). Keep workflow **filenames** stable — npm OIDC trusted publishing is pinned to repo + workflow filename. +4. If it is a Claude Code / editor marketplace plugin, register its path in the five `marketplace.json` files (root + `.claude-plugin/`, `.cursor-plugin/`, `.codex-plugin/`, `.agents/plugins/`). +5. Document it under `docs/integrations/` and add the page to `docs/docs.json` and `docs/llms.txt`. +6. Add rows to the "Key Directories" table and the CI/CD tables in this file. + ## CI/CD ### CI Workflows (automated testing) @@ -415,9 +428,9 @@ PR testing is orchestrated by a single entry point: **`ci-gate.yml` (CI Gate)** | TypeScript SDK | `ts-sdk-ci.yml` | Push to main (on `mem0-ts/`) | Prettier + build + jest on Node 20, 22 | | Python CLI | `cli-python-ci.yml` | Push to main (on `cli/python/`), manual | Ruff lint + pytest + hatch build on Python 3.10, 3.11, 3.12 | | Node CLI | `cli-node-ci.yml` | Push to main (on `cli/node/`), manual | Biome lint + tsc + vitest + tsup build on Node 20, 22 | -| OpenClaw | `openclaw-checks.yml` | Push to main (on `openclaw/`), manual | tsc + vitest (with Codecov) + tsup build on Node 20, 22 | -| OpenCode Plugin | `opencode-plugin-checks.yml` | Push to main (on `mem0-plugin/.opencode-plugin/`), manual | Bun: tsc type-check + build + dist artifact check | -| Pi Agent Plugin | `pi-agent-plugin-checks.yml` | Push to main (on `pi-agent-plugin/`), manual | tsc + vitest + tsup build (dist artifact check) on Node 20, 22 | +| OpenClaw | `openclaw-checks.yml` | Push to main (on `integrations/openclaw/`), manual | tsc + vitest (with Codecov) + tsup build on Node 20, 22 | +| OpenCode Plugin | `opencode-plugin-checks.yml` | Push to main (on `integrations/mem0-plugin/.opencode-plugin/`), manual | Bun: tsc type-check + build + dist artifact check | +| Pi Agent Plugin | `pi-agent-plugin-checks.yml` | Push to main (on `integrations/pi-agent-plugin/`), manual | tsc + vitest + tsup build (dist artifact check) on Node 20, 22 | | docs llms.txt | `docs-llms-txt-check.yml` | Manual | `docs/llms.txt` coverage check | When adding a new package CI workflow: give it `workflow_call` (plus `push`/`workflow_dispatch` as needed, but no `pull_request` trigger), then register it in `ci-gate.yml` — a path filter under the `changes` job, a call job, and an entry in the gate job's `needs` list. diff --git a/docs/integrations/antigravity.mdx b/docs/integrations/antigravity.mdx index 3a6836f58..9a9d9b1f4 100644 --- a/docs/integrations/antigravity.mdx +++ b/docs/integrations/antigravity.mdx @@ -28,7 +28,7 @@ echo 'export MEM0_API_KEY="m0-your-api-key"' >> ~/.bashrc && source ~/.bashrc ```bash # Install the plugin (MCP server, hooks, scripts) -npx degit mem0ai/mem0/mem0-plugin ~/.gemini/config/plugins/mem0 +npx degit mem0ai/mem0/integrations/mem0-plugin ~/.gemini/config/plugins/mem0 ``` This installs the MCP server, lifecycle hooks, and shared scripts. diff --git a/docs/integrations/opencode.mdx b/docs/integrations/opencode.mdx index e069ab8e6..6b608fc02 100644 --- a/docs/integrations/opencode.mdx +++ b/docs/integrations/opencode.mdx @@ -43,7 +43,7 @@ bunx @mem0/opencode-plugin@latest install **Or let your agent do it** — paste this into OpenCode: ``` -Install @mem0/opencode-plugin by following https://raw.githubusercontent.com/mem0ai/mem0/main/mem0-plugin/.opencode-plugin/README.md +Install @mem0/opencode-plugin by following https://raw.githubusercontent.com/mem0ai/mem0/main/integrations/mem0-plugin/.opencode-plugin/README.md ``` All commands auto-add the plugin and MCP server to your `~/.config/opencode/opencode.json`. Restart OpenCode — you get the MCP server, lifecycle hooks, and all `/mem0:` slash commands. diff --git a/docs/llms.txt b/docs/llms.txt index eb73d796c..ccca47734 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -398,9 +398,9 @@ Each subdirectory is a Claude Code Skill (`SKILL.md` + supporting assets). Load ### Editor Plugin (shared glue) -Source: https://github.com/mem0ai/mem0/tree/main/mem0-plugin +Source: https://github.com/mem0ai/mem0/tree/main/integrations/mem0-plugin -The `mem0-plugin/` directory provides MCP server connection, lifecycle hooks, and skill bundling for Claude Code, Cursor, Codex, OpenCode, and Antigravity. It exposes 9 MCP tools: `add_memory`, `search_memories`, `get_memories`, `get_memory`, `update_memory`, `delete_memory`, `delete_all_memories`, `delete_entities`, `list_entities`. +The `integrations/mem0-plugin/` directory provides MCP server connection, lifecycle hooks, and skill bundling for Claude Code, Cursor, Codex, OpenCode, and Antigravity. It exposes 9 MCP tools: `add_memory`, `search_memories`, `get_memories`, `get_memory`, `update_memory`, `delete_memory`, `delete_all_memories`, `delete_entities`, `list_entities`. Editor-specific setup docs (already listed above under `## Integrations > AI Coding Tools`): diff --git a/mem0-plugin/.claude-plugin/plugin.json b/integrations/mem0-plugin/.claude-plugin/plugin.json similarity index 100% rename from mem0-plugin/.claude-plugin/plugin.json rename to integrations/mem0-plugin/.claude-plugin/plugin.json diff --git a/mem0-plugin/.codex-mcp.json b/integrations/mem0-plugin/.codex-mcp.json similarity index 100% rename from mem0-plugin/.codex-mcp.json rename to integrations/mem0-plugin/.codex-mcp.json diff --git a/mem0-plugin/.codex-plugin/plugin.json b/integrations/mem0-plugin/.codex-plugin/plugin.json similarity index 100% rename from mem0-plugin/.codex-plugin/plugin.json rename to integrations/mem0-plugin/.codex-plugin/plugin.json diff --git a/mem0-plugin/.cursor-mcp.json b/integrations/mem0-plugin/.cursor-mcp.json similarity index 100% rename from mem0-plugin/.cursor-mcp.json rename to integrations/mem0-plugin/.cursor-mcp.json diff --git a/mem0-plugin/.cursor-plugin/plugin.json b/integrations/mem0-plugin/.cursor-plugin/plugin.json similarity index 100% rename from mem0-plugin/.cursor-plugin/plugin.json rename to integrations/mem0-plugin/.cursor-plugin/plugin.json diff --git a/mem0-plugin/.mcp.json b/integrations/mem0-plugin/.mcp.json similarity index 100% rename from mem0-plugin/.mcp.json rename to integrations/mem0-plugin/.mcp.json diff --git a/mem0-plugin/.opencode-plugin/CHANGELOG.md b/integrations/mem0-plugin/.opencode-plugin/CHANGELOG.md similarity index 100% rename from mem0-plugin/.opencode-plugin/CHANGELOG.md rename to integrations/mem0-plugin/.opencode-plugin/CHANGELOG.md diff --git a/mem0-plugin/.opencode-plugin/LICENSE b/integrations/mem0-plugin/.opencode-plugin/LICENSE similarity index 100% rename from mem0-plugin/.opencode-plugin/LICENSE rename to integrations/mem0-plugin/.opencode-plugin/LICENSE diff --git a/mem0-plugin/.opencode-plugin/README.md b/integrations/mem0-plugin/.opencode-plugin/README.md similarity index 97% rename from mem0-plugin/.opencode-plugin/README.md rename to integrations/mem0-plugin/.opencode-plugin/README.md index fac980ad7..680f300f7 100644 --- a/mem0-plugin/.opencode-plugin/README.md +++ b/integrations/mem0-plugin/.opencode-plugin/README.md @@ -17,7 +17,7 @@ opencode plugin @mem0/opencode-plugin **Or let your agent do it** — paste this into OpenCode: ``` -Install @mem0/opencode-plugin by following https://raw.githubusercontent.com/mem0ai/mem0/main/mem0-plugin/.opencode-plugin/README.md +Install @mem0/opencode-plugin by following https://raw.githubusercontent.com/mem0ai/mem0/main/integrations/mem0-plugin/.opencode-plugin/README.md ``` All commands auto-add the plugin and MCP server to your `~/.config/opencode/opencode.json`. No manual config needed. diff --git a/mem0-plugin/.opencode-plugin/bun.lock b/integrations/mem0-plugin/.opencode-plugin/bun.lock similarity index 100% rename from mem0-plugin/.opencode-plugin/bun.lock rename to integrations/mem0-plugin/.opencode-plugin/bun.lock diff --git a/mem0-plugin/.opencode-plugin/cli.ts b/integrations/mem0-plugin/.opencode-plugin/cli.ts similarity index 100% rename from mem0-plugin/.opencode-plugin/cli.ts rename to integrations/mem0-plugin/.opencode-plugin/cli.ts diff --git a/mem0-plugin/.opencode-plugin/opencode-mem0.ts b/integrations/mem0-plugin/.opencode-plugin/opencode-mem0.ts similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-mem0.ts rename to integrations/mem0-plugin/.opencode-plugin/opencode-mem0.ts diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/context-loader/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/context-loader/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/context-loader/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/context-loader/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/dream/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/dream/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/dream/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/dream/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/export/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/export/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/export/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/export/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/forget/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/forget/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/forget/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/forget/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/health/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/health/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/health/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/health/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/import/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/import/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/import/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/import/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/list-projects/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/list-projects/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/list-projects/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/list-projects/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/LICENSE b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/LICENSE similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/LICENSE rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/LICENSE diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/README.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/README.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/README.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/README.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/differences.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/differences.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/differences.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/differences.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/node.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/node.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/node.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/node.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/python.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/python.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/python.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/client/python.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/api-reference.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/api-reference.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/api-reference.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/api-reference.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/architecture.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/architecture.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/architecture.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/architecture.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/features.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/features.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/features.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/features.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/integration-patterns.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/integration-patterns.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/integration-patterns.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/integration-patterns.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/quickstart.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/quickstart.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/quickstart.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/quickstart.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/sdk-guide.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/sdk-guide.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/sdk-guide.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/sdk-guide.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/use-cases.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/use-cases.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/use-cases.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/references/use-cases.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/mem0/scripts/mem0_doc_search.ts b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/scripts/mem0_doc_search.ts similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/mem0/scripts/mem0_doc_search.ts rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0/scripts/mem0_doc_search.ts diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/memory-reviewer/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/memory-reviewer/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/memory-reviewer/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/memory-reviewer/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/onboard/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/onboard/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/onboard/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/onboard/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/peek/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/peek/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/peek/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/peek/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/pin/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/pin/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/pin/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/pin/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/remember/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/remember/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/remember/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/remember/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/stats/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/stats/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/stats/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/stats/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/switch-project/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/switch-project/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/switch-project/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/switch-project/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode-skills/tour/SKILL.md b/integrations/mem0-plugin/.opencode-plugin/opencode-skills/tour/SKILL.md similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode-skills/tour/SKILL.md rename to integrations/mem0-plugin/.opencode-plugin/opencode-skills/tour/SKILL.md diff --git a/mem0-plugin/.opencode-plugin/opencode.json b/integrations/mem0-plugin/.opencode-plugin/opencode.json similarity index 100% rename from mem0-plugin/.opencode-plugin/opencode.json rename to integrations/mem0-plugin/.opencode-plugin/opencode.json diff --git a/mem0-plugin/.opencode-plugin/package.json b/integrations/mem0-plugin/.opencode-plugin/package.json similarity index 96% rename from mem0-plugin/.opencode-plugin/package.json rename to integrations/mem0-plugin/.opencode-plugin/package.json index 53ebcac6e..f662ce4c4 100644 --- a/mem0-plugin/.opencode-plugin/package.json +++ b/integrations/mem0-plugin/.opencode-plugin/package.json @@ -30,7 +30,7 @@ "repository": { "type": "git", "url": "https://github.com/mem0ai/mem0", - "directory": "mem0-plugin/.opencode-plugin" + "directory": "integrations/mem0-plugin/.opencode-plugin" }, "files": [ "dist", diff --git a/mem0-plugin/.opencode-plugin/tsconfig.json b/integrations/mem0-plugin/.opencode-plugin/tsconfig.json similarity index 100% rename from mem0-plugin/.opencode-plugin/tsconfig.json rename to integrations/mem0-plugin/.opencode-plugin/tsconfig.json diff --git a/mem0-plugin/CHANGELOG.md b/integrations/mem0-plugin/CHANGELOG.md similarity index 100% rename from mem0-plugin/CHANGELOG.md rename to integrations/mem0-plugin/CHANGELOG.md diff --git a/mem0-plugin/README.md b/integrations/mem0-plugin/README.md similarity index 95% rename from mem0-plugin/README.md rename to integrations/mem0-plugin/README.md index 3093c9ced..090d80e64 100644 --- a/mem0-plugin/README.md +++ b/integrations/mem0-plugin/README.md @@ -90,14 +90,14 @@ git clone https://github.com/mem0ai/mem0.git ~/codex-plugins/mem0-source codex plugin marketplace add ~/codex-plugins/mem0-source ``` -This points Codex at the repo's `.agents/plugins/marketplace.json`, which references `mem0-plugin/` as the local source. Restart Codex, run `/plugins`, and install **Mem0** from the **Mem0 Plugins** marketplace. +This points Codex at the repo's `.agents/plugins/marketplace.json`, which references `integrations/mem0-plugin/` as the local source. Restart Codex, run `/plugins`, and install **Mem0** from the **Mem0 Plugins** marketplace. -> **Don't combine with Option A.** The plugin manifest auto-registers `mem0` as an MCP server via `mem0-plugin/.codex-mcp.json` — adding a manual `[mcp_servers.mem0]` block would duplicate the registration. +> **Don't combine with Option A.** The plugin manifest auto-registers `mem0` as an MCP server via `integrations/mem0-plugin/.codex-mcp.json` — adding a manual `[mcp_servers.mem0]` block would duplicate the registration. **Optional — enable lifecycle hooks.** Codex doesn't auto-wire hooks from plugin manifests; it only reads `~/.codex/hooks.json` (or `/.codex/hooks.json`) ([docs](https://developers.openai.com/codex/hooks)). Run the bundled installer once to merge Mem0's entries: ```bash -python3 ~/codex-plugins/mem0-source/mem0-plugin/scripts/install_codex_hooks.py +python3 ~/codex-plugins/mem0-source/integrations/mem0-plugin/scripts/install_codex_hooks.py ``` This merges three entries into `~/.codex/hooks.json` with absolute paths pointing into your clone: @@ -190,7 +190,7 @@ See [OpenCode integration docs](https://docs.mem0.ai/integrations/opencode) for ```bash # Install the plugin (MCP server, hooks, scripts) -npx degit mem0ai/mem0/mem0-plugin ~/.gemini/config/plugins/mem0 +npx degit mem0ai/mem0/integrations/mem0-plugin ~/.gemini/config/plugins/mem0 ``` This installs the MCP server, lifecycle hooks, and shared scripts. @@ -276,10 +276,10 @@ The background setup is idempotent and runs once per account (cached in `~/.mem0 ```bash # Dry-run -- prints current vs proposed, no changes: -python mem0-plugin/scripts/setup_coding_categories.py +python integrations/mem0-plugin/scripts/setup_coding_categories.py # Write explicitly: -python mem0-plugin/scripts/setup_coding_categories.py --apply +python integrations/mem0-plugin/scripts/setup_coding_categories.py --apply ``` Requires the `mem0ai` Python SDK (`pip install mem0ai`) and `MEM0_API_KEY` set. `project.update(custom_categories=[...])` always replaces the full list. diff --git a/mem0-plugin/hooks.json b/integrations/mem0-plugin/hooks.json similarity index 100% rename from mem0-plugin/hooks.json rename to integrations/mem0-plugin/hooks.json diff --git a/mem0-plugin/hooks/codex-hooks.json b/integrations/mem0-plugin/hooks/codex-hooks.json similarity index 100% rename from mem0-plugin/hooks/codex-hooks.json rename to integrations/mem0-plugin/hooks/codex-hooks.json diff --git a/mem0-plugin/hooks/cursor-hooks.json b/integrations/mem0-plugin/hooks/cursor-hooks.json similarity index 100% rename from mem0-plugin/hooks/cursor-hooks.json rename to integrations/mem0-plugin/hooks/cursor-hooks.json diff --git a/mem0-plugin/hooks/hooks.json b/integrations/mem0-plugin/hooks/hooks.json similarity index 100% rename from mem0-plugin/hooks/hooks.json rename to integrations/mem0-plugin/hooks/hooks.json diff --git a/mem0-plugin/logo.svg b/integrations/mem0-plugin/logo.svg similarity index 100% rename from mem0-plugin/logo.svg rename to integrations/mem0-plugin/logo.svg diff --git a/mem0-plugin/mcp_config.json b/integrations/mem0-plugin/mcp_config.json similarity index 100% rename from mem0-plugin/mcp_config.json rename to integrations/mem0-plugin/mcp_config.json diff --git a/mem0-plugin/plugin.json b/integrations/mem0-plugin/plugin.json similarity index 100% rename from mem0-plugin/plugin.json rename to integrations/mem0-plugin/plugin.json diff --git a/mem0-plugin/requirements.txt b/integrations/mem0-plugin/requirements.txt similarity index 100% rename from mem0-plugin/requirements.txt rename to integrations/mem0-plugin/requirements.txt diff --git a/mem0-plugin/scripts/_chunking.py b/integrations/mem0-plugin/scripts/_chunking.py similarity index 100% rename from mem0-plugin/scripts/_chunking.py rename to integrations/mem0-plugin/scripts/_chunking.py diff --git a/mem0-plugin/scripts/_formatting.py b/integrations/mem0-plugin/scripts/_formatting.py similarity index 100% rename from mem0-plugin/scripts/_formatting.py rename to integrations/mem0-plugin/scripts/_formatting.py diff --git a/mem0-plugin/scripts/_identity.py b/integrations/mem0-plugin/scripts/_identity.py similarity index 100% rename from mem0-plugin/scripts/_identity.py rename to integrations/mem0-plugin/scripts/_identity.py diff --git a/mem0-plugin/scripts/_identity.sh b/integrations/mem0-plugin/scripts/_identity.sh similarity index 100% rename from mem0-plugin/scripts/_identity.sh rename to integrations/mem0-plugin/scripts/_identity.sh diff --git a/mem0-plugin/scripts/_project.py b/integrations/mem0-plugin/scripts/_project.py similarity index 100% rename from mem0-plugin/scripts/_project.py rename to integrations/mem0-plugin/scripts/_project.py diff --git a/mem0-plugin/scripts/_project.sh b/integrations/mem0-plugin/scripts/_project.sh similarity index 100% rename from mem0-plugin/scripts/_project.sh rename to integrations/mem0-plugin/scripts/_project.sh diff --git a/mem0-plugin/scripts/_search.py b/integrations/mem0-plugin/scripts/_search.py similarity index 100% rename from mem0-plugin/scripts/_search.py rename to integrations/mem0-plugin/scripts/_search.py diff --git a/mem0-plugin/scripts/auto_capture.py b/integrations/mem0-plugin/scripts/auto_capture.py similarity index 100% rename from mem0-plugin/scripts/auto_capture.py rename to integrations/mem0-plugin/scripts/auto_capture.py diff --git a/mem0-plugin/scripts/auto_import.py b/integrations/mem0-plugin/scripts/auto_import.py similarity index 100% rename from mem0-plugin/scripts/auto_import.py rename to integrations/mem0-plugin/scripts/auto_import.py diff --git a/mem0-plugin/scripts/auto_setup_categories.py b/integrations/mem0-plugin/scripts/auto_setup_categories.py similarity index 100% rename from mem0-plugin/scripts/auto_setup_categories.py rename to integrations/mem0-plugin/scripts/auto_setup_categories.py diff --git a/mem0-plugin/scripts/block_memory_write.sh b/integrations/mem0-plugin/scripts/block_memory_write.sh similarity index 100% rename from mem0-plugin/scripts/block_memory_write.sh rename to integrations/mem0-plugin/scripts/block_memory_write.sh diff --git a/mem0-plugin/scripts/block_memory_write_cursor.sh b/integrations/mem0-plugin/scripts/block_memory_write_cursor.sh similarity index 100% rename from mem0-plugin/scripts/block_memory_write_cursor.sh rename to integrations/mem0-plugin/scripts/block_memory_write_cursor.sh diff --git a/mem0-plugin/scripts/capture_compact_summary.py b/integrations/mem0-plugin/scripts/capture_compact_summary.py similarity index 100% rename from mem0-plugin/scripts/capture_compact_summary.py rename to integrations/mem0-plugin/scripts/capture_compact_summary.py diff --git a/mem0-plugin/scripts/capture_session_summary.py b/integrations/mem0-plugin/scripts/capture_session_summary.py similarity index 100% rename from mem0-plugin/scripts/capture_session_summary.py rename to integrations/mem0-plugin/scripts/capture_session_summary.py diff --git a/mem0-plugin/scripts/enforce_metadata_defaults.sh b/integrations/mem0-plugin/scripts/enforce_metadata_defaults.sh similarity index 100% rename from mem0-plugin/scripts/enforce_metadata_defaults.sh rename to integrations/mem0-plugin/scripts/enforce_metadata_defaults.sh diff --git a/mem0-plugin/scripts/ensure_deps.sh b/integrations/mem0-plugin/scripts/ensure_deps.sh similarity index 100% rename from mem0-plugin/scripts/ensure_deps.sh rename to integrations/mem0-plugin/scripts/ensure_deps.sh diff --git a/mem0-plugin/scripts/file_context.py b/integrations/mem0-plugin/scripts/file_context.py similarity index 100% rename from mem0-plugin/scripts/file_context.py rename to integrations/mem0-plugin/scripts/file_context.py diff --git a/mem0-plugin/scripts/import_competing_tools.py b/integrations/mem0-plugin/scripts/import_competing_tools.py similarity index 100% rename from mem0-plugin/scripts/import_competing_tools.py rename to integrations/mem0-plugin/scripts/import_competing_tools.py diff --git a/mem0-plugin/scripts/install_codex_hooks.py b/integrations/mem0-plugin/scripts/install_codex_hooks.py similarity index 100% rename from mem0-plugin/scripts/install_codex_hooks.py rename to integrations/mem0-plugin/scripts/install_codex_hooks.py diff --git a/mem0-plugin/scripts/load_settings.py b/integrations/mem0-plugin/scripts/load_settings.py similarity index 100% rename from mem0-plugin/scripts/load_settings.py rename to integrations/mem0-plugin/scripts/load_settings.py diff --git a/mem0-plugin/scripts/on_bash_output.sh b/integrations/mem0-plugin/scripts/on_bash_output.sh similarity index 100% rename from mem0-plugin/scripts/on_bash_output.sh rename to integrations/mem0-plugin/scripts/on_bash_output.sh diff --git a/mem0-plugin/scripts/on_file_read.sh b/integrations/mem0-plugin/scripts/on_file_read.sh similarity index 100% rename from mem0-plugin/scripts/on_file_read.sh rename to integrations/mem0-plugin/scripts/on_file_read.sh diff --git a/mem0-plugin/scripts/on_file_read_cursor.sh b/integrations/mem0-plugin/scripts/on_file_read_cursor.sh similarity index 100% rename from mem0-plugin/scripts/on_file_read_cursor.sh rename to integrations/mem0-plugin/scripts/on_file_read_cursor.sh diff --git a/mem0-plugin/scripts/on_post_tool_use.sh b/integrations/mem0-plugin/scripts/on_post_tool_use.sh similarity index 100% rename from mem0-plugin/scripts/on_post_tool_use.sh rename to integrations/mem0-plugin/scripts/on_post_tool_use.sh diff --git a/mem0-plugin/scripts/on_post_tool_use_cursor.sh b/integrations/mem0-plugin/scripts/on_post_tool_use_cursor.sh similarity index 100% rename from mem0-plugin/scripts/on_post_tool_use_cursor.sh rename to integrations/mem0-plugin/scripts/on_post_tool_use_cursor.sh diff --git a/mem0-plugin/scripts/on_pre_compact.py b/integrations/mem0-plugin/scripts/on_pre_compact.py similarity index 100% rename from mem0-plugin/scripts/on_pre_compact.py rename to integrations/mem0-plugin/scripts/on_pre_compact.py diff --git a/mem0-plugin/scripts/on_pre_compact.sh b/integrations/mem0-plugin/scripts/on_pre_compact.sh similarity index 100% rename from mem0-plugin/scripts/on_pre_compact.sh rename to integrations/mem0-plugin/scripts/on_pre_compact.sh diff --git a/mem0-plugin/scripts/on_pre_compact_cursor.sh b/integrations/mem0-plugin/scripts/on_pre_compact_cursor.sh similarity index 100% rename from mem0-plugin/scripts/on_pre_compact_cursor.sh rename to integrations/mem0-plugin/scripts/on_pre_compact_cursor.sh diff --git a/mem0-plugin/scripts/on_session_start.sh b/integrations/mem0-plugin/scripts/on_session_start.sh similarity index 100% rename from mem0-plugin/scripts/on_session_start.sh rename to integrations/mem0-plugin/scripts/on_session_start.sh diff --git a/mem0-plugin/scripts/on_session_start_cursor.sh b/integrations/mem0-plugin/scripts/on_session_start_cursor.sh similarity index 100% rename from mem0-plugin/scripts/on_session_start_cursor.sh rename to integrations/mem0-plugin/scripts/on_session_start_cursor.sh diff --git a/mem0-plugin/scripts/on_stop.sh b/integrations/mem0-plugin/scripts/on_stop.sh similarity index 100% rename from mem0-plugin/scripts/on_stop.sh rename to integrations/mem0-plugin/scripts/on_stop.sh diff --git a/mem0-plugin/scripts/on_stop_cursor.sh b/integrations/mem0-plugin/scripts/on_stop_cursor.sh similarity index 100% rename from mem0-plugin/scripts/on_stop_cursor.sh rename to integrations/mem0-plugin/scripts/on_stop_cursor.sh diff --git a/mem0-plugin/scripts/on_user_prompt.sh b/integrations/mem0-plugin/scripts/on_user_prompt.sh similarity index 100% rename from mem0-plugin/scripts/on_user_prompt.sh rename to integrations/mem0-plugin/scripts/on_user_prompt.sh diff --git a/mem0-plugin/scripts/on_user_prompt_cursor.sh b/integrations/mem0-plugin/scripts/on_user_prompt_cursor.sh similarity index 100% rename from mem0-plugin/scripts/on_user_prompt_cursor.sh rename to integrations/mem0-plugin/scripts/on_user_prompt_cursor.sh diff --git a/mem0-plugin/scripts/parse_export_file.py b/integrations/mem0-plugin/scripts/parse_export_file.py similarity index 100% rename from mem0-plugin/scripts/parse_export_file.py rename to integrations/mem0-plugin/scripts/parse_export_file.py diff --git a/mem0-plugin/scripts/parse_mem0_config.py b/integrations/mem0-plugin/scripts/parse_mem0_config.py similarity index 100% rename from mem0-plugin/scripts/parse_mem0_config.py rename to integrations/mem0-plugin/scripts/parse_mem0_config.py diff --git a/mem0-plugin/scripts/session_stats.py b/integrations/mem0-plugin/scripts/session_stats.py similarity index 100% rename from mem0-plugin/scripts/session_stats.py rename to integrations/mem0-plugin/scripts/session_stats.py diff --git a/mem0-plugin/scripts/session_timeline.py b/integrations/mem0-plugin/scripts/session_timeline.py similarity index 100% rename from mem0-plugin/scripts/session_timeline.py rename to integrations/mem0-plugin/scripts/session_timeline.py diff --git a/mem0-plugin/scripts/setup_coding_categories.py b/integrations/mem0-plugin/scripts/setup_coding_categories.py similarity index 100% rename from mem0-plugin/scripts/setup_coding_categories.py rename to integrations/mem0-plugin/scripts/setup_coding_categories.py diff --git a/mem0-plugin/scripts/telemetry.py b/integrations/mem0-plugin/scripts/telemetry.py similarity index 100% rename from mem0-plugin/scripts/telemetry.py rename to integrations/mem0-plugin/scripts/telemetry.py diff --git a/mem0-plugin/skills/context-loader/SKILL.md b/integrations/mem0-plugin/skills/context-loader/SKILL.md similarity index 100% rename from mem0-plugin/skills/context-loader/SKILL.md rename to integrations/mem0-plugin/skills/context-loader/SKILL.md diff --git a/mem0-plugin/skills/dream/SKILL.md b/integrations/mem0-plugin/skills/dream/SKILL.md similarity index 100% rename from mem0-plugin/skills/dream/SKILL.md rename to integrations/mem0-plugin/skills/dream/SKILL.md diff --git a/mem0-plugin/skills/export/SKILL.md b/integrations/mem0-plugin/skills/export/SKILL.md similarity index 100% rename from mem0-plugin/skills/export/SKILL.md rename to integrations/mem0-plugin/skills/export/SKILL.md diff --git a/mem0-plugin/skills/forget/SKILL.md b/integrations/mem0-plugin/skills/forget/SKILL.md similarity index 100% rename from mem0-plugin/skills/forget/SKILL.md rename to integrations/mem0-plugin/skills/forget/SKILL.md diff --git a/mem0-plugin/skills/health/SKILL.md b/integrations/mem0-plugin/skills/health/SKILL.md similarity index 100% rename from mem0-plugin/skills/health/SKILL.md rename to integrations/mem0-plugin/skills/health/SKILL.md diff --git a/mem0-plugin/skills/import/SKILL.md b/integrations/mem0-plugin/skills/import/SKILL.md similarity index 100% rename from mem0-plugin/skills/import/SKILL.md rename to integrations/mem0-plugin/skills/import/SKILL.md diff --git a/mem0-plugin/skills/list-projects/SKILL.md b/integrations/mem0-plugin/skills/list-projects/SKILL.md similarity index 100% rename from mem0-plugin/skills/list-projects/SKILL.md rename to integrations/mem0-plugin/skills/list-projects/SKILL.md diff --git a/mem0-plugin/skills/mem0/LICENSE b/integrations/mem0-plugin/skills/mem0/LICENSE similarity index 100% rename from mem0-plugin/skills/mem0/LICENSE rename to integrations/mem0-plugin/skills/mem0/LICENSE diff --git a/mem0-plugin/skills/mem0/README.md b/integrations/mem0-plugin/skills/mem0/README.md similarity index 100% rename from mem0-plugin/skills/mem0/README.md rename to integrations/mem0-plugin/skills/mem0/README.md diff --git a/mem0-plugin/skills/mem0/SKILL.md b/integrations/mem0-plugin/skills/mem0/SKILL.md similarity index 100% rename from mem0-plugin/skills/mem0/SKILL.md rename to integrations/mem0-plugin/skills/mem0/SKILL.md diff --git a/mem0-plugin/skills/mem0/client/differences.md b/integrations/mem0-plugin/skills/mem0/client/differences.md similarity index 100% rename from mem0-plugin/skills/mem0/client/differences.md rename to integrations/mem0-plugin/skills/mem0/client/differences.md diff --git a/mem0-plugin/skills/mem0/client/node.md b/integrations/mem0-plugin/skills/mem0/client/node.md similarity index 100% rename from mem0-plugin/skills/mem0/client/node.md rename to integrations/mem0-plugin/skills/mem0/client/node.md diff --git a/mem0-plugin/skills/mem0/client/python.md b/integrations/mem0-plugin/skills/mem0/client/python.md similarity index 100% rename from mem0-plugin/skills/mem0/client/python.md rename to integrations/mem0-plugin/skills/mem0/client/python.md diff --git a/mem0-plugin/skills/mem0/references/api-reference.md b/integrations/mem0-plugin/skills/mem0/references/api-reference.md similarity index 100% rename from mem0-plugin/skills/mem0/references/api-reference.md rename to integrations/mem0-plugin/skills/mem0/references/api-reference.md diff --git a/mem0-plugin/skills/mem0/references/architecture.md b/integrations/mem0-plugin/skills/mem0/references/architecture.md similarity index 100% rename from mem0-plugin/skills/mem0/references/architecture.md rename to integrations/mem0-plugin/skills/mem0/references/architecture.md diff --git a/mem0-plugin/skills/mem0/references/features.md b/integrations/mem0-plugin/skills/mem0/references/features.md similarity index 100% rename from mem0-plugin/skills/mem0/references/features.md rename to integrations/mem0-plugin/skills/mem0/references/features.md diff --git a/mem0-plugin/skills/mem0/references/integration-patterns.md b/integrations/mem0-plugin/skills/mem0/references/integration-patterns.md similarity index 100% rename from mem0-plugin/skills/mem0/references/integration-patterns.md rename to integrations/mem0-plugin/skills/mem0/references/integration-patterns.md diff --git a/mem0-plugin/skills/mem0/references/quickstart.md b/integrations/mem0-plugin/skills/mem0/references/quickstart.md similarity index 100% rename from mem0-plugin/skills/mem0/references/quickstart.md rename to integrations/mem0-plugin/skills/mem0/references/quickstart.md diff --git a/mem0-plugin/skills/mem0/references/sdk-guide.md b/integrations/mem0-plugin/skills/mem0/references/sdk-guide.md similarity index 100% rename from mem0-plugin/skills/mem0/references/sdk-guide.md rename to integrations/mem0-plugin/skills/mem0/references/sdk-guide.md diff --git a/mem0-plugin/skills/mem0/references/use-cases.md b/integrations/mem0-plugin/skills/mem0/references/use-cases.md similarity index 100% rename from mem0-plugin/skills/mem0/references/use-cases.md rename to integrations/mem0-plugin/skills/mem0/references/use-cases.md diff --git a/mem0-plugin/skills/mem0/scripts/mem0_doc_search.py b/integrations/mem0-plugin/skills/mem0/scripts/mem0_doc_search.py similarity index 100% rename from mem0-plugin/skills/mem0/scripts/mem0_doc_search.py rename to integrations/mem0-plugin/skills/mem0/scripts/mem0_doc_search.py diff --git a/mem0-plugin/skills/memory-reviewer/SKILL.md b/integrations/mem0-plugin/skills/memory-reviewer/SKILL.md similarity index 100% rename from mem0-plugin/skills/memory-reviewer/SKILL.md rename to integrations/mem0-plugin/skills/memory-reviewer/SKILL.md diff --git a/mem0-plugin/skills/onboard/SKILL.md b/integrations/mem0-plugin/skills/onboard/SKILL.md similarity index 100% rename from mem0-plugin/skills/onboard/SKILL.md rename to integrations/mem0-plugin/skills/onboard/SKILL.md diff --git a/mem0-plugin/skills/peek/SKILL.md b/integrations/mem0-plugin/skills/peek/SKILL.md similarity index 100% rename from mem0-plugin/skills/peek/SKILL.md rename to integrations/mem0-plugin/skills/peek/SKILL.md diff --git a/mem0-plugin/skills/pin/SKILL.md b/integrations/mem0-plugin/skills/pin/SKILL.md similarity index 100% rename from mem0-plugin/skills/pin/SKILL.md rename to integrations/mem0-plugin/skills/pin/SKILL.md diff --git a/mem0-plugin/skills/remember/SKILL.md b/integrations/mem0-plugin/skills/remember/SKILL.md similarity index 100% rename from mem0-plugin/skills/remember/SKILL.md rename to integrations/mem0-plugin/skills/remember/SKILL.md diff --git a/mem0-plugin/skills/stats/SKILL.md b/integrations/mem0-plugin/skills/stats/SKILL.md similarity index 100% rename from mem0-plugin/skills/stats/SKILL.md rename to integrations/mem0-plugin/skills/stats/SKILL.md diff --git a/mem0-plugin/skills/switch-project/SKILL.md b/integrations/mem0-plugin/skills/switch-project/SKILL.md similarity index 100% rename from mem0-plugin/skills/switch-project/SKILL.md rename to integrations/mem0-plugin/skills/switch-project/SKILL.md diff --git a/mem0-plugin/skills/tour/SKILL.md b/integrations/mem0-plugin/skills/tour/SKILL.md similarity index 100% rename from mem0-plugin/skills/tour/SKILL.md rename to integrations/mem0-plugin/skills/tour/SKILL.md diff --git a/mem0-plugin/tests/conftest.py b/integrations/mem0-plugin/tests/conftest.py similarity index 100% rename from mem0-plugin/tests/conftest.py rename to integrations/mem0-plugin/tests/conftest.py diff --git a/mem0-plugin/tests/test_auto_capture.py b/integrations/mem0-plugin/tests/test_auto_capture.py similarity index 100% rename from mem0-plugin/tests/test_auto_capture.py rename to integrations/mem0-plugin/tests/test_auto_capture.py diff --git a/mem0-plugin/tests/test_auto_setup_categories.py b/integrations/mem0-plugin/tests/test_auto_setup_categories.py similarity index 100% rename from mem0-plugin/tests/test_auto_setup_categories.py rename to integrations/mem0-plugin/tests/test_auto_setup_categories.py diff --git a/mem0-plugin/tests/test_coding_categories.py b/integrations/mem0-plugin/tests/test_coding_categories.py similarity index 100% rename from mem0-plugin/tests/test_coding_categories.py rename to integrations/mem0-plugin/tests/test_coding_categories.py diff --git a/mem0-plugin/tests/test_import_competing_tools.py b/integrations/mem0-plugin/tests/test_import_competing_tools.py similarity index 100% rename from mem0-plugin/tests/test_import_competing_tools.py rename to integrations/mem0-plugin/tests/test_import_competing_tools.py diff --git a/mem0-plugin/tests/test_parse_export_file.py b/integrations/mem0-plugin/tests/test_parse_export_file.py similarity index 100% rename from mem0-plugin/tests/test_parse_export_file.py rename to integrations/mem0-plugin/tests/test_parse_export_file.py diff --git a/mem0-plugin/tests/test_parse_mem0_config.py b/integrations/mem0-plugin/tests/test_parse_mem0_config.py similarity index 100% rename from mem0-plugin/tests/test_parse_mem0_config.py rename to integrations/mem0-plugin/tests/test_parse_mem0_config.py diff --git a/mem0-plugin/tests/test_project.py b/integrations/mem0-plugin/tests/test_project.py similarity index 100% rename from mem0-plugin/tests/test_project.py rename to integrations/mem0-plugin/tests/test_project.py diff --git a/mem0-plugin/tests/test_rubric_dedup.py b/integrations/mem0-plugin/tests/test_rubric_dedup.py similarity index 100% rename from mem0-plugin/tests/test_rubric_dedup.py rename to integrations/mem0-plugin/tests/test_rubric_dedup.py diff --git a/mem0-plugin/tests/test_search.py b/integrations/mem0-plugin/tests/test_search.py similarity index 100% rename from mem0-plugin/tests/test_search.py rename to integrations/mem0-plugin/tests/test_search.py diff --git a/mem0-plugin/tests/test_session_stats.py b/integrations/mem0-plugin/tests/test_session_stats.py similarity index 100% rename from mem0-plugin/tests/test_session_stats.py rename to integrations/mem0-plugin/tests/test_session_stats.py diff --git a/mem0-plugin/tests/test_telemetry.py b/integrations/mem0-plugin/tests/test_telemetry.py similarity index 100% rename from mem0-plugin/tests/test_telemetry.py rename to integrations/mem0-plugin/tests/test_telemetry.py diff --git a/mem0-plugin/tests/test_write_path.py b/integrations/mem0-plugin/tests/test_write_path.py similarity index 100% rename from mem0-plugin/tests/test_write_path.py rename to integrations/mem0-plugin/tests/test_write_path.py diff --git a/openclaw/.gitignore b/integrations/openclaw/.gitignore similarity index 100% rename from openclaw/.gitignore rename to integrations/openclaw/.gitignore diff --git a/openclaw/.npmrc b/integrations/openclaw/.npmrc similarity index 100% rename from openclaw/.npmrc rename to integrations/openclaw/.npmrc diff --git a/openclaw/LICENSE b/integrations/openclaw/LICENSE similarity index 100% rename from openclaw/LICENSE rename to integrations/openclaw/LICENSE diff --git a/openclaw/Makefile b/integrations/openclaw/Makefile similarity index 100% rename from openclaw/Makefile rename to integrations/openclaw/Makefile diff --git a/openclaw/README.md b/integrations/openclaw/README.md similarity index 100% rename from openclaw/README.md rename to integrations/openclaw/README.md diff --git a/openclaw/backend/base.ts b/integrations/openclaw/backend/base.ts similarity index 100% rename from openclaw/backend/base.ts rename to integrations/openclaw/backend/base.ts diff --git a/openclaw/backend/index.ts b/integrations/openclaw/backend/index.ts similarity index 100% rename from openclaw/backend/index.ts rename to integrations/openclaw/backend/index.ts diff --git a/openclaw/backend/platform.ts b/integrations/openclaw/backend/platform.ts similarity index 100% rename from openclaw/backend/platform.ts rename to integrations/openclaw/backend/platform.ts diff --git a/openclaw/cli/commands.ts b/integrations/openclaw/cli/commands.ts similarity index 100% rename from openclaw/cli/commands.ts rename to integrations/openclaw/cli/commands.ts diff --git a/openclaw/cli/config-file.ts b/integrations/openclaw/cli/config-file.ts similarity index 100% rename from openclaw/cli/config-file.ts rename to integrations/openclaw/cli/config-file.ts diff --git a/openclaw/cli/json-helpers.ts b/integrations/openclaw/cli/json-helpers.ts similarity index 100% rename from openclaw/cli/json-helpers.ts rename to integrations/openclaw/cli/json-helpers.ts diff --git a/openclaw/cli/oss-wizard.ts b/integrations/openclaw/cli/oss-wizard.ts similarity index 100% rename from openclaw/cli/oss-wizard.ts rename to integrations/openclaw/cli/oss-wizard.ts diff --git a/openclaw/config.ts b/integrations/openclaw/config.ts similarity index 100% rename from openclaw/config.ts rename to integrations/openclaw/config.ts diff --git a/openclaw/dream-gate.ts b/integrations/openclaw/dream-gate.ts similarity index 100% rename from openclaw/dream-gate.ts rename to integrations/openclaw/dream-gate.ts diff --git a/openclaw/filtering.ts b/integrations/openclaw/filtering.ts similarity index 100% rename from openclaw/filtering.ts rename to integrations/openclaw/filtering.ts diff --git a/openclaw/fs-safe.ts b/integrations/openclaw/fs-safe.ts similarity index 100% rename from openclaw/fs-safe.ts rename to integrations/openclaw/fs-safe.ts diff --git a/openclaw/index.test.ts b/integrations/openclaw/index.test.ts similarity index 100% rename from openclaw/index.test.ts rename to integrations/openclaw/index.test.ts diff --git a/openclaw/index.ts b/integrations/openclaw/index.ts similarity index 100% rename from openclaw/index.ts rename to integrations/openclaw/index.ts diff --git a/openclaw/isolation.ts b/integrations/openclaw/isolation.ts similarity index 100% rename from openclaw/isolation.ts rename to integrations/openclaw/isolation.ts diff --git a/openclaw/openclaw-plugin-sdk.d.ts b/integrations/openclaw/openclaw-plugin-sdk.d.ts similarity index 100% rename from openclaw/openclaw-plugin-sdk.d.ts rename to integrations/openclaw/openclaw-plugin-sdk.d.ts diff --git a/openclaw/openclaw.plugin.json b/integrations/openclaw/openclaw.plugin.json similarity index 100% rename from openclaw/openclaw.plugin.json rename to integrations/openclaw/openclaw.plugin.json diff --git a/openclaw/package.json b/integrations/openclaw/package.json similarity index 97% rename from openclaw/package.json rename to integrations/openclaw/package.json index 6764e9e47..073eb4195 100644 --- a/openclaw/package.json +++ b/integrations/openclaw/package.json @@ -7,7 +7,7 @@ "repository": { "type": "git", "url": "https://github.com/mem0ai/mem0", - "directory": "openclaw" + "directory": "integrations/openclaw" }, "keywords": [ "openclaw", diff --git a/openclaw/pnpm-lock.yaml b/integrations/openclaw/pnpm-lock.yaml similarity index 100% rename from openclaw/pnpm-lock.yaml rename to integrations/openclaw/pnpm-lock.yaml diff --git a/openclaw/pnpm-workspace.yaml b/integrations/openclaw/pnpm-workspace.yaml similarity index 100% rename from openclaw/pnpm-workspace.yaml rename to integrations/openclaw/pnpm-workspace.yaml diff --git a/openclaw/providers.ts b/integrations/openclaw/providers.ts similarity index 100% rename from openclaw/providers.ts rename to integrations/openclaw/providers.ts diff --git a/openclaw/public-artifacts.ts b/integrations/openclaw/public-artifacts.ts similarity index 100% rename from openclaw/public-artifacts.ts rename to integrations/openclaw/public-artifacts.ts diff --git a/openclaw/recall.ts b/integrations/openclaw/recall.ts similarity index 100% rename from openclaw/recall.ts rename to integrations/openclaw/recall.ts diff --git a/openclaw/scripts/configure.py b/integrations/openclaw/scripts/configure.py similarity index 100% rename from openclaw/scripts/configure.py rename to integrations/openclaw/scripts/configure.py diff --git a/openclaw/skill-loader.test.ts b/integrations/openclaw/skill-loader.test.ts similarity index 100% rename from openclaw/skill-loader.test.ts rename to integrations/openclaw/skill-loader.test.ts diff --git a/openclaw/skill-loader.ts b/integrations/openclaw/skill-loader.ts similarity index 100% rename from openclaw/skill-loader.ts rename to integrations/openclaw/skill-loader.ts diff --git a/openclaw/skills/memory-dream/SKILL.md b/integrations/openclaw/skills/memory-dream/SKILL.md similarity index 100% rename from openclaw/skills/memory-dream/SKILL.md rename to integrations/openclaw/skills/memory-dream/SKILL.md diff --git a/openclaw/skills/memory-triage/SKILL.md b/integrations/openclaw/skills/memory-triage/SKILL.md similarity index 100% rename from openclaw/skills/memory-triage/SKILL.md rename to integrations/openclaw/skills/memory-triage/SKILL.md diff --git a/openclaw/skills/memory-triage/domains/companion.md b/integrations/openclaw/skills/memory-triage/domains/companion.md similarity index 100% rename from openclaw/skills/memory-triage/domains/companion.md rename to integrations/openclaw/skills/memory-triage/domains/companion.md diff --git a/openclaw/skills/memory-triage/recall-protocol.md b/integrations/openclaw/skills/memory-triage/recall-protocol.md similarity index 100% rename from openclaw/skills/memory-triage/recall-protocol.md rename to integrations/openclaw/skills/memory-triage/recall-protocol.md diff --git a/openclaw/sqlite-resilience.test.ts b/integrations/openclaw/sqlite-resilience.test.ts similarity index 100% rename from openclaw/sqlite-resilience.test.ts rename to integrations/openclaw/sqlite-resilience.test.ts diff --git a/openclaw/telemetry.ts b/integrations/openclaw/telemetry.ts similarity index 100% rename from openclaw/telemetry.ts rename to integrations/openclaw/telemetry.ts diff --git a/openclaw/test-shims/plugin-entry.ts b/integrations/openclaw/test-shims/plugin-entry.ts similarity index 100% rename from openclaw/test-shims/plugin-entry.ts rename to integrations/openclaw/test-shims/plugin-entry.ts diff --git a/openclaw/test-shims/plugin-sdk.ts b/integrations/openclaw/test-shims/plugin-sdk.ts similarity index 100% rename from openclaw/test-shims/plugin-sdk.ts rename to integrations/openclaw/test-shims/plugin-sdk.ts diff --git a/openclaw/tests/backend-platform.test.ts b/integrations/openclaw/tests/backend-platform.test.ts similarity index 100% rename from openclaw/tests/backend-platform.test.ts rename to integrations/openclaw/tests/backend-platform.test.ts diff --git a/openclaw/tests/cli-commands.test.ts b/integrations/openclaw/tests/cli-commands.test.ts similarity index 100% rename from openclaw/tests/cli-commands.test.ts rename to integrations/openclaw/tests/cli-commands.test.ts diff --git a/openclaw/tests/config-file.test.ts b/integrations/openclaw/tests/config-file.test.ts similarity index 100% rename from openclaw/tests/config-file.test.ts rename to integrations/openclaw/tests/config-file.test.ts diff --git a/openclaw/tests/config.test.ts b/integrations/openclaw/tests/config.test.ts similarity index 100% rename from openclaw/tests/config.test.ts rename to integrations/openclaw/tests/config.test.ts diff --git a/openclaw/tests/dream-gate.test.ts b/integrations/openclaw/tests/dream-gate.test.ts similarity index 100% rename from openclaw/tests/dream-gate.test.ts rename to integrations/openclaw/tests/dream-gate.test.ts diff --git a/openclaw/tests/filtering.test.ts b/integrations/openclaw/tests/filtering.test.ts similarity index 100% rename from openclaw/tests/filtering.test.ts rename to integrations/openclaw/tests/filtering.test.ts diff --git a/openclaw/tests/fs-safe.test.ts b/integrations/openclaw/tests/fs-safe.test.ts similarity index 100% rename from openclaw/tests/fs-safe.test.ts rename to integrations/openclaw/tests/fs-safe.test.ts diff --git a/openclaw/tests/json-helpers.test.ts b/integrations/openclaw/tests/json-helpers.test.ts similarity index 100% rename from openclaw/tests/json-helpers.test.ts rename to integrations/openclaw/tests/json-helpers.test.ts diff --git a/openclaw/tests/oss-wizard.test.ts b/integrations/openclaw/tests/oss-wizard.test.ts similarity index 100% rename from openclaw/tests/oss-wizard.test.ts rename to integrations/openclaw/tests/oss-wizard.test.ts diff --git a/openclaw/tests/providers.test.ts b/integrations/openclaw/tests/providers.test.ts similarity index 100% rename from openclaw/tests/providers.test.ts rename to integrations/openclaw/tests/providers.test.ts diff --git a/openclaw/tests/telemetry.test.ts b/integrations/openclaw/tests/telemetry.test.ts similarity index 100% rename from openclaw/tests/telemetry.test.ts rename to integrations/openclaw/tests/telemetry.test.ts diff --git a/openclaw/tests/tools.test.ts b/integrations/openclaw/tests/tools.test.ts similarity index 100% rename from openclaw/tests/tools.test.ts rename to integrations/openclaw/tests/tools.test.ts diff --git a/openclaw/tools/index.ts b/integrations/openclaw/tools/index.ts similarity index 100% rename from openclaw/tools/index.ts rename to integrations/openclaw/tools/index.ts diff --git a/openclaw/tools/memory-add.ts b/integrations/openclaw/tools/memory-add.ts similarity index 100% rename from openclaw/tools/memory-add.ts rename to integrations/openclaw/tools/memory-add.ts diff --git a/openclaw/tools/memory-delete.ts b/integrations/openclaw/tools/memory-delete.ts similarity index 100% rename from openclaw/tools/memory-delete.ts rename to integrations/openclaw/tools/memory-delete.ts diff --git a/openclaw/tools/memory-event-list.ts b/integrations/openclaw/tools/memory-event-list.ts similarity index 100% rename from openclaw/tools/memory-event-list.ts rename to integrations/openclaw/tools/memory-event-list.ts diff --git a/openclaw/tools/memory-event-status.ts b/integrations/openclaw/tools/memory-event-status.ts similarity index 100% rename from openclaw/tools/memory-event-status.ts rename to integrations/openclaw/tools/memory-event-status.ts diff --git a/openclaw/tools/memory-get.ts b/integrations/openclaw/tools/memory-get.ts similarity index 100% rename from openclaw/tools/memory-get.ts rename to integrations/openclaw/tools/memory-get.ts diff --git a/openclaw/tools/memory-list.ts b/integrations/openclaw/tools/memory-list.ts similarity index 100% rename from openclaw/tools/memory-list.ts rename to integrations/openclaw/tools/memory-list.ts diff --git a/openclaw/tools/memory-search.ts b/integrations/openclaw/tools/memory-search.ts similarity index 100% rename from openclaw/tools/memory-search.ts rename to integrations/openclaw/tools/memory-search.ts diff --git a/openclaw/tools/memory-update.ts b/integrations/openclaw/tools/memory-update.ts similarity index 100% rename from openclaw/tools/memory-update.ts rename to integrations/openclaw/tools/memory-update.ts diff --git a/openclaw/tsconfig.json b/integrations/openclaw/tsconfig.json similarity index 100% rename from openclaw/tsconfig.json rename to integrations/openclaw/tsconfig.json diff --git a/openclaw/tsup.config.ts b/integrations/openclaw/tsup.config.ts similarity index 100% rename from openclaw/tsup.config.ts rename to integrations/openclaw/tsup.config.ts diff --git a/openclaw/types.ts b/integrations/openclaw/types.ts similarity index 100% rename from openclaw/types.ts rename to integrations/openclaw/types.ts diff --git a/openclaw/vitest.config.ts b/integrations/openclaw/vitest.config.ts similarity index 100% rename from openclaw/vitest.config.ts rename to integrations/openclaw/vitest.config.ts diff --git a/pi-agent-plugin/CHANGELOG.md b/integrations/pi-agent-plugin/CHANGELOG.md similarity index 100% rename from pi-agent-plugin/CHANGELOG.md rename to integrations/pi-agent-plugin/CHANGELOG.md diff --git a/pi-agent-plugin/LICENSE b/integrations/pi-agent-plugin/LICENSE similarity index 100% rename from pi-agent-plugin/LICENSE rename to integrations/pi-agent-plugin/LICENSE diff --git a/pi-agent-plugin/README.md b/integrations/pi-agent-plugin/README.md similarity index 100% rename from pi-agent-plugin/README.md rename to integrations/pi-agent-plugin/README.md diff --git a/pi-agent-plugin/package.json b/integrations/pi-agent-plugin/package.json similarity index 96% rename from pi-agent-plugin/package.json rename to integrations/pi-agent-plugin/package.json index 5c5a470b8..6f0927280 100644 --- a/pi-agent-plugin/package.json +++ b/integrations/pi-agent-plugin/package.json @@ -7,7 +7,7 @@ "repository": { "type": "git", "url": "https://github.com/mem0ai/mem0", - "directory": "pi-agent-plugin" + "directory": "integrations/pi-agent-plugin" }, "keywords": [ "pi-package", diff --git a/pi-agent-plugin/pnpm-lock.yaml b/integrations/pi-agent-plugin/pnpm-lock.yaml similarity index 100% rename from pi-agent-plugin/pnpm-lock.yaml rename to integrations/pi-agent-plugin/pnpm-lock.yaml diff --git a/pi-agent-plugin/skills/context-loader/SKILL.md b/integrations/pi-agent-plugin/skills/context-loader/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/context-loader/SKILL.md rename to integrations/pi-agent-plugin/skills/context-loader/SKILL.md diff --git a/pi-agent-plugin/skills/dream/SKILL.md b/integrations/pi-agent-plugin/skills/dream/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/dream/SKILL.md rename to integrations/pi-agent-plugin/skills/dream/SKILL.md diff --git a/pi-agent-plugin/skills/forget/SKILL.md b/integrations/pi-agent-plugin/skills/forget/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/forget/SKILL.md rename to integrations/pi-agent-plugin/skills/forget/SKILL.md diff --git a/pi-agent-plugin/skills/pin/SKILL.md b/integrations/pi-agent-plugin/skills/pin/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/pin/SKILL.md rename to integrations/pi-agent-plugin/skills/pin/SKILL.md diff --git a/pi-agent-plugin/skills/remember/SKILL.md b/integrations/pi-agent-plugin/skills/remember/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/remember/SKILL.md rename to integrations/pi-agent-plugin/skills/remember/SKILL.md diff --git a/pi-agent-plugin/skills/search/SKILL.md b/integrations/pi-agent-plugin/skills/search/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/search/SKILL.md rename to integrations/pi-agent-plugin/skills/search/SKILL.md diff --git a/pi-agent-plugin/skills/status/SKILL.md b/integrations/pi-agent-plugin/skills/status/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/status/SKILL.md rename to integrations/pi-agent-plugin/skills/status/SKILL.md diff --git a/pi-agent-plugin/skills/tour/SKILL.md b/integrations/pi-agent-plugin/skills/tour/SKILL.md similarity index 100% rename from pi-agent-plugin/skills/tour/SKILL.md rename to integrations/pi-agent-plugin/skills/tour/SKILL.md diff --git a/pi-agent-plugin/src/capture/index.ts b/integrations/pi-agent-plugin/src/capture/index.ts similarity index 100% rename from pi-agent-plugin/src/capture/index.ts rename to integrations/pi-agent-plugin/src/capture/index.ts diff --git a/pi-agent-plugin/src/commands.test.ts b/integrations/pi-agent-plugin/src/commands.test.ts similarity index 100% rename from pi-agent-plugin/src/commands.test.ts rename to integrations/pi-agent-plugin/src/commands.test.ts diff --git a/pi-agent-plugin/src/commands.ts b/integrations/pi-agent-plugin/src/commands.ts similarity index 100% rename from pi-agent-plugin/src/commands.ts rename to integrations/pi-agent-plugin/src/commands.ts diff --git a/pi-agent-plugin/src/config/index.ts b/integrations/pi-agent-plugin/src/config/index.ts similarity index 100% rename from pi-agent-plugin/src/config/index.ts rename to integrations/pi-agent-plugin/src/config/index.ts diff --git a/pi-agent-plugin/src/dream/index.ts b/integrations/pi-agent-plugin/src/dream/index.ts similarity index 100% rename from pi-agent-plugin/src/dream/index.ts rename to integrations/pi-agent-plugin/src/dream/index.ts diff --git a/pi-agent-plugin/src/dream/prompt.ts b/integrations/pi-agent-plugin/src/dream/prompt.ts similarity index 100% rename from pi-agent-plugin/src/dream/prompt.ts rename to integrations/pi-agent-plugin/src/dream/prompt.ts diff --git a/pi-agent-plugin/src/entry.test.ts b/integrations/pi-agent-plugin/src/entry.test.ts similarity index 100% rename from pi-agent-plugin/src/entry.test.ts rename to integrations/pi-agent-plugin/src/entry.test.ts diff --git a/pi-agent-plugin/src/entry.ts b/integrations/pi-agent-plugin/src/entry.ts similarity index 100% rename from pi-agent-plugin/src/entry.ts rename to integrations/pi-agent-plugin/src/entry.ts diff --git a/pi-agent-plugin/src/index.ts b/integrations/pi-agent-plugin/src/index.ts similarity index 100% rename from pi-agent-plugin/src/index.ts rename to integrations/pi-agent-plugin/src/index.ts diff --git a/pi-agent-plugin/src/memory/formatting.ts b/integrations/pi-agent-plugin/src/memory/formatting.ts similarity index 100% rename from pi-agent-plugin/src/memory/formatting.ts rename to integrations/pi-agent-plugin/src/memory/formatting.ts diff --git a/pi-agent-plugin/src/memory/scoping.test.ts b/integrations/pi-agent-plugin/src/memory/scoping.test.ts similarity index 100% rename from pi-agent-plugin/src/memory/scoping.test.ts rename to integrations/pi-agent-plugin/src/memory/scoping.test.ts diff --git a/pi-agent-plugin/src/memory/scoping.ts b/integrations/pi-agent-plugin/src/memory/scoping.ts similarity index 100% rename from pi-agent-plugin/src/memory/scoping.ts rename to integrations/pi-agent-plugin/src/memory/scoping.ts diff --git a/pi-agent-plugin/src/memory/tools.ts b/integrations/pi-agent-plugin/src/memory/tools.ts similarity index 100% rename from pi-agent-plugin/src/memory/tools.ts rename to integrations/pi-agent-plugin/src/memory/tools.ts diff --git a/pi-agent-plugin/src/prompt.ts b/integrations/pi-agent-plugin/src/prompt.ts similarity index 100% rename from pi-agent-plugin/src/prompt.ts rename to integrations/pi-agent-plugin/src/prompt.ts diff --git a/pi-agent-plugin/src/telemetry.ts b/integrations/pi-agent-plugin/src/telemetry.ts similarity index 100% rename from pi-agent-plugin/src/telemetry.ts rename to integrations/pi-agent-plugin/src/telemetry.ts diff --git a/pi-agent-plugin/src/types.ts b/integrations/pi-agent-plugin/src/types.ts similarity index 100% rename from pi-agent-plugin/src/types.ts rename to integrations/pi-agent-plugin/src/types.ts diff --git a/pi-agent-plugin/tests/capture.test.ts b/integrations/pi-agent-plugin/tests/capture.test.ts similarity index 100% rename from pi-agent-plugin/tests/capture.test.ts rename to integrations/pi-agent-plugin/tests/capture.test.ts diff --git a/pi-agent-plugin/tests/config.test.ts b/integrations/pi-agent-plugin/tests/config.test.ts similarity index 100% rename from pi-agent-plugin/tests/config.test.ts rename to integrations/pi-agent-plugin/tests/config.test.ts diff --git a/pi-agent-plugin/tests/dream.test.ts b/integrations/pi-agent-plugin/tests/dream.test.ts similarity index 100% rename from pi-agent-plugin/tests/dream.test.ts rename to integrations/pi-agent-plugin/tests/dream.test.ts diff --git a/pi-agent-plugin/tests/formatting.test.ts b/integrations/pi-agent-plugin/tests/formatting.test.ts similarity index 100% rename from pi-agent-plugin/tests/formatting.test.ts rename to integrations/pi-agent-plugin/tests/formatting.test.ts diff --git a/pi-agent-plugin/tests/scoping.test.ts b/integrations/pi-agent-plugin/tests/scoping.test.ts similarity index 100% rename from pi-agent-plugin/tests/scoping.test.ts rename to integrations/pi-agent-plugin/tests/scoping.test.ts diff --git a/pi-agent-plugin/tests/telemetry.test.ts b/integrations/pi-agent-plugin/tests/telemetry.test.ts similarity index 100% rename from pi-agent-plugin/tests/telemetry.test.ts rename to integrations/pi-agent-plugin/tests/telemetry.test.ts diff --git a/pi-agent-plugin/tests/tools.test.ts b/integrations/pi-agent-plugin/tests/tools.test.ts similarity index 100% rename from pi-agent-plugin/tests/tools.test.ts rename to integrations/pi-agent-plugin/tests/tools.test.ts diff --git a/pi-agent-plugin/tsconfig.json b/integrations/pi-agent-plugin/tsconfig.json similarity index 100% rename from pi-agent-plugin/tsconfig.json rename to integrations/pi-agent-plugin/tsconfig.json diff --git a/pi-agent-plugin/tsup.config.ts b/integrations/pi-agent-plugin/tsup.config.ts similarity index 100% rename from pi-agent-plugin/tsup.config.ts rename to integrations/pi-agent-plugin/tsup.config.ts diff --git a/pi-agent-plugin/vitest.config.ts b/integrations/pi-agent-plugin/vitest.config.ts similarity index 100% rename from pi-agent-plugin/vitest.config.ts rename to integrations/pi-agent-plugin/vitest.config.ts diff --git a/vercel-ai-sdk/.gitattributes b/integrations/vercel-ai-sdk/.gitattributes similarity index 100% rename from vercel-ai-sdk/.gitattributes rename to integrations/vercel-ai-sdk/.gitattributes diff --git a/vercel-ai-sdk/.gitignore b/integrations/vercel-ai-sdk/.gitignore similarity index 100% rename from vercel-ai-sdk/.gitignore rename to integrations/vercel-ai-sdk/.gitignore diff --git a/vercel-ai-sdk/README.md b/integrations/vercel-ai-sdk/README.md similarity index 100% rename from vercel-ai-sdk/README.md rename to integrations/vercel-ai-sdk/README.md diff --git a/vercel-ai-sdk/config/test-config.ts b/integrations/vercel-ai-sdk/config/test-config.ts similarity index 100% rename from vercel-ai-sdk/config/test-config.ts rename to integrations/vercel-ai-sdk/config/test-config.ts diff --git a/vercel-ai-sdk/jest.config.js b/integrations/vercel-ai-sdk/jest.config.js similarity index 100% rename from vercel-ai-sdk/jest.config.js rename to integrations/vercel-ai-sdk/jest.config.js diff --git a/vercel-ai-sdk/nodemon.json b/integrations/vercel-ai-sdk/nodemon.json similarity index 100% rename from vercel-ai-sdk/nodemon.json rename to integrations/vercel-ai-sdk/nodemon.json diff --git a/vercel-ai-sdk/package.json b/integrations/vercel-ai-sdk/package.json similarity index 98% rename from vercel-ai-sdk/package.json rename to integrations/vercel-ai-sdk/package.json index 896c3ff1c..35739fe39 100644 --- a/vercel-ai-sdk/package.json +++ b/integrations/vercel-ai-sdk/package.json @@ -22,7 +22,7 @@ "repository": { "type": "git", "url": "https://github.com/mem0ai/mem0", - "directory": "vercel-ai-sdk" + "directory": "integrations/vercel-ai-sdk" }, "keywords": [ "ai", diff --git a/vercel-ai-sdk/pnpm-lock.yaml b/integrations/vercel-ai-sdk/pnpm-lock.yaml similarity index 100% rename from vercel-ai-sdk/pnpm-lock.yaml rename to integrations/vercel-ai-sdk/pnpm-lock.yaml diff --git a/vercel-ai-sdk/pnpm-workspace.yaml b/integrations/vercel-ai-sdk/pnpm-workspace.yaml similarity index 100% rename from vercel-ai-sdk/pnpm-workspace.yaml rename to integrations/vercel-ai-sdk/pnpm-workspace.yaml diff --git a/vercel-ai-sdk/src/index.ts b/integrations/vercel-ai-sdk/src/index.ts similarity index 100% rename from vercel-ai-sdk/src/index.ts rename to integrations/vercel-ai-sdk/src/index.ts diff --git a/vercel-ai-sdk/src/mem0-facade.ts b/integrations/vercel-ai-sdk/src/mem0-facade.ts similarity index 100% rename from vercel-ai-sdk/src/mem0-facade.ts rename to integrations/vercel-ai-sdk/src/mem0-facade.ts diff --git a/vercel-ai-sdk/src/mem0-generic-language-model.ts b/integrations/vercel-ai-sdk/src/mem0-generic-language-model.ts similarity index 100% rename from vercel-ai-sdk/src/mem0-generic-language-model.ts rename to integrations/vercel-ai-sdk/src/mem0-generic-language-model.ts diff --git a/vercel-ai-sdk/src/mem0-provider-selector.ts b/integrations/vercel-ai-sdk/src/mem0-provider-selector.ts similarity index 100% rename from vercel-ai-sdk/src/mem0-provider-selector.ts rename to integrations/vercel-ai-sdk/src/mem0-provider-selector.ts diff --git a/vercel-ai-sdk/src/mem0-provider.ts b/integrations/vercel-ai-sdk/src/mem0-provider.ts similarity index 100% rename from vercel-ai-sdk/src/mem0-provider.ts rename to integrations/vercel-ai-sdk/src/mem0-provider.ts diff --git a/vercel-ai-sdk/src/mem0-types.ts b/integrations/vercel-ai-sdk/src/mem0-types.ts similarity index 100% rename from vercel-ai-sdk/src/mem0-types.ts rename to integrations/vercel-ai-sdk/src/mem0-types.ts diff --git a/vercel-ai-sdk/src/mem0-utils.ts b/integrations/vercel-ai-sdk/src/mem0-utils.ts similarity index 100% rename from vercel-ai-sdk/src/mem0-utils.ts rename to integrations/vercel-ai-sdk/src/mem0-utils.ts diff --git a/vercel-ai-sdk/src/provider-response-provider.ts b/integrations/vercel-ai-sdk/src/provider-response-provider.ts similarity index 100% rename from vercel-ai-sdk/src/provider-response-provider.ts rename to integrations/vercel-ai-sdk/src/provider-response-provider.ts diff --git a/vercel-ai-sdk/src/stream-utils.ts b/integrations/vercel-ai-sdk/src/stream-utils.ts similarity index 100% rename from vercel-ai-sdk/src/stream-utils.ts rename to integrations/vercel-ai-sdk/src/stream-utils.ts diff --git a/vercel-ai-sdk/teardown.ts b/integrations/vercel-ai-sdk/teardown.ts similarity index 100% rename from vercel-ai-sdk/teardown.ts rename to integrations/vercel-ai-sdk/teardown.ts diff --git a/vercel-ai-sdk/tests/generate-output.test.ts b/integrations/vercel-ai-sdk/tests/generate-output.test.ts similarity index 100% rename from vercel-ai-sdk/tests/generate-output.test.ts rename to integrations/vercel-ai-sdk/tests/generate-output.test.ts diff --git a/vercel-ai-sdk/tests/mem0-provider-tests/mem0-cohere.test.ts b/integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-cohere.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-provider-tests/mem0-cohere.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-cohere.test.ts diff --git a/vercel-ai-sdk/tests/mem0-provider-tests/mem0-google.test.ts b/integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-google.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-provider-tests/mem0-google.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-google.test.ts diff --git a/vercel-ai-sdk/tests/mem0-provider-tests/mem0-groq.test.ts b/integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-groq.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-provider-tests/mem0-groq.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-groq.test.ts diff --git a/vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai-structured-ouput.test.ts b/integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai-structured-ouput.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai-structured-ouput.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai-structured-ouput.test.ts diff --git a/vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai.test.ts b/integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0-openai.test.ts diff --git a/vercel-ai-sdk/tests/mem0-provider-tests/mem0_anthropic.test.ts b/integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0_anthropic.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-provider-tests/mem0_anthropic.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-provider-tests/mem0_anthropic.test.ts diff --git a/vercel-ai-sdk/tests/mem0-toolcalls.test.ts b/integrations/vercel-ai-sdk/tests/mem0-toolcalls.test.ts similarity index 100% rename from vercel-ai-sdk/tests/mem0-toolcalls.test.ts rename to integrations/vercel-ai-sdk/tests/mem0-toolcalls.test.ts diff --git a/vercel-ai-sdk/tests/memory-core.test.ts b/integrations/vercel-ai-sdk/tests/memory-core.test.ts similarity index 100% rename from vercel-ai-sdk/tests/memory-core.test.ts rename to integrations/vercel-ai-sdk/tests/memory-core.test.ts diff --git a/vercel-ai-sdk/tests/text-properties.test.ts b/integrations/vercel-ai-sdk/tests/text-properties.test.ts similarity index 100% rename from vercel-ai-sdk/tests/text-properties.test.ts rename to integrations/vercel-ai-sdk/tests/text-properties.test.ts diff --git a/vercel-ai-sdk/tests/utils-test/anthropic-integration.test.ts b/integrations/vercel-ai-sdk/tests/utils-test/anthropic-integration.test.ts similarity index 100% rename from vercel-ai-sdk/tests/utils-test/anthropic-integration.test.ts rename to integrations/vercel-ai-sdk/tests/utils-test/anthropic-integration.test.ts diff --git a/vercel-ai-sdk/tests/utils-test/cohere-integration.test.ts b/integrations/vercel-ai-sdk/tests/utils-test/cohere-integration.test.ts similarity index 100% rename from vercel-ai-sdk/tests/utils-test/cohere-integration.test.ts rename to integrations/vercel-ai-sdk/tests/utils-test/cohere-integration.test.ts diff --git a/vercel-ai-sdk/tests/utils-test/google-integration.test.ts b/integrations/vercel-ai-sdk/tests/utils-test/google-integration.test.ts similarity index 100% rename from vercel-ai-sdk/tests/utils-test/google-integration.test.ts rename to integrations/vercel-ai-sdk/tests/utils-test/google-integration.test.ts diff --git a/vercel-ai-sdk/tests/utils-test/groq-integration.test.ts b/integrations/vercel-ai-sdk/tests/utils-test/groq-integration.test.ts similarity index 100% rename from vercel-ai-sdk/tests/utils-test/groq-integration.test.ts rename to integrations/vercel-ai-sdk/tests/utils-test/groq-integration.test.ts diff --git a/vercel-ai-sdk/tests/utils-test/openai-integration.test.ts b/integrations/vercel-ai-sdk/tests/utils-test/openai-integration.test.ts similarity index 100% rename from vercel-ai-sdk/tests/utils-test/openai-integration.test.ts rename to integrations/vercel-ai-sdk/tests/utils-test/openai-integration.test.ts diff --git a/vercel-ai-sdk/tests/v3-provider-contract.test.ts b/integrations/vercel-ai-sdk/tests/v3-provider-contract.test.ts similarity index 100% rename from vercel-ai-sdk/tests/v3-provider-contract.test.ts rename to integrations/vercel-ai-sdk/tests/v3-provider-contract.test.ts diff --git a/vercel-ai-sdk/tsconfig.json b/integrations/vercel-ai-sdk/tsconfig.json similarity index 100% rename from vercel-ai-sdk/tsconfig.json rename to integrations/vercel-ai-sdk/tsconfig.json diff --git a/vercel-ai-sdk/tsup.config.ts b/integrations/vercel-ai-sdk/tsup.config.ts similarity index 100% rename from vercel-ai-sdk/tsup.config.ts rename to integrations/vercel-ai-sdk/tsup.config.ts diff --git a/marketplace.json b/marketplace.json index 6e0e240a1..b09335c80 100644 --- a/marketplace.json +++ b/marketplace.json @@ -8,7 +8,7 @@ "name": "mem0", "source": { "source": "local", - "path": "./mem0-plugin" + "path": "./integrations/mem0-plugin" }, "policy": { "installation": "AVAILABLE", diff --git a/skills/mem0-integrate/SKILL.md b/skills/mem0-integrate/SKILL.md index fd686b645..30acaae3f 100644 --- a/skills/mem0-integrate/SKILL.md +++ b/skills/mem0-integrate/SKILL.md @@ -46,7 +46,7 @@ standalone `SKILL.md` with triggers, examples, and version-pinned code. - SDK (Python + TS, Platform + OSS): https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0/SKILL.md - CLI: https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0-cli/SKILL.md - Vercel AI SDK: https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0-vercel-ai-sdk/SKILL.md -- Editor/MCP plugin glue (9 MCP tools): https://github.com/mem0ai/mem0/tree/main/mem0-plugin +- Editor/MCP plugin glue (9 MCP tools): https://github.com/mem0ai/mem0/tree/main/integrations/mem0-plugin ### SDK source (read when docs are ambiguous) Public repo. Cross-check against the `mem0_tested_versions` range in this @@ -109,7 +109,7 @@ the target stack. If yes, delegate — copy its call-site pattern into |---|---|---| | `@ai-sdk/*` + `ai` in `package.json` | `skills/mem0-vercel-ai-sdk` | Integration is via `createMem0` provider wrapper, not raw `MemoryClient`. | | CLI-only repo (Typer, Commander, Click, Cobra) with no LLM call sites | `skills/mem0-cli` | Call sites are command handlers, not model wrappers. Consider whether mem0 actually fits first. | -| Target is an MCP client / editor config (Claude Code, Cursor, Codex settings) | `mem0-plugin` | Wire via MCP server URL + hooks; no SDK code usually needed. | +| Target is an MCP client / editor config (Claude Code, Cursor, Codex settings) | `integrations/mem0-plugin` | Wire via MCP server URL + hooks; no SDK code usually needed. | | Any other Python or TS repo with an LLM call site | `skills/mem0` | Default SDK integration path. | Record the delegated skill's raw URL in `plan.md` under a diff --git a/skills/mem0-vercel-ai-sdk/references/memory-utilities.md b/skills/mem0-vercel-ai-sdk/references/memory-utilities.md index 56a287805..0ad297fc1 100644 --- a/skills/mem0-vercel-ai-sdk/references/memory-utilities.md +++ b/skills/mem0-vercel-ai-sdk/references/memory-utilities.md @@ -2,7 +2,7 @@ Complete reference for standalone utility functions exported from `@mem0/vercel-ai-provider`. These functions give you manual control over memory retrieval and storage, independent of the wrapped model pattern. -Source: `vercel-ai-sdk/src/mem0-utils.ts` +Source: `integrations/vercel-ai-sdk/src/mem0-utils.ts` ## `addMemories(messages, config?)` diff --git a/skills/mem0-vercel-ai-sdk/references/provider-api.md b/skills/mem0-vercel-ai-sdk/references/provider-api.md index 3a59f9883..63222b815 100644 --- a/skills/mem0-vercel-ai-sdk/references/provider-api.md +++ b/skills/mem0-vercel-ai-sdk/references/provider-api.md @@ -1,6 +1,6 @@ # Provider API Reference -Complete reference for the `@mem0/vercel-ai-provider` provider layer. Source: `vercel-ai-sdk/src/`. +Complete reference for the `@mem0/vercel-ai-provider` provider layer. Source: `integrations/vercel-ai-sdk/src/`. ## `createMem0(options?)`