/** * React hooks for the AgentKit. * * These hooks allow advanced usage such as manual element registration, * custom commands, and bridge status monitoring. */ import type { ElementInfo, ElementHandlers } from './types'; import type { AgentKitContextValue } from './AgentKitProvider'; /** * Access the AgentKit context. * * @example * ```tsx * function MyScreen() { * const { isRunning, elementCount, rescan } = useAgentKit(); * * return ( * * Bridge running: {isRunning ? 'Yes' : 'No'} * Elements: {elementCount} *