mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-25 18:55:19 +02:00
refactor file locations
This commit is contained in:
parent
5675cda52b
commit
53219974d3
24 changed files with 39 additions and 72 deletions
|
|
@ -2,8 +2,8 @@
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { Dropdown, DropdownItem, DropdownMenu, DropdownSection, DropdownTrigger, Spinner, Tooltip } from "@heroui/react";
|
||||
import { useRef, useState, createContext, useContext, useCallback, forwardRef, useImperativeHandle, useEffect, Ref } from "react";
|
||||
import { CopilotChatContext } from "../../../lib/types/copilot_types";
|
||||
import { CopilotMessage } from "../../../lib/types/copilot_types";
|
||||
import { CopilotChatContext } from "../../../../src/application/lib/copilot/types";
|
||||
import { CopilotMessage } from "../../../../src/application/lib/copilot/types";
|
||||
import { Workflow } from "@/app/lib/types/workflow_types";
|
||||
import { DataSource } from "@/src/entities/models/data-source";
|
||||
import { z } from "zod";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import { createContext, useContext, useRef, useState } from "react";
|
||||
import clsx from "clsx";
|
||||
import { z } from "zod";
|
||||
import { CopilotAssistantMessageActionPart } from "../../../../lib/types/copilot_types";
|
||||
import { CopilotAssistantMessageActionPart } from "../../../../../src/application/lib/copilot/types";
|
||||
import { Workflow } from "../../../../lib/types/workflow_types";
|
||||
import { PreviewModalProvider, usePreviewModal } from '../../workflow/preview-modal';
|
||||
import { getAppliedChangeKey } from "../app";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { z } from "zod";
|
|||
import { Workflow} from "@/app/lib/types/workflow_types";
|
||||
import MarkdownContent from "@/app/lib/components/markdown-content";
|
||||
import { MessageSquareIcon, EllipsisIcon, XIcon, CheckCheckIcon, ChevronDown, ChevronUp } from "lucide-react";
|
||||
import { CopilotMessage, CopilotAssistantMessage, CopilotAssistantMessageActionPart } from "@/app/lib/types/copilot_types";
|
||||
import { CopilotMessage, CopilotAssistantMessage, CopilotAssistantMessageActionPart } from "@/src/application/lib/copilot/types";
|
||||
import { Action, StreamingAction } from './actions';
|
||||
import { useParsedBlocks } from "../use-parsed-blocks";
|
||||
import { validateConfigChanges } from "@/app/lib/client_utils";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useCallback, useRef, useState } from "react";
|
||||
import { getCopilotResponseStream } from "@/app/actions/copilot.actions";
|
||||
import { CopilotMessage } from "@/app/lib/types/copilot_types";
|
||||
import { CopilotMessage } from "@/src/application/lib/copilot/types";
|
||||
import { Workflow } from "@/app/lib/types/workflow_types";
|
||||
import { DataSource } from "@/src/entities/models/data-source";
|
||||
import { z } from "zod";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { useState, useEffect, useRef } from "react";
|
|||
import { usePreviewModal } from "../workflow/preview-modal";
|
||||
import { Modal, ModalContent, ModalHeader, ModalBody, ModalFooter, Select, SelectItem, Chip, SelectSection } from "@heroui/react";
|
||||
import { PreviewModalProvider } from "../workflow/preview-modal";
|
||||
import { CopilotMessage } from "@/app/lib/types/copilot_types";
|
||||
import { CopilotMessage } from "@/src/application/lib/copilot/types";
|
||||
import { getCopilotAgentInstructions } from "@/app/actions/copilot.actions";
|
||||
import { Dropdown as CustomDropdown } from "../../../lib/components/dropdown";
|
||||
import { createAtMentions } from "../../../lib/components/atmentions";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue