mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-02 22:00:19 +00:00
fix: use log_step for progress messages in netcup scripts (#441)
All netcup agent scripts were using log_warn (yellow) for routine progress messages like "Installing...", "Setting up...", "Starting...". These should use log_step (cyan) which was added specifically for progress/status messages, reserving log_warn for actual warnings. Agent: ux-engineer Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
10a40ca574
commit
d25cdd0da6
10 changed files with 32 additions and 32 deletions
|
|
@ -20,7 +20,7 @@ create_server "${SERVER_NAME}"
|
|||
verify_server_connectivity "${NETCUP_SERVER_IP}"
|
||||
wait_for_cloud_init "${NETCUP_SERVER_IP}" 60
|
||||
|
||||
log_warn "Installing Codex CLI..."
|
||||
log_step "Installing Codex CLI..."
|
||||
run_server "${NETCUP_SERVER_IP}" "npm install -g @openai/codex"
|
||||
log_info "Codex CLI installed"
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ else
|
|||
OPENROUTER_API_KEY=$(get_openrouter_api_key_oauth 5180)
|
||||
fi
|
||||
|
||||
log_warn "Setting up environment variables..."
|
||||
log_step "Setting up environment variables..."
|
||||
inject_env_vars_ssh "${NETCUP_SERVER_IP}" upload_file run_server \
|
||||
"OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
"OPENAI_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
|
|
@ -42,7 +42,7 @@ log_info "Netcup server setup completed successfully!"
|
|||
log_info "Server: ${SERVER_NAME} (ID: ${NETCUP_SERVER_ID}, IP: ${NETCUP_SERVER_IP})"
|
||||
echo ""
|
||||
|
||||
log_warn "Starting Codex..."
|
||||
log_step "Starting Codex..."
|
||||
sleep 1
|
||||
clear
|
||||
interactive_session "${NETCUP_SERVER_IP}" "source ~/.zshrc && codex"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue