Integration
Install into a React and Tailwind 4 shadcn project. Preserve the consumer's @/lib/utils helper and install the shadcn primitives named by the upstream payload. This item declares ai, @ai-sdk/openai, zod, @ai-sdk/react, use-stick-to-bottom, react-markdown, remark-gfm, shiki, marked, remark-breaks. Install those packages at versions compatible with the consuming application.
Behavior to verify
Exercise pending, approved, running, completed, rejected, and failed tool states. Validate arguments and authorization on the server before executing a tool.