worktree-launcher 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +9 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -855,13 +855,21 @@ function showAIToolSelector(branchName) {
855
855
  }
856
856
  async function createNewWorktree(branchName, tool) {
857
857
  setStatus(`Creating ${branchName}...`);
858
+ screen.render();
858
859
  try {
859
860
  const worktreePath = getWorktreePath(mainRepoPath, branchName);
861
+ setStatus(`Path: ${worktreePath}`);
862
+ screen.render();
860
863
  await createWorktree(worktreePath, branchName);
864
+ setStatus(`Worktree created, copying .env...`);
865
+ screen.render();
861
866
  await copyEnvFiles(mainRepoPath, worktreePath);
867
+ setStatus(`Done! Refreshing list...`);
868
+ screen.render();
862
869
  await refreshWorktrees();
863
870
  setStatus(`Created ${branchName}`);
864
871
  worktreeList.focus();
872
+ screen.render();
865
873
  if (tool) {
866
874
  await launchInWorktree(worktreePath, tool);
867
875
  }
@@ -956,7 +964,7 @@ async function deleteSelected() {
956
964
 
957
965
  // src/index.ts
958
966
  var program = new Command();
959
- program.name("wt").description("CLI tool to streamline git worktrees with AI coding assistants").version("1.5.1").action(async () => {
967
+ program.name("wt").description("CLI tool to streamline git worktrees with AI coding assistants").version("1.5.2").action(async () => {
960
968
  await interactiveCommand();
961
969
  });
962
970
  program.command("new <branch-name>").description("Create a new worktree and launch AI assistant").option("-i, --install", "Run package manager install after creating worktree").option("-s, --skip-launch", "Create worktree without launching AI assistant").option("-p, --push", "Push branch to remote (visible on GitHub)").action(async (branchName, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worktree-launcher",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "CLI tool for managing git worktrees with AI coding assistants",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",