refactor(build): share product recipes across distributions

Build TUI, web, desktop UI and runnable agent products from explicit
prepared inputs. Keep dependency preparation separate from distribution
packaging, with PM and native builds sharing uv environment construction.

Docker copies compiled frontend products instead of build dependencies.
Nix retains uv2nix environments and consumes shared assembly through store
references. Native desktop and Termux use the same launcher and frontend
contracts. Preserve the independent PM runtime and source imports from
arbitrary working directories.

Keep failed frontend builds from replacing the previous product, reject
source/output overlap, and bound dependency-process output draining.
Include hermes_wisdom in the Nix wheel: real CLI smoke tests exposed its
missing package declaration on the base revision too.

Verified focused Python and JavaScript suites, Docker build/runtime checks,
Nix desktop and CLI/ACP checks, standalone TUI and packaged Electron PTY,
and real full-Chromium interaction. Native signed installers, Android device
installation and the full repository suite remain CI verification.
This commit is contained in:
ethernet
2026-09-11 13:16:55 -04:00
parent 284dbaf537
commit 1bf588234c
87 changed files with 4062 additions and 973 deletions

1
.gitignore vendored
View File

@@ -76,6 +76,7 @@
*.tsbuildinfo
*-snapshots/
.act-sandbox-agent.*
.build/
.bytecode-fingerprint
.bytecode-fingerprint.tmp
.codex/