agentgui 1.0.573 → 1.0.574

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/database.js +3 -2
  2. package/package.json +1 -1
package/database.js CHANGED
@@ -676,8 +676,9 @@ export const queries = {
676
676
  },
677
677
 
678
678
  getResumableConversations() {
679
- // Get conversations with active/pending sessions that can be resumed
680
- // Check sessions table directly for actual active status, don't filter by claudeSessionId
679
+ // Get conversations with incomplete sessions that can be resumed.
680
+ // Only includes sessions with status: active, pending, interrupted.
681
+ // Excludes complete and error sessions - agents that finished should not be resumed.
681
682
  const stmt = prep(
682
683
  `SELECT DISTINCT c.id, c.title, c.claudeSessionId, c.agentId, c.agentType, c.workingDirectory, c.model, c.subAgent
683
684
  FROM conversations c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.573",
3
+ "version": "1.0.574",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",