From 84a589574b935dd19ed691fa161a214ea93c0b5a Mon Sep 17 00:00:00 2001 From: shackstack <102432453+shackstack@users.noreply.github.com> Date: Fri, 26 Jun 2026 15:28:32 +0900 Subject: [PATCH] fix: include lib/actions/rename.cjs in published package cc-switch.cjs requires ./lib/actions/rename.cjs at load time (the --rename / rename path), but rename.cjs was missing from the package.json "files" allow-list. As a result the published npm package omits it and every cc-switch invocation crashes with MODULE_NOT_FOUND, not just the rename subcommand. Add lib/actions/rename.cjs to "files" so it ships. Fixes #2 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2898bf4..cd89f08 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "lib/actions/remove.cjs", "lib/actions/list.cjs", "lib/actions/switch.cjs", + "lib/actions/rename.cjs", "README.md", "session-start.cjs", "statusline.cjs",