From 06ee1b588c01786a24c4a468166459d2cf72066b Mon Sep 17 00:00:00 2001 From: Saket Aryan Date: Sun, 15 Mar 2026 04:41:11 +0530 Subject: [PATCH] fix(openclaw): point plugin extension entry to built output for npm compatibility (#4340) --- openclaw/package.json | 7 ++++--- openclaw/pnpm-workspace.yaml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openclaw/package.json b/openclaw/package.json index 66a543830..9728461ad 100644 --- a/openclaw/package.json +++ b/openclaw/package.json @@ -1,6 +1,6 @@ { "name": "@mem0/openclaw-mem0", - "version": "0.3.1", + "version": "0.3.3", "type": "module", "description": "Mem0 memory backend for OpenClaw — platform or self-hosted open-source", "license": "Apache-2.0", @@ -20,7 +20,8 @@ } }, "files": [ - "dist" + "dist", + "openclaw.plugin.json" ], "scripts": { "build": "tsup", @@ -32,7 +33,7 @@ }, "openclaw": { "extensions": [ - "./index.ts" + "./dist/index.js" ] }, "devDependencies": { diff --git a/openclaw/pnpm-workspace.yaml b/openclaw/pnpm-workspace.yaml index af792f3f1..68773723e 100644 --- a/openclaw/pnpm-workspace.yaml +++ b/openclaw/pnpm-workspace.yaml @@ -2,4 +2,5 @@ approveBuilds: esbuild onlyBuiltDependencies: - better-sqlite3 + - esbuild - protobufjs