fix(cli): harden managed lifecycle coordination

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-07-22 19:54:40 +00:00
1 parent b45f2c0b9e
commit 3e9214cd6d
8 files changed
+143 -22

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import fs from "node:fs/promises";
import path from "node:path";
import { resolvePaperclipHomeDir } from "../home-paths.js";
import { resolvePaperclipInstanceRoot } from "../home-paths.js";
export const HOT_RESTART_INTENT_FILENAME = "hot-restart-intent.json";
export const HOT_RESTART_REPORT_FILENAME = "hot-restart-report.json";
@@ -56,7 +56,7 @@ export type HotRestartReport = {
};
function resolveHotRestartPath(filename: string, homeDir?: string) {
return path.join(resolvePaperclipHomeDir(homeDir), filename);
return path.join(resolvePaperclipInstanceRoot({ homeDir }), filename);
}
export function resolveHotRestartIntentPath(homeDir?: string) {