Skip to content

Commit fe2387e

Browse files
committed
fix: outdated imports
1 parent 533d9e9 commit fe2387e

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

webview-ui/src/context/ExtensionStateContext.tsx

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
import React, { createContext, useCallback, useContext, useEffect, useState } from "react"
22
import { useEvent } from "react-use"
33

4-
import { ProviderSettingsEntry, ExtensionMessage, ExtensionState } from "@roo/shared/ExtensionMessage"
5-
import { ProviderSettings } from "@roo/shared/api"
6-
import { findLastIndex } from "@roo/shared/array"
7-
import { McpServer } from "@roo/shared/mcp"
8-
import { checkExistKey } from "@roo/shared/checkExistApiConfig"
9-
import { Mode, CustomModePrompts, defaultModeSlug, defaultPrompts, ModeConfig } from "@roo/shared/modes"
10-
import { CustomSupportPrompts } from "@roo/shared/support-prompt"
11-
import { experimentDefault, ExperimentId } from "@roo/shared/experiments"
12-
import { TelemetrySetting } from "@roo/shared/TelemetrySetting"
13-
import { RouterModels } from "@roo/shared/api"
14-
import { AttachedFileSpec } from "../../../src/shared/tools"
4+
import type {
5+
ProviderSettings,
6+
ProviderSettingsEntry,
7+
CustomModePrompts,
8+
ModeConfig,
9+
ExperimentId,
10+
} from "@roo-code/types"
1511

16-
import { vscode } from "@src/utils/vscode"
17-
import { convertTextMateToHljs } from "@src/utils/textMateToHljs"
12+
import { ExtensionMessage, ExtensionState } from "@roo/ExtensionMessage"
13+
import { findLastIndex } from "@roo/array"
14+
import { McpServer } from "@roo/mcp"
15+
import { checkExistKey } from "@roo/checkExistApiConfig"
16+
import { Mode, defaultModeSlug, defaultPrompts } from "@roo/modes"
17+
import { CustomSupportPrompts } from "@roo/support-prompt"
18+
import { experimentDefault } from "@roo/experiments"
19+
import { TelemetrySetting } from "@roo/TelemetrySetting"
20+
import { RouterModels } from "@roo/api"
21+
import { AttachedFileSpec } from "../../../src/shared/tools"
1822

1923
export interface ExtensionStateContextType extends ExtensionState {
2024
historyPreviewCollapsed?: boolean // Add the new state property
@@ -25,7 +29,7 @@ export interface ExtensionStateContextType extends ExtensionState {
2529
hasSystemPromptOverride?: boolean
2630
currentCheckpoint?: string
2731
filePaths: string[]
28-
attachedFiles?: AttachedFileSpec[]
32+
attachedFiles?: AttachedFileSpec[]
2933
openedTabs: Array<{ label: string; isActive: boolean; path?: string }>
3034
condensingApiConfigId?: string
3135
setCondensingApiConfigId: (value: string) => void

0 commit comments

Comments
 (0)