@@ -42,7 +42,7 @@ import { movePathToTrash } from "../infra/fs-safe.js";
4242import type { RuntimeEnv } from "../runtime.js" ;
4343import { resolveConfigDir , shortenHomeInString , shortenHomePath , sleep } from "../utils.js" ;
4444import { VERSION } from "../version.js" ;
45- import type { NodeManagerChoice , OnboardMode , ResetScope } from "./onboard-types.js" ;
45+ import type { OnboardMode , ResetScope } from "./onboard-types.js" ;
4646export { randomToken } from "./random-token.js" ;
4747
4848export { detectBinary } ;
@@ -247,18 +247,6 @@ export async function ensureWorkspaceAndSessions(
247247 runtime . log ( `Sessions OK: ${ shortenHomePath ( sessionsDir ) } ` ) ;
248248}
249249
250- /** Returns package manager choices offered by onboarding. */
251- export function resolveNodeManagerOptions ( ) : Array < {
252- value : NodeManagerChoice ;
253- label : string ;
254- } > {
255- return [
256- { value : "npm" , label : "npm" } ,
257- { value : "pnpm" , label : "pnpm" } ,
258- { value : "bun" , label : "bun" } ,
259- ] ;
260- }
261-
262250/** Moves a path to Trash when it exists, logging a manual-delete fallback on failure. */
263251export async function moveToTrash ( pathname : string , runtime : RuntimeEnv ) : Promise < void > {
264252 if ( ! pathname ) {
0 commit comments