From 4cd274506919fe82904b4e16ac2504e1d6b377bc Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 19 Dec 2025 02:51:02 +0900 Subject: [PATCH] refactor(auto-update-checker): remove config path from startup toast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the config file path from the startup toast message. The toast now only displays 'OpenCode is now on Steroids. oMoMoMoMo...' for a cleaner user experience. Also removed the unused getUserConfigPath import. 🤖 Generated with assistance of OhMyOpenCode --- src/hooks/auto-update-checker/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hooks/auto-update-checker/index.ts b/src/hooks/auto-update-checker/index.ts index eed61ec..c9cbe15 100644 --- a/src/hooks/auto-update-checker/index.ts +++ b/src/hooks/auto-update-checker/index.ts @@ -3,7 +3,6 @@ import { checkForUpdate, getCachedVersion, getLocalDevVersion } from "./checker" import { invalidatePackage } from "./cache" import { PACKAGE_NAME } from "./constants" import { log } from "../../shared/logger" -import { getUserConfigPath } from "../../shared/config-path" import { getConfigLoadErrors, clearConfigLoadErrors } from "../../shared/config-errors" import type { AutoUpdateCheckerOptions } from "./types" @@ -94,12 +93,11 @@ async function showConfigErrorsIfAny(ctx: PluginInput): Promise { async function showVersionToast(ctx: PluginInput, version: string | null): Promise { const displayVersion = version ?? "unknown" - const configPath = getUserConfigPath() await ctx.client.tui .showToast({ body: { title: `OhMyOpenCode ${displayVersion}`, - message: `OpenCode is now on Steroids. oMoMoMoMo...\nConfig: ${configPath}`, + message: `OpenCode is now on Steroids. oMoMoMoMo...`, variant: "info" as const, duration: 5000, },