refactor: remove unused imports from injector, tool-result-storage-sdk, session-notification-utils, model-resolver
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { spawn } from "bun"
|
||||
|
||||
type Platform = "darwin" | "linux" | "win32" | "unsupported"
|
||||
|
||||
async function findCommand(commandName: string): Promise<string | null> {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { log } from "./logger"
|
||||
import type { FallbackEntry } from "./model-requirements"
|
||||
import { resolveModelPipeline } from "./model-resolution-pipeline"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user