A local-first multi-agent app development platform, built on PenguinHarness
The bundled penguin command is checked in CI
- Date: 2026-08-27
- Type: process
- Scope:
desktop,ci - PR: #480
The desktop app ships the CLI inside itself — <app>/bin/penguin and <app>/bin/penguin.cmd
run <app>/dist/penguin.js on the app's own Electron runtime, and every route that puts
penguin on PATH (the deb postinst, the macOS symlink, the Windows PATH entry, the AppImage
wrapper) points at one of those two launchers. Nothing verified that they were still in the
packed tree, so this batch added the checks — alongside
making the app install that command itself.
Details
packages/desktop/scripts/verify-packed-cli.mjsinspects the treeelectron-builder --dirproduces: every packed app directory must carry both launchers and the bundled CLI entry, the POSIX launcher must be executable, and at least one of them must actually run and report the app's version. CI'sruntimejob invokes it on Linux, macOS and Windows, on the tree it already builds.packages/desktop/test/launcher.test.tsgained apackaged CLIblock pinning the couplings those launchers depend on and nothing else compares:bin/**/*staying in electron-builder'sfiles,asarstaying off,productNameandlinux.executableNamematching the executable names the launcher scripts exec, the tsup entry name matchingCLI_ENTRY_RELPATH, and the deb templates still creating/usr/bin/penguin(never over a non-symlink) and removing only their own link.