manage-apps-and-sounds-headless
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Headless dashboard automation via pushover_headless_web_control.ts (function/enum-driven Bun TypeScript — run directly, no build; needs playwright-core from the plugin root's package.json, which Claude Code installs on every plugin update; by hand: cd "$(cc-plugin-root pushover-commander)" && bun install --frozen-lockfile). pushover.net login is a plain email/password form (no anti-bot / CAPTCHA / 2FA — verified 2026-05-30), so plain Playwright + Chrome for Testing works.
export PO_EMAIL="$(bash "$(cc-plugin-root pushover-commander)/skills/_lib/resolve_pushover_secret.sh" login_email)"
export PO_PW="$(bash "$(cc-plugin-root pushover-commander)/skills/_lib/resolve_pushover_secret.sh" login_password)"
export PO_USER="$(bash "$(cc-plugin-root pushover-commander)/skills/_lib/resolve_pushover_secret.sh" user_key)" # create-app token disambiguation
WEB() { env -u HTTPS_PROXY -u HTTP_PROXY \
bun "$(cc-plugin-root pushover-commander)/skills/_lib/pushover_headless_web_control.ts" "$@"; }
WEB apps # list application names
WEB create-app --name "My App" --desc "..." --reveal # create app, print its API token (--reveal = full)
WEB delete-app --name "My App" # delete app (by --name or --slug)
WEB list-sounds # list custom sound names
WEB add-sound --name po_fanfare --file x.mp3 --desc "..." # upload a custom sound
WEB remove-sound --name po_fanfare # delete a custom sound