@page-speed/agent-everywhere 0.7.0 → 0.9.0
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 +5 -0
- package/dist/index.cjs +2472 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +419 -9
- package/dist/index.d.ts +419 -9
- package/dist/index.js +2460 -76
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -195,6 +195,11 @@ Every region is independently optional and controllable:
|
|
|
195
195
|
optional attach affordance (`onAttach`), and a circular send button. Pass
|
|
196
196
|
`composer={false}` to drop it, a node to replace it, or `onComposerSubmit`
|
|
197
197
|
to intercept submits.
|
|
198
|
+
- **Loading states**: render `<AgentWorkspaceSkeleton/>` while the page's data
|
|
199
|
+
loads — it mirrors the workspace geometry (panel rails, header, dock) with
|
|
200
|
+
pulsing placeholders so the resolved layout doesn't shift. Pass `children`
|
|
201
|
+
for a custom center skeleton, and `leftPanel={false}` / `rightPanel={false}`
|
|
202
|
+
/ `composer={false}` to match the page's configuration.
|
|
198
203
|
- **Programmatic control** from anywhere inside: `useAgentWorkspace()` exposes
|
|
199
204
|
`toggleLeftPanel`, `setRightPanelOpen`, `openConversation`,
|
|
200
205
|
`closeConversation`, and friends for dynamic layout scenarios.
|