From b856dbcd7ec24e891c20e84443dee9ec91fdf4cf Mon Sep 17 00:00:00 2001 From: Dhravya Shah Date: Thu, 16 Apr 2026 19:28:48 -0700 Subject: [PATCH 1/3] ci: upgrade npm for trusted publishing support --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2141164..93ebcca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,9 @@ jobs: node-version: '24' registry-url: 'https://registry.npmjs.org' + - name: Upgrade npm for trusted publishing support + run: npm install -g npm@latest + - name: Setup Bun uses: oven-sh/setup-bun@v2 with: From 71b53146bdb7cc1324e7d1a2cea9ac9c92bb995c Mon Sep 17 00:00:00 2001 From: Dhravya Shah Date: Thu, 16 Apr 2026 19:30:12 -0700 Subject: [PATCH 2/3] fix: add repository field to package.json for npm provenance --- package.json | 58 ++++++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 173956d..26ef15a 100644 --- a/package.json +++ b/package.json @@ -1,29 +1,33 @@ { - "name": "@supermemory/openclaw-supermemory", - "version": "2.1.11", - "type": "module", - "description": "OpenClaw Supermemory memory plugin", - "license": "MIT", - "dependencies": { - "supermemory": "^4.0.0", - "@sinclair/typebox": "0.34.47" - }, - "scripts": { - "check-types": "tsc --noEmit", - "lint": "bunx @biomejs/biome ci .", - "lint:fix": "bunx @biomejs/biome check --write .", - "build:lib": "esbuild lib/validate.ts --bundle --minify --format=esm --platform=node --target=es2022 --external:node:crypto --outfile=lib/validate.js" - }, - "peerDependencies": { - "openclaw": ">=2026.2.17" - }, - "openclaw": { - "extensions": [ - "./index.ts" - ] - }, - "devDependencies": { - "esbuild": "^0.27.2", - "typescript": "^5.9.3" - } + "name": "@supermemory/openclaw-supermemory", + "version": "2.1.11", + "type": "module", + "description": "OpenClaw Supermemory memory plugin", + "license": "MIT", + "dependencies": { + "supermemory": "^4.0.0", + "@sinclair/typebox": "0.34.47" + }, + "scripts": { + "check-types": "tsc --noEmit", + "lint": "bunx @biomejs/biome ci .", + "lint:fix": "bunx @biomejs/biome check --write .", + "build:lib": "esbuild lib/validate.ts --bundle --minify --format=esm --platform=node --target=es2022 --external:node:crypto --outfile=lib/validate.js" + }, + "peerDependencies": { + "openclaw": ">=2026.2.17" + }, + "openclaw": { + "extensions": [ + "./index.ts" + ] + }, + "devDependencies": { + "esbuild": "^0.27.2", + "typescript": "^5.9.3" + }, + "repository": { + "type": "git", + "url": "https://github.com/supermemoryai/openclaw-supermemory.git" + } } From dd7fe36000adeef127a734d2dba5ec5eb5b99f44 Mon Sep 17 00:00:00 2001 From: Dhravya Shah Date: Thu, 16 Apr 2026 19:32:08 -0700 Subject: [PATCH 3/3] fix: use tab indentation for package.json to match biome config --- package.json | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index 26ef15a..4e1dcbc 100644 --- a/package.json +++ b/package.json @@ -1,33 +1,33 @@ { - "name": "@supermemory/openclaw-supermemory", - "version": "2.1.11", - "type": "module", - "description": "OpenClaw Supermemory memory plugin", - "license": "MIT", - "dependencies": { - "supermemory": "^4.0.0", - "@sinclair/typebox": "0.34.47" - }, - "scripts": { - "check-types": "tsc --noEmit", - "lint": "bunx @biomejs/biome ci .", - "lint:fix": "bunx @biomejs/biome check --write .", - "build:lib": "esbuild lib/validate.ts --bundle --minify --format=esm --platform=node --target=es2022 --external:node:crypto --outfile=lib/validate.js" - }, - "peerDependencies": { - "openclaw": ">=2026.2.17" - }, - "openclaw": { - "extensions": [ - "./index.ts" - ] - }, - "devDependencies": { - "esbuild": "^0.27.2", - "typescript": "^5.9.3" - }, - "repository": { - "type": "git", - "url": "https://github.com/supermemoryai/openclaw-supermemory.git" - } + "name": "@supermemory/openclaw-supermemory", + "version": "2.1.11", + "type": "module", + "description": "OpenClaw Supermemory memory plugin", + "license": "MIT", + "dependencies": { + "supermemory": "^4.0.0", + "@sinclair/typebox": "0.34.47" + }, + "scripts": { + "check-types": "tsc --noEmit", + "lint": "bunx @biomejs/biome ci .", + "lint:fix": "bunx @biomejs/biome check --write .", + "build:lib": "esbuild lib/validate.ts --bundle --minify --format=esm --platform=node --target=es2022 --external:node:crypto --outfile=lib/validate.js" + }, + "peerDependencies": { + "openclaw": ">=2026.2.17" + }, + "openclaw": { + "extensions": [ + "./index.ts" + ] + }, + "repository": { + "type": "git", + "url": "https://github.com/supermemoryai/openclaw-supermemory.git" + }, + "devDependencies": { + "esbuild": "^0.27.2", + "typescript": "^5.9.3" + } }