From 306c86b7f346170d1112bb69f9b4daeddb184764 Mon Sep 17 00:00:00 2001 From: Marius Matei Date: Wed, 28 Jan 2026 09:25:08 +0000 Subject: [PATCH 1/2] fix: bundle zod dependency to fix npm install --- package.json | 2 +- tsdown.config.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ed95073..c93f161 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opencode-session-handoff", - "version": "1.1.3", + "version": "1.1.4", "description": "OpenCode plugin for seamless session continuation when context windows fill up", "keywords": [ "context-window", diff --git a/tsdown.config.ts b/tsdown.config.ts index 7660d95..02140c5 100644 --- a/tsdown.config.ts +++ b/tsdown.config.ts @@ -7,5 +7,6 @@ export default defineConfig({ clean: true, outDir: "dist", sourcemap: true, - external: ["zod", "@opencode-ai/plugin"], + external: ["@opencode-ai/plugin"], + noExternal: ["zod"], }); From beec572c8e14d629fb4cfcae80092d9523ed5afe Mon Sep 17 00:00:00 2001 From: Marius Matei Date: Wed, 28 Jan 2026 09:27:12 +0000 Subject: [PATCH 2/2] fix: suppress tsdown inlineOnly warning --- tsdown.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tsdown.config.ts b/tsdown.config.ts index 02140c5..c9035aa 100644 --- a/tsdown.config.ts +++ b/tsdown.config.ts @@ -9,4 +9,5 @@ export default defineConfig({ sourcemap: true, external: ["@opencode-ai/plugin"], noExternal: ["zod"], + inlineOnly: false, });