Spaces:
Sleeping
Sleeping
| """ | |
| ui/ | |
| --- | |
| Gradio component builders and state management for AutoDevAgent. | |
| This package imports from pipeline/ and observability/ only. | |
| It never talks to agents or executors directly. | |
| Modules: | |
| components — reusable Gradio component builders | |
| (HITL panel, reflection panel, stats strip, | |
| model switcher, language selector) | |
| pipeline_visualiser — fixed-node SVG pipeline with dynamic arrows | |
| session_history — SessionHistory state manager for all runs | |
| """ | |
| from ui.components import ( | |
| build_hitl_panel, | |
| build_reflection_panel, | |
| build_stats_strip, | |
| build_model_switcher, | |
| build_language_selector, | |
| update_hitl_panel, | |
| update_reflection_panel, | |
| update_stats_strip, | |
| update_language_badge, | |
| ) | |
| from ui.pipeline_visualiser import ( | |
| get_pipeline_html, | |
| get_status_update_js, | |
| STATUS_TO_ACTIVE_NODE, | |
| SUCCESS_ARROWS, | |
| DEBUG_ARROWS, | |
| ) | |
| from ui.session_history import SessionHistory, SessionEntry | |
| __all__ = [ | |
| "build_hitl_panel", | |
| "build_reflection_panel", | |
| "build_stats_strip", | |
| "build_model_switcher", | |
| "build_language_selector", | |
| "update_hitl_panel", | |
| "update_reflection_panel", | |
| "update_stats_strip", | |
| "update_language_badge", | |
| "get_pipeline_html", | |
| "get_status_update_js", | |
| "STATUS_TO_ACTIVE_NODE", | |
| "SUCCESS_ARROWS", | |
| "DEBUG_ARROWS", | |
| "SessionHistory", | |
| "SessionEntry", | |
| ] | |