From 205c9ac5752b5a0aa549688c0343550f8d355dcf Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 31 Jul 2026 09:22:02 +0000 Subject: [PATCH 1/2] fix: move bundled deps to devDependencies to avoid 31 unneeded installs @opencode-ai/plugin and supermemory are inlined into dist/index.js by 'bun run build' (the bundle imports only Node built-ins), so declaring them as runtime dependencies forced consumers to install ~31 packages they never load. Moving them to devDependencies keeps build/typecheck working while stopping the redundant installs on the consumer side. Fixes #62 Co-authored-by: Dhravya Shah --- bun.lock | 6 ++---- package.json | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bun.lock b/bun.lock index 2ae430f..32a3f60 100644 --- a/bun.lock +++ b/bun.lock @@ -4,12 +4,10 @@ "workspaces": { "": { "name": "opencode-plugin", - "dependencies": { - "@opencode-ai/plugin": "^1.0.162", - "supermemory": "^4.0.0", - }, "devDependencies": { + "@opencode-ai/plugin": "^1.0.162", "@types/bun": "latest", + "supermemory": "^4.0.0", "typescript": "^5.7.3", }, }, diff --git a/package.json b/package.json index 5bcb9f5..93072f5 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,10 @@ "type": "git", "url": "https://github.com/supermemoryai/opencode-supermemory" }, - "dependencies": { - "@opencode-ai/plugin": "^1.0.162", - "supermemory": "^4.0.0" - }, "devDependencies": { + "@opencode-ai/plugin": "^1.0.162", "@types/bun": "latest", + "supermemory": "^4.0.0", "typescript": "^5.7.3" }, "opencode": { From 22d7f88bfcc953d35b03d9abde93ed38f3205e5d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 31 Jul 2026 09:24:22 +0000 Subject: [PATCH 2/2] chore: bump version to 2.0.11 Co-authored-by: Dhravya Shah --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 93072f5..b455a7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opencode-supermemory", - "version": "2.0.10", + "version": "2.0.11", "description": "OpenCode plugin that gives coding agents persistent memory using Supermemory", "type": "module", "main": "dist/index.js",