agentglow 0.4.1 → 0.4.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 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,10 @@ 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
+ **Clear view** (HUD button or Shift+C) hides everything on screen for this viewer only and then draws only new
190
+ activity; runs still going re-appear on their next event. The server is untouched (other viewers see everything) and
191
+ the clear survives a refresh (`localStorage`, per source / scope / run). The `cleared · show all` chip undoes it.
192
+
187
193
  A cross-origin `source` requires the server to send CORS headers for `/live/*` (allowing the `Authorization`
188
194
  and `X-AgentGlow-*` request headers if you use them).
189
195