@cestoliv/wt 0.5.0-pr22.g51294ae → 0.5.0-pr22.gbb5b3fa

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.
@@ -3,8 +3,8 @@ import {
3
3
  openConfiguredIde,
4
4
  prepareWorktree,
5
5
  promptExistingWorktree
6
- } from "./chunk-WAMKSPL7.js";
7
- import "./chunk-AY3TDYLZ.js";
6
+ } from "./chunk-Q6NNNYDJ.js";
7
+ import "./chunk-YXA6CZ2L.js";
8
8
  import "./chunk-QVYSEMSL.js";
9
9
 
10
10
  // src/commands/agent.ts
@@ -13,7 +13,7 @@ import {
13
13
  runCommands,
14
14
  runRepoPicker,
15
15
  setUpstreamTracking
16
- } from "./chunk-AY3TDYLZ.js";
16
+ } from "./chunk-YXA6CZ2L.js";
17
17
  import {
18
18
  createStore,
19
19
  getEffectiveConfig
@@ -14,7 +14,7 @@ import {
14
14
  runInteractiveList,
15
15
  runRepoPicker,
16
16
  runWizard
17
- } from "./chunk-AY3TDYLZ.js";
17
+ } from "./chunk-YXA6CZ2L.js";
18
18
  import {
19
19
  createStore,
20
20
  getEffectiveConfig,
@@ -96,11 +96,11 @@ async function runList(options = {}) {
96
96
  if (!await runWizard(steps)) return;
97
97
  if (state.pickedRepo === void 0 || state.branch === void 0)
98
98
  return;
99
- const { createWorktree } = await import("./create-4TYTQHZO.js");
99
+ const { createWorktree } = await import("./create-DYM7QWI5.js");
100
100
  await createWorktree(state.branch, { cwd: state.pickedRepo, store });
101
101
  },
102
102
  onAgent: async () => {
103
- const { createAgentWorktree, VALID_MODES } = await import("./agent-4Q2P5HWS.js");
103
+ const { createAgentWorktree, VALID_MODES } = await import("./agent-575QKWIG.js");
104
104
  const state = {
105
105
  pickedRepo: repoRoot ?? void 0,
106
106
  mode: "plan"
@@ -312,7 +312,7 @@ function buildListLayout(items, selectedIndex, query, mode, lastRefresh = null,
312
312
  for (const item of groupItems) {
313
313
  const start = body.length;
314
314
  const cursor = i === selectedIndex ? pc.cyan("\u25B6") : " ";
315
- const branchLabel = item.isCurrent ? pc.dim(`${item.branch} (current)`) : item.isMain ? `${pc.white(item.branch)} ${pc.dim("(main)")}` : pc.white(item.branch);
315
+ const branchLabel = item.isCurrent ? pc.dim(`${item.branch} (current)`) : item.isMain ? pc.dim(`${item.branch} (main)`) : pc.white(item.branch);
316
316
  const pathLabel = pc.dim(shortenPath(item.path));
317
317
  body.push(` ${cursor} ${branchLabel} ${pathLabel}`);
318
318
  if (item.lastCommit) {
package/dist/cli.js CHANGED
@@ -3,12 +3,12 @@
3
3
  // src/cli.ts
4
4
  import { Command } from "commander";
5
5
  var program = new Command();
6
- program.name("wt").description("Git worktree manager").version("0.5.0-pr22.g51294ae").action(async () => {
7
- const { runList } = await import("./list-6YSI5JQY.js");
6
+ program.name("wt").description("Git worktree manager").version("0.5.0-pr22.gbb5b3fa").action(async () => {
7
+ const { runList } = await import("./list-XRECVEUI.js");
8
8
  await runList();
9
9
  });
10
10
  program.command("create [branch]").description("Create a new worktree").action(async (branch) => {
11
- const { createWorktree } = await import("./create-4TYTQHZO.js");
11
+ const { createWorktree } = await import("./create-DYM7QWI5.js");
12
12
  await createWorktree(branch);
13
13
  });
14
14
  program.command("agent <branch> <plan_prompt>").description("Create a worktree and auto-start an AI agent in Zed (macOS)").option(
@@ -17,14 +17,14 @@ program.command("agent <branch> <plan_prompt>").description("Create a worktree a
17
17
  "plan"
18
18
  ).action(
19
19
  async (branch, planPrompt, options) => {
20
- const { createAgentWorktree } = await import("./agent-4Q2P5HWS.js");
20
+ const { createAgentWorktree } = await import("./agent-575QKWIG.js");
21
21
  await createAgentWorktree(branch, planPrompt, { mode: options.mode });
22
22
  }
23
23
  );
24
24
  program.command("prune").description(
25
25
  "Remove worktrees whose branch has been merged into the base branch"
26
26
  ).action(async () => {
27
- const { runPrune } = await import("./prune-AO45YXDF.js");
27
+ const { runPrune } = await import("./prune-LOO5KMBU.js");
28
28
  await runPrune();
29
29
  });
30
30
  program.command("config").description("Open the config file in $EDITOR").option("--path", "Print the config file path and exit").action(async (options) => {
@@ -4,8 +4,8 @@ import {
4
4
  openConfiguredIde,
5
5
  prepareWorktree,
6
6
  promptExistingWorktree
7
- } from "./chunk-WAMKSPL7.js";
8
- import "./chunk-AY3TDYLZ.js";
7
+ } from "./chunk-Q6NNNYDJ.js";
8
+ import "./chunk-YXA6CZ2L.js";
9
9
  import "./chunk-QVYSEMSL.js";
10
10
  export {
11
11
  createWorktree,
@@ -6,8 +6,8 @@ import {
6
6
  runList,
7
7
  selectWipeCandidates,
8
8
  wipeWorktrees
9
- } from "./chunk-4DSHNJMM.js";
10
- import "./chunk-AY3TDYLZ.js";
9
+ } from "./chunk-QHNOUX63.js";
10
+ import "./chunk-YXA6CZ2L.js";
11
11
  import "./chunk-QVYSEMSL.js";
12
12
  export {
13
13
  buildMergedPredicate,
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  prepareListItems,
4
4
  wipeWorktrees
5
- } from "./chunk-4DSHNJMM.js";
6
- import "./chunk-AY3TDYLZ.js";
5
+ } from "./chunk-QHNOUX63.js";
6
+ import "./chunk-YXA6CZ2L.js";
7
7
  import {
8
8
  createStore
9
9
  } from "./chunk-QVYSEMSL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cestoliv/wt",
3
- "version": "0.5.0-pr22.g51294ae",
3
+ "version": "0.5.0-pr22.gbb5b3fa",
4
4
  "description": "Fast, interactive TUI to browse, create, open, and delete git worktrees across repos.",
5
5
  "repository": {
6
6
  "type": "git",