ai_co_discuss 0.2.40 → 0.2.41

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/backend/server.py CHANGED
@@ -1092,6 +1092,8 @@ def check_limits(connection, room_id, payload):
1092
1092
  (summary_deadline, summary_deadline, room_id))
1093
1093
  else:
1094
1094
  connection.execute("UPDATE topic_settings SET phase='paused' WHERE room_id=?", (room_id,))
1095
+ # Pausing at the limit also pauses the run, so the board offers restart and the old execution is superseded.
1096
+ connection.execute("UPDATE discussion_runtime SET status='paused',generation=generation+1,revision=revision+1 WHERE room_id=? AND status='running'", (room_id,))
1095
1097
  return require_room(connection, room_id)
1096
1098
 
1097
1099
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai_co_discuss",
3
- "version": "0.2.40",
3
+ "version": "0.2.41",
4
4
  "bin": {
5
5
  "codiscuss": "runner/codiscuss.mjs"
6
6
  },