#!/usr/bin/env bash # Removes the Claude Code bridge (macOS and Linux), including the ones earlier versions installed. NAMES=("app.jobocop.bridge" "com.bos.job_application_filler" "com.secretremote.autofill") if [[ "$(uname)" == "Darwin" ]]; then BASE="$HOME/Library/Application Support"; else BASE="${XDG_CONFIG_HOME:-$HOME/.config}"; fi for n in "${NAMES[@]}"; do find "$BASE" -maxdepth 4 -path "*NativeMessagingHosts/$n.json" -print -delete 2>/dev/null done rm -rf "$HOME/.jobocop" "$HOME/.bos-job-application-filler" "$HOME/.secretremote-autofill" echo "Bridge removed."