feat: add PilotDeck package
CI / check (push) Has been cancelled

Package the upstream Linux Electron release for x86_64 and aarch64 as
pilotdeck. The Debian payload includes the bundled Node.js runtime and web
UI; the wrapper adds the Electron runtime libraries to LD_LIBRARY_PATH and
installs a desktop entry.

README lists the new package.
This commit is contained in:
2026-10-19 21:07:13 +03:00
parent adbed5f3c0
commit fd74633e8d
3 changed files with 189 additions and 0 deletions
+2
View File
@@ -37,6 +37,7 @@ A custom Nix overlay and flake providing additional packages not found in upstre
| `radar` | Modern Kubernetes visibility — topology, event timeline, service traffic, resource browsing, Helm management, and GitOps support | Kubernetes | | `radar` | Modern Kubernetes visibility — topology, event timeline, service traffic, resource browsing, Helm management, and GitOps support | Kubernetes |
| `omniroute` | Unified AI router with 160+ providers, auto fallback, MCP/A2A, OpenAI-compatible APIs | AI LLM Gateway | | `omniroute` | Unified AI router with 160+ providers, auto fallback, MCP/A2A, OpenAI-compatible APIs | AI LLM Gateway |
| `open-code-review` | AI-powered code review CLI combining deterministic pipelines with an LLM agent for line-level review comments | AI Coding Agents | | `open-code-review` | AI-powered code review CLI combining deterministic pipelines with an LLM agent for line-level review comments | AI Coding Agents |
| `pilotdeck` | Task-oriented AI Agent productivity platform with WorkSpace isolation, white-box memory, and smart routing | AI Agents |
| `relay-free-llm` | RESTful API to route user prompts to various AI model providers with automatic failover and intent-based routing | AI LLM Gateway | | `relay-free-llm` | RESTful API to route user prompts to various AI model providers with automatic failover and intent-based routing | AI LLM Gateway |
| `stakpak` | DevOps AI agent that generates infrastructure code, debugs Kubernetes, configures CI/CD, and automates deployments | AI Agents | | `stakpak` | DevOps AI agent that generates infrastructure code, debugs Kubernetes, configures CI/CD, and automates deployments | AI Agents |
| `traycer` | Open-source AI orchestration app for agentic coding | AI Coding Agents | | `traycer` | Open-source AI orchestration app for agentic coding | AI Coding Agents |
@@ -229,6 +230,7 @@ nix-overlay/
│ ├── mcp-gateway/ # MCP protocol gateway │ ├── mcp-gateway/ # MCP protocol gateway
│ ├── omniroute/ # Unified AI router with 160+ providers │ ├── omniroute/ # Unified AI router with 160+ providers
│ ├── open-code-review/ # AI code review CLI (deterministic + LLM agent) │ ├── open-code-review/ # AI code review CLI (deterministic + LLM agent)
│ ├── pilotdeck/ # Task-oriented AI Agent productivity platform
│ ├── radar/ # Kubernetes UI (topology, timeline, Helm, GitOps) │ ├── radar/ # Kubernetes UI (topology, timeline, Helm, GitOps)
│ ├── relay-free-llm/ # AI model provider routing gateway │ ├── relay-free-llm/ # AI model provider routing gateway
│ ├── skillsmcp/ # MCP server for Agent Skills │ ├── skillsmcp/ # MCP server for Agent Skills
+5
View File
@@ -0,0 +1,5 @@
{
pkgs,
...
}:
pkgs.callPackage ./package.nix { }
+182
View File
@@ -0,0 +1,182 @@
{
lib,
stdenv,
fetchurl,
dpkg,
autoPatchelfHook,
makeWrapper,
alsa-lib,
at-spi2-atk,
cairo,
cups,
dbus,
expat,
gdk-pixbuf,
glib,
gtk3,
gtk4,
libdrm,
libgbm,
libGL,
libnotify,
libpulseaudio,
libsecret,
libx11,
libxcb,
libxcomposite,
libxdamage,
libxext,
libxfixes,
libxkbcommon,
libxrandr,
libxshmfence,
nspr,
nss,
pango,
pciutils,
pipewire,
speechd-minimal,
systemd,
vulkan-loader,
}:
let
version = "2026.10.17";
# Release tags use dotted dates (v2026.10.17), but the Debian artifacts use
# the release date with a build suffix (2026.1017.0).
versionParts = lib.splitString "." version;
debVersion = "${lib.elemAt versionParts 0}.${lib.elemAt versionParts 1}${lib.elemAt versionParts 2}.0";
arch =
{
x86_64-linux = "x64";
aarch64-linux = "arm64";
}
.${stdenv.hostPlatform.system}
or (throw "pilotdeck: unsupported system ${stdenv.hostPlatform.system}");
hashes = {
# The release publishes one Debian package per architecture. nix-update
# refreshes only the host architecture's hash; update the other one by hand
# from release.json in the GitHub release.
x86_64-linux = "sha256-vBqewHabntIz1hKbf10q9hkWX22m0U2mqJMXvX7cJOc=";
aarch64-linux = "sha256-paEEmWYkITfYTa3AsYD0WfVqtzzQ1GMlt5yjp7oXROY=";
};
runtimeLibs = [
alsa-lib
at-spi2-atk
cairo
cups
dbus
expat
gdk-pixbuf
glib
gtk3
gtk4
libdrm
libgbm
libGL
libnotify
libpulseaudio
libsecret
libx11
libxcb
libxcomposite
libxdamage
libxext
libxfixes
libxkbcommon
libxrandr
libxshmfence
nspr
nss
pango
pciutils
pipewire
speechd-minimal
stdenv.cc.cc.lib
systemd
vulkan-loader
];
in
stdenv.mkDerivation {
pname = "pilotdeck";
inherit version;
src = fetchurl {
url = "https://github.com/OpenBMB/PilotDeck/releases/download/v${version}/PilotDeck-${debVersion}-linux-${arch}.deb";
hash = hashes.${stdenv.hostPlatform.system};
};
nativeBuildInputs = [
dpkg
autoPatchelfHook
makeWrapper
];
buildInputs = runtimeLibs;
# The Debian package contains the complete Electron application, including
# the bundled Node.js runtime and the built web UI.
unpackPhase = ''
runHook preUnpack
dpkg-deb --extract $src .
runHook postUnpack
'';
dontBuild = true;
dontStrip = true;
installPhase = ''
runHook preInstall
mkdir -p $out/opt
cp -a opt/PilotDeck $out/opt/PilotDeck
mkdir -p $out/share/applications
substitute usr/share/applications/pilotdeck-desktop.desktop \
$out/share/applications/pilotdeck.desktop \
--replace-fail 'Exec=/opt/PilotDeck/pilotdeck-desktop %U' 'Exec=pilotdeck %U' \
--replace-fail 'Icon=pilotdeck-desktop' 'Icon=pilotdeck'
mkdir -p $out/share/icons/hicolor/256x256/apps
cp usr/share/icons/hicolor/256x256/apps/pilotdeck-desktop.png \
$out/share/icons/hicolor/256x256/apps/pilotdeck.png
makeWrapper $out/opt/PilotDeck/pilotdeck-desktop $out/bin/pilotdeck \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeLibs}"
runHook postInstall
'';
# bcrypt ships glibc and musl prebuilds side by side; only the glibc one is
# used here, so the musl libc reference of the other prebuild stays unresolved.
autoPatchelfIgnoreMissingDeps = [
"libc.musl-x86_64.so.1"
"libc.musl-aarch64.so.1"
];
passthru = {
category = "AI Agents";
updateScript = [
"nix-update"
"--flake"
".#pilotdeck"
];
};
meta = with lib; {
description = "Task-oriented AI Agent productivity platform";
homepage = "https://github.com/OpenBMB/PilotDeck";
changelog = "https://github.com/OpenBMB/PilotDeck/releases/tag/v${version}";
license = licenses.agpl3Only;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
mainProgram = "pilotdeck";
platforms = [
"x86_64-linux"
"aarch64-linux"
];
};
}