|
|
@@ -6,15 +6,15 @@ import { Dynamic } from "solid-js/web"
|
|
|
import { Markdown } from "./markdown"
|
|
|
import { Collapsible, Icon, IconProps } from "@opencode-ai/ui"
|
|
|
import { getDirectory, getFilename } from "@/utils"
|
|
|
-import { ListTool } from "opencode/tool/ls"
|
|
|
-import { GlobTool } from "opencode/tool/glob"
|
|
|
-import { GrepTool } from "opencode/tool/grep"
|
|
|
-import { WebFetchTool } from "opencode/tool/webfetch"
|
|
|
-import { TaskTool } from "opencode/tool/task"
|
|
|
-import { BashTool } from "opencode/tool/bash"
|
|
|
-import { EditTool } from "opencode/tool/edit"
|
|
|
+import type { ListTool } from "opencode/tool/ls"
|
|
|
+import type { GlobTool } from "opencode/tool/glob"
|
|
|
+import type { GrepTool } from "opencode/tool/grep"
|
|
|
+import type { WebFetchTool } from "opencode/tool/webfetch"
|
|
|
+import type { TaskTool } from "opencode/tool/task"
|
|
|
+import type { BashTool } from "opencode/tool/bash"
|
|
|
+import type { EditTool } from "opencode/tool/edit"
|
|
|
+import type { WriteTool } from "opencode/tool/write"
|
|
|
import { DiffChanges } from "./diff-changes"
|
|
|
-import { WriteTool } from "opencode/tool/write"
|
|
|
|
|
|
export function AssistantMessage(props: { message: AssistantMessage; parts: Part[] }) {
|
|
|
return (
|