A local-first multi-agent app development platform, built on PenguinHarness
Builtin plugins ship bundled
- Date: 2026-09-15
- Type: fix
- Scope:
plugins,build - PR: #727
The builtin plugin prefix a hot push carries was an npm install of every plugin's dependency tree, and every installed file is a separate blob on the push. Enough small transfers to stall a push.
- A builtin plugin compiles in what it runs, and the packages it compiles in are
devDependencies. - sandbox-dsh keeps the DSH chain as a dependency tree: it picks its per-platform rung by bare specifier at run time, and a bundle turns that into an unresolvable import — which is how the Windows rung (a restricted token and ACLs) came to fail there with "Cannot find package '@deepseek-ai/dsh-sandbox-windows-acl'". The tree is ~160 small files, and with the archives below it costs a handful of blobs rather than a transfer each.
- What stays a runtime dependency is a native module:
koffiand the landlock launcher, both sandbox-dsh's, whose per-platform binaries cannot live inside a bundle. - Those binaries now ship for every target a push can reach — Linux x64/arm64, Windows x64 and macOS arm64 — not only for the machine that ran the build. A prefix built on Linux carried no Windows binary, so sandbox-dsh's Windows runner failed there with "Cannot find the native Koffi module"; the platform packages each native dependency declares are installed alongside it.
scripts/build-plugins.mjsrefuses a builtin plugin that declares any other runtime dependency, naming it, before anything is packed.- Assets travel as archives. The deploy packs every package it pushes — each package of
the plugin prefix, and node-pty — into one deterministic
.tgzunderarchives/(the same files give the same bytes, so an unchanged package is an unchanged blob), and the platform unpacks them once into.unpacked/before loading plugins or node-pty. A push's assets went from 433 files to 19. A server handing its build to a machine forwards the archives, not what it unpacked.