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;" />

44 lines (43 loc) 3.92 kB
export { CopilotKit, defaultCopilotContextCategories } from './components/copilot-provider/copilotkit.js'; export { CopilotKitProps } from './components/copilot-provider/copilotkit-props.js'; export { b as CoagentInChatRenderFunction, c as CopilotApiConfig, C as CopilotContext, a as CopilotContextParams, f as LangGraphInterruptAction, h as LangGraphInterruptActionSetter, g as LangGraphInterruptActionSetterArgs, e as LangGraphInterruptRender, L as LangGraphInterruptRenderHandlerProps, d as LangGraphInterruptRenderProps, Q as QueuedInterruptEvent, u as useCopilotContext } from './copilot-context-ec77e921.js'; export { CopilotMessagesContext, CopilotMessagesContextParams, useCopilotMessagesContext } from './context/copilot-messages-context.js'; export { CoAgentStateRendersContext, CoAgentStateRendersContextValue, CoAgentStateRendersProvider, useCoAgentStateRenders } from './context/coagent-state-renders-context.js'; export { ThreadsContext, ThreadsContextValue, ThreadsProvider, ThreadsProviderProps, useThreads } from './context/threads-context.js'; export { UseCopilotChatReturn, useCopilotChat } from './hooks/use-copilot-chat.js'; export { ChatSuggestions, OnReloadMessages, OnStopGeneration, UseCopilotChatOptions, UseCopilotChatOptions as UseCopilotChatOptions_c, UseCopilotChatReturn as UseCopilotChatReturn_c, useCopilotChatInternal } from './hooks/use-copilot-chat_internal.js'; export { useCopilotChatHeadless_c } from './hooks/use-copilot-chat-headless_c.js'; export { useCopilotAction } from './hooks/use-copilot-action.js'; export { useCoAgentStateRender } from './hooks/use-coagent-state-render.js'; export { useMakeCopilotDocumentReadable } from './hooks/use-make-copilot-document-readable.js'; export { useCopilotReadable } from './hooks/use-copilot-readable.js'; export { HintFunction, useCoAgent } from './hooks/use-coagent.js'; export { useCopilotRuntimeClient } from './hooks/use-copilot-runtime-client.js'; export { useCopilotAuthenticatedAction_c } from './hooks/use-copilot-authenticated-action.js'; export { useLangGraphInterrupt } from './hooks/use-langgraph-interrupt.js'; export { useLangGraphInterruptRender } from './hooks/use-langgraph-interrupt-render.js'; export { useCopilotAdditionalInstructions } from './hooks/use-copilot-additional-instructions.js'; export { Tree, TreeNode } from './hooks/use-tree.js'; export { useFrontendTool } from './hooks/use-frontend-tool.js'; export { useHumanInTheLoop } from './hooks/use-human-in-the-loop.js'; export { useRenderToolCall } from './hooks/use-render-tool-call.js'; export { useDefaultTool } from './hooks/use-default-tool.js'; export { useLazyToolRenderer } from './hooks/use-lazy-tool-renderer.js'; export { UseCopilotChatSuggestionsConfiguration, useCopilotChatSuggestions } from './hooks/use-copilot-chat-suggestions.js'; export { DocumentPointer } from './types/document-pointer.js'; export { SystemMessageFunction } from './types/system-message.js'; export { ActionRenderProps, ActionRenderPropsNoArgs, ActionRenderPropsNoArgsWait, ActionRenderPropsWait, CatchAllActionRenderProps, CatchAllFrontendAction, FrontendAction, FrontendActionAvailability, RenderFunctionStatus } from './types/frontend-action.js'; export { CopilotChatSuggestionConfiguration } from './types/chat-suggestion-configuration.js'; export { CrewsAgentState, CrewsResponse, CrewsResponseStatus, CrewsStateItem, CrewsTaskStateItem, CrewsToolStateItem } from './types/crew.js'; export { CopilotTask, CopilotTaskConfig } from './lib/copilot-task.js'; export { SUGGESTION_RETRY_CONFIG } from './utils/suggestions-constants.js'; export { shouldShowDevConsole } from './utils/dev-console.js'; import 'react/jsx-runtime'; import '@copilotkit/runtime-client-gql'; import 'react'; import '@copilotkit/shared'; import '@copilotkitnext/react'; import './types/coagent-action.js'; import './types/coagent-state.js'; import '@copilotkitnext/core'; import '@ag-ui/client';