Let setup wizard enable IM channels

This commit is contained in:
taohe
2026-06-11 17:34:22 +08:00
parent a270e8b310
commit ddd1c5e42f
6 changed files with 204 additions and 2 deletions
+10 -1
View File
@@ -58,7 +58,7 @@ def main() -> int:
return 0
print()
total_steps = 4
total_steps = 5
from wizard.steps.llm import run_llm_step
@@ -76,6 +76,10 @@ def main() -> int:
execution = run_execution_step(f"Step 3/{total_steps}")
from wizard.steps.channels import run_channels_step
channels = run_channels_step(f"Step 4/{total_steps}")
print_header(f"Step {total_steps}/{total_steps} · Writing configuration")
write_config_yaml(
@@ -97,6 +101,7 @@ def main() -> int:
allow_host_bash=execution.allow_host_bash,
include_bash_tool=execution.include_bash_tool,
include_write_tools=execution.include_write_tools,
channel_connection_providers=channels.enabled_providers,
)
print_success(f"Config written to: {config_path.relative_to(project_root)}")
@@ -148,6 +153,10 @@ def main() -> int:
print(f" {green('')} File write: enabled")
else:
print(f" {'':>3} File write: disabled")
if channels.enabled_providers:
print(f" {green('')} IM channels: {', '.join(channels.enabled_providers)}")
else:
print(f" {'':>3} IM channels: disabled")
print()
print("Next steps:")
print(f" {cyan('make install')} # Install dependencies (first time only)")