# Remove GitHub Every step is idempotent — safe to re-run. ## 1. Remove the adapter Delete the self-registration import from `src/channels/index.ts` (skip if already gone): ```typescript import './github.js'; ``` Then delete the copied adapter and its registration test: ```bash rm -f src/channels/github.ts src/channels/github-registration.test.ts ``` ## 2. Remove credentials Remove `GITHUB_TOKEN`, `GITHUB_WEBHOOK_SECRET`, and `GITHUB_BOT_USERNAME` from `.env`. ## 3. Remove the package ```bash pnpm uninstall @chat-adapter/github ``` ## 4. Rebuild and restart ```bash pnpm run build source setup/lib/install-slug.sh launchctl kickstart -k gui/$(id -u)/$(launchd_label) # macOS # Linux: systemctl --user restart $(systemd_unit) ```