create-openclaw-bot 5.3.4 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/style.css CHANGED
@@ -711,8 +711,8 @@ body::after {
711
711
  display: flex;
712
712
  flex-direction: column;
713
713
  align-items: center;
714
- gap: 8px;
715
- padding: 16px 10px;
714
+ gap: 6px;
715
+ padding: 20px 12px 16px;
716
716
  background: var(--bg-glass);
717
717
  backdrop-filter: blur(12px);
718
718
  -webkit-backdrop-filter: blur(12px);
@@ -721,6 +721,8 @@ body::after {
721
721
  cursor: pointer;
722
722
  transition: all var(--duration-normal) var(--ease-out);
723
723
  text-align: center;
724
+ min-height: 130px;
725
+ justify-content: flex-start;
724
726
  }
725
727
 
726
728
  .provider-card:hover {
@@ -746,10 +748,24 @@ body::after {
746
748
  }
747
749
 
748
750
  .provider-card__name {
749
- font-size: 12px;
750
- font-weight: 600;
751
+ font-size: 13px;
752
+ font-weight: 700;
751
753
  color: var(--text-primary);
752
754
  white-space: nowrap;
755
+ margin-top: 2px;
756
+ }
757
+
758
+ .provider-card__desc {
759
+ font-size: 11px;
760
+ color: var(--text-secondary);
761
+ line-height: 1.45;
762
+ text-align: center;
763
+ margin-top: 2px;
764
+ max-width: 140px;
765
+ word-break: keep-all;
766
+ overflow-wrap: break-word;
767
+ white-space: normal;
768
+ min-height: 28px;
753
769
  }
754
770
 
755
771
  .cred-step a, .prompt-notice a, .form-group__hint a, .form-group__label a {
@@ -796,7 +812,7 @@ body::after {
796
812
 
797
813
  .plugin-card {
798
814
  display: flex;
799
- align-items: stretch;
815
+ flex-direction: column;
800
816
  gap: 0;
801
817
  padding: 12px;
802
818
  background: var(--bg-glass);
@@ -807,7 +823,7 @@ body::after {
807
823
  cursor: pointer;
808
824
  transition: all var(--duration-normal) var(--ease-out);
809
825
  position: relative;
810
- min-height: 88px;
826
+ min-height: 60px;
811
827
  height: 100%;
812
828
  min-width: 0;
813
829
  overflow: visible;
@@ -879,10 +895,11 @@ body::after {
879
895
  .plugin-card__subline {
880
896
  display: flex;
881
897
  align-items: center;
882
- justify-content: flex-start;
883
- padding-left: 5px;
884
- gap: 10px;
885
- min-height: 22px;
898
+ justify-content: space-between;
899
+ padding-left: 0;
900
+ gap: 6px;
901
+ min-height: 26px;
902
+ margin-top: 4px;
886
903
  }
887
904
 
888
905
  .plugin-card__badge-slot {
@@ -1517,6 +1534,19 @@ body::after {
1517
1534
  transform: translateX(20px);
1518
1535
  }
1519
1536
 
1537
+ /* Plugin card visual-only toggle (no input inside — state driven by plugin-card--selected) */
1538
+ .plugin-card--selected .plugin-card__switch .toggle-slider {
1539
+ background: var(--claw-coral);
1540
+ }
1541
+ .plugin-card--selected .plugin-card__switch .toggle-slider::before {
1542
+ transform: translateX(20px);
1543
+ }
1544
+ .plugin-card__switch {
1545
+ pointer-events: none;
1546
+ flex-shrink: 0;
1547
+ cursor: default;
1548
+ }
1549
+
1520
1550
  /* ============================================================
1521
1551
  Step 1 — OS Cards & Smart Advisory Panel
1522
1552
  ============================================================ */
@@ -1,15 +0,0 @@
1
- @echo off
2
- echo ====== OpenClaw - Chrome Debug Mode ======
3
- echo.
4
- echo Dang tat Chrome cu (neu co)...
5
- taskkill /F /IM chrome.exe >nul 2>&1
6
- timeout /t 3 /nobreak >nul
7
- echo Dang mo Chrome voi Debug Mode...
8
- start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" ^
9
- --remote-debugging-port=9222 ^
10
- --remote-allow-origins=* ^
11
- --user-data-dir="%TEMP%\chrome-debug"
12
- timeout /t 4 /nobreak >nul
13
- powershell -Command "try { Invoke-WebRequest -Uri 'http://localhost:9222/json/version' -UseBasicParsing -TimeoutSec 5 | Out-Null; Write-Host 'OK! Chrome Debug Mode dang chay.' -ForegroundColor Green } catch { Write-Host 'LOI: Port 9222 chua mo.' -ForegroundColor Red }"
14
- echo.
15
- pause
@@ -1,70 +0,0 @@
1
- #!/usr/bin/env bash
2
- # ====== OpenClaw - Chrome Debug Mode (Mac/Linux) ======
3
- # Equivalent of start-chrome-debug.bat for Mac/Linux users
4
- # Required for Browser Automation skill — opens Chrome with DevTools Protocol
5
- set -e
6
-
7
- echo "====== OpenClaw - Chrome Debug Mode ======"
8
- echo ""
9
-
10
- # ── Detect Chrome/Chromium path ──
11
- if [[ "$OSTYPE" == "darwin"* ]]; then
12
- # macOS: check standard paths
13
- CHROME_BIN="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
14
- if [ ! -f "$CHROME_BIN" ]; then
15
- CHROME_BIN="/Applications/Chromium.app/Contents/MacOS/Chromium"
16
- fi
17
- if [ ! -f "$CHROME_BIN" ]; then
18
- CHROME_BIN="/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"
19
- fi
20
- else
21
- # Linux: try common binary names
22
- CHROME_BIN="$(command -v google-chrome || command -v google-chrome-stable || command -v chromium-browser || command -v chromium || echo '')"
23
- fi
24
-
25
- # Allow override via env var
26
- if [ -n "$CHROME_DEBUG_BIN" ]; then
27
- CHROME_BIN="$CHROME_DEBUG_BIN"
28
- fi
29
-
30
- if [ -z "$CHROME_BIN" ] || { [ ! -f "$CHROME_BIN" ] && [ ! -x "$CHROME_BIN" ]; }; then
31
- echo -e "\033[31mERROR: Chrome/Chromium not found.\033[0m"
32
- echo "Install Google Chrome or set CHROME_DEBUG_BIN environment variable."
33
- echo ""
34
- echo " macOS: brew install --cask google-chrome"
35
- echo " Ubuntu: sudo apt install google-chrome-stable"
36
- echo " Manual: export CHROME_DEBUG_BIN=/path/to/chrome"
37
- exit 1
38
- fi
39
-
40
- echo "Using: $CHROME_BIN"
41
-
42
- # ── Kill existing debug sessions ──
43
- echo "Killing existing Chrome debug instances (port 9222)..."
44
- pkill -f -- "--remote-debugging-port=9222" 2>/dev/null || true
45
- sleep 2
46
-
47
- # ── Prepare user-data directory ──
48
- TMP_DIR="${TMPDIR:-/tmp}/chrome-debug-openclaw"
49
- mkdir -p "$TMP_DIR"
50
-
51
- # ── Launch Chrome ──
52
- echo "Starting Chrome in Debug Mode (port 9222)..."
53
- "$CHROME_BIN" \
54
- --remote-debugging-port=9222 \
55
- --remote-allow-origins=* \
56
- --user-data-dir="$TMP_DIR" &
57
-
58
- CHROME_PID=$!
59
- sleep 4
60
-
61
- # ── Verify ──
62
- if curl -s http://localhost:9222/json/version > /dev/null 2>&1; then
63
- echo -e "\033[32m✅ OK! Chrome Debug Mode is running on port 9222.\033[0m"
64
- echo " PID: $CHROME_PID"
65
- echo ""
66
- echo " Docker container will connect via socat → host.docker.internal:9222"
67
- else
68
- echo -e "\033[31m❌ ERROR: Port 9222 not responding. Check if Chrome launched correctly.\033[0m"
69
- exit 1
70
- fi
package/test-path.bat DELETED
@@ -1,4 +0,0 @@
1
- @echo off
2
- set "PROJECT_DIR=D:\test"
3
- echo Path1: "%PROJECT_DIR%\.env"
4
- echo Path2: "%PROJECT_DIR%\\.env"