@copilotkit/react-native 1.57.1 → 1.57.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,11 @@ import "@copilotkit/react-native/polyfills/location";
36
36
  ## Quick start
37
37
 
38
38
  ```tsx
39
- import { CopilotKitProvider, useAgent, useCopilotKit } from "@copilotkit/react-native";
39
+ import {
40
+ CopilotKitProvider,
41
+ useAgent,
42
+ useCopilotKit,
43
+ } from "@copilotkit/react-native";
40
44
 
41
45
  export default function App() {
42
46
  return (
@@ -49,6 +53,12 @@ export default function App() {
49
53
 
50
54
  Re-exports hooks from `@copilotkit/react-core`: `useAgent`, `useFrontendTool`, `useComponent`, `useHumanInTheLoop`, `useInterrupt`, `useSuggestions`, `useConfigureSuggestions`, `useAgentContext`, `useThreads`, and `useCopilotKit`.
51
55
 
56
+ ## API Surface
57
+
58
+ The root import (`@copilotkit/react-native`) IS the v2 API.
59
+ Unlike the web SDK which has `/v2` subpath, React Native exports
60
+ the v2 API directly from the package root.
61
+
52
62
  ## Documentation
53
63
 
54
64
  For full setup instructions, usage examples, and troubleshooting, see the [React Native docs](https://docs.copilotkit.ai/react-native).