mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat: add assistant mode, SSE streaming, and OpenCode server integration (#214)
This commit is contained in:
1 parent
3cc24288a6
commit
c3d6549f01
133 files changed
+7284
-6293
No files matched your search
@@ -186,32 +186,6 @@ export function ToolCallPart({ part, onFileClick, onChildSessionClick }: ToolCal
|
||||
}
|
||||
|
||||
if (isTodoTool) {
|
||||
if (part.state.status === 'pending') {
|
||||
return (
|
||||
<div className="my-2 text-sm text-muted-foreground flex items-center gap-2">
|
||||
<Loader2 className="w-3 h-3 animate-spin" />
|
||||
<span>Preparing task list...</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
if (part.state.status === 'running') {
|
||||
return (
|
||||
<div className="my-2 text-sm text-muted-foreground flex items-center gap-2">
|
||||
<Loader2 className="w-3 h-3 animate-spin" />
|
||||
<span>Updating task list...</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
if (part.state.status === 'completed') {
|
||||
return (
|
||||
<div className="my-2 text-xs text-muted-foreground">
|
||||
Task list updated
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
if (part.state.status === 'error') {
|
||||
return (
|
||||
<div className="my-2 text-sm text-red-600 dark:text-red-400">
|
||||
|
||||
Reference in new issue
Block a user