@bymos/agentkit-sdk 0.7.4 → 0.9.3
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 -4
- package/agentkit-widget.iife.js +129 -10
- package/agentkit-widget.js +129 -10
- package/index.cjs +130 -11
- package/index.d.ts +94 -12
- package/index.js +1140 -781
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Both integration paths take the **same single-argument config**.
|
|
|
21
21
|
### CDN (no build step)
|
|
22
22
|
|
|
23
23
|
```html
|
|
24
|
-
<script src="https://unpkg.com/@bymos/agentkit-sdk@0.
|
|
24
|
+
<script src="https://unpkg.com/@bymos/agentkit-sdk@0.8/agentkit-widget.iife.js"></script>
|
|
25
25
|
<script>
|
|
26
26
|
window.AgentKit.init({
|
|
27
27
|
agentId: 'your-agent-id',
|
|
@@ -32,8 +32,8 @@ Both integration paths take the **same single-argument config**.
|
|
|
32
32
|
</script>
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
The `@0.
|
|
36
|
-
(`@0.
|
|
35
|
+
The `@0.8` pin tracks the latest patch of that minor line. Pin an exact version
|
|
36
|
+
(`@0.8.0`) if you need byte-identical builds, and add
|
|
37
37
|
[SRI](https://developer.mozilla.org/docs/Web/Security/Subresource_Integrity)
|
|
38
38
|
(`integrity` + `crossorigin="anonymous"`) when you do — an SRI hash only holds
|
|
39
39
|
against an exact version.
|
|
@@ -184,7 +184,7 @@ or hands it back to the agent.
|
|
|
184
184
|
|
|
185
185
|
```html
|
|
186
186
|
<div id="chat"></div>
|
|
187
|
-
<script src="https://unpkg.com/@bymos/agentkit-sdk@0.
|
|
187
|
+
<script src="https://unpkg.com/@bymos/agentkit-sdk@0.8/agentkit-widget.iife.js"></script>
|
|
188
188
|
<script>
|
|
189
189
|
window.AgentKit.mount(document.getElementById('chat'), {
|
|
190
190
|
agentId: 'your-agent-id',
|