4201326467
Remove stale ToolConfig and ConfigFolder backend/frontend surfaces after the ConfigProfile refactor. Drop dead routers, schemas, model exports, frontend routes, clients, pages, and tests; keep ToolType API compatibility for existing interface/is_builtin response shape. Quality gates: backend LSP diagnostics passed; backend py_compile passed; backend ruff passed; frontend ToolWorkshopPage test passed. Frontend typecheck blocked by unrelated missing xterm-addon-serialize types.
44 lines
1.0 KiB
Python
44 lines
1.0 KiB
Python
"""Docker services for container and tunnel management."""
|
|
|
|
from .compose import (
|
|
ensure_instance_directory,
|
|
execute_compose_command,
|
|
render_compose_template,
|
|
write_compose_file,
|
|
write_env_file,
|
|
)
|
|
from .config_staging import write_config_files
|
|
from .container import (
|
|
connect_container_to_network,
|
|
find_free_port,
|
|
get_container_id,
|
|
get_container_logs,
|
|
get_container_name,
|
|
get_container_status,
|
|
)
|
|
from .tunnel import (
|
|
check_tunnel_health,
|
|
recreate_tunnel,
|
|
start_cloudflared_tunnel,
|
|
stop_cloudflared_tunnel,
|
|
)
|
|
|
|
__all__ = [
|
|
"render_compose_template",
|
|
"ensure_instance_directory",
|
|
"write_compose_file",
|
|
"write_env_file",
|
|
"execute_compose_command",
|
|
"write_config_files",
|
|
"get_container_id",
|
|
"get_container_name",
|
|
"connect_container_to_network",
|
|
"get_container_status",
|
|
"get_container_logs",
|
|
"find_free_port",
|
|
"start_cloudflared_tunnel",
|
|
"stop_cloudflared_tunnel",
|
|
"recreate_tunnel",
|
|
"check_tunnel_health",
|
|
]
|