CI / test (push) Canceled after 0s
## Summary epic r04 - begin refactor ## Change Type - [x] Cowork feature - [ ] Bug fix - [ ] Core AI contribution - [ ] Test / hardening - [ ] Performance - [ ] Documentation ## Related Work Cowork Task: Core Repo: http://34.143.229.138/gitea-admin/fsg-ai-core-assets Core AI Issue: Core Task: Related PR: ## Scope What is intentionally included? What is intentionally NOT included? ## Validation - [ ] Unit tests - [ ] Integration tests - [ ] Manual verification - [ ] Regression check Commands / evidence: ## Security Impact Permission / credential / network / customer data impact: ## Compatibility - [ ] No breaking change - [ ] Breaking change documented ## Reviewer Notes Anything Cowork reviewers should pay attention to. --------- Co-authored-by: Anh Tran Nguyen Minh <anhtnm1@fpt.com> Co-authored-by: Huong Le Thi Thien <huongltt35@fpt.com> Co-authored-by: Nam Pham Dinh Thanh <nampdt@fpt.com> Co-authored-by: Vu Dam Tuan <vudt15@fpt.com> Co-authored-by: Hiep Ha Van <hiephv3@fpt.com> Co-authored-by: Lam Hoang Van <lamhv7@fpt.com> Reviewed-on: #7 Co-authored-by: Duy Le Huu <duylh19@fpt.com>
51 lines
2.4 KiB
Plaintext
51 lines
2.4 KiB
Plaintext
# Cowork-Local BamBOO — dependencies
|
|
# Install: pip install -r requirements.txt
|
|
|
|
# --- Core UI framework ---
|
|
PySide6>=6.6.0
|
|
|
|
# --- HTTP client ---
|
|
requests>=2.31.0
|
|
|
|
# --- Process & resource monitoring ---
|
|
psutil>=5.9.0
|
|
|
|
# --- Document handling ---
|
|
openpyxl>=3.1.0 # Excel (.xlsx) creation & reading
|
|
python-pptx>=0.6.0 # PowerPoint (.pptx) editing
|
|
pypdf>=4.0.0 # PDF text extraction (preferred)
|
|
# PyPDF2>=3.0.0 # PDF fallback (optional, pypdf preferred)
|
|
|
|
# --- Microsoft 365 integration ---
|
|
msal>=1.24.0 # OAuth device-code flow for MS365
|
|
keyring>=24.0.0 # OS credential store (token cache)
|
|
|
|
# --- MCP (Model Context Protocol) ---
|
|
mcp>=1.0.0 # MCP client SDK (stdio transport)
|
|
|
|
# --- Bắt buộc: import KHÔNG có try/except, thiếu là app chết lúc khởi động ---
|
|
# Hai dòng dưới đây bị bỏ sót cho tới 30/08. Triệu chứng của việc thiếu chúng
|
|
# không phải "tính năng đó không chạy" mà là ModuleNotFoundError ngay khi dựng
|
|
# cửa sổ chính — cài đúng theo requirements.txt xong app vẫn không mở được.
|
|
pygments>=2.15.0 # tô màu cú pháp — presentation/folder/code_editor.py
|
|
pydantic>=2,<3 # kiểu dữ liệu định tuyến — core/routing/models.py
|
|
|
|
# --- Tuỳ chọn: mỗi chỗ dùng đều bọc try/except, thiếu thì mất tính năng ---
|
|
# Vẫn cài mặc định vì đều nhẹ và đều là tính năng người dùng nhìn thấy được.
|
|
networkx>=3.0 # bố cục đồ thị đẹp hơn cho GraphRAG nhiều node
|
|
holidays>=0.40 # lịch nghỉ theo quốc gia cho màn Lịch task
|
|
pywin32>=306; sys_platform == "win32" # Office -> PDF, thông báo Outlook
|
|
|
|
# opendataloader-pdf # bộ đọc PDF thay thế — KHÔNG cài sẵn có chủ ý:
|
|
# # application/workspaces/graph_index_service.py tự cài
|
|
# # khi cần, qua core/deps.py::ensure_module.
|
|
|
|
# --- Chạy test ---
|
|
# Gộp vào đây thay vì để riêng requirements-test.txt: file kia chỉ có đúng
|
|
# `pytest`, mà 64/108 file test dựng widget thật nên nó vẫn phải kéo về gần
|
|
# như toàn bộ danh sách trên. Hai file cho một danh sách gần trùng nhau chỉ
|
|
# tạo thêm một chỗ để lệch phiên bản.
|
|
#
|
|
# Người dùng cuối cài thừa pytest vài MB — đổi lại chỉ còn MỘT file phải nhớ.
|
|
pytest>=8,<10
|