Skip to content

Commit e633a53

Browse files
committed
v0.4.9 - Bump version
1 parent 27e558a commit e633a53

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ const plugin: Plugin = (async (ctx) => {
5353

5454
// Check for updates after a delay
5555
setTimeout(() => {
56-
checkForUpdates(ctx.client, logger, {
57-
showToast: config.showUpdateToasts ?? true,
58-
autoUpdate: config.autoUpdate ?? true
59-
}).catch(() => { })
56+
checkForUpdates(ctx.client, logger).catch(() => { })
6057
}, 5000)
6158

6259
// Show migration toast if there were config migrations

lib/config.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export interface PluginConfig {
1313
protectedTools: string[]
1414
model?: string
1515
showModelErrorToasts?: boolean
16-
showUpdateToasts?: boolean
17-
autoUpdate?: boolean
1816
strictModelSelection?: boolean
1917
pruning_summary: "off" | "minimal" | "detailed"
2018
nudge_freq: number
@@ -34,8 +32,6 @@ const defaultConfig: PluginConfig = {
3432
debug: false,
3533
protectedTools: ['task', 'todowrite', 'todoread', 'prune', 'batch', 'edit', 'write'],
3634
showModelErrorToasts: true,
37-
showUpdateToasts: true,
38-
autoUpdate: true,
3935
strictModelSelection: false,
4036
pruning_summary: 'detailed',
4137
nudge_freq: 10,
@@ -51,8 +47,6 @@ const VALID_CONFIG_KEYS = new Set([
5147
'protectedTools',
5248
'model',
5349
'showModelErrorToasts',
54-
'showUpdateToasts',
55-
'autoUpdate',
5650
'strictModelSelection',
5751
'pruning_summary',
5852
'nudge_freq',
@@ -116,10 +110,6 @@ function createDefaultConfig(): void {
116110
// "model": "anthropic/claude-haiku-4-5",
117111
// Show toast notifications when model selection fails
118112
"showModelErrorToasts": true,
119-
// Show toast notifications when a new version is available
120-
"showUpdateToasts": true,
121-
// Automatically update to new versions (restart required to apply)
122-
"autoUpdate": true,
123113
// Only run AI analysis with session model or configured model (disables fallback models)
124114
"strictModelSelection": false,
125115
// AI analysis strategies (deduplication runs automatically on every request)
@@ -209,8 +199,6 @@ export function getConfig(ctx?: PluginInput): ConfigResult {
209199
protectedTools: [...new Set([...config.protectedTools, ...(globalConfig.protectedTools ?? [])])],
210200
model: globalConfig.model ?? config.model,
211201
showModelErrorToasts: globalConfig.showModelErrorToasts ?? config.showModelErrorToasts,
212-
showUpdateToasts: globalConfig.showUpdateToasts ?? config.showUpdateToasts,
213-
autoUpdate: globalConfig.autoUpdate ?? config.autoUpdate,
214202
strictModelSelection: globalConfig.strictModelSelection ?? config.strictModelSelection,
215203
strategies: mergeStrategies(config.strategies, globalConfig.strategies as any),
216204
pruning_summary: globalConfig.pruning_summary ?? config.pruning_summary,
@@ -242,8 +230,6 @@ export function getConfig(ctx?: PluginInput): ConfigResult {
242230
protectedTools: [...new Set([...config.protectedTools, ...(projectConfig.protectedTools ?? [])])],
243231
model: projectConfig.model ?? config.model,
244232
showModelErrorToasts: projectConfig.showModelErrorToasts ?? config.showModelErrorToasts,
245-
showUpdateToasts: projectConfig.showUpdateToasts ?? config.showUpdateToasts,
246-
autoUpdate: projectConfig.autoUpdate ?? config.autoUpdate,
247233
strictModelSelection: projectConfig.strictModelSelection ?? config.strictModelSelection,
248234
strategies: mergeStrategies(config.strategies, projectConfig.strategies as any),
249235
pruning_summary: projectConfig.pruning_summary ?? config.pruning_summary,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@tarquinen/opencode-dcp",
4-
"version": "0.4.8",
4+
"version": "0.4.9",
55
"type": "module",
66
"description": "OpenCode plugin that optimizes token usage by pruning obsolete tool outputs from conversation context",
77
"main": "./dist/index.js",

0 commit comments

Comments
 (0)