Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

chore: script adjustments

Luigi Agosti658d1a34fd22
diff --git a/.github/workflows/reusable-dashboard.yml b/.github/workflows/reusable-dashboard.yml
index 2a1841da..5e2d5504 100644
--- a/.github/workflows/reusable-dashboard.yml
+++ b/.github/workflows/reusable-dashboard.yml
@@ -43,7 +43,7 @@ jobs:
- name: Generate dashboard types
run: |
$HOME/go/bin/tygo generate
- npx prettier --write src/generated/types.ts
+ bun run types:format
git diff --exit-code -- src/generated/types.ts
- name: TypeScript check
@@ -86,7 +86,7 @@ jobs:
- name: Generate dashboard types
run: |
$HOME/go/bin/tygo generate
- npx prettier --write src/generated/types.ts
+ bun run types:format
- name: Build
run: bun run build
diff --git a/dashboard/package.json b/dashboard/package.json
index 501dd8f3..9b124119 100644
--- a/dashboard/package.json
+++ b/dashboard/package.json
@@ -11,6 +11,7 @@
"lint:fix": "eslint . --fix",
"format": "prettier --write 'src/**/*.{ts,tsx,css}'",
"format:check": "prettier --check 'src/**/*.{ts,tsx,css}'",
+ "types:format": "prettier --write src/generated/types.ts",
"typecheck": "tsc --noEmit",
"preview": "vite preview",
"test": "vitest",
diff --git a/plugin/package.json b/plugin/package.json
index 7c98bcce..eea76b0a 100644
--- a/plugin/package.json
+++ b/plugin/package.json
@@ -14,7 +14,9 @@
"check": "npm run typecheck && npm test"
},
"openclaw": {
- "extensions": ["./dist/index.js"],
+ "extensions": [
+ "./dist/index.js"
+ ],
"compat": {
"pluginApi": ">=2026.3.24-beta.2"
},
@@ -34,5 +36,6 @@
"openclaw": "2026.6.9",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
- }
-}
\ No newline at end of file
+ },
+ "packageManager": "[email protected]+sha512.3eeaf18997b11070d313849268b23766b9db0068997dec9471073170fe43fa17f2b4d0337bf0f52330ee2274e7f5754b21b01052742e48f5c9c74d8b1e32ef43"
+}
diff --git a/scripts/build-dashboard.sh b/scripts/build-dashboard.sh
index 5d3770a0..6d3e6e28 100755
--- a/scripts/build-dashboard.sh
+++ b/scripts/build-dashboard.sh
@@ -99,7 +99,7 @@ fi
# Normalize tygo output with prettier so generation doesn't dirty git
if [ -f "src/generated/types.ts" ]; then
- npx prettier --write src/generated/types.ts 2>/dev/null || true
+ bun run types:format
fi
bun run build
diff --git a/scripts/check-dashboard.sh b/scripts/check-dashboard.sh
index b4db58b5..aaad8f48 100755
--- a/scripts/check-dashboard.sh
+++ b/scripts/check-dashboard.sh
@@ -79,11 +79,11 @@ if [ -x "$TYGO" ] || command -v tygo &>/dev/null; then
BEFORE_FIX="$(mktemp)"
cp "$GENERATED_TYPES" "$BEFORE_FIX"
$TYGO_CMD generate 2>/dev/null
- npx prettier --write "$GENERATED_TYPES" 2>/dev/null || true
+ $RUN run types:format
if cmp -s "$BEFORE_FIX" "$GENERATED_TYPES"; then
ok "Types in sync"
else
- fail "Types out of sync" "Run: cd dashboard && tygo generate && npx prettier --write src/generated/types.ts"
+ fail "Types out of sync" "Run: cd dashboard && tygo generate && $RUN run types:format"
if confirm "Fix generated types now?"; then
ok "Types fixed"
else