@@ -3,7 +3,6 @@ import { GripVertical, ListChecks, MessageSquareMore, Plus, Trash2, Type } from
33import React , { memo , useCallback , useEffect , useMemo , useState } from "react" ;
44import { Controller , useForm } from "react-hook-form" ;
55import { Dialog , DialogBody , DialogContent , DialogFooter , DialogHeader , DialogTitle } from "@/components/shared/Dialog" ;
6- import { useTakeSnapshot } from "../../hooks/useUndoRedo" ;
76import { HelpTooltip } from "@/components/shared/HelpTooltip" ;
87import { Button } from "@/components/ui/button" ;
98import { Input } from "@/components/ui/input" ;
@@ -13,6 +12,7 @@ import { useProfileStore } from "@/hooks/ProfileStore";
1312import { type PendingChoiceOption , useUserChoiceStore } from "@/hooks/userChoiceStore" ;
1413import type { NodeExecutionResult , NodeExecutor , WorkflowToolDefinition } from "@/services/agent-workflow/types" ;
1514import { playBeepSound } from "@/services/inference/utils" ;
15+ import { useTakeSnapshot } from "../../hooks/useUndoRedo" ;
1616import { NodeBase , type NodeInput , type NodeOutput } from "../tool-components/NodeBase" ;
1717import { NodeConfigButton , NodeConfigPreview , NodeField } from "../tool-components/node-content-ui" ;
1818import { createNodeTheme , NodeRegistry } from "../tool-components/node-registry" ;
0 commit comments