refactor(setup): keep planner helpers private

This commit is contained in:
morluto 2026-07-18 05:32:29 +00:00
parent 2ea375f8ea
commit 2d1f9616b7
2 changed files with 4 additions and 7 deletions

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
? [
{

View File

@ -23,8 +23,5 @@
"includeVersion": true,
"readme": "none",
"plugin": [],
"gitRevision": "main",
"disableGit": true,
"basePath": "src",
"sourceLinkTemplate": "https://github.com/morluto/rea/blob/{gitRevision}/src/{path}#L{line}"
"gitRevision": "main"
}