Skip to content

quality fixes: deps, deque, docs, safety, tests#9

Open
feralbureau wants to merge 1 commit into
LangGraph-GUI:mainfrom
feralbureau:feat/quality-fixes
Open

quality fixes: deps, deque, docs, safety, tests#9
feralbureau wants to merge 1 commit into
LangGraph-GUI:mainfrom
feralbureau:feat/quality-fixes

Conversation

@feralbureau

Copy link
Copy Markdown

10 files touched, 20 tests passing.

  • pyproject.toml: proper packaging with pinned deps
  • src/init.py: make src a package
  • frontend.py: window title -> crewai-gui
  • workflow.py: pop(0) -> deque (o(n^2) -> o(n)), lazy imports for pyautogui, types + docs
  • nodedata.py: nexts/prevs int -> str (matches json reality)
  • node.py: guard remove_node against missing scene
  • additionaltools.py: safelist/denylist for systemcommandtool, write restricted to cwd
  • keyboardmousetool.py: safety _enabled flag, refactored actions
  • backend.py: chatopenai import -> langchain_openai (current package split)
  • tests/test_backend.py: 20 tests (nodedata, workflow helpers, topological sort, tool safety, file ops)

- pyproject.toml: add proper packaging with pinned deps
- src/__init__.py: make src a proper package
- frontend.py: fix window title to CrewAI-GUI
- WorkFlow.py: replace O(n^2) pop(0) with deque; add types and docs;
  lazy-import pyautogui deps to avoid DISPLAY requirement at load time
- NodeData.py: fix nexts/prevs type from int to str (matches JSON)
- Node.py: guard remove_node against missing scene
- AdditionalTools.py: add SystemCommandTool safelist/denylist; restrict
  FileOperationTool writes to cwd; add types and docs
- KeyboardMouseTool.py: add safety gate (_enabled flag); refactor actions
- backend.py: update ChatOpenAI import to langchain_openai
- tests/test_backend.py: 20 tests covering NodeData, WorkFlow helpers,
  topological sort, tool safety, and file ops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant