* feat(plugins): add local plugin surfaces and RPCs Keep plugin execution scoped to its daemon while allowing one local TypeScript entry point to contribute validated RPCs and native client surfaces. Paseo owns host selection, navigation chrome, and per-installation query caches. * feat(plugins): add Linear attachment source * fix(nix): refresh npm dependency hash * test(server): exclude internal sessions from Hub counts * test(server): distinguish Hub execution sessions * feat(plugins): make local plugins explicitly opt-in Keep plugin loading dormant until configuration enables it, and collect unsupported examples under one directory. * refactor(plugins): establish host boundaries * fix(nix): refresh plugin dependency hash * fix(plugins): complete packaging and startup rollback * feat(plugins): add managed local lifecycle Make trusted local plugins recoverable and authorable through daemon-owned lifecycle operations, host settings, and a capability-gated CLI. Reloads fully stop the previous plugin before starting new code, while generated projects provide strict TSX checking without changing runtime dependency ownership. * fix(nix): refresh plugin dependency hash
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
name: Nix Update Hash
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "nix/**"
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- "package.json"
|
|
- "package-lock.json"
|
|
- "packages/highlight/**"
|
|
- "packages/plugin/**"
|
|
- "packages/server/**"
|
|
- "packages/relay/**"
|
|
- "packages/cli/**"
|
|
- "scripts/update-nix.sh"
|
|
- "scripts/fix-lockfile.mjs"
|
|
- ".github/workflows/nix-update-hash.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update-hash:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/create-github-app-token@v1
|
|
id: app-token
|
|
with:
|
|
app-id: ${{ secrets.PASEO_BOT_APP_ID }}
|
|
private-key: ${{ secrets.PASEO_BOT_APP_PRIVATE_KEY }}
|
|
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
token: ${{ steps.app-token.outputs.token }}
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
cache: "npm"
|
|
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- name: Update lockfile + Nix hash if stale
|
|
run: ./scripts/update-nix.sh
|
|
|
|
- name: Build Nix package
|
|
run: nix build .#default -o result
|
|
|
|
- name: Commit hash/lockfile updates
|
|
run: |
|
|
git diff --quiet package-lock.json nix/npm-deps.hash && exit 0
|
|
git config user.name "paseo-ai[bot]"
|
|
git config user.email "266920839+paseo-ai[bot]@users.noreply.github.com"
|
|
git add package-lock.json nix/npm-deps.hash
|
|
git commit -m "fix: update lockfile signatures and Nix hash [skip ci]"
|
|
git push
|