mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 09:42:53 +00:00
* fix(desktop): throttle hidden browsers between screenshots Keep Chromium background throttling enabled outside serialized captures. Temporarily enable frame production and wait for fresh paint so hidden-window screenshots remain usable without continuously animating idle guests. * fix(desktop): share screenshot deadline across paint and capture * test(desktop): wait for browser fixture readiness before sampling * test(desktop): exit Electron after screenshot verification CI completed every screenshot assertion but remained alive after app.quit. Exit the standalone test explicitly and keep its deadline active until process shutdown. * test(desktop): clean browser profile after Electron exits Explicit Electron exit skips quit handlers, and removing the profile before shutdown lets Chromium recreate it. The launcher owns the temporary profile and removes it after the child exits. * test(desktop): reuse browser E2E for hidden screenshot regression Exercise the running app and browser MCP tools within the existing browser journey. Remove the separate Electron fixtures, npm script, and CI step.
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "@getpaseo/desktop",
|
|
"version": "0.8.0",
|
|
"private": true,
|
|
"description": "Paseo desktop app (Electron wrapper)",
|
|
"homepage": "https://paseo.sh",
|
|
"license": "Apache-2.0",
|
|
"author": {
|
|
"name": "Mohamed Boudra",
|
|
"email": "hello@moboudra.com"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/getpaseo/paseo.git"
|
|
},
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"build": "npm --prefix ../.. run build:server:clean && npm run build:main && electron-builder --config electron-builder.yml",
|
|
"build:main": "tsc -p tsconfig.json",
|
|
"capture-harness": "npm run build:main && ./capture-harness/run.sh",
|
|
"dev": "./scripts/dev.sh",
|
|
"dev:win": "powershell ./scripts/dev.ps1",
|
|
"test:e2e:renderer": "cross-env E2E_DESKTOP_RUNTIME=1 playwright test --config=playwright.config.ts --project=desktop",
|
|
"test:e2e:browser-tabs": "npm run build:main && node ./e2e/browser-tabs.e2e.mjs",
|
|
"verify:electron-cdp": "node ./scripts/verify-electron-cdp.mjs",
|
|
"test": "vitest run --exclude \"e2e/**\"",
|
|
"typecheck": "tsgo --noEmit -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"@getpaseo/cli": "*",
|
|
"@getpaseo/server": "*",
|
|
"electron-log": "^5.4.3",
|
|
"electron-updater": "^6.6.2",
|
|
"ws": "^8.14.2",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/asar": "3.4.1",
|
|
"@types/node": "24.6.0",
|
|
"@types/ws": "^8.5.14",
|
|
"electron": "44.2.0",
|
|
"electron-builder": "26.8.1",
|
|
"typescript": "5.9.3",
|
|
"unzip-crx-3": "^0.2.0",
|
|
"vitest": "^4.1.6",
|
|
"wait-on": "8.0.5"
|
|
},
|
|
"desktopName": "Paseo.desktop"
|
|
}
|