agentgui 1.0.948 → 1.0.950
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/.claude/workflows/gui-audit.js +86 -0
- package/AGENTS.md +15 -1
- package/AUDIT-PUNCHLIST.md +62 -0
- package/lib/http-handler.js +54 -3
- package/lib/ws-handlers-util.js +17 -0
- package/package.json +2 -2
- package/site/app/index.html +20 -16
- package/site/app/js/app.js +300 -83
- package/site/app/js/backend.js +5 -1
- package/site/app/vendor/anentrypoint-design/247420.css +963 -51
- package/site/app/vendor/anentrypoint-design/247420.js +89 -42
package/site/app/js/backend.js
CHANGED
|
@@ -268,7 +268,11 @@ export async function* streamChat(base, { model, messages, signal, agentId, resu
|
|
|
268
268
|
const finish = () => { done = true; if (resolveWait) { resolveWait(); resolveWait = null; } };
|
|
269
269
|
|
|
270
270
|
const unsub = addSessionListener(sessionId, (ev) => {
|
|
271
|
-
if (ev.type === '
|
|
271
|
+
if (ev.type === 'streaming_session') {
|
|
272
|
+
// claude's real session id - surface it so the host can --resume this
|
|
273
|
+
// conversation on the next turn (multi-turn continuity).
|
|
274
|
+
if (ev.claudeSessionId) push({ type: 'session', sessionId: ev.claudeSessionId });
|
|
275
|
+
} else if (ev.type === 'streaming_progress') {
|
|
272
276
|
const block = ev.block;
|
|
273
277
|
if (block?.type === 'text' && block.text) push({ type: 'text', text: block.text });
|
|
274
278
|
else if (block?.type === 'tool_use') push({ type: 'tool', block });
|