Skip to content

Commit 02fffc3

Browse files
committed
refactor(AutoDevApp): clean up imports and organize dependencies #453
1 parent b3b2cdf commit 02fffc3

File tree

3 files changed

+11
-207
lines changed

3 files changed

+11
-207
lines changed

mpp-ui/src/commonMain/kotlin/cc/unitmesh/devins/ui/compose/AutoDevApp.kt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package cc.unitmesh.devins.ui.compose
22

3-
import androidx.compose.foundation.background
43
import androidx.compose.foundation.layout.*
54
import androidx.compose.foundation.rememberScrollState
65
import androidx.compose.foundation.text.selection.SelectionContainer
@@ -11,20 +10,23 @@ import androidx.compose.ui.Alignment
1110
import androidx.compose.ui.Modifier
1211
import androidx.compose.ui.unit.dp
1312
import cc.unitmesh.agent.Platform
14-
import cc.unitmesh.devins.ui.compose.editor.DevInEditorInput
15-
import cc.unitmesh.devins.workspace.WorkspaceManager
16-
import cc.unitmesh.devins.ui.compose.chat.*
13+
import cc.unitmesh.devins.filesystem.DefaultFileSystem
14+
import cc.unitmesh.devins.llm.ChatHistoryManager
15+
import cc.unitmesh.devins.llm.Message
1716
import cc.unitmesh.devins.ui.compose.agent.AgentChatInterface
17+
import cc.unitmesh.devins.ui.compose.chat.DebugDialog
18+
import cc.unitmesh.devins.ui.compose.chat.MessageList
19+
import cc.unitmesh.devins.ui.compose.chat.TopBarMenu
20+
import cc.unitmesh.devins.ui.compose.chat.createChatCallbacks
21+
import cc.unitmesh.devins.ui.compose.editor.DevInEditorInput
1822
import cc.unitmesh.devins.ui.compose.theme.AutoDevTheme
1923
import cc.unitmesh.devins.ui.compose.theme.ThemeManager
24+
import cc.unitmesh.devins.ui.config.ConfigManager
25+
import cc.unitmesh.devins.ui.platform.createFileChooser
26+
import cc.unitmesh.devins.workspace.WorkspaceManager
2027
import cc.unitmesh.llm.KoogLLMService
2128
import cc.unitmesh.llm.ModelConfig
22-
import cc.unitmesh.devins.llm.ChatHistoryManager
23-
import cc.unitmesh.devins.llm.Message
24-
import cc.unitmesh.devins.ui.config.ConfigManager
2529
import kotlinx.coroutines.launch
26-
import cc.unitmesh.devins.ui.platform.createFileChooser
27-
import cc.unitmesh.devins.filesystem.DefaultFileSystem
2830

2931
@OptIn(ExperimentalMaterial3Api::class)
3032
@Composable

mpp-ui/src/commonMain/kotlin/cc/unitmesh/devins/ui/compose/chat/ChatTopBar.kt

Lines changed: 0 additions & 118 deletions
This file was deleted.

mpp-ui/src/commonMain/kotlin/cc/unitmesh/devins/ui/compose/components/DevInsMainContent.kt

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)