feat(webui): keep delegated work within reach (#6443)
This commit is contained in:
1 parent
9270137d65
commit
9b3af7b66c
27 files changed
+2265
-234
No files matched your search
@@ -14,6 +14,8 @@ import { usePromptHistory } from "@/hooks/usePromptHistory";
|
||||
import { ModelFallbackNotice } from "@/components/thread/ModelFallbackNotice";
|
||||
import { RecoveryNotice } from "@/components/thread/RecoveryNotice";
|
||||
import { SubagentTasksProvider } from "@/components/thread/SubagentTasks";
|
||||
import { SubagentTaskDock } from "@/components/thread/SubagentTaskDock";
|
||||
import { latestSubagentInputKey } from "@/lib/subagent-tasks";
|
||||
import { SessionInfoPopover } from "@/components/thread/SessionInfoPopover";
|
||||
import type { ComposerDraft, ComposerDraftStore } from "@/lib/composer-draft";
|
||||
import { ThreadComposer } from "@/components/thread/ThreadComposer";
|
||||
@@ -1304,6 +1306,7 @@ export function ThreadShell({
|
||||
{restoredFirstDraft?.chatId === chatId && restoredFirstDraft.error ? (
|
||||
<p role="alert" className="px-3 text-sm text-destructive">{restoredFirstDraft.error}</p>
|
||||
) : null}
|
||||
<SubagentTaskDock inputKey={latestSubagentInputKey(displayMessages)} />
|
||||
{session ? (
|
||||
<ThreadComposer
|
||||
key={`${draftKey}:${restoredFirstDraft?.chatId === chatId ? restoredFirstDraft.revision : 0}`}
|
||||
|
||||
Reference in new issue
Block a user