refactor: remove unused imports from auto-update-checker, claude-code-hooks, mcp

This commit is contained in:
YeonGyu-Kim
2026-02-16 22:11:38 +09:00
parent a4cf75feec
commit 83e8fb9cae
4 changed files with 2 additions and 4 deletions
@@ -1,6 +1,5 @@
import * as path from "node:path"
import * as os from "node:os"
import * as fs from "node:fs"
import { getOpenCodeConfigDir } from "../../shared"
export const PACKAGE_NAME = "oh-my-opencode"
@@ -4,7 +4,7 @@ import { log } from "../../../shared/logger"
import { invalidatePackage } from "../cache"
import { PACKAGE_NAME } from "../constants"
import { extractChannel } from "../version-channel"
import { findPluginEntry, getCachedVersion, getLatestVersion, updatePinnedVersion, revertPinnedVersion } from "../checker"
import { findPluginEntry, getCachedVersion, getLatestVersion, revertPinnedVersion } from "../checker"
import { showAutoUpdatedToast, showUpdateAvailableToast } from "./update-toasts"
async function runBunInstallSafe(): Promise<boolean> {
@@ -9,7 +9,7 @@ import {
import { getToolInput } from "../tool-input-cache"
import { appendTranscriptEntry, getTranscriptPath } from "../transcript"
import type { PluginConfig } from "../types"
import { isHookDisabled, log } from "../../../shared"
import { isHookDisabled } from "../../../shared"
export function createToolExecuteAfterHandler(ctx: PluginInput, config: PluginConfig) {
return async (