diff --git a/.agent/scripts/dev-browser-helper.sh b/.agent/scripts/dev-browser-helper.sh index ec8dbb24a..aa19a539c 100755 --- a/.agent/scripts/dev-browser-helper.sh +++ b/.agent/scripts/dev-browser-helper.sh @@ -329,7 +329,7 @@ show_profile() { print_success "Profile exists (${profile_size})" echo "" print_info "Contents:" - ls -la "${PROFILE_DIR}" 2>/dev/null | head -20 + (cd "${PROFILE_DIR}" && find . -maxdepth 1 -mindepth 1 -exec ls -ld {} +) 2>/dev/null | head -20 echo "" print_info "This profile persists:" print_info " - Cookies (stay logged into sites)" diff --git a/.agent/scripts/fix-s131-default-cases.sh b/.agent/scripts/fix-s131-default-cases.sh index be3affb9f..29de4e345 100755 --- a/.agent/scripts/fix-s131-default-cases.sh +++ b/.agent/scripts/fix-s131-default-cases.sh @@ -245,5 +245,3 @@ main() { } main "$@" - -return 0 diff --git a/.agent/scripts/generate-skills.sh b/.agent/scripts/generate-skills.sh index 2c071820e..ef585221c 100755 --- a/.agent/scripts/generate-skills.sh +++ b/.agent/scripts/generate-skills.sh @@ -352,5 +352,3 @@ if [[ "$DRY_RUN" == true ]]; then log_warning "" log_warning "This was a dry run. Run without --dry-run to generate files." fi - -return 0 diff --git a/.agent/scripts/gsc-add-user-helper.sh b/.agent/scripts/gsc-add-user-helper.sh index 3c2cb6a70..7d770a195 100755 --- a/.agent/scripts/gsc-add-user-helper.sh +++ b/.agent/scripts/gsc-add-user-helper.sh @@ -311,5 +311,3 @@ case "${1:-}" in exit 1 ;; esac - -return 0 diff --git a/.agent/scripts/ralph-upstream-check.sh b/.agent/scripts/ralph-upstream-check.sh index 35ccb61e4..b65c35dcb 100755 --- a/.agent/scripts/ralph-upstream-check.sh +++ b/.agent/scripts/ralph-upstream-check.sh @@ -320,6 +320,8 @@ main() { fi check_upstream + + return 0 } main "$@" diff --git a/.agent/scripts/terminal-title-setup.sh b/.agent/scripts/terminal-title-setup.sh index 54735d1c8..33f26a276 100755 --- a/.agent/scripts/terminal-title-setup.sh +++ b/.agent/scripts/terminal-title-setup.sh @@ -33,9 +33,6 @@ log_error() { echo -e "${RED}[ERROR]${NC} $*" >&2; } MARKER_START="# >>> aidevops terminal-title integration >>>" MARKER_END="# <<< aidevops terminal-title integration <<<" -# Helper script path -HELPER_SCRIPT="$HOME/.aidevops/agents/scripts/terminal-title-helper.sh" - # ============================================================================= # Shell Detection # ============================================================================= @@ -529,6 +526,7 @@ main() { return 1 ;; esac + # Return status of the executed command } main "$@" diff --git a/.agent/scripts/todo-ready.sh b/.agent/scripts/todo-ready.sh index 3e75e1538..dde0b6a84 100755 --- a/.agent/scripts/todo-ready.sh +++ b/.agent/scripts/todo-ready.sh @@ -251,6 +251,8 @@ main() { parse_tasks "$todo_file" | output_text ;; esac + + return 0 } main "$@"