refactor: remove unused imports from interactive-bash-session, session-recovery, start-work

This commit is contained in:
YeonGyu-Kim
2026-02-16 22:11:35 +09:00
parent 7c6da2b1f8
commit a4cf75feec
4 changed files with 3 additions and 19 deletions
@@ -8,16 +8,6 @@ import { isRecord } from "../../../shared/record-type-guard"
type OpencodeClient = PluginInput["client"]
function isStoredPart(value: unknown): value is StoredPart {
if (!isRecord(value)) return false
return (
typeof value.id === "string" &&
typeof value.sessionID === "string" &&
typeof value.messageID === "string" &&
typeof value.type === "string"
)
}
export function readParts(messageID: string): StoredPart[] {
if (isSqliteBackend()) return []