MCPcopy Create free account

hub / github.com/ahmad2b/canvas-callback / functions

Functions96 in github.com/ahmad2b/canvas-callback

↓ 109 callersFunctioncn
(...inputs: ClassValue[])
web/lib/utils.ts:5
↓ 8 callersFunctiongetMessageType
(message: Record<string, any>)
web/lib/convert_messages.ts:21
↓ 6 callersFunctionformatDate
(dateString: string)
web/components/trip-card.tsx:60
↓ 6 callersFunctionuseSidebar
()
web/components/ui/sidebar.tsx:41
↓ 4 callersFunctionuseCanvasContext
()
web/context/canvas-context.tsx:67
↓ 3 callersFunctioncreateClient
()
web/lib/langgraph-client.ts:3
↓ 3 callersFunctiontoggleActivity
(activity: string)
web/components/interrupts/activity-selector.tsx:160
↓ 2 callersFunctionextractChunkFields
( chunk: Record<string, any> | undefined )
web/context/utils.ts:76
↓ 2 callersFunctionextractInterruptData
(chunk: any)
web/context/action.tsx:19
↓ 2 callersFunctionextractStreamDataChunk
(chunk: any)
web/context/action.tsx:12
↓ 2 callersFunctionformatDateRange
()
web/components/ui/date-range-picker.tsx:83
↓ 2 callersFunctionreplaceOrInsertMessageChunk
( prevMessages: BaseMessage[], newMessageChunk: BaseMessageChunk )
web/context/utils.ts:7
↓ 2 callersFunctionscrollHorizontal
(direction: "left" | "right")
web/components/interrupts/activity-selector.tsx:181
↓ 2 callersFunctionshareToSocial
(platform: string)
web/components/trip-card.tsx:142
↓ 1 callersFunctionconverToBase64
(file: File)
web/lib/utils.ts:9
↓ 1 callersFunctionconvertToOpenAIFormat
(message: BaseMessage)
web/lib/convert_messages.ts:175
↓ 1 callersFunctioncopyLinkToClipboard
()
web/components/trip-card.tsx:88
↓ 1 callersFunctioncopyToClipboard
(value: string)
web/components/markdown-text.tsx:58
↓ 1 callersFunctioncreateTripData
(tripState: any)
web/lib/utils.ts:53
↓ 1 callersFunctionextractInterruptData
(thread: any)
web/lib/utils.ts:23
↓ 1 callersFunctionhandleResize
()
web/components/interrupts/date-selector.tsx:34
↓ 1 callersFunctioninitializeMap
()
web/components/interrupts/destination-selector.tsx:60
↓ 1 callersFunctionisJson
(str: string)
web/components/markdown-renderer.tsx:17
↓ 1 callersFunctionmergeContent
(existingContent: any, newContent: any)
web/context/utils.ts:36
↓ 1 callersFunctionrenderContent
()
web/components/markdown-renderer.tsx:27
↓ 1 callersFunctionselectSearchResult
(result: any)
web/components/interrupts/destination-selector.tsx:249
↓ 1 callersFunctionsendInterruptResponse
({ chatId, interrupt, setMessages, setInterrupt, command, agentState, setAgentState, }: Omit<AgentInput
web/context/action.tsx:41
↓ 1 callersFunctionsendMessage
({ chatId, messages, interrupt, setMessages, setInterrupt, }: Omit<AgentInput, "command">)
web/context/action.tsx:118
↓ 1 callersFunctionshareViaWebShare
()
web/components/trip-card.tsx:107
↓ 1 callersFunctionuseCopyToClipboard
({ copiedDuration = 3000, }: { copiedDuration?: number; } = {})
web/components/markdown-text.tsx:51
↓ 1 callersFunctionuseIsMobile
()
web/hooks/use-mobile.tsx:5
FunctionActivitySelector
({ interrupt, onSubmit, }: ActivitySelectorProps)
web/components/interrupts/activity-selector.tsx:148
FunctionAssistantMessage
()
web/components/thread.tsx:233
FunctionBranchPicker
({ className, ...rest })
web/components/thread.tsx:261
FunctionCalendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
web/components/ui/calendar.tsx:12
FunctionCanvasComponent
({ chatId, intialMessages, intialInterruptData, initialAgentState, }: CanvasComponentProps)
web/components/canvas-component.tsx:27
FunctionCanvasHiloopGuidePage
()
web/app/guide/page.tsx:20
FunctionCanvasHiloopLayout
({ children, }: { children: React.ReactNode; })
web/app/guide/layout.tsx:3
FunctionCanvasProvider
({ children }: CanvasProviderProps)
web/context/canvas-context.tsx:29
FunctionChatPage
()
web/app/(dashboard)/n/page.tsx:4
FunctionChatPage
({ params }: ChatPageProps)
web/app/(dashboard)/[chatId]/page.tsx:13
FunctionChatSidebar
()
web/components/chat-sidebar.tsx:18
FunctionCircleStopIcon
()
web/components/thread.tsx:297
FunctionCodeHeader
({ language, code })
web/components/markdown-text.tsx:30
FunctionComposer
()
web/components/thread.tsx:126
FunctionComposerAction
()
web/components/thread.tsx:142
FunctionContentComposerChatInterfaceComponent
({ chatId, messages, isStreaming, setMessages, setInterrupt, setIsStreaming, }: ContentComposerChatInter
web/components/chat.tsx:37
FunctionDashboardLayout
({ children, }: { children: React.ReactNode; })
web/app/(dashboard)/layout.tsx:5
FunctionDateRangePicker
({ dateRange, onDateRangeChange, showCompactCalendar = false, className, align = "start", numberOfMonths
web/components/ui/date-range-picker.tsx:26
FunctionDateSelector
({ interrupt, onSubmit }: DateSelectorProps)
web/components/interrupts/date-selector.tsx:18
FunctionDestinationSelector
({ interrupt, onSubmit, }: DestinationSelectorProps)
web/components/interrupts/destination-selector.tsx:23
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/components/ui/dialog.tsx:56
FunctionEditComposer
()
web/components/thread.tsx:209
FunctionError
({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; })
web/app/error.tsx:8
FunctionGenericHandler
({ interrupt, onSubmit }: GenericHandlerProps)
web/components/interrupts/generic-handler.tsx:14
FunctionGlobalError
({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; })
web/app/global-error.tsx:7
FunctionHandler
(props: unknown)
web/app/handler/[...stack]/page.tsx:4
FunctionHomePage
()
web/app/page.tsx:6
FunctionInterruptHandler
({ interrupt, onSubmit, }: InterruptHandlerProps)
web/components/interrupt-handler.tsx:14
FunctionLoading
()
web/app/loading.tsx:3
FunctionLoadingOverlay
()
web/components/ui/canvas.tsx:49
FunctionMarkdownRenderer
({ content, })
web/components/markdown-renderer.tsx:12
FunctionMarkdownTextImpl
()
web/components/markdown-text.tsx:18
FunctionNotFound
()
web/app/not-found.tsx:6
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
web/app/layout.tsx:30
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/components/ui/sheet.tsx:91
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/components/ui/sheet.tsx:77
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
web/components/ui/skeleton.tsx:3
FunctionThread
()
web/components/thread.tsx:22
FunctionThreadScrollToBottom
()
web/components/thread.tsx:57
FunctionThreadWelcome
()
web/components/thread.tsx:71
FunctionTripCard
({ trip: { activities, dates, destination }, onShare, }: TripCardProps)
web/components/trip-card.tsx:52
FunctionTripDialog
({ trip, open, onOpenChange }: TripDialogProps)
web/components/trip-dialog.tsx:14
FunctionTypingIndicator
()
web/components/thread.tsx:171
FunctionUserMessage
()
web/components/thread.tsx:179
Functionask_activities
(state: TravelState)
agent/main.py:39
Functionask_dates
(state: TravelState)
agent/main.py:29
Functionask_destination
(state: TravelState)
agent/main.py:19
Functioncode
({ node, inline, className, children, ...props }: any)
web/components/markdown-renderer.tsx:44
FunctionconvertLangchainMessages
(message)
web/lib/convert_messages.ts:35
Functionfind_trips
(state: TravelState)
agent/main.py:49
FunctionhandleKeyDown
(event: KeyboardEvent)
web/components/ui/sidebar.tsx:101
FunctionhandleMapSearch
(e: React.FormEvent)
web/components/interrupts/destination-selector.tsx:230
FunctionhandleMouseMove
(e: MouseEvent)
web/components/chat.tsx:135
FunctionhandleNewChat
()
web/components/chat-sidebar.tsx:24
FunctionhandleShare
()
web/components/trip-card.tsx:173
FunctionhandleSubmit
(e: React.FormEvent)
web/components/interrupts/generic-handler.tsx:21
FunctionhandleSubmit
(e: React.FormEvent)
web/components/interrupts/destination-selector.tsx:302
FunctionhandleSubmit
()
web/components/interrupts/date-selector.tsx:47
FunctionhandleSubmit
()
web/components/interrupts/activity-selector.tsx:168
Functionmiddleware
(request: NextRequest)
web/middleware.ts:4
FunctiononChange
()
web/hooks/use-mobile.tsx:10
FunctiononCopy
()
web/components/markdown-text.tsx:32
FunctiononNew
(message: AppendMessage)
web/components/chat.tsx:45
FunctionreplaceOrInsertMessage
( prevMessages: BaseMessage[], newMessage: BaseMessage )
web/context/utils.ts:47