agentgui 1.0.473 → 1.0.474

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.473",
3
+ "version": "1.0.474",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/server.js CHANGED
@@ -3382,6 +3382,11 @@ async function processMessageWithStreaming(conversationId, messageId, sessionId,
3382
3382
  if (parsed.type === 'system') {
3383
3383
  if (parsed.subtype === 'task_notification') return;
3384
3384
 
3385
+ if (parsed.session_id) {
3386
+ queries.setClaudeSessionId(conversationId, parsed.session_id);
3387
+ debugLog(`[stream] Eagerly persisted claudeSessionId=${parsed.session_id} for conv=${conversationId}`);
3388
+ }
3389
+
3385
3390
  const systemBlock = {
3386
3391
  type: 'system',
3387
3392
  subtype: parsed.subtype,