refactor: remove unused imports from injector, tool-result-storage-sdk, session-notification-utils, model-resolver

This commit is contained in:
YeonGyu-Kim
2026-02-16 22:11:05 +09:00
parent ec0833b96b
commit 169c07ebf8
4 changed files with 0 additions and 5 deletions

View File

@@ -5,7 +5,6 @@ import { MESSAGE_STORAGE, PART_STORAGE } from "./constants"
import type { MessageMeta, OriginalMessageContext, TextPart, ToolPermission } from "./types"
import { log } from "../../shared/logger"
import { isSqliteBackend } from "../../shared/opencode-storage-detection"
import { getMessageDir } from "../../shared/opencode-message-dir"
import { normalizeSDKResponse } from "../../shared"
export interface StoredMessage {

View File

@@ -1,5 +1,4 @@
import type { PluginInput } from "@opencode-ai/plugin"
import { getMessageIdsFromSDK } from "./message-storage-directory"
import { TRUNCATION_MESSAGE } from "./storage-paths"
import type { ToolResultInfo } from "./tool-part-types"
import { patchPart } from "../../shared/opencode-http-api"

View File

@@ -1,5 +1,3 @@
import { spawn } from "bun"
type Platform = "darwin" | "linux" | "win32" | "unsupported"
async function findCommand(commandName: string): Promise<string | null> {

View File

@@ -1,4 +1,3 @@
import { log } from "./logger"
import type { FallbackEntry } from "./model-requirements"
import { resolveModelPipeline } from "./model-resolution-pipeline"