File size: 1,443 Bytes
8edee29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""
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",
]