refactor: decouple skills page from gateway marketplace (#1089)

This commit is contained in:
Felix
2026-06-02 16:15:57 +08:00
committed by GitHub
parent 83317210f6
commit d27faa5a00
32 changed files with 1875 additions and 1156 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
CDP_PORT="${CDP_PORT:-9222}"
OUT_DIR="${OUT_DIR:-playground/agent-browser}"
mkdir -p "$OUT_DIR"
agent-browser connect "$CDP_PORT"
agent-browser tab > "$OUT_DIR/00-tabs.txt"
agent-browser snapshot -i > "$OUT_DIR/01-initial.snapshot.txt"
agent-browser screenshot "$OUT_DIR/01-initial.png"
agent-browser find text "技能" click || agent-browser find text "Skills" click || true
agent-browser wait 1000
agent-browser snapshot -i > "$OUT_DIR/02-skills.snapshot.txt"
agent-browser screenshot "$OUT_DIR/02-skills.png"