@invergent/website-widget 1.4.6 → 1.4.9
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 +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ The IIFE exposes `WebsiteAgent`, `EventType`, `AbstractAgent`, the error classes
|
|
|
77
77
|
| Option | Type | Notes |
|
|
78
78
|
|---|---|---|
|
|
79
79
|
| `apiUrl` | string, required | Base URL of the Surogates API (e.g. `https://agent.acme.com`). No trailing slash required. |
|
|
80
|
-
| `publishableKey` | string, required | `surg_wk_...` key
|
|
80
|
+
| `publishableKey` | string, required | `surg_wk_...` key configured at deploy time via `website.publishable_key`. Safe to embed in browser JS. |
|
|
81
81
|
| `threadId` | string, optional | AG-UI thread id. One is minted if not provided. |
|
|
82
82
|
| `agentId` | string, optional | AG-UI agent id. |
|
|
83
83
|
| `initialMessages` | `Message[]`, optional | Pre-populated conversation history. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@invergent/website-widget",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.9",
|
|
4
4
|
"description": "AG-UI-compatible TypeScript client for the Surogates public-website channel. Wraps the publishable-key bootstrap, HttpOnly cookie, CSRF double-submit, and SSE streaming behind a standard AbstractAgent so widgets built for AG-UI work out of the box.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"surogates",
|