CmdForge/src/cmdforge
rob 042be8b49b Add flow visualization for tool builder
Implements node-based flow visualization using NodeGraphQt-QuiltiX-fork:

New files:
- src/cmdforge/gui/widgets/flow_graph.py: FlowGraphWidget with custom node types
  - InputNode: Shows tool inputs ($input + argument variables)
  - PromptNode: AI prompt steps with provider display
  - CodeNode: Python code steps
  - OutputNode: Final output
- scripts/test_nodegraph.py: Standalone prototype for testing

Modified files:
- tool_builder_page.py: Added List/Flow view toggle with QStackedWidget
  - Lazy-loads flow widget on first use
  - Syncs between list and flow views
  - Double-click nodes to edit steps
- styles.py: Added viewToggle button styling
- widgets/__init__.py: Export FlowGraphWidget
- pyproject.toml: Added 'flow' optional dependency group

Features:
- Toggle between List and Flow views in Steps panel
- Nodes auto-connected based on step order
- Auto-layout and fit-to-view on load
- Double-click nodes opens step edit dialog
- Graceful fallback if NodeGraphQt not installed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 17:07:35 -04:00
..
cli Add admin configuration system and M3 content automation 2026-01-15 15:20:21 -04:00
gui Add flow visualization for tool builder 2026-01-15 17:07:35 -04:00
registry Add admin configuration system and M3 content automation 2026-01-15 15:20:21 -04:00
web Add admin configuration system and M3 content automation 2026-01-15 15:20:21 -04:00
__init__.py
cli.py
config.py
manifest.py
profiles.py Add AI persona profiles for prompt injection 2026-01-14 05:22:31 -04:00
providers.py
registry_client.py
resolver.py
runner.py Add AI persona profiles for prompt injection 2026-01-14 05:22:31 -04:00
tool.py Add AI persona profiles for prompt injection 2026-01-14 05:22:31 -04:00