Files
startrail-org--pixelrag/plugin/setup.sh
T
wehub-resource-sync 542cfa195c
CI / Frontend build (push) Failing after 9m6s
CI / Plugin validate (push) Failing after 9m27s
CI / Python lint (push) Failing after 16m1s
CI / Tests (push) Successful in 18m0s
Deploy / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:33:27 +08:00

23 lines
682 B
Bash
Executable File

#!/bin/bash
# One-liner setup: install pixelrag + register plugin with Claude Code
set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_DIR="$(dirname "$SCRIPT_DIR")"
# Install pixelrag into an isolated env via uv
echo "Installing pixelrag..."
uv tool install --from "$REPO_DIR" pixelrag 2>/dev/null || \
uv tool upgrade --from "$REPO_DIR" pixelrag
# Install playwright browser
echo "Installing Chromium..."
uvx playwright install chromium 2>/dev/null || true
echo ""
echo "Done. Start Claude Code with:"
echo " claude --plugin-dir $SCRIPT_DIR"
echo ""
echo "Or register permanently:"
echo " claude mcp add-json pixelbrowse '{}' # not needed, it's a skill-only plugin"