cc-discussion 1.0.3__py3-none-any.whl → 1.0.4__py3-none-any.whl
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.
- backend/routers/rooms.py +3 -1
- {cc_discussion-1.0.3.dist-info → cc_discussion-1.0.4.dist-info}/METADATA +1 -1
- {cc_discussion-1.0.3.dist-info → cc_discussion-1.0.4.dist-info}/RECORD +6 -6
- {cc_discussion-1.0.3.dist-info → cc_discussion-1.0.4.dist-info}/WHEEL +0 -0
- {cc_discussion-1.0.3.dist-info → cc_discussion-1.0.4.dist-info}/entry_points.txt +0 -0
- {cc_discussion-1.0.3.dist-info → cc_discussion-1.0.4.dist-info}/top_level.txt +0 -0
backend/routers/rooms.py
CHANGED
|
@@ -312,8 +312,10 @@ async def start_discussion(room_id: int, db: Session = Depends(get_db)):
|
|
|
312
312
|
if room.status == RoomStatus.ACTIVE:
|
|
313
313
|
raise HTTPException(status_code=400, detail="Discussion already active")
|
|
314
314
|
|
|
315
|
+
# Allow resuming from COMPLETED state (reset to WAITING)
|
|
315
316
|
if room.status == RoomStatus.COMPLETED:
|
|
316
|
-
|
|
317
|
+
room.status = RoomStatus.WAITING
|
|
318
|
+
db.commit()
|
|
317
319
|
|
|
318
320
|
return {
|
|
319
321
|
"status": "ready",
|
|
@@ -7,7 +7,7 @@ backend/models/__init__.py,sha256=BQ3qqa1h1lTTfl1jbp97BzE3yvSb0UhKI1fxUZ48IGE,14
|
|
|
7
7
|
backend/models/database.py,sha256=xwj2iTYdzXwVv2LhvUaK-PdDx5EpZ2x0vjtabfE8beM,8208
|
|
8
8
|
backend/routers/__init__.py,sha256=LxZxYnqJ8lXVpPwCACRqFxAAw6omg6ISeSo3EjC5Fi4,134
|
|
9
9
|
backend/routers/history.py,sha256=co4Ruvz97XOI9p44NoDl3Rw3K0_YFZL0FUnUhbftu0A,5485
|
|
10
|
-
backend/routers/rooms.py,sha256=
|
|
10
|
+
backend/routers/rooms.py,sha256=IdswEYl-DFK_8is6282En41JufTMufOU5z4CusY1lbY,11326
|
|
11
11
|
backend/services/__init__.py,sha256=1Rf_Bz3rS6DwDx7EkAEMsStiKx0iOeuz_vvyKbhkoJE,43
|
|
12
12
|
backend/services/codex_agent.py,sha256=ehx5U3jkCaLsgOwg2B3sAWvYLS5YWioQ3TdM2RwNAto,11858
|
|
13
13
|
backend/services/codex_history_reader.py,sha256=a7zlfWXfoeKg-FuAkEj2azVjQHeSjnlsLgyZs7vzrbE,9803
|
|
@@ -23,8 +23,8 @@ backend/static/assets/index-VJBoI-hP.css,sha256=fWJjHYBjJrX8GqLsY1_-gYraM2ThpT7A
|
|
|
23
23
|
backend/static/assets/vendor-query-b54G1vTo.js,sha256=t_bZMbh6W1n_U5AeG6ujgPLR5aiwmbBCvOgCVc21sVI,35661
|
|
24
24
|
backend/static/assets/vendor-react-BXXBRvhI.js,sha256=CX2NLGw6YdSjTJBejWqA8M1-p97AYh_ZYtt8dpkwmss,47109
|
|
25
25
|
backend/static/assets/vendor-ui-DmKgA75E.js,sha256=oU4ONxMcPBFwUZtEIjofALzbPI1T6mzFLqeG8Rdb6AU,38546
|
|
26
|
-
cc_discussion-1.0.
|
|
27
|
-
cc_discussion-1.0.
|
|
28
|
-
cc_discussion-1.0.
|
|
29
|
-
cc_discussion-1.0.
|
|
30
|
-
cc_discussion-1.0.
|
|
26
|
+
cc_discussion-1.0.4.dist-info/METADATA,sha256=WkP3yVmrnzvVaK-9CJYcaJAeqJrOOZaDSO1qjDhLpkw,12639
|
|
27
|
+
cc_discussion-1.0.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
28
|
+
cc_discussion-1.0.4.dist-info/entry_points.txt,sha256=fGx5agzzru7s5NAwuXyB9zNYkiTHihNH4Dzc8kkwRLQ,51
|
|
29
|
+
cc_discussion-1.0.4.dist-info/top_level.txt,sha256=o0r_qMzzBDDtK9APrv2QVcIw9oc00JRmCEsTE2-AFr0,8
|
|
30
|
+
cc_discussion-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|