@react-grab/ami 0.0.55 → 0.0.56

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.
Files changed (4) hide show
  1. package/README.md +38 -0
  2. package/dist/client.cjs +16205 -29
  3. package/dist/client.js +16205 -29
  4. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # @react-grab/ami
2
+
3
+ Ami agent provider for React Grab. This is a client-only provider that connects to the ami.dev
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @react-grab/ami
9
+ # or
10
+ pnpm add @react-grab/ami
11
+ # or
12
+ bun add @react-grab/ami
13
+ # or
14
+ yarn add @react-grab/ami
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```tsx
20
+ import { init } from "react-grab/core";
21
+ import { createAmiAgentProvider } from "@react-grab/ami/client";
22
+
23
+ const agentProvider = createAmiAgentProvider();
24
+
25
+ init({
26
+ agent: {
27
+ provider: agentProvider,
28
+ },
29
+ });
30
+ ```
31
+
32
+ ## Configuration
33
+
34
+ You can optionally pass a custom project ID:
35
+
36
+ ```tsx
37
+ const agentProvider = createAmiAgentProvider("my-project-id");
38
+ ```