fix(coding-agent): kept computer worker graph off CLI startup

- The PR #7205 merge left cli.ts statically importing startComputerWorker,
  dragging the computer worker graph (and pi_natives via the pi-utils
  barrel) into normal CLI startup; --version died under --no-addons and
  dotenv loaded before profile bootstrap. worker-entry is now a
  self-starting side-effect module dispatched via dynamic import like
  every other worker selector, and utils/clipboard.ts imports the mime
  constant from its submodule instead of the barrel.
- Repointed the clipboard test spy at @oh-my-pi/pi-natives/clipboard —
  spying the barrel never intercepted the subpath the code imports, so
  the real native bridge ran (X11 timeouts on headless CI).
- Refreshed the pinned HTML export template digest and the scout gate
  phrase the system-prompt rewrite changed.
This commit is contained in:
can1357
2026-08-03 00:02:29 +02:00
parent 881eec7d26
commit 0156ddcbe1
7 changed files with 19 additions and 21 deletions
@@ -19,9 +19,9 @@ interface TemplateProbeResult {
}
const expectedTemplate: TemplateProbeResult = {
chars: 377_286,
bytes: 377_464,
sha256: "6598b2d74f905e3105474ea8033c938e92df4c33035421603ea363d72d1c81c1",
chars: 376_316,
bytes: 376_472,
sha256: "72721b125d8eaa0e995ef0b77e01cf561c9a76e36e745510b19734def07936e0",
stableCache: true,
assetsRemoved: 0,
};