refactor(setup): keep planner helpers private

This commit is contained in:
morluto
2026-07-18 05:49:15 +00:00
parent 2ea375f8ea
commit 2d1f9616b7
2 changed files with 4 additions and 7 deletions
+3 -3
View File
@@ -15,14 +15,14 @@ import type {
} from "./Setup.js";
/** Preflighted client mutation admitted into the setup plan. */
export type SetupClientPlan = Readonly<{
type SetupClientPlan = Readonly<{
client: SetupClient;
operation: "create" | "update";
backupPath?: string;
}>;
/** Inputs used to build the setup mutation plan. */
export interface SetupPlanOptions {
interface SetupPlanOptions {
readonly platform: NodeJS.Platform;
readonly installHopper: boolean;
readonly installSkill: boolean;
@@ -32,7 +32,7 @@ export interface SetupPlanOptions {
}
/** Build the complete setup mutation plan before approval. */
export const setupPlan = (input: SetupPlanOptions): readonly SetupAction[] => [
const setupPlan = (input: SetupPlanOptions): readonly SetupAction[] => [
...(input.installHopper
? [
{