skills/copilotkit-upgrade/sources.md
Files and directories read from CopilotKit/CopilotKit to generate this skill's references.
Generated: 2026-06-18 (regenerated against live main)
Package layout note: the repo is a flat monorepo -- every package lives directly under
packages/<name>(there is nopackages/v1/orpackages/v2/directory). v2 ships from the/v2subpath of the same packages: v2 React is@copilotkit/react-core/v2(source:packages/react-core/src/v2/) and v2 runtime is@copilotkit/runtime/v2(source:packages/runtime/src/v2/). There is no@copilotkit/reactor@copilotkit/agentpackage --BuiltInAgentand the v2 agent definitions are re-exported from@copilotkit/runtime/v2(source:packages/runtime/src/agent/).
@copilotkit/react-core/v2: useFrontendTool, useAgentContext, useAgent, useInterrupt, useSuggestions, useConfigureSuggestions, useRenderToolCall, useRenderActivityMessage, useHumanInTheLoop, CopilotKit compat provider -- the recommended migration target; CopilotKitProvider is also exported but is a functionality subset; chat components CopilotChat/CopilotPopup/CopilotSidebar; re-exports @copilotkit/core and @ag-ui/client)@copilotkit/runtime/v2: CopilotRuntime, createCopilotHonoHandler [deprecated alias createCopilotEndpoint], CopilotKitIntelligence, InMemoryAgentRunner)createCopilotExpressHandler, exported from @copilotkit/runtime/v2/express)@copilotkit/runtime/v2: BuiltInAgent, defineTool)@copilotkit/react-core/v2)