@hiraoku/react-grab-amp
v0.0.88
Published
[Experimental Fork] Amp provider for React Grab
Maintainers
Readme
@hiraoku/react-grab-amp
Note: This is an experimental fork of React Grab for testing and verification purposes. For production use, please refer to the original repository.
Amp provider for React Grab.
Installation
npm install @hiraoku/react-grab-ampUsage
Server
The server runs on port 9567 and interfaces with the Amp SDK. Add to your package.json:
{
"scripts": {
"dev": "npx @hiraoku/react-grab-amp@latest && next dev"
}
}Note: You must have an Amp API key set via
AMP_API_KEYenvironment variable.
Client
Add the client script to your HTML:
<script src="//unpkg.com/@hiraoku/react-grab-amp/dist/client.global.js"></script>Or import programmatically:
import "@hiraoku/react-grab-amp/client";Features
- Follow-ups: Continue conversations with thread continuity
- Undo: Undo the last change made by Amp
- Streaming: Real-time status updates during execution
- Tool calls: See tool usage as it happens
