Update files

This commit is contained in:
Mohamed Boudra
2026-02-07 22:14:10 +07:00
parent 9130ee3134
commit b80f4e0e93
7 changed files with 519 additions and 59 deletions
@@ -49,6 +49,7 @@ import { useFileExplorerActions } from "@/hooks/use-file-explorer-actions";
import type { DaemonClient } from "@server/client/daemon-client";
import { parseToolCallDisplay } from "@/utils/tool-call-parsers";
import { ToolCallDetailsContent } from "./tool-call-details";
import { QuestionFormCard } from "./question-form-card";
import { ToolCallSheetProvider } from "./tool-call-sheet";
import { createMarkdownStyles } from "@/styles/markdown-styles";
import { MAX_CONTENT_WIDTH } from "@/constants/layout";
@@ -1070,6 +1071,16 @@ function PermissionRequestCard({
[permission.agentId, permission.request.id, respondToPermission]
);
if (request.kind === "question") {
return (
<QuestionFormCard
permission={permission}
onRespond={handleResponse}
isResponding={isResponding}
/>
);
}
return (
<View
style={[