refactor(setup): keep planner helpers private

This commit is contained in:
morluto committed 2026-07-18 05:49:15 +00:00
1 parent 2ea375f8ea
commit 2d1f9616b7
2 files changed
+4 -7

No files matched your search

+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
? [
{
+1 -4
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"
}