mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 01:45:32 +00:00
Join canonical owned command cleanup before releasing package verifier workspaces. Replace raw package command wrappers, the updater supervisor, WASM cleanup composite, and boolean-only retention with explicit capability ownership. Preserve selected environments, npm arguments, no-deadline calls, clean exit status, and distinct aggregate/per-stream output budgets. Exercise actual timeout descendants, cancellation, retained cleanup retry, and workspace admission.
30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
import type { PackageVerifierCommands } from "./lib/package-command-owner.mjs";
|
|
|
|
/** Validate a live registration and its byte-identical pre-setup backup. */
|
|
export function assertClientConfig(
|
|
cli: string,
|
|
configPath: string,
|
|
original: Uint8Array,
|
|
): Promise<void>;
|
|
|
|
/** Return true only when stty output positively reports canonical input and echo. */
|
|
export function terminalModesRestored(termios: unknown): boolean;
|
|
|
|
/** Verify setup using the parent's explicit command owner. */
|
|
export function verifyPackageSetup(input: {
|
|
readonly commands: Pick<PackageVerifierCommands, "run" | "runWithStatus">;
|
|
readonly cli: string;
|
|
readonly packageRunnerCli: string;
|
|
readonly environment: NodeJS.ProcessEnv;
|
|
readonly home: string;
|
|
readonly npxLog: string;
|
|
readonly claudeConfig: string;
|
|
readonly codexConfig: string;
|
|
readonly cursorConfig: string;
|
|
readonly codexTarget: string;
|
|
readonly cursorTarget: string;
|
|
readonly supportedSetupHost: boolean;
|
|
readonly hopperSetupSupported: boolean | undefined;
|
|
readonly root: string;
|
|
}): Promise<void>;
|