agentgui 1.0.696 → 1.0.698
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/lib/ws-handlers-conv.js +3 -0
- package/package.json +1 -1
- package/server.js +1 -0
- package/static/js/streaming-renderer.js +1 -0
package/lib/ws-handlers-conv.js
CHANGED
|
@@ -186,6 +186,9 @@ export function register(router, deps) {
|
|
|
186
186
|
queries.setIsStreaming(p.id, false);
|
|
187
187
|
activeExecutions.delete(p.id);
|
|
188
188
|
|
|
189
|
+
// Clear claudeSessionId so new execution starts fresh without --resume on a killed session
|
|
190
|
+
queries.setClaudeSessionId(p.id, null);
|
|
191
|
+
|
|
189
192
|
broadcastSync({ type: 'streaming_complete', sessionId, conversationId: p.id, interrupted: true, timestamp: Date.now() });
|
|
190
193
|
|
|
191
194
|
const agentId = conv.agentType || conv.agentId || 'claude-code';
|
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -3483,6 +3483,7 @@ async function processMessageWithStreaming(conversationId, messageId, sessionId,
|
|
|
3483
3483
|
|
|
3484
3484
|
if (parsed.type === 'system') {
|
|
3485
3485
|
if (parsed.subtype === 'task_notification') return;
|
|
3486
|
+
if (!parsed.model && !parsed.cwd && !parsed.tools) return;
|
|
3486
3487
|
|
|
3487
3488
|
const systemBlock = {
|
|
3488
3489
|
type: 'system',
|
|
@@ -1333,6 +1333,7 @@ class StreamingRenderer {
|
|
|
1333
1333
|
* Render system event
|
|
1334
1334
|
*/
|
|
1335
1335
|
renderBlockSystem(block, context) {
|
|
1336
|
+
if (!block.model && !block.cwd && !block.tools) return null;
|
|
1336
1337
|
const details = document.createElement('details');
|
|
1337
1338
|
details.className = 'folded-tool folded-tool-info permanently-expanded';
|
|
1338
1339
|
details.dataset.eventType = 'system';
|