Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat: ui for new chat

Brad Barbin7db7a72ad78b
diff --git a/apps/erp/app/components/Chat/AnimatedSizeContainer.tsx b/apps/erp/app/components/Chat/AnimatedSizeContainer.tsx
new file mode 100644
index 0000000000..81e62e0358
--- /dev/null
+++ b/apps/erp/app/components/Chat/AnimatedSizeContainer.tsx
@@ -0,0 +1,68 @@
+import { cn } from "@carbon/react";
+import { motion } from "framer-motion";
+import {
+ type ComponentPropsWithoutRef,
+ type PropsWithChildren,
+ forwardRef,
+ useRef,
+} from "react";
+import { useResizeObserver } from "~/hooks/useResizeObserver";
+
+type AnimatedSizeContainerProps = PropsWithChildren<{
+ width?: boolean;
+ height?: boolean;
+}> &
+ Omit<ComponentPropsWithoutRef<typeof motion.div>, "animate" | "children">;
+
+/**
+ * A container with animated width and height (each optional) based on children dimensions
+ */
+const AnimatedSizeContainer = forwardRef<
+ HTMLDivElement,
+ AnimatedSizeContainerProps
+>(
+ (
+ {
+ width = false,
+ height = false,
+ className,
+ transition,
+ children,
+ ...rest
+ }: AnimatedSizeContainerProps,
+ forwardedRef,
+ ) => {
+ const containerRef = useRef<HTMLDivElement>(null);
+ const resizeObserverEntry = useResizeObserver(
+ containerRef as React.RefObject<Element>,
+ );
+
+ return (
+ <motion.div
+ ref={forwardedRef}
+ className={cn("overflow-hidden", className)}
+ animate={{
+ width: width
+ ? (resizeObserverEntry?.contentRect?.width ?? "auto")
+ : "auto",
+ height: height
+ ? (resizeObserverEntry?.contentRect?.height ?? "auto")
+ : "auto",
+ }}
+ transition={transition ?? { type: "spring", duration: 0.3 }}
+ {...rest}
+ >
+ <div
+ ref={containerRef}
+ className={cn(height && "h-max", width && "w-max")}
+ >
+ {children}
+ </div>
+ </motion.div>
+ );
+ },
+);
+
+AnimatedSizeContainer.displayName = "AnimatedSizeContainer";
+
+export { AnimatedSizeContainer };
diff --git a/apps/erp/app/components/Chat/AnimatedStatus.tsx b/apps/erp/app/components/Chat/AnimatedStatus.tsx
new file mode 100644
index 0000000000..8197ed3238
--- /dev/null
+++ b/apps/erp/app/components/Chat/AnimatedStatus.tsx
@@ -0,0 +1,74 @@
+import { TextShimmer } from "@carbon/react";
+import { AnimatePresence, motion } from "framer-motion";
+import type { IconComponent } from "./lib/tools";
+
+interface AnimatedStatusProps {
+ text: string | null;
+ shimmerDuration?: number;
+ className?: string;
+ fadeDuration?: number;
+ /** Animation variant for status changes */
+ variant?: "fade" | "slide" | "scale" | "blur-fade";
+ /** Optional icon to display before the text */
+ icon?: IconComponent | null;
+}
+
+export function AnimatedStatus({
+ text,
+ shimmerDuration = 1,
+ className,
+ fadeDuration = 0.2,
+ variant = "fade",
+ icon: Icon,
+}: AnimatedStatusProps) {
+ // Animation variants for different effects
+ const animations = {
+ fade: {
+ initial: { opacity: 0 },
+ animate: { opacity: 1 },
+ exit: { opacity: 0 },
+ },
+ slide: {
+ initial: { opacity: 0, x: 10 },
+ animate: { opacity: 1, x: 0 },
+ exit: { opacity: 0, x: -10 },
+ },
+ scale: {
+ initial: { opacity: 0, scale: 0.95 },
+ animate: { opacity: 1, scale: 1 },
+ exit: { opacity: 0, scale: 0.95 },
+ },
+ "blur-fade": {
+ initial: { opacity: 0, filter: "blur(4px)" },
+ animate: { opacity: 1, filter: "blur(0px)" },
+ exit: { opacity: 0, filter: "blur(4px)" },
+ },
+ };
+
+ const selectedAnimation = animations[variant];
+
+ return (
+ <div className="relative whitespace-nowrap h-8 flex items-center">
+ <AnimatePresence mode="wait">
+ {text && (
+ <motion.div
+ key={text} // Re-mount when text changes to trigger animation
+ initial={selectedAnimation.initial}
+ animate={selectedAnimation.animate}
+ exit={selectedAnimation.exit}
+ transition={{
+ duration: fadeDuration,
+ ease: "easeInOut",
+ }}
+ className="flex items-center gap-1.5 text-muted-foreground"
+ >
+ {Icon && <Icon className="h-3 w-3 shrink-0 text-current" />}
+ <TextShimmer className={className} duration={shimmerDuration}>
+ {text || ""}
+ </TextShimmer>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/Canvas/index.ts b/apps/erp/app/components/Chat/Canvas/index.ts
new file mode 100644
index 0000000000..e2ab3217dc
--- /dev/null
+++ b/apps/erp/app/components/Chat/Canvas/index.ts
@@ -0,0 +1,15 @@
+import { useArtifacts } from "@ai-sdk-tools/artifacts/client";
+
+
+export function Canvas() {
+ const { current } = useArtifacts({
+ exclude: ["chat-title", "followup-questions"],
+ });
+
+ switch (current?.type) {
+ // case "burn-rate":
+ // return <BurnRateCanvas />;
+ default:
+ return null;
+ }
+}
diff --git a/apps/erp/app/components/Chat/ChatHeader.tsx b/apps/erp/app/components/Chat/ChatHeader.tsx
new file mode 100644
index 0000000000..4fa7f36476
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatHeader.tsx
@@ -0,0 +1,11 @@
+import { ChatNavigation } from "./ChatNavigation";
+import { ChatTitle } from "./ChatTitle";
+
+export function ChatHeader() {
+ return (
+ <div className="flex items-center justify-center relative h-8">
+ <ChatNavigation />
+ <ChatTitle />
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatHistory.tsx b/apps/erp/app/components/Chat/ChatHistory.tsx
new file mode 100644
index 0000000000..c44c2bb48e
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatHistory.tsx
@@ -0,0 +1,120 @@
+import { IconButton, Input, Popover, PopoverContent, PopoverTrigger, Skeleton, useDebounce, useDisclosure } from "@carbon/react";
+
+import { useUrlParams } from "@carbon/remix";
+import { formatTimeAgo } from "@carbon/utils";
+
+import { useState } from "react";
+import { LuMenu, LuSearch, LuTrash } from "react-icons/lu";
+
+
+type Chat = {
+ id: string;
+ title: string | null;
+ createdAt: Date;
+ updatedAt: Date;
+};
+
+function ChatHistorySkeleton() {
+ return (
+ <div className="space-y-4">
+ {Array.from({ length: 10 }, (_, i) => (
+ <div key={`chat-skeleton-${i + 1}`} className="flex flex-col gap-1">
+ <Skeleton className="h-4 w-3/4" />
+ <Skeleton className="h-3 w-1/2" />
+ </div>
+ ))}
+ </div>
+ );
+}
+
+export function ChatHistory({ chats, isLoading }: { chats: Chat[]; isLoading: boolean }) {
+ const [, setParams] = useUrlParams();
+
+ const [searchQuery, setSearchQuery] = useState("");
+ const historyDisclosure = useDisclosure();
+
+ // Debounced search to avoid too many API calls
+ const debouncedSearch = useDebounce(setSearchQuery, 300);
+
+
+
+ const handleChatSelect = (chatId: string) => {
+ setParams({ chatId });
+ historyDisclosure.onClose();
+ };
+
+ const handleDeleteChat = (e: React.MouseEvent, chatId: string) => {
+ alert(`Delete chat ${chatId}`);
+ };
+
+ return (
+ <Popover open={historyDisclosure.isOpen} onOpenChange={historyDisclosure.onToggle}>
+ <PopoverTrigger asChild>
+ <IconButton variant="secondary" icon={<LuMenu />} aria-label="Open chat history" />
+
+ </PopoverTrigger>
+ <PopoverContent className="w-[380px] p-0" align="end">
+ <div className="p-4">
+ <div className="relative mb-4">
+ <LuSearch
+ className="absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground"
+ size={14}
+ />
+ <Input
+ placeholder="Search history"
+ className="pl-9"
+ onChange={(e) => debouncedSearch(e.target.value)}
+ />
+ </div>
+
+ <div className="max-h-80 overflow-y-auto">
+ {isLoading ? (
+ <ChatHistorySkeleton />
+ ) : chats?.length === 0 ? (
+ <div className="flex items-center justify-center py-8">
+ <div className="text-sm text-muted-foreground">
+ {searchQuery ? "No chats found" : "No chat history"}
+ </div>
+ </div>
+ ) : (
+ <div className="space-y-4">
+ {chats?.map((chat: Chat) => (
+ <div
+ key={chat.id}
+ className="group relative flex items-center justify-between hover:bg-muted/50 rounded-md p-2 -m-2"
+ >
+ <button
+ type="button"
+ onClick={() => handleChatSelect(chat.id)}
+ className="flex-1 text-left"
+ >
+ <div className="flex flex-col gap-1">
+ <div className="text-sm font-medium line-clamp-1">
+ {chat.title || "New chat"}
+ </div>
+ <div className="text-xs text-muted-foreground">
+ {formatTimeAgo(chat.updatedAt.toISOString())}
+ </div>
+ </div>
+ </button>
+ <button
+ type="button"
+ onClick={(e) => handleDeleteChat(e, chat.id)}
+ className="opacity-0 group-hover:opacity-100 transition-opacity duration-200 p-1 hover:bg-destructive/10 rounded-sm"
+ title="Delete chat"
+ >
+ <LuTrash
+ size={14}
+ className="text-muted-foreground hover:text-destructive"
+ />
+ </button>
+ </div>
+ ))}
+ </div>
+ )}
+ </div>
+ </div>
+ </PopoverContent>
+ </Popover>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatInput.tsx b/apps/erp/app/components/Chat/ChatInput.tsx
new file mode 100644
index 0000000000..60fadf6bc8
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatInput.tsx
@@ -0,0 +1,192 @@
+import { useArtifacts } from "@ai-sdk-tools/artifacts/client";
+import { useChatActions, useChatId, useChatStatus } from "@ai-sdk-tools/store";
+import { cn } from "@carbon/react";
+import { useRef } from "react";
+import { CommandMenu } from "./CommandMenu";
+import { FollowupQuestions } from "./FollowupQuestions";
+import { useChatInterface } from "./hooks/useChatInterface";
+import { useChatStore } from "./lib/store";
+import {
+ PromptInput,
+ PromptInputActionAddAttachments,
+ PromptInputAttachment,
+ PromptInputAttachments,
+ PromptInputBody,
+ type PromptInputMessage,
+ PromptInputSubmit,
+ PromptInputTextarea,
+ PromptInputToolbar,
+ PromptInputTools,
+} from "./PromptInput";
+import { RecordButton } from "./RecordButton";
+import { SuggestedActionsButton } from "./SuggestedActions";
+import { WebSearchButton } from "./WebSearch";
+
+export interface ChatInputMessage extends PromptInputMessage {
+ metadata?: {
+ agentChoice?: string;
+ toolChoice?: string;
+ };
+}
+
+export function ChatInput() {
+ const textareaRef = useRef<HTMLTextAreaElement>(null);
+
+ const status = useChatStatus();
+ const { sendMessage } = useChatActions();
+ const chatId = useChatId();
+ const { setChatId } = useChatInterface();
+ const { current } = useArtifacts({
+ exclude: ["chat-title", "followup-questions"],
+ });
+ const isCanvasVisible = !!current;
+
+ const {
+ input,
+ isWebSearch,
+ isUploading,
+ isRecording,
+ isProcessing,
+ showCommands,
+ selectedCommandIndex,
+ filteredCommands,
+ setInput,
+ setIsUploading,
+ handleInputChange,
+ handleKeyDown,
+ resetCommandState,
+ } = useChatStore();
+
+ const handleSubmit = (message: ChatInputMessage) => {
+ // If currently streaming or submitted, stop instead of submitting
+ if (status === "streaming" || status === "submitted") {
+ stop();
+ return;
+ }
+
+ const hasText = Boolean(message.text);
+ const hasAttachments = Boolean(message.files?.length);
+
+ if (!(hasText || hasAttachments)) {
+ return;
+ }
+
+ sendMessage({
+ text: message.text || "Sent with attachments",
+ files: message.files,
+ metadata: {
+ agentChoice: message.metadata?.agentChoice,
+ toolChoice: message.metadata?.toolChoice,
+ },
+ });
+ setInput("");
+ };
+
+ return (
+ <>
+ <div
+ className={cn(
+ "fixed bottom-6 left-[70px] z-20 px-6 transition-all duration-300 ease-in-out",
+ isCanvasVisible ? "right-[603px]" : "right-0"
+ )}
+ >
+ <div className="mx-auto w-full pt-2 max-w-[770px] relative">
+ <FollowupQuestions />
+
+ {/* Command Suggestions Menu */}
+ <CommandMenu />
+
+ <PromptInput onSubmit={handleSubmit} globalDrop multiple>
+ <PromptInputBody>
+ <PromptInputAttachments>
+ {(attachment) => <PromptInputAttachment data={attachment} />}
+ </PromptInputAttachments>
+ <PromptInputTextarea
+ ref={textareaRef}
+ autoFocus
+ onChange={handleInputChange}
+ onKeyDown={(e) => {
+ // Handle Enter key for commands
+ if (e.key === "Enter" && showCommands) {
+ e.preventDefault();
+ const selectedCommand =
+ filteredCommands[selectedCommandIndex];
+ if (selectedCommand) {
+ // Execute command through the store
+ if (!chatId) return;
+
+ setChatId(chatId);
+
+ sendMessage({
+ role: "user",
+ parts: [{ type: "text", text: selectedCommand.title }],
+ metadata: {
+ toolCall: {
+ toolName: selectedCommand.toolName,
+ toolParams: selectedCommand.toolParams,
+ },
+ },
+ });
+
+ setInput("");
+ resetCommandState();
+ }
+ return;
+ }
+
+ // Handle Enter key for normal messages
+ if (e.key === "Enter" && !showCommands) {
+ e.preventDefault();
+ if (input.trim()) {
+ // Set chat ID to ensure proper URL routing
+ if (chatId) {
+ setChatId(chatId);
+ }
+
+ sendMessage({
+ text: input,
+ files: [],
+ metadata: {
+ webSearch: isWebSearch,
+ },
+ });
+
+ setInput("");
+ resetCommandState();
+ }
+ return;
+ }
+
+ // Handle other keys normally
+ handleKeyDown(e);
+ }}
+ value={input}
+ placeholder={isWebSearch ? "Search the web" : "Ask anything"}
+ />
+ </PromptInputBody>
+ <PromptInputToolbar>
+ <PromptInputTools>
+ <PromptInputActionAddAttachments />
+ <SuggestedActionsButton />
+ <WebSearchButton />
+ </PromptInputTools>
+
+ <PromptInputTools>
+ <RecordButton size={16} />
+ <PromptInputSubmit
+ disabled={
+ (!input && !status) ||
+ isUploading ||
+ isRecording ||
+ isProcessing
+ }
+ status={status}
+ />
+ </PromptInputTools>
+ </PromptInputToolbar>
+ </PromptInput>
+ </div>
+ </div>
+ </>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatInterface.tsx b/apps/erp/app/components/Chat/ChatInterface.tsx
new file mode 100644
index 0000000000..3fe75b16de
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatInterface.tsx
@@ -0,0 +1,176 @@
+import { useArtifacts } from "@ai-sdk-tools/artifacts/client";
+import { useChat, useDataPart } from "@ai-sdk-tools/store";
+import { SUPABASE_URL, useCarbon } from "@carbon/auth";
+import { cn } from "@carbon/react";
+import { DefaultChatTransport, generateId } from "ai";
+import { useMemo } from "react";
+import { useUser } from "~/hooks";
+import { useChatInterface } from "./hooks/useChatInterface";
+import { useChatStatus } from "./hooks/useChatStatus";
+import type { UIChatMessage } from "./lib/types";
+
+import { Canvas } from "./Canvas";
+import { ChatHeader } from "./ChatHeader";
+import type { ChatInputMessage } from "./ChatInput";
+import { ChatInput } from "./ChatInput";
+import { ChatMessages } from "./ChatMessages";
+import { ChatStatusIndicators } from "./ChatStatusIndicators";
+import {
+ Conversation,
+ ConversationContent,
+ ConversationScrollButton,
+} from "./Conversation";
+
+type Props = {
+ geo?: {
+ city?: string;
+ country?: string;
+ };
+};
+
+export function ChatInterface({ geo }: Props) {
+ const { chatId: routeChatId, isHome } = useChatInterface();
+ const chatId = useMemo(() => routeChatId ?? generateId(), [routeChatId]);
+ const { accessToken } = useCarbon();
+ const {
+ id: userId,
+ company: { id: companyId },
+ } = useUser();
+
+ const authenticatedFetch = useMemo(
+ () =>
+ Object.assign(
+ async (url: RequestInfo | URL, requestOptions?: RequestInit) => {
+ return fetch(url, {
+ ...requestOptions,
+ headers: {
+ ...requestOptions?.headers,
+ Authorization: `Bearer ${accessToken}`,
+ "Content-Type": "application/json",
+ "x-company-id": companyId,
+ "x-user-id": userId,
+ },
+ });
+ }
+ ),
+ []
+ );
+
+ const { messages, status } = useChat<UIChatMessage>({
+ id: chatId,
+ transport: new DefaultChatTransport({
+ api: `${SUPABASE_URL}/functions/v1/chat`,
+ fetch: authenticatedFetch,
+ prepareSendMessagesRequest({ messages, id }) {
+ const lastMessage = messages[messages.length - 1] as ChatInputMessage;
+
+ const agentChoice = lastMessage.metadata?.agentChoice;
+ const toolChoice = lastMessage.metadata?.toolChoice;
+
+ return {
+ body: {
+ id,
+ country: geo?.country,
+ city: geo?.city,
+ message: lastMessage,
+ agentChoice,
+ toolChoice,
+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
+ },
+ };
+ },
+ }),
+ });
+
+ const { agentStatus, currentToolCall } = useChatStatus(messages, status);
+
+ const { artifacts } = useArtifacts();
+ const hasArtifacts = artifacts && artifacts.length > 0;
+ const hasMessages = messages.length > 0;
+
+ const [suggestions] = useDataPart<{ prompts: string[] }>("suggestions");
+ const hasSuggestions = suggestions?.prompts && suggestions.prompts.length > 0;
+
+ return (
+ <div
+ className={cn(
+ "relative flex size-full overflow-hidden",
+ isHome && "h-[calc(100vh-764px)]",
+ !isHome && "h-[calc(100vh-88px)]"
+ )}
+ >
+ {/* Canvas slides in from right when artifacts are present */}
+ <div
+ className={cn(
+ "fixed right-0 top-0 bottom-0 z-20",
+ hasArtifacts ? "translate-x-0" : "translate-x-full",
+ hasMessages && "transition-transform duration-300 ease-in-out"
+ )}
+ >
+ {hasArtifacts && <Canvas />}
+ </div>
+
+ {/* Main chat area - container that slides left when canvas opens */}
+ <div
+ className={cn(
+ "relative flex-1",
+ hasMessages && "transition-all duration-300 ease-in-out",
+ hasArtifacts && "mr-[600px]",
+ !hasMessages && "flex items-center justify-center"
+ )}
+ >
+ {hasMessages && (
+ <>
+ {/* Conversation view - messages with absolute positioning for proper height */}
+ <div className="absolute inset-0 flex flex-col">
+ <div
+ className={cn(
+ "sticky top-0 left-0 z-10 shrink-0",
+ hasMessages && "transition-all duration-300 ease-in-out",
+ hasArtifacts ? "right-[600px]" : "right-0"
+ )}
+ >
+ <div className="bg-background/80 dark:bg-background/50 backdrop-blur-sm p-2 pt-6">
+ <ChatHeader />
+ </div>
+ </div>
+ <Conversation>
+ <ConversationContent className="pb-48 pt-14">
+ <div className="max-w-2xl mx-auto w-full">
+ <ChatMessages
+ messages={messages}
+ isStreaming={
+ status === "streaming" || status === "submitted"
+ }
+ />
+ <ChatStatusIndicators
+ agentStatus={agentStatus}
+ currentToolCall={currentToolCall}
+ status={status}
+ />
+ </div>
+ </ConversationContent>
+ <ConversationScrollButton
+ className={cn(hasSuggestions ? "bottom-52" : "bottom-42")}
+ />
+ </Conversation>
+ </div>
+ </>
+ )}
+
+ {/* Fixed input at bottom - respects parent container boundaries */}
+ <div
+ className={cn(
+ "fixed bottom-0 left-0",
+ hasMessages && "transition-all duration-300 ease-in-out",
+ hasArtifacts ? "right-[600px]" : "right-0"
+ )}
+ >
+ <div className="w-full pb-4 max-w-2xl mx-auto">
+ <ChatInput />
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatMessages.tsx b/apps/erp/app/components/Chat/ChatMessages.tsx
new file mode 100644
index 0000000000..0a7610c9dc
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatMessages.tsx
@@ -0,0 +1,184 @@
+"use client";
+
+import type { UIMessage } from "ai";
+import { LuPaperclip } from "react-icons/lu";
+import { Message, MessageContent } from "~/components/Message";
+import { FaviconStack } from "./Favicon";
+import { Response } from "./Response";
+
+interface ChatMessagesProps {
+ messages: UIMessage[];
+ isStreaming?: boolean;
+}
+
+interface SourceItem {
+ url: string;
+ title: string;
+ publishedDate?: string;
+}
+
+interface WebSearchToolOutput {
+ sources?: SourceItem[];
+}
+
+/**
+ * Extract sources from webSearch tool results
+ * Sources are already deduplicated by the tool
+ */
+function extractWebSearchSources(parts: UIMessage["parts"]): SourceItem[] {
+ const sources: SourceItem[] = [];
+
+ for (const part of parts) {
+ const type = part.type as string;
+ if (type === "tool-webSearch") {
+ const output = (part as { output?: WebSearchToolOutput }).output;
+ if (output?.sources) {
+ sources.push(...output.sources);
+ }
+ }
+ }
+
+ return sources;
+}
+
+/**
+ * Extract source-url parts from AI SDK
+ */
+function extractAiSdkSources(parts: UIMessage["parts"]): SourceItem[] {
+ const sources: SourceItem[] = [];
+
+ for (const part of parts) {
+ if (part.type === "source-url") {
+ const sourcePart = part as { url: string; title?: string };
+ sources.push({
+ url: sourcePart.url,
+ title: sourcePart.title || sourcePart.url,
+ });
+ }
+ }
+
+ return sources;
+}
+
+/**
+ * Extract file parts from message
+ */
+function extractFileParts(parts: UIMessage["parts"]) {
+ return parts.filter((part) => part.type === "file");
+}
+
+export function ChatMessages({
+ messages,
+ isStreaming = false,
+}: ChatMessagesProps) {
+ return (
+ <>
+ {messages.map(({ parts, ...message }, index) => {
+ // Extract text parts
+ const textParts = parts.filter((part) => part.type === "text");
+ const textContent = textParts
+ .map((part) => (part.type === "text" ? part.text : ""))
+ .join("");
+
+ // Extract file parts
+ const fileParts = extractFileParts(parts);
+
+ // Extract sources from AI SDK and webSearch
+ const aiSdkSources = extractAiSdkSources(parts);
+
+ // Extract sources from webSearch tool results (already deduplicated)
+ const webSearchSources = extractWebSearchSources(parts);
+
+ // Combine sources and deduplicate between AI SDK and webSearch sources
+ const allSources = [...aiSdkSources, ...webSearchSources];
+ const uniqueSources = allSources.filter(
+ (source, index, self) =>
+ index === self.findIndex((s) => s.url === source.url),
+ );
+
+ // Check if this is the last (currently streaming) message
+ const isLastMessage = index === messages.length - 1;
+
+ // Show sources only after response is finished (not on the currently streaming message)
+ const shouldShowSources =
+ uniqueSources.length > 0 &&
+ message.role === "assistant" &&
+ (!isLastMessage || !isStreaming);
+
+ return (
+ <div key={message.id}>
+ {/* Render file attachments */}
+ {fileParts.length > 0 && (
+ <Message from={message.role}>
+ <MessageContent className="max-w-[80%]">
+ <div className="flex flex-wrap gap-2 mb-2">
+ {fileParts.map((part) => {
+ if (part.type !== "file") return null;
+
+ const file = part as {
+ type: "file";
+ url?: string;
+ mediaType?: string;
+ filename?: string;
+ };
+
+ // Create a unique key from file properties
+ const fileKey = `${file.url}-${file.filename}`;
+ const isImage = file.mediaType?.startsWith("image/");
+
+ if (isImage && file.url) {
+ return (
+ <div
+ key={fileKey}
+ className="relative rounded-lg border overflow-hidden"
+ >
+ <img
+ src={file.url}
+ alt={file.filename || "attachment"}
+ className="max-w-xs max-h-48 object-cover"
+ width={300}
+ height={192}
+
+ />
+ </div>
+ );
+ }
+
+ return (
+ <div
+ key={fileKey}
+ className="flex items-center gap-2 px-3 py-2 rounded-lg border bg-muted/50"
+ >
+ <LuPaperclip className="size-4 shrink-0 text-muted-foreground" />
+ <span className="text-sm font-medium">
+ {file.filename || "Unknown file"}
+ </span>
+ </div>
+ );
+ })}
+ </div>
+ </MessageContent>
+ </Message>
+ )}
+
+ {/* Render text content in message */}
+ {textParts.length > 0 && (
+ <Message from={message.role}>
+ <MessageContent className="max-w-[80%]">
+ <Response>{textContent}</Response>
+ </MessageContent>
+ </Message>
+ )}
+
+ {/* Render sources as stacked favicons - show immediately when available */}
+ {shouldShowSources && (
+ <div className="max-w-[80%]">
+ <FaviconStack sources={uniqueSources} />
+ </div>
+ )}
+ </div>
+ );
+ })}
+ </>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatNavigation.tsx b/apps/erp/app/components/Chat/ChatNavigation.tsx
new file mode 100644
index 0000000000..d34c263797
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatNavigation.tsx
@@ -0,0 +1,32 @@
+"use client";
+
+import { useChatActions } from "@ai-sdk-tools/store";
+import { useNavigate } from "@remix-run/react";
+import { LuArrowLeft } from "react-icons/lu";
+import { useChatInterface } from "./hooks/useChatInterface";
+
+export function ChatNavigation() {
+ const navigate = useNavigate();
+ const { reset } = useChatActions();
+ const { isHome } = useChatInterface();
+
+ const handleBack = () => {
+ reset();
+ navigate(-1);
+ };
+
+ if (isHome) return null;
+
+ return (
+ <div className="absolute left-4">
+ <button
+ type="button"
+ onClick={handleBack}
+ className="p-2 hover:bg-accent transition-colors"
+ aria-label="Back to home"
+ >
+ <LuArrowLeft className="w-4 h-4" />
+ </button>
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatStatusIndicators.tsx b/apps/erp/app/components/Chat/ChatStatusIndicators.tsx
new file mode 100644
index 0000000000..ee4ec30c38
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatStatusIndicators.tsx
@@ -0,0 +1,44 @@
+import { AnimatedStatus } from "./AnimatedStatus";
+import { getStatusMessage, getToolMessage } from "./lib/agent";
+import { getToolIcon } from "./lib/tools";
+import type { AgentStatus } from "./lib/types";
+import { Loader } from "./Loader";
+
+interface ChatStatusIndicatorsProps {
+ agentStatus: AgentStatus | null;
+ currentToolCall: string | null;
+ status?: string;
+}
+
+export function ChatStatusIndicators({
+ agentStatus,
+ currentToolCall,
+ status,
+}: ChatStatusIndicatorsProps) {
+ const statusMessage = getStatusMessage(agentStatus);
+ const toolMessage = getToolMessage(currentToolCall);
+
+ // Always prioritize tool message over agent status when a tool is running
+ const displayMessage = toolMessage || statusMessage;
+
+ // Get icon for current tool - always show icon when tool is running
+ const toolIcon = currentToolCall ? getToolIcon(currentToolCall) : null;
+
+ return (
+ <div className="h-8 flex items-center">
+ <AnimatedStatus
+ text={displayMessage ?? null}
+ shimmerDuration={0.75}
+ fadeDuration={0.1}
+ variant="slide"
+ className="text-xs font-normal"
+ icon={toolIcon}
+ />
+
+ {((agentStatus && !getStatusMessage(agentStatus)) ||
+ (status === "submitted" && !agentStatus && !currentToolCall)) && (
+ <Loader />
+ )}
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/ChatTitle.tsx b/apps/erp/app/components/Chat/ChatTitle.tsx
new file mode 100644
index 0000000000..8d030e78cc
--- /dev/null
+++ b/apps/erp/app/components/Chat/ChatTitle.tsx
@@ -0,0 +1,36 @@
+import { useDataPart } from "@ai-sdk-tools/store";
+import { AnimatePresence, motion } from "framer-motion";
+
+interface ChatTitleData {
+ chatId: string;
+ title: string;
+}
+
+export function ChatTitle() {
+ const [chatTitle] = useDataPart<ChatTitleData>("chat-title", {
+ onData: (dataPart) => {
+ if (dataPart.data.title) {
+ document.title = `${dataPart.data.title} - AI SDK Tools`;
+ }
+ },
+ });
+
+ return (
+ <AnimatePresence mode="wait">
+ {chatTitle?.title && (
+ <motion.div
+ key={chatTitle.title}
+ initial={{ width: 0, opacity: 0 }}
+ animate={{ width: "auto", opacity: 1 }}
+ exit={{ width: 0, opacity: 0 }}
+ transition={{ duration: 0.2, ease: "easeOut" }}
+ className="overflow-hidden"
+ >
+ <div className="text-xs font-medium text-foreground whitespace-nowrap">
+ {chatTitle.title}
+ </div>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ );
+}
diff --git a/apps/erp/app/components/Chat/CommandMenu.tsx b/apps/erp/app/components/Chat/CommandMenu.tsx
new file mode 100644
index 0000000000..8c3d2b85de
--- /dev/null
+++ b/apps/erp/app/components/Chat/CommandMenu.tsx
@@ -0,0 +1,122 @@
+import { useChatActions, useChatId } from "@ai-sdk-tools/store";
+import { cn } from "@carbon/react";
+import { type RefObject, useEffect, useRef } from "react";
+import { LuArrowRight } from "react-icons/lu";
+import { useOnClickOutside } from "~/hooks/useOnClickOutside";
+import { AnimatedSizeContainer } from "./AnimatedSizeContainer";
+import { useChatInterface } from "./hooks/useChatInterface";
+import { useChatStore } from "./lib/store";
+
+export function CommandMenu() {
+ const commandListRef = useRef<HTMLDivElement>(null);
+ const {
+ filteredCommands,
+ selectedCommandIndex,
+ showCommands,
+ handleCommandSelect,
+ resetCommandState,
+ setInput,
+ setShowCommands,
+ } = useChatStore();
+
+ const { sendMessage } = useChatActions();
+ const chatId = useChatId();
+ const { setChatId } = useChatInterface();
+
+ // Close command menu when clicking outside (but not on the toggle button)
+ useOnClickOutside(commandListRef as RefObject<HTMLElement>, (event) => {
+ if (showCommands) {
+ // Check if the click was on the suggested actions toggle button
+ const target = event.target as Element;
+ const isToggleButton = target.closest("[data-suggested-actions-toggle]");
+
+ // Only close if it's not the toggle button
+ if (!isToggleButton) {
+ setShowCommands(false);
+ }
+ }
+ });
+
+ const handleCommandExecution = (command: any) => {
+ if (!chatId) return;
+
+ setChatId(chatId);
+
+ sendMessage({
+ role: "user",
+ parts: [{ type: "text", text: command.title }],
+ metadata: {
+ toolCall: {
+ toolName: command.toolName,
+ toolParams: command.toolParams,
+ },
+ },
+ });
+
+ setInput("");
+ resetCommandState();
+ };
+
+ // Scroll selected command into view
+ useEffect(() => {
+ if (commandListRef.current && showCommands) {
+ const selectedElement = commandListRef.current.querySelector(
+ `[data-index="${selectedCommandIndex}"]`,
+ );
+ if (selectedElement) {
+ selectedElement.scrollIntoView({ block: "nearest" });
+ }
+ }
+ }, [selectedCommandIndex, showCommands]);
+
+ if (!showCommands || filteredCommands.length === 0) return null;
+
+ return (
+ <div
+ ref={commandListRef}
+ className="absolute bottom-full left-0 right-0 mb-2 w-full z-30"
+ >
+ <AnimatedSizeContainer
+ height
+ className="bg-[#f7f7f7]/85 dark:bg-[#171717]/85 backdrop-blur-lg max-h-80 overflow-y-auto"
+ transition={{
+ type: "spring",
+ duration: 0.2,
+ bounce: 0.1,
+ ease: "easeOut",
+ }}
+ style={{
+ transformOrigin: "bottom center",
+ }}
+ >
+ <div className="p-2">
+ {filteredCommands.map((command, index) => {
+ const isActive = selectedCommandIndex === index;
+ return (
+ <div
+ key={`${command.command}-${index}`}
+ className={cn(
+ "px-2 py-2 text-sm cursor-pointer transition-colors flex items-center justify-between group",
+ isActive
+ ? "bg-black/5 dark:bg-white/5"
+ : "hover:bg-black/5 dark:hover:bg-white/5",
+ )}
+ onClick={() => handleCommandExecution(command)}
+ data-index={index}
+ >
+ <div>
+ <span className="text-[#666] ml-2">{command.title}</span>
+ </div>
+ {isActive && (
+ <span className="material-icons-outlined text-sm opacity-50 group-hover:opacity-100 text-gray-600 dark:text-gray-400 group-hover:text-black dark:group-hover:text-white">
+ <LuArrowRight />
+ </span>
+ )}
+ </div>
+ );
+ })}
+ </div>
+ </AnimatedSizeContainer>
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/Conversation.tsx b/apps/erp/app/components/Chat/Conversation.tsx
new file mode 100644
index 0000000000..be78c574ad
--- /dev/null
+++ b/apps/erp/app/components/Chat/Conversation.tsx
@@ -0,0 +1,95 @@
+import { cn, IconButton } from "@carbon/react";
+import type { ComponentProps } from "react";
+import { useCallback } from "react";
+import { LuArrowDown } from "react-icons/lu";
+import { StickToBottom, useStickToBottomContext } from "use-stick-to-bottom";
+
+
+export type ConversationProps = ComponentProps<typeof StickToBottom>;
+
+export const Conversation = ({ className, ...props }: ConversationProps) => (
+ <StickToBottom
+ className={cn("relative flex-1 overflow-y-auto", className)}
+ initial="smooth"
+ resize="smooth"
+ role="log"
+ {...props}
+ />
+);
+
+export type ConversationContentProps = ComponentProps<
+ typeof StickToBottom.Content
+>;
+
+export const ConversationContent = ({
+ className,
+ ...props
+}: ConversationContentProps) => (
+ <StickToBottom.Content className={cn("p-4", className)} {...props} />
+);
+
+export type ConversationEmptyStateProps = ComponentProps<"div"> & {
+ title?: string;
+ description?: string;
+ icon?: React.ReactNode;
+};
+
+export const ConversationEmptyState = ({
+ className,
+ title = "No messages yet",
+ description = "Start a conversation to see messages here",
+ icon,
+ children,
+ ...props
+}: ConversationEmptyStateProps) => (
+ <div
+ className={cn(
+ "flex size-full flex-col items-center justify-center gap-3 p-8 text-center",
+ className,
+ )}
+ {...props}
+ >
+ {children ?? (
+ <>
+ {icon && <div className="text-muted-foreground">{icon}</div>}
+ <div className="space-y-1">
+ <h3 className="font-medium text-sm">{title}</h3>
+ {description && (
+ <p className="text-muted-foreground text-sm">{description}</p>
+ )}
+ </div>
+ </>
+ )}
+ </div>
+);
+
+export type ConversationScrollButtonProps = ComponentProps<typeof Button>;
+
+export const ConversationScrollButton = ({
+ className,
+ ...props
+}: ConversationScrollButtonProps) => {
+ const { isAtBottom, scrollToBottom } = useStickToBottomContext();
+
+ const handleScrollToBottom = useCallback(() => {
+ scrollToBottom();
+ }, [scrollToBottom]);
+
+ return (
+ !isAtBottom && (
+ <IconButton
+ icon={<LuArrowDown />}
+ className={cn(
+ "absolute bottom-42 left-[50%] translate-x-[-50%] rounded-full",
+ className,
+ )}
+ onClick={handleScrollToBottom}
+ size="icon"
+ type="button"
+ variant="secondary"
+ {...props}
+ />
+
+ )
+ );
+};
diff --git a/apps/erp/app/components/Chat/Favicon.tsx b/apps/erp/app/components/Chat/Favicon.tsx
new file mode 100644
index 0000000000..06aefd449f
--- /dev/null
+++ b/apps/erp/app/components/Chat/Favicon.tsx
@@ -0,0 +1,103 @@
+import { AnimatePresence, motion } from "framer-motion";
+import { LuBook } from "react-icons/lu";
+
+interface SourceItem {
+ url: string;
+ title: string;
+}
+
+interface FaviconStackProps {
+ sources: SourceItem[];
+}
+
+/**
+ * Get favicon URL for a given website URL
+ */
+function getFaviconUrl(url: string): string {
+ try {
+ const domain = new URL(url).hostname;
+ return `https://www.google.com/s2/favicons?domain=${domain}&sz=32`;
+ } catch {
+ return "";
+ }
+}
+
+export function FaviconStack({ sources }: FaviconStackProps) {
+ if (sources.length === 0) return null;
+
+ return (
+ <div className="flex items-center not-prose mb-4">
+ <div className="flex items-center">
+ <AnimatePresence mode="popLayout">
+ {sources.map((source, index) => (
+ <motion.a
+ key={source.url}
+ href={source.url}
+ target="_blank"
+ rel="noreferrer"
+ initial={{
+ opacity: 0,
+ scale: 0.6,
+ x: 50,
+ filter: "blur(4px)",
+ }}
+ animate={{
+ opacity: 1,
+ scale: 1,
+ x: 0,
+ filter: "blur(0px)",
+ zIndex: sources.length - index,
+ }}
+ exit={{
+ opacity: 0,
+ scale: 0.8,
+ x: -20,
+ filter: "blur(4px)",
+ }}
+ transition={{
+ duration: 0.4,
+ delay: index * 0.04,
+ ease: [0.16, 1, 0.3, 1], // Custom easing for smooth motion
+ }}
+ className="relative group -ml-2 first:ml-0"
+ style={{ zIndex: sources.length - index }}
+ >
+ <div className="relative w-5 h-5 rounded-full bg-background border-2 border-border overflow-hidden flex items-center justify-center shadow-sm">
+ <img
+ src={getFaviconUrl(source.url)}
+ alt=""
+ className="w-full h-full object-cover"
+ onError={(e) => {
+ // Hide image and show fallback icon
+ const target = e.target as HTMLImageElement;
+ target.style.display = "none";
+ const parent = target.parentElement;
+ const fallback = parent?.querySelector(
+ ".fallback-icon",
+ ) as HTMLElement;
+ if (fallback) fallback.style.display = "block";
+ }}
+ />
+ <LuBook
+ className="fallback-icon w-3 h-3 hidden text-muted-foreground"
+ style={{ display: "none" }}
+ />
+ </div>
+
+ {/* Tooltip on hover */}
+ <div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-2 py-1 bg-popover text-popover-foreground text-xs rounded-md shadow-md whitespace-nowrap opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none z-10">
+ {source.title}
+ </div>
+ </motion.a>
+ ))}
+ </AnimatePresence>
+ </div>
+
+ {sources.length > 0 && (
+ <span className="text-xs text-muted-foreground ml-2">
+ {sources.length} {sources.length === 1 ? "source" : "sources"}
+ </span>
+ )}
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/FollowupQuestions.tsx b/apps/erp/app/components/Chat/FollowupQuestions.tsx
new file mode 100644
index 0000000000..4ce1c777b8
--- /dev/null
+++ b/apps/erp/app/components/Chat/FollowupQuestions.tsx
@@ -0,0 +1,104 @@
+// import { followupQuestionsArtifact } from "@api/ai/artifacts/followup-questions";
+
+export function FollowupQuestions() {
+ return null;
+ // const { data } = useArtifact(followupQuestionsArtifact);
+ // const [isVisible, setIsVisible] = useState(false);
+ // const { sendMessage } = useChatActions();
+ // const { setChatId } = useChatInterface();
+ // const { resetCommandState } = useChatStore();
+ // const status = useChatStatus();
+ // const chatId = useChatId();
+
+ // const handleQuestionSelect = (question: string) => {
+ // if (chatId) {
+ // setChatId(chatId);
+
+ // sendMessage({
+ // role: "user",
+ // parts: [{ type: "text", text: question }],
+ // });
+
+ // resetCommandState();
+ // }
+ // };
+
+ // useEffect(() => {
+ // if (
+ // status !== "streaming" &&
+ // data?.questions &&
+ // data.questions.length > 0
+ // ) {
+ // // Small delay to allow for smooth animation
+ // setTimeout(() => setIsVisible(true), 100);
+ // } else {
+ // setIsVisible(false);
+ // }
+ // }, [data]);
+
+ // if (!data?.questions || data.questions.length === 0) {
+ // return null;
+ // }
+
+ // return (
+ // <AnimatePresence>
+ // {isVisible && (
+ // <motion.div
+ // className="absolute bottom-full left-0 right-0 mb-3"
+ // initial={{ opacity: 0, y: 20 }}
+ // animate={{ opacity: 1, y: 0 }}
+ // exit={{ opacity: 0, y: 20 }}
+ // transition={{ duration: 0.3, ease: "easeOut" }}
+ // >
+ // <div className="relative">
+ // <motion.div
+ // className="flex items-center gap-2 overflow-x-auto justify-start [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"
+ // variants={{
+ // hidden: { opacity: 0 },
+ // visible: {
+ // opacity: 1,
+ // transition: {
+ // staggerChildren: 0.1,
+ // delayChildren: 0.1,
+ // },
+ // },
+ // }}
+ // initial="hidden"
+ // animate="visible"
+ // >
+ // {data.questions.map((question, index) => (
+ // <motion.div
+ // key={`followup-${question.slice(0, 20)}-${index}`}
+ // variants={{
+ // hidden: { opacity: 0, y: 10, scale: 0.9 },
+ // visible: {
+ // opacity: 1,
+ // y: 0,
+ // scale: 1,
+ // transition: {
+ // type: "spring",
+ // stiffness: 300,
+ // damping: 24,
+ // },
+ // },
+ // }}
+ // >
+ // <Button
+ // variant="outline"
+ // size="sm"
+ // className="h-7 px-3 text-xs rounded-full text-[#707070] bg-background/95 backdrop-blur-md border-border hover:bg-accent/50 transition-colors whitespace-nowrap"
+ // onClick={() => handleQuestionSelect(question)}
+ // >
+ // {question}
+ // </Button>
+ // </motion.div>
+ // ))}
+ // </motion.div>
+ // {/* Right fade gradient to indicate more content */}
+ // <div className="absolute top-0 right-0 bottom-0 w-8 bg-gradient-to-l from-background to-transparent pointer-events-none" />
+ // </div>
+ // </motion.div>
+ // )}
+ // </AnimatePresence>
+ // );
+}
diff --git a/apps/erp/app/components/Chat/LICENSE b/apps/erp/app/components/Chat/LICENSE
new file mode 100644
index 0000000000..3638d7346a
--- /dev/null
+++ b/apps/erp/app/components/Chat/LICENSE
@@ -0,0 +1,663 @@
+Copyright (c) 2023-present Midday Labs AB.
+
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+ Preamble
+
+The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+0. Definitions.
+
+"This License" refers to version 3 of the GNU Affero General Public License.
+
+"Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+"The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+1. Source Code.
+
+The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+The Corresponding Source for a work in source code form is that
+same work.
+
+2. Basic Permissions.
+
+All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+4. Conveying Verbatim Copies.
+
+You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+5. Conveying Modified Source Versions.
+
+You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+6. Conveying Non-Source Forms.
+
+You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+"Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+7. Additional Terms.
+
+"Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+8. Termination.
+
+You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+9. Acceptance Not Required for Having Copies.
+
+You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+10. Automatic Licensing of Downstream Recipients.
+
+Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+11. Patents.
+
+A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+12. No Surrender of Others' Freedom.
+
+If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+13. Remote Network Interaction; Use with the GNU General Public License.
+
+Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+14. Revised Versions of this License.
+
+The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+15. Disclaimer of Warranty.
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+16. Limitation of Liability.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+17. Interpretation of Sections 15 and 16.
+
+If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<https://www.gnu.org/licenses/>.
\ No newline at end of file
diff --git a/apps/erp/app/components/Chat/Loader.tsx b/apps/erp/app/components/Chat/Loader.tsx
new file mode 100644
index 0000000000..6bceb0ae84
--- /dev/null
+++ b/apps/erp/app/components/Chat/Loader.tsx
@@ -0,0 +1,96 @@
+import { cn } from "@carbon/react";
+import type { HTMLAttributes } from "react";
+
+type LoaderIconProps = {
+ size?: number;
+};
+
+const LoaderIcon = ({ size = 16 }: LoaderIconProps) => (
+ <svg
+ height={size}
+ strokeLinejoin="round"
+ style={{ color: "currentcolor" }}
+ viewBox="0 0 16 16"
+ width={size}
+ >
+ <title>Loader</title>
+ <g clipPath="url(#clip0_2393_1490)">
+ <path d="M8 0V4" stroke="currentColor" strokeWidth="1.5" />
+ <path
+ d="M8 16V12"
+ opacity="0.5"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M3.29773 1.52783L5.64887 4.7639"
+ opacity="0.9"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M12.7023 1.52783L10.3511 4.7639"
+ opacity="0.1"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M12.7023 14.472L10.3511 11.236"
+ opacity="0.4"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M3.29773 14.472L5.64887 11.236"
+ opacity="0.6"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M15.6085 5.52783L11.8043 6.7639"
+ opacity="0.2"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M0.391602 10.472L4.19583 9.23598"
+ opacity="0.7"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M15.6085 10.4722L11.8043 9.2361"
+ opacity="0.3"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M0.391602 5.52783L4.19583 6.7639"
+ opacity="0.8"
+ stroke="currentColor"
+ strokeWidth="1.5"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_2393_1490">
+ <rect fill="white" height="16" width="16" />
+ </clipPath>
+ </defs>
+ </svg>
+);
+
+export type LoaderProps = HTMLAttributes<HTMLDivElement> & {
+ size?: number;
+};
+
+export const Loader = ({ className, size = 16, ...props }: LoaderProps) => (
+ <div
+ className={cn(
+ "inline-flex animate-spin items-center justify-center",
+ className,
+ )}
+ {...props}
+ >
+ <LoaderIcon size={size} />
+ </div>
+);
diff --git a/apps/erp/app/components/Chat/NewChat.tsx b/apps/erp/app/components/Chat/NewChat.tsx
new file mode 100644
index 0000000000..c79c079571
--- /dev/null
+++ b/apps/erp/app/components/Chat/NewChat.tsx
@@ -0,0 +1,18 @@
+import { Button } from "@carbon/react";
+import { generateId } from "ai";
+import { LuCirclePlus } from "react-icons/lu";
+import { useUrlParams } from "~/hooks";
+
+export function NewChat() {
+ const [,setParams] = useUrlParams();
+
+ const handleNewChat = () => {
+ setParams({ chatId: generateId() });
+ };
+
+ return (
+ <Button variant="secondary" isIcon onClick={handleNewChat}>
+ <LuCirclePlus size={16} />
+ </Button>
+ );
+}
diff --git a/apps/erp/app/components/Chat/PromptInput.tsx b/apps/erp/app/components/Chat/PromptInput.tsx
new file mode 100644
index 0000000000..286148b84f
--- /dev/null
+++ b/apps/erp/app/components/Chat/PromptInput.tsx
@@ -0,0 +1,683 @@
+import {
+ Button,
+ cn,
+ DropdownMenu,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuTrigger,
+ IconButton,
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+ Textarea,
+} from "@carbon/react";
+import type { ChatStatus, FileUIPart } from "ai";
+import { nanoid } from "nanoid";
+import {
+ type ChangeEventHandler,
+ Children,
+ type ComponentProps,
+ createContext,
+ type FormEvent,
+ type FormEventHandler,
+ Fragment,
+ type HTMLAttributes,
+ type KeyboardEventHandler,
+ type RefObject,
+ useCallback,
+ useContext,
+ useEffect,
+ useLayoutEffect,
+ useMemo,
+ useRef,
+ useState,
+} from "react";
+import { LuPaperclip, LuPlus, LuSend, LuSquare, LuX } from "react-icons/lu";
+
+type AttachmentsContextType = {
+ files: (FileUIPart & { id: string })[];
+ add: (files: File[] | FileList) => void;
+ remove: (id: string) => void;
+ clear: () => void;
+ openFileDialog: () => void;
+ fileInputRef: RefObject<HTMLInputElement | null>;
+};
+
+const AttachmentsContext = createContext<AttachmentsContextType | null>(null);
+
+export const usePromptInputAttachments = () => {
+ const context = useContext(AttachmentsContext);
+
+ if (!context) {
+ throw new Error(
+ "usePromptInputAttachments must be used within a PromptInput"
+ );
+ }
+
+ return context;
+};
+
+export type PromptInputAttachmentProps = HTMLAttributes<HTMLDivElement> & {
+ data: FileUIPart & { id: string };
+ className?: string;
+};
+
+export function PromptInputAttachment({
+ data,
+ className,
+ ...props
+}: PromptInputAttachmentProps) {
+ const attachments = usePromptInputAttachments();
+
+ return (
+ <div
+ className={cn("group relative h-14 w-14 border", className)}
+ key={data.id}
+ {...props}
+ >
+ {data.mediaType?.startsWith("image/") && data.url ? (
+ <img
+ alt={data.filename || "attachment"}
+ className="size-full object-cover"
+ height={56}
+ src={data.url}
+ width={56}
+ />
+ ) : (
+ <div className="flex size-full items-center justify-center text-muted-foreground">
+ <LuPaperclip className="size-4" />
+ </div>
+ )}
+ <IconButton
+ aria-label="Remove attachment"
+ icon={<LuX />}
+ className="-right-1.5 -top-1.5 absolute h-6 w-6 rounded-full opacity-0 group-hover:opacity-100"
+ onClick={() => attachments.remove(data.id)}
+ variant="secondary"
+ size="sm"
+ />
+ </div>
+ );
+}
+
+export type PromptInputAttachmentsProps = Omit<
+ HTMLAttributes<HTMLDivElement>,
+ "children"
+> & {
+ children: (attachment: FileUIPart & { id: string }) => React.ReactNode;
+};
+
+export function PromptInputAttachments({
+ className,
+ children,
+ ...props
+}: PromptInputAttachmentsProps) {
+ const attachments = usePromptInputAttachments();
+ const [height, setHeight] = useState(0);
+ const contentRef = useRef<HTMLDivElement>(null);
+
+ useLayoutEffect(() => {
+ const el = contentRef.current;
+ if (!el) {
+ return;
+ }
+ const ro = new ResizeObserver(() => {
+ setHeight(el.getBoundingClientRect().height);
+ });
+ ro.observe(el);
+ setHeight(el.getBoundingClientRect().height);
+ return () => ro.disconnect();
+ }, []);
+
+ return (
+ <div
+ aria-live="polite"
+ className={cn(
+ "overflow-hidden transition-[height] duration-200 ease-out",
+ className
+ )}
+ style={{ height: attachments.files.length ? height : 0 }}
+ {...props}
+ >
+ <div className="flex flex-wrap gap-2 p-3 pt-3" ref={contentRef}>
+ {attachments.files.map((file) => (
+ <Fragment key={file.id}>{children(file)}</Fragment>
+ ))}
+ </div>
+ </div>
+ );
+}
+
+export type PromptInputActionAddAttachmentsProps = ComponentProps<
+ typeof DropdownMenuItem
+> & {
+ label?: string;
+};
+
+export const PromptInputActionAddAttachments = ({
+ ...props
+}: PromptInputActionAddAttachmentsProps) => {
+ const attachments = usePromptInputAttachments();
+
+ return (
+ // @ts-expect-error
+ <IconButton
+ aria-label="Add attachments"
+ variant="ghost"
+ type="button"
+ {...props}
+ icon={<LuPaperclip />}
+ onClick={() => attachments.openFileDialog()}
+ />
+ );
+};
+
+export type PromptInputMessage = {
+ text?: string;
+ files?: FileUIPart[];
+};
+
+export type PromptInputProps = Omit<
+ HTMLAttributes<HTMLFormElement>,
+ "onSubmit"
+> & {
+ accept?: string; // e.g., "image/*" or leave undefined for any
+ multiple?: boolean;
+ // When true, accepts drops anywhere on document. Default false (opt-in).
+ globalDrop?: boolean;
+ // Render a hidden input with given name and keep it in sync for native form posts. Default false.
+ syncHiddenInput?: boolean;
+ // Minimal constraints
+ maxFiles?: number;
+ maxFileSize?: number; // bytes
+ onError?: (err: {
+ code: "max_files" | "max_file_size" | "accept";
+ message: string;
+ }) => void;
+ onSubmit: (
+ message: PromptInputMessage,
+ event: FormEvent<HTMLFormElement>
+ ) => void;
+};
+
+export const PromptInput = ({
+ className,
+ accept,
+ multiple,
+ globalDrop,
+ syncHiddenInput,
+ maxFiles,
+ maxFileSize,
+ onError,
+ onSubmit,
+ ...props
+}: PromptInputProps) => {
+ const [items, setItems] = useState<(FileUIPart & { id: string })[]>([]);
+ const inputRef = useRef<HTMLInputElement | null>(null);
+ const anchorRef = useRef<HTMLSpanElement>(null);
+ const formRef = useRef<HTMLFormElement | null>(null);
+
+ // Find nearest form to scope drag & drop
+ useEffect(() => {
+ const root = anchorRef.current?.closest("form");
+ if (root instanceof HTMLFormElement) {
+ formRef.current = root;
+ }
+ }, []);
+
+ const openFileDialog = useCallback(() => {
+ inputRef.current?.click();
+ }, []);
+
+ const matchesAccept = useCallback(
+ (f: File) => {
+ if (!accept || accept.trim() === "") {
+ return true;
+ }
+ // Simple check: if accept includes "image/*", filter to images; otherwise allow.
+ if (accept.includes("image/*")) {
+ return f.type.startsWith("image/");
+ }
+ return true;
+ },
+ [accept]
+ );
+
+ const add = useCallback(
+ (files: File[] | FileList) => {
+ const incoming = Array.from(files);
+ const accepted = incoming.filter((f) => matchesAccept(f));
+ if (accepted.length === 0) {
+ onError?.({
+ code: "accept",
+ message: "No files match the accepted types.",
+ });
+ return;
+ }
+ const withinSize = (f: File) =>
+ maxFileSize ? f.size <= maxFileSize : true;
+ const sized = accepted.filter(withinSize);
+ if (sized.length === 0 && accepted.length > 0) {
+ onError?.({
+ code: "max_file_size",
+ message: "All files exceed the maximum size.",
+ });
+ return;
+ }
+ setItems((prev) => {
+ const capacity =
+ typeof maxFiles === "number"
+ ? Math.max(0, maxFiles - prev.length)
+ : undefined;
+ const capped =
+ typeof capacity === "number" ? sized.slice(0, capacity) : sized;
+ if (typeof capacity === "number" && sized.length > capacity) {
+ onError?.({
+ code: "max_files",
+ message: "Too many files. Some were not added.",
+ });
+ }
+ const next: (FileUIPart & { id: string })[] = [];
+ for (const file of capped) {
+ next.push({
+ id: nanoid(),
+ type: "file",
+ url: URL.createObjectURL(file),
+ mediaType: file.type,
+ filename: file.name,
+ });
+ }
+ return prev.concat(next);
+ });
+ },
+ [matchesAccept, maxFiles, maxFileSize, onError]
+ );
+
+ const remove = useCallback((id: string) => {
+ setItems((prev) => {
+ const found = prev.find((file) => file.id === id);
+ if (found?.url) {
+ URL.revokeObjectURL(found.url);
+ }
+ return prev.filter((file) => file.id !== id);
+ });
+ }, []);
+
+ const clear = useCallback(() => {
+ setItems((prev) => {
+ for (const file of prev) {
+ if (file.url) {
+ URL.revokeObjectURL(file.url);
+ }
+ }
+ return [];
+ });
+ }, []);
+
+ // Note: File input cannot be programmatically set for security reasons
+ // The syncHiddenInput prop is no longer functional
+ useEffect(() => {
+ if (syncHiddenInput && inputRef.current) {
+ // Clear the input when items are cleared
+ if (items.length === 0) {
+ inputRef.current.value = "";
+ }
+ }
+ }, [items, syncHiddenInput]);
+
+ // Attach drop handlers on nearest form and document (opt-in)
+ useEffect(() => {
+ const form = formRef.current;
+ if (!form) {
+ return;
+ }
+ const onDragOver = (e: DragEvent) => {
+ if (e.dataTransfer?.types?.includes("Files")) {
+ e.preventDefault();
+ }
+ };
+ const onDrop = (e: DragEvent) => {
+ if (e.dataTransfer?.types?.includes("Files")) {
+ e.preventDefault();
+ }
+ if (e.dataTransfer?.files && e.dataTransfer.files.length > 0) {
+ add(e.dataTransfer.files);
+ }
+ };
+ form.addEventListener("dragover", onDragOver);
+ form.addEventListener("drop", onDrop);
+ return () => {
+ form.removeEventListener("dragover", onDragOver);
+ form.removeEventListener("drop", onDrop);
+ };
+ }, [add]);
+
+ useEffect(() => {
+ if (!globalDrop) {
+ return;
+ }
+ const onDragOver = (e: DragEvent) => {
+ if (e.dataTransfer?.types?.includes("Files")) {
+ e.preventDefault();
+ }
+ };
+ const onDrop = (e: DragEvent) => {
+ if (e.dataTransfer?.types?.includes("Files")) {
+ e.preventDefault();
+ }
+ if (e.dataTransfer?.files && e.dataTransfer.files.length > 0) {
+ add(e.dataTransfer.files);
+ }
+ };
+ document.addEventListener("dragover", onDragOver);
+ document.addEventListener("drop", onDrop);
+ return () => {
+ document.removeEventListener("dragover", onDragOver);
+ document.removeEventListener("drop", onDrop);
+ };
+ }, [add, globalDrop]);
+
+ const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {
+ if (event.currentTarget.files) {
+ add(event.currentTarget.files);
+ }
+ };
+
+ const handleSubmit: FormEventHandler<HTMLFormElement> = (event) => {
+ event.preventDefault();
+
+ const files: FileUIPart[] = items.map(({ ...item }) => ({
+ ...item,
+ }));
+
+ onSubmit({ text: event.currentTarget.message.value, files }, event);
+ };
+
+ const ctx = useMemo<AttachmentsContextType>(
+ () => ({
+ files: items.map((item) => ({ ...item, id: item.id })),
+ add,
+ remove,
+ clear,
+ openFileDialog,
+ fileInputRef: inputRef,
+ }),
+ [items, add, remove, clear, openFileDialog]
+ );
+
+ return (
+ <AttachmentsContext.Provider value={ctx}>
+ <span aria-hidden="true" className="hidden" ref={anchorRef} />
+ <input
+ accept={accept}
+ className="hidden"
+ multiple={multiple}
+ onChange={handleChange}
+ ref={inputRef}
+ type="file"
+ />
+ <form
+ className={cn(
+ "w-full overflow-hidden bg-card rounded-lg shadow-button-base",
+ className
+ )}
+ onSubmit={handleSubmit}
+ {...props}
+ />
+ </AttachmentsContext.Provider>
+ );
+};
+
+export type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
+
+export const PromptInputBody = ({
+ className,
+ ...props
+}: PromptInputBodyProps) => (
+ <div className={cn(className, "flex flex-col")} {...props} />
+);
+
+export type PromptInputTextareaProps = ComponentProps<typeof Textarea>;
+
+export const PromptInputTextarea = ({
+ onChange,
+ className,
+ placeholder = "Ask anything",
+ ...props
+}: PromptInputTextareaProps) => {
+ const handleKeyDown: KeyboardEventHandler<HTMLTextAreaElement> = (e) => {
+ if (e.key === "Enter") {
+ // Don't submit if IME composition is in progress
+ if (e.nativeEvent.isComposing) {
+ return;
+ }
+
+ if (e.shiftKey) {
+ // Allow newline
+ return;
+ }
+
+ // Submit on Enter (without Shift)
+ e.preventDefault();
+ const form = e.currentTarget.form;
+ if (form) {
+ form.requestSubmit();
+ }
+ }
+ };
+
+ return (
+ <Textarea
+ className={cn(
+ "w-full resize-none rounded-none border-none p-3 pt-4 shadow-none outline-none ring-0 text-sm",
+ "field-sizing-content bg-transparent dark:bg-transparent placeholder:text-[rgba(102,102,102,0.5)]",
+ "max-h-[55px] min-h-[55px]",
+ "focus-visible:ring-0",
+ className
+ )}
+ name="message"
+ onChange={(e) => {
+ onChange?.(e);
+ }}
+ onKeyDown={handleKeyDown}
+ placeholder={placeholder}
+ {...props}
+ />
+ );
+};
+
+export type PromptInputToolbarProps = HTMLAttributes<HTMLDivElement>;
+
+export const PromptInputToolbar = ({
+ className,
+ ...props
+}: PromptInputToolbarProps) => (
+ <div
+ className={cn(
+ "flex items-center justify-between px-3 pt-1 pb-2",
+ className
+ )}
+ {...props}
+ />
+);
+
+export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
+
+export const PromptInputTools = ({
+ className,
+ ...props
+}: PromptInputToolsProps) => (
+ <div className={cn("flex items-center gap-0.5", className)} {...props} />
+);
+
+export type PromptInputButtonProps = ComponentProps<typeof Button>;
+
+export const PromptInputButton = ({
+ variant = "ghost",
+ className,
+ size,
+ type = "button",
+ ...props
+}: PromptInputButtonProps) => {
+ const newSize =
+ size ?? Children.count(props.children) > 1 ? "default" : "icon";
+
+ return (
+ <Button
+ className={cn(
+ "shrink-0 gap-1.5",
+ variant === "ghost" && "text-muted-foreground",
+ newSize === "default" && "px-3",
+ className
+ )}
+ isIcon={newSize === "icon"}
+ type="button"
+ variant={variant}
+ {...props}
+ />
+ );
+};
+
+export type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
+export const PromptInputActionMenu = (props: PromptInputActionMenuProps) => (
+ <DropdownMenu {...props} />
+);
+
+export type PromptInputActionMenuTriggerProps = ComponentProps<
+ typeof Button
+> & {};
+export const PromptInputActionMenuTrigger = ({
+ className,
+ children,
+ ...props
+}: PromptInputActionMenuTriggerProps) => (
+ <DropdownMenuTrigger asChild>
+ <PromptInputButton className={className} {...props}>
+ {children ?? <LuPlus className="size-4" />}
+ </PromptInputButton>
+ </DropdownMenuTrigger>
+);
+
+export type PromptInputActionMenuContentProps = ComponentProps<
+ typeof DropdownMenuContent
+>;
+export const PromptInputActionMenuContent = ({
+ className,
+ ...props
+}: PromptInputActionMenuContentProps) => (
+ <DropdownMenuContent align="start" className={cn(className)} {...props} />
+);
+
+export type PromptInputActionMenuItemProps = ComponentProps<
+ typeof DropdownMenuItem
+>;
+export const PromptInputActionMenuItem = ({
+ className,
+ ...props
+}: PromptInputActionMenuItemProps) => (
+ <DropdownMenuItem className={cn(className)} {...props} />
+);
+
+// Note: Actions that perform side-effects (like opening a file dialog)
+// are provided in opt-in modules (e.g., prompt-input-attachments).
+
+export type PromptInputSubmitProps = Omit<
+ ComponentProps<typeof Button>,
+ "size"
+> & {
+ status?: ChatStatus;
+ size?: "default" | "icon";
+};
+
+export const PromptInputSubmit = ({
+ className,
+ variant = "primary",
+ size = "icon",
+ status,
+ children,
+ ...props
+}: PromptInputSubmitProps) => {
+ let Icon = <LuSend />;
+
+ if (status === "streaming") {
+ Icon = <LuSquare />;
+ } else if (status === "error") {
+ Icon = <LuX />;
+ }
+
+ return children ? (
+ <Button
+ className={cn("gap-1.5", className)}
+ type="submit"
+ variant={variant}
+ {...props}
+ >
+ {children}
+ </Button>
+ ) : (
+ <IconButton
+ aria-label="Submit"
+ icon={Icon}
+ type="submit"
+ variant={variant}
+ {...props}
+ />
+ );
+};
+
+export type PromptInputModelSelectProps = ComponentProps<typeof Select>;
+
+export const PromptInputModelSelect = (props: PromptInputModelSelectProps) => (
+ <Select {...props} />
+);
+
+export type PromptInputModelSelectTriggerProps = ComponentProps<
+ typeof SelectTrigger
+>;
+
+export const PromptInputModelSelectTrigger = ({
+ className,
+ ...props
+}: PromptInputModelSelectTriggerProps) => (
+ <SelectTrigger
+ className={cn(
+ "border-none bg-transparent font-medium text-muted-foreground shadow-none transition-colors",
+ 'hover:bg-accent hover:text-foreground [&[aria-expanded="true"]]:bg-accent [&[aria-expanded="true"]]:text-foreground',
+ className
+ )}
+ {...props}
+ />
+);
+
+export type PromptInputModelSelectContentProps = ComponentProps<
+ typeof SelectContent
+>;
+
+export const PromptInputModelSelectContent = ({
+ className,
+ ...props
+}: PromptInputModelSelectContentProps) => (
+ <SelectContent className={cn(className)} {...props} />
+);
+
+export type PromptInputModelSelectItemProps = ComponentProps<typeof SelectItem>;
+
+export const PromptInputModelSelectItem = ({
+ className,
+ ...props
+}: PromptInputModelSelectItemProps) => (
+ <SelectItem className={cn(className)} {...props} />
+);
+
+export type PromptInputModelSelectValueProps = ComponentProps<
+ typeof SelectValue
+>;
+
+export const PromptInputModelSelectValue = ({
+ className,
+ ...props
+}: PromptInputModelSelectValueProps) => (
+ <SelectValue className={cn(className)} {...props} />
+);
diff --git a/apps/erp/app/components/Chat/RecordButton.tsx b/apps/erp/app/components/Chat/RecordButton.tsx
new file mode 100644
index 0000000000..130c476a39
--- /dev/null
+++ b/apps/erp/app/components/Chat/RecordButton.tsx
@@ -0,0 +1,218 @@
+import { cn, IconButton, Spinner } from "@carbon/react";
+import { useCallback } from "react";
+import { useAudioRecording } from "./hooks/useAudioRecording";
+import { useChatStore } from "./lib/store";
+
+// Custom Record Icon with smooth animation
+const RecordIcon = ({
+ size = 16,
+ isRecording = false,
+}: {
+ size?: number;
+ isRecording?: boolean;
+}) => {
+ return (
+ <svg
+ width={size}
+ height={size}
+ viewBox="0 0 24 24"
+ fill="currentColor"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ {/* Recreate the Material Design MdOutlineGraphicEq icon with individual bars for wave-like animation */}
+
+ {/* Bar 1 (leftmost, shortest) */}
+ <rect x="3" y="10" width="2" height="4" fill="currentColor">
+ {isRecording && (
+ <>
+ <animate
+ attributeName="height"
+ values="4;2;6;3;8;1;5;2;7;4"
+ dur="2.4s"
+ repeatCount="indefinite"
+ begin="0s"
+ />
+ <animate
+ attributeName="y"
+ values="10;11;7;10.5;6;11.5;8.5;11;6.5;10"
+ dur="2.4s"
+ repeatCount="indefinite"
+ begin="0s"
+ />
+ </>
+ )}
+ </rect>
+
+ {/* Bar 2 (second from left) */}
+ <rect x="7" y="6" width="2" height="12" fill="currentColor">
+ {isRecording && (
+ <>
+ <animate
+ attributeName="height"
+ values="12;8;16;10;18;6;14;9;15;12"
+ dur="2.7s"
+ repeatCount="indefinite"
+ begin="0.45s"
+ />
+ <animate
+ attributeName="y"
+ values="6;8;2;7;1;9;5;7.5;4.5;6"
+ dur="2.7s"
+ repeatCount="indefinite"
+ begin="0.45s"
+ />
+ </>
+ )}
+ </rect>
+
+ {/* Bar 3 (center, tallest) */}
+ <rect x="11" y="2" width="2" height="20" fill="currentColor">
+ {isRecording && (
+ <>
+ <animate
+ attributeName="height"
+ values="20;14;22;16;24;12;18;15;21;20"
+ dur="2.1s"
+ repeatCount="indefinite"
+ begin="0.9s"
+ />
+ <animate
+ attributeName="y"
+ values="2;5;1;4;0;6;3;4.5;1.5;2"
+ dur="2.1s"
+ repeatCount="indefinite"
+ begin="0.9s"
+ />
+ </>
+ )}
+ </rect>
+
+ {/* Bar 4 (second from right) */}
+ <rect x="15" y="6" width="2" height="12" fill="currentColor">
+ {isRecording && (
+ <>
+ <animate
+ attributeName="height"
+ values="12;16;8;14;10;18;6;13;9;12"
+ dur="3.3s"
+ repeatCount="indefinite"
+ begin="1.35s"
+ />
+ <animate
+ attributeName="y"
+ values="6;2;8;5;7;1;9;5.5;7.5;6"
+ dur="3.3s"
+ repeatCount="indefinite"
+ begin="1.35s"
+ />
+ </>
+ )}
+ </rect>
+
+ {/* Bar 5 (rightmost) */}
+ <rect x="19" y="10" width="2" height="4" fill="currentColor">
+ {isRecording && (
+ <>
+ <animate
+ attributeName="height"
+ values="4;6;2;7;3;8;1;5;3;4"
+ dur="3.0s"
+ repeatCount="indefinite"
+ begin="1.8s"
+ />
+ <animate
+ attributeName="y"
+ values="10;7;11;6.5;10.5;6;11.5;8.5;10.5;10"
+ dur="3.0s"
+ repeatCount="indefinite"
+ begin="1.8s"
+ />
+ </>
+ )}
+ </rect>
+ </svg>
+ );
+};
+
+export interface RecordButtonProps {
+ disabled?: boolean;
+ className?: string;
+ size?: number;
+}
+
+export function RecordButton({
+ disabled = false,
+ className,
+ size = 16,
+}: RecordButtonProps) {
+ const {
+ input,
+ setInput,
+ isRecording,
+ isProcessing,
+ setIsRecording,
+ setIsProcessing,
+ } = useChatStore();
+ const { startRecording, stopRecording, transcribeAudio } =
+ useAudioRecording();
+
+ const handleRecordClick = useCallback(async () => {
+ if (isRecording) {
+ // Stop recording and transcribe
+ try {
+ setIsProcessing(true);
+ const audioBlob = await stopRecording();
+
+ if (audioBlob) {
+ const transcribedText = await transcribeAudio(audioBlob);
+
+ if (transcribedText.trim()) {
+ setInput(input ? `${input} ${transcribedText}` : transcribedText);
+ }
+ }
+ } catch (error) {
+ console.error("Failed to process recording:", error);
+ } finally {
+ setIsRecording(false);
+ setIsProcessing(false);
+ }
+ } else {
+ // Start recording and reset input
+ try {
+ setInput(""); // Reset input when starting to record
+ await startRecording();
+ setIsRecording(true);
+ } catch (error) {
+ console.error("Failed to start recording:", error);
+ }
+ }
+ }, [
+ isRecording,
+ stopRecording,
+ startRecording,
+ transcribeAudio,
+ setInput,
+ input,
+ setIsRecording,
+ setIsProcessing,
+ ]);
+
+ return (
+ <IconButton
+ aria-label="Record"
+ variant="ghost"
+ icon={
+ isProcessing ? <Spinner /> : <RecordIcon isRecording={isRecording} />
+ }
+ isDisabled={isProcessing}
+ onClick={handleRecordClick}
+ disabled={disabled}
+ className={cn(
+ isRecording &&
+ "text-red-500 hover:text-red-500 [&_svg]:text-red-500 [&_svg]:hover:text-red-500",
+ disabled && "opacity-50",
+ className
+ )}
+ />
+ );
+}
diff --git a/apps/erp/app/components/Chat/Response.tsx b/apps/erp/app/components/Chat/Response.tsx
new file mode 100644
index 0000000000..2022dfd7ec
--- /dev/null
+++ b/apps/erp/app/components/Chat/Response.tsx
@@ -0,0 +1,125 @@
+import { getAppUrl } from "@carbon/auth";
+import { cn, Table } from "@carbon/react";
+import { Link } from "@remix-run/react";
+import { type ComponentProps, memo } from "react";
+import ReactMarkdown from 'react-markdown';
+
+
+type ResponseProps = ComponentProps<typeof ReactMarkdown> & {
+ className?: string;
+};
+
+// Custom ul component with customizable className
+const CustomUnorderedList = ({
+ node,
+ children,
+ className,
+ ...props
+}: {
+ node?: any;
+ children?: React.ReactNode;
+ className?: string;
+}) => (
+ <ul className={cn("list-none m-0 p-0", className)} {...props}>
+ {children}
+ </ul>
+);
+
+// Custom ol component with customizable className (no numbers)
+const CustomOrderedList = ({
+ node,
+ children,
+ className,
+ ...props
+}: {
+ node?: any;
+ children?: React.ReactNode;
+ className?: string;
+}) => (
+ <ol
+ className={cn("list-none m-0 p-0", className)}
+ {...props}
+ data-streamdown="unordered-list"
+ >
+ {children}
+ </ol>
+);
+
+// Custom li component to remove padding
+const CustomListItem = ({
+ node,
+ children,
+ className,
+ ...props
+}: {
+ node?: any;
+ children?: React.ReactNode;
+ className?: string;
+}) => (
+ <li
+ className={cn("py-0 my-0 leading-none", className)}
+ {...props}
+ data-streamdown="list-item"
+ >
+ {children}
+ </li>
+);
+
+export const Response = memo(
+ ({ className, ...props }: ResponseProps) => (
+ <div className={cn(
+ "size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0 space-y-4",
+ className,
+ )}>
+ <ReactMarkdown
+
+ components={{
+ ul: (props) => <CustomUnorderedList {...props} />,
+ ol: (props) => <CustomOrderedList {...props} />,
+ li: (props) => <CustomListItem {...props} />,
+ h2: ({ children, node, ...props }) => (
+ <h3
+ className="font-medium text-sm text-primary tracking-wide"
+ {...props}
+ >
+ {children}
+ </h3>
+ ),
+ h3: ({ children, node, ...props }) => (
+ <h3
+ className="font-medium text-sm text-primary tracking-wide"
+ {...props}
+ >
+ {children}
+ </h3>
+ ),
+ h4: ({ children, node, ...props }) => (
+ <h4
+ className="font-medium text-sm text-primary tracking-wide"
+ {...props}
+ >
+ {children}
+ </h4>
+ ),
+ table: (props) => <Table {...props} className="border" />,
+ a: (props) => {
+ // if the href starts with the app url, open in the same window
+ if (props.href?.startsWith(getAppUrl())) {
+ return (
+ <Link to={props.href} className="underline">
+ {props.children}
+ </Link>
+ );
+ }
+
+ return <a {...props} className="underline" />;
+ },
+ }}
+ {...props}
+ />
+ </div>
+ ),
+ (prevProps, nextProps) => prevProps.children === nextProps.children,
+);
+
+Response.displayName = "Response";
diff --git a/apps/erp/app/components/Chat/SuggestedActions.tsx b/apps/erp/app/components/Chat/SuggestedActions.tsx
new file mode 100644
index 0000000000..368b7bd781
--- /dev/null
+++ b/apps/erp/app/components/Chat/SuggestedActions.tsx
@@ -0,0 +1,136 @@
+import { useChatActions, useChatId } from "@ai-sdk-tools/store";
+import { cn, IconButton } from "@carbon/react";
+import { LuZap } from "react-icons/lu";
+import { useChatInterface } from "./hooks/useChatInterface";
+import { useChatStore } from "./lib/store";
+
+
+type SuggestedAction = {
+ id: string;
+ toolName: string;
+ toolParams: Record<string, any>;
+ text: string;
+};
+
+export function SuggestedActions() {
+ const { sendMessage } = useChatActions();
+ const { setChatId } = useChatInterface();
+ const chatId = useChatId();
+
+
+
+ const handleToolCall = (params: {
+ toolName: string;
+ toolParams: Record<string, any>;
+ text: string;
+ }) => {
+ if (!chatId) return;
+
+ setChatId(chatId);
+
+ sendMessage({
+ role: "user",
+ parts: [{ type: "text", text: params.text }],
+ metadata: {
+ toolCall: {
+ toolName: params.toolName,
+ toolParams: params.toolParams,
+ },
+ },
+ });
+ };
+
+ // UI configuration based on action ID
+ const uiConfig: Record<
+ string,
+ {
+ icon: React.ComponentType<any>;
+ title: string;
+ description: string;
+ }
+ > = {
+
+ };
+
+ const suggestedActions: SuggestedAction[] = [];
+
+
+ return (
+ <div className="w-full px-6 mt-10 mb-8 flex items-center justify-center">
+ <div className="flex gap-3 overflow-x-auto scrollbar-hide">
+ {suggestedActions.map((action) => {
+ const config = uiConfig[action.id];
+ const Icon = config?.icon;
+ const title = config?.title || action.id;
+ const description =
+ config?.description || `Execute ${action.toolName}`;
+
+ return (
+ <button
+ key={action.id}
+ type="button"
+ className={cn(
+ "border border-border hover:bg-accent hover:border-border-hover",
+ "px-3 py-2 flex items-center gap-2 cursor-pointer",
+ "transition-all duration-300 min-w-fit whitespace-nowrap",
+ )}
+ onClick={() => {
+ handleToolCall({
+ toolName: action.toolName,
+ toolParams: action.toolParams,
+ text: description,
+ });
+ }}
+ >
+ {Icon && (
+ <Icon className="w-4 h-4 text-muted-foreground" />
+ )}
+ <span className="text-foreground text-[12px] font-medium">
+ {title}
+ </span>
+ </button>
+ );
+ })}
+ </div>
+ </div>
+ );
+}
+
+
+
+export function SuggestedActionsButton() {
+ const { showCommands, setShowCommands } = useChatStore();
+
+ const handleClick = (e: React.MouseEvent) => {
+ // Prevent the click from bubbling up and being detected as an "outside click"
+ e.stopPropagation();
+
+ // Toggle the command menu
+ setShowCommands(!showCommands);
+
+ // Focus textarea for keyboard navigation when opening
+ if (!showCommands) {
+ requestAnimationFrame(() => {
+ document.querySelector("textarea")?.focus();
+ });
+ }
+ };
+
+ return (
+ <IconButton
+ aria-label="Suggested Actions"
+ icon={<LuZap />}
+ variant="ghost"
+ type="button"
+ onClick={handleClick}
+ className={cn(
+
+ showCommands
+ ? "text-foreground"
+ : "text-muted-foreground hover:text-foreground",
+ )}
+ // Add data attribute to help identify this button for exclusion from outside clicks
+ data-suggested-actions-toggle
+ />
+ );
+}
diff --git a/apps/erp/app/components/Chat/ToolCallIndicator.tsx b/apps/erp/app/components/Chat/ToolCallIndicator.tsx
new file mode 100644
index 0000000000..6522dec7f7
--- /dev/null
+++ b/apps/erp/app/components/Chat/ToolCallIndicator.tsx
@@ -0,0 +1,56 @@
+import { cn, TextShimmer } from "@carbon/react";
+import { LuGlobe, LuSearch, LuShoppingCart, LuSquareStack } from "react-icons/lu";
+
+export const toolDisplayConfig = {
+ createPurchaseOrder: {
+ displayText: "Purchasing",
+ icon: LuShoppingCart,
+ },
+ getSupplier: {
+ displayText: "Getting Supplier",
+ icon: LuSearch,
+ },
+ getSupplierForParts: {
+ displayText: "Getting Supplier for Parts",
+ icon: LuSearch,
+ },
+ getPart: {
+ displayText: "Getting Part",
+ icon: LuSquareStack,
+ },
+ webSearch: {
+ displayText: "Searching the Web",
+ icon: LuGlobe,
+ },
+} as const;
+
+export type SupportedToolName = keyof typeof toolDisplayConfig;
+
+export interface ToolCallIndicatorProps {
+ toolName: SupportedToolName;
+ className?: string;
+}
+
+export function ToolCallIndicator({
+ toolName,
+ className,
+}: ToolCallIndicatorProps) {
+ const config = toolDisplayConfig[toolName];
+
+ if (!config) {
+ return null;
+ }
+
+ return (
+ <div className={cn("flex justify-start mt-3 animate-fade-in", className)}>
+ <div className="border px-3 py-1 flex items-center gap-2 w-fit">
+ <div className="flex items-center justify-center size-3.5">
+ <config.icon size={14} />
+ </div>
+ <TextShimmer className="text-xs text-[#707070]" duration={1}>
+ {config.displayText}
+ </TextShimmer>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/WebSearch.tsx b/apps/erp/app/components/Chat/WebSearch.tsx
new file mode 100644
index 0000000000..092eefb7a8
--- /dev/null
+++ b/apps/erp/app/components/Chat/WebSearch.tsx
@@ -0,0 +1,187 @@
+import {
+ Avatar,
+ cn,
+ IconButton,
+ Tooltip,
+ TooltipContent,
+ TooltipProvider,
+ TooltipTrigger
+} from "@carbon/react";
+import { LuGlobe } from "react-icons/lu";
+import { useChatStore } from "./lib/store";
+
+import { AnimatePresence, motion } from "framer-motion";
+import type { ComponentProps } from "react";
+import { useEffect, useState } from "react";
+
+
+
+interface WebSearchSource {
+ title?: string;
+ url?: string;
+ domain?: string;
+}
+
+export type WebSearchSourcesProps = ComponentProps<"div"> & {
+ sources: WebSearchSource[];
+ showSourceCount?: boolean;
+};
+
+function extractDomainFromUrl(url: string): string {
+ try {
+ const urlObj = new URL(url);
+ return urlObj.hostname.replace(/^www\./, "");
+ } catch {
+ return "";
+ }
+}
+
+export const WebSearchSources = ({
+ sources: providedSources,
+ showSourceCount = true,
+ className,
+}: WebSearchSourcesProps) => {
+ const [animatedSources, setAnimatedSources] = useState<WebSearchSource[]>([]);
+
+ // Animate in sources as they become available
+ useEffect(() => {
+ if (!providedSources?.length) {
+ setAnimatedSources([]);
+ return;
+ }
+
+ // Add sources one by one with a delay
+ providedSources.forEach((source, index) => {
+ setTimeout(() => {
+ setAnimatedSources((prev) => {
+ // Only add if not already present
+ if (prev.some((s) => s.url === source.url)) {
+ return prev;
+ }
+ return [...prev, source];
+ });
+ }, index * 150); // 150ms delay between each source
+ });
+ }, [providedSources]);
+
+ if (!providedSources?.length) {
+ return null;
+ }
+
+ return (
+ <motion.div
+ className={cn("mt-3", className)}
+ initial={{ opacity: 0, y: 10 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ duration: 0.3 }}
+ >
+ <TooltipProvider>
+ <div className="flex items-center gap-2">
+ <div className="flex items-center -space-x-2">
+ <AnimatePresence mode="popLayout">
+ {animatedSources.map((source, index) => (
+ <WebSearchSourceAvatar
+ key={source.url}
+ source={source}
+ zIndex={animatedSources.length - index}
+ index={index}
+ />
+ ))}
+ </AnimatePresence>
+ </div>
+ <motion.div
+ className="flex items-center gap-1 px-2 py-1 bg-muted/50 rounded-full"
+ initial={{ opacity: 0, scale: 0.8 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ duration: 0.3, delay: 0.1 }}
+ >
+ <span className="text-xs text-muted-foreground font-medium">
+ Sources
+ </span>
+ <span className="text-xs text-muted-foreground">•</span>
+ <motion.span
+ className="text-xs text-muted-foreground"
+ key={animatedSources.length}
+ initial={{ opacity: 0, scale: 0.5 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ duration: 0.2 }}
+ >
+ {animatedSources.length}
+ </motion.span>
+ </motion.div>
+ </div>
+ </TooltipProvider>
+ </motion.div>
+ );
+};
+
+interface WebSearchSourceAvatarProps {
+ source: WebSearchSource;
+ zIndex?: number;
+ index?: number;
+}
+
+const WebSearchSourceAvatar = ({
+ source,
+ zIndex = 0,
+ index = 0,
+}: WebSearchSourceAvatarProps) => {
+ const domain = source.domain || extractDomainFromUrl(source.url || "");
+
+ return (
+ <Tooltip delayDuration={100}>
+ <TooltipTrigger asChild>
+ <motion.div
+ className="inline-flex cursor-pointer"
+ style={{ zIndex }}
+ initial={{ opacity: 0, scale: 0, x: -20 }}
+ animate={{ opacity: 1, scale: 1, x: 0 }}
+ exit={{ opacity: 0, scale: 0, x: -20 }}
+ transition={{
+ duration: 0.4,
+ delay: index * 0.1,
+ type: "spring",
+ stiffness: 200,
+ damping: 20,
+ }}
+ whileHover={{
+ scale: 1.1,
+ transition: { duration: 0.2 },
+ }}
+ whileTap={{ scale: 0.95 }}
+ onClick={() =>
+ window.open(source.url, "_blank", "noopener,noreferrer")
+ }
+ >
+ <Avatar className="h-5 w-5 cursor-pointer border-2 border-background shadow-sm" src={`https://img.logo.dev/${domain}?token=pk_X-1ZO13GSgeOoUrIuJ6GMQ&size=64&retina=true`} name={domain.split(".")[0]}
+ />
+ </motion.div>
+ </TooltipTrigger>
+ <TooltipContent side="top" className="max-w-xs">
+ <div className="space-y-1">
+ <p className="font-medium text-sm">{source.title}</p>
+ <p className="text-xs text-muted-foreground">{domain}</p>
+ </div>
+ </TooltipContent>
+ </Tooltip>
+ );
+};
+
+
+
+export function WebSearchButton() {
+ const { isWebSearch, setIsWebSearch } = useChatStore();
+
+ return (
+ <IconButton
+ type="button"
+ variant={isWebSearch ? "primary" : "ghost"}
+ icon={<LuGlobe />}
+ onClick={() => setIsWebSearch(!isWebSearch)}
+ aria-label="Web Search"
+
+ />
+
+
+ );
+}
diff --git a/apps/erp/app/components/Chat/hooks/useAudioRecording.tsx b/apps/erp/app/components/Chat/hooks/useAudioRecording.tsx
new file mode 100644
index 0000000000..d8fa6533f7
--- /dev/null
+++ b/apps/erp/app/components/Chat/hooks/useAudioRecording.tsx
@@ -0,0 +1,174 @@
+import { SUPABASE_URL, useCarbon } from "@carbon/auth";
+import { useCallback, useRef, useState } from "react";
+import { useUser } from "~/hooks";
+
+interface UseAudioRecordingReturn {
+ isRecording: boolean;
+ isProcessing: boolean;
+ startRecording: () => Promise<void>;
+ stopRecording: () => Promise<Blob | null>;
+ transcribeAudio: (audioBlob: Blob) => Promise<string>;
+}
+
+export function useAudioRecording(): UseAudioRecordingReturn {
+ const [isRecording, setIsRecording] = useState(false);
+ const [isProcessing, setIsProcessing] = useState(false);
+ const mediaRecorderRef = useRef<MediaRecorder | null>(null);
+ const audioChunksRef = useRef<Blob[]>([]);
+ const streamRef = useRef<MediaStream | null>(null);
+ const recordingTimerRef = useRef<NodeJS.Timeout | null>(null);
+
+ // Hard limit: 1 minute (60 seconds)
+ const MAX_RECORDING_TIME = 60 * 1000; // 60 seconds in milliseconds
+
+ const stopRecording = useCallback(async (): Promise<Blob | null> => {
+ return new Promise((resolve) => {
+ // Clear the recording timer if it exists
+ if (recordingTimerRef.current) {
+ clearTimeout(recordingTimerRef.current);
+ recordingTimerRef.current = null;
+ }
+
+ if (!mediaRecorderRef.current || !isRecording) {
+ resolve(null);
+ return;
+ }
+
+ mediaRecorderRef.current.onstop = () => {
+ // Stop all audio tracks
+ if (streamRef.current) {
+ for (const track of streamRef.current.getTracks()) {
+ track.stop();
+ }
+ }
+ streamRef.current = null;
+
+ // Create audio blob from chunks
+ const audioBlob =
+ audioChunksRef.current.length > 0
+ ? new Blob(audioChunksRef.current, {
+ type: "audio/webm;codecs=opus",
+ })
+ : null;
+
+ // Clear chunks
+ audioChunksRef.current = [];
+ setIsRecording(false);
+ resolve(audioBlob);
+ };
+
+ mediaRecorderRef.current.stop();
+ });
+ }, [isRecording]);
+
+ const startRecording = useCallback(async () => {
+ try {
+ const stream = await navigator.mediaDevices.getUserMedia({
+ audio: {
+ echoCancellation: true,
+ noiseSuppression: true,
+ sampleRate: 44100,
+ },
+ });
+
+ streamRef.current = stream;
+ const mediaRecorder = new MediaRecorder(stream, {
+ mimeType: "audio/webm;codecs=opus",
+ });
+
+ mediaRecorderRef.current = mediaRecorder;
+ audioChunksRef.current = [];
+
+ mediaRecorder.ondataavailable = (event) => {
+ if (event.data.size > 0) {
+ audioChunksRef.current.push(event.data);
+ }
+ };
+
+ mediaRecorder.start(1000); // Collect data every second
+ setIsRecording(true);
+
+ // Set up auto-stop timer for 1 minute limit
+ recordingTimerRef.current = setTimeout(() => {
+ console.log("Recording automatically stopped after 1 minute");
+ stopRecording();
+ }, MAX_RECORDING_TIME);
+ } catch (error) {
+ console.error("Error starting audio recording:", error);
+ throw error;
+ }
+ }, [stopRecording]);
+
+
+ const { accessToken } = useCarbon();
+ const { id: userId, company: { id: companyId } } = useUser();
+ const transcribeAudio = useCallback(
+ async (audioBlob: Blob): Promise<string> => {
+ setIsProcessing(true);
+
+ try {
+ // Convert blob to base64
+ const arrayBuffer = await audioBlob.arrayBuffer();
+ const base64Audio = btoa(
+ new Uint8Array(arrayBuffer).reduce(
+ (data, byte) => data + String.fromCharCode(byte),
+ "",
+ ),
+ );
+
+ // Get authenticated session
+ const transcriptionUrl = `${SUPABASE_URL}/functions/v1/transcription`;
+ const response = await fetch(
+ transcriptionUrl,
+ {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Authorization: `Bearer ${accessToken}`,
+ "x-company-id": companyId,
+ "x-user-id": userId,
+ },
+ body: JSON.stringify({
+ audio: base64Audio,
+ mimeType: audioBlob.type,
+ }),
+ },
+ );
+
+ if (!response.ok) {
+ const errorText = await response.text();
+ console.error("Transcription API error:", {
+ status: response.status,
+ statusText: response.statusText,
+ body: errorText,
+ });
+ throw new Error(
+ `Failed to transcribe audio: ${response.status} ${response.statusText}`,
+ );
+ }
+
+ const data = await response.json();
+
+ if (!data.success) {
+ throw new Error(data.error || "Transcription failed");
+ }
+
+ return data.text;
+ } catch (error) {
+ console.error("Error transcribing audio:", error);
+ throw error;
+ } finally {
+ setIsProcessing(false);
+ }
+ },
+ [],
+ );
+
+ return {
+ isRecording,
+ isProcessing,
+ startRecording,
+ stopRecording,
+ transcribeAudio,
+ };
+}
diff --git a/apps/erp/app/components/Chat/hooks/useChatInterface.tsx b/apps/erp/app/components/Chat/hooks/useChatInterface.tsx
new file mode 100644
index 0000000000..024dfc8151
--- /dev/null
+++ b/apps/erp/app/components/Chat/hooks/useChatInterface.tsx
@@ -0,0 +1,36 @@
+import { useUrlParams } from "@carbon/remix";
+import { useEffect, useState } from "react";
+
+export function useChatInterface() {
+ const [params, setParams] = useUrlParams();
+
+ // Initialize state immediately from pathname to avoid blink on refresh
+ const getInitialChatId = () => {
+ return params.get("chatId") || null;
+ };
+
+ const [chatId, setChatIdState] = useState<string | null>(getInitialChatId);
+
+ // Extract chatId from pathname
+ useEffect(() => {
+ setChatIdState(params.get("chatId") || null);
+ }, [params]);
+
+
+
+ const isHome = !chatId;
+ const isChatPage = Boolean(chatId);
+
+ const setChatId = (id: string) => {
+ // Preserve the locale in the URL
+ setParams({ chatId: id });
+ setChatIdState(id);
+ };
+
+ return {
+ isHome,
+ isChatPage,
+ chatId,
+ setChatId,
+ };
+}
diff --git a/apps/erp/app/components/Chat/hooks/useChatStatus.tsx b/apps/erp/app/components/Chat/hooks/useChatStatus.tsx
new file mode 100644
index 0000000000..11346618ba
--- /dev/null
+++ b/apps/erp/app/components/Chat/hooks/useChatStatus.tsx
@@ -0,0 +1,119 @@
+
+import { useDataPart } from "@ai-sdk-tools/store";
+import type { ChatStatus, ToolUIPart, UIMessage } from "ai";
+import { useMemo } from "react";
+import type { AgentStatus } from "../lib/types";
+
+interface ChatStatusResult {
+ agentStatus: AgentStatus | null;
+ currentToolCall: string | null;
+ hasTextContent: boolean;
+}
+
+/**
+ * Hook to derive chat status indicators from messages and streaming state.
+ *
+ * This hook manages the logic for showing agent status and tool messages:
+ * - Agent status: shown when routing or executing (before content starts)
+ * - Tool message: shown when a tool is actively running
+ * - Hidden: when text content is streaming or chat is ready
+ */
+export function useChatStatus(
+ messages: UIMessage[],
+ status: ChatStatus,
+): ChatStatusResult {
+ const [agentStatusData] = useDataPart<AgentStatus>("agent-status");
+
+ const result = useMemo(() => {
+ if (messages.length === 0) {
+ return {
+ agentStatus: agentStatusData,
+ currentToolCall: null,
+ hasTextContent: false,
+ };
+ }
+
+ const lastMessage = messages[messages.length - 1];
+ if (lastMessage?.role !== "assistant") {
+ return {
+ agentStatus: agentStatusData,
+ currentToolCall: null,
+ hasTextContent: false,
+ };
+ }
+
+ // Check if we have text content streaming
+ const textParts = lastMessage.parts.filter((part) => part.type === "text");
+ const hasTextContent = textParts.some((part) => {
+ const textPart = part as { text?: string };
+ return textPart.text?.trim();
+ });
+
+ // Find active tool calls - check ALL tool-related parts
+ const allParts = lastMessage.parts;
+
+ const toolParts = allParts.filter((part) => {
+ const type = part.type;
+ return type.startsWith("tool-");
+ }) as ToolUIPart[];
+
+ let currentToolCall: string | null = null;
+ let _toolMetadata: Record<string, unknown> | null = null;
+
+ // Check if any web search is still pending (no output yet)
+ const hasPendingWebSearch = toolParts.some((part) => {
+ const type = part.type as string;
+ const toolWithOutput = part as Record<string, unknown>;
+ return type === "tool-webSearch" && !toolWithOutput.output;
+ });
+
+ // If web searches are active, prioritize showing that
+ if (hasPendingWebSearch) {
+ // Find the most recent web search for the query text
+ for (let i = toolParts.length - 1; i >= 0; i--) {
+ const tool = toolParts[i];
+ const type = tool?.type as string;
+ if (type === "tool-webSearch") {
+ const toolWithMeta = tool as Record<string, unknown>;
+ currentToolCall = "webSearch";
+ _toolMetadata = toolWithMeta;
+ break;
+ }
+ }
+ } else if (toolParts.length > 0) {
+ // No web searches active, get the most recent tool
+ const tool = toolParts[toolParts.length - 1];
+ const toolWithMeta = tool as Record<string, unknown>;
+ const type = tool?.type as string;
+
+ // Extract tool name from type (e.g., "tool-cashFlow" -> "cashFlow")
+ const toolName =
+ type === "dynamic-tool"
+ ? (toolWithMeta.toolName as string)
+ : type.replace(/^tool-/, "");
+
+ currentToolCall = toolName;
+ _toolMetadata = toolWithMeta;
+ }
+
+ // Hide tool when text starts streaming or when complete
+ if (currentToolCall && (hasTextContent || status === "ready")) {
+ currentToolCall = null;
+ _toolMetadata = null;
+ }
+
+ // Hide agent status when streaming text, when complete, or when tool is showing
+ const agentStatus =
+ status === "ready" || hasTextContent || currentToolCall
+ ? null
+ : agentStatusData;
+
+ return {
+ agentStatus,
+ currentToolCall,
+ hasTextContent,
+ };
+ }, [messages, status, agentStatusData]);
+
+ return result;
+}
diff --git a/apps/erp/app/components/Chat/index.tsx b/apps/erp/app/components/Chat/index.tsx
new file mode 100644
index 0000000000..afdef44e7b
--- /dev/null
+++ b/apps/erp/app/components/Chat/index.tsx
@@ -0,0 +1,9 @@
+export { ChatHeader } from "./ChatHeader";
+export { ChatInput, type ChatInputMessage } from "./ChatInput";
+export { ChatInterface } from "./ChatInterface";
+export { ChatMessages } from "./ChatMessages";
+export { ChatNavigation } from "./ChatNavigation";
+export { ChatStatusIndicators } from "./ChatStatusIndicators";
+export { ChatTitle } from "./ChatTitle";
+
+
diff --git a/apps/erp/app/components/Chat/lib/agent.tsx b/apps/erp/app/components/Chat/lib/agent.tsx
new file mode 100644
index 0000000000..0884dcffc7
--- /dev/null
+++ b/apps/erp/app/components/Chat/lib/agent.tsx
@@ -0,0 +1,53 @@
+import type { AgentStatus } from "./types";
+
+// Generate user-friendly status messages
+export const getStatusMessage = (status?: AgentStatus | null) => {
+ if (!status) {
+ return null;
+ }
+
+ const { agent, status: state } = status;
+
+ if (state === "routing") {
+ return "Thinking...";
+ }
+
+ if (state === "executing") {
+ const messages: Record<AgentStatus["agent"], string> = {
+ triage: "Thinking...",
+ orchestrator: "Coordinating your request...",
+ general: "Getting information for you...",
+ purchasing: "Running purchasing...",
+ parts: "Searching for parts...",
+ suppliers: "Searching for suppliers...",
+ };
+
+ return messages[agent];
+ }
+
+ return null;
+};
+
+// Generate user-friendly tool messages
+export const getToolMessage = (toolName: string | null) => {
+ if (!toolName) return null;
+
+ const toolMessages: Record<string, string> = {
+ // Reports tools
+ createPurchaseOrder: "Creating a purchase order...",
+ getPart: "Searching for a part...",
+ getSupplier: "Searching for a supplier...",
+ getSupplierForParts: "Searching for suppliers for parts...",
+
+ // Research tools
+ webSearch: "Searching the web...",
+
+ // Memory tools
+ updateWorkingMemory: "Updating working memory...",
+
+ // Handoff tools
+ handoff_to_agent: "Connecting you with the right specialist...",
+ };
+
+ return toolMessages[toolName];
+};
diff --git a/apps/erp/app/components/Chat/lib/store.ts b/apps/erp/app/components/Chat/lib/store.ts
new file mode 100644
index 0000000000..235b447d37
--- /dev/null
+++ b/apps/erp/app/components/Chat/lib/store.ts
@@ -0,0 +1,336 @@
+// import {
+// endOfMonth,
+// getLocalTimeZone,
+// startOfMonth,
+// startOfYear,
+// today,
+// } from "@internationalized/date";
+import { create } from "zustand";
+
+
+// const getDateValues = () => {
+// const todayValue = today(getLocalTimeZone());
+// const localTimeZone = getLocalTimeZone();
+
+// return {
+// todayISO: todayValue.toDate(localTimeZone).toISOString(),
+// startOfMonthISO: startOfMonth(todayValue).toDate(localTimeZone).toISOString(),
+// endOfMonthISO: endOfMonth(todayValue).toDate(localTimeZone).toISOString(),
+// startOfYearISO: startOfYear(todayValue).toDate(localTimeZone).toISOString(),
+// weekAgoISO: todayValue.subtract({ days: 7 }).toDate(localTimeZone).toISOString(),
+// monthAgoISO: todayValue.subtract({ months: 1 }).toDate(localTimeZone).toISOString(),
+// };
+// };
+
+
+// const dateValues = getDateValues();
+
+export interface CommandSuggestion {
+ command: string;
+ title: string;
+ toolName: string;
+ toolParams: Record<string, any>;
+ keywords: string[];
+}
+
+// Command system with / prefix - natural language suggestions
+const COMMAND_SUGGESTIONS: CommandSuggestion[] = [
+ // {
+ // command: "/show",
+ // title: "Show latest transactions",
+ // toolName: "getTransactions",
+ // toolParams: { pageSize: 10, sort: ["date", "desc"] },
+ // keywords: ["show", "latest", "transactions", "recent"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show cash burn and top 3 vendor increases",
+ // toolName: "getBurnRateAnalysis",
+ // toolParams: { showCanvas: true },
+ // keywords: ["show", "burn", "cash", "vendor", "increases", "analysis"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show where we're spending the most this month",
+ // toolName: "getSpending",
+ // toolParams: {
+ // from: dateValues.startOfMonthISO,
+ // to: dateValues.endOfMonthISO,
+ // showCanvas: true,
+ // },
+ // keywords: ["show", "spending", "most", "this month", "where"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show weekly trends and insights",
+ // toolName: "getBurnRateAnalysis",
+ // toolParams: {
+ // from: dateValues.weekAgoISO,
+ // to: dateValues.todayISO,
+ // showCanvas: true,
+ // },
+ // keywords: ["show", "weekly", "trends", "insights"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show revenue performance",
+ // toolName: "getRevenue",
+ // toolParams: {
+ // from: dateValues.startOfYearISO,
+ // to: dateValues.endOfMonthISO,
+ // showCanvas: true,
+ // },
+ // keywords: ["show", "revenue", "performance", "analyze"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show expense breakdown by category",
+ // toolName: "getSpending",
+ // toolParams: { showCanvas: true },
+ // keywords: ["show", "expense", "breakdown", "category"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show profit margins",
+ // toolName: "getProfit",
+ // toolParams: { showCanvas: true },
+ // keywords: ["show", "profit", "margins"],
+ // },
+ // {
+ // command: "/show",
+ // title: "Show cash runway",
+ // toolName: "getRunway",
+ // toolParams: { showCanvas: true },
+ // keywords: ["show", "runway", "cash", "left"],
+ // },
+ // {
+ // command: "/find",
+ // title: "Find untagged transactions from last month",
+ // toolName: "getTransactions",
+ // toolParams: {
+ // from: dateValues.monthAgoISO,
+ // to: dateValues.todayISO,
+ // statuses: ["pending"],
+ // },
+ // keywords: ["find", "untagged", "transactions", "last month", "clean"],
+ // },
+ // {
+ // command: "/find",
+ // title: "Find recurring payments",
+ // toolName: "getTransactions",
+ // toolParams: { recurring: true },
+ // keywords: ["find", "recurring", "payments", "subscriptions"],
+ // },
+ // {
+ // command: "/analyze",
+ // title: "Analyze burn rate trends",
+ // toolName: "getBurnRateAnalysis",
+ // toolParams: { showCanvas: true },
+ // keywords: ["analyze", "burn", "rate", "trends"],
+ // },
+ // {
+ // command: "/analyze",
+ // title: "Analyze spending patterns",
+ // toolName: "getSpending",
+ // toolParams: { showCanvas: true },
+ // keywords: ["analyze", "spending", "patterns"],
+ // },
+];
+
+
+
+interface ChatState {
+ // Input state
+ input: string;
+ setInput: (input: string) => void;
+ clearInput: () => void;
+
+ // Web search state
+ isWebSearch: boolean;
+ setIsWebSearch: (isWebSearch: boolean) => void;
+
+ // Upload state
+ isUploading: boolean;
+ setIsUploading: (isUploading: boolean) => void;
+
+ // Recording state
+ isRecording: boolean;
+ isProcessing: boolean;
+ setIsRecording: (isRecording: boolean) => void;
+ setIsProcessing: (isProcessing: boolean) => void;
+
+ // Command suggestions state
+ showCommands: boolean;
+ setShowCommands: (showCommands: boolean) => void;
+ selectedCommandIndex: number;
+ setSelectedCommandIndex: (index: number) => void;
+ commandQuery: string;
+ setCommandQuery: (query: string) => void;
+ cursorPosition: number;
+ setCursorPosition: (position: number) => void;
+
+ // Filtered commands (computed)
+ filteredCommands: CommandSuggestion[];
+
+ // Actions
+ handleInputChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
+ handleCommandSelect: (command: CommandSuggestion) => void;
+ handleKeyDown: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
+ resetCommandState: () => void;
+ navigateCommandUp: () => void;
+ navigateCommandDown: () => void;
+ selectCurrentCommand: () => CommandSuggestion | null;
+}
+
+export const useChatStore = create<ChatState>()((set, get) => ({
+ // Initial state
+ input: "",
+ isWebSearch: false,
+ isUploading: false,
+ isRecording: false,
+ isProcessing: false,
+ showCommands: false,
+ selectedCommandIndex: 0,
+ commandQuery: "",
+ cursorPosition: 0,
+ filteredCommands: COMMAND_SUGGESTIONS,
+
+ // Basic setters
+ setInput: (input) => set({ input }),
+ clearInput: () => set({ input: "", cursorPosition: 0 }),
+ setIsWebSearch: (isWebSearch) => set({ isWebSearch }),
+ setIsUploading: (isUploading) => set({ isUploading }),
+ setIsRecording: (isRecording) => set({ isRecording }),
+ setIsProcessing: (isProcessing) => set({ isProcessing }),
+ setShowCommands: (showCommands) => set({ showCommands }),
+ setSelectedCommandIndex: (selectedCommandIndex) =>
+ set({ selectedCommandIndex }),
+ setCommandQuery: (commandQuery) => set({ commandQuery }),
+ setCursorPosition: (cursorPosition) => set({ cursorPosition }),
+
+ // Input change handler
+ handleInputChange: (e) => {
+ const value = e.target.value;
+ const cursorPos = e.target.selectionStart;
+
+ set({ input: value, cursorPosition: cursorPos });
+
+ // Check if we're typing a command
+ const textBeforeCursor = value.substring(0, cursorPos);
+ const lastSlashIndex = textBeforeCursor.lastIndexOf("/");
+
+ if (lastSlashIndex !== -1) {
+ const textAfterSlash = textBeforeCursor.substring(lastSlashIndex + 1);
+
+ // Filter commands based on the query
+ const query = textAfterSlash.toLowerCase().trim();
+ const filtered = COMMAND_SUGGESTIONS.filter((command) => {
+ const matchesCommand = command.command.toLowerCase().includes(query);
+ const matchesTitle = command.title.toLowerCase().includes(query);
+ const matchesKeywords = command.keywords.some((keyword) =>
+ keyword.toLowerCase().includes(query),
+ );
+ return matchesCommand || matchesTitle || matchesKeywords;
+ });
+
+ // Always show commands when typing after a slash, regardless of spaces
+ set({
+ commandQuery: textAfterSlash,
+ showCommands: true,
+ selectedCommandIndex: 0,
+ filteredCommands: filtered,
+ });
+ return;
+ }
+
+ set({
+ showCommands: false,
+ commandQuery: "",
+ filteredCommands: COMMAND_SUGGESTIONS,
+ });
+ },
+
+ // Command selection handler
+ handleCommandSelect: (command) => {
+ const { input, cursorPosition } = get();
+ const textBeforeCursor = input.substring(0, cursorPosition);
+ const lastSlashIndex = textBeforeCursor.lastIndexOf("/");
+ const textAfterCursor = input.substring(cursorPosition);
+
+ // Replace the command with the full suggestion
+ const newText = `${textBeforeCursor.substring(0, lastSlashIndex)}${command.title} ${textAfterCursor}`;
+
+ set({
+ input: newText,
+ showCommands: false,
+ commandQuery: "",
+ });
+ },
+
+ // Keyboard navigation handler
+ handleKeyDown: (e) => {
+ const { showCommands, filteredCommands, selectedCommandIndex } = get();
+
+ if (!showCommands) return;
+
+ switch (e.key) {
+ case "ArrowDown":
+ e.preventDefault();
+ set({
+ selectedCommandIndex: Math.min(
+ selectedCommandIndex + 1,
+ filteredCommands.length - 1,
+ ),
+ });
+ break;
+ case "ArrowUp":
+ e.preventDefault();
+ set({
+ selectedCommandIndex: Math.max(selectedCommandIndex - 1, 0),
+ });
+ break;
+ case "Enter": {
+ e.preventDefault();
+ const currentCommand = get().selectCurrentCommand();
+ if (currentCommand) {
+ get().handleCommandSelect(currentCommand);
+ }
+ break;
+ }
+ case "Escape":
+ set({ showCommands: false, commandQuery: "" });
+ break;
+ }
+ },
+
+ // Utility functions
+ resetCommandState: () => {
+ set({
+ showCommands: false,
+ commandQuery: "",
+ selectedCommandIndex: 0,
+ });
+ },
+
+ navigateCommandUp: () => {
+ const { selectedCommandIndex, filteredCommands } = get();
+ set({
+ selectedCommandIndex: Math.max(selectedCommandIndex - 1, 0),
+ });
+ },
+
+ navigateCommandDown: () => {
+ const { selectedCommandIndex, filteredCommands } = get();
+ set({
+ selectedCommandIndex: Math.min(
+ selectedCommandIndex + 1,
+ filteredCommands.length - 1,
+ ),
+ });
+ },
+
+ selectCurrentCommand: () => {
+ const { filteredCommands, selectedCommandIndex } = get();
+ return filteredCommands[selectedCommandIndex] || null;
+ },
+}));
diff --git a/apps/erp/app/components/Chat/lib/tools.tsx b/apps/erp/app/components/Chat/lib/tools.tsx
new file mode 100644
index 0000000000..703971e505
--- /dev/null
+++ b/apps/erp/app/components/Chat/lib/tools.tsx
@@ -0,0 +1,78 @@
+import type { ComponentType, SVGProps } from "react";
+import { LuArrowRight, LuBrain, LuSearch, LuShoppingCart, LuSquareStack } from "react-icons/lu";
+
+export type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
+
+export interface ToolConfig {
+ name: string;
+ icon: IconComponent;
+ description?: string;
+}
+
+export const TOOL_CONFIGS: Record<string, ToolConfig> = {
+ // Purchasing tools
+ createPurchaseOrder: {
+ name: "Create Purchase Order",
+ icon: LuShoppingCart,
+ description: "Creating a purchase order",
+ },
+ getPart: {
+ name: "Get Part",
+ icon: LuSquareStack,
+ description: "Searching for a part",
+ },
+ getSupplier: {
+ name: "Get Supplier",
+ icon: LuSearch,
+ description: "Searching for a supplier",
+ },
+ getSupplierForParts: {
+ name: "Get Supplier for Parts",
+ icon: LuSearch,
+ description: "Searching for suppliers for parts",
+ },
+
+ // Research tools
+ webSearch: {
+ name: "Web Search",
+ icon: LuSearch,
+ description: "Searching the web",
+ },
+
+ // Memory tools
+ updateWorkingMemory: {
+ name: "Update Memory",
+ icon: LuBrain,
+ description: "Updating working memory",
+ },
+
+ // Handoff tools
+ handoff_to_agent: {
+ name: "Routing",
+ icon: LuArrowRight,
+ description: "Routing to specialist",
+ },
+};
+
+/**
+ * Get tool configuration by tool name
+ */
+export function getToolConfig(toolName: string): ToolConfig | null {
+ return TOOL_CONFIGS[toolName] || null;
+}
+
+/**
+ * Get tool icon component by tool name
+ */
+export function getToolIcon(toolName: string): IconComponent | null {
+ const config = getToolConfig(toolName);
+ return config?.icon || null;
+}
+
+/**
+ * Get tool display name by tool name
+ */
+export function getToolDisplayName(toolName: string): string | null {
+ const config = getToolConfig(toolName);
+ return config?.name || null;
+}
diff --git a/apps/erp/app/components/Chat/lib/types.ts b/apps/erp/app/components/Chat/lib/types.ts
new file mode 100644
index 0000000000..8bb983155e
--- /dev/null
+++ b/apps/erp/app/components/Chat/lib/types.ts
@@ -0,0 +1,55 @@
+import type {
+ AgentDataParts,
+ AgentUIMessage as BaseAgentUIMessage,
+} from "@ai-sdk-tools/agents";
+import type { UIMessage } from "ai";
+
+export type UITools = Record<string, any>;
+
+export type ChatMessageMetadata = {
+ webSearch?: boolean;
+ toolCall?: {
+ toolName: string;
+ toolParams: Record<string, any>;
+ };
+};
+
+export type MessageDataParts = Record<string, any> & {
+ toolChoice?: string;
+ agentChoice?: string;
+};
+
+// Define the UI chat message type with proper metadata and tool typing
+export type UIChatMessage = UIMessage<
+ ChatMessageMetadata,
+ MessageDataParts,
+ UITools
+>;
+
+
+
+/**
+ * Extended agent status type with application-specific agent names
+ */
+export type AgentStatus = {
+ status: "routing" | "executing" | "completing";
+ agent:
+ | "triage"
+ | "orchestrator"
+ | "purchasing"
+ | "parts"
+ | "suppliers"
+ | "general";
+};
+/**
+ * Extended data parts interface with application-specific data
+ *
+ * This demonstrates how to extend the base AgentDataParts with
+ * custom data parts for your application.
+ */
+export interface AppDataParts extends AgentDataParts {
+ // Override the agent-status with our extended type
+ "agent-status": AgentStatus;
+}
+
+export type AgentUIMessage = BaseAgentUIMessage<never, AppDataParts>;
diff --git a/apps/erp/app/components/Chat/messages/MessageActions.tsx b/apps/erp/app/components/Chat/messages/MessageActions.tsx
new file mode 100644
index 0000000000..88629ed46e
--- /dev/null
+++ b/apps/erp/app/components/Chat/messages/MessageActions.tsx
@@ -0,0 +1,221 @@
+import { useChatActions, useChatId } from "@ai-sdk-tools/store";
+import {
+ cn,
+ Tooltip,
+ TooltipContent,
+ TooltipProvider,
+ TooltipTrigger,
+} from "@carbon/react";
+import { useFetcher } from "@remix-run/react";
+import { motion } from "framer-motion";
+import { useState } from "react";
+import { LuCheck, LuCopy, LuRefreshCcw, LuThumbsDown, LuThumbsUp } from "react-icons/lu";
+
+
+interface MessageActionsProps {
+ messageId: string;
+ messageContent: string;
+}
+
+export function MessageActions({
+ messageId,
+ messageContent,
+}: MessageActionsProps) {
+ const chatId = useChatId();
+ const { regenerate } = useChatActions();
+ const [feedbackGiven, setFeedbackGiven] = useState<
+ "positive" | "negative" | null
+ >(null);
+ const [copied, setCopied] = useState(false);
+
+ const feedbackFetcher = useFetcher<{}>();
+
+
+ const handleRegenerate = () => {
+ regenerate?.();
+ };
+
+ const handlePositive = () => {
+ if (feedbackGiven === "positive") {
+ // Already gave positive feedback, remove feedback
+ setFeedbackGiven(null);
+ return;
+ }
+
+ setFeedbackGiven("positive");
+
+ if (!chatId) return;
+
+ alert("Positive feedback");
+ };
+
+ const handleNegative = () => {
+ if (feedbackGiven === "negative") {
+ // Already gave negative feedback, remove feedback
+ setFeedbackGiven(null);
+ return;
+ }
+
+ setFeedbackGiven("negative");
+
+ if (!chatId) return;
+
+ alert("Negative feedback");
+ };
+
+ const copyToClipboard = async () => {
+ try {
+ await navigator.clipboard.writeText(messageContent);
+ setCopied(true);
+ // Reset the copied state after 2 seconds
+ setTimeout(() => setCopied(false), 2000);
+ } catch (err) {
+ console.error("Failed to copy to clipboard:", err);
+ }
+ };
+
+ return (
+ <motion.div
+ className="flex items-center gap-1 mt-3"
+ initial={{ opacity: 0, y: 10 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{
+ duration: 0.3,
+ ease: "easeOut",
+ staggerChildren: 0.05,
+ }}
+ >
+ {/* Copy Button */}
+ <motion.div
+ initial={{ opacity: 0, scale: 0.8 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ duration: 0.2 }}
+ >
+ <TooltipProvider delayDuration={200}>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <button
+ type="button"
+ onClick={copyToClipboard}
+ className="flex items-center justify-center w-6 h-6 transition-colors duration-200 hover:bg-muted"
+ >
+ {copied ? (
+ <LuCheck className="size-3.5 animate-in zoom-in-50 duration-200" />
+ ) : (
+ <LuCopy className="size-3 text-muted-foreground hover:text-foreground" />
+ )}
+ </button>
+ </TooltipTrigger>
+ <TooltipContent className="px-2 py-1 text-xs">
+ <p>{copied ? "Copied!" : "Copy response"}</p>
+ </TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
+ </motion.div>
+
+ {/* Retry Button */}
+ <motion.div
+ initial={{ opacity: 0, scale: 0.8 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ duration: 0.2 }}
+ >
+ <TooltipProvider delayDuration={200}>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <button
+ type="button"
+ onClick={handleRegenerate}
+ className="flex items-center justify-center w-6 h-6 transition-colors duration-200 hover:bg-muted"
+ >
+ <LuRefreshCcw className="size-3.5 text-muted-foreground hover:text-foreground" />
+ </button>
+ </TooltipTrigger>
+ <TooltipContent className="px-2 py-1 text-xs">
+ <p>Retry response</p>
+ </TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
+ </motion.div>
+
+ {/* Positive Feedback Button */}
+ <motion.div
+ initial={{ opacity: 0, scale: 0.8 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ duration: 0.2 }}
+ >
+ <TooltipProvider delayDuration={200}>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <button
+ type="button"
+ onClick={handlePositive}
+ disabled={feedbackFetcher.state !== "idle"}
+ className={cn(
+ "flex items-center justify-center w-6 h-6 transition-colors duration-200 hover:bg-muted",
+ feedbackFetcher.state !== "idle" &&
+ "opacity-50 cursor-not-allowed",
+ )}
+ >
+ <LuThumbsUp
+ className={cn(
+ "w-3 h-3",
+ feedbackGiven === "positive"
+ ? "text-emerald-600"
+ : "text-muted-foreground hover:text-foreground",
+ )}
+ />
+ </button>
+ </TooltipTrigger>
+ <TooltipContent className="px-2 py-1 text-xs">
+ <p>
+ {feedbackGiven === "positive"
+ ? "Remove positive feedback"
+ : "Positive feedback"}
+ </p>
+ </TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
+ </motion.div>
+
+ {/* Negative Feedback Button */}
+ <motion.div
+ initial={{ opacity: 0, scale: 0.8 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ duration: 0.2 }}
+ >
+ <TooltipProvider delayDuration={200}>
+ <Tooltip>
+ <TooltipTrigger asChild>
+ <button
+ type="button"
+ onClick={handleNegative}
+ disabled={feedbackFetcher.state !== "idle"}
+ className={cn(
+ "flex items-center justify-center w-6 h-6 transition-colors duration-200 hover:bg-muted",
+ feedbackFetcher.state !== "idle" &&
+ "opacity-50 cursor-not-allowed",
+ )}
+ >
+ <LuThumbsDown
+ className={cn(
+ "w-3 h-3",
+ feedbackGiven === "negative"
+ ? "text-red-600"
+ : "text-muted-foreground hover:text-foreground",
+ )}
+ />
+ </button>
+ </TooltipTrigger>
+ <TooltipContent className="px-2 py-1 text-xs">
+ <p>
+ {feedbackGiven === "negative"
+ ? "Remove negative feedback"
+ : "Negative feedback"}
+ </p>
+ </TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
+ </motion.div>
+ </motion.div>
+ );
+}
diff --git a/apps/erp/app/components/Chat/messages/Messages.tsx b/apps/erp/app/components/Chat/messages/Messages.tsx
new file mode 100644
index 0000000000..2f04f70697
--- /dev/null
+++ b/apps/erp/app/components/Chat/messages/Messages.tsx
@@ -0,0 +1,122 @@
+import { useChatMessages, useChatStatus } from "@ai-sdk-tools/store";
+import { TextShimmer } from "@carbon/react";
+import { Fragment } from "react";
+import { Message, MessageAvatar, MessageContent } from "~/components/Message";
+import { useUser } from "~/hooks";
+import {
+ Conversation,
+ ConversationContent,
+ ConversationScrollButton,
+} from "../Conversation";
+import { Response } from "../Response";
+import {
+ type SupportedToolName,
+ ToolCallIndicator,
+} from "../ToolCallIndicator";
+import { WebSearchSources } from "../WebSearch";
+import { MessageActions } from "./MessageActions";
+
+
+export const ThinkingMessage = () => {
+ return (
+ <TextShimmer className="text-sm" duration={1}>
+ Thinking...
+ </TextShimmer>
+ );
+};
+
+type ActiveToolCallProps = {
+ toolName: string;
+};
+
+export const ActiveToolCall = ({ toolName }: ActiveToolCallProps) => {
+ // Type assertion to ensure compatibility with our supported tool names
+ const supportedToolName = toolName as SupportedToolName;
+
+ return <ToolCallIndicator toolName={supportedToolName} />;
+};
+
+export function Messages() {
+ const messages = useChatMessages();
+ const status = useChatStatus();
+ const user = useUser();
+
+ return (
+ <div className="w-full mx-auto relative size-full h-[calc(100vh-86px)] pb-28">
+ <div className="flex flex-col h-full w-full">
+ <Conversation className="h-full w-full">
+ <ConversationContent className="px-6 mx-auto mb-40 max-w-[770px]">
+ {messages.map((message) => (
+ <div key={message.id}>
+ {message.parts.map((part, i) => {
+ switch (part.type) {
+ case "data-canvas":
+ return null; // Canvas content is rendered in sidebar
+
+ case "text":
+ return (
+ <Fragment key={`${message.id}-${i}`}>
+ <Message from={message.role}>
+ <MessageContent>
+ <Response>{part.text}</Response>
+ </MessageContent>
+
+ {message.role === "user" && user && (
+ <MessageAvatar
+ src={user.avatarUrl!}
+ name={`${user.firstName!} ${user.lastName!}`}
+ />
+ )}
+ </Message>
+
+ {message.role === "assistant" &&
+ message.parts.filter(
+ (part) => part.type === "source-url",
+ ).length > 0 && (
+ <WebSearchSources
+ sources={message.parts.filter(
+ (part) => part.type === "source-url",
+ )}
+ />
+ )}
+
+ {message.role === "assistant" &&
+ status !== "streaming" && (
+ <MessageActions
+ messageContent={part.text}
+ messageId={message.id}
+ />
+ )}
+ </Fragment>
+ );
+
+ default: {
+ if (part.type.startsWith("tool-")) {
+ return (
+ <Fragment key={`${message.id}-${i}`}>
+ <Message from={message.role}>
+ <MessageContent>
+ <Response>
+ {(part as any)?.output?.text}
+ </Response>
+ </MessageContent>
+ </Message>
+ </Fragment>
+ );
+ }
+
+ return null;
+ }
+ }
+ })}
+ </div>
+ ))}
+
+ {status === "submitted" && <ThinkingMessage />}
+ </ConversationContent>
+ <ConversationScrollButton />
+ </Conversation>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/erp/app/components/Message.tsx b/apps/erp/app/components/Message.tsx
new file mode 100644
index 0000000000..927dc98df9
--- /dev/null
+++ b/apps/erp/app/components/Message.tsx
@@ -0,0 +1,50 @@
+import { Avatar, cn } from "@carbon/react";
+import type { UIMessage } from "ai";
+import type { ComponentProps, HTMLAttributes } from "react";
+
+
+export type MessageProps = HTMLAttributes<HTMLDivElement> & {
+ from: UIMessage["role"];
+};
+
+
+
+export const Message = ({ className, from, ...props }: MessageProps) => (
+ <div
+ className={cn(
+ "group flex w-full items-end justify-end gap-2 py-4",
+ from === "user" ? "is-user" : "is-assistant flex-row-reverse justify-end",
+ "[&>div]:max-w-[80%]",
+ className,
+ )}
+ {...props}
+ />
+);
+
+export type MessageContentProps = HTMLAttributes<HTMLDivElement>;
+
+export const MessageContent = ({
+ children,
+ className,
+ ...props
+}: MessageContentProps) => (
+ <div
+ className={cn(
+ "flex flex-col gap-2 overflow-hidden rounded-lg px-4 py-3 text-foreground text-sm bg-card",
+ "group-[.is-user]:!bg-muted group-[.is-user]:!text-primary group-[.is-user]:!px-4 group-[.is-user]:!py-2 group-[.is-user]:max-w-fit group-[.is-user]:rounded-2xl group-[.is-user]:rounded-br-none",
+ "group-[.is-assistant]:!bg-transparent group-[.is-assistant]:!shadow-none group-[.is-assistant]:!border-none group-[.is-assistant]:!px-0 group-[.is-assistant]:!py-0 group-[.is-assistant]:!rounded-none group-[.is-assistant]:!text-muted-foreground",
+ className,
+ )}
+ {...props}
+ >
+ {children}
+ </div>
+);
+
+export type MessageAvatarProps = ComponentProps<typeof Avatar>;
+
+export const MessageAvatar = ({
+ ...props
+}: MessageAvatarProps) => (
+ <Avatar {...props} />
+);
diff --git a/apps/erp/app/hooks/useOnClickOutside.tsx b/apps/erp/app/hooks/useOnClickOutside.tsx
new file mode 100644
index 0000000000..94ae52356b
--- /dev/null
+++ b/apps/erp/app/hooks/useOnClickOutside.tsx
@@ -0,0 +1,178 @@
+import type { RefObject } from 'react'
+
+import { useEffect, useLayoutEffect, useRef } from 'react'
+
+
+// MediaQueryList Event based useEventListener interface
+function useEventListener<K extends keyof MediaQueryListEventMap>(
+ eventName: K,
+ handler: (event: MediaQueryListEventMap[K]) => void,
+ element: RefObject<MediaQueryList>,
+ options?: boolean | AddEventListenerOptions,
+): void
+
+// Window Event based useEventListener interface
+function useEventListener<K extends keyof WindowEventMap>(
+ eventName: K,
+ handler: (event: WindowEventMap[K]) => void,
+ element?: undefined,
+ options?: boolean | AddEventListenerOptions,
+): void
+
+// Element Event based useEventListener interface
+function useEventListener<
+ K extends keyof HTMLElementEventMap & keyof SVGElementEventMap,
+ T extends Element = K extends keyof HTMLElementEventMap
+ ? HTMLDivElement
+ : SVGElement,
+>(
+ eventName: K,
+ handler:
+ | ((event: HTMLElementEventMap[K]) => void)
+ | ((event: SVGElementEventMap[K]) => void),
+ element: RefObject<T>,
+ options?: boolean | AddEventListenerOptions,
+): void
+
+// Document Event based useEventListener interface
+function useEventListener<K extends keyof DocumentEventMap>(
+ eventName: K,
+ handler: (event: DocumentEventMap[K]) => void,
+ element: RefObject<Document>,
+ options?: boolean | AddEventListenerOptions,
+): void
+
+/**
+ * Custom hook that attaches event listeners to DOM elements, the window, or media query lists.
+ * @template KW - The type of event for window events.
+ * @template KH - The type of event for HTML or SVG element events.
+ * @template KM - The type of event for media query list events.
+ * @template T - The type of the DOM element (default is `HTMLElement`).
+ * @param {KW | KH | KM} eventName - The name of the event to listen for.
+ * @param {(event: WindowEventMap[KW] | HTMLElementEventMap[KH] | SVGElementEventMap[KH] | MediaQueryListEventMap[KM] | Event) => void} handler - The event handler function.
+ * @param {RefObject<T>} [element] - The DOM element or media query list to attach the event listener to (optional).
+ * @param {boolean | AddEventListenerOptions} [options] - An options object that specifies characteristics about the event listener (optional).
+ * @public
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-event-listener)
+ * @example
+ * ```tsx
+ * // Example 1: Attach a window event listener
+ * useEventListener('resize', handleResize);
+ * ```
+ * @example
+ * ```tsx
+ * // Example 2: Attach a document event listener with options
+ * const elementRef = useRef(document);
+ * useEventListener('click', handleClick, elementRef, { capture: true });
+ * ```
+ * @example
+ * ```tsx
+ * // Example 3: Attach an element event listener
+ * const buttonRef = useRef<HTMLButtonElement>(null);
+ * useEventListener('click', handleButtonClick, buttonRef);
+ * ```
+ */
+function useEventListener<
+ KW extends keyof WindowEventMap,
+ KH extends keyof HTMLElementEventMap & keyof SVGElementEventMap,
+ KM extends keyof MediaQueryListEventMap,
+ T extends HTMLElement | SVGAElement | MediaQueryList = HTMLElement,
+>(
+ eventName: KW | KH | KM,
+ handler: (
+ event:
+ | WindowEventMap[KW]
+ | HTMLElementEventMap[KH]
+ | SVGElementEventMap[KH]
+ | MediaQueryListEventMap[KM]
+ | Event,
+ ) => void,
+ element?: RefObject<T>,
+ options?: boolean | AddEventListenerOptions,
+) {
+ // Create a ref that stores handler
+ const savedHandler = useRef(handler)
+
+ useLayoutEffect(() => {
+ savedHandler.current = handler
+ }, [handler])
+
+ useEffect(() => {
+ // Define the listening target
+ const targetElement: T | Window = element?.current ?? window
+
+ if (!(targetElement && targetElement.addEventListener)) return
+
+ // Create event listener that calls handler function stored in ref
+ const listener: typeof handler = event => {
+ savedHandler.current(event)
+ }
+
+ targetElement.addEventListener(eventName, listener, options)
+
+ // Remove event listener on cleanup
+ return () => {
+ targetElement.removeEventListener(eventName, listener, options)
+ }
+ }, [eventName, element, options])
+}
+
+
+
+/** Supported event types. */
+type EventType =
+ | 'mousedown'
+ | 'mouseup'
+ | 'touchstart'
+ | 'touchend'
+ | 'focusin'
+ | 'focusout'
+
+/**
+ * Custom hook that handles clicks outside a specified element.
+ * @template T - The type of the element's reference.
+ * @param {RefObject<T> | RefObject<T>[]} ref - The React ref object(s) representing the element(s) to watch for outside clicks.
+ * @param {(event: MouseEvent | TouchEvent | FocusEvent) => void} handler - The callback function to be executed when a click outside the element occurs.
+ * @param {EventType} [eventType] - The mouse event type to listen for (optional, default is 'mousedown').
+ * @param {?AddEventListenerOptions} [eventListenerOptions] - The options object to be passed to the `addEventListener` method (optional).
+ * @returns {void}
+ * @public
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-on-click-outside)
+ * @example
+ * ```tsx
+ * const containerRef = useRef(null);
+ * useOnClickOutside([containerRef], () => {
+ * // Handle clicks outside the container.
+ * });
+ * ```
+ */
+export function useOnClickOutside<T extends HTMLElement = HTMLElement>(
+ ref: RefObject<T> | RefObject<T>[],
+ handler: (event: MouseEvent | TouchEvent | FocusEvent) => void,
+ eventType: EventType = 'mousedown',
+ eventListenerOptions: AddEventListenerOptions = {},
+): void {
+ useEventListener(
+ eventType,
+ event => {
+ const target = event.target as Node
+
+ // Do nothing if the target is not connected element with document
+ if (!target || !target.isConnected) {
+ return
+ }
+
+ const isOutside = Array.isArray(ref)
+ ? ref
+ .filter(r => Boolean(r.current))
+ .every(r => r.current && !r.current.contains(target))
+ : ref.current && !ref.current.contains(target)
+
+ if (isOutside) {
+ handler(event)
+ }
+ },
+ undefined,
+ eventListenerOptions,
+ )
+}
\ No newline at end of file
diff --git a/apps/erp/app/hooks/useResizeObserver.tsx b/apps/erp/app/hooks/useResizeObserver.tsx
new file mode 100644
index 0000000000..28d34c9092
--- /dev/null
+++ b/apps/erp/app/hooks/useResizeObserver.tsx
@@ -0,0 +1,24 @@
+import { type RefObject, useEffect, useState } from "react";
+
+export function useResizeObserver(
+ elementRef: RefObject<Element>,
+): ResizeObserverEntry | undefined {
+ const [entry, setEntry] = useState<ResizeObserverEntry>();
+
+ const updateEntry = ([entry]: ResizeObserverEntry[]): void => {
+ setEntry(entry);
+ };
+
+ useEffect(() => {
+ const node = elementRef?.current;
+ if (!node) return;
+
+ const observer = new ResizeObserver(updateEntry);
+
+ observer.observe(node);
+
+ return () => observer.disconnect();
+ }, [elementRef]);
+
+ return entry;
+}
diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsx
index 8aa1a09e25..36ae559d09 100644
--- a/apps/erp/app/root.tsx
+++ b/apps/erp/app/root.tsx
@@ -210,7 +210,7 @@ export default function App() {
<script
dangerouslySetInnerHTML={{
- __html: `window.env = ${JSON.stringify(env)}`,
+ __html: `window.env = ${JSON.stringify(env)};`,
}}
/>
</Document>
diff --git a/apps/erp/app/routes/x+/_index.tsx b/apps/erp/app/routes/x+/_index.tsx
index d1a2e75169..ab40452874 100644
--- a/apps/erp/app/routes/x+/_index.tsx
+++ b/apps/erp/app/routes/x+/_index.tsx
@@ -1,13 +1,18 @@
+import { Provider as ChatProvider } from "@ai-sdk-tools/store";
import { Heading, cn } from "@carbon/react";
-import { getLocalTimeZone } from "@internationalized/date";
+import { getLocalTimeZone, now } from "@internationalized/date";
import { useLocale } from "@react-aria/i18n";
import { Link } from "@remix-run/react";
import { useMemo, type ComponentProps } from "react";
+import { ChatInterface } from "~/components/Chat";
+import { useChatInterface } from "~/components/Chat/hooks/useChatInterface";
import { useModules, useUser } from "~/hooks";
import type { Authenticated, NavItem } from "~/types";
export default function AppIndexRoute() {
+ const { chatId: currentChatId } = useChatInterface();
const user = useUser();
+ const isCloud = true;
// const permissions = usePermissions();
const modules = useModules();
const { locale } = useLocale();
@@ -22,9 +27,27 @@ export default function AppIndexRoute() {
[locale]
);
- return (
+ const greeting = useMemo(() => {
+ const time = now(getLocalTimeZone());
+
+ if (time.hour >= 3 && time.hour < 11) {
+ return "Good Morning";
+ } else if (time.hour >= 11 && time.hour < 16) {
+ return "Good Afternoon";
+ } else {
+ return "Good Evening";
+ }
+ }, []);
+
+ return isCloud ? (
+ <ChatProvider initialMessages={[]} key={currentChatId || "home"}>
+ <ChatInterface />
+ </ChatProvider>
+ ) : (
<div className="p-8 w-full h-full bg-muted">
- <Heading size="h3">Hello, {user.firstName}</Heading>
+ <Heading size="h3">
+ {greeting}, {user.firstName}
+ </Heading>
<Subheading>{formatter.format(date)}</Subheading>
<Hr />
<div className="grid grid-cols-[repeat(auto-fill,minmax(min(100%,300px),1fr))] gap-6 mb-8">
diff --git a/apps/erp/package.json b/apps/erp/package.json
index 85712349f6..5e4c2ff3fe 100644
--- a/apps/erp/package.json
+++ b/apps/erp/package.json
@@ -2,10 +2,11 @@
"name": "erp",
"type": "module",
"dependencies": {
- "@ai-sdk-tools/artifacts": "^1.0.0",
- "@ai-sdk-tools/cache": "^1.0.0",
- "@ai-sdk-tools/memory": "^1.0.0",
- "@ai-sdk-tools/agents": "^1.0.0",
+ "@ai-sdk-tools/artifacts": "1.0.8",
+ "@ai-sdk-tools/cache": "1.0.8",
+ "@ai-sdk-tools/memory": "1.0.8",
+ "@ai-sdk-tools/agents": "1.0.8",
+ "@ai-sdk-tools/store": "1.0.8",
"@ai-sdk/openai": "^2.0.60",
"@ai-sdk/react": "^2.0.86",
"@carbon/auth": "*",
@@ -24,7 +25,6 @@
"@epic-web/remember": "^1.1.0",
"@internationalized/date": "^3.5.2",
"@marsidev/react-turnstile": "^1.1.0",
- "@modelcontextprotocol/sdk": "1.7.0",
"@monaco-editor/react": "^4.6.0",
"@nanostores/react": "^0.7.1",
"@novu/framework": "^2.3.0",
@@ -78,6 +78,7 @@
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
"react-intersection-observer": "^9.13.1",
+ "react-markdown": "^8.0.7",
"react-pdf": "^7.7.1",
"react-use-measure": "^2.1.1",
"recharts": "^2.15.0",
@@ -85,8 +86,10 @@
"spin-delay": "2.0.1",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
+ "use-stick-to-bottom": "^1.1.1",
"zod": "^3.25.76",
- "zod-form-data": "2.0.8"
+ "zod-form-data": "2.0.8",
+ "zustand": "^5.0.8"
},
"devDependencies": {
"@carbon/tailwind": "*",
diff --git a/apps/erp/vite.config.ts b/apps/erp/vite.config.ts
index 490fd9ad5f..50fcef3e12 100644
--- a/apps/erp/vite.config.ts
+++ b/apps/erp/vite.config.ts
@@ -24,6 +24,7 @@ export default defineConfig({
},
ssr: {
noExternal: [
+ "katex",
"react-tweet",
"react-dropzone",
"react-icons",
diff --git a/package-lock.json b/package-lock.json
index 5d7977da77..f5d9daed4b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4,6 +4,7 @@
"requires": true,
"packages": {
"": {
+ "hasInstallScript": true,
"workspaces": [
"apps/*",
"ci",
@@ -21,6 +22,7 @@
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"npm-run-all": "^4.1.5",
+ "patch-package": "^8.0.1",
"postcss-nesting": "12.1.5",
"prettier": "^2.8.0",
"rimraf": "^5.0.5",
@@ -87,21 +89,13 @@
"wait-on": "7.2.0"
}
},
- "apps/academy/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"apps/erp": {
"dependencies": {
- "@ai-sdk-tools/agents": "^1.0.0",
- "@ai-sdk-tools/artifacts": "^1.0.0",
- "@ai-sdk-tools/cache": "^1.0.0",
- "@ai-sdk-tools/memory": "^1.0.0",
+ "@ai-sdk-tools/agents": "1.0.8",
+ "@ai-sdk-tools/artifacts": "1.0.8",
+ "@ai-sdk-tools/cache": "1.0.8",
+ "@ai-sdk-tools/memory": "1.0.8",
+ "@ai-sdk-tools/store": "1.0.8",
"@ai-sdk/openai": "^2.0.60",
"@ai-sdk/react": "^2.0.86",
"@carbon/auth": "*",
@@ -120,7 +114,6 @@
"@epic-web/remember": "^1.1.0",
"@internationalized/date": "^3.5.2",
"@marsidev/react-turnstile": "^1.1.0",
- "@modelcontextprotocol/sdk": "1.7.0",
"@monaco-editor/react": "^4.6.0",
"@nanostores/react": "^0.7.1",
"@novu/framework": "^2.3.0",
@@ -147,7 +140,7 @@
"@vercel/analytics": "^1.2.2",
"@vercel/remix": "2.11.2",
"@visx/responsive": "^2.1.0",
- "ai": "5.0.86",
+ "ai": "5.0.87",
"assert-never": "^1.2.1",
"clsx": "^2.1.0",
"cookie": "^0.6.0",
@@ -174,6 +167,7 @@
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
"react-intersection-observer": "^9.13.1",
+ "react-markdown": "^8.0.7",
"react-pdf": "^7.7.1",
"react-use-measure": "^2.1.1",
"recharts": "^2.15.0",
@@ -181,8 +175,10 @@
"spin-delay": "2.0.1",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
+ "use-stick-to-bottom": "^1.1.1",
"zod": "^3.25.76",
- "zod-form-data": "2.0.8"
+ "zod-form-data": "2.0.8",
+ "zustand": "^5.0.8"
},
"devDependencies": {
"@carbon/tailwind": "*",
@@ -207,15 +203,6 @@
"vite-tsconfig-paths": "^4.3.2"
}
},
- "apps/erp/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"apps/mes": {
"dependencies": {
"@carbon/auth": "*",
@@ -280,15 +267,6 @@
"wait-on": "7.2.0"
}
},
- "apps/mes/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"apps/starter": {
"dependencies": {
"@carbon/auth": "*",
@@ -345,15 +323,6 @@
"wait-on": "7.2.0"
}
},
- "apps/starter/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"ci": {
"version": "0.0.1",
"dependencies": {
@@ -361,13 +330,6 @@
"execa": "8.0.1"
}
},
- "ci/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"ci/node_modules/@supabase/postgrest-js": {
"version": "1.9.2",
"license": "MIT",
@@ -452,10 +414,18 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "ci/node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"ci/node_modules/npm-run-path": {
"version": "5.3.0",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
- "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
"license": "MIT",
"dependencies": {
"path-key": "^4.0.0"
@@ -469,8 +439,6 @@
},
"ci/node_modules/onetime": {
"version": "6.0.0",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
- "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
"license": "MIT",
"dependencies": {
"mimic-fn": "^4.0.0"
@@ -484,8 +452,6 @@
},
"ci/node_modules/path-key": {
"version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
- "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
"license": "MIT",
"engines": {
"node": ">=12"
@@ -506,8 +472,6 @@
},
"ci/node_modules/strip-final-newline": {
"version": "3.0.0",
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
- "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
"license": "MIT",
"engines": {
"node": ">=12"
@@ -568,15 +532,6 @@
"vite-tsconfig-paths": "^4.3.2"
}
},
- "examples/quote-configurator/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"examples/upload-3d-model": {
"dependencies": {
"@carbon/react": "*",
@@ -607,19 +562,10 @@
"vite-tsconfig-paths": "^4.3.2"
}
},
- "examples/upload-3d-model/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"node_modules/@ai-sdk-tools/agents": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@ai-sdk-tools/agents/-/agents-1.0.1.tgz",
- "integrity": "sha512-lBlOlOvTXtG3xqZSuA3xlaatBeLF86F0swOB/wMEI0pRzbSZ+AkcPk1pLTR5yWgS2+9p4Ix0/pHhAQfA47zaOw==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@ai-sdk-tools/agents/-/agents-1.0.8.tgz",
+ "integrity": "sha512-001FU1XnU4DcJrJZp4nbyzJYGwPFSO/wwW2rVjIThFIc2IKQX23vtmH2vpKQv39BObB9TVxYcP8SGC1TAc+iiA==",
"license": "MIT",
"peerDependencies": {
"ai": ">=5.0.0",
@@ -635,9 +581,9 @@
}
},
"node_modules/@ai-sdk-tools/artifacts": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@ai-sdk-tools/artifacts/-/artifacts-1.0.1.tgz",
- "integrity": "sha512-uzxCdAnn51javizLt/FbefJZx7b0GDhT5/d6pFjm7v1Y6GFegf2WT1Tp+u45MXONwOum/pdoB3avLdu2OzOG1w==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@ai-sdk-tools/artifacts/-/artifacts-1.0.8.tgz",
+ "integrity": "sha512-TXMvzzb2ZUxfTHQrt59nONMkY/bhZ66gw2uk4jrkUcfSpdKOvU89BZ1WqNFhom1R69hCpRXTlXrWMBvOq/YbOA==",
"license": "MIT",
"dependencies": {
"zod": "^4.1.12"
@@ -657,9 +603,9 @@
}
},
"node_modules/@ai-sdk-tools/cache": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@ai-sdk-tools/cache/-/cache-1.0.1.tgz",
- "integrity": "sha512-AaHLJDG+j7wTkogyCcAguxpWWmDk+SJBitG4madijRS8Et3w3yFar/Q9YEk5a9vL3Wga7+9MfR6fsI8jXn2IwQ==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@ai-sdk-tools/cache/-/cache-1.0.8.tgz",
+ "integrity": "sha512-EqzdgCH+uOoMJFpdxiXIA5eMAKUCnKyFvnzgUGgpOhwBVixUzVCeIP9kP1YU+rcqTCRyqaEAUUWWgHwAZvTtLA==",
"license": "MIT",
"peerDependencies": {
"ai": "^5.0.82"
@@ -671,22 +617,34 @@
}
},
"node_modules/@ai-sdk-tools/memory": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@ai-sdk-tools/memory/-/memory-1.0.1.tgz",
- "integrity": "sha512-ljCgwg3iV7qWt1vu9qgfHCbFhRgPyEEAv3eqLJbVGXCl1G7hyZJ+aThNqq74Fsi+c5mfkKPHBDVLT5XmIjREAw==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@ai-sdk-tools/memory/-/memory-1.0.8.tgz",
+ "integrity": "sha512-+JXSEq+mDLcMVZJQ0jo7RdNCJqfDTyncCfblZMp3FfX341TLeS2JDb8xhVQHwOJkyfddbcQ+wKFzxG0wLSyzQA==",
"dependencies": {
"zod": "^4.1.12"
},
"peerDependencies": {
"@upstash/redis": "^1.34.3",
- "drizzle-orm": "^0.36.0"
+ "ai": "^5.0.0",
+ "drizzle-orm": "^0.36.0",
+ "ioredis": "^5.0.0",
+ "redis": "^4.0.0"
},
"peerDependenciesMeta": {
"@upstash/redis": {
"optional": true
},
+ "ai": {
+ "optional": true
+ },
"drizzle-orm": {
"optional": true
+ },
+ "ioredis": {
+ "optional": true
+ },
+ "redis": {
+ "optional": true
}
}
},
@@ -699,32 +657,29 @@
"url": "https://github.com/sponsors/colinhacks"
}
},
- "node_modules/@ai-sdk/gateway": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-2.0.5.tgz",
- "integrity": "sha512-5TTDSl0USWY6YGnb4QmJGplFZhk+p9OT7hZevAaER6OGiZ17LB1GypsGYDpNo/MiVMklk8kX4gk6p1/R/EiJ8Q==",
- "license": "Apache-2.0",
+ "node_modules/@ai-sdk-tools/store": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@ai-sdk-tools/store/-/store-1.0.8.tgz",
+ "integrity": "sha512-JwDP3HRw5tV8ETnSg0NsaqXhwwit8yv4PKqQ+RzryB0AdnwDs7egql5EGpqKq79ZO7KU2Bmg9ApCnr6kmqry+Q==",
+ "license": "MIT",
"dependencies": {
- "@ai-sdk/provider": "2.0.0",
- "@ai-sdk/provider-utils": "3.0.15",
- "@vercel/oidc": "3.0.3"
- },
- "engines": {
- "node": ">=18"
+ "ai": "^5.0.87"
},
"peerDependencies": {
- "zod": "^3.25.76 || ^4.1.8"
+ "@ai-sdk/react": ">=2.0.0",
+ "react": ">=18.0.0",
+ "zustand": ">=5.0.0"
}
},
- "node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider-utils": {
- "version": "3.0.15",
- "resolved": "https://registry.npmjs.org/@ai-sdk/provider-utils/-/provider-utils-3.0.15.tgz",
- "integrity": "sha512-kOc6Pxb7CsRlNt+sLZKL7/VGQUd7ccl3/tIK+Bqf5/QhHR0Qm3qRBMz1IwU1RmjJEZA73x+KB5cUckbDl2WF7Q==",
+ "node_modules/@ai-sdk/gateway": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-2.0.6.tgz",
+ "integrity": "sha512-FmhR6Tle09I/RUda8WSPpJ57mjPWzhiVVlB50D+k+Qf/PBW0CBtnbAUxlNSR5v+NIZNLTK3C56lhb23ntEdxhQ==",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/provider": "2.0.0",
- "@standard-schema/spec": "^1.0.0",
- "eventsource-parser": "^3.0.6"
+ "@ai-sdk/provider-utils": "3.0.16",
+ "@vercel/oidc": "3.0.3"
},
"engines": {
"node": ">=18"
@@ -802,41 +757,6 @@
}
}
},
- "node_modules/@ai-sdk/react/node_modules/@ai-sdk/gateway": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-2.0.6.tgz",
- "integrity": "sha512-FmhR6Tle09I/RUda8WSPpJ57mjPWzhiVVlB50D+k+Qf/PBW0CBtnbAUxlNSR5v+NIZNLTK3C56lhb23ntEdxhQ==",
- "license": "Apache-2.0",
- "dependencies": {
- "@ai-sdk/provider": "2.0.0",
- "@ai-sdk/provider-utils": "3.0.16",
- "@vercel/oidc": "3.0.3"
- },
- "engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "zod": "^3.25.76 || ^4.1.8"
- }
- },
- "node_modules/@ai-sdk/react/node_modules/ai": {
- "version": "5.0.87",
- "resolved": "https://registry.npmjs.org/ai/-/ai-5.0.87.tgz",
- "integrity": "sha512-9Cjx7o8IY9zAczigX0Tk/BaQwjPe/M6DpEjejKSBNrf8mOPIvyM+pJLqJSC10IsKci3FPsnaizJeJhoetU1Wfw==",
- "license": "Apache-2.0",
- "dependencies": {
- "@ai-sdk/gateway": "2.0.6",
- "@ai-sdk/provider": "2.0.0",
- "@ai-sdk/provider-utils": "3.0.16",
- "@opentelemetry/api": "1.9.0"
- },
- "engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "zod": "^3.25.76 || ^4.1.8"
- }
- },
"node_modules/@alloc/quick-lru": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
@@ -1183,7 +1103,6 @@
"version": "7.8.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
"integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1196,7 +1115,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
"integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1209,7 +1127,6 @@
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
"integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
@@ -1222,7 +1139,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
"integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
@@ -1253,7 +1169,6 @@
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz",
"integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1"
@@ -1269,7 +1184,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
"integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
@@ -1282,7 +1196,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
"integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1310,7 +1223,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
"integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
@@ -1323,7 +1235,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
"integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1336,7 +1247,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
"integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
@@ -1349,7 +1259,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
"integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1362,7 +1271,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
"integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1375,7 +1283,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
"integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1388,7 +1295,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
"integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
@@ -1404,7 +1310,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
"integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
@@ -1628,7 +1533,6 @@
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
- "dev": true,
"license": "MIT"
},
"node_modules/@bugsnag/cuid": {
@@ -1724,7 +1628,6 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz",
"integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"exec-sh": "^0.3.2",
@@ -1751,7 +1654,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-1.1.0.tgz",
"integrity": "sha512-uWvSaeRcHyeNenKg8tp17EVDRkpflmdyvbE0DHo6D/GdBb6PDnCYYU6gRpXhtICMGMcahQmj2zGxwFM/WC8hCg==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -1774,7 +1676,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz",
"integrity": "sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -2393,7 +2294,6 @@
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
"integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ajv": "^6.12.4",
@@ -2417,7 +2317,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.1",
@@ -2434,7 +2333,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -2445,14 +2343,12 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true,
"license": "MIT"
},
"node_modules/@eslint/eslintrc/node_modules/minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -2465,7 +2361,6 @@
"version": "8.57.1",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",
"integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2637,7 +2532,6 @@
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
"integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
"deprecated": "Use @eslint/config-array instead",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"@humanwhocodes/object-schema": "^2.0.3",
@@ -2652,7 +2546,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -2663,7 +2556,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -2676,7 +2568,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
"integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=12.22"
@@ -2700,7 +2591,6 @@
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
"integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
"deprecated": "Use @eslint/object-schema instead",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/@inquirer/external-editor": {
@@ -2847,7 +2737,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
"integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"camelcase": "^5.3.1",
@@ -2864,7 +2753,6 @@
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"sprintf-js": "~1.0.2"
@@ -2874,7 +2762,6 @@
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -2884,7 +2771,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
@@ -2898,7 +2784,6 @@
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"argparse": "^1.0.7",
@@ -2912,7 +2797,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
@@ -2925,7 +2809,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
@@ -2941,7 +2824,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
@@ -2954,7 +2836,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
"integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -2964,7 +2845,6 @@
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
"integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -2974,7 +2854,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz",
"integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -2992,7 +2871,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz",
"integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -3032,7 +2910,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -3044,7 +2921,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -3065,7 +2941,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -3079,7 +2954,6 @@
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"deprecated": "Rimraf versions prior to v4 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"glob": "^7.1.3"
@@ -3095,7 +2969,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz",
"integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/fake-timers": "^26.6.2",
@@ -3111,7 +2984,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz",
"integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -3129,7 +3001,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz",
"integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
@@ -3144,7 +3015,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz",
"integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@bcoe/v8-coverage": "^0.2.3",
@@ -3183,7 +3053,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -3195,7 +3064,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -3216,7 +3084,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -3229,7 +3096,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -3239,7 +3105,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz",
"integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-escapes": "^4.2.1",
@@ -3256,7 +3121,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz",
"integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"callsites": "^3.0.0",
@@ -3271,7 +3135,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -3281,7 +3144,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz",
"integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -3297,7 +3159,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz",
"integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/test-result": "^26.6.2",
@@ -3314,7 +3175,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz",
"integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.0",
@@ -3341,14 +3201,12 @@
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jest/transform/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -3734,9 +3592,9 @@
"license": "MIT"
},
"node_modules/@modelcontextprotocol/sdk": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.7.0.tgz",
- "integrity": "sha512-IYPe/FLpvF3IZrd/f5p5ffmWhMc3aEMuM2wGJASDqC2Ge7qatVCdbfPx3n/5xFeb19xN0j/911M2AaFuircsWA==",
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.6.1.tgz",
+ "integrity": "sha512-oxzMzYCkZHMntzuyerehK3fV6A2Kwh5BD6CGEJSVDU2QNEhfLOptf2X7esQgaHZXHZY0oHmMsOtIDLP71UJXgA==",
"license": "MIT",
"dependencies": {
"content-type": "^1.0.5",
@@ -3753,6 +3611,267 @@
"node": ">=18"
}
},
+ "node_modules/@modelcontextprotocol/sdk/node_modules/accepts": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "^3.0.0",
+ "negotiator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/body-parser": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz",
+ "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "^3.1.2",
+ "content-type": "^1.0.5",
+ "debug": "^4.4.0",
+ "http-errors": "^2.0.0",
+ "iconv-lite": "^0.6.3",
+ "on-finished": "^2.4.1",
+ "qs": "^6.14.0",
+ "raw-body": "^3.0.0",
+ "type-is": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/content-disposition": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",
+ "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/express": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
+ "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "^2.0.0",
+ "body-parser": "^2.2.0",
+ "content-disposition": "^1.0.0",
+ "content-type": "^1.0.5",
+ "cookie": "^0.7.1",
+ "cookie-signature": "^1.2.1",
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "finalhandler": "^2.1.0",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "merge-descriptors": "^2.0.0",
+ "mime-types": "^3.0.0",
+ "on-finished": "^2.4.1",
+ "once": "^1.4.0",
+ "parseurl": "^1.3.3",
+ "proxy-addr": "^2.0.7",
+ "qs": "^6.14.0",
+ "range-parser": "^1.2.1",
+ "router": "^2.2.0",
+ "send": "^1.1.0",
+ "serve-static": "^2.2.0",
+ "statuses": "^2.0.1",
+ "type-is": "^2.0.1",
+ "vary": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/finalhandler": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz",
+ "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "on-finished": "^2.4.1",
+ "parseurl": "^1.3.3",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/fresh": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
+ "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/media-typer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/merge-descriptors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/mime-types": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "^1.54.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/negotiator": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",
+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/qs": {
+ "version": "6.14.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
+ "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/raw-body": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.1.tgz",
+ "integrity": "sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "3.1.2",
+ "http-errors": "2.0.0",
+ "iconv-lite": "0.7.0",
+ "unpipe": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/raw-body/node_modules/iconv-lite": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
+ "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/send": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
+ "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.5",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "mime-types": "^3.0.1",
+ "ms": "^2.1.3",
+ "on-finished": "^2.4.1",
+ "range-parser": "^1.2.1",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/serve-static": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
+ "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "parseurl": "^1.3.3",
+ "send": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/type-is": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
+ "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "license": "MIT",
+ "dependencies": {
+ "content-type": "^1.0.5",
+ "media-typer": "^1.1.0",
+ "mime-types": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/@monaco-editor/loader": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.6.1.tgz",
@@ -4610,10 +4729,13 @@
}
},
"node_modules/@posthog/core": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.5.0.tgz",
- "integrity": "sha512-oxfV20QMNwH30jKybUyqi3yGuMghULQz1zkJgQG3rjpHDxhD2vDN6E7UpmaqgphMIvGG3Q+DgfU10zfSPA7w7w==",
- "license": "MIT"
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.5.1.tgz",
+ "integrity": "sha512-8fdEzfvdStr45iIncTD+gnqp45UBTUpRK/bwB4shP5usCKytnPIeilU8rIpNBOVjJPwfW+2N8yWhQ0l14x191Q==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.6"
+ }
},
"node_modules/@protobufjs/aspromise": {
"version": "1.1.2",
@@ -4791,13 +4913,13 @@
}
},
"node_modules/@radix-ui/react-avatar": {
- "version": "1.1.10",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.10.tgz",
- "integrity": "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==",
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.11.tgz",
+ "integrity": "sha512-0Qk603AHGV28BOBO34p7IgD5m+V5Sg/YovfayABkoDDBM5d3NCx0Mp4gGrjzLGes1jV5eNOE1r3itqOR33VC6Q==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-context": "1.1.2",
- "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-context": "1.1.3",
+ "@radix-ui/react-primitive": "2.1.4",
"@radix-ui/react-use-callback-ref": "1.1.1",
"@radix-ui/react-use-is-hydrated": "0.1.0",
"@radix-ui/react-use-layout-effect": "1.1.1"
@@ -4817,6 +4939,77 @@
}
}
},
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz",
+ "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",
+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.2.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",
+ "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-checkbox": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.3.tgz",
@@ -5469,12 +5662,12 @@
}
},
"node_modules/@radix-ui/react-label": {
- "version": "2.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.7.tgz",
- "integrity": "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==",
+ "version": "2.1.8",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.8.tgz",
+ "integrity": "sha512-FmXs37I6hSBVDlO4y764TNz1rLgKwjJMQ0EGte6F3Cb3f4bIuHB/iLa/8I9VKkmOy+gNHq8rql3j686ACVV21A==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-primitive": "2.1.3"
+ "@radix-ui/react-primitive": "2.1.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -5491,6 +5684,62 @@
}
}
},
+ "node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",
+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.2.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-slot": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",
+ "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-menu": {
"version": "2.1.16",
"resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.16.tgz",
@@ -5801,13 +6050,66 @@
}
},
"node_modules/@radix-ui/react-progress": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.7.tgz",
- "integrity": "sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg==",
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.8.tgz",
+ "integrity": "sha512-+gISHcSPUJ7ktBy9RnTqbdKW78bcGke3t6taawyZ71pio1JewwGSJizycs7rLhGTvMJYCQB1DBK4KQsxs7U8dA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-context": "1.1.2",
- "@radix-ui/react-primitive": "2.1.3"
+ "@radix-ui/react-context": "1.1.3",
+ "@radix-ui/react-primitive": "2.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.3.tgz",
+ "integrity": "sha512-ieIFACdMpYfMEjF0rEf5KLvfVyIkOz6PDGyNnP+u+4xQ6jny3VCgA4OgXOwNx2aUkxn8zx9fiVcM8CfFYv9Lxw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",
+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.2.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -5824,6 +6126,24 @@
}
}
},
+ "node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",
+ "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-radio-group": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.3.8.tgz",
@@ -6040,12 +6360,50 @@
}
},
"node_modules/@radix-ui/react-separator": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.7.tgz",
- "integrity": "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==",
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.8.tgz",
+ "integrity": "sha512-sDvqVY4itsKwwSMEe0jtKgfTh+72Sy3gPmQpjqcQneqQ4PFmr/1I0YA+2/puilhggCe2gJcx5EBAYFkWkdpa5g==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-primitive": "2.1.3"
+ "@radix-ui/react-primitive": "2.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.4.tgz",
+ "integrity": "sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.2.4"
},
"peerDependencies": {
"@types/react": "*",
@@ -6062,6 +6420,24 @@
}
}
},
+ "node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.4.tgz",
+ "integrity": "sha512-Jl+bCv8HxKnlTLVrcDE8zTMJ09R9/ukw4qBs/oZClOfoQk/cOTbDn+NceXfV7j09YPVQUryJPHurafcSg6EVKA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/@radix-ui/react-slider": {
"version": "1.3.6",
"resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.3.6.tgz",
@@ -8931,324 +9307,6 @@
}
}
},
- "node_modules/@remix-run/dev/node_modules/accepts": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
- "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
- "license": "MIT",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/body-parser": {
- "version": "1.20.3",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
- "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
- "license": "MIT",
- "dependencies": {
- "bytes": "3.1.2",
- "content-type": "~1.0.5",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "on-finished": "2.4.1",
- "qs": "6.13.0",
- "raw-body": "2.5.2",
- "type-is": "~1.6.18",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/@remix-run/dev/node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "5.2.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/cookie": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
- "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
- "license": "MIT"
- },
- "node_modules/@remix-run/dev/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "license": "MIT",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/@remix-run/dev/node_modules/debug/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "license": "MIT"
- },
- "node_modules/@remix-run/dev/node_modules/express": {
- "version": "4.21.2",
- "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
- "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
- "license": "MIT",
- "dependencies": {
- "accepts": "~1.3.8",
- "array-flatten": "1.1.1",
- "body-parser": "1.20.3",
- "content-disposition": "0.5.4",
- "content-type": "~1.0.4",
- "cookie": "0.7.1",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "1.3.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "merge-descriptors": "1.0.3",
- "methods": "~1.1.2",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.12",
- "proxy-addr": "~2.0.7",
- "qs": "6.13.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.2.1",
- "send": "0.19.0",
- "serve-static": "1.16.2",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
- "node_modules/@remix-run/dev/node_modules/finalhandler": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
- "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
- "license": "MIT",
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "statuses": "2.0.1",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/dev/node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "license": "MIT",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@remix-run/dev/node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/merge-descriptors": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
- "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@remix-run/dev/node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/negotiator": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
- "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/dev/node_modules/path-to-regexp": {
- "version": "0.1.12",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
- "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
- "license": "MIT"
- },
- "node_modules/@remix-run/dev/node_modules/qs": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
- "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
- "license": "BSD-3-Clause",
- "dependencies": {
- "side-channel": "^1.0.6"
- },
- "engines": {
- "node": ">=0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/@remix-run/dev/node_modules/raw-body": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
- "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
- "license": "MIT",
- "dependencies": {
- "bytes": "3.1.2",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/dev/node_modules/send": {
- "version": "0.19.0",
- "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
- "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
- "license": "MIT",
- "dependencies": {
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "mime": "1.6.0",
- "ms": "2.1.3",
- "on-finished": "2.4.1",
- "range-parser": "~1.2.1",
- "statuses": "2.0.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/@remix-run/dev/node_modules/send/node_modules/encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/dev/node_modules/serve-static": {
- "version": "1.16.2",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
- "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
- "license": "MIT",
- "dependencies": {
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.19.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/@remix-run/dev/node_modules/statuses": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/dev/node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "license": "MIT",
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/@remix-run/eslint-config": {
"version": "2.11.2",
"resolved": "https://registry.npmjs.org/@remix-run/eslint-config/-/eslint-config-2.11.2.tgz",
@@ -9408,324 +9466,6 @@
"node": ">=18.0.0"
}
},
- "node_modules/@remix-run/serve/node_modules/accepts": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
- "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
- "license": "MIT",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/body-parser": {
- "version": "1.20.3",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
- "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
- "license": "MIT",
- "dependencies": {
- "bytes": "3.1.2",
- "content-type": "~1.0.5",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "on-finished": "2.4.1",
- "qs": "6.13.0",
- "raw-body": "2.5.2",
- "type-is": "~1.6.18",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/@remix-run/serve/node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "5.2.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/cookie": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
- "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
- "license": "MIT"
- },
- "node_modules/@remix-run/serve/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "license": "MIT",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/@remix-run/serve/node_modules/debug/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "license": "MIT"
- },
- "node_modules/@remix-run/serve/node_modules/express": {
- "version": "4.21.2",
- "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
- "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
- "license": "MIT",
- "dependencies": {
- "accepts": "~1.3.8",
- "array-flatten": "1.1.1",
- "body-parser": "1.20.3",
- "content-disposition": "0.5.4",
- "content-type": "~1.0.4",
- "cookie": "0.7.1",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "1.3.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "merge-descriptors": "1.0.3",
- "methods": "~1.1.2",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.12",
- "proxy-addr": "~2.0.7",
- "qs": "6.13.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.2.1",
- "send": "0.19.0",
- "serve-static": "1.16.2",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
- "node_modules/@remix-run/serve/node_modules/finalhandler": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
- "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
- "license": "MIT",
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "statuses": "2.0.1",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/serve/node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "license": "MIT",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@remix-run/serve/node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/merge-descriptors": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
- "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@remix-run/serve/node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/negotiator": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
- "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/@remix-run/serve/node_modules/path-to-regexp": {
- "version": "0.1.12",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
- "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
- "license": "MIT"
- },
- "node_modules/@remix-run/serve/node_modules/qs": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
- "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
- "license": "BSD-3-Clause",
- "dependencies": {
- "side-channel": "^1.0.6"
- },
- "engines": {
- "node": ">=0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/@remix-run/serve/node_modules/raw-body": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
- "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
- "license": "MIT",
- "dependencies": {
- "bytes": "3.1.2",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/serve/node_modules/send": {
- "version": "0.19.0",
- "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
- "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
- "license": "MIT",
- "dependencies": {
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "mime": "1.6.0",
- "ms": "2.1.3",
- "on-finished": "2.4.1",
- "range-parser": "~1.2.1",
- "statuses": "2.0.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/@remix-run/serve/node_modules/send/node_modules/encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/serve/node_modules/serve-static": {
- "version": "1.16.2",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
- "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
- "license": "MIT",
- "dependencies": {
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.19.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/@remix-run/serve/node_modules/statuses": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/@remix-run/serve/node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "license": "MIT",
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/@remix-run/server-runtime": {
"version": "2.11.2",
"resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.11.2.tgz",
@@ -10289,7 +10029,6 @@
"version": "1.8.6",
"resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz",
"integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"type-detect": "4.0.8"
@@ -10299,7 +10038,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz",
"integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@sinonjs/commons": "^1.7.0"
@@ -10330,6 +10068,170 @@
"@types/express": "^5.0.0"
}
},
+ "node_modules/@slack/bolt/node_modules/accepts": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "^3.0.0",
+ "negotiator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/body-parser": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz",
+ "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "^3.1.2",
+ "content-type": "^1.0.5",
+ "debug": "^4.4.0",
+ "http-errors": "^2.0.0",
+ "iconv-lite": "^0.6.3",
+ "on-finished": "^2.4.1",
+ "qs": "^6.14.0",
+ "raw-body": "^3.0.0",
+ "type-is": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/content-disposition": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",
+ "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/express": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
+ "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "^2.0.0",
+ "body-parser": "^2.2.0",
+ "content-disposition": "^1.0.0",
+ "content-type": "^1.0.5",
+ "cookie": "^0.7.1",
+ "cookie-signature": "^1.2.1",
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "finalhandler": "^2.1.0",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "merge-descriptors": "^2.0.0",
+ "mime-types": "^3.0.0",
+ "on-finished": "^2.4.1",
+ "once": "^1.4.0",
+ "parseurl": "^1.3.3",
+ "proxy-addr": "^2.0.7",
+ "qs": "^6.14.0",
+ "range-parser": "^1.2.1",
+ "router": "^2.2.0",
+ "send": "^1.1.0",
+ "serve-static": "^2.2.0",
+ "statuses": "^2.0.1",
+ "type-is": "^2.0.1",
+ "vary": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/finalhandler": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz",
+ "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "on-finished": "^2.4.1",
+ "parseurl": "^1.3.3",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/fresh": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
+ "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/media-typer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/merge-descriptors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/mime-types": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "^1.54.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/negotiator": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",
+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/@slack/bolt/node_modules/path-to-regexp": {
"version": "8.3.0",
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz",
@@ -10340,6 +10242,103 @@
"url": "https://opencollective.com/express"
}
},
+ "node_modules/@slack/bolt/node_modules/qs": {
+ "version": "6.14.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
+ "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "side-channel": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/raw-body": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.1.tgz",
+ "integrity": "sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "3.1.2",
+ "http-errors": "2.0.0",
+ "iconv-lite": "0.7.0",
+ "unpipe": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/raw-body/node_modules/iconv-lite": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
+ "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/send": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
+ "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.5",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "mime-types": "^3.0.1",
+ "ms": "^2.1.3",
+ "on-finished": "^2.4.1",
+ "range-parser": "^1.2.1",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/serve-static": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
+ "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "parseurl": "^1.3.3",
+ "send": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/@slack/bolt/node_modules/type-is": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
+ "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "license": "MIT",
+ "dependencies": {
+ "content-type": "^1.0.5",
+ "media-typer": "^1.1.0",
+ "mime-types": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/@slack/logger": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@slack/logger/-/logger-4.0.0.tgz",
@@ -10481,23 +10480,24 @@
"license": "MIT"
},
"node_modules/@supabase/auth-js": {
- "version": "2.78.0",
- "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.78.0.tgz",
- "integrity": "sha512-cXDtu1U0LeZj/xfnFoV7yCze37TcbNo8FCxy1FpqhMbB9u9QxxDSW6pA5gm/07Ei7m260Lof4CZx67Cu6DPeig==",
+ "version": "2.79.0",
+ "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.79.0.tgz",
+ "integrity": "sha512-p2GKvdbF9d/6C+dtS6iNcSicPr6eUfkvovD60HWlWsD+oOjC483DzFWrzGjNpBwnswhfMRP8Qn3rYA0VWaOfjw==",
"license": "MIT",
"dependencies": {
- "@supabase/node-fetch": "2.6.15",
"tslib": "2.8.1"
+ },
+ "engines": {
+ "node": ">=20.0.0"
}
},
"node_modules/@supabase/functions-js": {
- "version": "2.78.0",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.78.0.tgz",
- "integrity": "sha512-t1jOvArBsOINyqaRee1xJ3gryXLvkBzqnKfi6q3YRzzhJbGS6eXz0pXR5fqmJeB01fLC+1njpf3YhMszdPEF7g==",
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
+ "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
"license": "MIT",
"dependencies": {
- "@supabase/node-fetch": "2.6.15",
- "tslib": "2.8.1"
+ "@supabase/node-fetch": "^2.6.14"
}
},
"node_modules/@supabase/node-fetch": {
@@ -10513,26 +10513,30 @@
}
},
"node_modules/@supabase/postgrest-js": {
- "version": "2.78.0",
- "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-2.78.0.tgz",
- "integrity": "sha512-AwhpYlSvJ+PSnPmIK8sHj7NGDyDENYfQGKrMtpVIEzQA2ApUjgpUGxzXWN4Z0wEtLQsvv7g4y9HVad9Hzo1TNA==",
+ "version": "2.79.0",
+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-2.79.0.tgz",
+ "integrity": "sha512-2i8EFm3/49ecjt6dk/TGVROBbtOmhryiC4NL3u0FBIrm2hqj+FvbELv1jjM6r+a6abnh+uzIV/bFsWHAa/k3/w==",
"license": "MIT",
"dependencies": {
- "@supabase/node-fetch": "2.6.15",
"tslib": "2.8.1"
+ },
+ "engines": {
+ "node": ">=20.0.0"
}
},
"node_modules/@supabase/realtime-js": {
- "version": "2.78.0",
- "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.78.0.tgz",
- "integrity": "sha512-rCs1zmLe7of7hj4s7G9z8rTqzWuNVtmwDr3FiCRCJFawEoa+RQO1xpZGbdeuVvVmKDyVN6b542Okci+117y/LQ==",
+ "version": "2.79.0",
+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.79.0.tgz",
+ "integrity": "sha512-foaZujNBycAqLizUcuLyyFyDitfPnEMVO4CiKXNwaMCDVMoVX4QR6n4gpJLUC5BGzc20Mte6vSJLbk4MN90Prw==",
"license": "MIT",
"dependencies": {
- "@supabase/node-fetch": "2.6.15",
"@types/phoenix": "^1.6.6",
"@types/ws": "^8.18.1",
"tslib": "2.8.1",
"ws": "^8.18.2"
+ },
+ "engines": {
+ "node": ">=20.0.0"
}
},
"node_modules/@supabase/realtime-js/node_modules/ws": {
@@ -10557,27 +10561,43 @@
}
},
"node_modules/@supabase/storage-js": {
- "version": "2.78.0",
- "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.78.0.tgz",
- "integrity": "sha512-n17P0JbjHOlxqJpkaGFOn97i3EusEKPEbWOpuk1r4t00Wg06B8Z4GUiq0O0n1vUpjiMgJUkLIMuBVp+bEgunzQ==",
+ "version": "2.79.0",
+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.79.0.tgz",
+ "integrity": "sha512-PLSeKX1/BZhGWCT972w4TvVOCcw/xh4TsowtUBiZvPx4OdHT7dB1q0DXKwVUfKbWk5UUC+6XAq4ZU/ZCtdgn6w==",
"license": "MIT",
"dependencies": {
- "@supabase/node-fetch": "2.6.15",
"tslib": "2.8.1"
+ },
+ "engines": {
+ "node": ">=20.0.0"
}
},
"node_modules/@supabase/supabase-js": {
- "version": "2.78.0",
- "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.78.0.tgz",
- "integrity": "sha512-xYMRNBFmKp2m1gMuwcp/gr/HlfZKqjye1Ib8kJe29XJNsgwsfO/f8skxnWiscFKTlkOKLuBexNgl5L8dzGt6vA==",
+ "version": "2.79.0",
+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.79.0.tgz",
+ "integrity": "sha512-x9ndEaBSwoRnFOOZGhh2CeV69Uz4B/EOSGCbKysDhTiYakiCAdDXaNuLPluviKU/Aot+F7BglXZDZ0YJ3GpGrw==",
"license": "MIT",
"dependencies": {
- "@supabase/auth-js": "2.78.0",
- "@supabase/functions-js": "2.78.0",
- "@supabase/node-fetch": "2.6.15",
- "@supabase/postgrest-js": "2.78.0",
- "@supabase/realtime-js": "2.78.0",
- "@supabase/storage-js": "2.78.0"
+ "@supabase/auth-js": "2.79.0",
+ "@supabase/functions-js": "2.79.0",
+ "@supabase/postgrest-js": "2.79.0",
+ "@supabase/realtime-js": "2.79.0",
+ "@supabase/storage-js": "2.79.0"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ }
+ },
+ "node_modules/@supabase/supabase-js/node_modules/@supabase/functions-js": {
+ "version": "2.79.0",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.79.0.tgz",
+ "integrity": "sha512-WaiU6b+Z+ZfJOjFhpMKdajt42weiFUrA6TVW5oGd6WfPGajFiKZJJIAvuK0g7KDKaYowtQrOo5+Ais+PcuZ1qA==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "2.8.1"
+ },
+ "engines": {
+ "node": ">=20.0.0"
}
},
"node_modules/@swc/helpers": {
@@ -10643,6 +10663,19 @@
"tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1"
}
},
+ "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser": {
+ "version": "6.0.10",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz",
+ "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==",
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@tanstack/query-core": {
"version": "4.41.0",
"resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-4.41.0.tgz",
@@ -11423,7 +11456,6 @@
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
"integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 6"
@@ -11971,6 +12003,18 @@
"node": ">=8.0.0"
}
},
+ "node_modules/@trigger.dev/cli/node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@trigger.dev/cli/node_modules/nanoid": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",
@@ -13124,7 +13168,6 @@
"version": "7.20.5",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
"integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.20.7",
@@ -13138,7 +13181,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
"integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0"
@@ -13148,7 +13190,6 @@
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
"integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.1.0",
@@ -13159,7 +13200,6 @@
"version": "7.28.0",
"resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
"integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.28.2"
@@ -13491,6 +13531,17 @@
"@types/trusted-types": "*"
}
},
+ "node_modules/@types/eslint": {
+ "version": "8.56.12",
+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz",
+ "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@types/estree": "*",
+ "@types/json-schema": "*"
+ }
+ },
"node_modules/@types/estree": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
@@ -13523,7 +13574,6 @@
"version": "4.1.9",
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
"integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
@@ -13718,7 +13768,6 @@
"version": "2.4.4",
"resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz",
"integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/nprogress": {
@@ -13729,9 +13778,9 @@
"license": "MIT"
},
"node_modules/@types/papaparse": {
- "version": "5.3.16",
- "resolved": "https://registry.npmjs.org/@types/papaparse/-/papaparse-5.3.16.tgz",
- "integrity": "sha512-T3VuKMC2H0lgsjI9buTB3uuKj3EMD2eap1MOuEQuBQ44EnDx/IkGhU6EwiTf9zG3za4SKlmwKAImdDKdNnCsXg==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@types/papaparse/-/papaparse-5.5.0.tgz",
+ "integrity": "sha512-GVs5iMQmUr54BAZYYkByv8zPofFxmyxUpISPb2oh8sayR3+1zbxasrOvoKiHJ/nnoq/uULuPsu1Lze1EkagVFg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -13748,7 +13797,6 @@
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz",
"integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/prismjs": {
@@ -13787,7 +13835,7 @@
"version": "18.3.7",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
"integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^18.0.0"
@@ -13840,7 +13888,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
"integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/strip-bom": {
@@ -14127,7 +14174,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
"integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
- "dev": true,
"license": "ISC"
},
"node_modules/@unrs/resolver-binding-android-arm-eabi": {
@@ -15073,6 +15119,13 @@
"integrity": "sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==",
"license": "(Apache-2.0 AND MIT)"
},
+ "node_modules/@yarnpkg/lockfile": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz",
+ "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==",
+ "dev": true,
+ "license": "BSD-2-Clause"
+ },
"node_modules/@zxing/text-encoding": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
@@ -15085,7 +15138,6 @@
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
"integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",
"deprecated": "Use your platform's native atob() and btoa() methods instead",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/abbrev": {
@@ -15117,22 +15169,22 @@
"link": true
},
"node_modules/accepts": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
- "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
"license": "MIT",
"dependencies": {
- "mime-types": "^3.0.0",
- "negotiator": "^1.0.0"
+ "mime-types": "~2.1.34",
+ "negotiator": "0.6.3"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/accepts/node_modules/negotiator": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",
- "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
@@ -15154,7 +15206,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz",
"integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"acorn": "^7.1.1",
@@ -15165,7 +15216,6 @@
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
- "dev": true,
"license": "MIT",
"bin": {
"acorn": "bin/acorn"
@@ -15196,7 +15246,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",
"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.4.0"
@@ -15240,14 +15289,14 @@
}
},
"node_modules/ai": {
- "version": "5.0.86",
- "resolved": "https://registry.npmjs.org/ai/-/ai-5.0.86.tgz",
- "integrity": "sha512-ooHwNTkLdedFf98iQhtSc5btc/P4UuXuOpYneoifq0190vqosLunNdW8Hs6CiE0Am7YOGNplDK56JIPlHZIL4w==",
+ "version": "5.0.87",
+ "resolved": "https://registry.npmjs.org/ai/-/ai-5.0.87.tgz",
+ "integrity": "sha512-9Cjx7o8IY9zAczigX0Tk/BaQwjPe/M6DpEjejKSBNrf8mOPIvyM+pJLqJSC10IsKci3FPsnaizJeJhoetU1Wfw==",
"license": "Apache-2.0",
"dependencies": {
- "@ai-sdk/gateway": "2.0.5",
+ "@ai-sdk/gateway": "2.0.6",
"@ai-sdk/provider": "2.0.0",
- "@ai-sdk/provider-utils": "3.0.15",
+ "@ai-sdk/provider-utils": "3.0.16",
"@opentelemetry/api": "1.9.0"
},
"engines": {
@@ -15257,23 +15306,6 @@
"zod": "^3.25.76 || ^4.1.8"
}
},
- "node_modules/ai/node_modules/@ai-sdk/provider-utils": {
- "version": "3.0.15",
- "resolved": "https://registry.npmjs.org/@ai-sdk/provider-utils/-/provider-utils-3.0.15.tgz",
- "integrity": "sha512-kOc6Pxb7CsRlNt+sLZKL7/VGQUd7ccl3/tIK+Bqf5/QhHR0Qm3qRBMz1IwU1RmjJEZA73x+KB5cUckbDl2WF7Q==",
- "license": "Apache-2.0",
- "dependencies": {
- "@ai-sdk/provider": "2.0.0",
- "@standard-schema/spec": "^1.0.0",
- "eventsource-parser": "^3.0.6"
- },
- "engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "zod": "^3.25.76 || ^4.1.8"
- }
- },
"node_modules/ajv": {
"version": "8.17.1",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
@@ -15472,7 +15504,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
"integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -15482,7 +15513,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
"integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -15492,7 +15522,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
"integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -15555,7 +15584,6 @@
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -15685,7 +15713,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
"integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -15737,7 +15764,6 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
- "dev": true,
"license": "(MIT OR Apache-2.0)",
"bin": {
"atob": "bin/atob.js"
@@ -15898,9 +15924,9 @@
}
},
"node_modules/axios": {
- "version": "1.13.1",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.1.tgz",
- "integrity": "sha512-hU4EGxxt+j7TQijx1oYdAjw4xuIp1wRQSsbMFwSthCWeBQur1eF+qJ5iQ5sN3Tw8YRzQNKb8jszgBdMDVqwJcw==",
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz",
+ "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.6",
@@ -15931,7 +15957,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz",
"integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/transform": "^26.6.2",
@@ -15954,7 +15979,6 @@
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
"integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0",
@@ -15971,7 +15995,6 @@
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",
"integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.12.3",
@@ -15988,7 +16011,6 @@
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -15998,7 +16020,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz",
"integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/template": "^7.3.3",
@@ -16014,7 +16035,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz",
"integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/plugin-syntax-async-generators": "^7.8.4",
@@ -16041,7 +16061,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz",
"integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"babel-plugin-jest-hoist": "^26.6.2",
@@ -16074,7 +16093,6 @@
"version": "0.11.2",
"resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
"integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cache-base": "^1.0.1",
@@ -16093,7 +16111,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
@@ -16132,9 +16149,9 @@
}
},
"node_modules/baseline-browser-mapping": {
- "version": "2.8.23",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.23.tgz",
- "integrity": "sha512-616V5YX4bepJFzNyOfce5Fa8fDJMfoxzOIzDCZwaGL8MKVpFrXqfNUoIpRn9YMI5pXf/VKgzjB4htFMsFKKdiQ==",
+ "version": "2.8.25",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz",
+ "integrity": "sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA==",
"license": "Apache-2.0",
"bin": {
"baseline-browser-mapping": "dist/cli.js"
@@ -16289,25 +16306,56 @@
}
},
"node_modules/body-parser": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz",
- "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==",
+ "version": "1.20.3",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
+ "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
"license": "MIT",
"dependencies": {
- "bytes": "^3.1.2",
- "content-type": "^1.0.5",
- "debug": "^4.4.0",
- "http-errors": "^2.0.0",
- "iconv-lite": "^0.6.3",
- "on-finished": "^2.4.1",
- "qs": "^6.14.0",
- "raw-body": "^3.0.0",
- "type-is": "^2.0.0"
+ "bytes": "3.1.2",
+ "content-type": "~1.0.5",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "1.2.0",
+ "http-errors": "2.0.0",
+ "iconv-lite": "0.4.24",
+ "on-finished": "2.4.1",
+ "qs": "6.13.0",
+ "raw-body": "2.5.2",
+ "type-is": "~1.6.18",
+ "unpipe": "1.0.0"
},
"engines": {
- "node": ">=18"
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/body-parser/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/body-parser/node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
}
},
+ "node_modules/body-parser/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
"node_modules/boxen": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/boxen/-/boxen-7.1.1.tgz",
@@ -16376,7 +16424,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz",
"integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==",
- "dev": true,
"license": "BSD-2-Clause"
},
"node_modules/browserify-zlib": {
@@ -16437,7 +16484,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
"integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"node-int64": "^0.4.0"
@@ -16558,7 +16604,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
"integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"collection-visit": "^1.0.0",
@@ -16678,7 +16723,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -16745,7 +16789,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz",
"integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==",
- "dev": true,
"license": "ISC",
"dependencies": {
"rsvp": "^4.8.4"
@@ -16784,7 +16827,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
"integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -16889,7 +16931,6 @@
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
"integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-union": "^3.1.0",
@@ -16905,7 +16946,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -16918,7 +16958,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -17437,7 +17476,6 @@
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
"integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
- "dev": true,
"license": "MIT",
"engines": {
"iojs": ">= 1.0.0",
@@ -17455,14 +17493,12 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz",
"integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==",
- "dev": true,
"license": "MIT"
},
"node_modules/collection-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
"integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"map-visit": "^1.0.0",
@@ -17551,7 +17587,6 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz",
"integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==",
- "dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -17665,9 +17700,9 @@
}
},
"node_modules/content-disposition": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",
- "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==",
+ "version": "0.5.4",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
"license": "MIT",
"dependencies": {
"safe-buffer": "5.2.1"
@@ -17728,7 +17763,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
"integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -17942,14 +17976,12 @@
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",
"integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==",
- "dev": true,
"license": "MIT"
},
"node_modules/cssstyle": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
"integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cssom": "~0.3.6"
@@ -17962,7 +17994,6 @@
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
"integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
- "dev": true,
"license": "MIT"
},
"node_modules/csstype": {
@@ -18407,7 +18438,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz",
"integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"abab": "^2.0.3",
@@ -18422,7 +18452,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.1.1"
@@ -18435,7 +18464,6 @@
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"lodash": "^4.7.0",
@@ -18518,7 +18546,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -18553,7 +18580,6 @@
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
"integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10"
@@ -18654,7 +18680,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/deep-object-diff": {
@@ -18740,7 +18765,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
"integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.2",
@@ -18842,7 +18866,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
"integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -18879,7 +18902,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz",
"integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.14.2"
@@ -18916,7 +18938,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"esutils": "^2.0.2"
@@ -18972,7 +18993,6 @@
"resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz",
"integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
"deprecated": "Use your platform's native DOMException instead",
- "dev": true,
"license": "MIT",
"dependencies": {
"webidl-conversions": "^5.0.0"
@@ -18985,7 +19005,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",
"integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=8"
@@ -19179,9 +19198,9 @@
"license": "MIT"
},
"node_modules/electron-to-chromium": {
- "version": "1.5.244",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.244.tgz",
- "integrity": "sha512-OszpBN7xZX4vWMPJwB9illkN/znA8M36GQqQxi6MNy9axWxhOfJyZZJtSLQCpEFLHP2xK33BiWx9aIuIEXVCcw==",
+ "version": "1.5.245",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.245.tgz",
+ "integrity": "sha512-rdmGfW47ZhL/oWEJAY4qxRtdly2B98ooTJ0pdEI4jhVLZ6tNf8fPtov2wS1IRKwFJT92le3x4Knxiwzl7cPPpQ==",
"license": "ISC"
},
"node_modules/embla-carousel": {
@@ -19216,7 +19235,6 @@
"version": "0.7.2",
"resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz",
"integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -19472,7 +19490,6 @@
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
"integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-arrayish": "^0.2.1"
@@ -19802,7 +19819,6 @@
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
"integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
"deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
- "dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
@@ -20437,7 +20453,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.1",
@@ -20454,7 +20469,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -20465,7 +20479,6 @@
"version": "7.2.2",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
"integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"esrecurse": "^4.3.0",
@@ -20482,7 +20495,6 @@
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
"integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -20495,7 +20507,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
"license": "ISC",
"dependencies": {
"is-glob": "^4.0.3"
@@ -20508,14 +20519,12 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true,
"license": "MIT"
},
"node_modules/eslint/node_modules/minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -20528,7 +20537,6 @@
"version": "9.6.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
"integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"acorn": "^8.9.0",
@@ -20546,7 +20554,6 @@
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
"integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -20572,7 +20579,6 @@
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
"integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"estraverse": "^5.1.0"
@@ -20780,7 +20786,6 @@
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz",
"integrity": "sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==",
- "dev": true,
"license": "MIT"
},
"node_modules/execa": {
@@ -20810,7 +20815,6 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
"integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
- "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -20831,7 +20835,6 @@
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
"integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"debug": "^2.3.3",
@@ -20850,7 +20853,6 @@
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "2.0.0"
@@ -20860,7 +20862,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -20873,7 +20874,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -20886,7 +20886,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -20900,7 +20899,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -20910,14 +20908,12 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true,
"license": "MIT"
},
"node_modules/expect": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz",
"integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -20938,41 +20934,45 @@
"license": "Apache-2.0"
},
"node_modules/express": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
- "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
+ "version": "4.21.2",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
+ "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
"license": "MIT",
"dependencies": {
- "accepts": "^2.0.0",
- "body-parser": "^2.2.0",
- "content-disposition": "^1.0.0",
- "content-type": "^1.0.5",
- "cookie": "^0.7.1",
- "cookie-signature": "^1.2.1",
- "debug": "^4.4.0",
- "encodeurl": "^2.0.0",
- "escape-html": "^1.0.3",
- "etag": "^1.8.1",
- "finalhandler": "^2.1.0",
- "fresh": "^2.0.0",
- "http-errors": "^2.0.0",
- "merge-descriptors": "^2.0.0",
- "mime-types": "^3.0.0",
- "on-finished": "^2.4.1",
- "once": "^1.4.0",
- "parseurl": "^1.3.3",
- "proxy-addr": "^2.0.7",
- "qs": "^6.14.0",
- "range-parser": "^1.2.1",
- "router": "^2.2.0",
- "send": "^1.1.0",
- "serve-static": "^2.2.0",
- "statuses": "^2.0.1",
- "type-is": "^2.0.1",
- "vary": "^1.1.2"
+ "accepts": "~1.3.8",
+ "array-flatten": "1.1.1",
+ "body-parser": "1.20.3",
+ "content-disposition": "0.5.4",
+ "content-type": "~1.0.4",
+ "cookie": "0.7.1",
+ "cookie-signature": "1.0.6",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "1.3.1",
+ "fresh": "0.5.2",
+ "http-errors": "2.0.0",
+ "merge-descriptors": "1.0.3",
+ "methods": "~1.1.2",
+ "on-finished": "2.4.1",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "0.1.12",
+ "proxy-addr": "~2.0.7",
+ "qs": "6.13.0",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.2.1",
+ "send": "0.19.0",
+ "serve-static": "1.16.2",
+ "setprototypeof": "1.2.0",
+ "statuses": "2.0.1",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 0.10.0"
},
"funding": {
"type": "opencollective",
@@ -20995,14 +20995,41 @@
}
},
"node_modules/express/node_modules/cookie": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
- "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
+ "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
+ "node_modules/express/node_modules/cookie-signature": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
+ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
+ "license": "MIT"
+ },
+ "node_modules/express/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/express/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/express/node_modules/path-to-regexp": {
+ "version": "0.1.12",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
+ "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
+ "license": "MIT"
+ },
"node_modules/exsolve": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.7.tgz",
@@ -21019,7 +21046,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
"integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"assign-symbols": "^1.0.0",
@@ -21033,7 +21059,6 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
"integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"array-unique": "^0.3.2",
@@ -21053,7 +21078,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
@@ -21066,7 +21090,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -21079,7 +21102,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -21171,7 +21193,6 @@
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
"integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true,
"license": "MIT"
},
"node_modules/fast-memoize": {
@@ -21222,7 +21243,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
"integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"bser": "2.1.1"
@@ -21288,7 +21308,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
"integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"flat-cache": "^3.0.4"
@@ -21322,22 +21341,38 @@
}
},
"node_modules/finalhandler": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz",
- "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
+ "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
"license": "MIT",
"dependencies": {
- "debug": "^4.4.0",
- "encodeurl": "^2.0.0",
- "escape-html": "^1.0.3",
- "on-finished": "^2.4.1",
- "parseurl": "^1.3.3",
- "statuses": "^2.0.1"
+ "debug": "2.6.9",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "on-finished": "2.4.1",
+ "parseurl": "~1.3.3",
+ "statuses": "2.0.1",
+ "unpipe": "~1.0.0"
},
"engines": {
"node": ">= 0.8"
}
},
+ "node_modules/finalhandler/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/finalhandler/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
"node_modules/find-up": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
@@ -21354,11 +21389,20 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/find-yarn-workspace-root": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz",
+ "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "micromatch": "^4.0.2"
+ }
+ },
"node_modules/flat-cache": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
"integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"flatted": "^3.2.9",
@@ -21373,7 +21417,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -21385,7 +21428,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -21406,7 +21448,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -21420,7 +21461,6 @@
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"deprecated": "Rimraf versions prior to v4 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"glob": "^7.1.3"
@@ -21436,7 +21476,6 @@
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
"integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
- "dev": true,
"license": "ISC"
},
"node_modules/follow-redirects": {
@@ -21495,7 +21534,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
"integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -21551,27 +21589,6 @@
"integrity": "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==",
"license": "MIT"
},
- "node_modules/form-data/node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/form-data/node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/format": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",
@@ -21649,7 +21666,6 @@
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
"integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"map-cache": "^0.2.2"
@@ -21692,12 +21708,12 @@
"license": "MIT"
},
"node_modules/fresh": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
- "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
"license": "MIT",
"engines": {
- "node": ">= 0.8"
+ "node": ">= 0.6"
}
},
"node_modules/fs-constants": {
@@ -21922,7 +21938,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
"integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8.0.0"
@@ -22033,7 +22048,6 @@
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
"integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -22099,7 +22113,6 @@
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
"integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"type-fest": "^0.20.2"
@@ -22115,7 +22128,6 @@
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
"integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=10"
@@ -22233,7 +22245,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz",
"integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==",
- "dev": true,
"license": "MIT",
"optional": true
},
@@ -22384,7 +22395,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
"integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"get-value": "^2.0.6",
@@ -22399,7 +22409,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
"integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^3.0.0",
@@ -22413,14 +22422,12 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true,
"license": "MIT"
},
"node_modules/has-values/node_modules/is-number": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
@@ -22433,7 +22440,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -22446,7 +22452,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
"integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -22572,7 +22577,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz",
"integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"whatwg-encoding": "^1.0.5"
@@ -22585,7 +22589,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
- "dev": true,
"license": "MIT"
},
"node_modules/html-to-text": {
@@ -22645,20 +22648,10 @@
"node": ">= 0.8"
}
},
- "node_modules/http-errors/node_modules/statuses": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
"node_modules/http-proxy-agent": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
"integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@tootallnate/once": "1",
@@ -22842,7 +22835,6 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
"integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"parent-module": "^1.0.0",
@@ -22880,7 +22872,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
"integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"pkg-dir": "^4.2.0",
@@ -23115,7 +23106,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz",
"integrity": "sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"hasown": "^2.0.0"
@@ -23185,7 +23175,6 @@
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
"integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
- "dev": true,
"license": "MIT"
},
"node_modules/is-async-function": {
@@ -23325,7 +23314,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz",
"integrity": "sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"hasown": "^2.0.0"
@@ -23387,7 +23375,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz",
"integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -23401,9 +23388,8 @@
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
"integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
- "optional": true,
"bin": {
"is-docker": "cli.js"
},
@@ -23424,7 +23410,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
"integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-plain-object": "^2.0.4"
@@ -23437,7 +23422,6 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
@@ -23487,7 +23471,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
"integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -23696,7 +23679,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
"integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/is-promise": {
@@ -23914,7 +23896,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
"integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -23924,9 +23905,8 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
"integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
- "optional": true,
"dependencies": {
"is-docker": "^2.0.0"
},
@@ -23968,7 +23948,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
"integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -23978,7 +23957,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
"integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=8"
@@ -23988,7 +23966,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz",
"integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.7.5",
@@ -24004,7 +23981,6 @@
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -24014,7 +23990,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
"integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"istanbul-lib-coverage": "^3.0.0",
@@ -24029,7 +24004,6 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",
"integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"debug": "^4.1.1",
@@ -24044,7 +24018,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -24054,7 +24027,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",
"integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"html-escaper": "^2.0.0",
@@ -24115,7 +24087,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz",
"integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/core": "^26.6.3",
@@ -24133,7 +24104,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz",
"integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24148,7 +24118,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
"integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.0",
@@ -24172,7 +24141,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"pump": "^3.0.0"
@@ -24188,7 +24156,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
"integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=8.12.0"
@@ -24198,7 +24165,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz",
"integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"end-of-stream": "^1.1.0",
@@ -24209,7 +24175,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz",
"integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/core": "^26.6.3",
@@ -24237,7 +24202,6 @@
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -24247,7 +24211,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"string-width": "^4.2.0",
@@ -24259,14 +24222,12 @@
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-cli/node_modules/find-up": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
@@ -24280,7 +24241,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -24290,7 +24250,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
@@ -24303,7 +24262,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
@@ -24319,7 +24277,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
@@ -24332,7 +24289,6 @@
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -24347,7 +24303,6 @@
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
@@ -24362,14 +24317,12 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/jest-cli/node_modules/yargs": {
"version": "15.4.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cliui": "^6.0.0",
@@ -24392,7 +24345,6 @@
"version": "18.1.3",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"camelcase": "^5.0.0",
@@ -24406,7 +24358,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz",
"integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.0",
@@ -24444,7 +24395,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -24456,7 +24406,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -24477,7 +24426,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -24490,7 +24438,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24506,7 +24453,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz",
"integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
@@ -24522,7 +24468,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24538,7 +24483,6 @@
"version": "26.0.0",
"resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz",
"integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"detect-newline": "^3.0.0"
@@ -24551,7 +24495,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz",
"integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24568,7 +24511,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24584,7 +24526,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz",
"integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
@@ -24603,7 +24544,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz",
"integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
@@ -24621,7 +24561,6 @@
"version": "26.3.0",
"resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz",
"integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.14.2"
@@ -24631,7 +24570,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz",
"integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24659,7 +24597,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz",
"integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/traverse": "^7.1.0",
@@ -24689,7 +24626,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24705,7 +24641,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz",
"integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"jest-get-type": "^26.3.0",
@@ -24719,7 +24654,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24735,7 +24669,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz",
"integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
@@ -24751,7 +24684,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24767,7 +24699,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz",
"integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
@@ -24788,7 +24719,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24804,7 +24734,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz",
"integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24818,7 +24747,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
"integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -24836,7 +24764,6 @@
"version": "26.0.0",
"resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz",
"integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.14.2"
@@ -24846,7 +24773,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz",
"integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24866,7 +24792,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz",
"integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -24881,7 +24806,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz",
"integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -24913,7 +24837,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz",
"integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -24955,7 +24878,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -24966,7 +24888,6 @@
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -24976,14 +24897,12 @@
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz",
"integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-runtime/node_modules/cliui": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"string-width": "^4.2.0",
@@ -24995,14 +24914,12 @@
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-runtime/node_modules/find-up": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
@@ -25017,7 +24934,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -25038,7 +24954,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -25048,7 +24963,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
@@ -25061,7 +24975,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -25074,7 +24987,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
@@ -25090,7 +25002,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
@@ -25103,7 +25014,6 @@
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -25118,7 +25028,6 @@
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
@@ -25133,14 +25042,12 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/jest-runtime/node_modules/yargs": {
"version": "15.4.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cliui": "^6.0.0",
@@ -25163,7 +25070,6 @@
"version": "18.1.3",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"camelcase": "^5.0.0",
@@ -25177,7 +25083,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz",
"integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*",
@@ -25191,7 +25096,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz",
"integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0",
@@ -25219,7 +25123,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -25252,7 +25155,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz",
"integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -25270,7 +25172,6 @@
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
"integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -25283,7 +25184,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
"integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -25299,7 +25199,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz",
"integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/test-result": "^26.6.2",
@@ -25318,7 +25217,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz",
"integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*",
@@ -25491,7 +25389,6 @@
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz",
"integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"abab": "^2.0.5",
@@ -25538,7 +25435,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.4.tgz",
"integrity": "sha512-f0cRzm6dkyVYV3nPoooP8XlccPQukegwhAnpoLcXy+X+A8KfpGOoXwDr9FLZd3wzgLaBGQBE3lY93Zm/i1JvIQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
@@ -25551,34 +25447,10 @@
"node": ">= 6"
}
},
- "node_modules/jsdom/node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/jsdom/node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/jsdom/node_modules/tr46": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.1.1"
@@ -25591,7 +25463,6 @@
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"lodash": "^4.7.0",
@@ -25683,11 +25554,30 @@
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
"license": "MIT"
},
+ "node_modules/json-stable-stringify": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.3.0.tgz",
+ "integrity": "sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "call-bind": "^1.0.8",
+ "call-bound": "^1.0.4",
+ "isarray": "^2.0.5",
+ "jsonify": "^0.0.1",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
"integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true,
"license": "MIT"
},
"node_modules/json5": {
@@ -25714,6 +25604,16 @@
"graceful-fs": "^4.1.6"
}
},
+ "node_modules/jsonify": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.1.tgz",
+ "integrity": "sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==",
+ "dev": true,
+ "license": "Public Domain",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/jsonlines": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsonlines/-/jsonlines-0.1.1.tgz",
@@ -25827,17 +25727,25 @@
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
+ "node_modules/klaw-sync": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz",
+ "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.1.11"
+ }
+ },
"node_modules/kleur": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
"integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -25898,7 +25806,6 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"prelude-ls": "^1.2.1",
@@ -26102,6 +26009,19 @@
"node": ">=8.6"
}
},
+ "node_modules/lint-staged/node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/lint-staged/node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -26739,7 +26659,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
"integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"semver": "^7.5.3"
@@ -26837,7 +26756,6 @@
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
"integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"tmpl": "1.0.5"
@@ -26847,7 +26765,6 @@
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
"integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -26857,7 +26774,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
"integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"object-visit": "^1.0.0"
@@ -27155,12 +27071,12 @@
}
},
"node_modules/media-typer": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
- "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
"license": "MIT",
"engines": {
- "node": ">= 0.8"
+ "node": ">= 0.6"
}
},
"node_modules/memorystream": {
@@ -27173,13 +27089,10 @@
}
},
"node_modules/merge-descriptors": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
- "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
+ "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
"license": "MIT",
- "engines": {
- "node": ">=18"
- },
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
@@ -27876,27 +27789,33 @@
}
},
"node_modules/mime-types": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
- "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"license": "MIT",
"dependencies": {
- "mime-db": "^1.54.0"
+ "mime-db": "1.52.0"
},
"engines": {
"node": ">= 0.6"
}
},
+ "node_modules/mime-types/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/mimic-fn": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
- "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
"license": "MIT",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=6"
}
},
"node_modules/mimic-response": {
@@ -28156,7 +28075,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
"integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"for-in": "^1.0.2",
@@ -28365,7 +28283,6 @@
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
"integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-diff": "^4.0.0",
@@ -28424,7 +28341,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true,
"license": "MIT"
},
"node_modules/natural-compare-lite": {
@@ -28493,7 +28409,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/node-domexception": {
@@ -28872,14 +28787,12 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
"integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
- "dev": true,
"license": "MIT"
},
"node_modules/node-notifier": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz",
"integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==",
- "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -28895,7 +28808,6 @@
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
- "dev": true,
"license": "MIT",
"optional": true,
"bin": {
@@ -28906,7 +28818,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
"license": "ISC",
"optional": true,
"dependencies": {
@@ -29656,7 +29567,6 @@
"version": "2.2.22",
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.22.tgz",
"integrity": "sha512-ujSMe1OWVn55euT1ihwCI1ZcAaAU3nxUiDwfDQldc51ZXaB9m2AyOn6/jh1BLe2t/G8xd6uKG1UBF2aZJeg2SQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/object-assign": {
@@ -29672,7 +29582,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
"integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"copy-descriptor": "^0.1.0",
@@ -29687,7 +29596,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -29700,14 +29608,12 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true,
"license": "MIT"
},
"node_modules/object-copy/node_modules/is-descriptor": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -29721,7 +29627,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -29780,7 +29685,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
"integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.0"
@@ -29860,7 +29764,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
"integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
@@ -29888,9 +29791,9 @@
}
},
"node_modules/oidc-token-hash": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/oidc-token-hash/-/oidc-token-hash-5.1.1.tgz",
- "integrity": "sha512-D7EmwxJV6DsEB6vOFLrBM2OzsVgQzgPWyHlV2OOAVj772n+WTXpudC9e9u5BVKQnYwaD30Ivhi9b+4UeBcGu9g==",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/oidc-token-hash/-/oidc-token-hash-5.2.0.tgz",
+ "integrity": "sha512-6gj2m8cJZ+iSW8bm0FXdGF0YhIQbKrfP4yWTNzxc31U6MOjfEmB1rHvlYvxI1B7t7BCi1F2vYTT6YhtQRG4hxw==",
"license": "MIT",
"engines": {
"node": "^10.13.0 || >=12.0.0"
@@ -29941,15 +29844,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/onetime/node_modules/mimic-fn": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/online-3d-viewer": {
"version": "0.15.0",
"resolved": "https://registry.npmjs.org/online-3d-viewer/-/online-3d-viewer-0.15.0.tgz",
@@ -29967,6 +29861,23 @@
"integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
"license": "MIT"
},
+ "node_modules/open": {
+ "version": "7.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
+ "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^2.0.0",
+ "is-wsl": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/openai": {
"version": "4.104.0",
"resolved": "https://registry.npmjs.org/openai/-/openai-4.104.0.tgz",
@@ -30047,26 +29958,6 @@
"opencontrol": "bin/index.mjs"
}
},
- "node_modules/opencontrol/node_modules/@modelcontextprotocol/sdk": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.6.1.tgz",
- "integrity": "sha512-oxzMzYCkZHMntzuyerehK3fV6A2Kwh5BD6CGEJSVDU2QNEhfLOptf2X7esQgaHZXHZY0oHmMsOtIDLP71UJXgA==",
- "license": "MIT",
- "dependencies": {
- "content-type": "^1.0.5",
- "cors": "^2.8.5",
- "eventsource": "^3.0.2",
- "express": "^5.0.1",
- "express-rate-limit": "^7.5.0",
- "pkce-challenge": "^4.1.0",
- "raw-body": "^3.0.0",
- "zod": "^3.23.8",
- "zod-to-json-schema": "^3.24.1"
- },
- "engines": {
- "node": ">=18"
- }
- },
"node_modules/opencontrol/node_modules/zod": {
"version": "3.24.2",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz",
@@ -30076,15 +29967,6 @@
"url": "https://github.com/sponsors/colinhacks"
}
},
- "node_modules/opencontrol/node_modules/zod-to-json-schema": {
- "version": "3.24.3",
- "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.3.tgz",
- "integrity": "sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A==",
- "license": "ISC",
- "peerDependencies": {
- "zod": "^3.24.1"
- }
- },
"node_modules/openid-client": {
"version": "5.6.4",
"resolved": "https://registry.npmjs.org/openid-client/-/openid-client-5.6.4.tgz",
@@ -30137,7 +30019,6 @@
"version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
"integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"deep-is": "^0.1.3",
@@ -30250,7 +30131,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz",
"integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -30368,7 +30248,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -30694,7 +30573,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"callsites": "^3.0.0"
@@ -30773,7 +30651,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz",
"integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==",
- "dev": true,
"license": "MIT"
},
"node_modules/parseley": {
@@ -30808,12 +30685,67 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
"integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
+ "node_modules/patch-package": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-8.0.1.tgz",
+ "integrity": "sha512-VsKRIA8f5uqHQ7NGhwIna6Bx6D9s/1iXlA1hthBVBEbkq+t4kXD0HHt+rJhf/Z+Ci0F/HCB2hvn0qLdLG+Qxlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@yarnpkg/lockfile": "^1.1.0",
+ "chalk": "^4.1.2",
+ "ci-info": "^3.7.0",
+ "cross-spawn": "^7.0.3",
+ "find-yarn-workspace-root": "^2.0.0",
+ "fs-extra": "^10.0.0",
+ "json-stable-stringify": "^1.0.2",
+ "klaw-sync": "^6.0.0",
+ "minimist": "^1.2.6",
+ "open": "^7.4.2",
+ "semver": "^7.5.3",
+ "slash": "^2.0.0",
+ "tmp": "^0.2.4",
+ "yaml": "^2.2.2"
+ },
+ "bin": {
+ "patch-package": "index.js"
+ },
+ "engines": {
+ "node": ">=14",
+ "npm": ">5"
+ }
+ },
+ "node_modules/patch-package/node_modules/ci-info": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
+ "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/sibiraj-s"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/patch-package/node_modules/slash": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
+ "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/path-browserify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",
@@ -31024,7 +30956,6 @@
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
"integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"find-up": "^4.0.0"
@@ -31037,7 +30968,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
@@ -31051,7 +30981,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
@@ -31064,7 +30993,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
@@ -31080,7 +31008,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
@@ -31113,7 +31040,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
"integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -31398,24 +31324,10 @@
"postcss": "^8.2.14"
}
},
- "node_modules/postcss-nested/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
- "license": "MIT",
- "dependencies": {
- "cssesc": "^3.0.0",
- "util-deprecate": "^1.0.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/postcss-nesting": {
"version": "12.1.5",
"resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.1.5.tgz",
"integrity": "sha512-N1NgI1PDCiAGWPTYrwqm8wpjv0bgDmkYHH72pNsqTCv9CObxjxftdYu6AKtGN+pnJa7FQjMm3v4sp8QJbFsYdQ==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -31439,24 +31351,10 @@
"postcss": "^8.4"
}
},
- "node_modules/postcss-nesting/node_modules/postcss-selector-parser": {
+ "node_modules/postcss-selector-parser": {
"version": "6.1.2",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
"integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "cssesc": "^3.0.0",
- "util-deprecate": "^1.0.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/postcss-selector-parser": {
- "version": "6.0.10",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz",
- "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==",
"license": "MIT",
"dependencies": {
"cssesc": "^3.0.0",
@@ -31491,12 +31389,12 @@
}
},
"node_modules/posthog-js": {
- "version": "1.285.0",
- "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.285.0.tgz",
- "integrity": "sha512-rNpxWoqTywb412YcTMeLk4qvWAGkoMO5SLgASyaqulLrPCuDGU0Go53seKiIaEEvHY8jJHL5NGnnVVjErSk6OA==",
+ "version": "1.288.0",
+ "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.288.0.tgz",
+ "integrity": "sha512-KOeF8PK/zxBuFB4b3FVkj5JxSWAfSOrfDVvWj5VrJNBGYqr8igDbAl10huFv9NB4/K9XeIWQ7AzPPGV4D3lbEA==",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
- "@posthog/core": "1.5.0",
+ "@posthog/core": "1.5.1",
"core-js": "^3.38.1",
"fflate": "^0.4.8",
"preact": "^10.19.3",
@@ -31530,7 +31428,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 0.8.0"
@@ -31670,7 +31567,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
"integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kleur": "^3.0.3",
@@ -32054,7 +31950,6 @@
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz",
"integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.3.1"
@@ -32125,12 +32020,12 @@
}
},
"node_modules/qs": {
- "version": "6.14.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
- "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
+ "version": "6.13.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
+ "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
"license": "BSD-3-Clause",
"dependencies": {
- "side-channel": "^1.1.0"
+ "side-channel": "^1.0.6"
},
"engines": {
"node": ">=0.6"
@@ -32168,7 +32063,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/queue": {
@@ -32226,34 +32120,30 @@
}
},
"node_modules/raw-body": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.1.tgz",
- "integrity": "sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==",
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
+ "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
"license": "MIT",
"dependencies": {
"bytes": "3.1.2",
"http-errors": "2.0.0",
- "iconv-lite": "0.7.0",
+ "iconv-lite": "0.4.24",
"unpipe": "1.0.0"
},
"engines": {
- "node": ">= 0.10"
+ "node": ">= 0.8"
}
},
"node_modules/raw-body/node_modules/iconv-lite": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
- "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"license": "MIT",
"dependencies": {
- "safer-buffer": ">= 2.1.2 < 3.0.0"
+ "safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
"node": ">=0.10.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
}
},
"node_modules/rc": {
@@ -32964,7 +32854,6 @@
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz",
"integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"find-up": "^4.1.0",
@@ -32982,7 +32871,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
@@ -32996,21 +32884,18 @@
"version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
- "dev": true,
"license": "ISC"
},
"node_modules/read-pkg-up/node_modules/json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "dev": true,
"license": "MIT"
},
"node_modules/read-pkg-up/node_modules/locate-path": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
@@ -33023,7 +32908,6 @@
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
"integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"hosted-git-info": "^2.1.4",
@@ -33036,7 +32920,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
@@ -33052,7 +32935,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
@@ -33065,7 +32947,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
@@ -33084,7 +32965,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
"integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/normalize-package-data": "^2.4.0",
@@ -33100,7 +32980,6 @@
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",
"integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=8"
@@ -33110,7 +32989,6 @@
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver"
@@ -33120,7 +32998,6 @@
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
"integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=8"
@@ -33291,7 +33168,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
"integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^3.0.2",
@@ -33508,14 +33384,12 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
"integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==",
- "dev": true,
"license": "ISC"
},
"node_modules/repeat-element": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz",
"integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -33525,7 +33399,6 @@
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10"
@@ -33575,7 +33448,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
- "dev": true,
"license": "ISC"
},
"node_modules/requireindex": {
@@ -33591,7 +33463,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/resend": {
@@ -33654,7 +33525,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
"integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"resolve-from": "^5.0.0"
@@ -33667,7 +33537,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
"integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -33677,7 +33546,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -33697,7 +33565,6 @@
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
"integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==",
"deprecated": "https://github.com/lydell/resolve-url#deprecated",
- "dev": true,
"license": "MIT"
},
"node_modules/resolve.exports": {
@@ -33747,7 +33614,6 @@
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.12"
@@ -33853,7 +33719,6 @@
"version": "4.8.5",
"resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz",
"integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": "6.* || >= 7.*"
@@ -33992,7 +33857,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
"integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ret": "~0.1.10"
@@ -34026,7 +33890,6 @@
"resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz",
"integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==",
"deprecated": "some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added",
- "dev": true,
"license": "MIT",
"dependencies": {
"@cnakazawa/watch": "^1.0.3",
@@ -34050,7 +33913,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
"integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"micromatch": "^3.1.4",
@@ -34061,7 +33923,6 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
"integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-flatten": "^1.1.0",
@@ -34083,7 +33944,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -34096,7 +33956,6 @@
"version": "6.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz",
"integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"nice-try": "^1.0.4",
@@ -34113,7 +33972,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
"integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cross-spawn": "^6.0.0",
@@ -34132,7 +33990,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
"integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^2.0.1",
@@ -34148,7 +34005,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -34161,7 +34017,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
"integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"pump": "^3.0.0"
@@ -34174,14 +34029,12 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true,
"license": "MIT"
},
"node_modules/sane/node_modules/is-extendable": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -34191,7 +34044,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
@@ -34204,7 +34056,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -34217,7 +34068,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -34227,7 +34077,6 @@
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
"integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-diff": "^4.0.0",
@@ -34252,7 +34101,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
"integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"remove-trailing-separator": "^1.0.1"
@@ -34265,7 +34113,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
"integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"path-key": "^2.0.0"
@@ -34278,7 +34125,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
"integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -34288,7 +34134,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz",
"integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"end-of-stream": "^1.1.0",
@@ -34299,7 +34144,6 @@
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver"
@@ -34309,7 +34153,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
"integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"shebang-regex": "^1.0.0"
@@ -34322,7 +34165,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
"integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -34332,7 +34174,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
"integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^3.0.0",
@@ -34346,7 +34187,6 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"isexe": "^2.0.0"
@@ -34379,7 +34219,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz",
"integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"xmlchars": "^2.2.0"
@@ -34462,40 +34301,66 @@
"license": "APACHEv2"
},
"node_modules/send": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
- "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
+ "version": "0.19.0",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
+ "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
"license": "MIT",
"dependencies": {
- "debug": "^4.3.5",
- "encodeurl": "^2.0.0",
- "escape-html": "^1.0.3",
- "etag": "^1.8.1",
- "fresh": "^2.0.0",
- "http-errors": "^2.0.0",
- "mime-types": "^3.0.1",
- "ms": "^2.1.3",
- "on-finished": "^2.4.1",
- "range-parser": "^1.2.1",
- "statuses": "^2.0.1"
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "1.2.0",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "0.5.2",
+ "http-errors": "2.0.0",
+ "mime": "1.6.0",
+ "ms": "2.1.3",
+ "on-finished": "2.4.1",
+ "range-parser": "~1.2.1",
+ "statuses": "2.0.1"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/send/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/send/node_modules/debug/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/send/node_modules/encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
}
},
"node_modules/serve-static": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
- "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",
+ "version": "1.16.2",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
+ "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
"license": "MIT",
"dependencies": {
- "encodeurl": "^2.0.0",
- "escape-html": "^1.0.3",
- "parseurl": "^1.3.3",
- "send": "^1.2.0"
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "0.19.0"
},
"engines": {
- "node": ">= 18"
+ "node": ">= 0.8.0"
}
},
"node_modules/set-blocking": {
@@ -34560,7 +34425,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
"integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^2.0.1",
@@ -34576,7 +34440,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -34589,7 +34452,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -34599,7 +34461,6 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
@@ -34652,7 +34513,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz",
"integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==",
- "dev": true,
"license": "MIT",
"optional": true
},
@@ -34932,7 +34792,6 @@
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
"integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"base": "^0.11.1",
@@ -34952,7 +34811,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
"integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"define-property": "^1.0.0",
@@ -34967,7 +34825,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
@@ -34980,7 +34837,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
"integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.2.0"
@@ -34993,14 +34849,12 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true,
"license": "MIT"
},
"node_modules/snapdragon-util/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -35013,7 +34867,6 @@
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "2.0.0"
@@ -35023,7 +34876,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -35036,7 +34888,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -35049,7 +34900,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -35063,7 +34913,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -35073,14 +34922,12 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true,
"license": "MIT"
},
"node_modules/snapdragon/node_modules/source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -35307,7 +35154,6 @@
"resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
"integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
"deprecated": "See https://github.com/lydell/source-map-resolve#deprecated",
- "dev": true,
"license": "MIT",
"dependencies": {
"atob": "^2.1.2",
@@ -35341,7 +35187,6 @@
"resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz",
"integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==",
"deprecated": "See https://github.com/lydell/source-map-url#deprecated",
- "dev": true,
"license": "MIT"
},
"node_modules/space-separated-tokens": {
@@ -35411,7 +35256,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
"integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^3.0.0"
@@ -35424,7 +35268,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/ssri": {
@@ -35579,7 +35422,6 @@
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
"integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"escape-string-regexp": "^2.0.0"
@@ -35592,7 +35434,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -35612,7 +35453,6 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
"integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"define-property": "^0.2.5",
@@ -35626,7 +35466,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -35639,7 +35478,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -35650,9 +35488,9 @@
}
},
"node_modules/statuses": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
- "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
"license": "MIT",
"engines": {
"node": ">= 0.8"
@@ -35762,7 +35600,6 @@
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
"integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"char-regex": "^1.0.2",
@@ -36021,7 +35858,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
"integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -36031,7 +35867,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
"integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -36050,7 +35885,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -36302,7 +36136,6 @@
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
"integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
- "dev": true,
"license": "MIT"
},
"node_modules/tailwind-merge": {
@@ -36319,7 +36152,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tailwind-scrollbar/-/tailwind-scrollbar-2.1.0.tgz",
"integrity": "sha512-zpvY5mDs0130YzYjZKBiDaw32rygxk5RyJ4KmeHjGnwkvbjm/PszON1m4Bbt2DkMRIXlXsfNevykAESgURN4KA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12.13.0"
@@ -36332,7 +36164,6 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/tailwind-scrollbar-hide/-/tailwind-scrollbar-hide-1.3.1.tgz",
"integrity": "sha512-eUAvPTltKnAGHbCBRpOk5S7+UZTkFZgDKmZLZ6jZXXs4V7mRXvwshBjeMwrv3vmiWqm3IGEDFVKzUSm1JuoXKw==",
- "dev": true,
"license": "MIT",
"peerDependencies": {
"tailwindcss": ">=3.0.0 || >= 4.0.0 || >= 4.0.0-beta.8 || >= 4.0.0-alpha.20"
@@ -36405,19 +36236,6 @@
"node": ">= 6"
}
},
- "node_modules/tailwindcss/node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
- "license": "MIT",
- "dependencies": {
- "cssesc": "^3.0.0",
- "util-deprecate": "^1.0.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/tar": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz",
@@ -36558,7 +36376,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
"integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
- "dev": true,
"license": "ISC",
"dependencies": {
"@istanbuljs/schema": "^0.1.2",
@@ -36573,7 +36390,6 @@
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -36585,7 +36401,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -36606,7 +36421,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -36619,7 +36433,6 @@
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
"integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true,
"license": "MIT"
},
"node_modules/thenify": {
@@ -36653,7 +36466,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz",
"integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==",
- "dev": true,
"license": "MIT"
},
"node_modules/throttleit": {
@@ -36825,18 +36637,26 @@
"integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==",
"license": "MIT"
},
+ "node_modules/tmp": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.5.tgz",
+ "integrity": "sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.14"
+ }
+ },
"node_modules/tmpl": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
"integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/to-object-path": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
"integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
@@ -36849,14 +36669,12 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true,
"license": "MIT"
},
"node_modules/to-object-path/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -36869,7 +36687,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
"integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"define-property": "^2.0.2",
@@ -36922,7 +36739,6 @@
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
"integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"psl": "^1.1.33",
@@ -36938,7 +36754,6 @@
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
"integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 4.0.0"
@@ -37780,6 +37595,34 @@
"zustand": "^4.3.2"
}
},
+ "node_modules/tunnel-rat/node_modules/zustand": {
+ "version": "4.5.7",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
+ "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
+ "license": "MIT",
+ "dependencies": {
+ "use-sync-external-store": "^1.2.2"
+ },
+ "engines": {
+ "node": ">=12.7.0"
+ },
+ "peerDependencies": {
+ "@types/react": ">=16.8",
+ "immer": ">=9.0.6",
+ "react": ">=16.8"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "immer": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/turbo": {
"version": "1.13.4",
"resolved": "https://registry.npmjs.org/turbo/-/turbo-1.13.4.tgz",
@@ -37892,7 +37735,6 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
"license": "MIT",
"dependencies": {
"prelude-ls": "^1.2.1"
@@ -37905,7 +37747,6 @@
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -37924,14 +37765,13 @@
}
},
"node_modules/type-is": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
- "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
"license": "MIT",
"dependencies": {
- "content-type": "^1.0.5",
- "media-typer": "^1.1.0",
- "mime-types": "^3.0.0"
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
},
"engines": {
"node": ">= 0.6"
@@ -38024,7 +37864,6 @@
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
- "dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
@@ -38175,7 +38014,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
"integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-union": "^3.1.0",
@@ -38191,7 +38029,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -38397,7 +38234,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
"integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"has-value": "^0.3.1",
@@ -38411,7 +38247,6 @@
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
"integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"get-value": "^2.0.3",
@@ -38426,7 +38261,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
"integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isarray": "1.0.0"
@@ -38439,7 +38273,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
"integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -38449,7 +38282,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/untildify": {
@@ -38576,7 +38408,6 @@
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
"integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==",
"deprecated": "Please see https://github.com/lydell/urix#deprecated",
- "dev": true,
"license": "MIT"
},
"node_modules/url": {
@@ -38596,7 +38427,6 @@
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"querystringify": "^2.1.1",
@@ -38613,7 +38443,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -38662,6 +38491,15 @@
}
}
},
+ "node_modules/use-stick-to-bottom": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/use-stick-to-bottom/-/use-stick-to-bottom-1.1.1.tgz",
+ "integrity": "sha512-JkDp0b0tSmv7HQOOpL1hT7t7QaoUBXkq045WWWOFDTlLGRzgIIyW7vyzOIJzY7L2XVIG7j1yUxeDj2LHm9Vwng==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
"node_modules/use-sync-external-store": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
@@ -38739,7 +38577,6 @@
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz",
"integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==",
- "dev": true,
"license": "ISC",
"dependencies": {
"@types/istanbul-lib-coverage": "^2.0.1",
@@ -38754,7 +38591,6 @@
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
- "dev": true,
"license": "MIT"
},
"node_modules/validate-npm-package-license": {
@@ -39410,7 +39246,6 @@
"resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz",
"integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==",
"deprecated": "Use your platform's native performance.now() and performance.timeOrigin.",
- "dev": true,
"license": "MIT",
"dependencies": {
"browser-process-hrtime": "^1.0.0"
@@ -39426,7 +39261,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz",
"integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"xml-name-validator": "^3.0.0"
@@ -39459,7 +39293,6 @@
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
"integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"makeerror": "1.0.12"
@@ -39514,7 +39347,6 @@
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz",
"integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=10.4"
@@ -39524,7 +39356,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",
"integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"iconv-lite": "0.4.24"
@@ -39534,7 +39365,6 @@
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
@@ -39547,7 +39377,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",
"integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==",
- "dev": true,
"license": "MIT"
},
"node_modules/whatwg-url": {
@@ -39649,7 +39478,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/which-typed-array": {
@@ -39730,7 +39558,6 @@
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
"integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -39900,7 +39727,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz",
"integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
- "dev": true,
"license": "Apache-2.0"
},
"node_modules/xml2js": {
@@ -39929,7 +39755,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
"integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
- "dev": true,
"license": "MIT"
},
"node_modules/xmlhttprequest-ssl": {
@@ -40100,9 +39925,9 @@
}
},
"node_modules/zod-to-json-schema": {
- "version": "3.24.6",
- "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.6.tgz",
- "integrity": "sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==",
+ "version": "3.24.3",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.3.tgz",
+ "integrity": "sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A==",
"license": "ISC",
"peerDependencies": {
"zod": "^3.24.1"
@@ -40121,20 +39946,18 @@
}
},
"node_modules/zustand": {
- "version": "4.5.7",
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
- "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.8.tgz",
+ "integrity": "sha512-gyPKpIaxY9XcO2vSMrLbiER7QMAMGOQZVRdJ6Zi782jkbzZygq5GI9nG8g+sMgitRtndwaBSl7uiqC49o1SSiw==",
"license": "MIT",
- "dependencies": {
- "use-sync-external-store": "^1.2.2"
- },
"engines": {
- "node": ">=12.7.0"
+ "node": ">=12.20.0"
},
"peerDependencies": {
- "@types/react": ">=16.8",
+ "@types/react": ">=18.0.0",
"immer": ">=9.0.6",
- "react": ">=16.8"
+ "react": ">=18.0.0",
+ "use-sync-external-store": ">=1.2.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -40145,6 +39968,9 @@
},
"react": {
"optional": true
+ },
+ "use-sync-external-store": {
+ "optional": true
}
}
},
@@ -40710,7 +40536,7 @@
"@slack/bolt": "~4.4.0",
"@slack/oauth": "~3.0.3",
"@slack/web-api": "~7.10.0",
- "ai": "5.0.86",
+ "ai": "5.0.87",
"zod": "^3.25.76"
},
"devDependencies": {
@@ -40806,7 +40632,7 @@
"react-phone-number-input": "^3.3.9",
"remeda": "^1.2.0",
"tiny-invariant": "^1.2.0",
- "zustand": "^4.3.0"
+ "zustand": "^5.0.8"
},
"devDependencies": {
"@types/lodash.get": "^4.4.7",
@@ -40861,7 +40687,7 @@
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@trigger.dev/sdk": "3.3.12",
- "ai": "5.0.86",
+ "ai": "5.0.87",
"nanoid": "5.0.4",
"resend": "^3.1.0",
"zod": "^3.25.76"
diff --git a/package.json b/package.json
index 823a7885ea..0b38c6ac3e 100755
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"npm-run-all": "^4.1.5",
+ "patch-package": "^8.0.1",
"postcss-nesting": "12.1.5",
"prettier": "^2.8.0",
"rimraf": "^5.0.5",
@@ -62,6 +63,7 @@
"lint": "turbo run lint",
"novu:sync": "npx novu@latest sync --bridge-url https://app.carbon.ms/api/novu --secret-key $NOVU_SECRET_KEY --api-url https://api.novu.co",
"postdb:build": "run-s generate:types generate:swagger",
+ "postinstall": "patch-package",
"predb:build": "tsx scripts/setup-env-files.ts",
"prepare": "npx husky install",
"setup": "turbo run setup",
diff --git a/packages/database/supabase/config.toml b/packages/database/supabase/config.toml
index 50f7994622..92e9064a93 100644
--- a/packages/database/supabase/config.toml
+++ b/packages/database/supabase/config.toml
@@ -177,3 +177,14 @@ entrypoint = "./functions/chat/index.ts"
# Specifies static files to be bundled with the function. Supports glob patterns.
# For example, if you want to serve static HTML pages in your function:
# static_files = [ "./functions/chat/*.html" ]
+
+[functions.transcription]
+enabled = true
+verify_jwt = true
+import_map = "./functions/transcription/deno.json"
+# Uncomment to specify a custom file path to the entrypoint.
+# Supported file extensions are: .ts, .js, .mjs, .jsx, .tsx
+entrypoint = "./functions/transcription/index.ts"
+# Specifies static files to be bundled with the function. Supports glob patterns.
+# For example, if you want to serve static HTML pages in your function:
+# static_files = [ "./functions/transcription/*.html" ]
diff --git a/packages/database/supabase/functions/chat/LICENSE b/packages/database/supabase/functions/chat/LICENSE
new file mode 100644
index 0000000000..3638d7346a
--- /dev/null
+++ b/packages/database/supabase/functions/chat/LICENSE
@@ -0,0 +1,663 @@
+Copyright (c) 2023-present Midday Labs AB.
+
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+
+Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+ Preamble
+
+The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
+
+When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+0. Definitions.
+
+"This License" refers to version 3 of the GNU Affero General Public License.
+
+"Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+"The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+1. Source Code.
+
+The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+The Corresponding Source for a work in source code form is that
+same work.
+
+2. Basic Permissions.
+
+All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+4. Conveying Verbatim Copies.
+
+You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+5. Conveying Modified Source Versions.
+
+You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+6. Conveying Non-Source Forms.
+
+You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+"Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+7. Additional Terms.
+
+"Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+8. Termination.
+
+You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+9. Acceptance Not Required for Having Copies.
+
+You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+10. Automatic Licensing of Downstream Recipients.
+
+Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+11. Patents.
+
+A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+12. No Surrender of Others' Freedom.
+
+If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+13. Remote Network Interaction; Use with the GNU General Public License.
+
+Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+14. Revised Versions of this License.
+
+The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+15. Disclaimer of Warranty.
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+16. Limitation of Liability.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+17. Interpretation of Sections 15 and 16.
+
+If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<https://www.gnu.org/licenses/>.
\ No newline at end of file
diff --git a/packages/database/supabase/functions/chat/agents/main.ts b/packages/database/supabase/functions/chat/agents/main.ts
index c5cbee42d7..c3f8e1d83e 100644
--- a/packages/database/supabase/functions/chat/agents/main.ts
+++ b/packages/database/supabase/functions/chat/agents/main.ts
@@ -1,11 +1,8 @@
-import { openai } from "npm:@ai-sdk/[email protected]";
-
-
+import { openai } from "../../lib/ai/openai.ts";
import { purchasingAgent } from "./purchasing.ts";
import { createAgent } from "./shared/agent.ts";
import { formatContextForLLM } from "./shared/prompts.ts";
-
export const mainAgent = createAgent({
name: "triage",
model: openai("gpt-4o-mini"),
diff --git a/packages/database/supabase/functions/chat/agents/purchasing.ts b/packages/database/supabase/functions/chat/agents/purchasing.ts
index 03a2d5461d..122ed1e90d 100644
--- a/packages/database/supabase/functions/chat/agents/purchasing.ts
+++ b/packages/database/supabase/functions/chat/agents/purchasing.ts
@@ -1,23 +1,49 @@
-import { openai } from "npm:@ai-sdk/[email protected]";
+import { openai } from "../../lib/ai/openai.ts";
+import { getPartTool } from "../tools/parts.ts";
+import { createPurchaseOrderTool } from "../tools/purchasing.ts";
import {
- createPurchaseOrderTool,
- getPartTool,
getSupplierForPartsTool,
getSupplierTool,
-} from "../tools/purchasing.ts";
+} from "../tools/suppliers.ts";
import { createAgent } from "./shared/agent.ts";
-import {
- COMMON_AGENT_RULES,
- formatContextForLLM,
-} from "./shared/prompts.ts";
+import { COMMON_AGENT_RULES, formatContextForLLM } from "./shared/prompts.ts";
export const purchasingAgent = createAgent({
name: "purchasing",
model: openai("gpt-4o-mini"),
temperature: 0.3,
- instructions: (
- ctx,
- ) => `You are a purchasing specialist for ${ctx.companyName}. Create purchase orders or get quotes from suppliers.
+ instructions: (ctx) => `You are a purchasing specialist for ${
+ ctx.companyName
+ }. Create purchase orders or get quotes from suppliers.
+
+When handling purchase order requests:
+1. First identify the part details (including quantities and measurements)
+2. Use getPart to look up the part ID
+3. If no supplier is explicitly specified in the prompt:
+ - Use getSupplierForParts to get recommended suppliers
+ - Ask the user to confirm which supplier they want to use
+4. Only proceed with createPurchaseOrder when both part and supplier are confirmed
+5. If there are multiple options for a part or supplier, ask the user to confirm which one they want to use
+6. If there are no options, ask the user for clarification
+
+For example:
+- If user says "create a purchase order for 5lb of 1/4" steel":
+ 1. First look up the part ID for "1/4" steel"
+ 2. Then ask user to specify a supplier, potentially offering suggestions
+ 3. Only create the PO once supplier is confirmed
+
+- If user says "create a purchase order for 5lb of 1/4" steel from MetalCorp":
+ 1. Look up part ID for "1/4" steel"
+ 2. Look up supplier ID for "MetalCorp"
+ 3. Create the PO with both IDs
+
+Key capabilities:
+- Create and update purchase orders
+- Search for suppliers and parts
+- Suggest suppliers for parts
+- Search for existing purchase orders
+- Search for open purchase orders
+- Search for purchase order history
<background-data>
${formatContextForLLM(ctx)}
@@ -29,13 +55,9 @@ ${COMMON_AGENT_RULES}
- For direct queries: lead with results, add context
</guidelines>`,
tools: {
- // @ts-expect-error - version mismatch between [email protected] and @ai-sdk-tools/[email protected]
getPart: getPartTool,
- // @ts-expect-error - version mismatch between [email protected] and @ai-sdk-tools/[email protected]
getSupplier: getSupplierTool,
- // @ts-expect-error - version mismatch between [email protected] and @ai-sdk-tools/[email protected]
getSupplierForParts: getSupplierForPartsTool,
- // @ts-expect-error - version mismatch between [email protected] and @ai-sdk-tools/[email protected]
createPurchaseOrder: createPurchaseOrderTool,
},
maxTurns: 10,
diff --git a/packages/database/supabase/functions/chat/agents/search.ts b/packages/database/supabase/functions/chat/agents/search.ts
new file mode 100644
index 0000000000..77123d6c5d
--- /dev/null
+++ b/packages/database/supabase/functions/chat/agents/search.ts
@@ -0,0 +1,31 @@
+import { openai } from "../../lib/ai/openai.ts";
+import { webSearchTool } from "../tools/search.ts";
+import { purchasingAgent } from "./purchasing.ts";
+import { createAgent } from "./shared/agent.ts";
+import { COMMON_AGENT_RULES, formatContextForLLM } from "./shared/prompts.ts";
+
+export const generalAgent = createAgent({
+ name: "general",
+ model: openai("gpt-4o"),
+ temperature: 0.8,
+ instructions: (ctx) => `You are a helpful assistant for ${
+ ctx.companyName
+ }. Handle general questions and web searches.
+
+<background-data>
+${formatContextForLLM(ctx)}
+</background-data>
+
+${COMMON_AGENT_RULES}
+
+<capabilities>
+- Answer simple questions directly
+- Use webSearch for current information, news, external data
+- Route to specialists for business-specific data
+</capabilities>`,
+ tools: {
+ webSearch: webSearchTool,
+ },
+ handoffs: [purchasingAgent],
+ maxTurns: 5,
+});
diff --git a/packages/database/supabase/functions/chat/agents/shared/agent.ts b/packages/database/supabase/functions/chat/agents/shared/agent.ts
index 9e22905c44..e071402a41 100644
--- a/packages/database/supabase/functions/chat/agents/shared/agent.ts
+++ b/packages/database/supabase/functions/chat/agents/shared/agent.ts
@@ -1,11 +1,10 @@
import { Agent, type AgentConfig } from "npm:@ai-sdk-tools/[email protected]";
import { UpstashProvider } from "npm:@ai-sdk-tools/[email protected]/upstash";
-import { openai } from "npm:@ai-sdk/[email protected]";
import { Redis } from "npm:@upstash/[email protected]";
-import { ChatContext } from "./context.ts";
+import { openai } from "../../../lib/ai/openai.ts";
+import type { ChatContext } from "./context.ts";
import { PROFILE_PROMPT, SUGGESTION_PROMPT, TITLE_PROMPT } from "./prompts.ts";
-
export const memoryProvider = new UpstashProvider(
new Redis({
url: Deno.env.get("UPSTASH_REDIS_REST_URL") ?? "",
@@ -45,4 +44,4 @@ export const createAgent = (config: AgentConfig<ChatContext>) => {
},
},
});
-};
\ No newline at end of file
+};
diff --git a/packages/database/supabase/functions/chat/agents/shared/prompts.ts b/packages/database/supabase/functions/chat/agents/shared/prompts.ts
index 5a540d493e..170b5a44e2 100644
--- a/packages/database/supabase/functions/chat/agents/shared/prompts.ts
+++ b/packages/database/supabase/functions/chat/agents/shared/prompts.ts
@@ -81,8 +81,6 @@ What NOT to suggest:
</rules>
</instructions>`;
-
-
export function formatContextForLLM(context: ChatContext): string {
return `<company_info>
<current_date>${context.currentDateTime}</current_date>
@@ -104,4 +102,3 @@ export const COMMON_AGENT_RULES = `<behavior_rules>
- When presenting repeated structured data (lists of items, multiple entries, time series), always use markdown tables
- Tables make data scannable and easier to compare - use them for any data with 2+ rows
</behavior_rules>`;
-
diff --git a/packages/database/supabase/functions/chat/tools/parts.ts b/packages/database/supabase/functions/chat/tools/parts.ts
index e688c9e450..9dd43ba9bd 100644
--- a/packages/database/supabase/functions/chat/tools/parts.ts
+++ b/packages/database/supabase/functions/chat/tools/parts.ts
@@ -1,5 +1,5 @@
import "jsr:@supabase/functions-js/edge-runtime.d.ts";
-import { tool } from "npm:[email protected]";
+import { tool } from "npm:[email protected]";
import z from "npm:zod@^3.24.1/v3";
import { ChatContext } from "../agents/shared/context.ts";
diff --git a/packages/database/supabase/functions/chat/tools/purchasing.ts b/packages/database/supabase/functions/chat/tools/purchasing.ts
index 62b625a265..9cb4baeb44 100644
--- a/packages/database/supabase/functions/chat/tools/purchasing.ts
+++ b/packages/database/supabase/functions/chat/tools/purchasing.ts
@@ -1,6 +1,6 @@
import { Transaction } from "https://esm.sh/v135/[email protected]/dist/cjs/kysely.d.ts";
import "jsr:@supabase/functions-js/edge-runtime.d.ts";
-import { tool } from "npm:[email protected]";
+import { tool } from "npm:[email protected]";
import z from "npm:zod@^3.24.1/v3";
import { getCurrencyByCode } from "../../lib/api/accounting.ts";
import {
@@ -246,10 +246,3 @@ export const createPurchaseOrderTool = tool({
},
});
-// Re-export tools from other modules for convenience
-export { getPartTool } from "./parts.ts";
-export {
- getSupplierForPartsTool,
- getSupplierTool
-} from "./suppliers.ts";
-
diff --git a/packages/database/supabase/functions/chat/tools/search.ts b/packages/database/supabase/functions/chat/tools/search.ts
new file mode 100644
index 0000000000..779ae4cadc
--- /dev/null
+++ b/packages/database/supabase/functions/chat/tools/search.ts
@@ -0,0 +1,87 @@
+import { generateText, stepCountIs, Tool, tool } from "npm:[email protected]";
+import z from "npm:zod@^3.24.1/v3";
+import { openai } from "../../lib/ai/openai.ts";
+import { ChatContext } from "../agents/shared/context.ts";
+
+interface SourceItem {
+ url: string;
+ title: string;
+ publishedDate?: string;
+}
+
+// Static tool that uses context at execution time via experimental_context
+export const webSearchTool = tool({
+ description:
+ "Search the web for current information, prices, news, and external data. Returns concise factual data for analysis.",
+ inputSchema: z.object({
+ query: z
+ .string()
+ .describe("Search query (2-4 words max for faster results)"),
+ }),
+ execute: async ({ query }, executionOptions) => {
+ const appContext = executionOptions.experimental_context as ChatContext;
+
+ try {
+ const result = await generateText({
+ model: openai("gpt-4o-mini"),
+ prompt: `<search-request>
+ Search for: ${query}
+ Current date: ${appContext.currentDateTime}
+ Focus on recent information.
+ </search-request>`,
+ stopWhen: stepCountIs(1),
+ tools: {
+ webSearch: openai.tools.webSearch({
+ searchContextSize: "low",
+ userLocation: {
+ type: "approximate" as const,
+ country: appContext.country,
+ timezone: appContext.timezone,
+ },
+ }) as Tool,
+ },
+ temperature: 0,
+ });
+
+ const rawSources: Array<{ url: string; title?: string }> = [];
+
+ if (result.steps?.[0]?.content) {
+ const content = result.steps[0].content;
+ if (Array.isArray(content)) {
+ for (const item of content) {
+ if (item.type === "source" && item.sourceType === "url") {
+ rawSources.push({
+ url: item.url,
+ title: item.title || item.url,
+ });
+ }
+ }
+ }
+ }
+
+ const formattedSources: SourceItem[] = rawSources
+ .slice(0, 3)
+ .map((source) => ({
+ url: source.url,
+ title: source.title || source.url,
+ }));
+
+ const contextData = result.text || "";
+
+ return {
+ query,
+ found: formattedSources.length,
+ context: contextData,
+ sources: formattedSources,
+ };
+ } catch (error) {
+ return {
+ query,
+ found: 0,
+ context: null,
+ sources: [],
+ error: error instanceof Error ? error.message : "Search failed",
+ };
+ }
+ },
+});
diff --git a/packages/database/supabase/functions/chat/tools/suppliers.ts b/packages/database/supabase/functions/chat/tools/suppliers.ts
index e98e54de43..86c2769d06 100644
--- a/packages/database/supabase/functions/chat/tools/suppliers.ts
+++ b/packages/database/supabase/functions/chat/tools/suppliers.ts
@@ -1,6 +1,6 @@
import SupabaseClient from "https://esm.sh/v135/@supabase/[email protected]/dist/module/SupabaseClient.d.ts";
import "jsr:@supabase/functions-js/edge-runtime.d.ts";
-import { tool } from "npm:[email protected]";
+import { tool } from "npm:[email protected]";
import z from "npm:zod@^3.24.1/v3";
import { Database } from "../../lib/types.ts";
import { ChatContext } from "../agents/shared/context.ts";
diff --git a/packages/database/supabase/functions/lib/ai/openai.ts b/packages/database/supabase/functions/lib/ai/openai.ts
new file mode 100644
index 0000000000..4d6bb5ed73
--- /dev/null
+++ b/packages/database/supabase/functions/lib/ai/openai.ts
@@ -0,0 +1,5 @@
+import { createOpenAI } from "npm:@ai-sdk/[email protected]";
+
+export const openai = createOpenAI({
+ apiKey: Deno.env.get("OPENAI_API_KEY"),
+});
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 23c418ec3c..aacbab7ac3 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -46353,14 +46353,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["paymentCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["paymentCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
diff --git a/packages/database/supabase/functions/transcription/.npmrc b/packages/database/supabase/functions/transcription/.npmrc
new file mode 100644
index 0000000000..48c6388638
--- /dev/null
+++ b/packages/database/supabase/functions/transcription/.npmrc
@@ -0,0 +1,3 @@
+# Configuration for private npm package dependencies
+# For more information on using private registries with Edge Functions, see:
+# https://supabase.com/docs/guides/functions/import-maps#importing-from-private-registries
diff --git a/packages/database/supabase/functions/transcription/deno.json b/packages/database/supabase/functions/transcription/deno.json
new file mode 100644
index 0000000000..f6ca8454c5
--- /dev/null
+++ b/packages/database/supabase/functions/transcription/deno.json
@@ -0,0 +1,3 @@
+{
+ "imports": {}
+}
diff --git a/packages/database/supabase/functions/transcription/index.ts b/packages/database/supabase/functions/transcription/index.ts
new file mode 100644
index 0000000000..848c6ece8b
--- /dev/null
+++ b/packages/database/supabase/functions/transcription/index.ts
@@ -0,0 +1,123 @@
+import { serve } from "https://deno.land/[email protected]/http/server.ts";
+import SupabaseClient from "https://esm.sh/v135/@supabase/[email protected]/dist/module/SupabaseClient.d.ts";
+import { experimental_transcribe as transcribe } from "npm:[email protected]";
+import { z } from "npm:zod@^3.24.1";
+import { openai } from "../lib/ai/openai.ts";
+import { corsHeaders } from "../lib/headers.ts";
+import { getSupabase } from "../lib/supabase.ts";
+import { Database } from "../lib/types.ts";
+
+const transcriptionRequestSchema = z.object({
+ audio: z.string().describe("Base64 encoded audio data"),
+ mimeType: z.string().describe("MIME type of the audio file"),
+});
+
+serve(async (req: Request) => {
+ if (req.method === "OPTIONS") {
+ return new Response("ok", { headers: corsHeaders });
+ }
+
+ console.log({
+ function: "transcription",
+ });
+
+ let client: SupabaseClient<Database> | null = null;
+ let userId: string | null = null;
+ let companyId: string | null = null;
+
+ const authHeader = req.headers.get("Authorization");
+ const token = authHeader?.replace("Bearer ", "") ?? null;
+
+ if (token) {
+ client = getSupabase(token);
+ companyId = req.headers.get("x-company-id");
+
+ await client.auth.setSession({
+ access_token: token,
+ refresh_token: token,
+ });
+
+ const user = (await client.auth.getUser())?.data?.user;
+ if (user) {
+ userId = user.id;
+ }
+ }
+
+ if (!client || !companyId || !userId) {
+ return new Response("Unauthorized", {
+ headers: { ...corsHeaders, "Content-Type": "application/json" },
+ status: 401,
+ });
+ }
+
+ try {
+ // Parse and validate the request body
+ const body = await req.json();
+ const validationResult = transcriptionRequestSchema.safeParse(body);
+
+ if (!validationResult.success) {
+ return new Response(
+ JSON.stringify({ success: false, error: validationResult.error }),
+ {
+ headers: { ...corsHeaders, "Content-Type": "application/json" },
+ status: 400,
+ }
+ );
+ }
+
+ const { audio, mimeType } = validationResult.data;
+
+ console.log({
+ function: "transcription",
+ mimeType,
+ audioLength: audio.length,
+ });
+
+ // Convert base64 to Uint8Array
+ const audioBuffer = Uint8Array.from(atob(audio), (c) => c.charCodeAt(0));
+
+ // Create FormData for OpenAI API
+ const formData = new FormData();
+ const audioBlob = new Blob([audioBuffer], { type: mimeType });
+ formData.append("file", audioBlob, "audio.webm");
+ formData.append("model", "whisper-1");
+
+ const result = await transcribe({
+ model: openai.transcription("gpt-4o-mini-transcribe"),
+ audio: audioBuffer,
+ });
+
+ console.log({
+ function: "Audio transcription completed",
+ userId,
+ companyId,
+ transcriptLength: result.text.length,
+ });
+
+ return new Response(
+ JSON.stringify({
+ success: true,
+ text: result.text,
+ language: result.language,
+ }),
+ {
+ headers: { ...corsHeaders, "Content-Type": "application/json" },
+ status: 200,
+ }
+ );
+ } catch (error) {
+ console.error("Transcription failed:", error);
+
+ return new Response(
+ JSON.stringify({
+ success: false,
+ error: "Failed to transcribe audio",
+ message: error instanceof Error ? error.message : "Unknown error",
+ }),
+ {
+ headers: { ...corsHeaders, "Content-Type": "application/json" },
+ status: 500,
+ }
+ );
+ }
+});
diff --git a/packages/form/package.json b/packages/form/package.json
index 677dca86d7..98307a6280 100644
--- a/packages/form/package.json
+++ b/packages/form/package.json
@@ -24,7 +24,7 @@
"react-phone-number-input": "^3.3.9",
"remeda": "^1.2.0",
"tiny-invariant": "^1.2.0",
- "zustand": "^4.3.0"
+ "zustand": "^5.0.8"
},
"exports": {
".": "./src/index.tsx"
diff --git a/packages/form/src/ValidatedForm.tsx b/packages/form/src/ValidatedForm.tsx
index a5d87f0b73..7c88e77858 100644
--- a/packages/form/src/ValidatedForm.tsx
+++ b/packages/form/src/ValidatedForm.tsx
@@ -14,7 +14,7 @@ import React, {
useState,
} from "react";
import * as R from "remeda";
-import { z } from 'zod/v3';
+import type { z } from 'zod/v3';
import { useIsSubmitting, useIsValid } from "./hooks";
import type { MultiValueMap } from "./internal/MultiValueMap";
import { useMultiValueMap } from "./internal/MultiValueMap";
diff --git a/packages/react/src/Spinner.tsx b/packages/react/src/Spinner.tsx
index 0e190f338c..66457bd563 100644
--- a/packages/react/src/Spinner.tsx
+++ b/packages/react/src/Spinner.tsx
@@ -1,19 +1,19 @@
import type { ComponentProps } from "react";
import { cn } from "./utils/cn";
-const Spinner = ({ className, ...props }: ComponentProps<"svg">) => {
+const Spinner = ({ className, size = 24, ...props }: ComponentProps<"svg"> & { size?: number }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
- width="24"
- height="24"
+ width={size}
+ height={size}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
- className={cn("h-4 w-4 animate-spin", className)}
+ className={cn("animate-spin", className)}
{...props}
>
<path d="M21 12a9 9 0 1 1-6.219-8.56"></path>
diff --git a/packages/react/src/TextShimmer.tsx b/packages/react/src/TextShimmer.tsx
new file mode 100644
index 0000000000..8f0f0ae5f8
--- /dev/null
+++ b/packages/react/src/TextShimmer.tsx
@@ -0,0 +1,58 @@
+"use client";
+import { motion } from "framer-motion";
+import { memo, useMemo, type JSX } from "react";
+import { cn } from "./utils/cn";
+
+export type TextShimmerProps = {
+ children: string;
+ as?: React.ElementType;
+ className?: string;
+ duration?: number;
+ spread?: number;
+};
+
+function TextShimmerComponent({
+ children,
+ as: Component = "p",
+ className,
+ duration = 2,
+ spread = 2,
+}: TextShimmerProps) {
+ const MotionComponent = motion.create(
+ Component as keyof JSX.IntrinsicElements,
+ );
+
+ const dynamicSpread = useMemo(() => {
+ return children.length * spread;
+ }, [children, spread]);
+
+ return (
+ <MotionComponent
+ className={cn(
+ "relative inline-block bg-[length:250%_100%,auto] bg-clip-text",
+ "text-transparent [--base-color:#a1a1aa] [--base-gradient-color:#000]",
+ "[background-repeat:no-repeat,padding-box] [--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]",
+ "dark:[--base-color:#71717a] dark:[--base-gradient-color:#ffffff] dark:[--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]",
+ className,
+ )}
+ initial={{ backgroundPosition: "100% center" }}
+ animate={{ backgroundPosition: "0% center" }}
+ transition={{
+ repeat: Number.POSITIVE_INFINITY,
+ duration,
+ ease: "linear",
+ }}
+ style={
+ {
+ "--spread": `${dynamicSpread}px`,
+ backgroundImage:
+ "var(--bg), linear-gradient(var(--base-color), var(--base-color))",
+ } as React.CSSProperties
+ }
+ >
+ {children}
+ </MotionComponent>
+ );
+}
+
+export const TextShimmer = memo(TextShimmerComponent);
diff --git a/packages/react/src/index.tsx b/packages/react/src/index.tsx
index 454af846a4..d648ae64b3 100644
--- a/packages/react/src/index.tsx
+++ b/packages/react/src/index.tsx
@@ -284,6 +284,7 @@ import { Status } from "./Status";
import { Switch } from "./Switch";
import { Table, TableCaption, Tbody, Td, Tfoot, Th, Thead, Tr } from "./Table";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./Tabs";
+import { TextShimmer } from "./TextShimmer";
import type { TextareaProps } from "./Textarea";
import { Textarea } from "./Textarea";
import { Toaster, toast } from "./Toast";
@@ -546,9 +547,7 @@ export {
TabsList,
TabsTrigger,
Tbody,
- Td,
- Textarea,
- Tfoot,
+ Td, TextShimmer, Textarea, Tfoot,
Th,
Thead,
TimePicker,
@@ -573,7 +572,7 @@ export {
useModalCardType,
useModalDrawerType,
useOperatingSystem,
- useSidebar,
+ useSidebar
};
export type {
AvatarProps,
@@ -590,5 +589,6 @@ export type {
OperatingSystemPlatform,
Shortcut,
ShortcutDefinition,
- TextareaProps,
+ TextareaProps
};
+
diff --git a/patches/@ai-sdk-tools+store+1.0.8.patch b/patches/@ai-sdk-tools+store+1.0.8.patch
new file mode 100644
index 0000000000..7964eab61c
--- /dev/null
+++ b/patches/@ai-sdk-tools+store+1.0.8.patch
@@ -0,0 +1,26 @@
+diff --git a/node_modules/@ai-sdk-tools/store/dist/index.js b/node_modules/@ai-sdk-tools/store/dist/index.js
+index 12a5cd8..1eeb5cb 100644
+--- a/node_modules/@ai-sdk-tools/store/dist/index.js
++++ b/node_modules/@ai-sdk-tools/store/dist/index.js
+@@ -59,7 +59,7 @@ module.exports = __toCommonJS(index_exports);
+ // src/debug.ts
+ var DebugLogger = class {
+ constructor(options = {}) {
+- this.enabled = options.enabled ?? process.env.DEBUG === "true";
++ this.enabled = options.enabled ?? false;
+ this.prefix = options.prefix ?? "[Store]";
+ this.level = options.level ?? "warn";
+ }
+diff --git a/node_modules/@ai-sdk-tools/store/dist/index.mjs b/node_modules/@ai-sdk-tools/store/dist/index.mjs
+index a958868..342b36f 100644
+--- a/node_modules/@ai-sdk-tools/store/dist/index.mjs
++++ b/node_modules/@ai-sdk-tools/store/dist/index.mjs
+@@ -3,7 +3,7 @@
+ // src/debug.ts
+ var DebugLogger = class {
+ constructor(options = {}) {
+- this.enabled = options.enabled ?? process.env.DEBUG === "true";
++ this.enabled = options.enabled ?? false;
+ this.prefix = options.prefix ?? "[Store]";
+ this.level = options.level ?? "warn";
+ }