mirror of
https://github.com/HKUDS/OpenSpace.git
synced 2026-08-28 05:15:00 +00:00
The original change removed atomacos from dependencies but left it bundled in the same try/except as AppKit. Without atomacos installed, the ImportError made MACOS_LIBS_AVAILABLE=False, silently disabling every macOS feature (screenshots, window control, etc.) even though they never use atomacos. - Split import into independent try/except blocks - Guard get_accessibility_tree() with ATOMACOS_AVAILABLE - Condense redundant comments in requirements files - Tighten README note into a blockquote
31 lines
977 B
Text
31 lines
977 B
Text
# OpenSpace core dependencies
|
|
litellm>=1.70.0,<1.82.7 # pinned to avoid PYSEC-2026-2 supply-chain compromise (1.82.7/1.82.8 were malicious)
|
|
python-dotenv>=1.0.0
|
|
openai>=1.0.0
|
|
jsonschema>=4.25.0
|
|
mcp>=1.0.0
|
|
anthropic>=0.71.0
|
|
pillow>=12.0.0
|
|
numpy>=1.24.0
|
|
colorama>=0.4.6
|
|
|
|
# Local server dependencies (cross-platform)
|
|
flask>=3.1.0
|
|
pyautogui>=0.9.54
|
|
pydantic>=2.12.0
|
|
requests>=2.32.0
|
|
|
|
# # macOS-specific dependencies (local server)
|
|
# pyobjc-core>=12.0; sys_platform == 'darwin'
|
|
# pyobjc-framework-cocoa>=12.0; sys_platform == 'darwin'
|
|
# pyobjc-framework-quartz>=12.0; sys_platform == 'darwin'
|
|
# atomacos excluded: requires pyautogui<0.9.42, conflicts with >=0.9.54
|
|
|
|
# # Linux-specific dependencies (local server)
|
|
# python-xlib>=0.33; sys_platform == 'linux'
|
|
# pyatspi>=2.38.0; sys_platform == 'linux'
|
|
|
|
# # Windows-specific dependencies (local server)
|
|
# pywinauto>=0.6.8; sys_platform == 'win32'
|
|
# pywin32>=306; sys_platform == 'win32'
|
|
# PyGetWindow>=0.0.9; sys_platform == 'win32'
|