agentglow 0.4.2 → 0.4.4
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 +11 -0
- package/dist/chunks/KitScene-CsXvCpWR.js +7320 -0
- package/dist/chunks/index-06NeTpVb.js +53 -0
- package/dist/chunks/{index-B8E_UpEh.js → index-CMyk3b1y.js} +1 -1
- package/dist/chunks/{index-BxZgELLY.js → index-CZCnCMDL.js} +132 -129
- package/dist/chunks/{index-CEd8CHA3.js → index-CaU-znb0.js} +42 -42
- package/dist/chunks/{index-BGWvBQoI.js → index-DS_Ev4sI.js} +169 -169
- package/dist/chunks/{index-DGp3aLoB.js → index-DvmCk82M.js} +39 -39
- package/dist/chunks/{index-CAK2lh3j.js → index-jIBsR1lw.js} +30 -30
- package/dist/chunks/{index-B-GgW6Df.js → index-zAkSg1r8.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/AgentScene.d.ts +8 -1
- package/dist/types/world.d.ts +23 -1
- package/package.json +1 -1
- package/dist/chunks/KitScene-D8qiflCw.js +0 -6804
- package/dist/chunks/index-rhTWZ_I3.js +0 -52
package/README.md
CHANGED
|
@@ -176,6 +176,8 @@ Example: [examples/node-proxy](../examples/node-proxy) (a Node proxy in front of
|
|
|
176
176
|
| `scope` | `string` | none | Only show agents in this scope (a user or tenant id). Sent as the `X-AgentGlow-Scope` header, also as `scope` in the `POST /live/run` body. With a token, the token decides. |
|
|
177
177
|
| `run` | `string` | none | Only show this one run. Sent as the `X-AgentGlow-Run` header. |
|
|
178
178
|
| `token` | `string` | none | Token minted by your backend. Sent as `Authorization: Bearer <token>` on every `/live/*` request, never in a URL. |
|
|
179
|
+
| `clearable` | `boolean` | `true` | Show the HUD's per-viewer **Clear view** button (and its Shift+C shortcut). |
|
|
180
|
+
| `clearedAt` | `number \| null` | none | Controlled clear: an epoch-ms timestamp hides everything older for this viewer, `null` shows everything again, unset leaves it to the viewer. |
|
|
179
181
|
| `style` | `CSSProperties` | none | Applied to the container (set a `height` here or on a parent). |
|
|
180
182
|
| `className` | `string` | none | Added to the container. |
|
|
181
183
|
|
|
@@ -184,6 +186,15 @@ The package also exports `THEMES` (the list of theme ids), `THEME_INFO` (names a
|
|
|
184
186
|
|
|
185
187
|
If the server exposes `POST /live/run`, the HUD shows a **Run agents** button. Otherwise the button stays hidden.
|
|
186
188
|
|
|
189
|
+
**Scene search**: the Agents panel's search box also drives the scene in every theme. Matching agents, runs, MCP
|
|
190
|
+
servers, resources and graph nodes stay bright while everything else dims (grouped runs holding a match expand);
|
|
191
|
+
Enter or a click on a result flies the camera to it and opens its details, ArrowUp / ArrowDown cycle the matches,
|
|
192
|
+
Esc clears the search and flies the camera back.
|
|
193
|
+
|
|
194
|
+
**Clear view** (HUD button or Shift+C) hides everything on screen for this viewer only and then draws only new
|
|
195
|
+
activity; runs still going re-appear on their next event. The server is untouched (other viewers see everything) and
|
|
196
|
+
the clear survives a refresh (`localStorage`, per source / scope / run). The `cleared · show all` chip undoes it.
|
|
197
|
+
|
|
187
198
|
A cross-origin `source` requires the server to send CORS headers for `/live/*` (allowing the `Authorization`
|
|
188
199
|
and `X-AgentGlow-*` request headers if you use them).
|
|
189
200
|
|