diff --git a/README.md b/README.md index d0907ca..874c64d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Add to your OpenCode config: ```jsonc // opencode.jsonc { - "plugins": ["@tarquinen/opencode-dcp@0.3.18"] + "plugins": ["@tarquinen/opencode-dcp@0.3.19"] } ``` diff --git a/index.ts b/index.ts index 744070b..2d78068 100644 --- a/index.ts +++ b/index.ts @@ -127,7 +127,9 @@ const plugin: Plugin = (async (ctx) => { model: config.model || "auto" }) - checkForUpdates(ctx.client, logger).catch(() => { }) + setTimeout(() => { + checkForUpdates(ctx.client, logger).catch(() => { }) + }, 5000) if (migrations.length > 0) { setTimeout(async () => { diff --git a/package-lock.json b/package-lock.json index 0d58fa7..a1128a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tarquinen/opencode-dcp", - "version": "0.3.18", + "version": "0.3.19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tarquinen/opencode-dcp", - "version": "0.3.18", + "version": "0.3.19", "license": "MIT", "dependencies": { "@ai-sdk/openai-compatible": "^1.0.27", diff --git a/package.json b/package.json index 857cd24..e7bdeff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@tarquinen/opencode-dcp", - "version": "0.3.18", + "version": "0.3.19", "type": "module", "description": "OpenCode plugin that optimizes token usage by pruning obsolete tool outputs from conversation context", "main": "./dist/index.js",