@heroui/agent 0.2.0-beta.7 → 0.2.0-beta.8
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/CHANGELOG.md +15 -2
- package/README.md +15 -10
- package/dist/{chunk-V5S5FRGV.js → chunk-CMZDZGUZ.js} +354 -206
- package/dist/chunk-DS4X5K2R.js +56 -0
- package/dist/{chunk-6O3SFXJK.js → chunk-G6GFNSG4.js} +13 -54
- package/dist/chunk-Q7LGTVBL.js +43 -0
- package/dist/chunk-UUPU3MYB.js +42 -0
- package/dist/{chunk-OQGXZY5L.js → chunk-W7SCMB3O.js} +552 -358
- package/dist/{component-renderer-46EJDPTB.js → component-renderer-MDDQMQTU.js} +4 -2
- package/dist/composer-draft-DTQAEO5K.js +20 -0
- package/dist/composer-image-draft-IVJ352E6.js +174 -0
- package/dist/contracts.d.ts +50 -19
- package/dist/contracts.js +130 -230
- package/dist/css/index.css +1 -1
- package/dist/{embed-runtime-UF7XJIFA.js → embed-runtime-VVAGDPYY.js} +3415 -1643
- package/dist/identity-3P8-17km.d.ts +95 -0
- package/dist/index.d.ts +46 -10
- package/dist/index.js +5 -2
- package/dist/next.d.ts +2 -1
- package/dist/next.js +5 -2
- package/dist/server.d.ts +1 -1
- package/dist/server.js +35 -159
- package/package.json +3 -3
- package/dist/identity-Z6i6pL0F.d.ts +0 -166
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0-beta.8
|
|
4
|
+
|
|
5
|
+
- Replace the HeroUI Agents Trigger.dev transport with a preconnected protocol-v6 Durable Object
|
|
6
|
+
WebSocket, resumable streaming, direct provider requests, and runtime-derived activity updates.
|
|
7
|
+
- Move conversation presence and transcript hydration onto the edge connection; InstantDB is now
|
|
8
|
+
an asynchronous monitoring projection rather than an interactive runtime dependency.
|
|
9
|
+
- Preload project configuration and the complete composer behind an immediately available launcher,
|
|
10
|
+
show a centered loading state on an early open, and expose readiness through `onReady` and the
|
|
11
|
+
reactive `useAgent().ready` status for custom entry points.
|
|
12
|
+
- Stabilize startup and composer presentation so the initial prompt appears immediately, controls
|
|
13
|
+
stay compact while bootstrapping, and the disclaimer remains visible.
|
|
14
|
+
- Bound live activity details and smooth status transitions during long-running turns.
|
|
15
|
+
|
|
3
16
|
## 0.2.0-beta.7
|
|
4
17
|
|
|
5
18
|
- Polish the activity trail with smoother status transitions, semantic summary icons, bounded
|
|
@@ -62,8 +75,8 @@
|
|
|
62
75
|
- Fold `renderUI` into `composeUI`, which now accepts either a single component or a layout tree as
|
|
63
76
|
its root. The component union is no longer declared to the model as a tool schema: it reads a
|
|
64
77
|
compact kind catalog and fetches the props it needs with `getComponentSchema`, which cut ~300 KB
|
|
65
|
-
(~76K tokens) of JSON Schema off every rendering request. `renderUI` and the
|
|
66
|
-
deferral it needed are gone
|
|
78
|
+
(~76K tokens) of JSON Schema off every rendering request. `renderUI` and the
|
|
79
|
+
`loadUIRenderers` deferral it needed are gone.
|
|
67
80
|
- Promote fourteen polished Storybook response compositions to validated Agent UI kinds, including
|
|
68
81
|
current weather, forecasts, flights, events, rides, playlists, commerce, messages, player stats,
|
|
69
82
|
notifications, and product-signal tabs.
|
package/README.md
CHANGED
|
@@ -174,16 +174,21 @@ Projects and API keys are managed in the [Agents dashboard](https://heroui.pro/d
|
|
|
174
174
|
|
|
175
175
|
## What runs where
|
|
176
176
|
|
|
177
|
-
The
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
and
|
|
181
|
-
|
|
182
|
-
|
|
177
|
+
The HeroUI API authenticates the visitor once, verifies conversation ownership, and returns a
|
|
178
|
+
one-use connection ticket. The browser then keeps a resumable WebSocket directly to the
|
|
179
|
+
conversation's Cloudflare Durable Object. That object owns the transcript, streams from the model
|
|
180
|
+
provider, and starts MCP or an offline, per-call-scoped sandbox only when a tool actually needs
|
|
181
|
+
one. Before the composer clears, the SDK durably stores the submitted turn and attachment blobs in
|
|
182
|
+
an identity-and-conversation-scoped IndexedDB outbox. It removes that entry only after the Durable
|
|
183
|
+
Object acknowledges committed admission, and reconciles the same `turnId` after a reload. InstantDB
|
|
184
|
+
is updated asynchronously for dashboard monitoring and never sits in front of a response stream.
|
|
185
|
+
|
|
186
|
+
| In the browser | At the HeroUI edge runtime |
|
|
183
187
|
| ------------------------------------------- | -------------------------------------------- |
|
|
184
|
-
| Panel, theme, composer, generated UI |
|
|
185
|
-
| Client tools, running as the signed-in user | Server tools, MCP
|
|
186
|
-
|
|
|
188
|
+
| Panel, theme, composer, generated UI | Conversation Durable Object and model stream |
|
|
189
|
+
| Client tools, running as the signed-in user | Server tools, lazy MCP and offline Python |
|
|
190
|
+
| Pre-admission IndexedDB turn outbox | SDK transcript and resumable stream storage |
|
|
191
|
+
| A short-lived HeroUI browser credential | Hashed tickets, credit lease, Queue outbox |
|
|
187
192
|
|
|
188
193
|
## Compatibility
|
|
189
194
|
|
|
@@ -192,7 +197,7 @@ and pseudonymous viewer identifiers, never messages or tool data.
|
|
|
192
197
|
- Chrome/Edge 120+, Firefox 121+, Safari 17.2+
|
|
193
198
|
- ESM only
|
|
194
199
|
|
|
195
|
-
This SDK speaks protocol version `
|
|
200
|
+
This SDK speaks protocol version `6`. The hosted API returns `426 Upgrade Required` when a beta SDK is no longer compatible.
|
|
196
201
|
|
|
197
202
|
## Support
|
|
198
203
|
|