better-cmdk 0.0.4 → 0.0.5
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 +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -192,6 +192,10 @@ Enable the built-in AI chat by providing either a `chatEndpoint` or an external
|
|
|
192
192
|
|
|
193
193
|
Users can switch to chat mode via `⌘ Enter` or by selecting the "Ask AI" item.
|
|
194
194
|
|
|
195
|
+
### AI Actions
|
|
196
|
+
|
|
197
|
+
When you connect an external chat provider like [modifywithai](https://modifywithai.com), the AI agent can invoke actions on behalf of the user — with approval gates so users stay in control. You define actions through your provider's SDK and pass them via the `chat` prop. See the [modifywithai docs](https://modifywithai.com/docs/concepts/actions) for setup.
|
|
198
|
+
|
|
195
199
|
## Advanced: Custom Children
|
|
196
200
|
|
|
197
201
|
For full control over the command list rendering, you can pass children instead of `commands`. This approach is compatible with shadcn/ui patterns if you're migrating from an existing setup.
|