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:
@@ -3,8 +3,8 @@ import {
|
||||
copyToClipboard as nativeCopyToClipboard,
|
||||
readImageFromClipboard as nativeReadImageFromClipboard,
|
||||
} from "@oh-my-pi/pi-natives/clipboard";
|
||||
import { SUPPORTED_IMAGE_MIME_TYPES } from "@oh-my-pi/pi-utils";
|
||||
import * as logger from "@oh-my-pi/pi-utils/logger";
|
||||
import { SUPPORTED_IMAGE_MIME_TYPES } from "@oh-my-pi/pi-utils/mime";
|
||||
import MAC_FILE_URL_SCRIPT from "./mac-file-urls.applescript" with { type: "text" };
|
||||
|
||||
type SpawnCaptureOptions = { input?: string; timeoutMs?: number };
|
||||
|
||||
Reference in New Issue
Block a user