From 1657525201879d0abdf877673fb3ab7bbf9bebb7 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 17 Jan 2026 16:41:25 +0000 Subject: [PATCH] chore: prep 2026.1.17 and onboard flow --- CHANGELOG.md | 5 +++++ scripts/e2e/onboard-docker.sh | 41 ++++++++++++++++++++++------------- 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b20fb074e..08c1fcf67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ Docs: https://docs.clawd.bot +## 2026.1.17 (Unreleased) + +### Changes +- TBD. + ## 2026.1.16-2 ### Changes diff --git a/scripts/e2e/onboard-docker.sh b/scripts/e2e/onboard-docker.sh index e2162c123..560c2d9a5 100755 --- a/scripts/e2e/onboard-docker.sh +++ b/scripts/e2e/onboard-docker.sh @@ -168,24 +168,33 @@ TRASH fi } + select_skip_hooks() { + # Hooks multiselect: pick "Skip for now". + wait_for_log "Enable hooks?" 60 || true + send $'"'"' \r'"'"' 0.6 + } + send_local_basic() { # Risk acknowledgement (default is "No"). send $'"'"'y\r'"'"' 0.6 # Choose local gateway, accept defaults, skip channels/skills/daemon, skip UI. send $'"'"'\r'"'"' 0.5 + select_skip_hooks } - send_reset_config_only() { - # Risk acknowledgement (default is "No"). - send $'"'"'y\r'"'"' 0.8 - # Reset config + reuse the local defaults flow. - send $'"'"'\e[B'"'"' 0.3 - send $'"'"'\e[B'"'"' 0.3 - send $'"'"'\r'"'"' 0.4 - send $'"'"'\r'"'"' 0.4 - send "" 1.2 - send_local_basic - } + send_reset_config_only() { + # Risk acknowledgement (default is "No"). + send $'"'"'y\r'"'"' 0.8 + # Select reset flow for existing config. + wait_for_log "Config handling" 40 || true + send $'"'"'\e[B'"'"' 0.3 + send $'"'"'\e[B'"'"' 0.3 + send $'"'"'\r'"'"' 0.4 + # Reset scope -> Config only (default). + wait_for_log "Reset scope" 40 || true + send $'"'"'\r'"'"' 0.4 + select_skip_hooks + } send_channels_flow() { # Configure channels via configure wizard. @@ -202,11 +211,13 @@ TRASH send_skills_flow() { # Select skills section and skip optional installs. - send $'"'"'\r'"'"' 1.2 - send "" 1.0 + wait_for_log "Where will the Gateway run?" 40 || true + send $'"'"'\r'"'"' 0.8 # Configure skills now? -> No - send $'"'"'n\r'"'"' 1.2 - send "" 2.0 + wait_for_log "Configure skills now?" 40 || true + send $'"'"'n\r'"'"' 0.8 + wait_for_log "Configure complete." 40 || true + send "" 0.8 } run_case_local_basic() {