|
222 | 222 | "android:lint:android": "cd apps/android && ./gradlew :app:lintDebug", |
223 | 223 | "android:run": "cd apps/android && ./gradlew :app:installDebug && adb shell am start -n ai.openclaw.app/.MainActivity", |
224 | 224 | "android:test": "cd apps/android && ./gradlew :app:testDebugUnitTest", |
225 | | - "android:test:integration": "OPENCLAW_LIVE_TEST=1 OPENCLAW_LIVE_ANDROID_NODE=1 vitest run --config vitest.live.config.ts src/gateway/android-node.capabilities.live.test.ts", |
| 225 | + "android:test:integration": "node scripts/with-env.mjs OPENCLAW_LIVE_TEST=1 OPENCLAW_LIVE_ANDROID_NODE=1 -- vitest run --config vitest.live.config.ts src/gateway/android-node.capabilities.live.test.ts", |
226 | 226 | "build": "pnpm canvas:a2ui:bundle && node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts", |
227 | 227 | "build:docker": "node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts", |
228 | 228 | "build:plugin-sdk:dts": "tsc -p tsconfig.plugin-sdk.dts.json", |
|
257 | 257 | "format:docs:check": "git ls-files 'docs/**/*.md' 'docs/**/*.mdx' 'README.md' | xargs oxfmt --check", |
258 | 258 | "format:fix": "oxfmt --write", |
259 | 259 | "format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources", |
260 | | - "gateway:dev": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway", |
261 | | - "gateway:dev:reset": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway --reset", |
| 260 | + "gateway:dev": "node scripts/with-env.mjs OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 -- node scripts/run-node.mjs --dev gateway", |
| 261 | + "gateway:dev:reset": "node scripts/with-env.mjs OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 -- node scripts/run-node.mjs --dev gateway --reset", |
262 | 262 | "gateway:watch": "node scripts/watch-node.mjs gateway --force", |
263 | 263 | "gen:host-env-policy:swift": "node scripts/generate-host-env-security-policy-swift.mjs --write", |
264 | 264 | "ghsa:patch": "node scripts/ghsa-patch.mjs", |
|
320 | 320 | "test:force": "node --import tsx scripts/test-force.ts", |
321 | 321 | "test:gateway": "vitest run --config vitest.gateway.config.ts --pool=forks", |
322 | 322 | "test:install:e2e": "bash scripts/test-install-sh-e2e-docker.sh", |
323 | | - "test:install:e2e:anthropic": "OPENCLAW_E2E_MODELS=anthropic CLAWDBOT_E2E_MODELS=anthropic bash scripts/test-install-sh-e2e-docker.sh", |
324 | | - "test:install:e2e:openai": "OPENCLAW_E2E_MODELS=openai CLAWDBOT_E2E_MODELS=openai bash scripts/test-install-sh-e2e-docker.sh", |
| 323 | + "test:install:e2e:anthropic": "node scripts/with-env.mjs OPENCLAW_E2E_MODELS=anthropic CLAWDBOT_E2E_MODELS=anthropic -- bash scripts/test-install-sh-e2e-docker.sh", |
| 324 | + "test:install:e2e:openai": "node scripts/with-env.mjs OPENCLAW_E2E_MODELS=openai CLAWDBOT_E2E_MODELS=openai -- bash scripts/test-install-sh-e2e-docker.sh", |
325 | 325 | "test:install:smoke": "bash scripts/test-install-sh-docker.sh", |
326 | | - "test:live": "OPENCLAW_LIVE_TEST=1 CLAWDBOT_LIVE_TEST=1 vitest run --config vitest.live.config.ts", |
327 | | - "test:macmini": "OPENCLAW_TEST_VM_FORKS=0 OPENCLAW_TEST_PROFILE=serial node scripts/test-parallel.mjs", |
| 326 | + "test:live": "node scripts/with-env.mjs OPENCLAW_LIVE_TEST=1 CLAWDBOT_LIVE_TEST=1 -- vitest run --config vitest.live.config.ts", |
| 327 | + "test:macmini": "node scripts/with-env.mjs OPENCLAW_TEST_VM_FORKS=0 OPENCLAW_TEST_PROFILE=serial -- node scripts/test-parallel.mjs", |
328 | 328 | "test:perf:budget": "node scripts/test-perf-budget.mjs", |
329 | 329 | "test:perf:hotspots": "node scripts/test-hotspots.mjs", |
330 | 330 | "test:sectriage": "pnpm exec vitest run --config vitest.gateway.config.ts && vitest run --config vitest.unit.config.ts --exclude src/daemon/launchd.integration.test.ts --exclude src/process/exec.test.ts", |
331 | 331 | "test:ui": "pnpm lint:ui:no-raw-window-open && pnpm --dir ui test", |
332 | 332 | "test:voicecall:closedloop": "vitest run extensions/voice-call/src/manager.test.ts extensions/voice-call/src/media-stream.test.ts src/plugins/voice-call.plugin.test.ts --maxWorkers=1", |
333 | 333 | "test:watch": "vitest", |
334 | 334 | "tui": "node scripts/run-node.mjs tui", |
335 | | - "tui:dev": "OPENCLAW_PROFILE=dev CLAWDBOT_PROFILE=dev node scripts/run-node.mjs --dev tui", |
| 335 | + "tui:dev": "node scripts/with-env.mjs OPENCLAW_PROFILE=dev CLAWDBOT_PROFILE=dev -- node scripts/run-node.mjs --dev tui", |
336 | 336 | "ui:build": "node scripts/ui.js build", |
337 | 337 | "ui:dev": "node scripts/ui.js dev", |
338 | 338 | "ui:install": "node scripts/ui.js install" |
|
0 commit comments