cc-discussion 1.0.0__tar.gz → 1.0.2__tar.gz
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.
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/MANIFEST.in +2 -2
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/PKG-INFO +1 -1
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/main.py +12 -8
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/models/database.py +8 -1
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/cc_discussion.egg-info/SOURCES.txt +7 -7
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/pyproject.toml +2 -1
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/README.md +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/__init__.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/__main__.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/cli.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/models/__init__.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/routers/__init__.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/routers/history.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/routers/rooms.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/__init__.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/codex_agent.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/codex_history_reader.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/discussion_orchestrator.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/history_reader.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/meeting_prompts.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/parallel_orchestrator.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/services/participant_agent.py +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/index-CnjhvlD6.js +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/index-VJBoI-hP.css +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/vendor-query-b54G1vTo.js +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/vendor-react-BXXBRvhI.js +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/vendor-ui-DmKgA75E.js +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/index.html +0 -0
- {cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/vite.svg +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/backend/websocket.py +0 -0
- {cc_discussion-1.0.0 → cc_discussion-1.0.2}/setup.cfg +0 -0
|
@@ -3,8 +3,8 @@ include README.md
|
|
|
3
3
|
include LICENSE
|
|
4
4
|
include pyproject.toml
|
|
5
5
|
|
|
6
|
-
# Include frontend built files
|
|
7
|
-
recursive-include
|
|
6
|
+
# Include frontend built files (copied to backend/static during CI build)
|
|
7
|
+
recursive-include backend/static *
|
|
8
8
|
|
|
9
9
|
# Include backend Python files
|
|
10
10
|
recursive-include backend *.py
|
|
@@ -38,14 +38,18 @@ logger = logging.getLogger(__name__)
|
|
|
38
38
|
|
|
39
39
|
# Paths - Support both development and packaged installation
|
|
40
40
|
ROOT_DIR = Path(__file__).parent.parent
|
|
41
|
-
UI_DIST_DIR =
|
|
42
|
-
|
|
43
|
-
#
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
UI_DIST_DIR = None
|
|
42
|
+
|
|
43
|
+
# Try locations in order of preference
|
|
44
|
+
_possible_paths = [
|
|
45
|
+
ROOT_DIR / "frontend" / "dist", # Development: project root
|
|
46
|
+
Path(__file__).parent / "static", # Packaged: backend/static (copied during build)
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
for _path in _possible_paths:
|
|
50
|
+
if _path.exists() and (_path / "index.html").exists():
|
|
51
|
+
UI_DIST_DIR = _path
|
|
52
|
+
break
|
|
49
53
|
|
|
50
54
|
|
|
51
55
|
@asynccontextmanager
|
|
@@ -195,7 +195,14 @@ class DiscussionMessage(Base):
|
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
# Database setup
|
|
198
|
-
|
|
198
|
+
def _get_database_path() -> Path:
|
|
199
|
+
"""Get the database file path (~/.cc-discussion/discussion.db)."""
|
|
200
|
+
data_dir = Path.home() / ".cc-discussion"
|
|
201
|
+
data_dir.mkdir(parents=True, exist_ok=True)
|
|
202
|
+
return data_dir / "discussion.db"
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
DATABASE_PATH = _get_database_path()
|
|
199
206
|
|
|
200
207
|
|
|
201
208
|
def get_database_url() -> str:
|
|
@@ -19,10 +19,10 @@ backend/services/history_reader.py
|
|
|
19
19
|
backend/services/meeting_prompts.py
|
|
20
20
|
backend/services/parallel_orchestrator.py
|
|
21
21
|
backend/services/participant_agent.py
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
backend/static/index.html
|
|
23
|
+
backend/static/vite.svg
|
|
24
|
+
backend/static/assets/index-CnjhvlD6.js
|
|
25
|
+
backend/static/assets/index-VJBoI-hP.css
|
|
26
|
+
backend/static/assets/vendor-query-b54G1vTo.js
|
|
27
|
+
backend/static/assets/vendor-react-BXXBRvhI.js
|
|
28
|
+
backend/static/assets/vendor-ui-DmKgA75E.js
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cc-discussion"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.2"
|
|
4
4
|
description = "Multi-Claude discussion platform with ClaudeCode context"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = {text = "MIT"}
|
|
@@ -62,6 +62,7 @@ include-package-data = true
|
|
|
62
62
|
|
|
63
63
|
[tool.setuptools.package-data]
|
|
64
64
|
"*" = ["py.typed"]
|
|
65
|
+
"backend" = ["static/**/*"]
|
|
65
66
|
|
|
66
67
|
[tool.ruff]
|
|
67
68
|
line-length = 100
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/index-CnjhvlD6.js
RENAMED
|
File without changes
|
{cc_discussion-1.0.0/frontend/dist → cc_discussion-1.0.2/backend/static}/assets/index-VJBoI-hP.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|