@cestoliv/wt 0.3.0-pr13.ge0af7e1 → 0.3.0-pr14.g2b25fef
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.
- package/SKILL.md +0 -7
- package/dist/{agent-FMAIFYSL.js → agent-OJLJFW64.js} +6 -89
- package/dist/cli.js +3 -3
- package/dist/skill-CODYQJWN.js +9 -0
- package/package.json +1 -1
- package/dist/skill-57YMIZPX.js +0 -9
package/SKILL.md
CHANGED
|
@@ -67,13 +67,6 @@ for you to grant it and confirm, then retries automatically. On other platforms
|
|
|
67
67
|
(or when `ide` is not `zed`) the worktree is still created and opened, but the
|
|
68
68
|
agent is not auto-started.
|
|
69
69
|
|
|
70
|
-
Over SSH it still works, provided the same user has an active graphical login on
|
|
71
|
-
the Mac: the keystroke is run inside the GUI session via Launch Services
|
|
72
|
-
(`open -a Terminal` briefly flashes a Terminal window). Grant Accessibility to
|
|
73
|
-
Terminal (not Zed) the first time. With no one logged in graphically there is
|
|
74
|
-
nothing to drive, so it falls back to the manual "press the chord in Zed"
|
|
75
|
-
message.
|
|
76
|
-
|
|
77
70
|
If the worktree path already exists, `wt agent` prompts you to **open it in the
|
|
78
71
|
IDE**, **open it and start the agent**, or **quit** — instead of erroring. (In a
|
|
79
72
|
non-interactive shell it errors with a non-zero exit instead of prompting.)
|
|
@@ -14,16 +14,14 @@ import pc from "picocolors";
|
|
|
14
14
|
// src/lib/zed.ts
|
|
15
15
|
import { spawn } from "child_process";
|
|
16
16
|
import {
|
|
17
|
-
chmodSync,
|
|
18
17
|
existsSync,
|
|
19
18
|
mkdirSync,
|
|
20
|
-
mkdtempSync,
|
|
21
19
|
readdirSync,
|
|
22
20
|
readFileSync,
|
|
23
21
|
rmSync,
|
|
24
22
|
writeFileSync
|
|
25
23
|
} from "fs";
|
|
26
|
-
import { homedir
|
|
24
|
+
import { homedir } from "os";
|
|
27
25
|
import { dirname, join } from "path";
|
|
28
26
|
import { applyEdits, modify, parse } from "jsonc-parser";
|
|
29
27
|
var AGENT_TASK_LABEL = "wt: agent";
|
|
@@ -280,99 +278,19 @@ Note: "${chord}" is already bound in ${keymapPath}; wt's agent binding will take
|
|
|
280
278
|
return true;
|
|
281
279
|
}
|
|
282
280
|
var ACCESSIBILITY_SETTINGS_URL = "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility";
|
|
283
|
-
function
|
|
284
|
-
return Boolean(env.SSH_CONNECTION || env.SSH_TTY || env.SSH_CLIENT);
|
|
285
|
-
}
|
|
286
|
-
function buildGuiHelperScript(scriptPath, resultPath) {
|
|
287
|
-
return [
|
|
288
|
-
"#!/bin/sh",
|
|
289
|
-
`out=$(osascript '${scriptPath}' 2>&1)`,
|
|
290
|
-
"code=$?",
|
|
291
|
-
`printf '%s\\n%s' "$code" "$out" > '${resultPath}.tmp' && mv '${resultPath}.tmp' '${resultPath}'`,
|
|
292
|
-
`osascript -e 'tell application "Terminal" to close front window' >/dev/null 2>&1 &`,
|
|
293
|
-
""
|
|
294
|
-
].join("\n");
|
|
295
|
-
}
|
|
296
|
-
function parseGuiResult(content) {
|
|
297
|
-
const newline = content.indexOf("\n");
|
|
298
|
-
const codeStr = (newline === -1 ? content : content.slice(0, newline)).trim();
|
|
299
|
-
const stderr = newline === -1 ? "" : content.slice(newline + 1);
|
|
300
|
-
const code = Number.parseInt(codeStr, 10);
|
|
301
|
-
return { code: Number.isNaN(code) ? null : code, stderr };
|
|
302
|
-
}
|
|
303
|
-
var OSASCRIPT_TIMEOUT_MS = 3e4;
|
|
304
|
-
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
305
|
-
function spawnOpen(helperPath) {
|
|
306
|
-
return new Promise((resolve, reject) => {
|
|
307
|
-
const child = spawn("open", ["-a", "Terminal", helperPath], {
|
|
308
|
-
stdio: "ignore"
|
|
309
|
-
});
|
|
310
|
-
child.on("error", reject);
|
|
311
|
-
child.on("close", () => resolve());
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
async function pollFile(path, timeoutMs) {
|
|
315
|
-
const deadline = Date.now() + timeoutMs;
|
|
316
|
-
while (Date.now() < deadline) {
|
|
317
|
-
if (existsSync(path)) return readFileSync(path, "utf8");
|
|
318
|
-
await sleep(200);
|
|
319
|
-
}
|
|
320
|
-
return null;
|
|
321
|
-
}
|
|
322
|
-
async function runViaGuiHelper(script) {
|
|
323
|
-
const dir = mkdtempSync(join(tmpdir(), "wt-agent-"));
|
|
324
|
-
const scriptPath = join(dir, "chord.applescript");
|
|
325
|
-
const helperPath = join(dir, "run.command");
|
|
326
|
-
const resultPath = join(dir, "result");
|
|
327
|
-
try {
|
|
328
|
-
writeFileSync(scriptPath, script);
|
|
329
|
-
writeFileSync(helperPath, buildGuiHelperScript(scriptPath, resultPath));
|
|
330
|
-
chmodSync(helperPath, 493);
|
|
331
|
-
await spawnOpen(helperPath);
|
|
332
|
-
const content = await pollFile(resultPath, OSASCRIPT_TIMEOUT_MS);
|
|
333
|
-
if (content === null) {
|
|
334
|
-
return {
|
|
335
|
-
code: null,
|
|
336
|
-
stderr: "Timed out waiting for the keystroke \u2014 is a user logged into the Mac's graphical session?"
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
|
-
return parseGuiResult(content);
|
|
340
|
-
} catch (err) {
|
|
341
|
-
return { code: null, stderr: err.message };
|
|
342
|
-
} finally {
|
|
343
|
-
rmSync(dir, { recursive: true, force: true });
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
function runOsascriptDirect(script) {
|
|
281
|
+
function defaultRunner(script) {
|
|
347
282
|
return new Promise((resolve) => {
|
|
348
283
|
const child = spawn("osascript", ["-e", script], {
|
|
349
284
|
stdio: ["ignore", "ignore", "pipe"]
|
|
350
285
|
});
|
|
351
286
|
let stderr = "";
|
|
352
|
-
let settled = false;
|
|
353
|
-
const finish = (result) => {
|
|
354
|
-
if (settled) return;
|
|
355
|
-
settled = true;
|
|
356
|
-
clearTimeout(timer);
|
|
357
|
-
resolve(result);
|
|
358
|
-
};
|
|
359
|
-
const timer = setTimeout(() => {
|
|
360
|
-
child.kill();
|
|
361
|
-
finish({
|
|
362
|
-
code: null,
|
|
363
|
-
stderr: "osascript timed out \u2014 is a user logged into the Mac's graphical session?"
|
|
364
|
-
});
|
|
365
|
-
}, OSASCRIPT_TIMEOUT_MS);
|
|
366
287
|
child.stderr?.on("data", (d) => {
|
|
367
288
|
stderr += d.toString();
|
|
368
289
|
});
|
|
369
|
-
child.on("error", (err) =>
|
|
370
|
-
child.on("close", (code) =>
|
|
290
|
+
child.on("error", (err) => resolve({ code: null, stderr: err.message }));
|
|
291
|
+
child.on("close", (code) => resolve({ code, stderr }));
|
|
371
292
|
});
|
|
372
293
|
}
|
|
373
|
-
function defaultRunner(script) {
|
|
374
|
-
return isHeadlessSession() ? runViaGuiHelper(script) : runOsascriptDirect(script);
|
|
375
|
-
}
|
|
376
294
|
function isAccessibilityError(stderr) {
|
|
377
295
|
return /\b1002\b/.test(stderr) || /-1719\b/.test(stderr) || /not allowed to send keystrokes/i.test(stderr) || /not allowed assistive access/i.test(stderr);
|
|
378
296
|
}
|
|
@@ -486,9 +404,8 @@ async function startAgentInWorktree(config, worktreePath, planPrompt, mode) {
|
|
|
486
404
|
)
|
|
487
405
|
);
|
|
488
406
|
openAccessibilitySettings();
|
|
489
|
-
const grantee = isHeadlessSession() ? "Terminal" : "the app running wt (e.g. Zed)";
|
|
490
407
|
const proceed = await clack.confirm({
|
|
491
|
-
message:
|
|
408
|
+
message: "Grant Accessibility to the app running wt (e.g. Zed) in the panel that opened, then confirm to retry. (If that app was already running, you may need to quit and reopen it for the grant to take effect.)"
|
|
492
409
|
});
|
|
493
410
|
if (clack.isCancel(proceed) || !proceed) break;
|
|
494
411
|
result = await triggerChord(config.agent_trigger_chord, {
|
|
@@ -523,7 +440,7 @@ function reportTriggerFailure(result, chord) {
|
|
|
523
440
|
}
|
|
524
441
|
console.warn(
|
|
525
442
|
pc.yellow(
|
|
526
|
-
`\u26A0 Could not auto-start the agent${result.message ? `: ${result.message}` : ""}. In Zed, press ${chord} to start it manually
|
|
443
|
+
`\u26A0 Could not auto-start the agent${result.message ? `: ${result.message}` : ""}. In Zed, press ${chord} to start it manually.`
|
|
527
444
|
)
|
|
528
445
|
);
|
|
529
446
|
}
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.3.0-
|
|
6
|
+
program.name("wt").description("Git worktree manager").version("0.3.0-pr14.g2b25fef").action(async () => {
|
|
7
7
|
const { runList } = await import("./list-VPPPO26E.js");
|
|
8
8
|
await runList();
|
|
9
9
|
});
|
|
@@ -17,7 +17,7 @@ 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-
|
|
20
|
+
const { createAgentWorktree } = await import("./agent-OJLJFW64.js");
|
|
21
21
|
await createAgentWorktree(branch, planPrompt, { mode: options.mode });
|
|
22
22
|
}
|
|
23
23
|
);
|
|
@@ -31,7 +31,7 @@ program.command("config").description("Open the config file in $EDITOR").option(
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
program.command("skill").description("Print the wt skill file to stdout").action(async () => {
|
|
34
|
-
const { printSkill } = await import("./skill-
|
|
34
|
+
const { printSkill } = await import("./skill-CODYQJWN.js");
|
|
35
35
|
printSkill();
|
|
36
36
|
});
|
|
37
37
|
await program.parseAsync(process.argv);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/commands/skill.ts
|
|
4
|
+
function printSkill() {
|
|
5
|
+
console.log('---\nname: wt-worktree-manager\ndescription: Use the wt CLI to create, browse, open, and delete git worktrees across repos. Use when the user asks to manage worktrees, create isolated branches, or configure worktree defaults.\n---\n\n# wt \u2014 Git Worktree Manager\n\n`wt` is a CLI for managing git worktrees. It provides an interactive TUI to browse, create, open in your IDE, and delete worktrees across multiple repos.\n\n## Commands\n\n### `wt` (no subcommand)\n\nLaunch the interactive TUI. Shows worktrees for the current repo (repo mode) or all registered repos (global mode, when run outside a repo).\n\n**Keybindings in the TUI:**\n\n- Arrow keys / `j`/`k` \u2014 navigate\n- `Enter` \u2014 open worktree in IDE\n- `d` \u2014 delete worktree\n- `c` \u2014 create new worktree (repo mode only)\n- `/` \u2014 search\n- `q` / `Esc` \u2014 quit\n\n### `wt create [branch]`\n\nCreate a new worktree. If `branch` is omitted, prompts interactively.\n\nThe worktree is created as a sibling directory to the repo: `<parent>/<repo-name>-<branch-name>`.\n\nAfter creation, `wt` runs any configured `setup_commands` and opens the worktree in your IDE.\n\nIf the worktree path already exists, `wt create` doesn\'t error \u2014 it prompts you\nto **open it in the IDE** or **quit**. (In a non-interactive shell it errors\nwith a non-zero exit instead of prompting.)\n\n### `wt agent <branch> <plan_prompt> [--mode <mode>]`\n\nCreate a worktree (same as `wt create`) **and** auto-start an AI agent in Zed\'s\nintegrated terminal, pre-filled with `<plan_prompt>` and left interactive for\nyou to take over.\n\n```bash\nwt agent feature/login \'Read the codebase, then propose a plan for login.\'\nwt agent feature/fix \'Fix the bug in payment processing\' --mode auto\nwt agent refactor/api \'Refactor the API layer\' --mode default\n```\n\nThe `--mode` flag sets Claude Code\'s permission mode (defaults to `plan`):\n\n- `default` \u2014 Standard interactive mode with approval for each action\n- `acceptEdits` \u2014 Allow file changes but keep command execution controlled\n- `plan` \u2014 Architecture-first mode with no surprise mutations (default)\n- `auto` \u2014 Claude\'s safety model makes decisions instead of prompting\n- `dontAsk` \u2014 Minimal interruptions in trusted environments\n- `bypassPermissions` \u2014 Skip all permission checks (dangerous, CI/sandbox only)\n\nIt writes a temporary `.zed/tasks.json` running\n`<agent_command> --permission-mode <mode> \'<plan_prompt>\'`, ensures a global Zed keymap chord\n(`agent_trigger_chord`) spawns that task, opens Zed, presses the chord via\n`osascript`, then removes the temporary task so the repo is left clean.\n\n**macOS + Zed only.** Requires Accessibility permission for the app that runs\n`wt` (Zed itself, when run from its integrated terminal). If it isn\'t granted,\n`wt agent` opens the _Privacy & Security \u2192 Accessibility_ settings pane and waits\nfor you to grant it and confirm, then retries automatically. On other platforms\n(or when `ide` is not `zed`) the worktree is still created and opened, but the\nagent is not auto-started.\n\nIf the worktree path already exists, `wt agent` prompts you to **open it in the\nIDE**, **open it and start the agent**, or **quit** \u2014 instead of erroring. (In a\nnon-interactive shell it errors with a non-zero exit instead of prompting.)\n\n### `wt config`\n\nOpen the global config file in `$EDITOR` (defaults to `nano`).\n\n```bash\nwt config # open in editor\nwt config --path # print config file path only\n```\n\n### `wt skill`\n\nPrint this skill file to stdout. Useful for piping to agents or copying to a project.\n\n## Configuration\n\nConfig is stored as JSON. Get the path with `wt config --path`.\n\n### Schema\n\n| Key | Type | Default | Description |\n| --------------------- | ---------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `worktree_path` | `string` | `"../"` | Where to place new worktrees, relative to the repo root |\n| `base_branch` | `string` | `"origin/main"` | Branch to base new worktrees on |\n| `setup_commands` | `string[]` | `[]` | Commands to run in a new worktree after creation (e.g. `["npm install"]`) |\n| `ide` | `string` | `"zed"` | IDE command to open worktrees with |\n| `ide_open_args` | `string[]` | `["-n"]` | Arguments passed to the IDE command |\n| `agent_command` | `string` | `"claude --permission-mode plan"` | Base command `wt agent` runs in Zed; any `--permission-mode` flag is replaced by the `--mode` option (defaults to `plan`), then `<plan_prompt>` is appended single-quoted |\n| `agent_trigger_chord` | `string` | `"ctrl-shift-cmd-c"` | Zed keymap chord `wt agent` installs/presses to spawn the agent task |\n| `repos` | `string[]` | `[]` | Registered repo paths (auto-populated on first use) |\n| `repo_overrides` | `object` | `{}` | Per-repo config overrides (see below) |\n\n### Per-repo overrides\n\nOverride any field (`worktree_path`, `base_branch`, `setup_commands`, `ide`, `ide_open_args`, `agent_command`, `agent_trigger_chord`) for a specific repo:\n\n```json\n{\n "base_branch": "origin/main",\n "ide": "zed",\n "repo_overrides": {\n "/path/to/my-repo": {\n "base_branch": "origin/develop",\n "setup_commands": ["npm install", "npm run build"]\n }\n }\n}\n```\n\n## Common workflows\n\n### Create a worktree for a new feature\n\n```bash\ncd /path/to/repo\nwt create feature/my-branch\n```\n\n### Configure setup commands for a repo\n\n```bash\nwt config\n# Then add to the JSON:\n# "repo_overrides": {\n# "/path/to/repo": {\n# "setup_commands": ["npm install"]\n# }\n# }\n```\n\n### Browse all worktrees across repos\n\nRun `wt` from any directory outside a git repo to see worktrees from all registered repos.\n');
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
printSkill
|
|
9
|
+
};
|
package/package.json
CHANGED
package/dist/skill-57YMIZPX.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
// src/commands/skill.ts
|
|
4
|
-
function printSkill() {
|
|
5
|
-
console.log('---\nname: wt-worktree-manager\ndescription: Use the wt CLI to create, browse, open, and delete git worktrees across repos. Use when the user asks to manage worktrees, create isolated branches, or configure worktree defaults.\n---\n\n# wt \u2014 Git Worktree Manager\n\n`wt` is a CLI for managing git worktrees. It provides an interactive TUI to browse, create, open in your IDE, and delete worktrees across multiple repos.\n\n## Commands\n\n### `wt` (no subcommand)\n\nLaunch the interactive TUI. Shows worktrees for the current repo (repo mode) or all registered repos (global mode, when run outside a repo).\n\n**Keybindings in the TUI:**\n\n- Arrow keys / `j`/`k` \u2014 navigate\n- `Enter` \u2014 open worktree in IDE\n- `d` \u2014 delete worktree\n- `c` \u2014 create new worktree (repo mode only)\n- `/` \u2014 search\n- `q` / `Esc` \u2014 quit\n\n### `wt create [branch]`\n\nCreate a new worktree. If `branch` is omitted, prompts interactively.\n\nThe worktree is created as a sibling directory to the repo: `<parent>/<repo-name>-<branch-name>`.\n\nAfter creation, `wt` runs any configured `setup_commands` and opens the worktree in your IDE.\n\nIf the worktree path already exists, `wt create` doesn\'t error \u2014 it prompts you\nto **open it in the IDE** or **quit**. (In a non-interactive shell it errors\nwith a non-zero exit instead of prompting.)\n\n### `wt agent <branch> <plan_prompt> [--mode <mode>]`\n\nCreate a worktree (same as `wt create`) **and** auto-start an AI agent in Zed\'s\nintegrated terminal, pre-filled with `<plan_prompt>` and left interactive for\nyou to take over.\n\n```bash\nwt agent feature/login \'Read the codebase, then propose a plan for login.\'\nwt agent feature/fix \'Fix the bug in payment processing\' --mode auto\nwt agent refactor/api \'Refactor the API layer\' --mode default\n```\n\nThe `--mode` flag sets Claude Code\'s permission mode (defaults to `plan`):\n\n- `default` \u2014 Standard interactive mode with approval for each action\n- `acceptEdits` \u2014 Allow file changes but keep command execution controlled\n- `plan` \u2014 Architecture-first mode with no surprise mutations (default)\n- `auto` \u2014 Claude\'s safety model makes decisions instead of prompting\n- `dontAsk` \u2014 Minimal interruptions in trusted environments\n- `bypassPermissions` \u2014 Skip all permission checks (dangerous, CI/sandbox only)\n\nIt writes a temporary `.zed/tasks.json` running\n`<agent_command> --permission-mode <mode> \'<plan_prompt>\'`, ensures a global Zed keymap chord\n(`agent_trigger_chord`) spawns that task, opens Zed, presses the chord via\n`osascript`, then removes the temporary task so the repo is left clean.\n\n**macOS + Zed only.** Requires Accessibility permission for the app that runs\n`wt` (Zed itself, when run from its integrated terminal). If it isn\'t granted,\n`wt agent` opens the _Privacy & Security \u2192 Accessibility_ settings pane and waits\nfor you to grant it and confirm, then retries automatically. On other platforms\n(or when `ide` is not `zed`) the worktree is still created and opened, but the\nagent is not auto-started.\n\nOver SSH it still works, provided the same user has an active graphical login on\nthe Mac: the keystroke is run inside the GUI session via Launch Services\n(`open -a Terminal` briefly flashes a Terminal window). Grant Accessibility to\nTerminal (not Zed) the first time. With no one logged in graphically there is\nnothing to drive, so it falls back to the manual "press the chord in Zed"\nmessage.\n\nIf the worktree path already exists, `wt agent` prompts you to **open it in the\nIDE**, **open it and start the agent**, or **quit** \u2014 instead of erroring. (In a\nnon-interactive shell it errors with a non-zero exit instead of prompting.)\n\n### `wt config`\n\nOpen the global config file in `$EDITOR` (defaults to `nano`).\n\n```bash\nwt config # open in editor\nwt config --path # print config file path only\n```\n\n### `wt skill`\n\nPrint this skill file to stdout. Useful for piping to agents or copying to a project.\n\n## Configuration\n\nConfig is stored as JSON. Get the path with `wt config --path`.\n\n### Schema\n\n| Key | Type | Default | Description |\n| --------------------- | ---------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `worktree_path` | `string` | `"../"` | Where to place new worktrees, relative to the repo root |\n| `base_branch` | `string` | `"origin/main"` | Branch to base new worktrees on |\n| `setup_commands` | `string[]` | `[]` | Commands to run in a new worktree after creation (e.g. `["npm install"]`) |\n| `ide` | `string` | `"zed"` | IDE command to open worktrees with |\n| `ide_open_args` | `string[]` | `["-n"]` | Arguments passed to the IDE command |\n| `agent_command` | `string` | `"claude --permission-mode plan"` | Base command `wt agent` runs in Zed; any `--permission-mode` flag is replaced by the `--mode` option (defaults to `plan`), then `<plan_prompt>` is appended single-quoted |\n| `agent_trigger_chord` | `string` | `"ctrl-shift-cmd-c"` | Zed keymap chord `wt agent` installs/presses to spawn the agent task |\n| `repos` | `string[]` | `[]` | Registered repo paths (auto-populated on first use) |\n| `repo_overrides` | `object` | `{}` | Per-repo config overrides (see below) |\n\n### Per-repo overrides\n\nOverride any field (`worktree_path`, `base_branch`, `setup_commands`, `ide`, `ide_open_args`, `agent_command`, `agent_trigger_chord`) for a specific repo:\n\n```json\n{\n "base_branch": "origin/main",\n "ide": "zed",\n "repo_overrides": {\n "/path/to/my-repo": {\n "base_branch": "origin/develop",\n "setup_commands": ["npm install", "npm run build"]\n }\n }\n}\n```\n\n## Common workflows\n\n### Create a worktree for a new feature\n\n```bash\ncd /path/to/repo\nwt create feature/my-branch\n```\n\n### Configure setup commands for a repo\n\n```bash\nwt config\n# Then add to the JSON:\n# "repo_overrides": {\n# "/path/to/repo": {\n# "setup_commands": ["npm install"]\n# }\n# }\n```\n\n### Browse all worktrees across repos\n\nRun `wt` from any directory outside a git repo to see worktrees from all registered repos.\n');
|
|
6
|
-
}
|
|
7
|
-
export {
|
|
8
|
-
printSkill
|
|
9
|
-
};
|