Files
paseo/packages/desktop/electron-builder.yml
Mohamed Boudra 76a5edb020 Open existing agents from links and the CLI (#2324)
* feat(desktop): open existing agents from links

Register a stable agent deep link and route it through the existing Desktop window. Add a matching CLI command that resolves the local server and activates the requested agent without creating or messaging it.

* fix(desktop): recover agent link delivery
2026-07-22 18:31:12 +02:00

88 lines
2.2 KiB
YAML

npmRebuild: false
appId: sh.paseo.desktop
productName: Paseo
executableName: Paseo
protocols:
- name: Paseo agent link
schemes:
- paseo
afterPack: ./scripts/after-pack.js
afterSign: ./scripts/after-sign.js
directories:
output: release
files:
- dist/**/*
- "!**/*.map"
- "!node_modules/@getpaseo/*/src/**"
- "!node_modules/@getpaseo/**/*.test.*"
- "!node_modules/@getpaseo/**/*.spec.*"
- "!node_modules/@getpaseo/server/dist/server/web-ui/**"
asarUnpack:
- dist/daemon/node-entrypoint-runner.js
- node_modules/@getpaseo/server/dist/server/terminal/shell-integration/**/*
extraResources:
- from: ../app/dist
to: app-dist
- from: ../../skills
to: skills
- from: assets/editor-targets
to: editor-target-icons
publish:
provider: github
owner: getpaseo
repo: paseo
mac:
artifactName: "Paseo-${version}-${arch}.${ext}"
category: public.app-category.developer-tools
icon: assets/icon.icns
hardenedRuntime: true
notarize: true
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.inherit.plist
extraResources:
- from: bin/paseo
to: bin/paseo
target:
- dmg
- zip
linux:
category: Development
icon: assets
artifactName: "Paseo-${version}-${arch}.${ext}"
maintainer: "Mohamed Boudra <hello@moboudra.com>"
vendor: "Paseo"
extraResources:
- from: bin/paseo
to: bin/paseo
target:
- AppImage
- deb
- rpm
- tar.gz
appImage:
# Keep the AppImage filename stable across versions (no ${version}) so
# electron-updater overwrites the file in place instead of renaming it to a new
# versioned path. A rename orphans the old binary, breaks desktop shortcuts, and
# dangles the ~/.local/bin/paseo CLI symlink, which points at $APPIMAGE. The
# version stays discoverable via the release tag and the in-app version.
artifactName: "Paseo-${arch}.${ext}"
win:
artifactName: "Paseo-Setup-${version}-${arch}.${ext}"
icon: assets/icon.ico
extraResources:
- from: bin/paseo.cmd
to: bin/paseo.cmd
target:
- target: nsis
arch:
- x64
- arm64
- target: zip
arch:
- x64
- arm64
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true