UNPKG

@copilotkit/react-core

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

6 lines 7.59 kB
import { $ as useComponent, $t as CopilotChatProps, A as useAttachments, An as CopilotChatLabels, At as CopilotChatAttachmentQueue, B as UseInterruptConfig, Bt as CopilotSidebar, C as NewMemory, Cn as CopilotChatToolCallsViewProps, Ct as CopilotKitInspector, D as useLearningContainers, Dn as CopilotChatConfigurationProvider, Dt as AttachmentModality, E as UseLearningContainersArgs, En as ToolsMenuItem, Et as Attachment, F as LearnFromUserActionResult, Ft as UseThreadsInput, G as JsonSerializable, Gt as CopilotSidebarViewProps, H as useConfigureSuggestions, Ht as CopilotPopupView, I as UseLearnFromUserActionRecorder, It as UseThreadsResult, J as UseAgentUpdate, Jt as CopilotChatToggleButton, K as useAgentContext, Kt as CopilotModalHeader, L as useLearnFromUserAction, Lt as useThreads, M as UseLearnFromUserActionInCurrentThreadRecorder, Mn as AudioRecorderError, Mt as CopilotThreadsDrawerProps, N as useLearnFromUserActionInCurrentThread, Nn as AudioRecorderState, Nt as CopilotThreadsDrawerRowRenderer, O as UseAttachmentsProps, On as CopilotChatConfigurationProviderProps, Ot as AttachmentsConfig, P as LearnFromUserActionInput, Pn as CopilotChatAudioRecorder, Pt as Thread, Q as useRenderTool, Qt as CopilotChat, R as UseMemoriesResult, Rt as CopilotPopup, S as MemoryScope, Sn as CopilotChatToolCallsView, St as MCPAppsActivityType, T as useLearningContainersInCurrentThread, Tn as CopilotChatInputProps, Tt as WildcardToolCallRender, U as useSuggestions, Ut as CopilotPopupViewProps, V as useInterrupt, Vt as CopilotSidebarProps, W as AgentContextInput, Wt as CopilotSidebarView, X as useHumanInTheLoop, Xt as DefaultCloseIcon, Y as useAgent, Yt as CopilotChatToggleButtonProps, Z as useDefaultRenderTool, Zt as DefaultOpenIcon, _ as CopilotKitCoreReactConfig, _n as CopilotChatReasoningMessageProps, _t as ReactCustomMessageRendererPosition, a as A2UIMessageRendererOptions, an as INTELLIGENCE_TURN_HEAD, at as InterruptEvent, b as MemoryChanges, bn as CopilotChatAssistantMessage, bt as MCPAppsActivityContentSchema, c as InspectorAnchor, cn as getIntelligenceTurnAnchors, ct as InterruptResolveFn, d as CopilotKitProvider, dn as IntelligenceIndicatorViewProps, dt as ReactHumanInTheLoop, en as CopilotChatView, et as useFrontendTool, f as CopilotKitProviderProps, fn as CopilotChatSuggestionView, ft as ReactFrontendTool, g as CopilotKitCoreReact, gn as CopilotChatReasoningMessage, gt as ReactCustomMessageRenderer, h as useCopilotKit, hn as CopilotChatSuggestionPillProps, ht as useRenderCustomMessages, i as A2UIActionInterceptor, in as CopilotChatMessageViewProps, it as InterruptCancelFn, j as LearnFromUserActionInCurrentThreadInput, jn as useCopilotChatConfiguration, jt as CopilotThreadsDrawer, k as UseAttachmentsReturn, kn as CopilotChatConfigurationValue, kt as CopilotChatAttachmentRenderer, l as SandboxFunctionsContext, ln as IntelligenceIndicatorStatus, lt as ResumeEntry, m as CopilotKitContextValue, mn as CopilotChatSuggestionPill, mt as ReactToolCallRenderer, nn as AutoScrollMode, nt as SandboxFunction, o as A2UIUserAction, on as IntelligenceIndicator, ot as InterruptHandlerProps, p as A2UIRecoveryRendererOptions, pn as CopilotChatSuggestionViewProps, pt as ReactActivityMessageRenderer, q as useCapabilities, qt as CopilotModalHeaderProps, r as CopilotKitProps, rn as CopilotChatMessageView, rt as Interrupt, s as createA2UIMessageRenderer, sn as IntelligenceIndicatorProps, st as InterruptRenderProps, t as CopilotKit, tn as CopilotChatViewProps, tt as useRenderActivityMessage, u as useSandboxFunctions, un as IntelligenceIndicatorView, ut as defineToolCallRenderer, v as CopilotKitCoreReactSubscriber, vn as CopilotChatUserMessage, vt as useRenderToolCall, w as UseLearningContainersInCurrentThreadArgs, wn as CopilotChatInput, wt as CopilotKitInspectorProps, x as MemoryKind, xn as CopilotChatAssistantMessageProps, xt as MCPAppsActivityRenderer, y as Memory, yn as CopilotChatUserMessageProps, yt as MCPAppsActivityContent, z as useMemories, zt as CopilotPopupProps } from "../copilotkit-Bp6BD8xe.mjs"; import "./index.css"; import { Theme as A2UITheme, defaultTheme as a2uiDefaultTheme } from "@copilotkit/a2ui-renderer"; export * from "@copilotkit/core"; export * from "@ag-ui/client"; export { type A2UIActionInterceptor, type A2UIMessageRendererOptions, type A2UIRecoveryRendererOptions, type A2UITheme, type A2UIUserAction, AgentContextInput, Attachment, AttachmentModality, AttachmentsConfig, AudioRecorderError, AudioRecorderState, AutoScrollMode, CopilotChat, CopilotChatAssistantMessage, CopilotChatAssistantMessageProps, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAudioRecorder, CopilotChatConfigurationProvider, CopilotChatConfigurationProviderProps, CopilotChatConfigurationValue, CopilotChatInput, CopilotChatInputProps, CopilotChatLabels, CopilotChatMessageView, CopilotChatMessageViewProps, CopilotChatProps, CopilotChatReasoningMessage, CopilotChatReasoningMessageProps, CopilotChatSuggestionPill, CopilotChatSuggestionPillProps, CopilotChatSuggestionView, CopilotChatSuggestionViewProps, CopilotChatToggleButton, DefaultCloseIcon as CopilotChatToggleButtonCloseIcon, DefaultOpenIcon as CopilotChatToggleButtonOpenIcon, CopilotChatToggleButtonProps, CopilotChatToolCallsView, CopilotChatToolCallsViewProps, CopilotChatUserMessage, CopilotChatUserMessageProps, CopilotChatView, CopilotChatViewProps, CopilotKit, CopilotKitContextValue, CopilotKitCoreReact, CopilotKitCoreReactConfig, CopilotKitCoreReactSubscriber, CopilotKitInspector, CopilotKitInspectorProps, type CopilotKitProps, CopilotKitProvider, CopilotKitProviderProps, CopilotModalHeader, CopilotModalHeaderProps, CopilotPopup, CopilotPopupProps, CopilotPopupView, CopilotPopupViewProps, CopilotSidebar, CopilotSidebarProps, CopilotSidebarView, CopilotSidebarViewProps, CopilotThreadsDrawer, CopilotThreadsDrawerProps, CopilotThreadsDrawerRowRenderer, INTELLIGENCE_TURN_HEAD, InspectorAnchor, IntelligenceIndicator, IntelligenceIndicatorProps, IntelligenceIndicatorStatus, IntelligenceIndicatorView, IntelligenceIndicatorViewProps, Interrupt, InterruptCancelFn, InterruptEvent, InterruptHandlerProps, InterruptRenderProps, InterruptResolveFn, JsonSerializable, LearnFromUserActionInCurrentThreadInput, LearnFromUserActionInput, LearnFromUserActionResult, MCPAppsActivityContent, MCPAppsActivityContentSchema, MCPAppsActivityRenderer, MCPAppsActivityType, Memory, MemoryChanges, MemoryKind, MemoryScope, NewMemory, ReactActivityMessageRenderer, ReactCustomMessageRenderer, ReactCustomMessageRendererPosition, ReactFrontendTool, ReactHumanInTheLoop, ReactToolCallRenderer, ResumeEntry, SandboxFunction, SandboxFunctionsContext, Thread, ToolsMenuItem, UseAgentUpdate, UseAttachmentsProps, UseAttachmentsReturn, UseInterruptConfig, UseLearnFromUserActionInCurrentThreadRecorder, UseLearnFromUserActionRecorder, UseLearningContainersArgs, UseLearningContainersInCurrentThreadArgs, UseMemoriesResult, UseThreadsInput, UseThreadsResult, WildcardToolCallRender, a2uiDefaultTheme, createA2UIMessageRenderer, defineToolCallRenderer, getIntelligenceTurnAnchors, useAgent, useAgentContext, useAttachments, useCapabilities, useComponent, useConfigureSuggestions, useCopilotChatConfiguration, useCopilotKit, useDefaultRenderTool, useFrontendTool, useHumanInTheLoop, useInterrupt, useLearnFromUserAction, useLearnFromUserActionInCurrentThread, useLearningContainers, useLearningContainersInCurrentThread, useMemories, useRenderActivityMessage, useRenderCustomMessages, useRenderTool, useRenderToolCall, useSandboxFunctions, useSuggestions, useThreads };