Skip to content

Commit ff383a6

Browse files
thymikeeclaude
andcommitted
refactor(daemon): localize stop refusal helpers
Keep helpers private after the shared stop route removes their external callers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent eb3db8f commit ff383a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/daemon-contracts/src/daemon-stop.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function daemonRetirementError(
153153
);
154154
}
155155

156-
export function daemonNotRunningStopResult(): DaemonStopResult {
156+
function daemonNotRunningStopResult(): DaemonStopResult {
157157
return {
158158
stopped: false,
159159
mode: 'not-running',

‎src/daemon-client/daemon-lifecycle-errors.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function daemonBusyError(
163163
}
164164

165165
/** Refuses stop or replacement when the record cannot prove a detached owner. */
166-
export function daemonRecordOwnerUnrecognizedError(params: {
166+
function daemonRecordOwnerUnrecognizedError(params: {
167167
info: DaemonIdentity | null;
168168
stateDir: string;
169169
}): AppError {

0 commit comments

Comments
 (0)